gs2 1.4.89 → 1.4.93
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/account/request/FindPlatformIdByUserIdRequest.d.ts +0 -4
- package/account/request/FindPlatformIdByUserIdRequest.js +0 -12
- package/account/request/FindPlatformIdByUserIdRequest.js.map +1 -1
- package/account/request/FindPlatformIdByUserIdRequest.ts +0 -15
- package/account/request/FindPlatformIdRequest.d.ts +0 -4
- package/account/request/FindPlatformIdRequest.js +0 -12
- package/account/request/FindPlatformIdRequest.js.map +1 -1
- package/account/request/FindPlatformIdRequest.ts +0 -15
- package/account/rest.js +5 -11
- package/account/rest.js.map +1 -1
- package/account/rest.ts +0 -6
- package/buff/request/ApplyBuffByUserIdRequest.d.ts +0 -4
- package/buff/request/ApplyBuffByUserIdRequest.js +0 -12
- package/buff/request/ApplyBuffByUserIdRequest.js.map +1 -1
- package/buff/request/ApplyBuffByUserIdRequest.ts +0 -15
- package/buff/request/ApplyBuffRequest.d.ts +0 -4
- package/buff/request/ApplyBuffRequest.js +0 -12
- package/buff/request/ApplyBuffRequest.js.map +1 -1
- package/buff/request/ApplyBuffRequest.ts +0 -15
- package/buff/rest.js +5 -11
- package/buff/rest.js.map +1 -1
- package/buff/rest.ts +0 -6
- package/distributor/request/FreezeMasterDataBySignedTimestampRequest.d.ts +0 -4
- package/distributor/request/FreezeMasterDataBySignedTimestampRequest.js +0 -12
- package/distributor/request/FreezeMasterDataBySignedTimestampRequest.js.map +1 -1
- package/distributor/request/FreezeMasterDataBySignedTimestampRequest.ts +0 -15
- package/distributor/request/FreezeMasterDataByTimestampRequest.d.ts +0 -4
- package/distributor/request/FreezeMasterDataByTimestampRequest.js +0 -12
- package/distributor/request/FreezeMasterDataByTimestampRequest.js.map +1 -1
- package/distributor/request/FreezeMasterDataByTimestampRequest.ts +0 -15
- package/distributor/request/FreezeMasterDataByUserIdRequest.d.ts +0 -4
- package/distributor/request/FreezeMasterDataByUserIdRequest.js +0 -12
- package/distributor/request/FreezeMasterDataByUserIdRequest.js.map +1 -1
- package/distributor/request/FreezeMasterDataByUserIdRequest.ts +0 -15
- package/distributor/request/FreezeMasterDataRequest.d.ts +0 -4
- package/distributor/request/FreezeMasterDataRequest.js +0 -12
- package/distributor/request/FreezeMasterDataRequest.js.map +1 -1
- package/distributor/request/FreezeMasterDataRequest.ts +0 -15
- package/distributor/rest.js +13 -25
- package/distributor/rest.js.map +1 -1
- package/distributor/rest.ts +0 -12
- package/friend/model/FriendRequest.d.ts +4 -0
- package/friend/model/FriendRequest.js +15 -1
- package/friend/model/FriendRequest.js.map +1 -1
- package/friend/model/FriendRequest.ts +15 -1
- package/friend/model/ReceiveFriendRequest.d.ts +4 -0
- package/friend/model/ReceiveFriendRequest.js +15 -1
- package/friend/model/ReceiveFriendRequest.js.map +1 -1
- package/friend/model/ReceiveFriendRequest.ts +15 -1
- package/friend/model/SendFriendRequest.d.ts +4 -0
- package/friend/model/SendFriendRequest.js +15 -1
- package/friend/model/SendFriendRequest.js.map +1 -1
- package/friend/model/SendFriendRequest.ts +15 -1
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.d.ts +4 -0
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.js +14 -0
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.js.map +1 -1
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.ts +14 -0
- package/friend/request/DescribeReceiveRequestsRequest.d.ts +4 -0
- package/friend/request/DescribeReceiveRequestsRequest.js +14 -0
- package/friend/request/DescribeReceiveRequestsRequest.js.map +1 -1
- package/friend/request/DescribeReceiveRequestsRequest.ts +14 -0
- package/friend/request/DescribeSendRequestsByUserIdRequest.d.ts +4 -0
- package/friend/request/DescribeSendRequestsByUserIdRequest.js +14 -0
- package/friend/request/DescribeSendRequestsByUserIdRequest.js.map +1 -1
- package/friend/request/DescribeSendRequestsByUserIdRequest.ts +14 -0
- package/friend/request/DescribeSendRequestsRequest.d.ts +4 -0
- package/friend/request/DescribeSendRequestsRequest.js +14 -0
- package/friend/request/DescribeSendRequestsRequest.js.map +1 -1
- package/friend/request/DescribeSendRequestsRequest.ts +14 -0
- package/friend/request/GetReceiveRequestByUserIdRequest.d.ts +4 -0
- package/friend/request/GetReceiveRequestByUserIdRequest.js +14 -0
- package/friend/request/GetReceiveRequestByUserIdRequest.js.map +1 -1
- package/friend/request/GetReceiveRequestByUserIdRequest.ts +14 -0
- package/friend/request/GetReceiveRequestRequest.d.ts +4 -0
- package/friend/request/GetReceiveRequestRequest.js +15 -1
- package/friend/request/GetReceiveRequestRequest.js.map +1 -1
- package/friend/request/GetReceiveRequestRequest.ts +15 -1
- package/friend/request/GetSendRequestByUserIdRequest.d.ts +4 -0
- package/friend/request/GetSendRequestByUserIdRequest.js +14 -0
- package/friend/request/GetSendRequestByUserIdRequest.js.map +1 -1
- package/friend/request/GetSendRequestByUserIdRequest.ts +14 -0
- package/friend/request/GetSendRequestRequest.d.ts +4 -0
- package/friend/request/GetSendRequestRequest.js +15 -1
- package/friend/request/GetSendRequestRequest.js.map +1 -1
- package/friend/request/GetSendRequestRequest.ts +15 -1
- package/friend/rest.js +24 -16
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +8 -0
- package/idle/request/PredictionByUserIdRequest.d.ts +0 -4
- package/idle/request/PredictionByUserIdRequest.js +0 -12
- package/idle/request/PredictionByUserIdRequest.js.map +1 -1
- package/idle/request/PredictionByUserIdRequest.ts +0 -15
- package/idle/request/PredictionRequest.d.ts +0 -4
- package/idle/request/PredictionRequest.js +0 -12
- package/idle/request/PredictionRequest.js.map +1 -1
- package/idle/request/PredictionRequest.ts +0 -15
- package/idle/rest.js +5 -11
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +0 -6
- package/lottery/model/Namespace.d.ts +0 -4
- package/lottery/model/Namespace.js +0 -14
- package/lottery/model/Namespace.js.map +1 -1
- package/lottery/model/Namespace.ts +0 -14
- package/lottery/request/CreateNamespaceRequest.d.ts +0 -4
- package/lottery/request/CreateNamespaceRequest.js +0 -14
- package/lottery/request/CreateNamespaceRequest.js.map +1 -1
- package/lottery/request/CreateNamespaceRequest.ts +0 -14
- package/lottery/request/UpdateNamespaceRequest.d.ts +0 -4
- package/lottery/request/UpdateNamespaceRequest.js +0 -14
- package/lottery/request/UpdateNamespaceRequest.js.map +1 -1
- package/lottery/request/UpdateNamespaceRequest.ts +0 -14
- package/lottery/rest.js +8 -10
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +0 -2
- package/money2/model/Namespace.d.ts +4 -0
- package/money2/model/Namespace.js +18 -4
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +14 -0
- package/money2/request/CreateNamespaceRequest.d.ts +4 -0
- package/money2/request/CreateNamespaceRequest.js +18 -4
- package/money2/request/CreateNamespaceRequest.js.map +1 -1
- package/money2/request/CreateNamespaceRequest.ts +14 -0
- package/money2/request/UpdateNamespaceRequest.d.ts +4 -0
- package/money2/request/UpdateNamespaceRequest.js +18 -4
- package/money2/request/UpdateNamespaceRequest.js.map +1 -1
- package/money2/request/UpdateNamespaceRequest.ts +14 -0
- package/money2/rest.js +16 -14
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +2 -0
- package/package.json +2 -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/schedule/result/VerifyEventByStampTaskResult.d.ts +25 -0
- package/schedule/result/VerifyEventByStampTaskResult.js +87 -0
- package/schedule/result/VerifyEventByStampTaskResult.js.map +1 -1
- package/schedule/result/VerifyEventByStampTaskResult.ts +103 -0
- package/schedule/result/VerifyEventByUserIdResult.d.ts +25 -0
- package/schedule/result/VerifyEventByUserIdResult.js +90 -2
- package/schedule/result/VerifyEventByUserIdResult.js.map +1 -1
- package/schedule/result/VerifyEventByUserIdResult.ts +104 -1
- package/schedule/result/VerifyEventResult.d.ts +25 -0
- package/schedule/result/VerifyEventResult.js +90 -2
- package/schedule/result/VerifyEventResult.js.map +1 -1
- package/schedule/result/VerifyEventResult.ts +104 -1
|
@@ -15,14 +15,102 @@ 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 VerifyEventResult = /** @class */ (function () {
|
|
19
21
|
function VerifyEventResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.inSchedule = null;
|
|
24
|
+
this.scheduleStartAt = null;
|
|
25
|
+
this.scheduleEndAt = null;
|
|
26
|
+
this.repeatSchedule = null;
|
|
27
|
+
this.isGlobalSchedule = null;
|
|
20
28
|
}
|
|
29
|
+
VerifyEventResult.prototype.getItem = function () {
|
|
30
|
+
return this.item;
|
|
31
|
+
};
|
|
32
|
+
VerifyEventResult.prototype.setItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyEventResult.prototype.withItem = function (item) {
|
|
37
|
+
this.item = item;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
VerifyEventResult.prototype.getInSchedule = function () {
|
|
41
|
+
return this.inSchedule;
|
|
42
|
+
};
|
|
43
|
+
VerifyEventResult.prototype.setInSchedule = function (inSchedule) {
|
|
44
|
+
this.inSchedule = inSchedule;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyEventResult.prototype.withInSchedule = function (inSchedule) {
|
|
48
|
+
this.inSchedule = inSchedule;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
VerifyEventResult.prototype.getScheduleStartAt = function () {
|
|
52
|
+
return this.scheduleStartAt;
|
|
53
|
+
};
|
|
54
|
+
VerifyEventResult.prototype.setScheduleStartAt = function (scheduleStartAt) {
|
|
55
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyEventResult.prototype.withScheduleStartAt = function (scheduleStartAt) {
|
|
59
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
VerifyEventResult.prototype.getScheduleEndAt = function () {
|
|
63
|
+
return this.scheduleEndAt;
|
|
64
|
+
};
|
|
65
|
+
VerifyEventResult.prototype.setScheduleEndAt = function (scheduleEndAt) {
|
|
66
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyEventResult.prototype.withScheduleEndAt = function (scheduleEndAt) {
|
|
70
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
VerifyEventResult.prototype.getRepeatSchedule = function () {
|
|
74
|
+
return this.repeatSchedule;
|
|
75
|
+
};
|
|
76
|
+
VerifyEventResult.prototype.setRepeatSchedule = function (repeatSchedule) {
|
|
77
|
+
this.repeatSchedule = repeatSchedule;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
VerifyEventResult.prototype.withRepeatSchedule = function (repeatSchedule) {
|
|
81
|
+
this.repeatSchedule = repeatSchedule;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
VerifyEventResult.prototype.getIsGlobalSchedule = function () {
|
|
85
|
+
return this.isGlobalSchedule;
|
|
86
|
+
};
|
|
87
|
+
VerifyEventResult.prototype.setIsGlobalSchedule = function (isGlobalSchedule) {
|
|
88
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
VerifyEventResult.prototype.withIsGlobalSchedule = function (isGlobalSchedule) {
|
|
92
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
21
95
|
VerifyEventResult.fromDict = function (data) {
|
|
22
|
-
return new VerifyEventResult()
|
|
96
|
+
return new VerifyEventResult()
|
|
97
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
98
|
+
.withInSchedule(data["inSchedule"])
|
|
99
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
100
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
101
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
102
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
23
103
|
};
|
|
24
104
|
VerifyEventResult.prototype.toDict = function () {
|
|
25
|
-
|
|
105
|
+
var _a, _b;
|
|
106
|
+
return {
|
|
107
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
108
|
+
"inSchedule": this.getInSchedule(),
|
|
109
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
110
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
111
|
+
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
112
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
113
|
+
};
|
|
26
114
|
};
|
|
27
115
|
return VerifyEventResult;
|
|
28
116
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyEventResult.js","sourceRoot":"","sources":["VerifyEventResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"VerifyEventResult.js","sourceRoot":"","sources":["VerifyEventResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IA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IAEM,kCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,MAAA,IAAI,CAAC,iBAAiB,EAAE,0CAAE,MAAM,EAAE;YACpD,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE;SACjD,CAAC;IACN,CAAC;IACL,wBAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -15,15 +15,118 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Schedule from '../model'
|
|
18
19
|
|
|
19
20
|
export default class VerifyEventResult implements IResult {
|
|
21
|
+
private item: Gs2Schedule.Event|null = null;
|
|
22
|
+
private inSchedule: boolean|null = null;
|
|
23
|
+
private scheduleStartAt: number|null = null;
|
|
24
|
+
private scheduleEndAt: number|null = null;
|
|
25
|
+
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
26
|
+
private isGlobalSchedule: boolean|null = null;
|
|
27
|
+
|
|
28
|
+
public getItem(): Gs2Schedule.Event|null {
|
|
29
|
+
return this.item;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItem(item: Gs2Schedule.Event|null) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItem(item: Gs2Schedule.Event|null): this {
|
|
38
|
+
this.item = item;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getInSchedule(): boolean|null {
|
|
43
|
+
return this.inSchedule;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setInSchedule(inSchedule: boolean|null) {
|
|
47
|
+
this.inSchedule = inSchedule;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withInSchedule(inSchedule: boolean|null): this {
|
|
52
|
+
this.inSchedule = inSchedule;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getScheduleStartAt(): number|null {
|
|
57
|
+
return this.scheduleStartAt;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setScheduleStartAt(scheduleStartAt: number|null) {
|
|
61
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withScheduleStartAt(scheduleStartAt: number|null): this {
|
|
66
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getScheduleEndAt(): number|null {
|
|
71
|
+
return this.scheduleEndAt;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setScheduleEndAt(scheduleEndAt: number|null) {
|
|
75
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withScheduleEndAt(scheduleEndAt: number|null): this {
|
|
80
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getRepeatSchedule(): Gs2Schedule.RepeatSchedule|null {
|
|
85
|
+
return this.repeatSchedule;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null) {
|
|
89
|
+
this.repeatSchedule = repeatSchedule;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null): this {
|
|
94
|
+
this.repeatSchedule = repeatSchedule;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public getIsGlobalSchedule(): boolean|null {
|
|
99
|
+
return this.isGlobalSchedule;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public setIsGlobalSchedule(isGlobalSchedule: boolean|null) {
|
|
103
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
104
|
+
return this;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public withIsGlobalSchedule(isGlobalSchedule: boolean|null): this {
|
|
108
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
20
111
|
|
|
21
112
|
public static fromDict(data: {[key: string]: any}): VerifyEventResult {
|
|
22
|
-
return new VerifyEventResult()
|
|
113
|
+
return new VerifyEventResult()
|
|
114
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
115
|
+
.withInSchedule(data["inSchedule"])
|
|
116
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
117
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
118
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
119
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
23
120
|
}
|
|
24
121
|
|
|
25
122
|
public toDict(): {[key: string]: any} {
|
|
26
123
|
return {
|
|
124
|
+
"item": this.getItem()?.toDict(),
|
|
125
|
+
"inSchedule": this.getInSchedule(),
|
|
126
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
127
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
128
|
+
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
129
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
27
130
|
};
|
|
28
131
|
}
|
|
29
132
|
}
|