gs2 1.3.204 → 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/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
|
@@ -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
|
}
|