gs2 1.4.110 → 1.4.115
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/account/rest.js +130 -564
- package/account/rest.js.map +1 -1
- package/adReward/rest.js +44 -203
- package/adReward/rest.js.map +1 -1
- package/auth/rest.js +10 -52
- package/auth/rest.js.map +1 -1
- package/buff/rest.js +56 -249
- package/buff/rest.js.map +1 -1
- package/chat/rest.js +108 -463
- package/chat/rest.js.map +1 -1
- package/core/AbstractGs2RestClient.d.ts +9 -0
- package/core/AbstractGs2RestClient.js +48 -0
- package/core/AbstractGs2RestClient.js.map +1 -1
- package/core/model.d.ts +9 -1
- package/core/model.js +4 -1
- package/core/model.js.map +1 -1
- package/datastore/rest.js +78 -370
- package/datastore/rest.js.map +1 -1
- package/deploy/rest.js +48 -209
- package/deploy/rest.js.map +1 -1
- package/dictionary/rest.js +102 -450
- package/dictionary/rest.js.map +1 -1
- package/distributor/rest.js +96 -465
- package/distributor/rest.js.map +1 -1
- package/enchant/rest.js +112 -497
- package/enchant/rest.js.map +1 -1
- package/enhance/rest.js +100 -455
- package/enhance/rest.js.map +1 -1
- package/exchange/rest.js +108 -491
- package/exchange/rest.js.map +1 -1
- package/experience/rest.js +120 -561
- package/experience/rest.js.map +1 -1
- package/formation/rest.js +158 -686
- package/formation/rest.js.map +1 -1
- package/freeze/rest.js +12 -51
- package/freeze/rest.js.map +1 -1
- package/friend/rest.js +118 -490
- package/friend/rest.js.map +1 -1
- package/gateway/rest.js +56 -245
- package/gateway/rest.js.map +1 -1
- package/grade/rest.js +96 -449
- package/grade/rest.js.map +1 -1
- package/guard/rest.js +14 -58
- package/guard/rest.js.map +1 -1
- package/guild/rest.js +186 -840
- package/guild/rest.js.map +1 -1
- package/identifier/rest.js +60 -259
- package/identifier/rest.js.map +1 -1
- package/idle/rest.js +84 -387
- package/idle/rest.js.map +1 -1
- package/inbox/rest.js +96 -437
- package/inbox/rest.js.map +1 -1
- package/inventory/rest.js +270 -1206
- package/inventory/rest.js.map +1 -1
- package/jobQueue/rest.js +50 -220
- package/jobQueue/rest.js.map +1 -1
- package/key/rest.js +38 -166
- package/key/rest.js.map +1 -1
- package/limit/rest.js +80 -361
- package/limit/rest.js.map +1 -1
- package/lock/rest.js +28 -123
- package/lock/rest.js.map +1 -1
- package/log/rest.js +46 -186
- package/log/rest.js.map +1 -1
- package/loginReward/rest.js +82 -376
- package/loginReward/rest.js.map +1 -1
- package/lottery/rest.js +100 -427
- package/lottery/rest.js.map +1 -1
- package/matchmaking/rest.js +146 -644
- package/matchmaking/rest.js.map +1 -1
- package/megaField/rest.js +68 -307
- package/megaField/rest.js.map +1 -1
- package/mission/rest.js +158 -726
- package/mission/rest.js.map +1 -1
- package/money/rest.js +58 -264
- package/money/rest.js.map +1 -1
- package/money2/rest.js +126 -542
- package/money2/rest.js.map +1 -1
- package/news/rest.js +36 -147
- package/news/rest.js.map +1 -1
- package/package.json +5 -5
- package/project/request/WaitCleanUserDataRequest.d.ts +0 -4
- package/project/request/WaitCleanUserDataRequest.js +0 -14
- package/project/request/WaitCleanUserDataRequest.js.map +1 -1
- package/project/request/WaitDumpUserDataRequest.d.ts +0 -4
- package/project/request/WaitDumpUserDataRequest.js +0 -14
- package/project/request/WaitDumpUserDataRequest.js.map +1 -1
- package/project/request/WaitImportUserDataRequest.d.ts +0 -4
- package/project/request/WaitImportUserDataRequest.js +0 -14
- package/project/request/WaitImportUserDataRequest.js.map +1 -1
- package/project/rest.js +91 -411
- package/project/rest.js.map +1 -1
- package/quest/rest.js +100 -431
- package/quest/rest.js.map +1 -1
- package/ranking/rest.js +92 -387
- package/ranking/rest.js.map +1 -1
- package/ranking2/rest.js +220 -939
- package/ranking2/rest.js.map +1 -1
- package/realtime/rest.js +24 -97
- package/realtime/rest.js.map +1 -1
- package/schedule/rest.js +94 -418
- package/schedule/rest.js.map +1 -1
- package/script/rest.js +34 -156
- package/script/rest.js.map +1 -1
- package/seasonRating/rest.js +70 -314
- package/seasonRating/rest.js.map +1 -1
- package/serialKey/rest.js +84 -383
- package/serialKey/rest.js.map +1 -1
- package/showcase/rest.js +116 -515
- package/showcase/rest.js.map +1 -1
- package/skillTree/rest.js +82 -372
- package/skillTree/rest.js.map +1 -1
- package/stamina/rest.js +166 -798
- package/stamina/rest.js.map +1 -1
- package/stateMachine/rest.js +62 -270
- package/stateMachine/rest.js.map +1 -1
- package/version/rest.js +78 -346
- package/version/rest.js.map +1 -1
- package/watch/rest.js +156 -563
- package/watch/rest.js.map +1 -1
package/watch/rest.js
CHANGED
|
@@ -19,7 +19,6 @@ var tslib_1 = require("tslib");
|
|
|
19
19
|
var AbstractGs2RestClient_1 = tslib_1.__importDefault(require("../core/AbstractGs2RestClient"));
|
|
20
20
|
var model_1 = require("../core/model");
|
|
21
21
|
var Result = tslib_1.__importStar(require("./result"));
|
|
22
|
-
var axios_1 = tslib_1.__importDefault(require("axios"));
|
|
23
22
|
var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
24
23
|
tslib_1.__extends(Gs2WatchRestClient, _super);
|
|
25
24
|
function Gs2WatchRestClient(session) {
|
|
@@ -47,17 +46,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
47
46
|
'pageToken': (_o = request.getPageToken()) !== null && _o !== void 0 ? _o : null,
|
|
48
47
|
'limit': (_p = request.getLimit()) !== null && _p !== void 0 ? _p : null,
|
|
49
48
|
};
|
|
50
|
-
return
|
|
51
|
-
|
|
52
|
-
}).then(function (response) {
|
|
53
|
-
return Result.GetChartResult.fromDict(response.data);
|
|
54
|
-
}).catch(function (error) {
|
|
55
|
-
if (error.response) {
|
|
56
|
-
throw JSON.parse(error.response.data.message);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
throw [];
|
|
60
|
-
}
|
|
49
|
+
return this.request('POST', url, headers, undefined, body).then(function (data) {
|
|
50
|
+
return Result.GetChartResult.fromDict(data);
|
|
61
51
|
});
|
|
62
52
|
};
|
|
63
53
|
Gs2WatchRestClient.prototype.getServiceVersion = function (request) {
|
|
@@ -72,13 +62,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
72
62
|
var params = {
|
|
73
63
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
74
64
|
};
|
|
75
|
-
return
|
|
76
|
-
|
|
77
|
-
headers: headers,
|
|
78
|
-
}).then(function (response) {
|
|
79
|
-
return Result.GetServiceVersionResult.fromDict(response.data);
|
|
80
|
-
}).catch(function (error) {
|
|
81
|
-
throw JSON.parse(error.response.data.message);
|
|
65
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
66
|
+
return Result.GetServiceVersionResult.fromDict(data);
|
|
82
67
|
});
|
|
83
68
|
};
|
|
84
69
|
Gs2WatchRestClient.prototype.getDistribution = function (request) {
|
|
@@ -101,17 +86,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
101
86
|
'pageToken': (_l = request.getPageToken()) !== null && _l !== void 0 ? _l : null,
|
|
102
87
|
'limit': (_m = request.getLimit()) !== null && _m !== void 0 ? _m : null,
|
|
103
88
|
};
|
|
104
|
-
return
|
|
105
|
-
|
|
106
|
-
}).then(function (response) {
|
|
107
|
-
return Result.GetDistributionResult.fromDict(response.data);
|
|
108
|
-
}).catch(function (error) {
|
|
109
|
-
if (error.response) {
|
|
110
|
-
throw JSON.parse(error.response.data.message);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
throw [];
|
|
114
|
-
}
|
|
89
|
+
return this.request('POST', url, headers, undefined, body).then(function (data) {
|
|
90
|
+
return Result.GetDistributionResult.fromDict(data);
|
|
115
91
|
});
|
|
116
92
|
};
|
|
117
93
|
Gs2WatchRestClient.prototype.getCumulative = function (request) {
|
|
@@ -128,17 +104,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
128
104
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
129
105
|
'resourceGrn': (_e = request.getResourceGrn()) !== null && _e !== void 0 ? _e : null,
|
|
130
106
|
};
|
|
131
|
-
return
|
|
132
|
-
|
|
133
|
-
}).then(function (response) {
|
|
134
|
-
return Result.GetCumulativeResult.fromDict(response.data);
|
|
135
|
-
}).catch(function (error) {
|
|
136
|
-
if (error.response) {
|
|
137
|
-
throw JSON.parse(error.response.data.message);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
throw [];
|
|
141
|
-
}
|
|
107
|
+
return this.request('POST', url, headers, undefined, body).then(function (data) {
|
|
108
|
+
return Result.GetCumulativeResult.fromDict(data);
|
|
142
109
|
});
|
|
143
110
|
};
|
|
144
111
|
Gs2WatchRestClient.prototype.describeBillingActivities = function (request) {
|
|
@@ -158,13 +125,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
158
125
|
'pageToken': String((_h = request.getPageToken()) !== null && _h !== void 0 ? _h : null),
|
|
159
126
|
'limit': String((_j = request.getLimit()) !== null && _j !== void 0 ? _j : null),
|
|
160
127
|
};
|
|
161
|
-
return
|
|
162
|
-
|
|
163
|
-
headers: headers,
|
|
164
|
-
}).then(function (response) {
|
|
165
|
-
return Result.DescribeBillingActivitiesResult.fromDict(response.data);
|
|
166
|
-
}).catch(function (error) {
|
|
167
|
-
throw JSON.parse(error.response.data.message);
|
|
128
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
129
|
+
return Result.DescribeBillingActivitiesResult.fromDict(data);
|
|
168
130
|
});
|
|
169
131
|
};
|
|
170
132
|
Gs2WatchRestClient.prototype.getBillingActivity = function (request) {
|
|
@@ -183,17 +145,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
183
145
|
var body = {
|
|
184
146
|
'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
|
|
185
147
|
};
|
|
186
|
-
return
|
|
187
|
-
|
|
188
|
-
}).then(function (response) {
|
|
189
|
-
return Result.GetBillingActivityResult.fromDict(response.data);
|
|
190
|
-
}).catch(function (error) {
|
|
191
|
-
if (error.response) {
|
|
192
|
-
throw JSON.parse(error.response.data.message);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
throw [];
|
|
196
|
-
}
|
|
148
|
+
return this.request('POST', url, headers, undefined, body).then(function (data) {
|
|
149
|
+
return Result.GetBillingActivityResult.fromDict(data);
|
|
197
150
|
});
|
|
198
151
|
};
|
|
199
152
|
Gs2WatchRestClient.prototype.getGeneralMetrics = function (request) {
|
|
@@ -208,13 +161,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
208
161
|
var params = {
|
|
209
162
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
210
163
|
};
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
headers: headers,
|
|
214
|
-
}).then(function (response) {
|
|
215
|
-
return Result.GetGeneralMetricsResult.fromDict(response.data);
|
|
216
|
-
}).catch(function (error) {
|
|
217
|
-
throw JSON.parse(error.response.data.message);
|
|
164
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
165
|
+
return Result.GetGeneralMetricsResult.fromDict(data);
|
|
218
166
|
});
|
|
219
167
|
};
|
|
220
168
|
Gs2WatchRestClient.prototype.describeAccountNamespaceMetrics = function (request) {
|
|
@@ -229,13 +177,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
229
177
|
var params = {
|
|
230
178
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
231
179
|
};
|
|
232
|
-
return
|
|
233
|
-
|
|
234
|
-
headers: headers,
|
|
235
|
-
}).then(function (response) {
|
|
236
|
-
return Result.DescribeAccountNamespaceMetricsResult.fromDict(response.data);
|
|
237
|
-
}).catch(function (error) {
|
|
238
|
-
throw JSON.parse(error.response.data.message);
|
|
180
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
181
|
+
return Result.DescribeAccountNamespaceMetricsResult.fromDict(data);
|
|
239
182
|
});
|
|
240
183
|
};
|
|
241
184
|
Gs2WatchRestClient.prototype.getAccountNamespaceMetrics = function (request) {
|
|
@@ -251,13 +194,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
251
194
|
var params = {
|
|
252
195
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
253
196
|
};
|
|
254
|
-
return
|
|
255
|
-
|
|
256
|
-
headers: headers,
|
|
257
|
-
}).then(function (response) {
|
|
258
|
-
return Result.GetAccountNamespaceMetricsResult.fromDict(response.data);
|
|
259
|
-
}).catch(function (error) {
|
|
260
|
-
throw JSON.parse(error.response.data.message);
|
|
197
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
198
|
+
return Result.GetAccountNamespaceMetricsResult.fromDict(data);
|
|
261
199
|
});
|
|
262
200
|
};
|
|
263
201
|
Gs2WatchRestClient.prototype.describeChatNamespaceMetrics = function (request) {
|
|
@@ -272,13 +210,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
272
210
|
var params = {
|
|
273
211
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
274
212
|
};
|
|
275
|
-
return
|
|
276
|
-
|
|
277
|
-
headers: headers,
|
|
278
|
-
}).then(function (response) {
|
|
279
|
-
return Result.DescribeChatNamespaceMetricsResult.fromDict(response.data);
|
|
280
|
-
}).catch(function (error) {
|
|
281
|
-
throw JSON.parse(error.response.data.message);
|
|
213
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
214
|
+
return Result.DescribeChatNamespaceMetricsResult.fromDict(data);
|
|
282
215
|
});
|
|
283
216
|
};
|
|
284
217
|
Gs2WatchRestClient.prototype.getChatNamespaceMetrics = function (request) {
|
|
@@ -294,13 +227,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
294
227
|
var params = {
|
|
295
228
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
296
229
|
};
|
|
297
|
-
return
|
|
298
|
-
|
|
299
|
-
headers: headers,
|
|
300
|
-
}).then(function (response) {
|
|
301
|
-
return Result.GetChatNamespaceMetricsResult.fromDict(response.data);
|
|
302
|
-
}).catch(function (error) {
|
|
303
|
-
throw JSON.parse(error.response.data.message);
|
|
230
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
231
|
+
return Result.GetChatNamespaceMetricsResult.fromDict(data);
|
|
304
232
|
});
|
|
305
233
|
};
|
|
306
234
|
Gs2WatchRestClient.prototype.describeDatastoreNamespaceMetrics = function (request) {
|
|
@@ -315,13 +243,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
315
243
|
var params = {
|
|
316
244
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
317
245
|
};
|
|
318
|
-
return
|
|
319
|
-
|
|
320
|
-
headers: headers,
|
|
321
|
-
}).then(function (response) {
|
|
322
|
-
return Result.DescribeDatastoreNamespaceMetricsResult.fromDict(response.data);
|
|
323
|
-
}).catch(function (error) {
|
|
324
|
-
throw JSON.parse(error.response.data.message);
|
|
246
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
247
|
+
return Result.DescribeDatastoreNamespaceMetricsResult.fromDict(data);
|
|
325
248
|
});
|
|
326
249
|
};
|
|
327
250
|
Gs2WatchRestClient.prototype.getDatastoreNamespaceMetrics = function (request) {
|
|
@@ -337,13 +260,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
337
260
|
var params = {
|
|
338
261
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
339
262
|
};
|
|
340
|
-
return
|
|
341
|
-
|
|
342
|
-
headers: headers,
|
|
343
|
-
}).then(function (response) {
|
|
344
|
-
return Result.GetDatastoreNamespaceMetricsResult.fromDict(response.data);
|
|
345
|
-
}).catch(function (error) {
|
|
346
|
-
throw JSON.parse(error.response.data.message);
|
|
263
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
264
|
+
return Result.GetDatastoreNamespaceMetricsResult.fromDict(data);
|
|
347
265
|
});
|
|
348
266
|
};
|
|
349
267
|
Gs2WatchRestClient.prototype.describeDictionaryNamespaceMetrics = function (request) {
|
|
@@ -358,13 +276,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
358
276
|
var params = {
|
|
359
277
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
360
278
|
};
|
|
361
|
-
return
|
|
362
|
-
|
|
363
|
-
headers: headers,
|
|
364
|
-
}).then(function (response) {
|
|
365
|
-
return Result.DescribeDictionaryNamespaceMetricsResult.fromDict(response.data);
|
|
366
|
-
}).catch(function (error) {
|
|
367
|
-
throw JSON.parse(error.response.data.message);
|
|
279
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
280
|
+
return Result.DescribeDictionaryNamespaceMetricsResult.fromDict(data);
|
|
368
281
|
});
|
|
369
282
|
};
|
|
370
283
|
Gs2WatchRestClient.prototype.getDictionaryNamespaceMetrics = function (request) {
|
|
@@ -380,13 +293,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
380
293
|
var params = {
|
|
381
294
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
382
295
|
};
|
|
383
|
-
return
|
|
384
|
-
|
|
385
|
-
headers: headers,
|
|
386
|
-
}).then(function (response) {
|
|
387
|
-
return Result.GetDictionaryNamespaceMetricsResult.fromDict(response.data);
|
|
388
|
-
}).catch(function (error) {
|
|
389
|
-
throw JSON.parse(error.response.data.message);
|
|
296
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
297
|
+
return Result.GetDictionaryNamespaceMetricsResult.fromDict(data);
|
|
390
298
|
});
|
|
391
299
|
};
|
|
392
300
|
Gs2WatchRestClient.prototype.describeExchangeRateModelMetrics = function (request) {
|
|
@@ -402,13 +310,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
402
310
|
var params = {
|
|
403
311
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
404
312
|
};
|
|
405
|
-
return
|
|
406
|
-
|
|
407
|
-
headers: headers,
|
|
408
|
-
}).then(function (response) {
|
|
409
|
-
return Result.DescribeExchangeRateModelMetricsResult.fromDict(response.data);
|
|
410
|
-
}).catch(function (error) {
|
|
411
|
-
throw JSON.parse(error.response.data.message);
|
|
313
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
314
|
+
return Result.DescribeExchangeRateModelMetricsResult.fromDict(data);
|
|
412
315
|
});
|
|
413
316
|
};
|
|
414
317
|
Gs2WatchRestClient.prototype.getExchangeRateModelMetrics = function (request) {
|
|
@@ -425,13 +328,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
425
328
|
var params = {
|
|
426
329
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
427
330
|
};
|
|
428
|
-
return
|
|
429
|
-
|
|
430
|
-
headers: headers,
|
|
431
|
-
}).then(function (response) {
|
|
432
|
-
return Result.GetExchangeRateModelMetricsResult.fromDict(response.data);
|
|
433
|
-
}).catch(function (error) {
|
|
434
|
-
throw JSON.parse(error.response.data.message);
|
|
331
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
332
|
+
return Result.GetExchangeRateModelMetricsResult.fromDict(data);
|
|
435
333
|
});
|
|
436
334
|
};
|
|
437
335
|
Gs2WatchRestClient.prototype.describeExchangeNamespaceMetrics = function (request) {
|
|
@@ -446,13 +344,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
446
344
|
var params = {
|
|
447
345
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
448
346
|
};
|
|
449
|
-
return
|
|
450
|
-
|
|
451
|
-
headers: headers,
|
|
452
|
-
}).then(function (response) {
|
|
453
|
-
return Result.DescribeExchangeNamespaceMetricsResult.fromDict(response.data);
|
|
454
|
-
}).catch(function (error) {
|
|
455
|
-
throw JSON.parse(error.response.data.message);
|
|
347
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
348
|
+
return Result.DescribeExchangeNamespaceMetricsResult.fromDict(data);
|
|
456
349
|
});
|
|
457
350
|
};
|
|
458
351
|
Gs2WatchRestClient.prototype.getExchangeNamespaceMetrics = function (request) {
|
|
@@ -468,13 +361,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
468
361
|
var params = {
|
|
469
362
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
470
363
|
};
|
|
471
|
-
return
|
|
472
|
-
|
|
473
|
-
headers: headers,
|
|
474
|
-
}).then(function (response) {
|
|
475
|
-
return Result.GetExchangeNamespaceMetricsResult.fromDict(response.data);
|
|
476
|
-
}).catch(function (error) {
|
|
477
|
-
throw JSON.parse(error.response.data.message);
|
|
364
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
365
|
+
return Result.GetExchangeNamespaceMetricsResult.fromDict(data);
|
|
478
366
|
});
|
|
479
367
|
};
|
|
480
368
|
Gs2WatchRestClient.prototype.describeExperienceStatusMetrics = function (request) {
|
|
@@ -491,13 +379,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
491
379
|
var params = {
|
|
492
380
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
493
381
|
};
|
|
494
|
-
return
|
|
495
|
-
|
|
496
|
-
headers: headers,
|
|
497
|
-
}).then(function (response) {
|
|
498
|
-
return Result.DescribeExperienceStatusMetricsResult.fromDict(response.data);
|
|
499
|
-
}).catch(function (error) {
|
|
500
|
-
throw JSON.parse(error.response.data.message);
|
|
382
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
383
|
+
return Result.DescribeExperienceStatusMetricsResult.fromDict(data);
|
|
501
384
|
});
|
|
502
385
|
};
|
|
503
386
|
Gs2WatchRestClient.prototype.describeExperienceExperienceModelMetrics = function (request) {
|
|
@@ -513,13 +396,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
513
396
|
var params = {
|
|
514
397
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
515
398
|
};
|
|
516
|
-
return
|
|
517
|
-
|
|
518
|
-
headers: headers,
|
|
519
|
-
}).then(function (response) {
|
|
520
|
-
return Result.DescribeExperienceExperienceModelMetricsResult.fromDict(response.data);
|
|
521
|
-
}).catch(function (error) {
|
|
522
|
-
throw JSON.parse(error.response.data.message);
|
|
399
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
400
|
+
return Result.DescribeExperienceExperienceModelMetricsResult.fromDict(data);
|
|
523
401
|
});
|
|
524
402
|
};
|
|
525
403
|
Gs2WatchRestClient.prototype.getExperienceExperienceModelMetrics = function (request) {
|
|
@@ -536,13 +414,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
536
414
|
var params = {
|
|
537
415
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
538
416
|
};
|
|
539
|
-
return
|
|
540
|
-
|
|
541
|
-
headers: headers,
|
|
542
|
-
}).then(function (response) {
|
|
543
|
-
return Result.GetExperienceExperienceModelMetricsResult.fromDict(response.data);
|
|
544
|
-
}).catch(function (error) {
|
|
545
|
-
throw JSON.parse(error.response.data.message);
|
|
417
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
418
|
+
return Result.GetExperienceExperienceModelMetricsResult.fromDict(data);
|
|
546
419
|
});
|
|
547
420
|
};
|
|
548
421
|
Gs2WatchRestClient.prototype.describeExperienceNamespaceMetrics = function (request) {
|
|
@@ -557,13 +430,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
557
430
|
var params = {
|
|
558
431
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
559
432
|
};
|
|
560
|
-
return
|
|
561
|
-
|
|
562
|
-
headers: headers,
|
|
563
|
-
}).then(function (response) {
|
|
564
|
-
return Result.DescribeExperienceNamespaceMetricsResult.fromDict(response.data);
|
|
565
|
-
}).catch(function (error) {
|
|
566
|
-
throw JSON.parse(error.response.data.message);
|
|
433
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
434
|
+
return Result.DescribeExperienceNamespaceMetricsResult.fromDict(data);
|
|
567
435
|
});
|
|
568
436
|
};
|
|
569
437
|
Gs2WatchRestClient.prototype.getExperienceNamespaceMetrics = function (request) {
|
|
@@ -579,13 +447,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
579
447
|
var params = {
|
|
580
448
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
581
449
|
};
|
|
582
|
-
return
|
|
583
|
-
|
|
584
|
-
headers: headers,
|
|
585
|
-
}).then(function (response) {
|
|
586
|
-
return Result.GetExperienceNamespaceMetricsResult.fromDict(response.data);
|
|
587
|
-
}).catch(function (error) {
|
|
588
|
-
throw JSON.parse(error.response.data.message);
|
|
450
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
451
|
+
return Result.GetExperienceNamespaceMetricsResult.fromDict(data);
|
|
589
452
|
});
|
|
590
453
|
};
|
|
591
454
|
Gs2WatchRestClient.prototype.describeFormationFormMetrics = function (request) {
|
|
@@ -602,13 +465,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
602
465
|
var params = {
|
|
603
466
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
604
467
|
};
|
|
605
|
-
return
|
|
606
|
-
|
|
607
|
-
headers: headers,
|
|
608
|
-
}).then(function (response) {
|
|
609
|
-
return Result.DescribeFormationFormMetricsResult.fromDict(response.data);
|
|
610
|
-
}).catch(function (error) {
|
|
611
|
-
throw JSON.parse(error.response.data.message);
|
|
468
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
469
|
+
return Result.DescribeFormationFormMetricsResult.fromDict(data);
|
|
612
470
|
});
|
|
613
471
|
};
|
|
614
472
|
Gs2WatchRestClient.prototype.describeFormationMoldMetrics = function (request) {
|
|
@@ -624,13 +482,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
624
482
|
var params = {
|
|
625
483
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
626
484
|
};
|
|
627
|
-
return
|
|
628
|
-
|
|
629
|
-
headers: headers,
|
|
630
|
-
}).then(function (response) {
|
|
631
|
-
return Result.DescribeFormationMoldMetricsResult.fromDict(response.data);
|
|
632
|
-
}).catch(function (error) {
|
|
633
|
-
throw JSON.parse(error.response.data.message);
|
|
485
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
486
|
+
return Result.DescribeFormationMoldMetricsResult.fromDict(data);
|
|
634
487
|
});
|
|
635
488
|
};
|
|
636
489
|
Gs2WatchRestClient.prototype.describeFormationNamespaceMetrics = function (request) {
|
|
@@ -645,13 +498,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
645
498
|
var params = {
|
|
646
499
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
647
500
|
};
|
|
648
|
-
return
|
|
649
|
-
|
|
650
|
-
headers: headers,
|
|
651
|
-
}).then(function (response) {
|
|
652
|
-
return Result.DescribeFormationNamespaceMetricsResult.fromDict(response.data);
|
|
653
|
-
}).catch(function (error) {
|
|
654
|
-
throw JSON.parse(error.response.data.message);
|
|
501
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
502
|
+
return Result.DescribeFormationNamespaceMetricsResult.fromDict(data);
|
|
655
503
|
});
|
|
656
504
|
};
|
|
657
505
|
Gs2WatchRestClient.prototype.getFormationNamespaceMetrics = function (request) {
|
|
@@ -667,13 +515,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
667
515
|
var params = {
|
|
668
516
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
669
517
|
};
|
|
670
|
-
return
|
|
671
|
-
|
|
672
|
-
headers: headers,
|
|
673
|
-
}).then(function (response) {
|
|
674
|
-
return Result.GetFormationNamespaceMetricsResult.fromDict(response.data);
|
|
675
|
-
}).catch(function (error) {
|
|
676
|
-
throw JSON.parse(error.response.data.message);
|
|
518
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
519
|
+
return Result.GetFormationNamespaceMetricsResult.fromDict(data);
|
|
677
520
|
});
|
|
678
521
|
};
|
|
679
522
|
Gs2WatchRestClient.prototype.describeFriendNamespaceMetrics = function (request) {
|
|
@@ -688,13 +531,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
688
531
|
var params = {
|
|
689
532
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
690
533
|
};
|
|
691
|
-
return
|
|
692
|
-
|
|
693
|
-
headers: headers,
|
|
694
|
-
}).then(function (response) {
|
|
695
|
-
return Result.DescribeFriendNamespaceMetricsResult.fromDict(response.data);
|
|
696
|
-
}).catch(function (error) {
|
|
697
|
-
throw JSON.parse(error.response.data.message);
|
|
534
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
535
|
+
return Result.DescribeFriendNamespaceMetricsResult.fromDict(data);
|
|
698
536
|
});
|
|
699
537
|
};
|
|
700
538
|
Gs2WatchRestClient.prototype.getFriendNamespaceMetrics = function (request) {
|
|
@@ -710,13 +548,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
710
548
|
var params = {
|
|
711
549
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
712
550
|
};
|
|
713
|
-
return
|
|
714
|
-
|
|
715
|
-
headers: headers,
|
|
716
|
-
}).then(function (response) {
|
|
717
|
-
return Result.GetFriendNamespaceMetricsResult.fromDict(response.data);
|
|
718
|
-
}).catch(function (error) {
|
|
719
|
-
throw JSON.parse(error.response.data.message);
|
|
551
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
552
|
+
return Result.GetFriendNamespaceMetricsResult.fromDict(data);
|
|
720
553
|
});
|
|
721
554
|
};
|
|
722
555
|
Gs2WatchRestClient.prototype.describeInboxNamespaceMetrics = function (request) {
|
|
@@ -731,13 +564,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
731
564
|
var params = {
|
|
732
565
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
733
566
|
};
|
|
734
|
-
return
|
|
735
|
-
|
|
736
|
-
headers: headers,
|
|
737
|
-
}).then(function (response) {
|
|
738
|
-
return Result.DescribeInboxNamespaceMetricsResult.fromDict(response.data);
|
|
739
|
-
}).catch(function (error) {
|
|
740
|
-
throw JSON.parse(error.response.data.message);
|
|
567
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
568
|
+
return Result.DescribeInboxNamespaceMetricsResult.fromDict(data);
|
|
741
569
|
});
|
|
742
570
|
};
|
|
743
571
|
Gs2WatchRestClient.prototype.getInboxNamespaceMetrics = function (request) {
|
|
@@ -753,13 +581,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
753
581
|
var params = {
|
|
754
582
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
755
583
|
};
|
|
756
|
-
return
|
|
757
|
-
|
|
758
|
-
headers: headers,
|
|
759
|
-
}).then(function (response) {
|
|
760
|
-
return Result.GetInboxNamespaceMetricsResult.fromDict(response.data);
|
|
761
|
-
}).catch(function (error) {
|
|
762
|
-
throw JSON.parse(error.response.data.message);
|
|
584
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
585
|
+
return Result.GetInboxNamespaceMetricsResult.fromDict(data);
|
|
763
586
|
});
|
|
764
587
|
};
|
|
765
588
|
Gs2WatchRestClient.prototype.describeInventoryItemSetMetrics = function (request) {
|
|
@@ -776,13 +599,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
776
599
|
var params = {
|
|
777
600
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
778
601
|
};
|
|
779
|
-
return
|
|
780
|
-
|
|
781
|
-
headers: headers,
|
|
782
|
-
}).then(function (response) {
|
|
783
|
-
return Result.DescribeInventoryItemSetMetricsResult.fromDict(response.data);
|
|
784
|
-
}).catch(function (error) {
|
|
785
|
-
throw JSON.parse(error.response.data.message);
|
|
602
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
603
|
+
return Result.DescribeInventoryItemSetMetricsResult.fromDict(data);
|
|
786
604
|
});
|
|
787
605
|
};
|
|
788
606
|
Gs2WatchRestClient.prototype.describeInventoryInventoryMetrics = function (request) {
|
|
@@ -798,13 +616,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
798
616
|
var params = {
|
|
799
617
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
800
618
|
};
|
|
801
|
-
return
|
|
802
|
-
|
|
803
|
-
headers: headers,
|
|
804
|
-
}).then(function (response) {
|
|
805
|
-
return Result.DescribeInventoryInventoryMetricsResult.fromDict(response.data);
|
|
806
|
-
}).catch(function (error) {
|
|
807
|
-
throw JSON.parse(error.response.data.message);
|
|
619
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
620
|
+
return Result.DescribeInventoryInventoryMetricsResult.fromDict(data);
|
|
808
621
|
});
|
|
809
622
|
};
|
|
810
623
|
Gs2WatchRestClient.prototype.describeInventoryNamespaceMetrics = function (request) {
|
|
@@ -819,13 +632,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
819
632
|
var params = {
|
|
820
633
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
821
634
|
};
|
|
822
|
-
return
|
|
823
|
-
|
|
824
|
-
headers: headers,
|
|
825
|
-
}).then(function (response) {
|
|
826
|
-
return Result.DescribeInventoryNamespaceMetricsResult.fromDict(response.data);
|
|
827
|
-
}).catch(function (error) {
|
|
828
|
-
throw JSON.parse(error.response.data.message);
|
|
635
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
636
|
+
return Result.DescribeInventoryNamespaceMetricsResult.fromDict(data);
|
|
829
637
|
});
|
|
830
638
|
};
|
|
831
639
|
Gs2WatchRestClient.prototype.getInventoryNamespaceMetrics = function (request) {
|
|
@@ -841,13 +649,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
841
649
|
var params = {
|
|
842
650
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
843
651
|
};
|
|
844
|
-
return
|
|
845
|
-
|
|
846
|
-
headers: headers,
|
|
847
|
-
}).then(function (response) {
|
|
848
|
-
return Result.GetInventoryNamespaceMetricsResult.fromDict(response.data);
|
|
849
|
-
}).catch(function (error) {
|
|
850
|
-
throw JSON.parse(error.response.data.message);
|
|
652
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
653
|
+
return Result.GetInventoryNamespaceMetricsResult.fromDict(data);
|
|
851
654
|
});
|
|
852
655
|
};
|
|
853
656
|
Gs2WatchRestClient.prototype.describeKeyNamespaceMetrics = function (request) {
|
|
@@ -862,13 +665,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
862
665
|
var params = {
|
|
863
666
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
864
667
|
};
|
|
865
|
-
return
|
|
866
|
-
|
|
867
|
-
headers: headers,
|
|
868
|
-
}).then(function (response) {
|
|
869
|
-
return Result.DescribeKeyNamespaceMetricsResult.fromDict(response.data);
|
|
870
|
-
}).catch(function (error) {
|
|
871
|
-
throw JSON.parse(error.response.data.message);
|
|
668
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
669
|
+
return Result.DescribeKeyNamespaceMetricsResult.fromDict(data);
|
|
872
670
|
});
|
|
873
671
|
};
|
|
874
672
|
Gs2WatchRestClient.prototype.getKeyNamespaceMetrics = function (request) {
|
|
@@ -884,13 +682,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
884
682
|
var params = {
|
|
885
683
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
886
684
|
};
|
|
887
|
-
return
|
|
888
|
-
|
|
889
|
-
headers: headers,
|
|
890
|
-
}).then(function (response) {
|
|
891
|
-
return Result.GetKeyNamespaceMetricsResult.fromDict(response.data);
|
|
892
|
-
}).catch(function (error) {
|
|
893
|
-
throw JSON.parse(error.response.data.message);
|
|
685
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
686
|
+
return Result.GetKeyNamespaceMetricsResult.fromDict(data);
|
|
894
687
|
});
|
|
895
688
|
};
|
|
896
689
|
Gs2WatchRestClient.prototype.describeLimitCounterMetrics = function (request) {
|
|
@@ -907,13 +700,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
907
700
|
var params = {
|
|
908
701
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
909
702
|
};
|
|
910
|
-
return
|
|
911
|
-
|
|
912
|
-
headers: headers,
|
|
913
|
-
}).then(function (response) {
|
|
914
|
-
return Result.DescribeLimitCounterMetricsResult.fromDict(response.data);
|
|
915
|
-
}).catch(function (error) {
|
|
916
|
-
throw JSON.parse(error.response.data.message);
|
|
703
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
704
|
+
return Result.DescribeLimitCounterMetricsResult.fromDict(data);
|
|
917
705
|
});
|
|
918
706
|
};
|
|
919
707
|
Gs2WatchRestClient.prototype.describeLimitLimitModelMetrics = function (request) {
|
|
@@ -929,13 +717,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
929
717
|
var params = {
|
|
930
718
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
931
719
|
};
|
|
932
|
-
return
|
|
933
|
-
|
|
934
|
-
headers: headers,
|
|
935
|
-
}).then(function (response) {
|
|
936
|
-
return Result.DescribeLimitLimitModelMetricsResult.fromDict(response.data);
|
|
937
|
-
}).catch(function (error) {
|
|
938
|
-
throw JSON.parse(error.response.data.message);
|
|
720
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
721
|
+
return Result.DescribeLimitLimitModelMetricsResult.fromDict(data);
|
|
939
722
|
});
|
|
940
723
|
};
|
|
941
724
|
Gs2WatchRestClient.prototype.getLimitLimitModelMetrics = function (request) {
|
|
@@ -952,13 +735,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
952
735
|
var params = {
|
|
953
736
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
954
737
|
};
|
|
955
|
-
return
|
|
956
|
-
|
|
957
|
-
headers: headers,
|
|
958
|
-
}).then(function (response) {
|
|
959
|
-
return Result.GetLimitLimitModelMetricsResult.fromDict(response.data);
|
|
960
|
-
}).catch(function (error) {
|
|
961
|
-
throw JSON.parse(error.response.data.message);
|
|
738
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
739
|
+
return Result.GetLimitLimitModelMetricsResult.fromDict(data);
|
|
962
740
|
});
|
|
963
741
|
};
|
|
964
742
|
Gs2WatchRestClient.prototype.describeLimitNamespaceMetrics = function (request) {
|
|
@@ -973,13 +751,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
973
751
|
var params = {
|
|
974
752
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
975
753
|
};
|
|
976
|
-
return
|
|
977
|
-
|
|
978
|
-
headers: headers,
|
|
979
|
-
}).then(function (response) {
|
|
980
|
-
return Result.DescribeLimitNamespaceMetricsResult.fromDict(response.data);
|
|
981
|
-
}).catch(function (error) {
|
|
982
|
-
throw JSON.parse(error.response.data.message);
|
|
754
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
755
|
+
return Result.DescribeLimitNamespaceMetricsResult.fromDict(data);
|
|
983
756
|
});
|
|
984
757
|
};
|
|
985
758
|
Gs2WatchRestClient.prototype.getLimitNamespaceMetrics = function (request) {
|
|
@@ -995,13 +768,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
995
768
|
var params = {
|
|
996
769
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
997
770
|
};
|
|
998
|
-
return
|
|
999
|
-
|
|
1000
|
-
headers: headers,
|
|
1001
|
-
}).then(function (response) {
|
|
1002
|
-
return Result.GetLimitNamespaceMetricsResult.fromDict(response.data);
|
|
1003
|
-
}).catch(function (error) {
|
|
1004
|
-
throw JSON.parse(error.response.data.message);
|
|
771
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
772
|
+
return Result.GetLimitNamespaceMetricsResult.fromDict(data);
|
|
1005
773
|
});
|
|
1006
774
|
};
|
|
1007
775
|
Gs2WatchRestClient.prototype.describeLotteryLotteryMetrics = function (request) {
|
|
@@ -1017,13 +785,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1017
785
|
var params = {
|
|
1018
786
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1019
787
|
};
|
|
1020
|
-
return
|
|
1021
|
-
|
|
1022
|
-
headers: headers,
|
|
1023
|
-
}).then(function (response) {
|
|
1024
|
-
return Result.DescribeLotteryLotteryMetricsResult.fromDict(response.data);
|
|
1025
|
-
}).catch(function (error) {
|
|
1026
|
-
throw JSON.parse(error.response.data.message);
|
|
788
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
789
|
+
return Result.DescribeLotteryLotteryMetricsResult.fromDict(data);
|
|
1027
790
|
});
|
|
1028
791
|
};
|
|
1029
792
|
Gs2WatchRestClient.prototype.getLotteryLotteryMetrics = function (request) {
|
|
@@ -1040,13 +803,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1040
803
|
var params = {
|
|
1041
804
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1042
805
|
};
|
|
1043
|
-
return
|
|
1044
|
-
|
|
1045
|
-
headers: headers,
|
|
1046
|
-
}).then(function (response) {
|
|
1047
|
-
return Result.GetLotteryLotteryMetricsResult.fromDict(response.data);
|
|
1048
|
-
}).catch(function (error) {
|
|
1049
|
-
throw JSON.parse(error.response.data.message);
|
|
806
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
807
|
+
return Result.GetLotteryLotteryMetricsResult.fromDict(data);
|
|
1050
808
|
});
|
|
1051
809
|
};
|
|
1052
810
|
Gs2WatchRestClient.prototype.describeLotteryNamespaceMetrics = function (request) {
|
|
@@ -1061,13 +819,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1061
819
|
var params = {
|
|
1062
820
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1063
821
|
};
|
|
1064
|
-
return
|
|
1065
|
-
|
|
1066
|
-
headers: headers,
|
|
1067
|
-
}).then(function (response) {
|
|
1068
|
-
return Result.DescribeLotteryNamespaceMetricsResult.fromDict(response.data);
|
|
1069
|
-
}).catch(function (error) {
|
|
1070
|
-
throw JSON.parse(error.response.data.message);
|
|
822
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
823
|
+
return Result.DescribeLotteryNamespaceMetricsResult.fromDict(data);
|
|
1071
824
|
});
|
|
1072
825
|
};
|
|
1073
826
|
Gs2WatchRestClient.prototype.getLotteryNamespaceMetrics = function (request) {
|
|
@@ -1083,13 +836,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1083
836
|
var params = {
|
|
1084
837
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1085
838
|
};
|
|
1086
|
-
return
|
|
1087
|
-
|
|
1088
|
-
headers: headers,
|
|
1089
|
-
}).then(function (response) {
|
|
1090
|
-
return Result.GetLotteryNamespaceMetricsResult.fromDict(response.data);
|
|
1091
|
-
}).catch(function (error) {
|
|
1092
|
-
throw JSON.parse(error.response.data.message);
|
|
839
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
840
|
+
return Result.GetLotteryNamespaceMetricsResult.fromDict(data);
|
|
1093
841
|
});
|
|
1094
842
|
};
|
|
1095
843
|
Gs2WatchRestClient.prototype.describeMatchmakingNamespaceMetrics = function (request) {
|
|
@@ -1104,13 +852,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1104
852
|
var params = {
|
|
1105
853
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1106
854
|
};
|
|
1107
|
-
return
|
|
1108
|
-
|
|
1109
|
-
headers: headers,
|
|
1110
|
-
}).then(function (response) {
|
|
1111
|
-
return Result.DescribeMatchmakingNamespaceMetricsResult.fromDict(response.data);
|
|
1112
|
-
}).catch(function (error) {
|
|
1113
|
-
throw JSON.parse(error.response.data.message);
|
|
855
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
856
|
+
return Result.DescribeMatchmakingNamespaceMetricsResult.fromDict(data);
|
|
1114
857
|
});
|
|
1115
858
|
};
|
|
1116
859
|
Gs2WatchRestClient.prototype.getMatchmakingNamespaceMetrics = function (request) {
|
|
@@ -1126,13 +869,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1126
869
|
var params = {
|
|
1127
870
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1128
871
|
};
|
|
1129
|
-
return
|
|
1130
|
-
|
|
1131
|
-
headers: headers,
|
|
1132
|
-
}).then(function (response) {
|
|
1133
|
-
return Result.GetMatchmakingNamespaceMetricsResult.fromDict(response.data);
|
|
1134
|
-
}).catch(function (error) {
|
|
1135
|
-
throw JSON.parse(error.response.data.message);
|
|
872
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
873
|
+
return Result.GetMatchmakingNamespaceMetricsResult.fromDict(data);
|
|
1136
874
|
});
|
|
1137
875
|
};
|
|
1138
876
|
Gs2WatchRestClient.prototype.describeMissionCounterMetrics = function (request) {
|
|
@@ -1148,13 +886,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1148
886
|
var params = {
|
|
1149
887
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1150
888
|
};
|
|
1151
|
-
return
|
|
1152
|
-
|
|
1153
|
-
headers: headers,
|
|
1154
|
-
}).then(function (response) {
|
|
1155
|
-
return Result.DescribeMissionCounterMetricsResult.fromDict(response.data);
|
|
1156
|
-
}).catch(function (error) {
|
|
1157
|
-
throw JSON.parse(error.response.data.message);
|
|
889
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
890
|
+
return Result.DescribeMissionCounterMetricsResult.fromDict(data);
|
|
1158
891
|
});
|
|
1159
892
|
};
|
|
1160
893
|
Gs2WatchRestClient.prototype.describeMissionMissionGroupModelMetrics = function (request) {
|
|
@@ -1170,13 +903,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1170
903
|
var params = {
|
|
1171
904
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1172
905
|
};
|
|
1173
|
-
return
|
|
1174
|
-
|
|
1175
|
-
headers: headers,
|
|
1176
|
-
}).then(function (response) {
|
|
1177
|
-
return Result.DescribeMissionMissionGroupModelMetricsResult.fromDict(response.data);
|
|
1178
|
-
}).catch(function (error) {
|
|
1179
|
-
throw JSON.parse(error.response.data.message);
|
|
906
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
907
|
+
return Result.DescribeMissionMissionGroupModelMetricsResult.fromDict(data);
|
|
1180
908
|
});
|
|
1181
909
|
};
|
|
1182
910
|
Gs2WatchRestClient.prototype.getMissionMissionGroupModelMetrics = function (request) {
|
|
@@ -1193,13 +921,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1193
921
|
var params = {
|
|
1194
922
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1195
923
|
};
|
|
1196
|
-
return
|
|
1197
|
-
|
|
1198
|
-
headers: headers,
|
|
1199
|
-
}).then(function (response) {
|
|
1200
|
-
return Result.GetMissionMissionGroupModelMetricsResult.fromDict(response.data);
|
|
1201
|
-
}).catch(function (error) {
|
|
1202
|
-
throw JSON.parse(error.response.data.message);
|
|
924
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
925
|
+
return Result.GetMissionMissionGroupModelMetricsResult.fromDict(data);
|
|
1203
926
|
});
|
|
1204
927
|
};
|
|
1205
928
|
Gs2WatchRestClient.prototype.describeMissionNamespaceMetrics = function (request) {
|
|
@@ -1214,13 +937,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1214
937
|
var params = {
|
|
1215
938
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1216
939
|
};
|
|
1217
|
-
return
|
|
1218
|
-
|
|
1219
|
-
headers: headers,
|
|
1220
|
-
}).then(function (response) {
|
|
1221
|
-
return Result.DescribeMissionNamespaceMetricsResult.fromDict(response.data);
|
|
1222
|
-
}).catch(function (error) {
|
|
1223
|
-
throw JSON.parse(error.response.data.message);
|
|
940
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
941
|
+
return Result.DescribeMissionNamespaceMetricsResult.fromDict(data);
|
|
1224
942
|
});
|
|
1225
943
|
};
|
|
1226
944
|
Gs2WatchRestClient.prototype.getMissionNamespaceMetrics = function (request) {
|
|
@@ -1236,13 +954,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1236
954
|
var params = {
|
|
1237
955
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1238
956
|
};
|
|
1239
|
-
return
|
|
1240
|
-
|
|
1241
|
-
headers: headers,
|
|
1242
|
-
}).then(function (response) {
|
|
1243
|
-
return Result.GetMissionNamespaceMetricsResult.fromDict(response.data);
|
|
1244
|
-
}).catch(function (error) {
|
|
1245
|
-
throw JSON.parse(error.response.data.message);
|
|
957
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
958
|
+
return Result.GetMissionNamespaceMetricsResult.fromDict(data);
|
|
1246
959
|
});
|
|
1247
960
|
};
|
|
1248
961
|
Gs2WatchRestClient.prototype.describeMoneyWalletMetrics = function (request) {
|
|
@@ -1258,13 +971,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1258
971
|
var params = {
|
|
1259
972
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1260
973
|
};
|
|
1261
|
-
return
|
|
1262
|
-
|
|
1263
|
-
headers: headers,
|
|
1264
|
-
}).then(function (response) {
|
|
1265
|
-
return Result.DescribeMoneyWalletMetricsResult.fromDict(response.data);
|
|
1266
|
-
}).catch(function (error) {
|
|
1267
|
-
throw JSON.parse(error.response.data.message);
|
|
974
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
975
|
+
return Result.DescribeMoneyWalletMetricsResult.fromDict(data);
|
|
1268
976
|
});
|
|
1269
977
|
};
|
|
1270
978
|
Gs2WatchRestClient.prototype.describeMoneyReceiptMetrics = function (request) {
|
|
@@ -1280,13 +988,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1280
988
|
var params = {
|
|
1281
989
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1282
990
|
};
|
|
1283
|
-
return
|
|
1284
|
-
|
|
1285
|
-
headers: headers,
|
|
1286
|
-
}).then(function (response) {
|
|
1287
|
-
return Result.DescribeMoneyReceiptMetricsResult.fromDict(response.data);
|
|
1288
|
-
}).catch(function (error) {
|
|
1289
|
-
throw JSON.parse(error.response.data.message);
|
|
991
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
992
|
+
return Result.DescribeMoneyReceiptMetricsResult.fromDict(data);
|
|
1290
993
|
});
|
|
1291
994
|
};
|
|
1292
995
|
Gs2WatchRestClient.prototype.describeMoneyNamespaceMetrics = function (request) {
|
|
@@ -1301,13 +1004,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1301
1004
|
var params = {
|
|
1302
1005
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1303
1006
|
};
|
|
1304
|
-
return
|
|
1305
|
-
|
|
1306
|
-
headers: headers,
|
|
1307
|
-
}).then(function (response) {
|
|
1308
|
-
return Result.DescribeMoneyNamespaceMetricsResult.fromDict(response.data);
|
|
1309
|
-
}).catch(function (error) {
|
|
1310
|
-
throw JSON.parse(error.response.data.message);
|
|
1007
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1008
|
+
return Result.DescribeMoneyNamespaceMetricsResult.fromDict(data);
|
|
1311
1009
|
});
|
|
1312
1010
|
};
|
|
1313
1011
|
Gs2WatchRestClient.prototype.getMoneyNamespaceMetrics = function (request) {
|
|
@@ -1323,13 +1021,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1323
1021
|
var params = {
|
|
1324
1022
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1325
1023
|
};
|
|
1326
|
-
return
|
|
1327
|
-
|
|
1328
|
-
headers: headers,
|
|
1329
|
-
}).then(function (response) {
|
|
1330
|
-
return Result.GetMoneyNamespaceMetricsResult.fromDict(response.data);
|
|
1331
|
-
}).catch(function (error) {
|
|
1332
|
-
throw JSON.parse(error.response.data.message);
|
|
1024
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1025
|
+
return Result.GetMoneyNamespaceMetricsResult.fromDict(data);
|
|
1333
1026
|
});
|
|
1334
1027
|
};
|
|
1335
1028
|
Gs2WatchRestClient.prototype.describeQuestQuestModelMetrics = function (request) {
|
|
@@ -1346,13 +1039,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1346
1039
|
var params = {
|
|
1347
1040
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1348
1041
|
};
|
|
1349
|
-
return
|
|
1350
|
-
|
|
1351
|
-
headers: headers,
|
|
1352
|
-
}).then(function (response) {
|
|
1353
|
-
return Result.DescribeQuestQuestModelMetricsResult.fromDict(response.data);
|
|
1354
|
-
}).catch(function (error) {
|
|
1355
|
-
throw JSON.parse(error.response.data.message);
|
|
1042
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1043
|
+
return Result.DescribeQuestQuestModelMetricsResult.fromDict(data);
|
|
1356
1044
|
});
|
|
1357
1045
|
};
|
|
1358
1046
|
Gs2WatchRestClient.prototype.getQuestQuestModelMetrics = function (request) {
|
|
@@ -1370,13 +1058,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1370
1058
|
var params = {
|
|
1371
1059
|
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1372
1060
|
};
|
|
1373
|
-
return
|
|
1374
|
-
|
|
1375
|
-
headers: headers,
|
|
1376
|
-
}).then(function (response) {
|
|
1377
|
-
return Result.GetQuestQuestModelMetricsResult.fromDict(response.data);
|
|
1378
|
-
}).catch(function (error) {
|
|
1379
|
-
throw JSON.parse(error.response.data.message);
|
|
1061
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1062
|
+
return Result.GetQuestQuestModelMetricsResult.fromDict(data);
|
|
1380
1063
|
});
|
|
1381
1064
|
};
|
|
1382
1065
|
Gs2WatchRestClient.prototype.describeQuestQuestGroupModelMetrics = function (request) {
|
|
@@ -1392,13 +1075,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1392
1075
|
var params = {
|
|
1393
1076
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1394
1077
|
};
|
|
1395
|
-
return
|
|
1396
|
-
|
|
1397
|
-
headers: headers,
|
|
1398
|
-
}).then(function (response) {
|
|
1399
|
-
return Result.DescribeQuestQuestGroupModelMetricsResult.fromDict(response.data);
|
|
1400
|
-
}).catch(function (error) {
|
|
1401
|
-
throw JSON.parse(error.response.data.message);
|
|
1078
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1079
|
+
return Result.DescribeQuestQuestGroupModelMetricsResult.fromDict(data);
|
|
1402
1080
|
});
|
|
1403
1081
|
};
|
|
1404
1082
|
Gs2WatchRestClient.prototype.getQuestQuestGroupModelMetrics = function (request) {
|
|
@@ -1415,13 +1093,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1415
1093
|
var params = {
|
|
1416
1094
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1417
1095
|
};
|
|
1418
|
-
return
|
|
1419
|
-
|
|
1420
|
-
headers: headers,
|
|
1421
|
-
}).then(function (response) {
|
|
1422
|
-
return Result.GetQuestQuestGroupModelMetricsResult.fromDict(response.data);
|
|
1423
|
-
}).catch(function (error) {
|
|
1424
|
-
throw JSON.parse(error.response.data.message);
|
|
1096
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1097
|
+
return Result.GetQuestQuestGroupModelMetricsResult.fromDict(data);
|
|
1425
1098
|
});
|
|
1426
1099
|
};
|
|
1427
1100
|
Gs2WatchRestClient.prototype.describeQuestNamespaceMetrics = function (request) {
|
|
@@ -1436,13 +1109,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1436
1109
|
var params = {
|
|
1437
1110
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1438
1111
|
};
|
|
1439
|
-
return
|
|
1440
|
-
|
|
1441
|
-
headers: headers,
|
|
1442
|
-
}).then(function (response) {
|
|
1443
|
-
return Result.DescribeQuestNamespaceMetricsResult.fromDict(response.data);
|
|
1444
|
-
}).catch(function (error) {
|
|
1445
|
-
throw JSON.parse(error.response.data.message);
|
|
1112
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1113
|
+
return Result.DescribeQuestNamespaceMetricsResult.fromDict(data);
|
|
1446
1114
|
});
|
|
1447
1115
|
};
|
|
1448
1116
|
Gs2WatchRestClient.prototype.getQuestNamespaceMetrics = function (request) {
|
|
@@ -1458,13 +1126,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1458
1126
|
var params = {
|
|
1459
1127
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1460
1128
|
};
|
|
1461
|
-
return
|
|
1462
|
-
|
|
1463
|
-
headers: headers,
|
|
1464
|
-
}).then(function (response) {
|
|
1465
|
-
return Result.GetQuestNamespaceMetricsResult.fromDict(response.data);
|
|
1466
|
-
}).catch(function (error) {
|
|
1467
|
-
throw JSON.parse(error.response.data.message);
|
|
1129
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1130
|
+
return Result.GetQuestNamespaceMetricsResult.fromDict(data);
|
|
1468
1131
|
});
|
|
1469
1132
|
};
|
|
1470
1133
|
Gs2WatchRestClient.prototype.describeRankingCategoryModelMetrics = function (request) {
|
|
@@ -1480,13 +1143,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1480
1143
|
var params = {
|
|
1481
1144
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1482
1145
|
};
|
|
1483
|
-
return
|
|
1484
|
-
|
|
1485
|
-
headers: headers,
|
|
1486
|
-
}).then(function (response) {
|
|
1487
|
-
return Result.DescribeRankingCategoryModelMetricsResult.fromDict(response.data);
|
|
1488
|
-
}).catch(function (error) {
|
|
1489
|
-
throw JSON.parse(error.response.data.message);
|
|
1146
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1147
|
+
return Result.DescribeRankingCategoryModelMetricsResult.fromDict(data);
|
|
1490
1148
|
});
|
|
1491
1149
|
};
|
|
1492
1150
|
Gs2WatchRestClient.prototype.getRankingCategoryModelMetrics = function (request) {
|
|
@@ -1503,13 +1161,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1503
1161
|
var params = {
|
|
1504
1162
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1505
1163
|
};
|
|
1506
|
-
return
|
|
1507
|
-
|
|
1508
|
-
headers: headers,
|
|
1509
|
-
}).then(function (response) {
|
|
1510
|
-
return Result.GetRankingCategoryModelMetricsResult.fromDict(response.data);
|
|
1511
|
-
}).catch(function (error) {
|
|
1512
|
-
throw JSON.parse(error.response.data.message);
|
|
1164
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1165
|
+
return Result.GetRankingCategoryModelMetricsResult.fromDict(data);
|
|
1513
1166
|
});
|
|
1514
1167
|
};
|
|
1515
1168
|
Gs2WatchRestClient.prototype.describeRankingNamespaceMetrics = function (request) {
|
|
@@ -1524,13 +1177,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1524
1177
|
var params = {
|
|
1525
1178
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1526
1179
|
};
|
|
1527
|
-
return
|
|
1528
|
-
|
|
1529
|
-
headers: headers,
|
|
1530
|
-
}).then(function (response) {
|
|
1531
|
-
return Result.DescribeRankingNamespaceMetricsResult.fromDict(response.data);
|
|
1532
|
-
}).catch(function (error) {
|
|
1533
|
-
throw JSON.parse(error.response.data.message);
|
|
1180
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1181
|
+
return Result.DescribeRankingNamespaceMetricsResult.fromDict(data);
|
|
1534
1182
|
});
|
|
1535
1183
|
};
|
|
1536
1184
|
Gs2WatchRestClient.prototype.getRankingNamespaceMetrics = function (request) {
|
|
@@ -1546,13 +1194,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1546
1194
|
var params = {
|
|
1547
1195
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1548
1196
|
};
|
|
1549
|
-
return
|
|
1550
|
-
|
|
1551
|
-
headers: headers,
|
|
1552
|
-
}).then(function (response) {
|
|
1553
|
-
return Result.GetRankingNamespaceMetricsResult.fromDict(response.data);
|
|
1554
|
-
}).catch(function (error) {
|
|
1555
|
-
throw JSON.parse(error.response.data.message);
|
|
1197
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1198
|
+
return Result.GetRankingNamespaceMetricsResult.fromDict(data);
|
|
1556
1199
|
});
|
|
1557
1200
|
};
|
|
1558
1201
|
Gs2WatchRestClient.prototype.describeShowcaseDisplayItemMetrics = function (request) {
|
|
@@ -1569,13 +1212,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1569
1212
|
var params = {
|
|
1570
1213
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1571
1214
|
};
|
|
1572
|
-
return
|
|
1573
|
-
|
|
1574
|
-
headers: headers,
|
|
1575
|
-
}).then(function (response) {
|
|
1576
|
-
return Result.DescribeShowcaseDisplayItemMetricsResult.fromDict(response.data);
|
|
1577
|
-
}).catch(function (error) {
|
|
1578
|
-
throw JSON.parse(error.response.data.message);
|
|
1215
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1216
|
+
return Result.DescribeShowcaseDisplayItemMetricsResult.fromDict(data);
|
|
1579
1217
|
});
|
|
1580
1218
|
};
|
|
1581
1219
|
Gs2WatchRestClient.prototype.getShowcaseDisplayItemMetrics = function (request) {
|
|
@@ -1593,13 +1231,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1593
1231
|
var params = {
|
|
1594
1232
|
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1595
1233
|
};
|
|
1596
|
-
return
|
|
1597
|
-
|
|
1598
|
-
headers: headers,
|
|
1599
|
-
}).then(function (response) {
|
|
1600
|
-
return Result.GetShowcaseDisplayItemMetricsResult.fromDict(response.data);
|
|
1601
|
-
}).catch(function (error) {
|
|
1602
|
-
throw JSON.parse(error.response.data.message);
|
|
1234
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1235
|
+
return Result.GetShowcaseDisplayItemMetricsResult.fromDict(data);
|
|
1603
1236
|
});
|
|
1604
1237
|
};
|
|
1605
1238
|
Gs2WatchRestClient.prototype.describeShowcaseShowcaseMetrics = function (request) {
|
|
@@ -1615,13 +1248,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1615
1248
|
var params = {
|
|
1616
1249
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1617
1250
|
};
|
|
1618
|
-
return
|
|
1619
|
-
|
|
1620
|
-
headers: headers,
|
|
1621
|
-
}).then(function (response) {
|
|
1622
|
-
return Result.DescribeShowcaseShowcaseMetricsResult.fromDict(response.data);
|
|
1623
|
-
}).catch(function (error) {
|
|
1624
|
-
throw JSON.parse(error.response.data.message);
|
|
1251
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1252
|
+
return Result.DescribeShowcaseShowcaseMetricsResult.fromDict(data);
|
|
1625
1253
|
});
|
|
1626
1254
|
};
|
|
1627
1255
|
Gs2WatchRestClient.prototype.getShowcaseShowcaseMetrics = function (request) {
|
|
@@ -1638,13 +1266,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1638
1266
|
var params = {
|
|
1639
1267
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1640
1268
|
};
|
|
1641
|
-
return
|
|
1642
|
-
|
|
1643
|
-
headers: headers,
|
|
1644
|
-
}).then(function (response) {
|
|
1645
|
-
return Result.GetShowcaseShowcaseMetricsResult.fromDict(response.data);
|
|
1646
|
-
}).catch(function (error) {
|
|
1647
|
-
throw JSON.parse(error.response.data.message);
|
|
1269
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1270
|
+
return Result.GetShowcaseShowcaseMetricsResult.fromDict(data);
|
|
1648
1271
|
});
|
|
1649
1272
|
};
|
|
1650
1273
|
Gs2WatchRestClient.prototype.describeShowcaseNamespaceMetrics = function (request) {
|
|
@@ -1659,13 +1282,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1659
1282
|
var params = {
|
|
1660
1283
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1661
1284
|
};
|
|
1662
|
-
return
|
|
1663
|
-
|
|
1664
|
-
headers: headers,
|
|
1665
|
-
}).then(function (response) {
|
|
1666
|
-
return Result.DescribeShowcaseNamespaceMetricsResult.fromDict(response.data);
|
|
1667
|
-
}).catch(function (error) {
|
|
1668
|
-
throw JSON.parse(error.response.data.message);
|
|
1285
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1286
|
+
return Result.DescribeShowcaseNamespaceMetricsResult.fromDict(data);
|
|
1669
1287
|
});
|
|
1670
1288
|
};
|
|
1671
1289
|
Gs2WatchRestClient.prototype.getShowcaseNamespaceMetrics = function (request) {
|
|
@@ -1681,13 +1299,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1681
1299
|
var params = {
|
|
1682
1300
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1683
1301
|
};
|
|
1684
|
-
return
|
|
1685
|
-
|
|
1686
|
-
headers: headers,
|
|
1687
|
-
}).then(function (response) {
|
|
1688
|
-
return Result.GetShowcaseNamespaceMetricsResult.fromDict(response.data);
|
|
1689
|
-
}).catch(function (error) {
|
|
1690
|
-
throw JSON.parse(error.response.data.message);
|
|
1302
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1303
|
+
return Result.GetShowcaseNamespaceMetricsResult.fromDict(data);
|
|
1691
1304
|
});
|
|
1692
1305
|
};
|
|
1693
1306
|
Gs2WatchRestClient.prototype.describeStaminaStaminaModelMetrics = function (request) {
|
|
@@ -1703,13 +1316,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1703
1316
|
var params = {
|
|
1704
1317
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1705
1318
|
};
|
|
1706
|
-
return
|
|
1707
|
-
|
|
1708
|
-
headers: headers,
|
|
1709
|
-
}).then(function (response) {
|
|
1710
|
-
return Result.DescribeStaminaStaminaModelMetricsResult.fromDict(response.data);
|
|
1711
|
-
}).catch(function (error) {
|
|
1712
|
-
throw JSON.parse(error.response.data.message);
|
|
1319
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1320
|
+
return Result.DescribeStaminaStaminaModelMetricsResult.fromDict(data);
|
|
1713
1321
|
});
|
|
1714
1322
|
};
|
|
1715
1323
|
Gs2WatchRestClient.prototype.getStaminaStaminaModelMetrics = function (request) {
|
|
@@ -1726,13 +1334,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1726
1334
|
var params = {
|
|
1727
1335
|
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1728
1336
|
};
|
|
1729
|
-
return
|
|
1730
|
-
|
|
1731
|
-
headers: headers,
|
|
1732
|
-
}).then(function (response) {
|
|
1733
|
-
return Result.GetStaminaStaminaModelMetricsResult.fromDict(response.data);
|
|
1734
|
-
}).catch(function (error) {
|
|
1735
|
-
throw JSON.parse(error.response.data.message);
|
|
1337
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1338
|
+
return Result.GetStaminaStaminaModelMetricsResult.fromDict(data);
|
|
1736
1339
|
});
|
|
1737
1340
|
};
|
|
1738
1341
|
Gs2WatchRestClient.prototype.describeStaminaNamespaceMetrics = function (request) {
|
|
@@ -1747,13 +1350,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1747
1350
|
var params = {
|
|
1748
1351
|
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1749
1352
|
};
|
|
1750
|
-
return
|
|
1751
|
-
|
|
1752
|
-
headers: headers,
|
|
1753
|
-
}).then(function (response) {
|
|
1754
|
-
return Result.DescribeStaminaNamespaceMetricsResult.fromDict(response.data);
|
|
1755
|
-
}).catch(function (error) {
|
|
1756
|
-
throw JSON.parse(error.response.data.message);
|
|
1353
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1354
|
+
return Result.DescribeStaminaNamespaceMetricsResult.fromDict(data);
|
|
1757
1355
|
});
|
|
1758
1356
|
};
|
|
1759
1357
|
Gs2WatchRestClient.prototype.getStaminaNamespaceMetrics = function (request) {
|
|
@@ -1769,13 +1367,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1769
1367
|
var params = {
|
|
1770
1368
|
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1771
1369
|
};
|
|
1772
|
-
return
|
|
1773
|
-
|
|
1774
|
-
headers: headers,
|
|
1775
|
-
}).then(function (response) {
|
|
1776
|
-
return Result.GetStaminaNamespaceMetricsResult.fromDict(response.data);
|
|
1777
|
-
}).catch(function (error) {
|
|
1778
|
-
throw JSON.parse(error.response.data.message);
|
|
1370
|
+
return this.request('GET', url, headers, params, undefined).then(function (data) {
|
|
1371
|
+
return Result.GetStaminaNamespaceMetricsResult.fromDict(data);
|
|
1779
1372
|
});
|
|
1780
1373
|
};
|
|
1781
1374
|
Gs2WatchRestClient.ENDPOINT_HOST = null;
|