gs2 1.3.243 → 1.3.245
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/mission/model/ConsumeAction.d.ts +17 -0
- package/mission/model/ConsumeAction.js +62 -0
- package/mission/model/ConsumeAction.js.map +1 -0
- package/mission/model/ConsumeAction.ts +60 -0
- package/mission/model/MissionGroupModel.js.map +1 -1
- package/mission/model/MissionGroupModel.ts +2 -0
- package/mission/model/MissionTaskModel.d.ts +35 -12
- package/mission/model/MissionTaskModel.js +88 -28
- package/mission/model/MissionTaskModel.js.map +1 -1
- package/mission/model/MissionTaskModel.ts +89 -28
- package/mission/model/MissionTaskModelMaster.d.ts +35 -12
- package/mission/model/MissionTaskModelMaster.js +88 -28
- package/mission/model/MissionTaskModelMaster.js.map +1 -1
- package/mission/model/MissionTaskModelMaster.ts +89 -28
- package/mission/model/TargetCounterModel.d.ts +21 -0
- package/mission/model/TargetCounterModel.js +76 -0
- package/mission/model/TargetCounterModel.js.map +1 -0
- package/mission/model/TargetCounterModel.ts +74 -0
- package/mission/model/index.d.ts +4 -2
- package/mission/model/index.js +7 -3
- package/mission/model/index.js.map +1 -1
- package/mission/model/index.ts +6 -2
- package/mission/request/CreateMissionTaskModelMasterRequest.d.ts +33 -12
- package/mission/request/CreateMissionTaskModelMasterRequest.js +86 -28
- package/mission/request/CreateMissionTaskModelMasterRequest.js.map +1 -1
- package/mission/request/CreateMissionTaskModelMasterRequest.ts +87 -28
- package/mission/request/UpdateMissionTaskModelMasterRequest.d.ts +33 -12
- package/mission/request/UpdateMissionTaskModelMasterRequest.js +86 -28
- package/mission/request/UpdateMissionTaskModelMasterRequest.js.map +1 -1
- package/mission/request/UpdateMissionTaskModelMasterRequest.ts +87 -28
- package/mission/request/VerifyCounterValueByStampTaskRequest.d.ts +25 -0
- package/mission/request/VerifyCounterValueByStampTaskRequest.js +83 -0
- package/mission/request/VerifyCounterValueByStampTaskRequest.js.map +1 -0
- package/mission/request/VerifyCounterValueByStampTaskRequest.ts +90 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.d.ts +53 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.js +179 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.js.map +1 -0
- package/mission/request/VerifyCounterValueByUserIdRequest.ts +189 -0
- package/mission/request/VerifyCounterValueRequest.d.ts +49 -0
- package/mission/request/VerifyCounterValueRequest.js +165 -0
- package/mission/request/VerifyCounterValueRequest.js.map +1 -0
- package/mission/request/VerifyCounterValueRequest.ts +175 -0
- package/mission/request/index.d.ts +4 -1
- package/mission/request/index.js +8 -2
- package/mission/request/index.js.map +1 -1
- package/mission/request/index.ts +6 -0
- package/mission/rest.d.ts +3 -0
- package/mission/rest.js +122 -14
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +126 -6
- package/mission/result/VerifyCounterValueByStampTaskResult.d.ts +13 -0
- package/mission/result/VerifyCounterValueByStampTaskResult.js +45 -0
- package/mission/result/VerifyCounterValueByStampTaskResult.js.map +1 -0
- package/mission/result/VerifyCounterValueByStampTaskResult.ts +46 -0
- package/mission/result/VerifyCounterValueByUserIdResult.d.ts +9 -0
- package/mission/result/VerifyCounterValueByUserIdResult.js +30 -0
- package/mission/result/VerifyCounterValueByUserIdResult.js.map +1 -0
- package/mission/result/VerifyCounterValueByUserIdResult.ts +29 -0
- package/mission/result/VerifyCounterValueResult.d.ts +9 -0
- package/mission/result/VerifyCounterValueResult.js +30 -0
- package/mission/result/VerifyCounterValueResult.js.map +1 -0
- package/mission/result/VerifyCounterValueResult.ts +29 -0
- package/mission/result/index.d.ts +4 -1
- package/mission/result/index.js +8 -2
- package/mission/result/index.js.map +1 -1
- package/mission/result/index.ts +6 -0
- package/package.json +1 -1
- package/ranking/model/CategoryModel.d.ts +38 -12
- package/ranking/model/CategoryModel.js +79 -42
- package/ranking/model/CategoryModel.js.map +1 -1
- package/ranking/model/CategoryModel.ts +79 -42
- package/ranking/model/CategoryModelMaster.d.ts +38 -12
- package/ranking/model/CategoryModelMaster.js +79 -42
- package/ranking/model/CategoryModelMaster.js.map +1 -1
- package/ranking/model/CategoryModelMaster.ts +79 -42
- package/ranking/model/FixedTiming.d.ts +17 -0
- package/ranking/model/FixedTiming.js +62 -0
- package/ranking/model/FixedTiming.js.map +1 -0
- package/ranking/model/FixedTiming.ts +60 -0
- package/ranking/model/GlobalRankingSetting.d.ts +35 -0
- package/ranking/model/GlobalRankingSetting.js +134 -0
- package/ranking/model/GlobalRankingSetting.js.map +1 -0
- package/ranking/model/GlobalRankingSetting.ts +134 -0
- package/ranking/model/index.d.ts +4 -2
- package/ranking/model/index.js +7 -3
- package/ranking/model/index.js.map +1 -1
- package/ranking/model/index.ts +6 -2
- package/ranking/request/CreateCategoryModelMasterRequest.d.ts +33 -8
- package/ranking/request/CreateCategoryModelMasterRequest.js +64 -28
- package/ranking/request/CreateCategoryModelMasterRequest.js.map +1 -1
- package/ranking/request/CreateCategoryModelMasterRequest.ts +63 -28
- package/ranking/request/UpdateCategoryModelMasterRequest.d.ts +33 -8
- package/ranking/request/UpdateCategoryModelMasterRequest.js +64 -28
- package/ranking/request/UpdateCategoryModelMasterRequest.js.map +1 -1
- package/ranking/request/UpdateCategoryModelMasterRequest.ts +63 -28
- package/ranking/rest.js +24 -22
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +6 -4
|
@@ -26,12 +26,15 @@ var CreateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
26
26
|
this.name = null;
|
|
27
27
|
this.metadata = null;
|
|
28
28
|
this.description = null;
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
29
|
+
this.verifyCompleteType = null;
|
|
30
|
+
this.targetCounter = null;
|
|
31
|
+
this.verifyCompleteConsumeActions = null;
|
|
32
32
|
this.completeAcquireActions = null;
|
|
33
33
|
this.challengePeriodEventId = null;
|
|
34
34
|
this.premiseMissionTaskName = null;
|
|
35
|
+
this.counterName = null;
|
|
36
|
+
this.targetResetType = null;
|
|
37
|
+
this.targetValue = null;
|
|
35
38
|
}
|
|
36
39
|
CreateMissionTaskModelMasterRequest.prototype.getRequestId = function () {
|
|
37
40
|
return this.requestId;
|
|
@@ -110,37 +113,37 @@ var CreateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
110
113
|
this.description = description;
|
|
111
114
|
return this;
|
|
112
115
|
};
|
|
113
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
114
|
-
return this.
|
|
116
|
+
CreateMissionTaskModelMasterRequest.prototype.getVerifyCompleteType = function () {
|
|
117
|
+
return this.verifyCompleteType;
|
|
115
118
|
};
|
|
116
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
117
|
-
this.
|
|
119
|
+
CreateMissionTaskModelMasterRequest.prototype.setVerifyCompleteType = function (verifyCompleteType) {
|
|
120
|
+
this.verifyCompleteType = verifyCompleteType;
|
|
118
121
|
return this;
|
|
119
122
|
};
|
|
120
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
121
|
-
this.
|
|
123
|
+
CreateMissionTaskModelMasterRequest.prototype.withVerifyCompleteType = function (verifyCompleteType) {
|
|
124
|
+
this.verifyCompleteType = verifyCompleteType;
|
|
122
125
|
return this;
|
|
123
126
|
};
|
|
124
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
125
|
-
return this.
|
|
127
|
+
CreateMissionTaskModelMasterRequest.prototype.getTargetCounter = function () {
|
|
128
|
+
return this.targetCounter;
|
|
126
129
|
};
|
|
127
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
128
|
-
this.
|
|
130
|
+
CreateMissionTaskModelMasterRequest.prototype.setTargetCounter = function (targetCounter) {
|
|
131
|
+
this.targetCounter = targetCounter;
|
|
129
132
|
return this;
|
|
130
133
|
};
|
|
131
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
132
|
-
this.
|
|
134
|
+
CreateMissionTaskModelMasterRequest.prototype.withTargetCounter = function (targetCounter) {
|
|
135
|
+
this.targetCounter = targetCounter;
|
|
133
136
|
return this;
|
|
134
137
|
};
|
|
135
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
136
|
-
return this.
|
|
138
|
+
CreateMissionTaskModelMasterRequest.prototype.getVerifyCompleteConsumeActions = function () {
|
|
139
|
+
return this.verifyCompleteConsumeActions;
|
|
137
140
|
};
|
|
138
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
139
|
-
this.
|
|
141
|
+
CreateMissionTaskModelMasterRequest.prototype.setVerifyCompleteConsumeActions = function (verifyCompleteConsumeActions) {
|
|
142
|
+
this.verifyCompleteConsumeActions = verifyCompleteConsumeActions;
|
|
140
143
|
return this;
|
|
141
144
|
};
|
|
142
|
-
CreateMissionTaskModelMasterRequest.prototype.
|
|
143
|
-
this.
|
|
145
|
+
CreateMissionTaskModelMasterRequest.prototype.withVerifyCompleteConsumeActions = function (verifyCompleteConsumeActions) {
|
|
146
|
+
this.verifyCompleteConsumeActions = verifyCompleteConsumeActions;
|
|
144
147
|
return this;
|
|
145
148
|
};
|
|
146
149
|
CreateMissionTaskModelMasterRequest.prototype.getCompleteAcquireActions = function () {
|
|
@@ -176,6 +179,48 @@ var CreateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
176
179
|
this.premiseMissionTaskName = premiseMissionTaskName;
|
|
177
180
|
return this;
|
|
178
181
|
};
|
|
182
|
+
/** @deprecated */
|
|
183
|
+
CreateMissionTaskModelMasterRequest.prototype.getCounterName = function () {
|
|
184
|
+
return this.counterName;
|
|
185
|
+
};
|
|
186
|
+
/** @deprecated */
|
|
187
|
+
CreateMissionTaskModelMasterRequest.prototype.setCounterName = function (counterName) {
|
|
188
|
+
this.counterName = counterName;
|
|
189
|
+
return this;
|
|
190
|
+
};
|
|
191
|
+
/** @deprecated */
|
|
192
|
+
CreateMissionTaskModelMasterRequest.prototype.withCounterName = function (counterName) {
|
|
193
|
+
this.counterName = counterName;
|
|
194
|
+
return this;
|
|
195
|
+
};
|
|
196
|
+
/** @deprecated */
|
|
197
|
+
CreateMissionTaskModelMasterRequest.prototype.getTargetResetType = function () {
|
|
198
|
+
return this.targetResetType;
|
|
199
|
+
};
|
|
200
|
+
/** @deprecated */
|
|
201
|
+
CreateMissionTaskModelMasterRequest.prototype.setTargetResetType = function (targetResetType) {
|
|
202
|
+
this.targetResetType = targetResetType;
|
|
203
|
+
return this;
|
|
204
|
+
};
|
|
205
|
+
/** @deprecated */
|
|
206
|
+
CreateMissionTaskModelMasterRequest.prototype.withTargetResetType = function (targetResetType) {
|
|
207
|
+
this.targetResetType = targetResetType;
|
|
208
|
+
return this;
|
|
209
|
+
};
|
|
210
|
+
/** @deprecated */
|
|
211
|
+
CreateMissionTaskModelMasterRequest.prototype.getTargetValue = function () {
|
|
212
|
+
return this.targetValue;
|
|
213
|
+
};
|
|
214
|
+
/** @deprecated */
|
|
215
|
+
CreateMissionTaskModelMasterRequest.prototype.setTargetValue = function (targetValue) {
|
|
216
|
+
this.targetValue = targetValue;
|
|
217
|
+
return this;
|
|
218
|
+
};
|
|
219
|
+
/** @deprecated */
|
|
220
|
+
CreateMissionTaskModelMasterRequest.prototype.withTargetValue = function (targetValue) {
|
|
221
|
+
this.targetValue = targetValue;
|
|
222
|
+
return this;
|
|
223
|
+
};
|
|
179
224
|
CreateMissionTaskModelMasterRequest.fromDict = function (data) {
|
|
180
225
|
return new CreateMissionTaskModelMasterRequest()
|
|
181
226
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -183,32 +228,45 @@ var CreateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
183
228
|
.withName(data["name"])
|
|
184
229
|
.withMetadata(data["metadata"])
|
|
185
230
|
.withDescription(data["description"])
|
|
186
|
-
.
|
|
187
|
-
.
|
|
188
|
-
.
|
|
231
|
+
.withVerifyCompleteType(data["verifyCompleteType"])
|
|
232
|
+
.withTargetCounter(Gs2Mission.TargetCounterModel.fromDict(data["targetCounter"]))
|
|
233
|
+
.withVerifyCompleteConsumeActions(data.verifyCompleteConsumeActions ?
|
|
234
|
+
data.verifyCompleteConsumeActions.map(function (item) {
|
|
235
|
+
return Gs2Mission.ConsumeAction.fromDict(item);
|
|
236
|
+
}) : [])
|
|
189
237
|
.withCompleteAcquireActions(data.completeAcquireActions ?
|
|
190
238
|
data.completeAcquireActions.map(function (item) {
|
|
191
239
|
return Gs2Mission.AcquireAction.fromDict(item);
|
|
192
240
|
}) : [])
|
|
193
241
|
.withChallengePeriodEventId(data["challengePeriodEventId"])
|
|
194
|
-
.withPremiseMissionTaskName(data["premiseMissionTaskName"])
|
|
242
|
+
.withPremiseMissionTaskName(data["premiseMissionTaskName"])
|
|
243
|
+
.withCounterName(data["counterName"])
|
|
244
|
+
.withTargetResetType(data["targetResetType"])
|
|
245
|
+
.withTargetValue(data["targetValue"]);
|
|
195
246
|
};
|
|
196
247
|
CreateMissionTaskModelMasterRequest.prototype.toDict = function () {
|
|
248
|
+
var _a;
|
|
197
249
|
return {
|
|
198
250
|
"namespaceName": this.getNamespaceName(),
|
|
199
251
|
"missionGroupName": this.getMissionGroupName(),
|
|
200
252
|
"name": this.getName(),
|
|
201
253
|
"metadata": this.getMetadata(),
|
|
202
254
|
"description": this.getDescription(),
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
255
|
+
"verifyCompleteType": this.getVerifyCompleteType(),
|
|
256
|
+
"targetCounter": (_a = this.getTargetCounter()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
257
|
+
"verifyCompleteConsumeActions": this.getVerifyCompleteConsumeActions() ?
|
|
258
|
+
this.getVerifyCompleteConsumeActions().map(function (item) {
|
|
259
|
+
return item.toDict();
|
|
260
|
+
}) : [],
|
|
206
261
|
"completeAcquireActions": this.getCompleteAcquireActions() ?
|
|
207
262
|
this.getCompleteAcquireActions().map(function (item) {
|
|
208
263
|
return item.toDict();
|
|
209
264
|
}) : [],
|
|
210
265
|
"challengePeriodEventId": this.getChallengePeriodEventId(),
|
|
211
266
|
"premiseMissionTaskName": this.getPremiseMissionTaskName(),
|
|
267
|
+
"counterName": this.getCounterName(),
|
|
268
|
+
"targetResetType": this.getTargetResetType(),
|
|
269
|
+
"targetValue": this.getTargetValue(),
|
|
212
270
|
};
|
|
213
271
|
};
|
|
214
272
|
return CreateMissionTaskModelMasterRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMissionTaskModelMasterRequest.js","sourceRoot":"","sources":["CreateMissionTaskModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,qBAAgB,GAAgB,IAAI,CAAC;QACrC,SAAI,GAAgB,IAAI,CAAC;QACzB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAgB,IAAI,CAAC;QAChC,
|
|
1
|
+
{"version":3,"file":"CreateMissionTaskModelMasterRequest.js","sourceRoot":"","sources":["CreateMissionTaskModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,qBAAgB,GAAgB,IAAI,CAAC;QACrC,SAAI,GAAgB,IAAI,CAAC;QACzB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAAgB,IAAI,CAAC;QACvC,kBAAa,GAAuC,IAAI,CAAC;QACzD,iCAA4B,GAAoC,IAAI,CAAC;QACrE,2BAAsB,GAAoC,IAAI,CAAC;QAC/D,2BAAsB,GAAgB,IAAI,CAAC;QAC3C,2BAAsB,GAAgB,IAAI,CAAC;QAC3C,gBAAW,GAAgB,IAAI,CAAC;QAChC,oBAAe,GA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AAC,CAAC;IAC9C,CAAC;IAEM,oDAAM,GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE;YAC9C,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;YAClD,eAAe,EAAE,MAAA,IAAI,CAAC,gBAAgB,EAAE,0CAAE,MAAM,EAAE;YAClD,8BAA8B,EAAE,IAAI,CAAC,+BAA+B,EAAE,CAAC,CAAC;gBACpE,IAAI,CAAC,+BAA+B,EAAG,CAAC,GAAG,CAAC,UAAC,IAA8B;oBACvE,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,wBAAwB,EAAE,IAAI,CAAC,yBAAyB,EAAE,CAAC,CAAC;gBACxD,IAAI,CAAC,yBAAyB,EAAG,CAAC,GAAG,CAAC,UAAC,IAA8B;oBACjE,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,wBAAwB,EAAE,IAAI,CAAC,yBAAyB,EAAE;YAC1D,wBAAwB,EAAE,IAAI,CAAC,yBAAyB,EAAE;YAC1D,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,0CAAC;AAAD,CAAC,AAtQD,IAsQC"}
|
|
@@ -27,12 +27,15 @@ export default class CreateMissionTaskModelMasterRequest implements IRequest {
|
|
|
27
27
|
private name: string|null = null;
|
|
28
28
|
private metadata: string|null = null;
|
|
29
29
|
private description: string|null = null;
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
-
private
|
|
30
|
+
private verifyCompleteType: string|null = null;
|
|
31
|
+
private targetCounter: Gs2Mission.TargetCounterModel|null = null;
|
|
32
|
+
private verifyCompleteConsumeActions: Gs2Mission.ConsumeAction[]|null = null;
|
|
33
33
|
private completeAcquireActions: Gs2Mission.AcquireAction[]|null = null;
|
|
34
34
|
private challengePeriodEventId: string|null = null;
|
|
35
35
|
private premiseMissionTaskName: string|null = null;
|
|
36
|
+
private counterName: string|null = null;
|
|
37
|
+
private targetResetType: string|null = null;
|
|
38
|
+
private targetValue: number|null = null;
|
|
36
39
|
|
|
37
40
|
public getRequestId(): string|null {
|
|
38
41
|
return this.requestId;
|
|
@@ -116,37 +119,37 @@ export default class CreateMissionTaskModelMasterRequest implements IRequest {
|
|
|
116
119
|
this.description = description;
|
|
117
120
|
return this;
|
|
118
121
|
}
|
|
119
|
-
public
|
|
120
|
-
return this.
|
|
122
|
+
public getVerifyCompleteType(): string|null {
|
|
123
|
+
return this.verifyCompleteType;
|
|
121
124
|
}
|
|
122
|
-
public
|
|
123
|
-
this.
|
|
125
|
+
public setVerifyCompleteType(verifyCompleteType: string|null) {
|
|
126
|
+
this.verifyCompleteType = verifyCompleteType;
|
|
124
127
|
return this;
|
|
125
128
|
}
|
|
126
|
-
public
|
|
127
|
-
this.
|
|
129
|
+
public withVerifyCompleteType(verifyCompleteType: string|null): this {
|
|
130
|
+
this.verifyCompleteType = verifyCompleteType;
|
|
128
131
|
return this;
|
|
129
132
|
}
|
|
130
|
-
public
|
|
131
|
-
return this.
|
|
133
|
+
public getTargetCounter(): Gs2Mission.TargetCounterModel|null {
|
|
134
|
+
return this.targetCounter;
|
|
132
135
|
}
|
|
133
|
-
public
|
|
134
|
-
this.
|
|
136
|
+
public setTargetCounter(targetCounter: Gs2Mission.TargetCounterModel|null) {
|
|
137
|
+
this.targetCounter = targetCounter;
|
|
135
138
|
return this;
|
|
136
139
|
}
|
|
137
|
-
public
|
|
138
|
-
this.
|
|
140
|
+
public withTargetCounter(targetCounter: Gs2Mission.TargetCounterModel|null): this {
|
|
141
|
+
this.targetCounter = targetCounter;
|
|
139
142
|
return this;
|
|
140
143
|
}
|
|
141
|
-
public
|
|
142
|
-
return this.
|
|
144
|
+
public getVerifyCompleteConsumeActions(): Gs2Mission.ConsumeAction[]|null {
|
|
145
|
+
return this.verifyCompleteConsumeActions;
|
|
143
146
|
}
|
|
144
|
-
public
|
|
145
|
-
this.
|
|
147
|
+
public setVerifyCompleteConsumeActions(verifyCompleteConsumeActions: Gs2Mission.ConsumeAction[]|null) {
|
|
148
|
+
this.verifyCompleteConsumeActions = verifyCompleteConsumeActions;
|
|
146
149
|
return this;
|
|
147
150
|
}
|
|
148
|
-
public
|
|
149
|
-
this.
|
|
151
|
+
public withVerifyCompleteConsumeActions(verifyCompleteConsumeActions: Gs2Mission.ConsumeAction[]|null): this {
|
|
152
|
+
this.verifyCompleteConsumeActions = verifyCompleteConsumeActions;
|
|
150
153
|
return this;
|
|
151
154
|
}
|
|
152
155
|
public getCompleteAcquireActions(): Gs2Mission.AcquireAction[]|null {
|
|
@@ -182,6 +185,48 @@ export default class CreateMissionTaskModelMasterRequest implements IRequest {
|
|
|
182
185
|
this.premiseMissionTaskName = premiseMissionTaskName;
|
|
183
186
|
return this;
|
|
184
187
|
}
|
|
188
|
+
/** @deprecated */
|
|
189
|
+
public getCounterName(): string|null {
|
|
190
|
+
return this.counterName;
|
|
191
|
+
}
|
|
192
|
+
/** @deprecated */
|
|
193
|
+
public setCounterName(counterName: string|null) {
|
|
194
|
+
this.counterName = counterName;
|
|
195
|
+
return this;
|
|
196
|
+
}
|
|
197
|
+
/** @deprecated */
|
|
198
|
+
public withCounterName(counterName: string|null): this {
|
|
199
|
+
this.counterName = counterName;
|
|
200
|
+
return this;
|
|
201
|
+
}
|
|
202
|
+
/** @deprecated */
|
|
203
|
+
public getTargetResetType(): string|null {
|
|
204
|
+
return this.targetResetType;
|
|
205
|
+
}
|
|
206
|
+
/** @deprecated */
|
|
207
|
+
public setTargetResetType(targetResetType: string|null) {
|
|
208
|
+
this.targetResetType = targetResetType;
|
|
209
|
+
return this;
|
|
210
|
+
}
|
|
211
|
+
/** @deprecated */
|
|
212
|
+
public withTargetResetType(targetResetType: string|null): this {
|
|
213
|
+
this.targetResetType = targetResetType;
|
|
214
|
+
return this;
|
|
215
|
+
}
|
|
216
|
+
/** @deprecated */
|
|
217
|
+
public getTargetValue(): number|null {
|
|
218
|
+
return this.targetValue;
|
|
219
|
+
}
|
|
220
|
+
/** @deprecated */
|
|
221
|
+
public setTargetValue(targetValue: number|null) {
|
|
222
|
+
this.targetValue = targetValue;
|
|
223
|
+
return this;
|
|
224
|
+
}
|
|
225
|
+
/** @deprecated */
|
|
226
|
+
public withTargetValue(targetValue: number|null): this {
|
|
227
|
+
this.targetValue = targetValue;
|
|
228
|
+
return this;
|
|
229
|
+
}
|
|
185
230
|
|
|
186
231
|
public static fromDict(data: {[key: string]: any}): CreateMissionTaskModelMasterRequest {
|
|
187
232
|
return new CreateMissionTaskModelMasterRequest()
|
|
@@ -190,16 +235,23 @@ export default class CreateMissionTaskModelMasterRequest implements IRequest {
|
|
|
190
235
|
.withName(data["name"])
|
|
191
236
|
.withMetadata(data["metadata"])
|
|
192
237
|
.withDescription(data["description"])
|
|
193
|
-
.
|
|
194
|
-
.
|
|
195
|
-
.
|
|
238
|
+
.withVerifyCompleteType(data["verifyCompleteType"])
|
|
239
|
+
.withTargetCounter(Gs2Mission.TargetCounterModel.fromDict(data["targetCounter"]))
|
|
240
|
+
.withVerifyCompleteConsumeActions(data.verifyCompleteConsumeActions ?
|
|
241
|
+
data.verifyCompleteConsumeActions.map((item: {[key: string]: any}) => {
|
|
242
|
+
return Gs2Mission.ConsumeAction.fromDict(item);
|
|
243
|
+
}
|
|
244
|
+
) : [])
|
|
196
245
|
.withCompleteAcquireActions(data.completeAcquireActions ?
|
|
197
246
|
data.completeAcquireActions.map((item: {[key: string]: any}) => {
|
|
198
247
|
return Gs2Mission.AcquireAction.fromDict(item);
|
|
199
248
|
}
|
|
200
249
|
) : [])
|
|
201
250
|
.withChallengePeriodEventId(data["challengePeriodEventId"])
|
|
202
|
-
.withPremiseMissionTaskName(data["premiseMissionTaskName"])
|
|
251
|
+
.withPremiseMissionTaskName(data["premiseMissionTaskName"])
|
|
252
|
+
.withCounterName(data["counterName"])
|
|
253
|
+
.withTargetResetType(data["targetResetType"])
|
|
254
|
+
.withTargetValue(data["targetValue"]);
|
|
203
255
|
}
|
|
204
256
|
|
|
205
257
|
public toDict(): {[key: string]: any} {
|
|
@@ -209,9 +261,13 @@ export default class CreateMissionTaskModelMasterRequest implements IRequest {
|
|
|
209
261
|
"name": this.getName(),
|
|
210
262
|
"metadata": this.getMetadata(),
|
|
211
263
|
"description": this.getDescription(),
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"
|
|
264
|
+
"verifyCompleteType": this.getVerifyCompleteType(),
|
|
265
|
+
"targetCounter": this.getTargetCounter()?.toDict(),
|
|
266
|
+
"verifyCompleteConsumeActions": this.getVerifyCompleteConsumeActions() ?
|
|
267
|
+
this.getVerifyCompleteConsumeActions()!.map((item: Gs2Mission.ConsumeAction) => {
|
|
268
|
+
return item.toDict();
|
|
269
|
+
}
|
|
270
|
+
) : [],
|
|
215
271
|
"completeAcquireActions": this.getCompleteAcquireActions() ?
|
|
216
272
|
this.getCompleteAcquireActions()!.map((item: Gs2Mission.AcquireAction) => {
|
|
217
273
|
return item.toDict();
|
|
@@ -219,6 +275,9 @@ export default class CreateMissionTaskModelMasterRequest implements IRequest {
|
|
|
219
275
|
) : [],
|
|
220
276
|
"challengePeriodEventId": this.getChallengePeriodEventId(),
|
|
221
277
|
"premiseMissionTaskName": this.getPremiseMissionTaskName(),
|
|
278
|
+
"counterName": this.getCounterName(),
|
|
279
|
+
"targetResetType": this.getTargetResetType(),
|
|
280
|
+
"targetValue": this.getTargetValue(),
|
|
222
281
|
};
|
|
223
282
|
}
|
|
224
283
|
}
|
|
@@ -8,12 +8,15 @@ export default class UpdateMissionTaskModelMasterRequest implements IRequest {
|
|
|
8
8
|
private missionTaskName;
|
|
9
9
|
private metadata;
|
|
10
10
|
private description;
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
11
|
+
private verifyCompleteType;
|
|
12
|
+
private targetCounter;
|
|
13
|
+
private verifyCompleteConsumeActions;
|
|
14
14
|
private completeAcquireActions;
|
|
15
15
|
private challengePeriodEventId;
|
|
16
16
|
private premiseMissionTaskName;
|
|
17
|
+
private counterName;
|
|
18
|
+
private targetResetType;
|
|
19
|
+
private targetValue;
|
|
17
20
|
getRequestId(): string | null;
|
|
18
21
|
setRequestId(requestId: string | null): this;
|
|
19
22
|
withRequestId(requestId: string | null): this;
|
|
@@ -35,15 +38,15 @@ export default class UpdateMissionTaskModelMasterRequest implements IRequest {
|
|
|
35
38
|
getDescription(): string | null;
|
|
36
39
|
setDescription(description: string | null): this;
|
|
37
40
|
withDescription(description: string | null): this;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
getVerifyCompleteType(): string | null;
|
|
42
|
+
setVerifyCompleteType(verifyCompleteType: string | null): this;
|
|
43
|
+
withVerifyCompleteType(verifyCompleteType: string | null): this;
|
|
44
|
+
getTargetCounter(): Gs2Mission.TargetCounterModel | null;
|
|
45
|
+
setTargetCounter(targetCounter: Gs2Mission.TargetCounterModel | null): this;
|
|
46
|
+
withTargetCounter(targetCounter: Gs2Mission.TargetCounterModel | null): this;
|
|
47
|
+
getVerifyCompleteConsumeActions(): Gs2Mission.ConsumeAction[] | null;
|
|
48
|
+
setVerifyCompleteConsumeActions(verifyCompleteConsumeActions: Gs2Mission.ConsumeAction[] | null): this;
|
|
49
|
+
withVerifyCompleteConsumeActions(verifyCompleteConsumeActions: Gs2Mission.ConsumeAction[] | null): this;
|
|
47
50
|
getCompleteAcquireActions(): Gs2Mission.AcquireAction[] | null;
|
|
48
51
|
setCompleteAcquireActions(completeAcquireActions: Gs2Mission.AcquireAction[] | null): this;
|
|
49
52
|
withCompleteAcquireActions(completeAcquireActions: Gs2Mission.AcquireAction[] | null): this;
|
|
@@ -53,6 +56,24 @@ export default class UpdateMissionTaskModelMasterRequest implements IRequest {
|
|
|
53
56
|
getPremiseMissionTaskName(): string | null;
|
|
54
57
|
setPremiseMissionTaskName(premiseMissionTaskName: string | null): this;
|
|
55
58
|
withPremiseMissionTaskName(premiseMissionTaskName: string | null): this;
|
|
59
|
+
/** @deprecated */
|
|
60
|
+
getCounterName(): string | null;
|
|
61
|
+
/** @deprecated */
|
|
62
|
+
setCounterName(counterName: string | null): this;
|
|
63
|
+
/** @deprecated */
|
|
64
|
+
withCounterName(counterName: string | null): this;
|
|
65
|
+
/** @deprecated */
|
|
66
|
+
getTargetResetType(): string | null;
|
|
67
|
+
/** @deprecated */
|
|
68
|
+
setTargetResetType(targetResetType: string | null): this;
|
|
69
|
+
/** @deprecated */
|
|
70
|
+
withTargetResetType(targetResetType: string | null): this;
|
|
71
|
+
/** @deprecated */
|
|
72
|
+
getTargetValue(): number | null;
|
|
73
|
+
/** @deprecated */
|
|
74
|
+
setTargetValue(targetValue: number | null): this;
|
|
75
|
+
/** @deprecated */
|
|
76
|
+
withTargetValue(targetValue: number | null): this;
|
|
56
77
|
static fromDict(data: {
|
|
57
78
|
[key: string]: any;
|
|
58
79
|
}): UpdateMissionTaskModelMasterRequest;
|
|
@@ -26,12 +26,15 @@ var UpdateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
26
26
|
this.missionTaskName = null;
|
|
27
27
|
this.metadata = null;
|
|
28
28
|
this.description = null;
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
29
|
+
this.verifyCompleteType = null;
|
|
30
|
+
this.targetCounter = null;
|
|
31
|
+
this.verifyCompleteConsumeActions = null;
|
|
32
32
|
this.completeAcquireActions = null;
|
|
33
33
|
this.challengePeriodEventId = null;
|
|
34
34
|
this.premiseMissionTaskName = null;
|
|
35
|
+
this.counterName = null;
|
|
36
|
+
this.targetResetType = null;
|
|
37
|
+
this.targetValue = null;
|
|
35
38
|
}
|
|
36
39
|
UpdateMissionTaskModelMasterRequest.prototype.getRequestId = function () {
|
|
37
40
|
return this.requestId;
|
|
@@ -110,37 +113,37 @@ var UpdateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
110
113
|
this.description = description;
|
|
111
114
|
return this;
|
|
112
115
|
};
|
|
113
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
114
|
-
return this.
|
|
116
|
+
UpdateMissionTaskModelMasterRequest.prototype.getVerifyCompleteType = function () {
|
|
117
|
+
return this.verifyCompleteType;
|
|
115
118
|
};
|
|
116
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
117
|
-
this.
|
|
119
|
+
UpdateMissionTaskModelMasterRequest.prototype.setVerifyCompleteType = function (verifyCompleteType) {
|
|
120
|
+
this.verifyCompleteType = verifyCompleteType;
|
|
118
121
|
return this;
|
|
119
122
|
};
|
|
120
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
121
|
-
this.
|
|
123
|
+
UpdateMissionTaskModelMasterRequest.prototype.withVerifyCompleteType = function (verifyCompleteType) {
|
|
124
|
+
this.verifyCompleteType = verifyCompleteType;
|
|
122
125
|
return this;
|
|
123
126
|
};
|
|
124
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
125
|
-
return this.
|
|
127
|
+
UpdateMissionTaskModelMasterRequest.prototype.getTargetCounter = function () {
|
|
128
|
+
return this.targetCounter;
|
|
126
129
|
};
|
|
127
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
128
|
-
this.
|
|
130
|
+
UpdateMissionTaskModelMasterRequest.prototype.setTargetCounter = function (targetCounter) {
|
|
131
|
+
this.targetCounter = targetCounter;
|
|
129
132
|
return this;
|
|
130
133
|
};
|
|
131
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
132
|
-
this.
|
|
134
|
+
UpdateMissionTaskModelMasterRequest.prototype.withTargetCounter = function (targetCounter) {
|
|
135
|
+
this.targetCounter = targetCounter;
|
|
133
136
|
return this;
|
|
134
137
|
};
|
|
135
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
136
|
-
return this.
|
|
138
|
+
UpdateMissionTaskModelMasterRequest.prototype.getVerifyCompleteConsumeActions = function () {
|
|
139
|
+
return this.verifyCompleteConsumeActions;
|
|
137
140
|
};
|
|
138
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
139
|
-
this.
|
|
141
|
+
UpdateMissionTaskModelMasterRequest.prototype.setVerifyCompleteConsumeActions = function (verifyCompleteConsumeActions) {
|
|
142
|
+
this.verifyCompleteConsumeActions = verifyCompleteConsumeActions;
|
|
140
143
|
return this;
|
|
141
144
|
};
|
|
142
|
-
UpdateMissionTaskModelMasterRequest.prototype.
|
|
143
|
-
this.
|
|
145
|
+
UpdateMissionTaskModelMasterRequest.prototype.withVerifyCompleteConsumeActions = function (verifyCompleteConsumeActions) {
|
|
146
|
+
this.verifyCompleteConsumeActions = verifyCompleteConsumeActions;
|
|
144
147
|
return this;
|
|
145
148
|
};
|
|
146
149
|
UpdateMissionTaskModelMasterRequest.prototype.getCompleteAcquireActions = function () {
|
|
@@ -176,6 +179,48 @@ var UpdateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
176
179
|
this.premiseMissionTaskName = premiseMissionTaskName;
|
|
177
180
|
return this;
|
|
178
181
|
};
|
|
182
|
+
/** @deprecated */
|
|
183
|
+
UpdateMissionTaskModelMasterRequest.prototype.getCounterName = function () {
|
|
184
|
+
return this.counterName;
|
|
185
|
+
};
|
|
186
|
+
/** @deprecated */
|
|
187
|
+
UpdateMissionTaskModelMasterRequest.prototype.setCounterName = function (counterName) {
|
|
188
|
+
this.counterName = counterName;
|
|
189
|
+
return this;
|
|
190
|
+
};
|
|
191
|
+
/** @deprecated */
|
|
192
|
+
UpdateMissionTaskModelMasterRequest.prototype.withCounterName = function (counterName) {
|
|
193
|
+
this.counterName = counterName;
|
|
194
|
+
return this;
|
|
195
|
+
};
|
|
196
|
+
/** @deprecated */
|
|
197
|
+
UpdateMissionTaskModelMasterRequest.prototype.getTargetResetType = function () {
|
|
198
|
+
return this.targetResetType;
|
|
199
|
+
};
|
|
200
|
+
/** @deprecated */
|
|
201
|
+
UpdateMissionTaskModelMasterRequest.prototype.setTargetResetType = function (targetResetType) {
|
|
202
|
+
this.targetResetType = targetResetType;
|
|
203
|
+
return this;
|
|
204
|
+
};
|
|
205
|
+
/** @deprecated */
|
|
206
|
+
UpdateMissionTaskModelMasterRequest.prototype.withTargetResetType = function (targetResetType) {
|
|
207
|
+
this.targetResetType = targetResetType;
|
|
208
|
+
return this;
|
|
209
|
+
};
|
|
210
|
+
/** @deprecated */
|
|
211
|
+
UpdateMissionTaskModelMasterRequest.prototype.getTargetValue = function () {
|
|
212
|
+
return this.targetValue;
|
|
213
|
+
};
|
|
214
|
+
/** @deprecated */
|
|
215
|
+
UpdateMissionTaskModelMasterRequest.prototype.setTargetValue = function (targetValue) {
|
|
216
|
+
this.targetValue = targetValue;
|
|
217
|
+
return this;
|
|
218
|
+
};
|
|
219
|
+
/** @deprecated */
|
|
220
|
+
UpdateMissionTaskModelMasterRequest.prototype.withTargetValue = function (targetValue) {
|
|
221
|
+
this.targetValue = targetValue;
|
|
222
|
+
return this;
|
|
223
|
+
};
|
|
179
224
|
UpdateMissionTaskModelMasterRequest.fromDict = function (data) {
|
|
180
225
|
return new UpdateMissionTaskModelMasterRequest()
|
|
181
226
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -183,32 +228,45 @@ var UpdateMissionTaskModelMasterRequest = /** @class */ (function () {
|
|
|
183
228
|
.withMissionTaskName(data["missionTaskName"])
|
|
184
229
|
.withMetadata(data["metadata"])
|
|
185
230
|
.withDescription(data["description"])
|
|
186
|
-
.
|
|
187
|
-
.
|
|
188
|
-
.
|
|
231
|
+
.withVerifyCompleteType(data["verifyCompleteType"])
|
|
232
|
+
.withTargetCounter(Gs2Mission.TargetCounterModel.fromDict(data["targetCounter"]))
|
|
233
|
+
.withVerifyCompleteConsumeActions(data.verifyCompleteConsumeActions ?
|
|
234
|
+
data.verifyCompleteConsumeActions.map(function (item) {
|
|
235
|
+
return Gs2Mission.ConsumeAction.fromDict(item);
|
|
236
|
+
}) : [])
|
|
189
237
|
.withCompleteAcquireActions(data.completeAcquireActions ?
|
|
190
238
|
data.completeAcquireActions.map(function (item) {
|
|
191
239
|
return Gs2Mission.AcquireAction.fromDict(item);
|
|
192
240
|
}) : [])
|
|
193
241
|
.withChallengePeriodEventId(data["challengePeriodEventId"])
|
|
194
|
-
.withPremiseMissionTaskName(data["premiseMissionTaskName"])
|
|
242
|
+
.withPremiseMissionTaskName(data["premiseMissionTaskName"])
|
|
243
|
+
.withCounterName(data["counterName"])
|
|
244
|
+
.withTargetResetType(data["targetResetType"])
|
|
245
|
+
.withTargetValue(data["targetValue"]);
|
|
195
246
|
};
|
|
196
247
|
UpdateMissionTaskModelMasterRequest.prototype.toDict = function () {
|
|
248
|
+
var _a;
|
|
197
249
|
return {
|
|
198
250
|
"namespaceName": this.getNamespaceName(),
|
|
199
251
|
"missionGroupName": this.getMissionGroupName(),
|
|
200
252
|
"missionTaskName": this.getMissionTaskName(),
|
|
201
253
|
"metadata": this.getMetadata(),
|
|
202
254
|
"description": this.getDescription(),
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
255
|
+
"verifyCompleteType": this.getVerifyCompleteType(),
|
|
256
|
+
"targetCounter": (_a = this.getTargetCounter()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
257
|
+
"verifyCompleteConsumeActions": this.getVerifyCompleteConsumeActions() ?
|
|
258
|
+
this.getVerifyCompleteConsumeActions().map(function (item) {
|
|
259
|
+
return item.toDict();
|
|
260
|
+
}) : [],
|
|
206
261
|
"completeAcquireActions": this.getCompleteAcquireActions() ?
|
|
207
262
|
this.getCompleteAcquireActions().map(function (item) {
|
|
208
263
|
return item.toDict();
|
|
209
264
|
}) : [],
|
|
210
265
|
"challengePeriodEventId": this.getChallengePeriodEventId(),
|
|
211
266
|
"premiseMissionTaskName": this.getPremiseMissionTaskName(),
|
|
267
|
+
"counterName": this.getCounterName(),
|
|
268
|
+
"targetResetType": this.getTargetResetType(),
|
|
269
|
+
"targetValue": this.getTargetValue(),
|
|
212
270
|
};
|
|
213
271
|
};
|
|
214
272
|
return UpdateMissionTaskModelMasterRequest;
|