gs2 1.3.203 → 1.3.204
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/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,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAW,GAAlB;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEM,4CAAW,GAAlB,UAAmB,QAAkC;QACjD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACz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nD,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;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I,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;aAC5D,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,6BAA6B,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;aAChE,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,mCAAM,GAAb;;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,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,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(),
|