gs2 1.3.137 → 1.3.138
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/lottery/request/PredictionRequest.d.ts +4 -4
- package/lottery/request/PredictionRequest.js +9 -9
- package/lottery/request/PredictionRequest.js.map +1 -1
- package/lottery/request/PredictionRequest.ts +9 -9
- package/lottery/rest.js +9 -7
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +4 -2
- package/package.json +1 -1
- package/schedule/model/Event.d.ts +0 -4
- package/schedule/model/Event.js +1 -15
- package/schedule/model/Event.js.map +1 -1
- package/schedule/model/Event.ts +1 -15
- package/schedule/model/EventMaster.d.ts +0 -4
- package/schedule/model/EventMaster.js +0 -14
- package/schedule/model/EventMaster.js.map +1 -1
- package/schedule/model/EventMaster.ts +0 -14
- package/schedule/model/RepeatSchedule.d.ts +29 -0
- package/schedule/model/RepeatSchedule.js +104 -0
- package/schedule/model/RepeatSchedule.js.map +1 -0
- package/schedule/model/RepeatSchedule.ts +102 -0
- package/schedule/model/index.d.ts +2 -1
- package/schedule/model/index.js +3 -1
- package/schedule/model/index.js.map +1 -1
- package/schedule/model/index.ts +2 -0
- package/schedule/request/CreateEventMasterRequest.d.ts +0 -4
- package/schedule/request/CreateEventMasterRequest.js +1 -15
- package/schedule/request/CreateEventMasterRequest.js.map +1 -1
- package/schedule/request/CreateEventMasterRequest.ts +1 -15
- package/schedule/request/GetEventByUserIdRequest.d.ts +4 -0
- package/schedule/request/GetEventByUserIdRequest.js +15 -1
- package/schedule/request/GetEventByUserIdRequest.js.map +1 -1
- package/schedule/request/GetEventByUserIdRequest.ts +15 -1
- package/schedule/request/GetEventRequest.d.ts +4 -0
- package/schedule/request/GetEventRequest.js +15 -1
- package/schedule/request/GetEventRequest.js.map +1 -1
- package/schedule/request/GetEventRequest.ts +15 -1
- package/schedule/request/UpdateEventMasterRequest.d.ts +0 -4
- package/schedule/request/UpdateEventMasterRequest.js +1 -15
- package/schedule/request/UpdateEventMasterRequest.js.map +1 -1
- package/schedule/request/UpdateEventMasterRequest.ts +1 -15
- package/schedule/rest.js +2 -4
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +0 -2
- package/schedule/result/GetEventByUserIdResult.d.ts +8 -0
- package/schedule/result/GetEventByUserIdResult.js +30 -2
- package/schedule/result/GetEventByUserIdResult.js.map +1 -1
- package/schedule/result/GetEventByUserIdResult.ts +35 -1
- package/schedule/result/GetEventResult.d.ts +8 -0
- package/schedule/result/GetEventResult.js +30 -2
- package/schedule/result/GetEventResult.js.map +1 -1
- package/schedule/result/GetEventResult.ts +35 -1
|
@@ -33,7 +33,6 @@ var EventMaster = /** @class */ (function () {
|
|
|
33
33
|
this.repeatBeginHour = null;
|
|
34
34
|
this.repeatEndHour = null;
|
|
35
35
|
this.relativeTriggerName = null;
|
|
36
|
-
this.relativeDuration = null;
|
|
37
36
|
this.createdAt = null;
|
|
38
37
|
this.updatedAt = null;
|
|
39
38
|
}
|
|
@@ -268,17 +267,6 @@ var EventMaster = /** @class */ (function () {
|
|
|
268
267
|
this.relativeTriggerName = relativeTriggerName;
|
|
269
268
|
return this;
|
|
270
269
|
};
|
|
271
|
-
EventMaster.prototype.getRelativeDuration = function () {
|
|
272
|
-
return this.relativeDuration;
|
|
273
|
-
};
|
|
274
|
-
EventMaster.prototype.setRelativeDuration = function (relativeDuration) {
|
|
275
|
-
this.relativeDuration = relativeDuration;
|
|
276
|
-
return this;
|
|
277
|
-
};
|
|
278
|
-
EventMaster.prototype.withRelativeDuration = function (relativeDuration) {
|
|
279
|
-
this.relativeDuration = relativeDuration;
|
|
280
|
-
return this;
|
|
281
|
-
};
|
|
282
270
|
EventMaster.prototype.getCreatedAt = function () {
|
|
283
271
|
return this.createdAt;
|
|
284
272
|
};
|
|
@@ -321,7 +309,6 @@ var EventMaster = /** @class */ (function () {
|
|
|
321
309
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
322
310
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
323
311
|
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
324
|
-
.withRelativeDuration(data["relativeDuration"])
|
|
325
312
|
.withCreatedAt(data["createdAt"])
|
|
326
313
|
.withUpdatedAt(data["updatedAt"]);
|
|
327
314
|
};
|
|
@@ -342,7 +329,6 @@ var EventMaster = /** @class */ (function () {
|
|
|
342
329
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
343
330
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
344
331
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
345
|
-
"relativeDuration": this.getRelativeDuration(),
|
|
346
332
|
"createdAt": this.getCreatedAt(),
|
|
347
333
|
"updatedAt": this.getUpdatedAt(),
|
|
348
334
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventMaster.js","sourceRoot":"","sources":["EventMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,uEAAuE,CAAC;AAElG;IAAA;QACY,YAAO,GAAgB,IAAI,CAAC;QAC5B,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,eAAU,GAAgB,IAAI,CAAC;QAC/B,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,0BAAqB,GAAgB,IAAI,CAAC;QAC1C,wBAAmB,GAAgB,IAAI,CAAC;QACxC,yBAAoB,GAAgB,IAAI,CAAC;QACzC,uBAAkB,GAAgB,IAAI,CAAC;QACvC,oBAAe,GAAgB,IAAI,CAAC;QACpC,kBAAa,GAAgB,IAAI,CAAC;QAClC,wBAAmB,GAAgB,IAAI,CAAC;QACxC,
|
|
1
|
+
{"version":3,"file":"EventMaster.js","sourceRoot":"","sources":["EventMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;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,uBAAuB,EAAE;YACtD,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;YAClD,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,kBAAC;AAAD,CAAC,AA5UD,IA4UC"}
|
|
@@ -33,7 +33,6 @@ export default class EventMaster implements IModel {
|
|
|
33
33
|
private repeatBeginHour: number|null = null;
|
|
34
34
|
private repeatEndHour: number|null = null;
|
|
35
35
|
private relativeTriggerName: string|null = null;
|
|
36
|
-
private relativeDuration: number|null = null;
|
|
37
36
|
private createdAt: number|null = null;
|
|
38
37
|
private updatedAt: number|null = null;
|
|
39
38
|
|
|
@@ -282,17 +281,6 @@ export default class EventMaster implements IModel {
|
|
|
282
281
|
this.relativeTriggerName = relativeTriggerName;
|
|
283
282
|
return this;
|
|
284
283
|
}
|
|
285
|
-
public getRelativeDuration(): number|null {
|
|
286
|
-
return this.relativeDuration;
|
|
287
|
-
}
|
|
288
|
-
public setRelativeDuration(relativeDuration: number|null) {
|
|
289
|
-
this.relativeDuration = relativeDuration;
|
|
290
|
-
return this;
|
|
291
|
-
}
|
|
292
|
-
public withRelativeDuration(relativeDuration: number|null): this {
|
|
293
|
-
this.relativeDuration = relativeDuration;
|
|
294
|
-
return this;
|
|
295
|
-
}
|
|
296
284
|
public getCreatedAt(): number|null {
|
|
297
285
|
return this.createdAt;
|
|
298
286
|
}
|
|
@@ -336,7 +324,6 @@ export default class EventMaster implements IModel {
|
|
|
336
324
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
337
325
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
338
326
|
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
339
|
-
.withRelativeDuration(data["relativeDuration"])
|
|
340
327
|
.withCreatedAt(data["createdAt"])
|
|
341
328
|
.withUpdatedAt(data["updatedAt"]);
|
|
342
329
|
}
|
|
@@ -358,7 +345,6 @@ export default class EventMaster implements IModel {
|
|
|
358
345
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
359
346
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
360
347
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
361
|
-
"relativeDuration": this.getRelativeDuration(),
|
|
362
348
|
"createdAt": this.getCreatedAt(),
|
|
363
349
|
"updatedAt": this.getUpdatedAt(),
|
|
364
350
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class RepeatSchedule implements IModel {
|
|
3
|
+
private repeatCount;
|
|
4
|
+
private currentRepeatStartAt;
|
|
5
|
+
private currentRepeatEndAt;
|
|
6
|
+
private lastRepeatEndAt;
|
|
7
|
+
private nextRepeatStartAt;
|
|
8
|
+
getRepeatCount(): number | null;
|
|
9
|
+
setRepeatCount(repeatCount: number | null): this;
|
|
10
|
+
withRepeatCount(repeatCount: number | null): this;
|
|
11
|
+
getCurrentRepeatStartAt(): number | null;
|
|
12
|
+
setCurrentRepeatStartAt(currentRepeatStartAt: number | null): this;
|
|
13
|
+
withCurrentRepeatStartAt(currentRepeatStartAt: number | null): this;
|
|
14
|
+
getCurrentRepeatEndAt(): number | null;
|
|
15
|
+
setCurrentRepeatEndAt(currentRepeatEndAt: number | null): this;
|
|
16
|
+
withCurrentRepeatEndAt(currentRepeatEndAt: number | null): this;
|
|
17
|
+
getLastRepeatEndAt(): number | null;
|
|
18
|
+
setLastRepeatEndAt(lastRepeatEndAt: number | null): this;
|
|
19
|
+
withLastRepeatEndAt(lastRepeatEndAt: number | null): this;
|
|
20
|
+
getNextRepeatStartAt(): number | null;
|
|
21
|
+
setNextRepeatStartAt(nextRepeatStartAt: number | null): this;
|
|
22
|
+
withNextRepeatStartAt(nextRepeatStartAt: number | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): RepeatSchedule | null;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var RepeatSchedule = /** @class */ (function () {
|
|
19
|
+
function RepeatSchedule() {
|
|
20
|
+
this.repeatCount = null;
|
|
21
|
+
this.currentRepeatStartAt = null;
|
|
22
|
+
this.currentRepeatEndAt = null;
|
|
23
|
+
this.lastRepeatEndAt = null;
|
|
24
|
+
this.nextRepeatStartAt = null;
|
|
25
|
+
}
|
|
26
|
+
RepeatSchedule.prototype.getRepeatCount = function () {
|
|
27
|
+
return this.repeatCount;
|
|
28
|
+
};
|
|
29
|
+
RepeatSchedule.prototype.setRepeatCount = function (repeatCount) {
|
|
30
|
+
this.repeatCount = repeatCount;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
RepeatSchedule.prototype.withRepeatCount = function (repeatCount) {
|
|
34
|
+
this.repeatCount = repeatCount;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
RepeatSchedule.prototype.getCurrentRepeatStartAt = function () {
|
|
38
|
+
return this.currentRepeatStartAt;
|
|
39
|
+
};
|
|
40
|
+
RepeatSchedule.prototype.setCurrentRepeatStartAt = function (currentRepeatStartAt) {
|
|
41
|
+
this.currentRepeatStartAt = currentRepeatStartAt;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
RepeatSchedule.prototype.withCurrentRepeatStartAt = function (currentRepeatStartAt) {
|
|
45
|
+
this.currentRepeatStartAt = currentRepeatStartAt;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
RepeatSchedule.prototype.getCurrentRepeatEndAt = function () {
|
|
49
|
+
return this.currentRepeatEndAt;
|
|
50
|
+
};
|
|
51
|
+
RepeatSchedule.prototype.setCurrentRepeatEndAt = function (currentRepeatEndAt) {
|
|
52
|
+
this.currentRepeatEndAt = currentRepeatEndAt;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
RepeatSchedule.prototype.withCurrentRepeatEndAt = function (currentRepeatEndAt) {
|
|
56
|
+
this.currentRepeatEndAt = currentRepeatEndAt;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
RepeatSchedule.prototype.getLastRepeatEndAt = function () {
|
|
60
|
+
return this.lastRepeatEndAt;
|
|
61
|
+
};
|
|
62
|
+
RepeatSchedule.prototype.setLastRepeatEndAt = function (lastRepeatEndAt) {
|
|
63
|
+
this.lastRepeatEndAt = lastRepeatEndAt;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
RepeatSchedule.prototype.withLastRepeatEndAt = function (lastRepeatEndAt) {
|
|
67
|
+
this.lastRepeatEndAt = lastRepeatEndAt;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
RepeatSchedule.prototype.getNextRepeatStartAt = function () {
|
|
71
|
+
return this.nextRepeatStartAt;
|
|
72
|
+
};
|
|
73
|
+
RepeatSchedule.prototype.setNextRepeatStartAt = function (nextRepeatStartAt) {
|
|
74
|
+
this.nextRepeatStartAt = nextRepeatStartAt;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
RepeatSchedule.prototype.withNextRepeatStartAt = function (nextRepeatStartAt) {
|
|
78
|
+
this.nextRepeatStartAt = nextRepeatStartAt;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
RepeatSchedule.fromDict = function (data) {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new RepeatSchedule()
|
|
86
|
+
.withRepeatCount(data["repeatCount"])
|
|
87
|
+
.withCurrentRepeatStartAt(data["currentRepeatStartAt"])
|
|
88
|
+
.withCurrentRepeatEndAt(data["currentRepeatEndAt"])
|
|
89
|
+
.withLastRepeatEndAt(data["lastRepeatEndAt"])
|
|
90
|
+
.withNextRepeatStartAt(data["nextRepeatStartAt"]);
|
|
91
|
+
};
|
|
92
|
+
RepeatSchedule.prototype.toDict = function () {
|
|
93
|
+
return {
|
|
94
|
+
"repeatCount": this.getRepeatCount(),
|
|
95
|
+
"currentRepeatStartAt": this.getCurrentRepeatStartAt(),
|
|
96
|
+
"currentRepeatEndAt": this.getCurrentRepeatEndAt(),
|
|
97
|
+
"lastRepeatEndAt": this.getLastRepeatEndAt(),
|
|
98
|
+
"nextRepeatStartAt": this.getNextRepeatStartAt(),
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
return RepeatSchedule;
|
|
102
|
+
}());
|
|
103
|
+
exports.default = RepeatSchedule;
|
|
104
|
+
//# sourceMappingURL=RepeatSchedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RepeatSchedule.js","sourceRoot":"","sources":["RepeatSchedule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,yBAAoB,GAAgB,IAAI,CAAC;QACzC,uBAAkB,GAAgB,IAAI,C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|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class RepeatSchedule implements IModel {
|
|
20
|
+
private repeatCount: number|null = null;
|
|
21
|
+
private currentRepeatStartAt: number|null = null;
|
|
22
|
+
private currentRepeatEndAt: number|null = null;
|
|
23
|
+
private lastRepeatEndAt: number|null = null;
|
|
24
|
+
private nextRepeatStartAt: number|null = null;
|
|
25
|
+
public getRepeatCount(): number|null {
|
|
26
|
+
return this.repeatCount;
|
|
27
|
+
}
|
|
28
|
+
public setRepeatCount(repeatCount: number|null) {
|
|
29
|
+
this.repeatCount = repeatCount;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withRepeatCount(repeatCount: number|null): this {
|
|
33
|
+
this.repeatCount = repeatCount;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public getCurrentRepeatStartAt(): number|null {
|
|
37
|
+
return this.currentRepeatStartAt;
|
|
38
|
+
}
|
|
39
|
+
public setCurrentRepeatStartAt(currentRepeatStartAt: number|null) {
|
|
40
|
+
this.currentRepeatStartAt = currentRepeatStartAt;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withCurrentRepeatStartAt(currentRepeatStartAt: number|null): this {
|
|
44
|
+
this.currentRepeatStartAt = currentRepeatStartAt;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
public getCurrentRepeatEndAt(): number|null {
|
|
48
|
+
return this.currentRepeatEndAt;
|
|
49
|
+
}
|
|
50
|
+
public setCurrentRepeatEndAt(currentRepeatEndAt: number|null) {
|
|
51
|
+
this.currentRepeatEndAt = currentRepeatEndAt;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withCurrentRepeatEndAt(currentRepeatEndAt: number|null): this {
|
|
55
|
+
this.currentRepeatEndAt = currentRepeatEndAt;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getLastRepeatEndAt(): number|null {
|
|
59
|
+
return this.lastRepeatEndAt;
|
|
60
|
+
}
|
|
61
|
+
public setLastRepeatEndAt(lastRepeatEndAt: number|null) {
|
|
62
|
+
this.lastRepeatEndAt = lastRepeatEndAt;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withLastRepeatEndAt(lastRepeatEndAt: number|null): this {
|
|
66
|
+
this.lastRepeatEndAt = lastRepeatEndAt;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getNextRepeatStartAt(): number|null {
|
|
70
|
+
return this.nextRepeatStartAt;
|
|
71
|
+
}
|
|
72
|
+
public setNextRepeatStartAt(nextRepeatStartAt: number|null) {
|
|
73
|
+
this.nextRepeatStartAt = nextRepeatStartAt;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withNextRepeatStartAt(nextRepeatStartAt: number|null): this {
|
|
77
|
+
this.nextRepeatStartAt = nextRepeatStartAt;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public static fromDict(data: {[key: string]: any}): RepeatSchedule|null {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new RepeatSchedule()
|
|
86
|
+
.withRepeatCount(data["repeatCount"])
|
|
87
|
+
.withCurrentRepeatStartAt(data["currentRepeatStartAt"])
|
|
88
|
+
.withCurrentRepeatEndAt(data["currentRepeatEndAt"])
|
|
89
|
+
.withLastRepeatEndAt(data["lastRepeatEndAt"])
|
|
90
|
+
.withNextRepeatStartAt(data["nextRepeatStartAt"]);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public toDict(): {[key: string]: any} {
|
|
94
|
+
return {
|
|
95
|
+
"repeatCount": this.getRepeatCount(),
|
|
96
|
+
"currentRepeatStartAt": this.getCurrentRepeatStartAt(),
|
|
97
|
+
"currentRepeatEndAt": this.getCurrentRepeatEndAt(),
|
|
98
|
+
"lastRepeatEndAt": this.getLastRepeatEndAt(),
|
|
99
|
+
"nextRepeatStartAt": this.getNextRepeatStartAt(),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -5,4 +5,5 @@ import Event from "./Event";
|
|
|
5
5
|
import CurrentEventMaster from "./CurrentEventMaster";
|
|
6
6
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
|
|
7
7
|
import LogSetting from "./LogSetting";
|
|
8
|
-
|
|
8
|
+
import RepeatSchedule from "./RepeatSchedule";
|
|
9
|
+
export { Namespace, EventMaster, Trigger, Event, CurrentEventMaster, GitHubCheckoutSetting, LogSetting, RepeatSchedule, };
|
package/schedule/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogSetting = exports.GitHubCheckoutSetting = exports.CurrentEventMaster = exports.Event = exports.Trigger = exports.EventMaster = exports.Namespace = void 0;
|
|
3
|
+
exports.RepeatSchedule = exports.LogSetting = exports.GitHubCheckoutSetting = exports.CurrentEventMaster = exports.Event = exports.Trigger = exports.EventMaster = exports.Namespace = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -31,4 +31,6 @@ var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutS
|
|
|
31
31
|
exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
|
|
32
32
|
var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
33
33
|
exports.LogSetting = LogSetting_1.default;
|
|
34
|
+
var RepeatSchedule_1 = tslib_1.__importDefault(require("./RepeatSchedule"));
|
|
35
|
+
exports.RepeatSchedule = RepeatSchedule_1.default;
|
|
34
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAU/B,oBAVG,mBAAS,CAUH;AATb,sEAAuC;AAUnC,sBAVG,qBAAW,CAUH;AATf,8DAA+B;AAU3B,kBAVG,iBAAO,CAUH;AATX,0DAA2B;AAUvB,gBAVG,eAAK,CAUH;AATT,oFAAqD;AAUjD,6BAVG,4BAAkB,CAUH;AATtB,0FAA2D;AAUvD,gCAVG,+BAAqB,CAUH;AATzB,oEAAqC;AAUjC,qBAVG,oBAAU,CAUH;AATd,4EAA6C;AAUzC,yBAVG,wBAAc,CAUH"}
|
package/schedule/model/index.ts
CHANGED
|
@@ -20,6 +20,7 @@ import Event from "./Event"
|
|
|
20
20
|
import CurrentEventMaster from "./CurrentEventMaster"
|
|
21
21
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
|
|
22
22
|
import LogSetting from "./LogSetting"
|
|
23
|
+
import RepeatSchedule from "./RepeatSchedule"
|
|
23
24
|
|
|
24
25
|
export {
|
|
25
26
|
Namespace,
|
|
@@ -29,4 +30,5 @@ export {
|
|
|
29
30
|
CurrentEventMaster,
|
|
30
31
|
GitHubCheckoutSetting,
|
|
31
32
|
LogSetting,
|
|
33
|
+
RepeatSchedule,
|
|
32
34
|
};
|
|
@@ -17,7 +17,6 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
17
17
|
private repeatBeginHour;
|
|
18
18
|
private repeatEndHour;
|
|
19
19
|
private relativeTriggerName;
|
|
20
|
-
private relativeDuration;
|
|
21
20
|
getRequestId(): string | null;
|
|
22
21
|
setRequestId(requestId: string | null): this;
|
|
23
22
|
withRequestId(requestId: string | null): this;
|
|
@@ -69,9 +68,6 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
69
68
|
getRelativeTriggerName(): string | null;
|
|
70
69
|
setRelativeTriggerName(relativeTriggerName: string | null): this;
|
|
71
70
|
withRelativeTriggerName(relativeTriggerName: string | null): this;
|
|
72
|
-
getRelativeDuration(): number | null;
|
|
73
|
-
setRelativeDuration(relativeDuration: number | null): this;
|
|
74
|
-
withRelativeDuration(relativeDuration: number | null): this;
|
|
75
71
|
static fromDict(data: {
|
|
76
72
|
[key: string]: any;
|
|
77
73
|
}): CreateEventMasterRequest;
|
|
@@ -34,7 +34,6 @@ var CreateEventMasterRequest = /** @class */ (function () {
|
|
|
34
34
|
this.repeatBeginHour = null;
|
|
35
35
|
this.repeatEndHour = null;
|
|
36
36
|
this.relativeTriggerName = null;
|
|
37
|
-
this.relativeDuration = null;
|
|
38
37
|
}
|
|
39
38
|
CreateEventMasterRequest.prototype.getRequestId = function () {
|
|
40
39
|
return this.requestId;
|
|
@@ -223,17 +222,6 @@ var CreateEventMasterRequest = /** @class */ (function () {
|
|
|
223
222
|
this.relativeTriggerName = relativeTriggerName;
|
|
224
223
|
return this;
|
|
225
224
|
};
|
|
226
|
-
CreateEventMasterRequest.prototype.getRelativeDuration = function () {
|
|
227
|
-
return this.relativeDuration;
|
|
228
|
-
};
|
|
229
|
-
CreateEventMasterRequest.prototype.setRelativeDuration = function (relativeDuration) {
|
|
230
|
-
this.relativeDuration = relativeDuration;
|
|
231
|
-
return this;
|
|
232
|
-
};
|
|
233
|
-
CreateEventMasterRequest.prototype.withRelativeDuration = function (relativeDuration) {
|
|
234
|
-
this.relativeDuration = relativeDuration;
|
|
235
|
-
return this;
|
|
236
|
-
};
|
|
237
225
|
CreateEventMasterRequest.fromDict = function (data) {
|
|
238
226
|
return new CreateEventMasterRequest()
|
|
239
227
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -250,8 +238,7 @@ var CreateEventMasterRequest = /** @class */ (function () {
|
|
|
250
238
|
.withRepeatEndDayOfWeek(data["repeatEndDayOfWeek"])
|
|
251
239
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
252
240
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
253
|
-
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
254
|
-
.withRelativeDuration(data["relativeDuration"]);
|
|
241
|
+
.withRelativeTriggerName(data["relativeTriggerName"]);
|
|
255
242
|
};
|
|
256
243
|
CreateEventMasterRequest.prototype.toDict = function () {
|
|
257
244
|
return {
|
|
@@ -270,7 +257,6 @@ var CreateEventMasterRequest = /** @class */ (function () {
|
|
|
270
257
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
271
258
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
272
259
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
273
|
-
"relativeDuration": this.getRelativeDuration(),
|
|
274
260
|
};
|
|
275
261
|
};
|
|
276
262
|
return CreateEventMasterRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEventMasterRequest.js","sourceRoot":"","sources":["CreateEventMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;Q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wB,EAAE;YACxD,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,sBAAsB,EAAE,IAAI,CAAC,uBAAuB,EAAE;YACtD,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;YAClD,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;SACvD,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA3PD,IA2PC"}
|
|
@@ -37,7 +37,6 @@ 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 relativeDuration: number|null = null;
|
|
41
40
|
|
|
42
41
|
public getRequestId(): string|null {
|
|
43
42
|
return this.requestId;
|
|
@@ -231,17 +230,6 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
231
230
|
this.relativeTriggerName = relativeTriggerName;
|
|
232
231
|
return this;
|
|
233
232
|
}
|
|
234
|
-
public getRelativeDuration(): number|null {
|
|
235
|
-
return this.relativeDuration;
|
|
236
|
-
}
|
|
237
|
-
public setRelativeDuration(relativeDuration: number|null) {
|
|
238
|
-
this.relativeDuration = relativeDuration;
|
|
239
|
-
return this;
|
|
240
|
-
}
|
|
241
|
-
public withRelativeDuration(relativeDuration: number|null): this {
|
|
242
|
-
this.relativeDuration = relativeDuration;
|
|
243
|
-
return this;
|
|
244
|
-
}
|
|
245
233
|
|
|
246
234
|
public static fromDict(data: {[key: string]: any}): CreateEventMasterRequest {
|
|
247
235
|
return new CreateEventMasterRequest()
|
|
@@ -259,8 +247,7 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
259
247
|
.withRepeatEndDayOfWeek(data["repeatEndDayOfWeek"])
|
|
260
248
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
261
249
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
262
|
-
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
263
|
-
.withRelativeDuration(data["relativeDuration"]);
|
|
250
|
+
.withRelativeTriggerName(data["relativeTriggerName"]);
|
|
264
251
|
}
|
|
265
252
|
|
|
266
253
|
public toDict(): {[key: string]: any} {
|
|
@@ -280,7 +267,6 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
280
267
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
281
268
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
282
269
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
283
|
-
"relativeDuration": this.getRelativeDuration(),
|
|
284
270
|
};
|
|
285
271
|
}
|
|
286
272
|
}
|
|
@@ -5,6 +5,7 @@ export default class GetEventByUserIdRequest implements IRequest {
|
|
|
5
5
|
private namespaceName;
|
|
6
6
|
private eventName;
|
|
7
7
|
private userId;
|
|
8
|
+
private isInSchedule;
|
|
8
9
|
getRequestId(): string | null;
|
|
9
10
|
setRequestId(requestId: string | null): this;
|
|
10
11
|
withRequestId(requestId: string | null): this;
|
|
@@ -20,6 +21,9 @@ export default class GetEventByUserIdRequest implements IRequest {
|
|
|
20
21
|
getUserId(): string | null;
|
|
21
22
|
setUserId(userId: string | null): this;
|
|
22
23
|
withUserId(userId: string | null): this;
|
|
24
|
+
getIsInSchedule(): boolean | null;
|
|
25
|
+
setIsInSchedule(isInSchedule: boolean | null): this;
|
|
26
|
+
withIsInSchedule(isInSchedule: boolean | null): this;
|
|
23
27
|
static fromDict(data: {
|
|
24
28
|
[key: string]: any;
|
|
25
29
|
}): GetEventByUserIdRequest;
|
|
@@ -22,6 +22,7 @@ var GetEventByUserIdRequest = /** @class */ (function () {
|
|
|
22
22
|
this.namespaceName = null;
|
|
23
23
|
this.eventName = null;
|
|
24
24
|
this.userId = null;
|
|
25
|
+
this.isInSchedule = null;
|
|
25
26
|
}
|
|
26
27
|
GetEventByUserIdRequest.prototype.getRequestId = function () {
|
|
27
28
|
return this.requestId;
|
|
@@ -78,17 +79,30 @@ var GetEventByUserIdRequest = /** @class */ (function () {
|
|
|
78
79
|
this.userId = userId;
|
|
79
80
|
return this;
|
|
80
81
|
};
|
|
82
|
+
GetEventByUserIdRequest.prototype.getIsInSchedule = function () {
|
|
83
|
+
return this.isInSchedule;
|
|
84
|
+
};
|
|
85
|
+
GetEventByUserIdRequest.prototype.setIsInSchedule = function (isInSchedule) {
|
|
86
|
+
this.isInSchedule = isInSchedule;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GetEventByUserIdRequest.prototype.withIsInSchedule = function (isInSchedule) {
|
|
90
|
+
this.isInSchedule = isInSchedule;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
81
93
|
GetEventByUserIdRequest.fromDict = function (data) {
|
|
82
94
|
return new GetEventByUserIdRequest()
|
|
83
95
|
.withNamespaceName(data["namespaceName"])
|
|
84
96
|
.withEventName(data["eventName"])
|
|
85
|
-
.withUserId(data["userId"])
|
|
97
|
+
.withUserId(data["userId"])
|
|
98
|
+
.withIsInSchedule(data["isInSchedule"]);
|
|
86
99
|
};
|
|
87
100
|
GetEventByUserIdRequest.prototype.toDict = function () {
|
|
88
101
|
return {
|
|
89
102
|
"namespaceName": this.getNamespaceName(),
|
|
90
103
|
"eventName": this.getEventName(),
|
|
91
104
|
"userId": this.getUserId(),
|
|
105
|
+
"isInSchedule": this.getIsInSchedule(),
|
|
92
106
|
};
|
|
93
107
|
};
|
|
94
108
|
return GetEventByUserIdRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEventByUserIdRequest.js","sourceRoot":"","sources":["GetEventByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,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