gs2 1.3.203 → 1.3.205
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/result/DrawByStampSheetResult.d.ts +4 -0
- package/lottery/result/DrawByStampSheetResult.js +15 -0
- package/lottery/result/DrawByStampSheetResult.js.map +1 -1
- package/lottery/result/DrawByStampSheetResult.ts +17 -0
- package/lottery/result/DrawByUserIdResult.d.ts +4 -0
- package/lottery/result/DrawByUserIdResult.js +15 -0
- package/lottery/result/DrawByUserIdResult.js.map +1 -1
- package/lottery/result/DrawByUserIdResult.ts +17 -0
- package/lottery/result/ResetBoxByUserIdResult.d.ts +5 -0
- package/lottery/result/ResetBoxByUserIdResult.js +20 -2
- package/lottery/result/ResetBoxByUserIdResult.js.map +1 -1
- package/lottery/result/ResetBoxByUserIdResult.ts +19 -1
- package/lottery/result/ResetBoxResult.d.ts +5 -0
- package/lottery/result/ResetBoxResult.js +20 -2
- package/lottery/result/ResetBoxResult.js.map +1 -1
- package/lottery/result/ResetBoxResult.ts +19 -1
- package/lottery/result/ResetByStampSheetResult.d.ts +5 -0
- package/lottery/result/ResetByStampSheetResult.js +20 -2
- package/lottery/result/ResetByStampSheetResult.js.map +1 -1
- package/lottery/result/ResetByStampSheetResult.ts +19 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
import * as Gs2Lottery from '../model';
|
|
3
3
|
export default class DrawByStampSheetResult implements IResult {
|
|
4
4
|
private items;
|
|
5
|
+
private boxItems;
|
|
5
6
|
private transactionId;
|
|
6
7
|
private stampSheet;
|
|
7
8
|
private stampSheetEncryptionKeyId;
|
|
@@ -9,6 +10,9 @@ export default class DrawByStampSheetResult implements IResult {
|
|
|
9
10
|
getItems(): Gs2Lottery.DrawnPrize[] | null;
|
|
10
11
|
setItems(items: Gs2Lottery.DrawnPrize[] | null): this;
|
|
11
12
|
withItems(items: Gs2Lottery.DrawnPrize[] | null): this;
|
|
13
|
+
getBoxItems(): Gs2Lottery.BoxItems | null;
|
|
14
|
+
setBoxItems(boxItems: Gs2Lottery.BoxItems | null): this;
|
|
15
|
+
withBoxItems(boxItems: Gs2Lottery.BoxItems | null): this;
|
|
12
16
|
getTransactionId(): string | null;
|
|
13
17
|
setTransactionId(transactionId: string | null): this;
|
|
14
18
|
withTransactionId(transactionId: string | null): this;
|
|
@@ -20,6 +20,7 @@ var Gs2Lottery = tslib_1.__importStar(require("../model"));
|
|
|
20
20
|
var DrawByStampSheetResult = /** @class */ (function () {
|
|
21
21
|
function DrawByStampSheetResult() {
|
|
22
22
|
this.items = null;
|
|
23
|
+
this.boxItems = null;
|
|
23
24
|
this.transactionId = null;
|
|
24
25
|
this.stampSheet = null;
|
|
25
26
|
this.stampSheetEncryptionKeyId = null;
|
|
@@ -36,6 +37,17 @@ var DrawByStampSheetResult = /** @class */ (function () {
|
|
|
36
37
|
this.items = items;
|
|
37
38
|
return this;
|
|
38
39
|
};
|
|
40
|
+
DrawByStampSheetResult.prototype.getBoxItems = function () {
|
|
41
|
+
return this.boxItems;
|
|
42
|
+
};
|
|
43
|
+
DrawByStampSheetResult.prototype.setBoxItems = function (boxItems) {
|
|
44
|
+
this.boxItems = boxItems;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DrawByStampSheetResult.prototype.withBoxItems = function (boxItems) {
|
|
48
|
+
this.boxItems = boxItems;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
39
51
|
DrawByStampSheetResult.prototype.getTransactionId = function () {
|
|
40
52
|
return this.transactionId;
|
|
41
53
|
};
|
|
@@ -86,17 +98,20 @@ var DrawByStampSheetResult = /** @class */ (function () {
|
|
|
86
98
|
data.items.map(function (item) {
|
|
87
99
|
return Gs2Lottery.DrawnPrize.fromDict(item);
|
|
88
100
|
}) : [])
|
|
101
|
+
.withBoxItems(Gs2Lottery.BoxItems.fromDict(data["boxItems"]))
|
|
89
102
|
.withTransactionId(data["transactionId"])
|
|
90
103
|
.withStampSheet(data["stampSheet"])
|
|
91
104
|
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
92
105
|
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
93
106
|
};
|
|
94
107
|
DrawByStampSheetResult.prototype.toDict = function () {
|
|
108
|
+
var _a;
|
|
95
109
|
return {
|
|
96
110
|
"items": this.getItems() ?
|
|
97
111
|
this.getItems().map(function (item) {
|
|
98
112
|
return item.toDict();
|
|
99
113
|
}) : [],
|
|
114
|
+
"boxItems": (_a = this.getBoxItems()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
100
115
|
"transactionId": this.getTransactionId(),
|
|
101
116
|
"stampSheet": this.getStampSheet(),
|
|
102
117
|
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawByStampSheetResult.js","sourceRoot":"","sources":["DrawByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DrawByStampSheetResult.js","sourceRoot":"","sources":["DrawByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,aAAQ,GAA6B,IAAI,CAAC;QAC1C,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;IAkHnD,CAAC;IAhHU,yCAAQ,GAAf;QACI,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,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA2B;oBAC7C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,UAAU,EAAE,MAAA,IAAI,CAAC,WAAW,EAAE,0CAAE,MAAM,EAAE;YACxC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,2BAA2B,EAAE,IAAI,CAAC,4BAA4B,EAAE;YAChE,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;SACnD,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AAxHD,IAwHC"}
|
|
@@ -19,6 +19,7 @@ import * as Gs2Lottery from '../model'
|
|
|
19
19
|
|
|
20
20
|
export default class DrawByStampSheetResult implements IResult {
|
|
21
21
|
private items: Gs2Lottery.DrawnPrize[]|null = null;
|
|
22
|
+
private boxItems: Gs2Lottery.BoxItems|null = null;
|
|
22
23
|
private transactionId: string|null = null;
|
|
23
24
|
private stampSheet: string|null = null;
|
|
24
25
|
private stampSheetEncryptionKeyId: string|null = null;
|
|
@@ -38,6 +39,20 @@ export default class DrawByStampSheetResult implements IResult {
|
|
|
38
39
|
return this;
|
|
39
40
|
}
|
|
40
41
|
|
|
42
|
+
public getBoxItems(): Gs2Lottery.BoxItems|null {
|
|
43
|
+
return this.boxItems;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setBoxItems(boxItems: Gs2Lottery.BoxItems|null) {
|
|
47
|
+
this.boxItems = boxItems;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withBoxItems(boxItems: Gs2Lottery.BoxItems|null): this {
|
|
52
|
+
this.boxItems = boxItems;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
41
56
|
public getTransactionId(): string|null {
|
|
42
57
|
return this.transactionId;
|
|
43
58
|
}
|
|
@@ -101,6 +116,7 @@ export default class DrawByStampSheetResult implements IResult {
|
|
|
101
116
|
return Gs2Lottery.DrawnPrize.fromDict(item);
|
|
102
117
|
}
|
|
103
118
|
) : [])
|
|
119
|
+
.withBoxItems(Gs2Lottery.BoxItems.fromDict(data["boxItems"]))
|
|
104
120
|
.withTransactionId(data["transactionId"])
|
|
105
121
|
.withStampSheet(data["stampSheet"])
|
|
106
122
|
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
@@ -114,6 +130,7 @@ export default class DrawByStampSheetResult implements IResult {
|
|
|
114
130
|
return item.toDict();
|
|
115
131
|
}
|
|
116
132
|
) : [],
|
|
133
|
+
"boxItems": this.getBoxItems()?.toDict(),
|
|
117
134
|
"transactionId": this.getTransactionId(),
|
|
118
135
|
"stampSheet": this.getStampSheet(),
|
|
119
136
|
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
@@ -2,6 +2,7 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
import * as Gs2Lottery from '../model';
|
|
3
3
|
export default class DrawByUserIdResult implements IResult {
|
|
4
4
|
private items;
|
|
5
|
+
private boxItems;
|
|
5
6
|
private transactionId;
|
|
6
7
|
private stampSheet;
|
|
7
8
|
private stampSheetEncryptionKeyId;
|
|
@@ -9,6 +10,9 @@ export default class DrawByUserIdResult implements IResult {
|
|
|
9
10
|
getItems(): Gs2Lottery.DrawnPrize[] | null;
|
|
10
11
|
setItems(items: Gs2Lottery.DrawnPrize[] | null): this;
|
|
11
12
|
withItems(items: Gs2Lottery.DrawnPrize[] | null): this;
|
|
13
|
+
getBoxItems(): Gs2Lottery.BoxItems | null;
|
|
14
|
+
setBoxItems(boxItems: Gs2Lottery.BoxItems | null): this;
|
|
15
|
+
withBoxItems(boxItems: Gs2Lottery.BoxItems | null): this;
|
|
12
16
|
getTransactionId(): string | null;
|
|
13
17
|
setTransactionId(transactionId: string | null): this;
|
|
14
18
|
withTransactionId(transactionId: string | null): this;
|
|
@@ -20,6 +20,7 @@ var Gs2Lottery = tslib_1.__importStar(require("../model"));
|
|
|
20
20
|
var DrawByUserIdResult = /** @class */ (function () {
|
|
21
21
|
function DrawByUserIdResult() {
|
|
22
22
|
this.items = null;
|
|
23
|
+
this.boxItems = null;
|
|
23
24
|
this.transactionId = null;
|
|
24
25
|
this.stampSheet = null;
|
|
25
26
|
this.stampSheetEncryptionKeyId = null;
|
|
@@ -36,6 +37,17 @@ var DrawByUserIdResult = /** @class */ (function () {
|
|
|
36
37
|
this.items = items;
|
|
37
38
|
return this;
|
|
38
39
|
};
|
|
40
|
+
DrawByUserIdResult.prototype.getBoxItems = function () {
|
|
41
|
+
return this.boxItems;
|
|
42
|
+
};
|
|
43
|
+
DrawByUserIdResult.prototype.setBoxItems = function (boxItems) {
|
|
44
|
+
this.boxItems = boxItems;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DrawByUserIdResult.prototype.withBoxItems = function (boxItems) {
|
|
48
|
+
this.boxItems = boxItems;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
39
51
|
DrawByUserIdResult.prototype.getTransactionId = function () {
|
|
40
52
|
return this.transactionId;
|
|
41
53
|
};
|
|
@@ -86,17 +98,20 @@ var DrawByUserIdResult = /** @class */ (function () {
|
|
|
86
98
|
data.items.map(function (item) {
|
|
87
99
|
return Gs2Lottery.DrawnPrize.fromDict(item);
|
|
88
100
|
}) : [])
|
|
101
|
+
.withBoxItems(Gs2Lottery.BoxItems.fromDict(data["boxItems"]))
|
|
89
102
|
.withTransactionId(data["transactionId"])
|
|
90
103
|
.withStampSheet(data["stampSheet"])
|
|
91
104
|
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
92
105
|
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
93
106
|
};
|
|
94
107
|
DrawByUserIdResult.prototype.toDict = function () {
|
|
108
|
+
var _a;
|
|
95
109
|
return {
|
|
96
110
|
"items": this.getItems() ?
|
|
97
111
|
this.getItems().map(function (item) {
|
|
98
112
|
return item.toDict();
|
|
99
113
|
}) : [],
|
|
114
|
+
"boxItems": (_a = this.getBoxItems()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
100
115
|
"transactionId": this.getTransactionId(),
|
|
101
116
|
"stampSheet": this.getStampSheet(),
|
|
102
117
|
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawByUserIdResult.js","sourceRoot":"","sources":["DrawByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DrawByUserIdResult.js","sourceRoot":"","sources":["DrawByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,aAAQ,GAA6B,IAAI,CAAC;QAC1C,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;IAkHnD,CAAC;IAhHU,qCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAA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,EAAE;YACxC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,2BAA2B,EAAE,IAAI,CAAC,4BAA4B,EAAE;YAChE,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;SACnD,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AAxHD,IAwHC"}
|
|
@@ -19,6 +19,7 @@ import * as Gs2Lottery from '../model'
|
|
|
19
19
|
|
|
20
20
|
export default class DrawByUserIdResult implements IResult {
|
|
21
21
|
private items: Gs2Lottery.DrawnPrize[]|null = null;
|
|
22
|
+
private boxItems: Gs2Lottery.BoxItems|null = null;
|
|
22
23
|
private transactionId: string|null = null;
|
|
23
24
|
private stampSheet: string|null = null;
|
|
24
25
|
private stampSheetEncryptionKeyId: string|null = null;
|
|
@@ -38,6 +39,20 @@ export default class DrawByUserIdResult implements IResult {
|
|
|
38
39
|
return this;
|
|
39
40
|
}
|
|
40
41
|
|
|
42
|
+
public getBoxItems(): Gs2Lottery.BoxItems|null {
|
|
43
|
+
return this.boxItems;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setBoxItems(boxItems: Gs2Lottery.BoxItems|null) {
|
|
47
|
+
this.boxItems = boxItems;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withBoxItems(boxItems: Gs2Lottery.BoxItems|null): this {
|
|
52
|
+
this.boxItems = boxItems;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
41
56
|
public getTransactionId(): string|null {
|
|
42
57
|
return this.transactionId;
|
|
43
58
|
}
|
|
@@ -101,6 +116,7 @@ export default class DrawByUserIdResult implements IResult {
|
|
|
101
116
|
return Gs2Lottery.DrawnPrize.fromDict(item);
|
|
102
117
|
}
|
|
103
118
|
) : [])
|
|
119
|
+
.withBoxItems(Gs2Lottery.BoxItems.fromDict(data["boxItems"]))
|
|
104
120
|
.withTransactionId(data["transactionId"])
|
|
105
121
|
.withStampSheet(data["stampSheet"])
|
|
106
122
|
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
@@ -114,6 +130,7 @@ export default class DrawByUserIdResult implements IResult {
|
|
|
114
130
|
return item.toDict();
|
|
115
131
|
}
|
|
116
132
|
) : [],
|
|
133
|
+
"boxItems": this.getBoxItems()?.toDict(),
|
|
117
134
|
"transactionId": this.getTransactionId(),
|
|
118
135
|
"stampSheet": this.getStampSheet(),
|
|
119
136
|
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Lottery from '../model';
|
|
2
3
|
export default class ResetBoxByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Lottery.BoxItems | null;
|
|
6
|
+
setItem(item: Gs2Lottery.BoxItems | null): this;
|
|
7
|
+
withItem(item: Gs2Lottery.BoxItems | null): this;
|
|
3
8
|
static fromDict(data: {
|
|
4
9
|
[key: string]: any;
|
|
5
10
|
}): ResetBoxByUserIdResult;
|
|
@@ -15,14 +15,32 @@ 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 Gs2Lottery = tslib_1.__importStar(require("../model"));
|
|
18
20
|
var ResetBoxByUserIdResult = /** @class */ (function () {
|
|
19
21
|
function ResetBoxByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
20
23
|
}
|
|
24
|
+
ResetBoxByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ResetBoxByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ResetBoxByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
21
35
|
ResetBoxByUserIdResult.fromDict = function (data) {
|
|
22
|
-
return new ResetBoxByUserIdResult()
|
|
36
|
+
return new ResetBoxByUserIdResult()
|
|
37
|
+
.withItem(Gs2Lottery.BoxItems.fromDict(data["item"]));
|
|
23
38
|
};
|
|
24
39
|
ResetBoxByUserIdResult.prototype.toDict = function () {
|
|
25
|
-
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
26
44
|
};
|
|
27
45
|
return ResetBoxByUserIdResult;
|
|
28
46
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetBoxByUserIdResult.js","sourceRoot":"","sources":["ResetBoxByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ResetBoxByUserIdResult.js","sourceRoot":"","sources":["ResetBoxByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -15,15 +15,33 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Lottery from '../model'
|
|
18
19
|
|
|
19
20
|
export default class ResetBoxByUserIdResult implements IResult {
|
|
21
|
+
private item: Gs2Lottery.BoxItems|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Lottery.BoxItems|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Lottery.BoxItems|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Lottery.BoxItems|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
20
36
|
|
|
21
37
|
public static fromDict(data: {[key: string]: any}): ResetBoxByUserIdResult {
|
|
22
|
-
return new ResetBoxByUserIdResult()
|
|
38
|
+
return new ResetBoxByUserIdResult()
|
|
39
|
+
.withItem(Gs2Lottery.BoxItems.fromDict(data["item"]));
|
|
23
40
|
}
|
|
24
41
|
|
|
25
42
|
public toDict(): {[key: string]: any} {
|
|
26
43
|
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
27
45
|
};
|
|
28
46
|
}
|
|
29
47
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Lottery from '../model';
|
|
2
3
|
export default class ResetBoxResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Lottery.BoxItems | null;
|
|
6
|
+
setItem(item: Gs2Lottery.BoxItems | null): this;
|
|
7
|
+
withItem(item: Gs2Lottery.BoxItems | null): this;
|
|
3
8
|
static fromDict(data: {
|
|
4
9
|
[key: string]: any;
|
|
5
10
|
}): ResetBoxResult;
|
|
@@ -15,14 +15,32 @@ 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 Gs2Lottery = tslib_1.__importStar(require("../model"));
|
|
18
20
|
var ResetBoxResult = /** @class */ (function () {
|
|
19
21
|
function ResetBoxResult() {
|
|
22
|
+
this.item = null;
|
|
20
23
|
}
|
|
24
|
+
ResetBoxResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ResetBoxResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ResetBoxResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
21
35
|
ResetBoxResult.fromDict = function (data) {
|
|
22
|
-
return new ResetBoxResult()
|
|
36
|
+
return new ResetBoxResult()
|
|
37
|
+
.withItem(Gs2Lottery.BoxItems.fromDict(data["item"]));
|
|
23
38
|
};
|
|
24
39
|
ResetBoxResult.prototype.toDict = function () {
|
|
25
|
-
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
26
44
|
};
|
|
27
45
|
return ResetBoxResult;
|
|
28
46
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetBoxResult.js","sourceRoot":"","sources":["ResetBoxResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ResetBoxResult.js","sourceRoot":"","sources":["ResetBoxResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,gCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gCAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,cAAc,EAAE;aACtB,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,+BAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -15,15 +15,33 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Lottery from '../model'
|
|
18
19
|
|
|
19
20
|
export default class ResetBoxResult implements IResult {
|
|
21
|
+
private item: Gs2Lottery.BoxItems|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Lottery.BoxItems|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Lottery.BoxItems|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Lottery.BoxItems|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
20
36
|
|
|
21
37
|
public static fromDict(data: {[key: string]: any}): ResetBoxResult {
|
|
22
|
-
return new ResetBoxResult()
|
|
38
|
+
return new ResetBoxResult()
|
|
39
|
+
.withItem(Gs2Lottery.BoxItems.fromDict(data["item"]));
|
|
23
40
|
}
|
|
24
41
|
|
|
25
42
|
public toDict(): {[key: string]: any} {
|
|
26
43
|
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
27
45
|
};
|
|
28
46
|
}
|
|
29
47
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Lottery from '../model';
|
|
2
3
|
export default class ResetByStampSheetResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Lottery.BoxItems | null;
|
|
6
|
+
setItem(item: Gs2Lottery.BoxItems | null): this;
|
|
7
|
+
withItem(item: Gs2Lottery.BoxItems | null): this;
|
|
3
8
|
static fromDict(data: {
|
|
4
9
|
[key: string]: any;
|
|
5
10
|
}): ResetByStampSheetResult;
|
|
@@ -15,14 +15,32 @@ 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 Gs2Lottery = tslib_1.__importStar(require("../model"));
|
|
18
20
|
var ResetByStampSheetResult = /** @class */ (function () {
|
|
19
21
|
function ResetByStampSheetResult() {
|
|
22
|
+
this.item = null;
|
|
20
23
|
}
|
|
24
|
+
ResetByStampSheetResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ResetByStampSheetResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ResetByStampSheetResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
21
35
|
ResetByStampSheetResult.fromDict = function (data) {
|
|
22
|
-
return new ResetByStampSheetResult()
|
|
36
|
+
return new ResetByStampSheetResult()
|
|
37
|
+
.withItem(Gs2Lottery.BoxItems.fromDict(data["item"]));
|
|
23
38
|
};
|
|
24
39
|
ResetByStampSheetResult.prototype.toDict = function () {
|
|
25
|
-
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
26
44
|
};
|
|
27
45
|
return ResetByStampSheetResult;
|
|
28
46
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetByStampSheetResult.js","sourceRoot":"","sources":["ResetByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ResetByStampSheetResult.js","sourceRoot":"","sources":["ResetByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,yCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,yCAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -15,15 +15,33 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Lottery from '../model'
|
|
18
19
|
|
|
19
20
|
export default class ResetByStampSheetResult implements IResult {
|
|
21
|
+
private item: Gs2Lottery.BoxItems|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Lottery.BoxItems|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Lottery.BoxItems|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Lottery.BoxItems|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
20
36
|
|
|
21
37
|
public static fromDict(data: {[key: string]: any}): ResetByStampSheetResult {
|
|
22
|
-
return new ResetByStampSheetResult()
|
|
38
|
+
return new ResetByStampSheetResult()
|
|
39
|
+
.withItem(Gs2Lottery.BoxItems.fromDict(data["item"]));
|
|
23
40
|
}
|
|
24
41
|
|
|
25
42
|
public toDict(): {[key: string]: any} {
|
|
26
43
|
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
27
45
|
};
|
|
28
46
|
}
|
|
29
47
|
}
|