gs2 1.4.16 → 1.4.17
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/exchange/model/LogCost.d.ts +21 -0
- package/exchange/model/LogCost.js +88 -0
- package/exchange/model/LogCost.js.map +1 -0
- package/exchange/model/LogCost.ts +90 -0
- package/exchange/model/index.d.ts +2 -1
- package/exchange/model/index.js +3 -1
- package/exchange/model/index.js.map +1 -1
- package/exchange/model/index.ts +2 -0
- package/mission/model/CounterModel.js.map +1 -1
- package/mission/model/CounterModel.ts +1 -0
- package/mission/model/CounterModelMaster.js.map +1 -1
- package/mission/model/CounterModelMaster.ts +1 -0
- package/mission/model/CounterScopeModel.d.ts +13 -0
- package/mission/model/CounterScopeModel.js +46 -1
- package/mission/model/CounterScopeModel.js.map +1 -1
- package/mission/model/CounterScopeModel.ts +44 -1
- package/mission/model/ScopedValue.d.ts +8 -0
- package/mission/model/ScopedValue.js +28 -0
- package/mission/model/ScopedValue.js.map +1 -1
- package/mission/model/ScopedValue.ts +28 -0
- package/mission/model/TargetCounterModel.d.ts +8 -0
- package/mission/model/TargetCounterModel.js +28 -0
- package/mission/model/TargetCounterModel.js.map +1 -1
- package/mission/model/TargetCounterModel.ts +28 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.d.ts +8 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.js +28 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.js.map +1 -1
- package/mission/request/VerifyCounterValueByUserIdRequest.ts +28 -0
- package/mission/request/VerifyCounterValueRequest.d.ts +8 -0
- package/mission/request/VerifyCounterValueRequest.js +28 -0
- package/mission/request/VerifyCounterValueRequest.js.map +1 -1
- package/mission/request/VerifyCounterValueRequest.ts +28 -0
- package/mission/rest.js +12 -8
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +4 -0
- package/package.json +1 -1
|
@@ -17,10 +17,23 @@ permissions and limitations under the License.
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
|
|
19
19
|
export default class ScopedValue implements IModel {
|
|
20
|
+
private scopeType: string|null = null;
|
|
20
21
|
private resetType: string|null = null;
|
|
22
|
+
private conditionName: string|null = null;
|
|
21
23
|
private value: number|null = null;
|
|
22
24
|
private nextResetAt: number|null = null;
|
|
23
25
|
private updatedAt: number|null = null;
|
|
26
|
+
public getScopeType(): string|null {
|
|
27
|
+
return this.scopeType;
|
|
28
|
+
}
|
|
29
|
+
public setScopeType(scopeType: string|null) {
|
|
30
|
+
this.scopeType = scopeType;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
public withScopeType(scopeType: string|null): this {
|
|
34
|
+
this.scopeType = scopeType;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
24
37
|
public getResetType(): string|null {
|
|
25
38
|
return this.resetType;
|
|
26
39
|
}
|
|
@@ -32,6 +45,17 @@ export default class ScopedValue implements IModel {
|
|
|
32
45
|
this.resetType = resetType;
|
|
33
46
|
return this;
|
|
34
47
|
}
|
|
48
|
+
public getConditionName(): string|null {
|
|
49
|
+
return this.conditionName;
|
|
50
|
+
}
|
|
51
|
+
public setConditionName(conditionName: string|null) {
|
|
52
|
+
this.conditionName = conditionName;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public withConditionName(conditionName: string|null): this {
|
|
56
|
+
this.conditionName = conditionName;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
35
59
|
public getValue(): number|null {
|
|
36
60
|
return this.value;
|
|
37
61
|
}
|
|
@@ -71,7 +95,9 @@ export default class ScopedValue implements IModel {
|
|
|
71
95
|
return null;
|
|
72
96
|
}
|
|
73
97
|
return new ScopedValue()
|
|
98
|
+
.withScopeType(data["scopeType"])
|
|
74
99
|
.withResetType(data["resetType"])
|
|
100
|
+
.withConditionName(data["conditionName"])
|
|
75
101
|
.withValue(data["value"])
|
|
76
102
|
.withNextResetAt(data["nextResetAt"])
|
|
77
103
|
.withUpdatedAt(data["updatedAt"]);
|
|
@@ -79,7 +105,9 @@ export default class ScopedValue implements IModel {
|
|
|
79
105
|
|
|
80
106
|
public toDict(): {[key: string]: any} {
|
|
81
107
|
return {
|
|
108
|
+
"scopeType": this.getScopeType(),
|
|
82
109
|
"resetType": this.getResetType(),
|
|
110
|
+
"conditionName": this.getConditionName(),
|
|
83
111
|
"value": this.getValue(),
|
|
84
112
|
"nextResetAt": this.getNextResetAt(),
|
|
85
113
|
"updatedAt": this.getUpdatedAt(),
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
export default class TargetCounterModel implements IModel {
|
|
3
3
|
private counterName;
|
|
4
|
+
private scopeType;
|
|
4
5
|
private resetType;
|
|
6
|
+
private conditionName;
|
|
5
7
|
private value;
|
|
6
8
|
getCounterName(): string | null;
|
|
7
9
|
setCounterName(counterName: string | null): this;
|
|
8
10
|
withCounterName(counterName: string | null): this;
|
|
11
|
+
getScopeType(): string | null;
|
|
12
|
+
setScopeType(scopeType: string | null): this;
|
|
13
|
+
withScopeType(scopeType: string | null): this;
|
|
9
14
|
getResetType(): string | null;
|
|
10
15
|
setResetType(resetType: string | null): this;
|
|
11
16
|
withResetType(resetType: string | null): this;
|
|
17
|
+
getConditionName(): string | null;
|
|
18
|
+
setConditionName(conditionName: string | null): this;
|
|
19
|
+
withConditionName(conditionName: string | null): this;
|
|
12
20
|
getValue(): number | null;
|
|
13
21
|
setValue(value: number | null): this;
|
|
14
22
|
withValue(value: number | null): this;
|
|
@@ -18,7 +18,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
var TargetCounterModel = /** @class */ (function () {
|
|
19
19
|
function TargetCounterModel() {
|
|
20
20
|
this.counterName = null;
|
|
21
|
+
this.scopeType = null;
|
|
21
22
|
this.resetType = null;
|
|
23
|
+
this.conditionName = null;
|
|
22
24
|
this.value = null;
|
|
23
25
|
}
|
|
24
26
|
TargetCounterModel.prototype.getCounterName = function () {
|
|
@@ -32,6 +34,17 @@ var TargetCounterModel = /** @class */ (function () {
|
|
|
32
34
|
this.counterName = counterName;
|
|
33
35
|
return this;
|
|
34
36
|
};
|
|
37
|
+
TargetCounterModel.prototype.getScopeType = function () {
|
|
38
|
+
return this.scopeType;
|
|
39
|
+
};
|
|
40
|
+
TargetCounterModel.prototype.setScopeType = function (scopeType) {
|
|
41
|
+
this.scopeType = scopeType;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
TargetCounterModel.prototype.withScopeType = function (scopeType) {
|
|
45
|
+
this.scopeType = scopeType;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
35
48
|
TargetCounterModel.prototype.getResetType = function () {
|
|
36
49
|
return this.resetType;
|
|
37
50
|
};
|
|
@@ -43,6 +56,17 @@ var TargetCounterModel = /** @class */ (function () {
|
|
|
43
56
|
this.resetType = resetType;
|
|
44
57
|
return this;
|
|
45
58
|
};
|
|
59
|
+
TargetCounterModel.prototype.getConditionName = function () {
|
|
60
|
+
return this.conditionName;
|
|
61
|
+
};
|
|
62
|
+
TargetCounterModel.prototype.setConditionName = function (conditionName) {
|
|
63
|
+
this.conditionName = conditionName;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
TargetCounterModel.prototype.withConditionName = function (conditionName) {
|
|
67
|
+
this.conditionName = conditionName;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
46
70
|
TargetCounterModel.prototype.getValue = function () {
|
|
47
71
|
return this.value;
|
|
48
72
|
};
|
|
@@ -60,13 +84,17 @@ var TargetCounterModel = /** @class */ (function () {
|
|
|
60
84
|
}
|
|
61
85
|
return new TargetCounterModel()
|
|
62
86
|
.withCounterName(data["counterName"])
|
|
87
|
+
.withScopeType(data["scopeType"])
|
|
63
88
|
.withResetType(data["resetType"])
|
|
89
|
+
.withConditionName(data["conditionName"])
|
|
64
90
|
.withValue(data["value"]);
|
|
65
91
|
};
|
|
66
92
|
TargetCounterModel.prototype.toDict = function () {
|
|
67
93
|
return {
|
|
68
94
|
"counterName": this.getCounterName(),
|
|
95
|
+
"scopeType": this.getScopeType(),
|
|
69
96
|
"resetType": this.getResetType(),
|
|
97
|
+
"conditionName": this.getConditionName(),
|
|
70
98
|
"value": this.getValue(),
|
|
71
99
|
};
|
|
72
100
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TargetCounterModel.js","sourceRoot":"","sources":["TargetCounterModel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"TargetCounterModel.js","sourceRoot":"","sources":["TargetCounterModel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;IA8EtC,CAAC;IA7EU,2CAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IACM,2CAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4CAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,yCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,C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,WAAW,CAAC,CAAC;aAChC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,mCAAM,GAAb;QACI,OAAO;YACH,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AAnFD,IAmFC"}
|
|
@@ -18,7 +18,9 @@ import IModel from '../../core/interface/IModel';
|
|
|
18
18
|
|
|
19
19
|
export default class TargetCounterModel implements IModel {
|
|
20
20
|
private counterName: string|null = null;
|
|
21
|
+
private scopeType: string|null = null;
|
|
21
22
|
private resetType: string|null = null;
|
|
23
|
+
private conditionName: string|null = null;
|
|
22
24
|
private value: number|null = null;
|
|
23
25
|
public getCounterName(): string|null {
|
|
24
26
|
return this.counterName;
|
|
@@ -31,6 +33,17 @@ export default class TargetCounterModel implements IModel {
|
|
|
31
33
|
this.counterName = counterName;
|
|
32
34
|
return this;
|
|
33
35
|
}
|
|
36
|
+
public getScopeType(): string|null {
|
|
37
|
+
return this.scopeType;
|
|
38
|
+
}
|
|
39
|
+
public setScopeType(scopeType: string|null) {
|
|
40
|
+
this.scopeType = scopeType;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withScopeType(scopeType: string|null): this {
|
|
44
|
+
this.scopeType = scopeType;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
34
47
|
public getResetType(): string|null {
|
|
35
48
|
return this.resetType;
|
|
36
49
|
}
|
|
@@ -42,6 +55,17 @@ export default class TargetCounterModel implements IModel {
|
|
|
42
55
|
this.resetType = resetType;
|
|
43
56
|
return this;
|
|
44
57
|
}
|
|
58
|
+
public getConditionName(): string|null {
|
|
59
|
+
return this.conditionName;
|
|
60
|
+
}
|
|
61
|
+
public setConditionName(conditionName: string|null) {
|
|
62
|
+
this.conditionName = conditionName;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withConditionName(conditionName: string|null): this {
|
|
66
|
+
this.conditionName = conditionName;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
45
69
|
public getValue(): number|null {
|
|
46
70
|
return this.value;
|
|
47
71
|
}
|
|
@@ -60,14 +84,18 @@ export default class TargetCounterModel implements IModel {
|
|
|
60
84
|
}
|
|
61
85
|
return new TargetCounterModel()
|
|
62
86
|
.withCounterName(data["counterName"])
|
|
87
|
+
.withScopeType(data["scopeType"])
|
|
63
88
|
.withResetType(data["resetType"])
|
|
89
|
+
.withConditionName(data["conditionName"])
|
|
64
90
|
.withValue(data["value"]);
|
|
65
91
|
}
|
|
66
92
|
|
|
67
93
|
public toDict(): {[key: string]: any} {
|
|
68
94
|
return {
|
|
69
95
|
"counterName": this.getCounterName(),
|
|
96
|
+
"scopeType": this.getScopeType(),
|
|
70
97
|
"resetType": this.getResetType(),
|
|
98
|
+
"conditionName": this.getConditionName(),
|
|
71
99
|
"value": this.getValue(),
|
|
72
100
|
};
|
|
73
101
|
}
|
|
@@ -6,7 +6,9 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
6
6
|
private userId;
|
|
7
7
|
private counterName;
|
|
8
8
|
private verifyType;
|
|
9
|
+
private scopeType;
|
|
9
10
|
private resetType;
|
|
11
|
+
private conditionName;
|
|
10
12
|
private value;
|
|
11
13
|
private multiplyValueSpecifyingQuantity;
|
|
12
14
|
private timeOffsetToken;
|
|
@@ -29,9 +31,15 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
29
31
|
getVerifyType(): string | null;
|
|
30
32
|
setVerifyType(verifyType: string | null): this;
|
|
31
33
|
withVerifyType(verifyType: string | null): this;
|
|
34
|
+
getScopeType(): string | null;
|
|
35
|
+
setScopeType(scopeType: string | null): this;
|
|
36
|
+
withScopeType(scopeType: string | null): this;
|
|
32
37
|
getResetType(): string | null;
|
|
33
38
|
setResetType(resetType: string | null): this;
|
|
34
39
|
withResetType(resetType: string | null): this;
|
|
40
|
+
getConditionName(): string | null;
|
|
41
|
+
setConditionName(conditionName: string | null): this;
|
|
42
|
+
withConditionName(conditionName: string | null): this;
|
|
35
43
|
getValue(): number | null;
|
|
36
44
|
setValue(value: number | null): this;
|
|
37
45
|
withValue(value: number | null): this;
|
|
@@ -23,7 +23,9 @@ var VerifyCounterValueByUserIdRequest = /** @class */ (function () {
|
|
|
23
23
|
this.userId = null;
|
|
24
24
|
this.counterName = null;
|
|
25
25
|
this.verifyType = null;
|
|
26
|
+
this.scopeType = null;
|
|
26
27
|
this.resetType = null;
|
|
28
|
+
this.conditionName = null;
|
|
27
29
|
this.value = null;
|
|
28
30
|
this.multiplyValueSpecifyingQuantity = null;
|
|
29
31
|
this.timeOffsetToken = null;
|
|
@@ -95,6 +97,17 @@ var VerifyCounterValueByUserIdRequest = /** @class */ (function () {
|
|
|
95
97
|
this.verifyType = verifyType;
|
|
96
98
|
return this;
|
|
97
99
|
};
|
|
100
|
+
VerifyCounterValueByUserIdRequest.prototype.getScopeType = function () {
|
|
101
|
+
return this.scopeType;
|
|
102
|
+
};
|
|
103
|
+
VerifyCounterValueByUserIdRequest.prototype.setScopeType = function (scopeType) {
|
|
104
|
+
this.scopeType = scopeType;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
VerifyCounterValueByUserIdRequest.prototype.withScopeType = function (scopeType) {
|
|
108
|
+
this.scopeType = scopeType;
|
|
109
|
+
return this;
|
|
110
|
+
};
|
|
98
111
|
VerifyCounterValueByUserIdRequest.prototype.getResetType = function () {
|
|
99
112
|
return this.resetType;
|
|
100
113
|
};
|
|
@@ -106,6 +119,17 @@ var VerifyCounterValueByUserIdRequest = /** @class */ (function () {
|
|
|
106
119
|
this.resetType = resetType;
|
|
107
120
|
return this;
|
|
108
121
|
};
|
|
122
|
+
VerifyCounterValueByUserIdRequest.prototype.getConditionName = function () {
|
|
123
|
+
return this.conditionName;
|
|
124
|
+
};
|
|
125
|
+
VerifyCounterValueByUserIdRequest.prototype.setConditionName = function (conditionName) {
|
|
126
|
+
this.conditionName = conditionName;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
VerifyCounterValueByUserIdRequest.prototype.withConditionName = function (conditionName) {
|
|
130
|
+
this.conditionName = conditionName;
|
|
131
|
+
return this;
|
|
132
|
+
};
|
|
109
133
|
VerifyCounterValueByUserIdRequest.prototype.getValue = function () {
|
|
110
134
|
return this.value;
|
|
111
135
|
};
|
|
@@ -156,7 +180,9 @@ var VerifyCounterValueByUserIdRequest = /** @class */ (function () {
|
|
|
156
180
|
.withUserId(data["userId"])
|
|
157
181
|
.withCounterName(data["counterName"])
|
|
158
182
|
.withVerifyType(data["verifyType"])
|
|
183
|
+
.withScopeType(data["scopeType"])
|
|
159
184
|
.withResetType(data["resetType"])
|
|
185
|
+
.withConditionName(data["conditionName"])
|
|
160
186
|
.withValue(data["value"])
|
|
161
187
|
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"])
|
|
162
188
|
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
@@ -167,7 +193,9 @@ var VerifyCounterValueByUserIdRequest = /** @class */ (function () {
|
|
|
167
193
|
"userId": this.getUserId(),
|
|
168
194
|
"counterName": this.getCounterName(),
|
|
169
195
|
"verifyType": this.getVerifyType(),
|
|
196
|
+
"scopeType": this.getScopeType(),
|
|
170
197
|
"resetType": this.getResetType(),
|
|
198
|
+
"conditionName": this.getConditionName(),
|
|
171
199
|
"value": this.getValue(),
|
|
172
200
|
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
173
201
|
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyCounterValueByUserIdRequest.js","sourceRoot":"","sources":["VerifyCounterValueByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;QAC/B,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;QAC1B,oCAA+B,GAAiB,IAAI,CAAC;QACrD,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"VerifyCounterValueByUserIdRequest.js","sourceRoot":"","sources":["VerifyCounterValueByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;QAC/B,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;QAC1B,oCAA+B,GAAiB,IAAI,CAAC;QACrD,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAsLnD,CAAC;IApLU,wDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,wDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,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IAEa,0CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,iCAAiC,EAAE;aACzC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACxB,mCAAmC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;aAC5E,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,kDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,iCAAiC,EAAE,IAAI,CAAC,kCAAkC,EAAE;YAC5E,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,wCAAC;AAAD,CAAC,AApMD,IAoMC"}
|
|
@@ -26,7 +26,9 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
26
26
|
private userId: string|null = null;
|
|
27
27
|
private counterName: string|null = null;
|
|
28
28
|
private verifyType: string|null = null;
|
|
29
|
+
private scopeType: string|null = null;
|
|
29
30
|
private resetType: string|null = null;
|
|
31
|
+
private conditionName: string|null = null;
|
|
30
32
|
private value: number|null = null;
|
|
31
33
|
private multiplyValueSpecifyingQuantity: boolean|null = null;
|
|
32
34
|
private timeOffsetToken: string|null = null;
|
|
@@ -103,6 +105,17 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
103
105
|
this.verifyType = verifyType;
|
|
104
106
|
return this;
|
|
105
107
|
}
|
|
108
|
+
public getScopeType(): string|null {
|
|
109
|
+
return this.scopeType;
|
|
110
|
+
}
|
|
111
|
+
public setScopeType(scopeType: string|null) {
|
|
112
|
+
this.scopeType = scopeType;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
public withScopeType(scopeType: string|null): this {
|
|
116
|
+
this.scopeType = scopeType;
|
|
117
|
+
return this;
|
|
118
|
+
}
|
|
106
119
|
public getResetType(): string|null {
|
|
107
120
|
return this.resetType;
|
|
108
121
|
}
|
|
@@ -114,6 +127,17 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
114
127
|
this.resetType = resetType;
|
|
115
128
|
return this;
|
|
116
129
|
}
|
|
130
|
+
public getConditionName(): string|null {
|
|
131
|
+
return this.conditionName;
|
|
132
|
+
}
|
|
133
|
+
public setConditionName(conditionName: string|null) {
|
|
134
|
+
this.conditionName = conditionName;
|
|
135
|
+
return this;
|
|
136
|
+
}
|
|
137
|
+
public withConditionName(conditionName: string|null): this {
|
|
138
|
+
this.conditionName = conditionName;
|
|
139
|
+
return this;
|
|
140
|
+
}
|
|
117
141
|
public getValue(): number|null {
|
|
118
142
|
return this.value;
|
|
119
143
|
}
|
|
@@ -168,7 +192,9 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
168
192
|
.withUserId(data["userId"])
|
|
169
193
|
.withCounterName(data["counterName"])
|
|
170
194
|
.withVerifyType(data["verifyType"])
|
|
195
|
+
.withScopeType(data["scopeType"])
|
|
171
196
|
.withResetType(data["resetType"])
|
|
197
|
+
.withConditionName(data["conditionName"])
|
|
172
198
|
.withValue(data["value"])
|
|
173
199
|
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"])
|
|
174
200
|
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
@@ -180,7 +206,9 @@ export default class VerifyCounterValueByUserIdRequest implements IRequest {
|
|
|
180
206
|
"userId": this.getUserId(),
|
|
181
207
|
"counterName": this.getCounterName(),
|
|
182
208
|
"verifyType": this.getVerifyType(),
|
|
209
|
+
"scopeType": this.getScopeType(),
|
|
183
210
|
"resetType": this.getResetType(),
|
|
211
|
+
"conditionName": this.getConditionName(),
|
|
184
212
|
"value": this.getValue(),
|
|
185
213
|
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
186
214
|
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
@@ -6,7 +6,9 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
6
6
|
private accessToken;
|
|
7
7
|
private counterName;
|
|
8
8
|
private verifyType;
|
|
9
|
+
private scopeType;
|
|
9
10
|
private resetType;
|
|
11
|
+
private conditionName;
|
|
10
12
|
private value;
|
|
11
13
|
private multiplyValueSpecifyingQuantity;
|
|
12
14
|
private duplicationAvoider;
|
|
@@ -28,9 +30,15 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
28
30
|
getVerifyType(): string | null;
|
|
29
31
|
setVerifyType(verifyType: string | null): this;
|
|
30
32
|
withVerifyType(verifyType: string | null): this;
|
|
33
|
+
getScopeType(): string | null;
|
|
34
|
+
setScopeType(scopeType: string | null): this;
|
|
35
|
+
withScopeType(scopeType: string | null): this;
|
|
31
36
|
getResetType(): string | null;
|
|
32
37
|
setResetType(resetType: string | null): this;
|
|
33
38
|
withResetType(resetType: string | null): this;
|
|
39
|
+
getConditionName(): string | null;
|
|
40
|
+
setConditionName(conditionName: string | null): this;
|
|
41
|
+
withConditionName(conditionName: string | null): this;
|
|
34
42
|
getValue(): number | null;
|
|
35
43
|
setValue(value: number | null): this;
|
|
36
44
|
withValue(value: number | null): this;
|
|
@@ -23,7 +23,9 @@ var VerifyCounterValueRequest = /** @class */ (function () {
|
|
|
23
23
|
this.accessToken = null;
|
|
24
24
|
this.counterName = null;
|
|
25
25
|
this.verifyType = null;
|
|
26
|
+
this.scopeType = null;
|
|
26
27
|
this.resetType = null;
|
|
28
|
+
this.conditionName = null;
|
|
27
29
|
this.value = null;
|
|
28
30
|
this.multiplyValueSpecifyingQuantity = null;
|
|
29
31
|
this.duplicationAvoider = null;
|
|
@@ -94,6 +96,17 @@ var VerifyCounterValueRequest = /** @class */ (function () {
|
|
|
94
96
|
this.verifyType = verifyType;
|
|
95
97
|
return this;
|
|
96
98
|
};
|
|
99
|
+
VerifyCounterValueRequest.prototype.getScopeType = function () {
|
|
100
|
+
return this.scopeType;
|
|
101
|
+
};
|
|
102
|
+
VerifyCounterValueRequest.prototype.setScopeType = function (scopeType) {
|
|
103
|
+
this.scopeType = scopeType;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
VerifyCounterValueRequest.prototype.withScopeType = function (scopeType) {
|
|
107
|
+
this.scopeType = scopeType;
|
|
108
|
+
return this;
|
|
109
|
+
};
|
|
97
110
|
VerifyCounterValueRequest.prototype.getResetType = function () {
|
|
98
111
|
return this.resetType;
|
|
99
112
|
};
|
|
@@ -105,6 +118,17 @@ var VerifyCounterValueRequest = /** @class */ (function () {
|
|
|
105
118
|
this.resetType = resetType;
|
|
106
119
|
return this;
|
|
107
120
|
};
|
|
121
|
+
VerifyCounterValueRequest.prototype.getConditionName = function () {
|
|
122
|
+
return this.conditionName;
|
|
123
|
+
};
|
|
124
|
+
VerifyCounterValueRequest.prototype.setConditionName = function (conditionName) {
|
|
125
|
+
this.conditionName = conditionName;
|
|
126
|
+
return this;
|
|
127
|
+
};
|
|
128
|
+
VerifyCounterValueRequest.prototype.withConditionName = function (conditionName) {
|
|
129
|
+
this.conditionName = conditionName;
|
|
130
|
+
return this;
|
|
131
|
+
};
|
|
108
132
|
VerifyCounterValueRequest.prototype.getValue = function () {
|
|
109
133
|
return this.value;
|
|
110
134
|
};
|
|
@@ -144,7 +168,9 @@ var VerifyCounterValueRequest = /** @class */ (function () {
|
|
|
144
168
|
.withAccessToken(data["accessToken"])
|
|
145
169
|
.withCounterName(data["counterName"])
|
|
146
170
|
.withVerifyType(data["verifyType"])
|
|
171
|
+
.withScopeType(data["scopeType"])
|
|
147
172
|
.withResetType(data["resetType"])
|
|
173
|
+
.withConditionName(data["conditionName"])
|
|
148
174
|
.withValue(data["value"])
|
|
149
175
|
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"]);
|
|
150
176
|
};
|
|
@@ -154,7 +180,9 @@ var VerifyCounterValueRequest = /** @class */ (function () {
|
|
|
154
180
|
"accessToken": this.getAccessToken(),
|
|
155
181
|
"counterName": this.getCounterName(),
|
|
156
182
|
"verifyType": this.getVerifyType(),
|
|
183
|
+
"scopeType": this.getScopeType(),
|
|
157
184
|
"resetType": this.getResetType(),
|
|
185
|
+
"conditionName": this.getConditionName(),
|
|
158
186
|
"value": this.getValue(),
|
|
159
187
|
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
160
188
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyCounterValueRequest.js","sourceRoot":"","sources":["VerifyCounterValueRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;QAC/B,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GA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WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,iCAAiC,EAAE,IAAI,CAAC,kCAAkC,EAAE;SAC/E,CAAC;IACN,CAAC;IACL,gCAAC;AAAD,CAAC,AAtLD,IAsLC"}
|
|
@@ -26,7 +26,9 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
26
26
|
private accessToken: string|null = null;
|
|
27
27
|
private counterName: string|null = null;
|
|
28
28
|
private verifyType: string|null = null;
|
|
29
|
+
private scopeType: string|null = null;
|
|
29
30
|
private resetType: string|null = null;
|
|
31
|
+
private conditionName: string|null = null;
|
|
30
32
|
private value: number|null = null;
|
|
31
33
|
private multiplyValueSpecifyingQuantity: boolean|null = null;
|
|
32
34
|
private duplicationAvoider: string|null = null;
|
|
@@ -102,6 +104,17 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
102
104
|
this.verifyType = verifyType;
|
|
103
105
|
return this;
|
|
104
106
|
}
|
|
107
|
+
public getScopeType(): string|null {
|
|
108
|
+
return this.scopeType;
|
|
109
|
+
}
|
|
110
|
+
public setScopeType(scopeType: string|null) {
|
|
111
|
+
this.scopeType = scopeType;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
public withScopeType(scopeType: string|null): this {
|
|
115
|
+
this.scopeType = scopeType;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
105
118
|
public getResetType(): string|null {
|
|
106
119
|
return this.resetType;
|
|
107
120
|
}
|
|
@@ -113,6 +126,17 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
113
126
|
this.resetType = resetType;
|
|
114
127
|
return this;
|
|
115
128
|
}
|
|
129
|
+
public getConditionName(): string|null {
|
|
130
|
+
return this.conditionName;
|
|
131
|
+
}
|
|
132
|
+
public setConditionName(conditionName: string|null) {
|
|
133
|
+
this.conditionName = conditionName;
|
|
134
|
+
return this;
|
|
135
|
+
}
|
|
136
|
+
public withConditionName(conditionName: string|null): this {
|
|
137
|
+
this.conditionName = conditionName;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
116
140
|
public getValue(): number|null {
|
|
117
141
|
return this.value;
|
|
118
142
|
}
|
|
@@ -156,7 +180,9 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
156
180
|
.withAccessToken(data["accessToken"])
|
|
157
181
|
.withCounterName(data["counterName"])
|
|
158
182
|
.withVerifyType(data["verifyType"])
|
|
183
|
+
.withScopeType(data["scopeType"])
|
|
159
184
|
.withResetType(data["resetType"])
|
|
185
|
+
.withConditionName(data["conditionName"])
|
|
160
186
|
.withValue(data["value"])
|
|
161
187
|
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"]);
|
|
162
188
|
}
|
|
@@ -167,7 +193,9 @@ export default class VerifyCounterValueRequest implements IRequest {
|
|
|
167
193
|
"accessToken": this.getAccessToken(),
|
|
168
194
|
"counterName": this.getCounterName(),
|
|
169
195
|
"verifyType": this.getVerifyType(),
|
|
196
|
+
"scopeType": this.getScopeType(),
|
|
170
197
|
"resetType": this.getResetType(),
|
|
198
|
+
"conditionName": this.getConditionName(),
|
|
171
199
|
"value": this.getValue(),
|
|
172
200
|
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
173
201
|
};
|
package/mission/rest.js
CHANGED
|
@@ -1328,7 +1328,7 @@ var Gs2MissionRestClient = /** @class */ (function (_super) {
|
|
|
1328
1328
|
});
|
|
1329
1329
|
};
|
|
1330
1330
|
Gs2MissionRestClient.prototype.verifyCounterValue = function (request) {
|
|
1331
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1331
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
1332
1332
|
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/counter/{counterName}/verify/counter/{verifyType}')
|
|
1333
1333
|
.replace('{service}', 'mission')
|
|
1334
1334
|
.replace('{region}', this.session.region)
|
|
@@ -1347,9 +1347,11 @@ var Gs2MissionRestClient = /** @class */ (function (_super) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
var body = {
|
|
1349
1349
|
'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
|
|
1350
|
-
'
|
|
1351
|
-
'
|
|
1352
|
-
'
|
|
1350
|
+
'scopeType': (_k = request.getScopeType()) !== null && _k !== void 0 ? _k : null,
|
|
1351
|
+
'resetType': (_l = request.getResetType()) !== null && _l !== void 0 ? _l : null,
|
|
1352
|
+
'conditionName': (_m = request.getConditionName()) !== null && _m !== void 0 ? _m : null,
|
|
1353
|
+
'value': (_o = request.getValue()) !== null && _o !== void 0 ? _o : null,
|
|
1354
|
+
'multiplyValueSpecifyingQuantity': (_p = request.getMultiplyValueSpecifyingQuantity()) !== null && _p !== void 0 ? _p : null,
|
|
1353
1355
|
};
|
|
1354
1356
|
return axios_1.default.post(url, body, {
|
|
1355
1357
|
headers: headers,
|
|
@@ -1365,7 +1367,7 @@ var Gs2MissionRestClient = /** @class */ (function (_super) {
|
|
|
1365
1367
|
});
|
|
1366
1368
|
};
|
|
1367
1369
|
Gs2MissionRestClient.prototype.verifyCounterValueByUserId = function (request) {
|
|
1368
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
1370
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
1369
1371
|
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/counter/{counterName}/verify/counter/{verifyType}')
|
|
1370
1372
|
.replace('{service}', 'mission')
|
|
1371
1373
|
.replace('{region}', this.session.region)
|
|
@@ -1385,9 +1387,11 @@ var Gs2MissionRestClient = /** @class */ (function (_super) {
|
|
|
1385
1387
|
}
|
|
1386
1388
|
var body = {
|
|
1387
1389
|
'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
|
|
1388
|
-
'
|
|
1389
|
-
'
|
|
1390
|
-
'
|
|
1390
|
+
'scopeType': (_m = request.getScopeType()) !== null && _m !== void 0 ? _m : null,
|
|
1391
|
+
'resetType': (_o = request.getResetType()) !== null && _o !== void 0 ? _o : null,
|
|
1392
|
+
'conditionName': (_p = request.getConditionName()) !== null && _p !== void 0 ? _p : null,
|
|
1393
|
+
'value': (_q = request.getValue()) !== null && _q !== void 0 ? _q : null,
|
|
1394
|
+
'multiplyValueSpecifyingQuantity': (_r = request.getMultiplyValueSpecifyingQuantity()) !== null && _r !== void 0 ? _r : null,
|
|
1391
1395
|
};
|
|
1392
1396
|
return axios_1.default.post(url, body, {
|
|
1393
1397
|
headers: headers,
|