gs2 1.3.83 → 1.3.86
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/model/DrawnPrize.d.ts +4 -0
- package/lottery/model/DrawnPrize.js +14 -0
- package/lottery/model/DrawnPrize.js.map +1 -1
- package/lottery/model/DrawnPrize.ts +14 -0
- package/lottery/model/Prize.d.ts +8 -0
- package/lottery/model/Prize.js +28 -0
- package/lottery/model/Prize.js.map +1 -1
- package/lottery/model/Prize.ts +28 -0
- package/lottery/model/PrizeLimit.d.ts +36 -0
- package/lottery/model/PrizeLimit.js +191 -0
- package/lottery/model/PrizeLimit.js.map +1 -0
- package/lottery/model/PrizeLimit.ts +207 -0
- package/lottery/model/index.d.ts +2 -1
- package/lottery/model/index.js +3 -1
- package/lottery/model/index.js.map +1 -1
- package/lottery/model/index.ts +2 -0
- package/lottery/request/DescribePrizeLimitsRequest.d.ts +33 -0
- package/lottery/request/DescribePrizeLimitsRequest.js +111 -0
- package/lottery/request/DescribePrizeLimitsRequest.js.map +1 -0
- package/lottery/request/DescribePrizeLimitsRequest.ts +118 -0
- package/lottery/request/GetPrizeLimitRequest.d.ts +29 -0
- package/lottery/request/GetPrizeLimitRequest.js +97 -0
- package/lottery/request/GetPrizeLimitRequest.js.map +1 -0
- package/lottery/request/GetPrizeLimitRequest.ts +104 -0
- package/lottery/request/ResetPrizeLimitRequest.d.ts +29 -0
- package/lottery/request/ResetPrizeLimitRequest.js +97 -0
- package/lottery/request/ResetPrizeLimitRequest.js.map +1 -0
- package/lottery/request/ResetPrizeLimitRequest.ts +104 -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 +73 -0
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +85 -0
- package/lottery/result/DescribePrizeLimitsResult.d.ts +18 -0
- package/lottery/result/DescribePrizeLimitsResult.js +67 -0
- package/lottery/result/DescribePrizeLimitsResult.js.map +1 -0
- package/lottery/result/DescribePrizeLimitsResult.ts +73 -0
- package/lottery/result/GetPrizeLimitResult.d.ts +14 -0
- package/lottery/result/GetPrizeLimitResult.js +48 -0
- package/lottery/result/GetPrizeLimitResult.js.map +1 -0
- package/lottery/result/GetPrizeLimitResult.ts +48 -0
- package/lottery/result/ResetPrizeLimitResult.d.ts +9 -0
- package/lottery/result/ResetPrizeLimitResult.js +30 -0
- package/lottery/result/ResetPrizeLimitResult.js.map +1 -0
- package/lottery/result/ResetPrizeLimitResult.ts +31 -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
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
import AcquireAction from './AcquireAction';
|
|
3
3
|
export default class DrawnPrize implements IModel {
|
|
4
|
+
private prizeId;
|
|
4
5
|
private acquireActions;
|
|
6
|
+
getPrizeId(): string | null;
|
|
7
|
+
setPrizeId(prizeId: string | null): this;
|
|
8
|
+
withPrizeId(prizeId: string | null): this;
|
|
5
9
|
getAcquireActions(): AcquireAction[] | null;
|
|
6
10
|
setAcquireActions(acquireActions: AcquireAction[] | null): this;
|
|
7
11
|
withAcquireActions(acquireActions: AcquireAction[] | null): this;
|
|
@@ -19,8 +19,20 @@ var tslib_1 = require("tslib");
|
|
|
19
19
|
var AcquireAction_1 = tslib_1.__importDefault(require("./AcquireAction"));
|
|
20
20
|
var DrawnPrize = /** @class */ (function () {
|
|
21
21
|
function DrawnPrize() {
|
|
22
|
+
this.prizeId = null;
|
|
22
23
|
this.acquireActions = null;
|
|
23
24
|
}
|
|
25
|
+
DrawnPrize.prototype.getPrizeId = function () {
|
|
26
|
+
return this.prizeId;
|
|
27
|
+
};
|
|
28
|
+
DrawnPrize.prototype.setPrizeId = function (prizeId) {
|
|
29
|
+
this.prizeId = prizeId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
DrawnPrize.prototype.withPrizeId = function (prizeId) {
|
|
33
|
+
this.prizeId = prizeId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
24
36
|
DrawnPrize.prototype.getAcquireActions = function () {
|
|
25
37
|
return this.acquireActions;
|
|
26
38
|
};
|
|
@@ -37,6 +49,7 @@ var DrawnPrize = /** @class */ (function () {
|
|
|
37
49
|
return null;
|
|
38
50
|
}
|
|
39
51
|
return new DrawnPrize()
|
|
52
|
+
.withPrizeId(data["prizeId"])
|
|
40
53
|
.withAcquireActions(data.acquireActions ?
|
|
41
54
|
data.acquireActions.map(function (item) {
|
|
42
55
|
return AcquireAction_1.default.fromDict(item);
|
|
@@ -44,6 +57,7 @@ var DrawnPrize = /** @class */ (function () {
|
|
|
44
57
|
};
|
|
45
58
|
DrawnPrize.prototype.toDict = function () {
|
|
46
59
|
return {
|
|
60
|
+
"prizeId": this.getPrizeId(),
|
|
47
61
|
"acquireActions": this.getAcquireActions() ?
|
|
48
62
|
this.getAcquireActions().map(function (item) {
|
|
49
63
|
return item.toDict();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawnPrize.js","sourceRoot":"","sources":["DrawnPrize.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0EAA4C;AAE5C;IAAA;QACY,mBAAc,GAAyB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DrawnPrize.js","sourceRoot":"","sources":["DrawnPrize.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0EAA4C;AAE5C;IAAA;QACY,YAAO,GAAgB,IAAI,CAAC;QAC5B,mBAAc,GAAyB,IAAI,CAAC;IA+CxD,CAAC;IA9CU,+BAAU,GAAjB;QACI,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IACM,+BAAU,GAAjB,UAAk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AAC;IACL,iBAAC;AAAD,CAAC,AAjDD,IAiDC"}
|
|
@@ -18,7 +18,19 @@ import IModel from '../../core/interface/IModel';
|
|
|
18
18
|
import AcquireAction from './AcquireAction';
|
|
19
19
|
|
|
20
20
|
export default class DrawnPrize implements IModel {
|
|
21
|
+
private prizeId: string|null = null;
|
|
21
22
|
private acquireActions: AcquireAction[]|null = null;
|
|
23
|
+
public getPrizeId(): string|null {
|
|
24
|
+
return this.prizeId;
|
|
25
|
+
}
|
|
26
|
+
public setPrizeId(prizeId: string|null) {
|
|
27
|
+
this.prizeId = prizeId;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withPrizeId(prizeId: string|null): this {
|
|
31
|
+
this.prizeId = prizeId;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
22
34
|
public getAcquireActions(): AcquireAction[]|null {
|
|
23
35
|
return this.acquireActions;
|
|
24
36
|
}
|
|
@@ -36,6 +48,7 @@ export default class DrawnPrize implements IModel {
|
|
|
36
48
|
return null;
|
|
37
49
|
}
|
|
38
50
|
return new DrawnPrize()
|
|
51
|
+
.withPrizeId(data["prizeId"])
|
|
39
52
|
.withAcquireActions(data.acquireActions ?
|
|
40
53
|
data.acquireActions.map((item: {[key: string]: any}) => {
|
|
41
54
|
return AcquireAction.fromDict(item);
|
|
@@ -45,6 +58,7 @@ export default class DrawnPrize implements IModel {
|
|
|
45
58
|
|
|
46
59
|
public toDict(): {[key: string]: any} {
|
|
47
60
|
return {
|
|
61
|
+
"prizeId": this.getPrizeId(),
|
|
48
62
|
"acquireActions": this.getAcquireActions() ?
|
|
49
63
|
this.getAcquireActions()!.map((item: AcquireAction) => {
|
|
50
64
|
return item.toDict();
|
package/lottery/model/Prize.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export default class Prize implements IModel {
|
|
|
4
4
|
private prizeId;
|
|
5
5
|
private type;
|
|
6
6
|
private acquireActions;
|
|
7
|
+
private drawnLimit;
|
|
8
|
+
private limitFailOverPrizeId;
|
|
7
9
|
private prizeTableName;
|
|
8
10
|
private weight;
|
|
9
11
|
getPrizeId(): string | null;
|
|
@@ -15,6 +17,12 @@ export default class Prize implements IModel {
|
|
|
15
17
|
getAcquireActions(): AcquireAction[] | null;
|
|
16
18
|
setAcquireActions(acquireActions: AcquireAction[] | null): this;
|
|
17
19
|
withAcquireActions(acquireActions: AcquireAction[] | null): this;
|
|
20
|
+
getDrawnLimit(): number | null;
|
|
21
|
+
setDrawnLimit(drawnLimit: number | null): this;
|
|
22
|
+
withDrawnLimit(drawnLimit: number | null): this;
|
|
23
|
+
getLimitFailOverPrizeId(): string | null;
|
|
24
|
+
setLimitFailOverPrizeId(limitFailOverPrizeId: string | null): this;
|
|
25
|
+
withLimitFailOverPrizeId(limitFailOverPrizeId: string | null): this;
|
|
18
26
|
getPrizeTableName(): string | null;
|
|
19
27
|
setPrizeTableName(prizeTableName: string | null): this;
|
|
20
28
|
withPrizeTableName(prizeTableName: string | null): this;
|
package/lottery/model/Prize.js
CHANGED
|
@@ -22,6 +22,8 @@ var Prize = /** @class */ (function () {
|
|
|
22
22
|
this.prizeId = null;
|
|
23
23
|
this.type = null;
|
|
24
24
|
this.acquireActions = null;
|
|
25
|
+
this.drawnLimit = null;
|
|
26
|
+
this.limitFailOverPrizeId = null;
|
|
25
27
|
this.prizeTableName = null;
|
|
26
28
|
this.weight = null;
|
|
27
29
|
}
|
|
@@ -58,6 +60,28 @@ var Prize = /** @class */ (function () {
|
|
|
58
60
|
this.acquireActions = acquireActions;
|
|
59
61
|
return this;
|
|
60
62
|
};
|
|
63
|
+
Prize.prototype.getDrawnLimit = function () {
|
|
64
|
+
return this.drawnLimit;
|
|
65
|
+
};
|
|
66
|
+
Prize.prototype.setDrawnLimit = function (drawnLimit) {
|
|
67
|
+
this.drawnLimit = drawnLimit;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
Prize.prototype.withDrawnLimit = function (drawnLimit) {
|
|
71
|
+
this.drawnLimit = drawnLimit;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
Prize.prototype.getLimitFailOverPrizeId = function () {
|
|
75
|
+
return this.limitFailOverPrizeId;
|
|
76
|
+
};
|
|
77
|
+
Prize.prototype.setLimitFailOverPrizeId = function (limitFailOverPrizeId) {
|
|
78
|
+
this.limitFailOverPrizeId = limitFailOverPrizeId;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
Prize.prototype.withLimitFailOverPrizeId = function (limitFailOverPrizeId) {
|
|
82
|
+
this.limitFailOverPrizeId = limitFailOverPrizeId;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
61
85
|
Prize.prototype.getPrizeTableName = function () {
|
|
62
86
|
return this.prizeTableName;
|
|
63
87
|
};
|
|
@@ -91,6 +115,8 @@ var Prize = /** @class */ (function () {
|
|
|
91
115
|
data.acquireActions.map(function (item) {
|
|
92
116
|
return AcquireAction_1.default.fromDict(item);
|
|
93
117
|
}) : [])
|
|
118
|
+
.withDrawnLimit(data["drawnLimit"])
|
|
119
|
+
.withLimitFailOverPrizeId(data["limitFailOverPrizeId"])
|
|
94
120
|
.withPrizeTableName(data["prizeTableName"])
|
|
95
121
|
.withWeight(data["weight"]);
|
|
96
122
|
};
|
|
@@ -102,6 +128,8 @@ var Prize = /** @class */ (function () {
|
|
|
102
128
|
this.getAcquireActions().map(function (item) {
|
|
103
129
|
return item.toDict();
|
|
104
130
|
}) : [],
|
|
131
|
+
"drawnLimit": this.getDrawnLimit(),
|
|
132
|
+
"limitFailOverPrizeId": this.getLimitFailOverPrizeId(),
|
|
105
133
|
"prizeTableName": this.getPrizeTableName(),
|
|
106
134
|
"weight": this.getWeight(),
|
|
107
135
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Prize.js","sourceRoot":"","sources":["Prize.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0EAA4C;AAE5C;IAAA;QACY,YAAO,GAAgB,IAAI,CAAC;QA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iB,EAAE;YAC1C,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,YAAC;AAAD,CAAC,AAvHD,IAuHC"}
|
package/lottery/model/Prize.ts
CHANGED
|
@@ -21,6 +21,8 @@ export default class Prize implements IModel {
|
|
|
21
21
|
private prizeId: string|null = null;
|
|
22
22
|
private type: string|null = null;
|
|
23
23
|
private acquireActions: AcquireAction[]|null = null;
|
|
24
|
+
private drawnLimit: number|null = null;
|
|
25
|
+
private limitFailOverPrizeId: string|null = null;
|
|
24
26
|
private prizeTableName: string|null = null;
|
|
25
27
|
private weight: number|null = null;
|
|
26
28
|
public getPrizeId(): string|null {
|
|
@@ -56,6 +58,28 @@ export default class Prize implements IModel {
|
|
|
56
58
|
this.acquireActions = acquireActions;
|
|
57
59
|
return this;
|
|
58
60
|
}
|
|
61
|
+
public getDrawnLimit(): number|null {
|
|
62
|
+
return this.drawnLimit;
|
|
63
|
+
}
|
|
64
|
+
public setDrawnLimit(drawnLimit: number|null) {
|
|
65
|
+
this.drawnLimit = drawnLimit;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public withDrawnLimit(drawnLimit: number|null): this {
|
|
69
|
+
this.drawnLimit = drawnLimit;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
public getLimitFailOverPrizeId(): string|null {
|
|
73
|
+
return this.limitFailOverPrizeId;
|
|
74
|
+
}
|
|
75
|
+
public setLimitFailOverPrizeId(limitFailOverPrizeId: string|null) {
|
|
76
|
+
this.limitFailOverPrizeId = limitFailOverPrizeId;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public withLimitFailOverPrizeId(limitFailOverPrizeId: string|null): this {
|
|
80
|
+
this.limitFailOverPrizeId = limitFailOverPrizeId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
59
83
|
public getPrizeTableName(): string|null {
|
|
60
84
|
return this.prizeTableName;
|
|
61
85
|
}
|
|
@@ -91,6 +115,8 @@ export default class Prize implements IModel {
|
|
|
91
115
|
return AcquireAction.fromDict(item);
|
|
92
116
|
}
|
|
93
117
|
) : [])
|
|
118
|
+
.withDrawnLimit(data["drawnLimit"])
|
|
119
|
+
.withLimitFailOverPrizeId(data["limitFailOverPrizeId"])
|
|
94
120
|
.withPrizeTableName(data["prizeTableName"])
|
|
95
121
|
.withWeight(data["weight"]);
|
|
96
122
|
}
|
|
@@ -104,6 +130,8 @@ export default class Prize implements IModel {
|
|
|
104
130
|
return item.toDict();
|
|
105
131
|
}
|
|
106
132
|
) : [],
|
|
133
|
+
"drawnLimit": this.getDrawnLimit(),
|
|
134
|
+
"limitFailOverPrizeId": this.getLimitFailOverPrizeId(),
|
|
107
135
|
"prizeTableName": this.getPrizeTableName(),
|
|
108
136
|
"weight": this.getWeight(),
|
|
109
137
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class PrizeLimit implements IModel {
|
|
3
|
+
private prizeLimitId;
|
|
4
|
+
private prizeId;
|
|
5
|
+
private drawnCount;
|
|
6
|
+
private createdAt;
|
|
7
|
+
private updatedAt;
|
|
8
|
+
static getRegion(grn: string): string | null;
|
|
9
|
+
static getOwnerId(grn: string): string | null;
|
|
10
|
+
static getNamespaceName(grn: string): string | null;
|
|
11
|
+
static getPrizeTableName(grn: string): string | null;
|
|
12
|
+
static getPrizeId(grn: string): string | null;
|
|
13
|
+
static isValid(grn: string): boolean;
|
|
14
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, prizeTableName: string | null, prizeId: string | null): string | null;
|
|
15
|
+
getPrizeLimitId(): string | null;
|
|
16
|
+
setPrizeLimitId(prizeLimitId: string | null): this;
|
|
17
|
+
withPrizeLimitId(prizeLimitId: string | null): this;
|
|
18
|
+
getPrizeId(): string | null;
|
|
19
|
+
setPrizeId(prizeId: string | null): this;
|
|
20
|
+
withPrizeId(prizeId: string | null): this;
|
|
21
|
+
getDrawnCount(): number | null;
|
|
22
|
+
setDrawnCount(drawnCount: number | null): this;
|
|
23
|
+
withDrawnCount(drawnCount: number | null): this;
|
|
24
|
+
getCreatedAt(): number | null;
|
|
25
|
+
setCreatedAt(createdAt: number | null): this;
|
|
26
|
+
withCreatedAt(createdAt: number | null): this;
|
|
27
|
+
getUpdatedAt(): number | null;
|
|
28
|
+
setUpdatedAt(updatedAt: number | null): this;
|
|
29
|
+
withUpdatedAt(updatedAt: number | null): this;
|
|
30
|
+
static fromDict(data: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}): PrizeLimit | null;
|
|
33
|
+
toDict(): {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
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 grnFormat = "grn:gs2:{region}:{ownerId}:lottery:{namespaceName}:table:{prizeTableName}:prize:{prizeId}";
|
|
19
|
+
var PrizeLimit = /** @class */ (function () {
|
|
20
|
+
function PrizeLimit() {
|
|
21
|
+
this.prizeLimitId = null;
|
|
22
|
+
this.prizeId = null;
|
|
23
|
+
this.drawnCount = null;
|
|
24
|
+
this.createdAt = null;
|
|
25
|
+
this.updatedAt = null;
|
|
26
|
+
}
|
|
27
|
+
PrizeLimit.getRegion = function (grn) {
|
|
28
|
+
var match = grn.match(grnFormat
|
|
29
|
+
.replace('{region}', '(.*)')
|
|
30
|
+
.replace('{ownerId}', '.*')
|
|
31
|
+
.replace('{namespaceName}', '.*')
|
|
32
|
+
.replace('{prizeTableName}', '.*')
|
|
33
|
+
.replace('{prizeId}', '.*'));
|
|
34
|
+
if (match) {
|
|
35
|
+
return match[1];
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
};
|
|
39
|
+
PrizeLimit.getOwnerId = function (grn) {
|
|
40
|
+
var match = grn.match(grnFormat
|
|
41
|
+
.replace('{region}', '.*')
|
|
42
|
+
.replace('{ownerId}', '(.*)')
|
|
43
|
+
.replace('{namespaceName}', '.*')
|
|
44
|
+
.replace('{prizeTableName}', '.*')
|
|
45
|
+
.replace('{prizeId}', '.*'));
|
|
46
|
+
if (match) {
|
|
47
|
+
return match[1];
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
};
|
|
51
|
+
PrizeLimit.getNamespaceName = function (grn) {
|
|
52
|
+
var match = grn.match(grnFormat
|
|
53
|
+
.replace('{region}', '.*')
|
|
54
|
+
.replace('{ownerId}', '.*')
|
|
55
|
+
.replace('{namespaceName}', '(.*)')
|
|
56
|
+
.replace('{prizeTableName}', '.*')
|
|
57
|
+
.replace('{prizeId}', '.*'));
|
|
58
|
+
if (match) {
|
|
59
|
+
return match[1];
|
|
60
|
+
}
|
|
61
|
+
return null;
|
|
62
|
+
};
|
|
63
|
+
PrizeLimit.getPrizeTableName = function (grn) {
|
|
64
|
+
var match = grn.match(grnFormat
|
|
65
|
+
.replace('{region}', '.*')
|
|
66
|
+
.replace('{ownerId}', '.*')
|
|
67
|
+
.replace('{namespaceName}', '.*')
|
|
68
|
+
.replace('{prizeTableName}', '(.*)')
|
|
69
|
+
.replace('{prizeId}', '.*'));
|
|
70
|
+
if (match) {
|
|
71
|
+
return match[1];
|
|
72
|
+
}
|
|
73
|
+
return null;
|
|
74
|
+
};
|
|
75
|
+
PrizeLimit.getPrizeId = function (grn) {
|
|
76
|
+
var match = grn.match(grnFormat
|
|
77
|
+
.replace('{region}', '.*')
|
|
78
|
+
.replace('{ownerId}', '.*')
|
|
79
|
+
.replace('{namespaceName}', '.*')
|
|
80
|
+
.replace('{prizeTableName}', '.*')
|
|
81
|
+
.replace('{prizeId}', '(.*)'));
|
|
82
|
+
if (match) {
|
|
83
|
+
return match[1];
|
|
84
|
+
}
|
|
85
|
+
return null;
|
|
86
|
+
};
|
|
87
|
+
PrizeLimit.isValid = function (grn) {
|
|
88
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (this.getPrizeTableName(grn) == null || this.getPrizeTableName(grn) === '') {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
if (this.getPrizeId(grn) == null || this.getPrizeId(grn) === '') {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
};
|
|
105
|
+
PrizeLimit.createGrn = function (region, ownerId, namespaceName, prizeTableName, prizeId) {
|
|
106
|
+
return grnFormat
|
|
107
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
108
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
109
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
110
|
+
.replace('{prizeTableName}', prizeTableName !== null && prizeTableName !== void 0 ? prizeTableName : '')
|
|
111
|
+
.replace('{prizeId}', prizeId !== null && prizeId !== void 0 ? prizeId : '');
|
|
112
|
+
};
|
|
113
|
+
PrizeLimit.prototype.getPrizeLimitId = function () {
|
|
114
|
+
return this.prizeLimitId;
|
|
115
|
+
};
|
|
116
|
+
PrizeLimit.prototype.setPrizeLimitId = function (prizeLimitId) {
|
|
117
|
+
this.prizeLimitId = prizeLimitId;
|
|
118
|
+
return this;
|
|
119
|
+
};
|
|
120
|
+
PrizeLimit.prototype.withPrizeLimitId = function (prizeLimitId) {
|
|
121
|
+
this.prizeLimitId = prizeLimitId;
|
|
122
|
+
return this;
|
|
123
|
+
};
|
|
124
|
+
PrizeLimit.prototype.getPrizeId = function () {
|
|
125
|
+
return this.prizeId;
|
|
126
|
+
};
|
|
127
|
+
PrizeLimit.prototype.setPrizeId = function (prizeId) {
|
|
128
|
+
this.prizeId = prizeId;
|
|
129
|
+
return this;
|
|
130
|
+
};
|
|
131
|
+
PrizeLimit.prototype.withPrizeId = function (prizeId) {
|
|
132
|
+
this.prizeId = prizeId;
|
|
133
|
+
return this;
|
|
134
|
+
};
|
|
135
|
+
PrizeLimit.prototype.getDrawnCount = function () {
|
|
136
|
+
return this.drawnCount;
|
|
137
|
+
};
|
|
138
|
+
PrizeLimit.prototype.setDrawnCount = function (drawnCount) {
|
|
139
|
+
this.drawnCount = drawnCount;
|
|
140
|
+
return this;
|
|
141
|
+
};
|
|
142
|
+
PrizeLimit.prototype.withDrawnCount = function (drawnCount) {
|
|
143
|
+
this.drawnCount = drawnCount;
|
|
144
|
+
return this;
|
|
145
|
+
};
|
|
146
|
+
PrizeLimit.prototype.getCreatedAt = function () {
|
|
147
|
+
return this.createdAt;
|
|
148
|
+
};
|
|
149
|
+
PrizeLimit.prototype.setCreatedAt = function (createdAt) {
|
|
150
|
+
this.createdAt = createdAt;
|
|
151
|
+
return this;
|
|
152
|
+
};
|
|
153
|
+
PrizeLimit.prototype.withCreatedAt = function (createdAt) {
|
|
154
|
+
this.createdAt = createdAt;
|
|
155
|
+
return this;
|
|
156
|
+
};
|
|
157
|
+
PrizeLimit.prototype.getUpdatedAt = function () {
|
|
158
|
+
return this.updatedAt;
|
|
159
|
+
};
|
|
160
|
+
PrizeLimit.prototype.setUpdatedAt = function (updatedAt) {
|
|
161
|
+
this.updatedAt = updatedAt;
|
|
162
|
+
return this;
|
|
163
|
+
};
|
|
164
|
+
PrizeLimit.prototype.withUpdatedAt = function (updatedAt) {
|
|
165
|
+
this.updatedAt = updatedAt;
|
|
166
|
+
return this;
|
|
167
|
+
};
|
|
168
|
+
PrizeLimit.fromDict = function (data) {
|
|
169
|
+
if (data == undefined || data == null) {
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
return new PrizeLimit()
|
|
173
|
+
.withPrizeLimitId(data["prizeLimitId"])
|
|
174
|
+
.withPrizeId(data["prizeId"])
|
|
175
|
+
.withDrawnCount(data["drawnCount"])
|
|
176
|
+
.withCreatedAt(data["createdAt"])
|
|
177
|
+
.withUpdatedAt(data["updatedAt"]);
|
|
178
|
+
};
|
|
179
|
+
PrizeLimit.prototype.toDict = function () {
|
|
180
|
+
return {
|
|
181
|
+
"prizeLimitId": this.getPrizeLimitId(),
|
|
182
|
+
"prizeId": this.getPrizeId(),
|
|
183
|
+
"drawnCount": this.getDrawnCount(),
|
|
184
|
+
"createdAt": this.getCreatedAt(),
|
|
185
|
+
"updatedAt": this.getUpdatedAt(),
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
return PrizeLimit;
|
|
189
|
+
}());
|
|
190
|
+
exports.default = PrizeLimit;
|
|
191
|
+
//# sourceMappingURL=PrizeLimit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrizeLimit.js","sourceRoot":"","sources":["PrizeLimit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,2FAA2F,CAAC;AAEtH;IAAA;QACY,iBAAY,GAAgB,IAAI,CAAC;QACjC,YAAO,GAAgB,IAAI,CAAC;QAC5B,eAAU,GAAgB,IAAI,CAAC;QAC/B,cAAS,G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