gs2 1.3.135 → 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/lottery/request/DrawWithRandomSeedByUserIdRequest.d.ts +46 -0
- package/lottery/request/DrawWithRandomSeedByUserIdRequest.js +159 -0
- package/lottery/request/DrawWithRandomSeedByUserIdRequest.js.map +1 -0
- package/lottery/request/DrawWithRandomSeedByUserIdRequest.ts +169 -0
- package/lottery/request/PredictionByUserIdRequest.d.ts +41 -0
- package/lottery/request/PredictionByUserIdRequest.js +137 -0
- package/lottery/request/PredictionByUserIdRequest.js.map +1 -0
- package/lottery/request/PredictionByUserIdRequest.ts +147 -0
- package/lottery/request/PredictionRequest.d.ts +41 -0
- package/lottery/request/PredictionRequest.js +137 -0
- package/lottery/request/PredictionRequest.js.map +1 -0
- package/lottery/request/PredictionRequest.ts +147 -0
- package/lottery/request/index.d.ts +4 -1
- package/lottery/request/index.js +7 -1
- package/lottery/request/index.js.map +1 -1
- package/lottery/request/index.ts +6 -0
- package/lottery/rest.d.ts +3 -0
- package/lottery/rest.js +100 -0
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +112 -0
- package/lottery/result/DrawWithRandomSeedByUserIdResult.d.ts +30 -0
- package/lottery/result/DrawWithRandomSeedByUserIdResult.js +109 -0
- package/lottery/result/DrawWithRandomSeedByUserIdResult.js.map +1 -0
- package/lottery/result/DrawWithRandomSeedByUserIdResult.ts +124 -0
- package/lottery/result/PredictionByUserIdResult.d.ts +14 -0
- package/lottery/result/PredictionByUserIdResult.js +53 -0
- package/lottery/result/PredictionByUserIdResult.js.map +1 -0
- package/lottery/result/PredictionByUserIdResult.ts +56 -0
- package/lottery/result/PredictionResult.d.ts +14 -0
- package/lottery/result/PredictionResult.js +53 -0
- package/lottery/result/PredictionResult.js.map +1 -0
- package/lottery/result/PredictionResult.ts +56 -0
- package/lottery/result/index.d.ts +4 -1
- package/lottery/result/index.js +7 -1
- package/lottery/result/index.js.map +1 -1
- package/lottery/result/index.ts +6 -0
- 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
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Lottery from '../model'
|
|
20
|
+
|
|
21
|
+
export default class PredictionByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private lotteryName: string|null = null;
|
|
27
|
+
private userId: string|null = null;
|
|
28
|
+
private randomSeed: number|null = null;
|
|
29
|
+
private count: number|null = null;
|
|
30
|
+
private duplicationAvoider: string|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getNamespaceName(): string|null {
|
|
60
|
+
return this.namespaceName;
|
|
61
|
+
}
|
|
62
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getLotteryName(): string|null {
|
|
71
|
+
return this.lotteryName;
|
|
72
|
+
}
|
|
73
|
+
public setLotteryName(lotteryName: string|null) {
|
|
74
|
+
this.lotteryName = lotteryName;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withLotteryName(lotteryName: string|null): this {
|
|
78
|
+
this.lotteryName = lotteryName;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getUserId(): string|null {
|
|
82
|
+
return this.userId;
|
|
83
|
+
}
|
|
84
|
+
public setUserId(userId: string|null) {
|
|
85
|
+
this.userId = userId;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withUserId(userId: string|null): this {
|
|
89
|
+
this.userId = userId;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getRandomSeed(): number|null {
|
|
93
|
+
return this.randomSeed;
|
|
94
|
+
}
|
|
95
|
+
public setRandomSeed(randomSeed: number|null) {
|
|
96
|
+
this.randomSeed = randomSeed;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withRandomSeed(randomSeed: number|null): this {
|
|
100
|
+
this.randomSeed = randomSeed;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
public getCount(): number|null {
|
|
104
|
+
return this.count;
|
|
105
|
+
}
|
|
106
|
+
public setCount(count: number|null) {
|
|
107
|
+
this.count = count;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withCount(count: number|null): this {
|
|
111
|
+
this.count = count;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public static fromDict(data: {[key: string]: any}): PredictionByUserIdRequest {
|
|
130
|
+
return new PredictionByUserIdRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withLotteryName(data["lotteryName"])
|
|
133
|
+
.withUserId(data["userId"])
|
|
134
|
+
.withRandomSeed(data["randomSeed"])
|
|
135
|
+
.withCount(data["count"]);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public toDict(): {[key: string]: any} {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"lotteryName": this.getLotteryName(),
|
|
142
|
+
"userId": this.getUserId(),
|
|
143
|
+
"randomSeed": this.getRandomSeed(),
|
|
144
|
+
"count": this.getCount(),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class PredictionRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private lotteryName;
|
|
7
|
+
private userId;
|
|
8
|
+
private randomSeed;
|
|
9
|
+
private count;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getLotteryName(): string | null;
|
|
21
|
+
setLotteryName(lotteryName: string | null): this;
|
|
22
|
+
withLotteryName(lotteryName: string | null): this;
|
|
23
|
+
getUserId(): string | null;
|
|
24
|
+
setUserId(userId: string | null): this;
|
|
25
|
+
withUserId(userId: string | null): this;
|
|
26
|
+
getRandomSeed(): number | null;
|
|
27
|
+
setRandomSeed(randomSeed: number | null): this;
|
|
28
|
+
withRandomSeed(randomSeed: number | null): this;
|
|
29
|
+
getCount(): number | null;
|
|
30
|
+
setCount(count: number | null): this;
|
|
31
|
+
withCount(count: number | null): this;
|
|
32
|
+
getDuplicationAvoider(): string | null;
|
|
33
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
34
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): PredictionRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
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 PredictionRequest = /** @class */ (function () {
|
|
19
|
+
function PredictionRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.lotteryName = null;
|
|
24
|
+
this.userId = null;
|
|
25
|
+
this.randomSeed = null;
|
|
26
|
+
this.count = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
PredictionRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
PredictionRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
PredictionRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
PredictionRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
PredictionRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
PredictionRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
PredictionRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
PredictionRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
PredictionRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
PredictionRequest.prototype.getLotteryName = function () {
|
|
63
|
+
return this.lotteryName;
|
|
64
|
+
};
|
|
65
|
+
PredictionRequest.prototype.setLotteryName = function (lotteryName) {
|
|
66
|
+
this.lotteryName = lotteryName;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
PredictionRequest.prototype.withLotteryName = function (lotteryName) {
|
|
70
|
+
this.lotteryName = lotteryName;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
PredictionRequest.prototype.getUserId = function () {
|
|
74
|
+
return this.userId;
|
|
75
|
+
};
|
|
76
|
+
PredictionRequest.prototype.setUserId = function (userId) {
|
|
77
|
+
this.userId = userId;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
PredictionRequest.prototype.withUserId = function (userId) {
|
|
81
|
+
this.userId = userId;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
PredictionRequest.prototype.getRandomSeed = function () {
|
|
85
|
+
return this.randomSeed;
|
|
86
|
+
};
|
|
87
|
+
PredictionRequest.prototype.setRandomSeed = function (randomSeed) {
|
|
88
|
+
this.randomSeed = randomSeed;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
PredictionRequest.prototype.withRandomSeed = function (randomSeed) {
|
|
92
|
+
this.randomSeed = randomSeed;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
PredictionRequest.prototype.getCount = function () {
|
|
96
|
+
return this.count;
|
|
97
|
+
};
|
|
98
|
+
PredictionRequest.prototype.setCount = function (count) {
|
|
99
|
+
this.count = count;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
PredictionRequest.prototype.withCount = function (count) {
|
|
103
|
+
this.count = count;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
PredictionRequest.prototype.getDuplicationAvoider = function () {
|
|
107
|
+
return this.duplicationAvoider;
|
|
108
|
+
};
|
|
109
|
+
PredictionRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
PredictionRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
114
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
PredictionRequest.fromDict = function (data) {
|
|
118
|
+
return new PredictionRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withLotteryName(data["lotteryName"])
|
|
121
|
+
.withUserId(data["userId"])
|
|
122
|
+
.withRandomSeed(data["randomSeed"])
|
|
123
|
+
.withCount(data["count"]);
|
|
124
|
+
};
|
|
125
|
+
PredictionRequest.prototype.toDict = function () {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"lotteryName": this.getLotteryName(),
|
|
129
|
+
"userId": this.getUserId(),
|
|
130
|
+
"randomSeed": this.getRandomSeed(),
|
|
131
|
+
"count": this.getCount(),
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
return PredictionRequest;
|
|
135
|
+
}());
|
|
136
|
+
exports.default = PredictionRequest;
|
|
137
|
+
//# sourceMappingURL=PredictionRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PredictionRequest.js","sourceRoot":"","sources":["PredictionRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Lottery from '../model'
|
|
20
|
+
|
|
21
|
+
export default class PredictionRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private lotteryName: string|null = null;
|
|
27
|
+
private userId: string|null = null;
|
|
28
|
+
private randomSeed: number|null = null;
|
|
29
|
+
private count: number|null = null;
|
|
30
|
+
private duplicationAvoider: string|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getNamespaceName(): string|null {
|
|
60
|
+
return this.namespaceName;
|
|
61
|
+
}
|
|
62
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getLotteryName(): string|null {
|
|
71
|
+
return this.lotteryName;
|
|
72
|
+
}
|
|
73
|
+
public setLotteryName(lotteryName: string|null) {
|
|
74
|
+
this.lotteryName = lotteryName;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withLotteryName(lotteryName: string|null): this {
|
|
78
|
+
this.lotteryName = lotteryName;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getUserId(): string|null {
|
|
82
|
+
return this.userId;
|
|
83
|
+
}
|
|
84
|
+
public setUserId(userId: string|null) {
|
|
85
|
+
this.userId = userId;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withUserId(userId: string|null): this {
|
|
89
|
+
this.userId = userId;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getRandomSeed(): number|null {
|
|
93
|
+
return this.randomSeed;
|
|
94
|
+
}
|
|
95
|
+
public setRandomSeed(randomSeed: number|null) {
|
|
96
|
+
this.randomSeed = randomSeed;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withRandomSeed(randomSeed: number|null): this {
|
|
100
|
+
this.randomSeed = randomSeed;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
public getCount(): number|null {
|
|
104
|
+
return this.count;
|
|
105
|
+
}
|
|
106
|
+
public setCount(count: number|null) {
|
|
107
|
+
this.count = count;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withCount(count: number|null): this {
|
|
111
|
+
this.count = count;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public static fromDict(data: {[key: string]: any}): PredictionRequest {
|
|
130
|
+
return new PredictionRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withLotteryName(data["lotteryName"])
|
|
133
|
+
.withUserId(data["userId"])
|
|
134
|
+
.withRandomSeed(data["randomSeed"])
|
|
135
|
+
.withCount(data["count"]);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public toDict(): {[key: string]: any} {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"lotteryName": this.getLotteryName(),
|
|
142
|
+
"userId": this.getUserId(),
|
|
143
|
+
"randomSeed": this.getRandomSeed(),
|
|
144
|
+
"count": this.getCount(),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -19,6 +19,9 @@ import GetLotteryModelRequest from "./GetLotteryModelRequest";
|
|
|
19
19
|
import DescribePrizeTablesRequest from "./DescribePrizeTablesRequest";
|
|
20
20
|
import GetPrizeTableRequest from "./GetPrizeTableRequest";
|
|
21
21
|
import DrawByUserIdRequest from "./DrawByUserIdRequest";
|
|
22
|
+
import PredictionRequest from "./PredictionRequest";
|
|
23
|
+
import PredictionByUserIdRequest from "./PredictionByUserIdRequest";
|
|
24
|
+
import DrawWithRandomSeedByUserIdRequest from "./DrawWithRandomSeedByUserIdRequest";
|
|
22
25
|
import DrawByStampSheetRequest from "./DrawByStampSheetRequest";
|
|
23
26
|
import DescribeProbabilitiesRequest from "./DescribeProbabilitiesRequest";
|
|
24
27
|
import DescribeProbabilitiesByUserIdRequest from "./DescribeProbabilitiesByUserIdRequest";
|
|
@@ -35,4 +38,4 @@ import GetBoxRequest from "./GetBoxRequest";
|
|
|
35
38
|
import GetBoxByUserIdRequest from "./GetBoxByUserIdRequest";
|
|
36
39
|
import ResetBoxRequest from "./ResetBoxRequest";
|
|
37
40
|
import ResetBoxByUserIdRequest from "./ResetBoxByUserIdRequest";
|
|
38
|
-
export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DescribeLotteryModelMastersRequest, CreateLotteryModelMasterRequest, GetLotteryModelMasterRequest, UpdateLotteryModelMasterRequest, DeleteLotteryModelMasterRequest, DescribePrizeTableMastersRequest, CreatePrizeTableMasterRequest, GetPrizeTableMasterRequest, UpdatePrizeTableMasterRequest, DeletePrizeTableMasterRequest, DescribeLotteryModelsRequest, GetLotteryModelRequest, DescribePrizeTablesRequest, GetPrizeTableRequest, DrawByUserIdRequest, DrawByStampSheetRequest, DescribeProbabilitiesRequest, DescribeProbabilitiesByUserIdRequest, ExportMasterRequest, GetCurrentLotteryMasterRequest, UpdateCurrentLotteryMasterRequest, UpdateCurrentLotteryMasterFromGitHubRequest, DescribePrizeLimitsRequest, GetPrizeLimitRequest, ResetPrizeLimitRequest, DescribeBoxesRequest, DescribeBoxesByUserIdRequest, GetBoxRequest, GetBoxByUserIdRequest, ResetBoxRequest, ResetBoxByUserIdRequest, };
|
|
41
|
+
export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DescribeLotteryModelMastersRequest, CreateLotteryModelMasterRequest, GetLotteryModelMasterRequest, UpdateLotteryModelMasterRequest, DeleteLotteryModelMasterRequest, DescribePrizeTableMastersRequest, CreatePrizeTableMasterRequest, GetPrizeTableMasterRequest, UpdatePrizeTableMasterRequest, DeletePrizeTableMasterRequest, DescribeLotteryModelsRequest, GetLotteryModelRequest, DescribePrizeTablesRequest, GetPrizeTableRequest, DrawByUserIdRequest, PredictionRequest, PredictionByUserIdRequest, DrawWithRandomSeedByUserIdRequest, DrawByStampSheetRequest, DescribeProbabilitiesRequest, DescribeProbabilitiesByUserIdRequest, ExportMasterRequest, GetCurrentLotteryMasterRequest, UpdateCurrentLotteryMasterRequest, UpdateCurrentLotteryMasterFromGitHubRequest, DescribePrizeLimitsRequest, GetPrizeLimitRequest, ResetPrizeLimitRequest, DescribeBoxesRequest, DescribeBoxesByUserIdRequest, GetBoxRequest, GetBoxByUserIdRequest, ResetBoxRequest, ResetBoxByUserIdRequest, };
|
package/lottery/request/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResetBoxByUserIdRequest = exports.ResetBoxRequest = exports.GetBoxByUserIdRequest = exports.GetBoxRequest = exports.DescribeBoxesByUserIdRequest = exports.DescribeBoxesRequest = exports.ResetPrizeLimitRequest = exports.GetPrizeLimitRequest = exports.DescribePrizeLimitsRequest = exports.UpdateCurrentLotteryMasterFromGitHubRequest = exports.UpdateCurrentLotteryMasterRequest = exports.GetCurrentLotteryMasterRequest = exports.ExportMasterRequest = exports.DescribeProbabilitiesByUserIdRequest = exports.DescribeProbabilitiesRequest = exports.DrawByStampSheetRequest = exports.DrawByUserIdRequest = exports.GetPrizeTableRequest = exports.DescribePrizeTablesRequest = exports.GetLotteryModelRequest = exports.DescribeLotteryModelsRequest = exports.DeletePrizeTableMasterRequest = exports.UpdatePrizeTableMasterRequest = exports.GetPrizeTableMasterRequest = exports.CreatePrizeTableMasterRequest = exports.DescribePrizeTableMastersRequest = exports.DeleteLotteryModelMasterRequest = exports.UpdateLotteryModelMasterRequest = exports.GetLotteryModelMasterRequest = exports.CreateLotteryModelMasterRequest = exports.DescribeLotteryModelMastersRequest = exports.DeleteNamespaceRequest = exports.UpdateNamespaceRequest = exports.GetNamespaceRequest = exports.GetNamespaceStatusRequest = exports.CreateNamespaceRequest = exports.DescribeNamespacesRequest = void 0;
|
|
3
|
+
exports.ResetBoxByUserIdRequest = exports.ResetBoxRequest = exports.GetBoxByUserIdRequest = exports.GetBoxRequest = exports.DescribeBoxesByUserIdRequest = exports.DescribeBoxesRequest = exports.ResetPrizeLimitRequest = exports.GetPrizeLimitRequest = exports.DescribePrizeLimitsRequest = exports.UpdateCurrentLotteryMasterFromGitHubRequest = exports.UpdateCurrentLotteryMasterRequest = exports.GetCurrentLotteryMasterRequest = exports.ExportMasterRequest = exports.DescribeProbabilitiesByUserIdRequest = exports.DescribeProbabilitiesRequest = exports.DrawByStampSheetRequest = exports.DrawWithRandomSeedByUserIdRequest = exports.PredictionByUserIdRequest = exports.PredictionRequest = exports.DrawByUserIdRequest = exports.GetPrizeTableRequest = exports.DescribePrizeTablesRequest = exports.GetLotteryModelRequest = exports.DescribeLotteryModelsRequest = exports.DeletePrizeTableMasterRequest = exports.UpdatePrizeTableMasterRequest = exports.GetPrizeTableMasterRequest = exports.CreatePrizeTableMasterRequest = exports.DescribePrizeTableMastersRequest = exports.DeleteLotteryModelMasterRequest = exports.UpdateLotteryModelMasterRequest = exports.GetLotteryModelMasterRequest = exports.CreateLotteryModelMasterRequest = exports.DescribeLotteryModelMastersRequest = exports.DeleteNamespaceRequest = exports.UpdateNamespaceRequest = exports.GetNamespaceRequest = exports.GetNamespaceStatusRequest = exports.CreateNamespaceRequest = exports.DescribeNamespacesRequest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -59,6 +59,12 @@ var GetPrizeTableRequest_1 = tslib_1.__importDefault(require("./GetPrizeTableReq
|
|
|
59
59
|
exports.GetPrizeTableRequest = GetPrizeTableRequest_1.default;
|
|
60
60
|
var DrawByUserIdRequest_1 = tslib_1.__importDefault(require("./DrawByUserIdRequest"));
|
|
61
61
|
exports.DrawByUserIdRequest = DrawByUserIdRequest_1.default;
|
|
62
|
+
var PredictionRequest_1 = tslib_1.__importDefault(require("./PredictionRequest"));
|
|
63
|
+
exports.PredictionRequest = PredictionRequest_1.default;
|
|
64
|
+
var PredictionByUserIdRequest_1 = tslib_1.__importDefault(require("./PredictionByUserIdRequest"));
|
|
65
|
+
exports.PredictionByUserIdRequest = PredictionByUserIdRequest_1.default;
|
|
66
|
+
var DrawWithRandomSeedByUserIdRequest_1 = tslib_1.__importDefault(require("./DrawWithRandomSeedByUserIdRequest"));
|
|
67
|
+
exports.DrawWithRandomSeedByUserIdRequest = DrawWithRandomSeedByUserIdRequest_1.default;
|
|
62
68
|
var DrawByStampSheetRequest_1 = tslib_1.__importDefault(require("./DrawByStampSheetRequest"));
|
|
63
69
|
exports.DrawByStampSheetRequest = DrawByStampSheetRequest_1.default;
|
|
64
70
|
var DescribeProbabilitiesRequest_1 = tslib_1.__importDefault(require("./DescribeProbabilitiesRequest"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kGAAmE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kGAAmE;AA0C/D,oCA1CG,mCAAyB,CA0CH;AAzC7B,4FAA6D;AA0CzD,iCA1CG,gCAAsB,CA0CH;AAzC1B,kGAAmE;AA0C/D,oCA1CG,mCAAyB,CA0CH;AAzC7B,sFAAuD;AA0CnD,8BA1CG,6BAAmB,CA0CH;AAzCvB,4FAA6D;AA0CzD,iCA1CG,gCAAsB,CA0CH;AAzC1B,4FAA6D;AA0CzD,iCA1CG,gCAAsB,CA0CH;AAzC1B,oHAAqF;AA0CjF,6CA1CG,4CAAkC,CA0CH;AAzCtC,8GAA+E;AA0C3E,0CA1CG,yCAA+B,CA0CH;AAzCnC,wGAAyE;AA0CrE,uCA1CG,sCAA4B,CA0CH;AAzChC,8GAA+E;AA0C3E,0CA1CG,yCAA+B,CA0CH;AAzCnC,8GAA+E;AA0C3E,0CA1CG,yCAA+B,CA0CH;AAzCnC,gHAAiF;AA0C7E,2CA1CG,0CAAgC,CA0CH;AAzCpC,0GAA2E;AA0CvE,wCA1CG,uCAA6B,CA0CH;AAzCjC,oGAAqE;AA0CjE,qCA1CG,oCAA0B,CA0CH;AAzC9B,0GAA2E;AA0CvE,wCA1CG,uCAA6B,CA0CH;AAzCjC,0GAA2E;AA0CvE,wCA1CG,uCAA6B,CA0CH;AAzCjC,wGAAyE;AA0CrE,uCA1CG,sCAA4B,CA0CH;AAzChC,4FAA6D;AA0CzD,iCA1CG,gCAAsB,CA0CH;AAzC1B,oGAAqE;AA0CjE,qCA1CG,oCAA0B,CA0CH;AAzC9B,wFAAyD;AA0CrD,+BA1CG,8BAAoB,CA0CH;AAzCxB,sFAAuD;AA0CnD,8BA1CG,6BAAmB,CA0CH;AAzCvB,kFAAmD;AA0C/C,4BA1CG,2BAAiB,CA0CH;AAzCrB,kGAAmE;AA0C/D,oCA1CG,mCAAyB,CA0CH;AAzC7B,kHAAmF;AA0C/E,4CA1CG,2CAAiC,CA0CH;AAzCrC,8FAA+D;AA0C3D,kCA1CG,iCAAuB,CA0CH;AAzC3B,wGAAyE;AA0CrE,uCA1CG,sCAA4B,CA0CH;AAzChC,wHAAyF;AA0CrF,+CA1CG,8CAAoC,CA0CH;AAzCxC,sFAAuD;AA0CnD,8BA1CG,6BAAmB,CA0CH;AAzCvB,4GAA6E;AA0CzE,yCA1CG,wCAA8B,CA0CH;AAzClC,kHAAmF;AA0C/E,4CA1CG,2CAAiC,CA0CH;AAzCrC,sIAAuG;AA0CnG,sDA1CG,qDAA2C,CA0CH;AAzC/C,oGAAqE;AA0CjE,qCA1CG,oCAA0B,CA0CH;AAzC9B,wFAAyD;AA0CrD,+BA1CG,8BAAoB,CA0CH;AAzCxB,4FAA6D;AA0CzD,iCA1CG,gCAAsB,CA0CH;AAzC1B,wFAAyD;AA0CrD,+BA1CG,8BAAoB,CA0CH;AAzCxB,wGAAyE;AA0CrE,uCA1CG,sCAA4B,CA0CH;AAzChC,0EAA2C;AA0CvC,wBA1CG,uBAAa,CA0CH;AAzCjB,0FAA2D;AA0CvD,gCA1CG,+BAAqB,CA0CH;AAzCzB,8EAA+C;AA0C3C,0BA1CG,yBAAe,CA0CH;AAzCnB,8FAA+D;AA0C3D,kCA1CG,iCAAuB,CA0CH"}
|
package/lottery/request/index.ts
CHANGED
|
@@ -34,6 +34,9 @@ import GetLotteryModelRequest from "./GetLotteryModelRequest"
|
|
|
34
34
|
import DescribePrizeTablesRequest from "./DescribePrizeTablesRequest"
|
|
35
35
|
import GetPrizeTableRequest from "./GetPrizeTableRequest"
|
|
36
36
|
import DrawByUserIdRequest from "./DrawByUserIdRequest"
|
|
37
|
+
import PredictionRequest from "./PredictionRequest"
|
|
38
|
+
import PredictionByUserIdRequest from "./PredictionByUserIdRequest"
|
|
39
|
+
import DrawWithRandomSeedByUserIdRequest from "./DrawWithRandomSeedByUserIdRequest"
|
|
37
40
|
import DrawByStampSheetRequest from "./DrawByStampSheetRequest"
|
|
38
41
|
import DescribeProbabilitiesRequest from "./DescribeProbabilitiesRequest"
|
|
39
42
|
import DescribeProbabilitiesByUserIdRequest from "./DescribeProbabilitiesByUserIdRequest"
|
|
@@ -73,6 +76,9 @@ export {
|
|
|
73
76
|
DescribePrizeTablesRequest,
|
|
74
77
|
GetPrizeTableRequest,
|
|
75
78
|
DrawByUserIdRequest,
|
|
79
|
+
PredictionRequest,
|
|
80
|
+
PredictionByUserIdRequest,
|
|
81
|
+
DrawWithRandomSeedByUserIdRequest,
|
|
76
82
|
DrawByStampSheetRequest,
|
|
77
83
|
DescribeProbabilitiesRequest,
|
|
78
84
|
DescribeProbabilitiesByUserIdRequest,
|
package/lottery/rest.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ export default class Gs2LotteryRestClient extends AbstractGs2RestClient {
|
|
|
25
25
|
describePrizeTables(request: Request.DescribePrizeTablesRequest): Promise<Result.DescribePrizeTablesResult>;
|
|
26
26
|
getPrizeTable(request: Request.GetPrizeTableRequest): Promise<Result.GetPrizeTableResult>;
|
|
27
27
|
drawByUserId(request: Request.DrawByUserIdRequest): Promise<Result.DrawByUserIdResult>;
|
|
28
|
+
prediction(request: Request.PredictionRequest): Promise<Result.PredictionResult>;
|
|
29
|
+
predictionByUserId(request: Request.PredictionByUserIdRequest): Promise<Result.PredictionByUserIdResult>;
|
|
30
|
+
drawWithRandomSeedByUserId(request: Request.DrawWithRandomSeedByUserIdRequest): Promise<Result.DrawWithRandomSeedByUserIdResult>;
|
|
28
31
|
drawByStampSheet(request: Request.DrawByStampSheetRequest): Promise<Result.DrawByStampSheetResult>;
|
|
29
32
|
describeProbabilities(request: Request.DescribeProbabilitiesRequest): Promise<Result.DescribeProbabilitiesResult>;
|
|
30
33
|
describeProbabilitiesByUserId(request: Request.DescribeProbabilitiesByUserIdRequest): Promise<Result.DescribeProbabilitiesByUserIdResult>;
|