gs2 1.3.136 → 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 +12 -0
- package/schedule/result/GetEventByUserIdResult.js +44 -2
- package/schedule/result/GetEventByUserIdResult.js.map +1 -1
- package/schedule/result/GetEventByUserIdResult.ts +52 -1
- package/schedule/result/GetEventResult.d.ts +12 -0
- package/schedule/result/GetEventResult.js +44 -2
- package/schedule/result/GetEventResult.js.map +1 -1
- package/schedule/result/GetEventResult.ts +52 -1
|
@@ -20,6 +20,9 @@ import * as Gs2Schedule from '../model'
|
|
|
20
20
|
|
|
21
21
|
export default class GetEventByUserIdResult implements IResult {
|
|
22
22
|
private item: Gs2Schedule.Event|null = null;
|
|
23
|
+
private repeatCount: number|null = null;
|
|
24
|
+
private inSchedule: boolean|null = null;
|
|
25
|
+
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
23
26
|
|
|
24
27
|
public getItem(): Gs2Schedule.Event|null {
|
|
25
28
|
return this.item;
|
|
@@ -35,14 +38,62 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
35
38
|
return this;
|
|
36
39
|
}
|
|
37
40
|
|
|
41
|
+
public getRepeatCount(): number|null {
|
|
42
|
+
return this.repeatCount;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public setRepeatCount(repeatCount: number|null) {
|
|
46
|
+
this.repeatCount = repeatCount;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public withRepeatCount(repeatCount: number|null): this {
|
|
51
|
+
this.repeatCount = repeatCount;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public getInSchedule(): boolean|null {
|
|
56
|
+
return this.inSchedule;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public setInSchedule(inSchedule: boolean|null) {
|
|
60
|
+
this.inSchedule = inSchedule;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public withInSchedule(inSchedule: boolean|null): this {
|
|
65
|
+
this.inSchedule = inSchedule;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public getRepeatSchedule(): Gs2Schedule.RepeatSchedule|null {
|
|
70
|
+
return this.repeatSchedule;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null) {
|
|
74
|
+
this.repeatSchedule = repeatSchedule;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null): this {
|
|
79
|
+
this.repeatSchedule = repeatSchedule;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
|
|
38
83
|
public static fromDict(data: {[key: string]: any}): GetEventByUserIdResult {
|
|
39
84
|
return new GetEventByUserIdResult()
|
|
40
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
85
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
86
|
+
.withRepeatCount(data["repeatCount"])
|
|
87
|
+
.withInSchedule(data["inSchedule"])
|
|
88
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]));
|
|
41
89
|
}
|
|
42
90
|
|
|
43
91
|
public toDict(): {[key: string]: any} {
|
|
44
92
|
return {
|
|
45
93
|
"item": this.getItem()?.toDict(),
|
|
94
|
+
"repeatCount": this.getRepeatCount(),
|
|
95
|
+
"inSchedule": this.getInSchedule(),
|
|
96
|
+
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
46
97
|
};
|
|
47
98
|
}
|
|
48
99
|
}
|
|
@@ -2,9 +2,21 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
import * as Gs2Schedule from '../model';
|
|
3
3
|
export default class GetEventResult implements IResult {
|
|
4
4
|
private item;
|
|
5
|
+
private repeatCount;
|
|
6
|
+
private inSchedule;
|
|
7
|
+
private repeatSchedule;
|
|
5
8
|
getItem(): Gs2Schedule.Event | null;
|
|
6
9
|
setItem(item: Gs2Schedule.Event | null): this;
|
|
7
10
|
withItem(item: Gs2Schedule.Event | null): this;
|
|
11
|
+
getRepeatCount(): number | null;
|
|
12
|
+
setRepeatCount(repeatCount: number | null): this;
|
|
13
|
+
withRepeatCount(repeatCount: number | null): this;
|
|
14
|
+
getInSchedule(): boolean | null;
|
|
15
|
+
setInSchedule(inSchedule: boolean | null): this;
|
|
16
|
+
withInSchedule(inSchedule: boolean | null): this;
|
|
17
|
+
getRepeatSchedule(): Gs2Schedule.RepeatSchedule | null;
|
|
18
|
+
setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
19
|
+
withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
8
20
|
static fromDict(data: {
|
|
9
21
|
[key: string]: any;
|
|
10
22
|
}): GetEventResult;
|
|
@@ -20,6 +20,9 @@ var Gs2Schedule = tslib_1.__importStar(require("../model"));
|
|
|
20
20
|
var GetEventResult = /** @class */ (function () {
|
|
21
21
|
function GetEventResult() {
|
|
22
22
|
this.item = null;
|
|
23
|
+
this.repeatCount = null;
|
|
24
|
+
this.inSchedule = null;
|
|
25
|
+
this.repeatSchedule = null;
|
|
23
26
|
}
|
|
24
27
|
GetEventResult.prototype.getItem = function () {
|
|
25
28
|
return this.item;
|
|
@@ -32,14 +35,53 @@ var GetEventResult = /** @class */ (function () {
|
|
|
32
35
|
this.item = item;
|
|
33
36
|
return this;
|
|
34
37
|
};
|
|
38
|
+
GetEventResult.prototype.getRepeatCount = function () {
|
|
39
|
+
return this.repeatCount;
|
|
40
|
+
};
|
|
41
|
+
GetEventResult.prototype.setRepeatCount = function (repeatCount) {
|
|
42
|
+
this.repeatCount = repeatCount;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetEventResult.prototype.withRepeatCount = function (repeatCount) {
|
|
46
|
+
this.repeatCount = repeatCount;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetEventResult.prototype.getInSchedule = function () {
|
|
50
|
+
return this.inSchedule;
|
|
51
|
+
};
|
|
52
|
+
GetEventResult.prototype.setInSchedule = function (inSchedule) {
|
|
53
|
+
this.inSchedule = inSchedule;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetEventResult.prototype.withInSchedule = function (inSchedule) {
|
|
57
|
+
this.inSchedule = inSchedule;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetEventResult.prototype.getRepeatSchedule = function () {
|
|
61
|
+
return this.repeatSchedule;
|
|
62
|
+
};
|
|
63
|
+
GetEventResult.prototype.setRepeatSchedule = function (repeatSchedule) {
|
|
64
|
+
this.repeatSchedule = repeatSchedule;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetEventResult.prototype.withRepeatSchedule = function (repeatSchedule) {
|
|
68
|
+
this.repeatSchedule = repeatSchedule;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
35
71
|
GetEventResult.fromDict = function (data) {
|
|
36
72
|
return new GetEventResult()
|
|
37
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
73
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
74
|
+
.withRepeatCount(data["repeatCount"])
|
|
75
|
+
.withInSchedule(data["inSchedule"])
|
|
76
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]));
|
|
38
77
|
};
|
|
39
78
|
GetEventResult.prototype.toDict = function () {
|
|
40
|
-
var _a;
|
|
79
|
+
var _a, _b;
|
|
41
80
|
return {
|
|
42
81
|
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
82
|
+
"repeatCount": this.getRepeatCount(),
|
|
83
|
+
"inSchedule": this.getInSchedule(),
|
|
84
|
+
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
43
85
|
};
|
|
44
86
|
};
|
|
45
87
|
return GetEventResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEventResult.js","sourceRoot":"","sources":["GetEventResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"GetEventResult.js","sourceRoot":"","sources":["GetEventResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;QACpC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAiB,IAAI,CAAC;QAChC,mBAAc,GAAoC,IAAI,CAAC;IA0EnE,CAAC;IAxEU,gCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAEM,uCAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAa,GAApB;QACI,OAAO,IAA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A9ED,IA8EC"}
|
|
@@ -20,6 +20,9 @@ import * as Gs2Schedule from '../model'
|
|
|
20
20
|
|
|
21
21
|
export default class GetEventResult implements IResult {
|
|
22
22
|
private item: Gs2Schedule.Event|null = null;
|
|
23
|
+
private repeatCount: number|null = null;
|
|
24
|
+
private inSchedule: boolean|null = null;
|
|
25
|
+
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
23
26
|
|
|
24
27
|
public getItem(): Gs2Schedule.Event|null {
|
|
25
28
|
return this.item;
|
|
@@ -35,14 +38,62 @@ export default class GetEventResult implements IResult {
|
|
|
35
38
|
return this;
|
|
36
39
|
}
|
|
37
40
|
|
|
41
|
+
public getRepeatCount(): number|null {
|
|
42
|
+
return this.repeatCount;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public setRepeatCount(repeatCount: number|null) {
|
|
46
|
+
this.repeatCount = repeatCount;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public withRepeatCount(repeatCount: number|null): this {
|
|
51
|
+
this.repeatCount = repeatCount;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public getInSchedule(): boolean|null {
|
|
56
|
+
return this.inSchedule;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public setInSchedule(inSchedule: boolean|null) {
|
|
60
|
+
this.inSchedule = inSchedule;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public withInSchedule(inSchedule: boolean|null): this {
|
|
65
|
+
this.inSchedule = inSchedule;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public getRepeatSchedule(): Gs2Schedule.RepeatSchedule|null {
|
|
70
|
+
return this.repeatSchedule;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null) {
|
|
74
|
+
this.repeatSchedule = repeatSchedule;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null): this {
|
|
79
|
+
this.repeatSchedule = repeatSchedule;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
|
|
38
83
|
public static fromDict(data: {[key: string]: any}): GetEventResult {
|
|
39
84
|
return new GetEventResult()
|
|
40
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
85
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
86
|
+
.withRepeatCount(data["repeatCount"])
|
|
87
|
+
.withInSchedule(data["inSchedule"])
|
|
88
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]));
|
|
41
89
|
}
|
|
42
90
|
|
|
43
91
|
public toDict(): {[key: string]: any} {
|
|
44
92
|
return {
|
|
45
93
|
"item": this.getItem()?.toDict(),
|
|
94
|
+
"repeatCount": this.getRepeatCount(),
|
|
95
|
+
"inSchedule": this.getInSchedule(),
|
|
96
|
+
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
46
97
|
};
|
|
47
98
|
}
|
|
48
99
|
}
|