gs2 1.3.136 → 1.3.137
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/package.json +1 -1
- package/schedule/result/GetEventByUserIdResult.d.ts +4 -0
- package/schedule/result/GetEventByUserIdResult.js +15 -1
- package/schedule/result/GetEventByUserIdResult.js.map +1 -1
- package/schedule/result/GetEventByUserIdResult.ts +18 -1
- package/schedule/result/GetEventResult.d.ts +4 -0
- package/schedule/result/GetEventResult.js +15 -1
- package/schedule/result/GetEventResult.js.map +1 -1
- package/schedule/result/GetEventResult.ts +18 -1
package/package.json
CHANGED
|
@@ -2,9 +2,13 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
import * as Gs2Schedule from '../model';
|
|
3
3
|
export default class GetEventByUserIdResult implements IResult {
|
|
4
4
|
private item;
|
|
5
|
+
private repeatCount;
|
|
5
6
|
getItem(): Gs2Schedule.Event | null;
|
|
6
7
|
setItem(item: Gs2Schedule.Event | null): this;
|
|
7
8
|
withItem(item: Gs2Schedule.Event | null): this;
|
|
9
|
+
getRepeatCount(): number | null;
|
|
10
|
+
setRepeatCount(repeatCount: number | null): this;
|
|
11
|
+
withRepeatCount(repeatCount: number | null): this;
|
|
8
12
|
static fromDict(data: {
|
|
9
13
|
[key: string]: any;
|
|
10
14
|
}): GetEventByUserIdResult;
|
|
@@ -20,6 +20,7 @@ var Gs2Schedule = tslib_1.__importStar(require("../model"));
|
|
|
20
20
|
var GetEventByUserIdResult = /** @class */ (function () {
|
|
21
21
|
function GetEventByUserIdResult() {
|
|
22
22
|
this.item = null;
|
|
23
|
+
this.repeatCount = null;
|
|
23
24
|
}
|
|
24
25
|
GetEventByUserIdResult.prototype.getItem = function () {
|
|
25
26
|
return this.item;
|
|
@@ -32,14 +33,27 @@ var GetEventByUserIdResult = /** @class */ (function () {
|
|
|
32
33
|
this.item = item;
|
|
33
34
|
return this;
|
|
34
35
|
};
|
|
36
|
+
GetEventByUserIdResult.prototype.getRepeatCount = function () {
|
|
37
|
+
return this.repeatCount;
|
|
38
|
+
};
|
|
39
|
+
GetEventByUserIdResult.prototype.setRepeatCount = function (repeatCount) {
|
|
40
|
+
this.repeatCount = repeatCount;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
GetEventByUserIdResult.prototype.withRepeatCount = function (repeatCount) {
|
|
44
|
+
this.repeatCount = repeatCount;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
35
47
|
GetEventByUserIdResult.fromDict = function (data) {
|
|
36
48
|
return new GetEventByUserIdResult()
|
|
37
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
49
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
50
|
+
.withRepeatCount(data["repeatCount"]);
|
|
38
51
|
};
|
|
39
52
|
GetEventByUserIdResult.prototype.toDict = function () {
|
|
40
53
|
var _a;
|
|
41
54
|
return {
|
|
42
55
|
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"repeatCount": this.getRepeatCount(),
|
|
43
57
|
};
|
|
44
58
|
};
|
|
45
59
|
return GetEventByUserIdResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEventByUserIdResult.js","sourceRoot":"","sources":["GetEventByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"GetEventByUserIdResult.js","sourceRoot":"","sources":["GetEventByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;QACpC,gBAAW,GAAgB,IAAI,CAAC;IA0C5C,CAAC;IAxCU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAEM,+CAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAClD,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA5CD,IA4CC"}
|
|
@@ -20,6 +20,7 @@ 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;
|
|
23
24
|
|
|
24
25
|
public getItem(): Gs2Schedule.Event|null {
|
|
25
26
|
return this.item;
|
|
@@ -35,14 +36,30 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
35
36
|
return this;
|
|
36
37
|
}
|
|
37
38
|
|
|
39
|
+
public getRepeatCount(): number|null {
|
|
40
|
+
return this.repeatCount;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setRepeatCount(repeatCount: number|null) {
|
|
44
|
+
this.repeatCount = repeatCount;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withRepeatCount(repeatCount: number|null): this {
|
|
49
|
+
this.repeatCount = repeatCount;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
38
53
|
public static fromDict(data: {[key: string]: any}): GetEventByUserIdResult {
|
|
39
54
|
return new GetEventByUserIdResult()
|
|
40
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
55
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
56
|
+
.withRepeatCount(data["repeatCount"]);
|
|
41
57
|
}
|
|
42
58
|
|
|
43
59
|
public toDict(): {[key: string]: any} {
|
|
44
60
|
return {
|
|
45
61
|
"item": this.getItem()?.toDict(),
|
|
62
|
+
"repeatCount": this.getRepeatCount(),
|
|
46
63
|
};
|
|
47
64
|
}
|
|
48
65
|
}
|
|
@@ -2,9 +2,13 @@ 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;
|
|
5
6
|
getItem(): Gs2Schedule.Event | null;
|
|
6
7
|
setItem(item: Gs2Schedule.Event | null): this;
|
|
7
8
|
withItem(item: Gs2Schedule.Event | null): this;
|
|
9
|
+
getRepeatCount(): number | null;
|
|
10
|
+
setRepeatCount(repeatCount: number | null): this;
|
|
11
|
+
withRepeatCount(repeatCount: number | null): this;
|
|
8
12
|
static fromDict(data: {
|
|
9
13
|
[key: string]: any;
|
|
10
14
|
}): GetEventResult;
|
|
@@ -20,6 +20,7 @@ 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;
|
|
23
24
|
}
|
|
24
25
|
GetEventResult.prototype.getItem = function () {
|
|
25
26
|
return this.item;
|
|
@@ -32,14 +33,27 @@ var GetEventResult = /** @class */ (function () {
|
|
|
32
33
|
this.item = item;
|
|
33
34
|
return this;
|
|
34
35
|
};
|
|
36
|
+
GetEventResult.prototype.getRepeatCount = function () {
|
|
37
|
+
return this.repeatCount;
|
|
38
|
+
};
|
|
39
|
+
GetEventResult.prototype.setRepeatCount = function (repeatCount) {
|
|
40
|
+
this.repeatCount = repeatCount;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
GetEventResult.prototype.withRepeatCount = function (repeatCount) {
|
|
44
|
+
this.repeatCount = repeatCount;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
35
47
|
GetEventResult.fromDict = function (data) {
|
|
36
48
|
return new GetEventResult()
|
|
37
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
49
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
50
|
+
.withRepeatCount(data["repeatCount"]);
|
|
38
51
|
};
|
|
39
52
|
GetEventResult.prototype.toDict = function () {
|
|
40
53
|
var _a;
|
|
41
54
|
return {
|
|
42
55
|
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"repeatCount": this.getRepeatCount(),
|
|
43
57
|
};
|
|
44
58
|
};
|
|
45
59
|
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.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
|
21
21
|
export default class GetEventResult implements IResult {
|
|
22
22
|
private item: Gs2Schedule.Event|null = null;
|
|
23
|
+
private repeatCount: number|null = null;
|
|
23
24
|
|
|
24
25
|
public getItem(): Gs2Schedule.Event|null {
|
|
25
26
|
return this.item;
|
|
@@ -35,14 +36,30 @@ export default class GetEventResult implements IResult {
|
|
|
35
36
|
return this;
|
|
36
37
|
}
|
|
37
38
|
|
|
39
|
+
public getRepeatCount(): number|null {
|
|
40
|
+
return this.repeatCount;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setRepeatCount(repeatCount: number|null) {
|
|
44
|
+
this.repeatCount = repeatCount;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withRepeatCount(repeatCount: number|null): this {
|
|
49
|
+
this.repeatCount = repeatCount;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
38
53
|
public static fromDict(data: {[key: string]: any}): GetEventResult {
|
|
39
54
|
return new GetEventResult()
|
|
40
|
-
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
55
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
56
|
+
.withRepeatCount(data["repeatCount"]);
|
|
41
57
|
}
|
|
42
58
|
|
|
43
59
|
public toDict(): {[key: string]: any} {
|
|
44
60
|
return {
|
|
45
61
|
"item": this.getItem()?.toDict(),
|
|
62
|
+
"repeatCount": this.getRepeatCount(),
|
|
46
63
|
};
|
|
47
64
|
}
|
|
48
65
|
}
|