gs2 1.3.177 → 1.3.178
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/dictionary/request/VerifyEntryByStampTaskRequest.d.ts +25 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.js +83 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.js.map +1 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.ts +90 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.d.ts +37 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.js +123 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.js.map +1 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.ts +133 -0
- package/dictionary/request/VerifyEntryRequest.d.ts +37 -0
- package/dictionary/request/VerifyEntryRequest.js +123 -0
- package/dictionary/request/VerifyEntryRequest.js.map +1 -0
- package/dictionary/request/VerifyEntryRequest.ts +133 -0
- package/dictionary/request/index.d.ts +4 -1
- package/dictionary/request/index.js +7 -1
- package/dictionary/request/index.js.map +1 -1
- package/dictionary/request/index.ts +6 -0
- package/dictionary/rest.d.ts +3 -0
- package/dictionary/rest.js +93 -0
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +105 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.d.ts +13 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.js +45 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.js.map +1 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.ts +48 -0
- package/dictionary/result/VerifyEntryByUserIdResult.d.ts +9 -0
- package/dictionary/result/VerifyEntryByUserIdResult.js +30 -0
- package/dictionary/result/VerifyEntryByUserIdResult.js.map +1 -0
- package/dictionary/result/VerifyEntryByUserIdResult.ts +31 -0
- package/dictionary/result/VerifyEntryResult.d.ts +9 -0
- package/dictionary/result/VerifyEntryResult.js +30 -0
- package/dictionary/result/VerifyEntryResult.js.map +1 -0
- package/dictionary/result/VerifyEntryResult.ts +31 -0
- package/dictionary/result/index.d.ts +4 -1
- package/dictionary/result/index.js +7 -1
- package/dictionary/result/index.js.map +1 -1
- package/dictionary/result/index.ts +6 -0
- package/experience/request/VerifyRankByStampTaskRequest.d.ts +25 -0
- package/experience/request/VerifyRankByStampTaskRequest.js +83 -0
- package/experience/request/VerifyRankByStampTaskRequest.js.map +1 -0
- package/experience/request/VerifyRankByStampTaskRequest.ts +90 -0
- package/experience/request/VerifyRankByUserIdRequest.d.ts +45 -0
- package/experience/request/VerifyRankByUserIdRequest.js +151 -0
- package/experience/request/VerifyRankByUserIdRequest.js.map +1 -0
- package/experience/request/VerifyRankByUserIdRequest.ts +161 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.d.ts +25 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.js +83 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.js.map +1 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.ts +90 -0
- package/experience/request/VerifyRankCapByUserIdRequest.d.ts +45 -0
- package/experience/request/VerifyRankCapByUserIdRequest.js +151 -0
- package/experience/request/VerifyRankCapByUserIdRequest.js.map +1 -0
- package/experience/request/VerifyRankCapByUserIdRequest.ts +161 -0
- package/experience/request/VerifyRankCapRequest.d.ts +45 -0
- package/experience/request/VerifyRankCapRequest.js +151 -0
- package/experience/request/VerifyRankCapRequest.js.map +1 -0
- package/experience/request/VerifyRankCapRequest.ts +161 -0
- package/experience/request/VerifyRankRequest.d.ts +45 -0
- package/experience/request/VerifyRankRequest.js +151 -0
- package/experience/request/VerifyRankRequest.js.map +1 -0
- package/experience/request/VerifyRankRequest.ts +161 -0
- package/experience/request/index.d.ts +7 -1
- package/experience/request/index.js +13 -1
- package/experience/request/index.js.map +1 -1
- package/experience/request/index.ts +12 -0
- package/experience/rest.d.ts +6 -0
- package/experience/rest.js +194 -0
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +218 -0
- package/experience/result/VerifyRankByStampTaskResult.d.ts +13 -0
- package/experience/result/VerifyRankByStampTaskResult.js +45 -0
- package/experience/result/VerifyRankByStampTaskResult.js.map +1 -0
- package/experience/result/VerifyRankByStampTaskResult.ts +48 -0
- package/experience/result/VerifyRankByUserIdResult.d.ts +9 -0
- package/experience/result/VerifyRankByUserIdResult.js +30 -0
- package/experience/result/VerifyRankByUserIdResult.js.map +1 -0
- package/experience/result/VerifyRankByUserIdResult.ts +31 -0
- package/experience/result/VerifyRankCapByStampTaskResult.d.ts +13 -0
- package/experience/result/VerifyRankCapByStampTaskResult.js +45 -0
- package/experience/result/VerifyRankCapByStampTaskResult.js.map +1 -0
- package/experience/result/VerifyRankCapByStampTaskResult.ts +48 -0
- package/experience/result/VerifyRankCapByUserIdResult.d.ts +9 -0
- package/experience/result/VerifyRankCapByUserIdResult.js +30 -0
- package/experience/result/VerifyRankCapByUserIdResult.js.map +1 -0
- package/experience/result/VerifyRankCapByUserIdResult.ts +31 -0
- package/experience/result/VerifyRankCapResult.d.ts +9 -0
- package/experience/result/VerifyRankCapResult.js +30 -0
- package/experience/result/VerifyRankCapResult.js.map +1 -0
- package/experience/result/VerifyRankCapResult.ts +31 -0
- package/experience/result/VerifyRankResult.d.ts +9 -0
- package/experience/result/VerifyRankResult.js +30 -0
- package/experience/result/VerifyRankResult.js.map +1 -0
- package/experience/result/VerifyRankResult.ts +31 -0
- package/experience/result/index.d.ts +7 -1
- package/experience/result/index.js +13 -1
- package/experience/result/index.js.map +1 -1
- package/experience/result/index.ts +12 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.js +83 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.d.ts +45 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.js +151 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.ts +161 -0
- package/inventory/request/VerifyBigItemRequest.d.ts +45 -0
- package/inventory/request/VerifyBigItemRequest.js +151 -0
- package/inventory/request/VerifyBigItemRequest.js.map +1 -0
- package/inventory/request/VerifyBigItemRequest.ts +161 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.js +83 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.d.ts +49 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.js +165 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.ts +175 -0
- package/inventory/request/VerifyItemSetRequest.d.ts +49 -0
- package/inventory/request/VerifyItemSetRequest.js +165 -0
- package/inventory/request/VerifyItemSetRequest.js.map +1 -0
- package/inventory/request/VerifyItemSetRequest.ts +175 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.js +83 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.d.ts +45 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.js +151 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.ts +161 -0
- package/inventory/request/VerifySimpleItemRequest.d.ts +45 -0
- package/inventory/request/VerifySimpleItemRequest.js +151 -0
- package/inventory/request/VerifySimpleItemRequest.js.map +1 -0
- package/inventory/request/VerifySimpleItemRequest.ts +161 -0
- package/inventory/request/index.d.ts +10 -1
- package/inventory/request/index.js +20 -2
- package/inventory/request/index.js.map +1 -1
- package/inventory/request/index.ts +18 -0
- package/inventory/rest.d.ts +9 -0
- package/inventory/rest.js +293 -0
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +329 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.js +45 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.ts +48 -0
- package/inventory/result/VerifyBigItemByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifyBigItemByUserIdResult.js +30 -0
- package/inventory/result/VerifyBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/VerifyBigItemByUserIdResult.ts +31 -0
- package/inventory/result/VerifyBigItemResult.d.ts +9 -0
- package/inventory/result/VerifyBigItemResult.js +30 -0
- package/inventory/result/VerifyBigItemResult.js.map +1 -0
- package/inventory/result/VerifyBigItemResult.ts +31 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.js +45 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.ts +48 -0
- package/inventory/result/VerifyItemSetByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifyItemSetByUserIdResult.js +30 -0
- package/inventory/result/VerifyItemSetByUserIdResult.js.map +1 -0
- package/inventory/result/VerifyItemSetByUserIdResult.ts +31 -0
- package/inventory/result/VerifyItemSetResult.d.ts +9 -0
- package/inventory/result/VerifyItemSetResult.js +30 -0
- package/inventory/result/VerifyItemSetResult.js.map +1 -0
- package/inventory/result/VerifyItemSetResult.ts +31 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.js +45 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.ts +48 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.js +30 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.js.map +1 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.ts +31 -0
- package/inventory/result/VerifySimpleItemResult.d.ts +9 -0
- package/inventory/result/VerifySimpleItemResult.js +30 -0
- package/inventory/result/VerifySimpleItemResult.js.map +1 -0
- package/inventory/result/VerifySimpleItemResult.ts +31 -0
- package/inventory/result/index.d.ts +10 -1
- package/inventory/result/index.js +20 -2
- package/inventory/result/index.js.map +1 -1
- package/inventory/result/index.ts +18 -0
- package/limit/request/VerifyCounterByStampTaskRequest.d.ts +25 -0
- package/limit/request/VerifyCounterByStampTaskRequest.js +83 -0
- package/limit/request/VerifyCounterByStampTaskRequest.js.map +1 -0
- package/limit/request/VerifyCounterByStampTaskRequest.ts +90 -0
- package/limit/request/VerifyCounterByUserIdRequest.d.ts +45 -0
- package/limit/request/VerifyCounterByUserIdRequest.js +151 -0
- package/limit/request/VerifyCounterByUserIdRequest.js.map +1 -0
- package/limit/request/VerifyCounterByUserIdRequest.ts +161 -0
- package/limit/request/VerifyCounterRequest.d.ts +45 -0
- package/limit/request/VerifyCounterRequest.js +151 -0
- package/limit/request/VerifyCounterRequest.js.map +1 -0
- package/limit/request/VerifyCounterRequest.ts +161 -0
- package/limit/request/index.d.ts +4 -1
- package/limit/request/index.js +7 -1
- package/limit/request/index.js.map +1 -1
- package/limit/request/index.ts +6 -0
- package/limit/rest.d.ts +3 -0
- package/limit/rest.js +97 -0
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +109 -0
- package/limit/result/VerifyCounterByStampTaskResult.d.ts +13 -0
- package/limit/result/VerifyCounterByStampTaskResult.js +45 -0
- package/limit/result/VerifyCounterByStampTaskResult.js.map +1 -0
- package/limit/result/VerifyCounterByStampTaskResult.ts +48 -0
- package/limit/result/VerifyCounterByUserIdResult.d.ts +9 -0
- package/limit/result/VerifyCounterByUserIdResult.js +30 -0
- package/limit/result/VerifyCounterByUserIdResult.js.map +1 -0
- package/limit/result/VerifyCounterByUserIdResult.ts +31 -0
- package/limit/result/VerifyCounterResult.d.ts +9 -0
- package/limit/result/VerifyCounterResult.js +30 -0
- package/limit/result/VerifyCounterResult.js.map +1 -0
- package/limit/result/VerifyCounterResult.ts +31 -0
- package/limit/result/index.d.ts +4 -1
- package/limit/result/index.js +7 -1
- package/limit/result/index.js.map +1 -1
- package/limit/result/index.ts +6 -0
- package/package.json +1 -1
package/experience/rest.ts
CHANGED
|
@@ -1121,6 +1121,162 @@ export default class Gs2ExperienceRestClient extends AbstractGs2RestClient {
|
|
|
1121
1121
|
});
|
|
1122
1122
|
}
|
|
1123
1123
|
|
|
1124
|
+
public verifyRank(request: Request.VerifyRankRequest): Promise<Result.VerifyRankResult> {
|
|
1125
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/status/{experienceName}/verify/rank/{verifyType}')
|
|
1126
|
+
.replace('{service}', 'experience')
|
|
1127
|
+
.replace('{region}', this.session.region)
|
|
1128
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1129
|
+
.replace('{experienceName}', String(request.getExperienceName() ?? 'null') === "" ? "null" : String(request.getExperienceName() ?? 'null'))
|
|
1130
|
+
.replace('{verifyType}', String(request.getVerifyType() ?? 'null') === "" ? "null" : String(request.getVerifyType() ?? 'null'));
|
|
1131
|
+
|
|
1132
|
+
const headers = this.createAuthorizedHeaders();
|
|
1133
|
+
if (request.getRequestId()) {
|
|
1134
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1135
|
+
}
|
|
1136
|
+
if (request.getAccessToken()) {
|
|
1137
|
+
headers['X-GS2-ACCESS-TOKEN'] = request.getAccessToken() ?? null;
|
|
1138
|
+
}
|
|
1139
|
+
if (request.getDuplicationAvoider()) {
|
|
1140
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1141
|
+
}
|
|
1142
|
+
const body: {[key: string]: any} = {
|
|
1143
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1144
|
+
'propertyId': request.getPropertyId() ?? null,
|
|
1145
|
+
'rankValue': request.getRankValue() ?? null,
|
|
1146
|
+
};
|
|
1147
|
+
return axios.post(
|
|
1148
|
+
url,
|
|
1149
|
+
body,
|
|
1150
|
+
{
|
|
1151
|
+
headers,
|
|
1152
|
+
},
|
|
1153
|
+
).then((response: any) => {
|
|
1154
|
+
return Result.VerifyRankResult.fromDict(response.data);
|
|
1155
|
+
}).catch((error: any) => {
|
|
1156
|
+
if (error.response) {
|
|
1157
|
+
throw JSON.parse(error.response.data.message);
|
|
1158
|
+
} else {
|
|
1159
|
+
throw [];
|
|
1160
|
+
}
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
public verifyRankByUserId(request: Request.VerifyRankByUserIdRequest): Promise<Result.VerifyRankByUserIdResult> {
|
|
1165
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/status/{experienceName}/verify/rank/{verifyType}')
|
|
1166
|
+
.replace('{service}', 'experience')
|
|
1167
|
+
.replace('{region}', this.session.region)
|
|
1168
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1169
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1170
|
+
.replace('{experienceName}', String(request.getExperienceName() ?? 'null') === "" ? "null" : String(request.getExperienceName() ?? 'null'))
|
|
1171
|
+
.replace('{verifyType}', String(request.getVerifyType() ?? 'null') === "" ? "null" : String(request.getVerifyType() ?? 'null'));
|
|
1172
|
+
|
|
1173
|
+
const headers = this.createAuthorizedHeaders();
|
|
1174
|
+
if (request.getRequestId()) {
|
|
1175
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1176
|
+
}
|
|
1177
|
+
if (request.getDuplicationAvoider()) {
|
|
1178
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1179
|
+
}
|
|
1180
|
+
const body: {[key: string]: any} = {
|
|
1181
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1182
|
+
'propertyId': request.getPropertyId() ?? null,
|
|
1183
|
+
'rankValue': request.getRankValue() ?? null,
|
|
1184
|
+
};
|
|
1185
|
+
return axios.post(
|
|
1186
|
+
url,
|
|
1187
|
+
body,
|
|
1188
|
+
{
|
|
1189
|
+
headers,
|
|
1190
|
+
},
|
|
1191
|
+
).then((response: any) => {
|
|
1192
|
+
return Result.VerifyRankByUserIdResult.fromDict(response.data);
|
|
1193
|
+
}).catch((error: any) => {
|
|
1194
|
+
if (error.response) {
|
|
1195
|
+
throw JSON.parse(error.response.data.message);
|
|
1196
|
+
} else {
|
|
1197
|
+
throw [];
|
|
1198
|
+
}
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
public verifyRankCap(request: Request.VerifyRankCapRequest): Promise<Result.VerifyRankCapResult> {
|
|
1203
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/status/{experienceName}/verify/rankCap/{verifyType}')
|
|
1204
|
+
.replace('{service}', 'experience')
|
|
1205
|
+
.replace('{region}', this.session.region)
|
|
1206
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1207
|
+
.replace('{experienceName}', String(request.getExperienceName() ?? 'null') === "" ? "null" : String(request.getExperienceName() ?? 'null'))
|
|
1208
|
+
.replace('{verifyType}', String(request.getVerifyType() ?? 'null') === "" ? "null" : String(request.getVerifyType() ?? 'null'));
|
|
1209
|
+
|
|
1210
|
+
const headers = this.createAuthorizedHeaders();
|
|
1211
|
+
if (request.getRequestId()) {
|
|
1212
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1213
|
+
}
|
|
1214
|
+
if (request.getAccessToken()) {
|
|
1215
|
+
headers['X-GS2-ACCESS-TOKEN'] = request.getAccessToken() ?? null;
|
|
1216
|
+
}
|
|
1217
|
+
if (request.getDuplicationAvoider()) {
|
|
1218
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1219
|
+
}
|
|
1220
|
+
const body: {[key: string]: any} = {
|
|
1221
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1222
|
+
'propertyId': request.getPropertyId() ?? null,
|
|
1223
|
+
'rankCapValue': request.getRankCapValue() ?? null,
|
|
1224
|
+
};
|
|
1225
|
+
return axios.post(
|
|
1226
|
+
url,
|
|
1227
|
+
body,
|
|
1228
|
+
{
|
|
1229
|
+
headers,
|
|
1230
|
+
},
|
|
1231
|
+
).then((response: any) => {
|
|
1232
|
+
return Result.VerifyRankCapResult.fromDict(response.data);
|
|
1233
|
+
}).catch((error: any) => {
|
|
1234
|
+
if (error.response) {
|
|
1235
|
+
throw JSON.parse(error.response.data.message);
|
|
1236
|
+
} else {
|
|
1237
|
+
throw [];
|
|
1238
|
+
}
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
public verifyRankCapByUserId(request: Request.VerifyRankCapByUserIdRequest): Promise<Result.VerifyRankCapByUserIdResult> {
|
|
1243
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/status/{experienceName}/verify/rankCap/{verifyType}')
|
|
1244
|
+
.replace('{service}', 'experience')
|
|
1245
|
+
.replace('{region}', this.session.region)
|
|
1246
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1247
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1248
|
+
.replace('{experienceName}', String(request.getExperienceName() ?? 'null') === "" ? "null" : String(request.getExperienceName() ?? 'null'))
|
|
1249
|
+
.replace('{verifyType}', String(request.getVerifyType() ?? 'null') === "" ? "null" : String(request.getVerifyType() ?? 'null'));
|
|
1250
|
+
|
|
1251
|
+
const headers = this.createAuthorizedHeaders();
|
|
1252
|
+
if (request.getRequestId()) {
|
|
1253
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1254
|
+
}
|
|
1255
|
+
if (request.getDuplicationAvoider()) {
|
|
1256
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1257
|
+
}
|
|
1258
|
+
const body: {[key: string]: any} = {
|
|
1259
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1260
|
+
'propertyId': request.getPropertyId() ?? null,
|
|
1261
|
+
'rankCapValue': request.getRankCapValue() ?? null,
|
|
1262
|
+
};
|
|
1263
|
+
return axios.post(
|
|
1264
|
+
url,
|
|
1265
|
+
body,
|
|
1266
|
+
{
|
|
1267
|
+
headers,
|
|
1268
|
+
},
|
|
1269
|
+
).then((response: any) => {
|
|
1270
|
+
return Result.VerifyRankCapByUserIdResult.fromDict(response.data);
|
|
1271
|
+
}).catch((error: any) => {
|
|
1272
|
+
if (error.response) {
|
|
1273
|
+
throw JSON.parse(error.response.data.message);
|
|
1274
|
+
} else {
|
|
1275
|
+
throw [];
|
|
1276
|
+
}
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1124
1280
|
public addExperienceByStampSheet(request: Request.AddExperienceByStampSheetRequest): Promise<Result.AddExperienceByStampSheetResult> {
|
|
1125
1281
|
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/experience/add')
|
|
1126
1282
|
.replace('{service}', 'experience')
|
|
@@ -1344,4 +1500,66 @@ export default class Gs2ExperienceRestClient extends AbstractGs2RestClient {
|
|
|
1344
1500
|
}
|
|
1345
1501
|
});
|
|
1346
1502
|
}
|
|
1503
|
+
|
|
1504
|
+
public verifyRankByStampTask(request: Request.VerifyRankByStampTaskRequest): Promise<Result.VerifyRankByStampTaskResult> {
|
|
1505
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/rank/verify')
|
|
1506
|
+
.replace('{service}', 'experience')
|
|
1507
|
+
.replace('{region}', this.session.region);
|
|
1508
|
+
|
|
1509
|
+
const headers = this.createAuthorizedHeaders();
|
|
1510
|
+
if (request.getRequestId()) {
|
|
1511
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1512
|
+
}
|
|
1513
|
+
const body: {[key: string]: any} = {
|
|
1514
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1515
|
+
'stampTask': request.getStampTask() ?? null,
|
|
1516
|
+
'keyId': request.getKeyId() ?? null,
|
|
1517
|
+
};
|
|
1518
|
+
return axios.post(
|
|
1519
|
+
url,
|
|
1520
|
+
body,
|
|
1521
|
+
{
|
|
1522
|
+
headers,
|
|
1523
|
+
},
|
|
1524
|
+
).then((response: any) => {
|
|
1525
|
+
return Result.VerifyRankByStampTaskResult.fromDict(response.data);
|
|
1526
|
+
}).catch((error: any) => {
|
|
1527
|
+
if (error.response) {
|
|
1528
|
+
throw JSON.parse(error.response.data.message);
|
|
1529
|
+
} else {
|
|
1530
|
+
throw [];
|
|
1531
|
+
}
|
|
1532
|
+
});
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
public verifyRankCapByStampTask(request: Request.VerifyRankCapByStampTaskRequest): Promise<Result.VerifyRankCapByStampTaskResult> {
|
|
1536
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/rankCap/verify')
|
|
1537
|
+
.replace('{service}', 'experience')
|
|
1538
|
+
.replace('{region}', this.session.region);
|
|
1539
|
+
|
|
1540
|
+
const headers = this.createAuthorizedHeaders();
|
|
1541
|
+
if (request.getRequestId()) {
|
|
1542
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1543
|
+
}
|
|
1544
|
+
const body: {[key: string]: any} = {
|
|
1545
|
+
'contextStack': request.getContextStack() ?? null,
|
|
1546
|
+
'stampTask': request.getStampTask() ?? null,
|
|
1547
|
+
'keyId': request.getKeyId() ?? null,
|
|
1548
|
+
};
|
|
1549
|
+
return axios.post(
|
|
1550
|
+
url,
|
|
1551
|
+
body,
|
|
1552
|
+
{
|
|
1553
|
+
headers,
|
|
1554
|
+
},
|
|
1555
|
+
).then((response: any) => {
|
|
1556
|
+
return Result.VerifyRankCapByStampTaskResult.fromDict(response.data);
|
|
1557
|
+
}).catch((error: any) => {
|
|
1558
|
+
if (error.response) {
|
|
1559
|
+
throw JSON.parse(error.response.data.message);
|
|
1560
|
+
} else {
|
|
1561
|
+
throw [];
|
|
1562
|
+
}
|
|
1563
|
+
});
|
|
1564
|
+
}
|
|
1347
1565
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
export default class VerifyRankByStampTaskResult implements IResult {
|
|
3
|
+
private newContextStack;
|
|
4
|
+
getNewContextStack(): string | null;
|
|
5
|
+
setNewContextStack(newContextStack: string | null): this;
|
|
6
|
+
withNewContextStack(newContextStack: string | null): this;
|
|
7
|
+
static fromDict(data: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}): VerifyRankByStampTaskResult;
|
|
10
|
+
toDict(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 VerifyRankByStampTaskResult = /** @class */ (function () {
|
|
19
|
+
function VerifyRankByStampTaskResult() {
|
|
20
|
+
this.newContextStack = null;
|
|
21
|
+
}
|
|
22
|
+
VerifyRankByStampTaskResult.prototype.getNewContextStack = function () {
|
|
23
|
+
return this.newContextStack;
|
|
24
|
+
};
|
|
25
|
+
VerifyRankByStampTaskResult.prototype.setNewContextStack = function (newContextStack) {
|
|
26
|
+
this.newContextStack = newContextStack;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
VerifyRankByStampTaskResult.prototype.withNewContextStack = function (newContextStack) {
|
|
30
|
+
this.newContextStack = newContextStack;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
VerifyRankByStampTaskResult.fromDict = function (data) {
|
|
34
|
+
return new VerifyRankByStampTaskResult()
|
|
35
|
+
.withNewContextStack(data["newContextStack"]);
|
|
36
|
+
};
|
|
37
|
+
VerifyRankByStampTaskResult.prototype.toDict = function () {
|
|
38
|
+
return {
|
|
39
|
+
"newContextStack": this.getNewContextStack(),
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
return VerifyRankByStampTaskResult;
|
|
43
|
+
}());
|
|
44
|
+
exports.default = VerifyRankByStampTaskResult;
|
|
45
|
+
//# sourceMappingURL=VerifyRankByStampTaskResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRankByStampTaskResult.js","sourceRoot":"","sources":["VerifyRankByStampTaskResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,oBAAe,GAAgB,IAAI,CAAC;IA0BhD,CAAC;IAxBU,wDAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAEM,wDAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,oCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,2BAA2B,EAAE;aACnC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,4CAAM,GAAb;QACI,OAAO;YACH,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Experience from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyRankByStampTaskResult implements IResult {
|
|
22
|
+
private newContextStack: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getNewContextStack(): string|null {
|
|
25
|
+
return this.newContextStack;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setNewContextStack(newContextStack: string|null) {
|
|
29
|
+
this.newContextStack = newContextStack;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withNewContextStack(newContextStack: string|null): this {
|
|
34
|
+
this.newContextStack = newContextStack;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): VerifyRankByStampTaskResult {
|
|
39
|
+
return new VerifyRankByStampTaskResult()
|
|
40
|
+
.withNewContextStack(data["newContextStack"]);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"newContextStack": this.getNewContextStack(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 VerifyRankByUserIdResult = /** @class */ (function () {
|
|
19
|
+
function VerifyRankByUserIdResult() {
|
|
20
|
+
}
|
|
21
|
+
VerifyRankByUserIdResult.fromDict = function (data) {
|
|
22
|
+
return new VerifyRankByUserIdResult();
|
|
23
|
+
};
|
|
24
|
+
VerifyRankByUserIdResult.prototype.toDict = function () {
|
|
25
|
+
return {};
|
|
26
|
+
};
|
|
27
|
+
return VerifyRankByUserIdResult;
|
|
28
|
+
}());
|
|
29
|
+
exports.default = VerifyRankByUserIdResult;
|
|
30
|
+
//# sourceMappingURL=VerifyRankByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRankByUserIdResult.js","sourceRoot":"","sources":["VerifyRankByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;IAUA,CAAC;IARiB,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE,CAAC;IAC1C,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO,EACN,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Experience from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyRankByUserIdResult implements IResult {
|
|
22
|
+
|
|
23
|
+
public static fromDict(data: {[key: string]: any}): VerifyRankByUserIdResult {
|
|
24
|
+
return new VerifyRankByUserIdResult();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public toDict(): {[key: string]: any} {
|
|
28
|
+
return {
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
export default class VerifyRankCapByStampTaskResult implements IResult {
|
|
3
|
+
private newContextStack;
|
|
4
|
+
getNewContextStack(): string | null;
|
|
5
|
+
setNewContextStack(newContextStack: string | null): this;
|
|
6
|
+
withNewContextStack(newContextStack: string | null): this;
|
|
7
|
+
static fromDict(data: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}): VerifyRankCapByStampTaskResult;
|
|
10
|
+
toDict(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 VerifyRankCapByStampTaskResult = /** @class */ (function () {
|
|
19
|
+
function VerifyRankCapByStampTaskResult() {
|
|
20
|
+
this.newContextStack = null;
|
|
21
|
+
}
|
|
22
|
+
VerifyRankCapByStampTaskResult.prototype.getNewContextStack = function () {
|
|
23
|
+
return this.newContextStack;
|
|
24
|
+
};
|
|
25
|
+
VerifyRankCapByStampTaskResult.prototype.setNewContextStack = function (newContextStack) {
|
|
26
|
+
this.newContextStack = newContextStack;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
VerifyRankCapByStampTaskResult.prototype.withNewContextStack = function (newContextStack) {
|
|
30
|
+
this.newContextStack = newContextStack;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
VerifyRankCapByStampTaskResult.fromDict = function (data) {
|
|
34
|
+
return new VerifyRankCapByStampTaskResult()
|
|
35
|
+
.withNewContextStack(data["newContextStack"]);
|
|
36
|
+
};
|
|
37
|
+
VerifyRankCapByStampTaskResult.prototype.toDict = function () {
|
|
38
|
+
return {
|
|
39
|
+
"newContextStack": this.getNewContextStack(),
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
return VerifyRankCapByStampTaskResult;
|
|
43
|
+
}());
|
|
44
|
+
exports.default = VerifyRankCapByStampTaskResult;
|
|
45
|
+
//# sourceMappingURL=VerifyRankCapByStampTaskResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRankCapByStampTaskResult.js","sourceRoot":"","sources":["VerifyRankCapByStampTaskResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,oBAAe,GAAgB,IAAI,CAAC;IA0BhD,CAAC;IAxBU,2DAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAEM,2DAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,+CAAM,GAAb;QACI,OAAO;YACH,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Experience from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyRankCapByStampTaskResult implements IResult {
|
|
22
|
+
private newContextStack: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getNewContextStack(): string|null {
|
|
25
|
+
return this.newContextStack;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setNewContextStack(newContextStack: string|null) {
|
|
29
|
+
this.newContextStack = newContextStack;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withNewContextStack(newContextStack: string|null): this {
|
|
34
|
+
this.newContextStack = newContextStack;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): VerifyRankCapByStampTaskResult {
|
|
39
|
+
return new VerifyRankCapByStampTaskResult()
|
|
40
|
+
.withNewContextStack(data["newContextStack"]);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"newContextStack": this.getNewContextStack(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 VerifyRankCapByUserIdResult = /** @class */ (function () {
|
|
19
|
+
function VerifyRankCapByUserIdResult() {
|
|
20
|
+
}
|
|
21
|
+
VerifyRankCapByUserIdResult.fromDict = function (data) {
|
|
22
|
+
return new VerifyRankCapByUserIdResult();
|
|
23
|
+
};
|
|
24
|
+
VerifyRankCapByUserIdResult.prototype.toDict = function () {
|
|
25
|
+
return {};
|
|
26
|
+
};
|
|
27
|
+
return VerifyRankCapByUserIdResult;
|
|
28
|
+
}());
|
|
29
|
+
exports.default = VerifyRankCapByUserIdResult;
|
|
30
|
+
//# sourceMappingURL=VerifyRankCapByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRankCapByUserIdResult.js","sourceRoot":"","sources":["VerifyRankCapByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;IAUA,CAAC;IARiB,oCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,2BAA2B,EAAE,CAAC;IAC7C,CAAC;IAEM,4CAAM,GAAb;QACI,OAAO,EACN,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Experience from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyRankCapByUserIdResult implements IResult {
|
|
22
|
+
|
|
23
|
+
public static fromDict(data: {[key: string]: any}): VerifyRankCapByUserIdResult {
|
|
24
|
+
return new VerifyRankCapByUserIdResult();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public toDict(): {[key: string]: any} {
|
|
28
|
+
return {
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 VerifyRankCapResult = /** @class */ (function () {
|
|
19
|
+
function VerifyRankCapResult() {
|
|
20
|
+
}
|
|
21
|
+
VerifyRankCapResult.fromDict = function (data) {
|
|
22
|
+
return new VerifyRankCapResult();
|
|
23
|
+
};
|
|
24
|
+
VerifyRankCapResult.prototype.toDict = function () {
|
|
25
|
+
return {};
|
|
26
|
+
};
|
|
27
|
+
return VerifyRankCapResult;
|
|
28
|
+
}());
|
|
29
|
+
exports.default = VerifyRankCapResult;
|
|
30
|
+
//# sourceMappingURL=VerifyRankCapResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRankCapResult.js","sourceRoot":"","sources":["VerifyRankCapResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;IAUA,CAAC;IARiB,4BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAEM,oCAAM,GAAb;QACI,OAAO,EACN,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AAVD,IAUC"}
|