@accelbyte/sdk 0.1.1-alpha.45 → 0.1.1-alpha.47
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/CHANGELOG.md +8 -0
- package/dist/index.browser.es.js +262 -263
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.d.ts +21955 -21984
- package/dist/index.es.js +262 -263
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +262 -263
- package/dist/index.js.map +1 -1
- package/package.json +14 -1
package/dist/index.browser.es.js
CHANGED
|
@@ -6045,8 +6045,8 @@ class Misc$ {
|
|
|
6045
6045
|
if (!this.cache) {
|
|
6046
6046
|
return SdkCache.withoutCache(res);
|
|
6047
6047
|
}
|
|
6048
|
-
const
|
|
6049
|
-
return SdkCache.withCache(
|
|
6048
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6049
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6050
6050
|
}
|
|
6051
6051
|
/**
|
|
6052
6052
|
* List time zones.<br>Other detail info: <ul><li><i>Returns</i>: time zones</li></ul>
|
|
@@ -6059,8 +6059,8 @@ class Misc$ {
|
|
|
6059
6059
|
if (!this.cache) {
|
|
6060
6060
|
return SdkCache.withoutCache(res);
|
|
6061
6061
|
}
|
|
6062
|
-
const
|
|
6063
|
-
return SdkCache.withCache(
|
|
6062
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6063
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6064
6064
|
}
|
|
6065
6065
|
/**
|
|
6066
6066
|
* List languages.<br>Other detail info: <ul><li><i>Returns</i>: language list</li></ul>
|
|
@@ -6073,8 +6073,8 @@ class Misc$ {
|
|
|
6073
6073
|
if (!this.cache) {
|
|
6074
6074
|
return SdkCache.withoutCache(res);
|
|
6075
6075
|
}
|
|
6076
|
-
const
|
|
6077
|
-
return SdkCache.withCache(
|
|
6076
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6077
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6078
6078
|
}
|
|
6079
6079
|
/**
|
|
6080
6080
|
* List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
|
|
@@ -6087,8 +6087,8 @@ class Misc$ {
|
|
|
6087
6087
|
if (!this.cache) {
|
|
6088
6088
|
return SdkCache.withoutCache(res);
|
|
6089
6089
|
}
|
|
6090
|
-
const
|
|
6091
|
-
return SdkCache.withCache(
|
|
6090
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6091
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6092
6092
|
}
|
|
6093
6093
|
}
|
|
6094
6094
|
|
|
@@ -6165,8 +6165,8 @@ class Namespace$ {
|
|
|
6165
6165
|
if (!this.cache) {
|
|
6166
6166
|
return SdkCache.withoutCache(res);
|
|
6167
6167
|
}
|
|
6168
|
-
const
|
|
6169
|
-
return SdkCache.withCache(
|
|
6168
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6169
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6170
6170
|
}
|
|
6171
6171
|
/**
|
|
6172
6172
|
* Get all namespaces.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11303</li><li><i>Returns</i>: list of namespaces</li></ul>
|
|
@@ -6179,8 +6179,8 @@ class Namespace$ {
|
|
|
6179
6179
|
if (!this.cache) {
|
|
6180
6180
|
return SdkCache.withoutCache(res);
|
|
6181
6181
|
}
|
|
6182
|
-
const
|
|
6183
|
-
return SdkCache.withCache(
|
|
6182
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6183
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6184
6184
|
}
|
|
6185
6185
|
}
|
|
6186
6186
|
|
|
@@ -6302,8 +6302,8 @@ class UserProfile$ {
|
|
|
6302
6302
|
if (!this.cache) {
|
|
6303
6303
|
return SdkCache.withoutCache(res);
|
|
6304
6304
|
}
|
|
6305
|
-
const
|
|
6306
|
-
return SdkCache.withCache(
|
|
6305
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6306
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6307
6307
|
}
|
|
6308
6308
|
/**
|
|
6309
6309
|
* Get user public profile by public id.<br>Other detail info: <ul><li><i>Returns</i>: user public profile</li></ul>
|
|
@@ -6316,8 +6316,8 @@ class UserProfile$ {
|
|
|
6316
6316
|
if (!this.cache) {
|
|
6317
6317
|
return SdkCache.withoutCache(res);
|
|
6318
6318
|
}
|
|
6319
|
-
const
|
|
6320
|
-
return SdkCache.withCache(
|
|
6319
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6320
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6321
6321
|
}
|
|
6322
6322
|
/**
|
|
6323
6323
|
* Get my private custom attributes.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Returns</i>: custom attributes</li><li><i>Action code</i>: 11403</li></ul>
|
|
@@ -6330,8 +6330,8 @@ class UserProfile$ {
|
|
|
6330
6330
|
if (!this.cache) {
|
|
6331
6331
|
return SdkCache.withoutCache(res);
|
|
6332
6332
|
}
|
|
6333
|
-
const
|
|
6334
|
-
return SdkCache.withCache(
|
|
6333
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6334
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6335
6335
|
}
|
|
6336
6336
|
/**
|
|
6337
6337
|
* Update partially private custom attributes tied to me.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i>: allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>
|
|
@@ -6353,8 +6353,8 @@ class UserProfile$ {
|
|
|
6353
6353
|
if (!this.cache) {
|
|
6354
6354
|
return SdkCache.withoutCache(res);
|
|
6355
6355
|
}
|
|
6356
|
-
const
|
|
6357
|
-
return SdkCache.withCache(
|
|
6356
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6357
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6358
6358
|
}
|
|
6359
6359
|
/**
|
|
6360
6360
|
* Create my profile.<br><b>Client with user token can create user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Returns</i>: Created user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to create <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to create <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Country</i> : ISO3166-1 alpha-2 two letter, e.g. US </li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
|
|
@@ -6385,8 +6385,8 @@ class UserProfile$ {
|
|
|
6385
6385
|
if (!this.cache) {
|
|
6386
6386
|
return SdkCache.withoutCache(res);
|
|
6387
6387
|
}
|
|
6388
|
-
const
|
|
6389
|
-
return SdkCache.withCache(
|
|
6388
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6389
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6390
6390
|
}
|
|
6391
6391
|
/**
|
|
6392
6392
|
* Update my zip code.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11408</li><li><i>Returns</i>: user zip code</li></ul>
|
|
@@ -6410,8 +6410,8 @@ class UserProfile$ {
|
|
|
6410
6410
|
if (!this.cache) {
|
|
6411
6411
|
return SdkCache.withoutCache(res);
|
|
6412
6412
|
}
|
|
6413
|
-
const
|
|
6414
|
-
return SdkCache.withCache(
|
|
6413
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6414
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6415
6415
|
}
|
|
6416
6416
|
/**
|
|
6417
6417
|
* Get custom attributes info.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user custom attributes</li></ul>
|
|
@@ -6426,8 +6426,8 @@ class UserProfile$ {
|
|
|
6426
6426
|
if (!this.cache) {
|
|
6427
6427
|
return SdkCache.withoutCache(res);
|
|
6428
6428
|
}
|
|
6429
|
-
const
|
|
6430
|
-
return SdkCache.withCache(
|
|
6429
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6430
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6431
6431
|
}
|
|
6432
6432
|
/**
|
|
6433
6433
|
* Update partially custom attributes tied to user id.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i> : allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>
|
|
@@ -6453,8 +6453,8 @@ class UserProfile$ {
|
|
|
6453
6453
|
if (!this.cache) {
|
|
6454
6454
|
return SdkCache.withoutCache(res);
|
|
6455
6455
|
}
|
|
6456
|
-
const
|
|
6457
|
-
return SdkCache.withCache(
|
|
6456
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6457
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6458
6458
|
}
|
|
6459
6459
|
/**
|
|
6460
6460
|
* Create user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li><li><i>Returns</i>: Created user profile</li></ul>
|
|
@@ -6573,8 +6573,8 @@ class Caching$ {
|
|
|
6573
6573
|
if (!this.cache) {
|
|
6574
6574
|
return SdkCache.withoutCache(res);
|
|
6575
6575
|
}
|
|
6576
|
-
const
|
|
6577
|
-
return SdkCache.withCache(
|
|
6576
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6577
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6578
6578
|
}
|
|
6579
6579
|
}
|
|
6580
6580
|
|
|
@@ -6704,8 +6704,8 @@ class Dlc$$1 {
|
|
|
6704
6704
|
if (!this.cache) {
|
|
6705
6705
|
return SdkCache.withoutCache(res);
|
|
6706
6706
|
}
|
|
6707
|
-
const
|
|
6708
|
-
return SdkCache.withCache(
|
|
6707
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6708
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6709
6709
|
}
|
|
6710
6710
|
/**
|
|
6711
6711
|
* Retrieve the list of DLC available on specific game. Use DLC's appId to query.<p>Other detail info: <ul><li><i>Returns</i>: appId of game and list of its builds by platformId</li></ul>
|
|
@@ -6720,8 +6720,8 @@ class Dlc$$1 {
|
|
|
6720
6720
|
if (!this.cache) {
|
|
6721
6721
|
return SdkCache.withoutCache(res);
|
|
6722
6722
|
}
|
|
6723
|
-
const
|
|
6724
|
-
return SdkCache.withCache(
|
|
6723
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6724
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6725
6725
|
}
|
|
6726
6726
|
/**
|
|
6727
6727
|
* Retrieve the list of DLC available on specific game. Use game's appId to query.<p>Other detail info: <ul><li><i>Returns</i>: list of DLC</li></ul>
|
|
@@ -6736,8 +6736,8 @@ class Dlc$$1 {
|
|
|
6736
6736
|
if (!this.cache) {
|
|
6737
6737
|
return SdkCache.withoutCache(res);
|
|
6738
6738
|
}
|
|
6739
|
-
const
|
|
6740
|
-
return SdkCache.withCache(
|
|
6739
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6740
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6741
6741
|
}
|
|
6742
6742
|
/**
|
|
6743
6743
|
* This API is used to retrieve compatibility of specific DLC versions against the game version.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
@@ -6752,8 +6752,8 @@ class Dlc$$1 {
|
|
|
6752
6752
|
if (!this.cache) {
|
|
6753
6753
|
return SdkCache.withoutCache(res);
|
|
6754
6754
|
}
|
|
6755
|
-
const
|
|
6756
|
-
return SdkCache.withCache(
|
|
6755
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
6756
|
+
return SdkCache.withCache(cacheKey, res);
|
|
6757
6757
|
}
|
|
6758
6758
|
}
|
|
6759
6759
|
|
|
@@ -7032,8 +7032,8 @@ class Downloader$ {
|
|
|
7032
7032
|
if (!this.cache) {
|
|
7033
7033
|
return SdkCache.withoutCache(res);
|
|
7034
7034
|
}
|
|
7035
|
-
const
|
|
7036
|
-
return SdkCache.withCache(
|
|
7035
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7036
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7037
7037
|
}
|
|
7038
7038
|
/**
|
|
7039
7039
|
* This API is used to get build manifest. The binary diff will be calculated in the client side, while obsolete file list will be generated by server side.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
@@ -7050,8 +7050,8 @@ class Downloader$ {
|
|
|
7050
7050
|
if (!this.cache) {
|
|
7051
7051
|
return SdkCache.withoutCache(res);
|
|
7052
7052
|
}
|
|
7053
|
-
const
|
|
7054
|
-
return SdkCache.withCache(
|
|
7053
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7054
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7055
7055
|
}
|
|
7056
7056
|
/**
|
|
7057
7057
|
* This API is used to get simple build manifest that contains list of current build in various platform.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
@@ -7066,8 +7066,8 @@ class Downloader$ {
|
|
|
7066
7066
|
if (!this.cache) {
|
|
7067
7067
|
return SdkCache.withoutCache(res);
|
|
7068
7068
|
}
|
|
7069
|
-
const
|
|
7070
|
-
return SdkCache.withCache(
|
|
7069
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7070
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7071
7071
|
}
|
|
7072
7072
|
/**
|
|
7073
7073
|
* This API fetch the diff status between two builds. The diff generated by diff wrapper and saved in the database. Return 404 if no diff found.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: Simple diff status containing where to fetch diff manifest</li></ul>
|
|
@@ -7083,8 +7083,8 @@ class Downloader$ {
|
|
|
7083
7083
|
if (!this.cache) {
|
|
7084
7084
|
return SdkCache.withoutCache(res);
|
|
7085
7085
|
}
|
|
7086
|
-
const
|
|
7087
|
-
return SdkCache.withCache(
|
|
7086
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7087
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7088
7088
|
}
|
|
7089
7089
|
/**
|
|
7090
7090
|
* This API is used to get version history.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: version chain from specified build</li></ul>
|
|
@@ -7097,8 +7097,8 @@ class Downloader$ {
|
|
|
7097
7097
|
if (!this.cache) {
|
|
7098
7098
|
return SdkCache.withoutCache(res);
|
|
7099
7099
|
}
|
|
7100
|
-
const
|
|
7101
|
-
return SdkCache.withCache(
|
|
7100
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7101
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7102
7102
|
}
|
|
7103
7103
|
/**
|
|
7104
7104
|
* This API is used to get build manifest of release version of the application.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
@@ -7114,8 +7114,8 @@ class Downloader$ {
|
|
|
7114
7114
|
if (!this.cache) {
|
|
7115
7115
|
return SdkCache.withoutCache(res);
|
|
7116
7116
|
}
|
|
7117
|
-
const
|
|
7118
|
-
return SdkCache.withCache(
|
|
7117
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7118
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7119
7119
|
}
|
|
7120
7120
|
/**
|
|
7121
7121
|
* This API is used to get build manifest of release version of the application. Supply it with source buildId and BuildInfo will output release build and obsolete files list between two version. Only works for builds uploaded with BuildInfo v2<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
@@ -7130,8 +7130,8 @@ class Downloader$ {
|
|
|
7130
7130
|
if (!this.cache) {
|
|
7131
7131
|
return SdkCache.withoutCache(res);
|
|
7132
7132
|
}
|
|
7133
|
-
const
|
|
7134
|
-
return SdkCache.withCache(
|
|
7133
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7134
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7135
7135
|
}
|
|
7136
7136
|
}
|
|
7137
7137
|
|
|
@@ -7265,8 +7265,8 @@ class EventV2$ {
|
|
|
7265
7265
|
if (!this.cache) {
|
|
7266
7266
|
return SdkCache.withoutCache(res);
|
|
7267
7267
|
}
|
|
7268
|
-
const
|
|
7269
|
-
return SdkCache.withCache(
|
|
7268
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7269
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7270
7270
|
}
|
|
7271
7271
|
/**
|
|
7272
7272
|
* <p>Requires valid user access token</p>
|
|
@@ -7281,8 +7281,8 @@ class EventV2$ {
|
|
|
7281
7281
|
if (!this.cache) {
|
|
7282
7282
|
return SdkCache.withoutCache(res);
|
|
7283
7283
|
}
|
|
7284
|
-
const
|
|
7285
|
-
return SdkCache.withCache(
|
|
7284
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7285
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7286
7286
|
}
|
|
7287
7287
|
}
|
|
7288
7288
|
|
|
@@ -7385,8 +7385,8 @@ class DataDeletion$ {
|
|
|
7385
7385
|
if (!this.cache) {
|
|
7386
7386
|
return SdkCache.withoutCache(res);
|
|
7387
7387
|
}
|
|
7388
|
-
const
|
|
7389
|
-
return SdkCache.withCache(
|
|
7388
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7389
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7390
7390
|
}
|
|
7391
7391
|
}
|
|
7392
7392
|
|
|
@@ -7485,8 +7485,8 @@ class DataRetrieval$ {
|
|
|
7485
7485
|
if (!this.cache) {
|
|
7486
7486
|
return SdkCache.withoutCache(res);
|
|
7487
7487
|
}
|
|
7488
|
-
const
|
|
7489
|
-
return SdkCache.withCache(
|
|
7488
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7489
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7490
7490
|
}
|
|
7491
7491
|
/**
|
|
7492
7492
|
* <p>Requires valid user access token</p>
|
|
@@ -7645,8 +7645,8 @@ class InputValidations$ {
|
|
|
7645
7645
|
if (!this.cache) {
|
|
7646
7646
|
return SdkCache.withoutCache(res);
|
|
7647
7647
|
}
|
|
7648
|
-
const
|
|
7649
|
-
return SdkCache.withCache(
|
|
7648
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7649
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7650
7650
|
}
|
|
7651
7651
|
}
|
|
7652
7652
|
|
|
@@ -7911,7 +7911,6 @@ class OAuth20$ {
|
|
|
7911
7911
|
*/
|
|
7912
7912
|
fetchIamV3OauthAuthorize(queryParams) {
|
|
7913
7913
|
const params = {
|
|
7914
|
-
response_type: 'code',
|
|
7915
7914
|
scope: 'commerce account social publishing analytics',
|
|
7916
7915
|
code_challenge_method: 'plain',
|
|
7917
7916
|
createHeadless: true,
|
|
@@ -7923,8 +7922,8 @@ class OAuth20$ {
|
|
|
7923
7922
|
if (!this.cache) {
|
|
7924
7923
|
return SdkCache.withoutCache(res);
|
|
7925
7924
|
}
|
|
7926
|
-
const
|
|
7927
|
-
return SdkCache.withCache(
|
|
7925
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7926
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7928
7927
|
}
|
|
7929
7928
|
/**
|
|
7930
7929
|
* <p>This endpoint returns information about an access token intended to be used by resource servers or other internal servers.</p>
|
|
@@ -7958,8 +7957,8 @@ class OAuth20$ {
|
|
|
7958
7957
|
if (!this.cache) {
|
|
7959
7958
|
return SdkCache.withoutCache(res);
|
|
7960
7959
|
}
|
|
7961
|
-
const
|
|
7962
|
-
return SdkCache.withCache(
|
|
7960
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
7961
|
+
return SdkCache.withCache(cacheKey, res);
|
|
7963
7962
|
}
|
|
7964
7963
|
/**
|
|
7965
7964
|
* Send 2FA code<br/>
|
|
@@ -8039,8 +8038,8 @@ class OAuth20$ {
|
|
|
8039
8038
|
if (!this.cache) {
|
|
8040
8039
|
return SdkCache.withoutCache(res);
|
|
8041
8040
|
}
|
|
8042
|
-
const
|
|
8043
|
-
return SdkCache.withCache(
|
|
8041
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
8042
|
+
return SdkCache.withCache(cacheKey, res);
|
|
8044
8043
|
}
|
|
8045
8044
|
/**
|
|
8046
8045
|
* Generate url to request auth code from third party platform <br>
|
|
@@ -8077,8 +8076,8 @@ class OAuth20$ {
|
|
|
8077
8076
|
if (!this.cache) {
|
|
8078
8077
|
return SdkCache.withoutCache(res);
|
|
8079
8078
|
}
|
|
8080
|
-
const
|
|
8081
|
-
return SdkCache.withCache(
|
|
8079
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
8080
|
+
return SdkCache.withCache(cacheKey, res);
|
|
8082
8081
|
}
|
|
8083
8082
|
/**
|
|
8084
8083
|
* <p>Platform token grant specifically used for performing token grant using platform, e.g. Steam, Justice, etc. The endpoint automatically create an account if the account associated with the platform is not exists yet.
|
|
@@ -8191,8 +8190,8 @@ class OAuth20$ {
|
|
|
8191
8190
|
if (!this.cache) {
|
|
8192
8191
|
return SdkCache.withoutCache(res);
|
|
8193
8192
|
}
|
|
8194
|
-
const
|
|
8195
|
-
return SdkCache.withCache(
|
|
8193
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
8194
|
+
return SdkCache.withCache(cacheKey, res);
|
|
8196
8195
|
}
|
|
8197
8196
|
/**
|
|
8198
8197
|
* <p>This endpoint revokes a token.</p>
|
|
@@ -17070,8 +17069,8 @@ class OAuth20Extension$ {
|
|
|
17070
17069
|
if (!this.cache) {
|
|
17071
17070
|
return SdkCache.withoutCache(res);
|
|
17072
17071
|
}
|
|
17073
|
-
const
|
|
17074
|
-
return SdkCache.withCache(
|
|
17072
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17073
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17075
17074
|
}
|
|
17076
17075
|
/**
|
|
17077
17076
|
* <p>This endpoint is used to remove <b>access_token</b>, <b>refresh_token</b> from cookie and revoke token from usage.</p>
|
|
@@ -17140,8 +17139,8 @@ class OAuth20Extension$ {
|
|
|
17140
17139
|
if (!this.cache) {
|
|
17141
17140
|
return SdkCache.withoutCache(res);
|
|
17142
17141
|
}
|
|
17143
|
-
const
|
|
17144
|
-
return SdkCache.withCache(
|
|
17142
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17143
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17145
17144
|
}
|
|
17146
17145
|
/**
|
|
17147
17146
|
* <p>This endpoint is being used to generate publisher user's game token.<br>
|
|
@@ -17447,8 +17446,8 @@ class ThirdPartyCredential$ {
|
|
|
17447
17446
|
if (!this.cache) {
|
|
17448
17447
|
return SdkCache.withoutCache(res);
|
|
17449
17448
|
}
|
|
17450
|
-
const
|
|
17451
|
-
return SdkCache.withCache(
|
|
17449
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17450
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17452
17451
|
}
|
|
17453
17452
|
/**
|
|
17454
17453
|
* This is the Public API to Get All Active OIDC Platform Credential By Client ID
|
|
@@ -17461,8 +17460,8 @@ class ThirdPartyCredential$ {
|
|
|
17461
17460
|
if (!this.cache) {
|
|
17462
17461
|
return SdkCache.withoutCache(res);
|
|
17463
17462
|
}
|
|
17464
|
-
const
|
|
17465
|
-
return SdkCache.withCache(
|
|
17463
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17464
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17466
17465
|
}
|
|
17467
17466
|
}
|
|
17468
17467
|
|
|
@@ -17834,8 +17833,8 @@ class UsersV4$ {
|
|
|
17834
17833
|
if (!this.cache) {
|
|
17835
17834
|
return SdkCache.withoutCache(res);
|
|
17836
17835
|
}
|
|
17837
|
-
const
|
|
17838
|
-
return SdkCache.withCache(
|
|
17836
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17837
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17839
17838
|
}
|
|
17840
17839
|
/**
|
|
17841
17840
|
* <p>This endpoint is used to generate 8-digits backup codes.
|
|
@@ -17873,8 +17872,8 @@ class UsersV4$ {
|
|
|
17873
17872
|
if (!this.cache) {
|
|
17874
17873
|
return SdkCache.withoutCache(res);
|
|
17875
17874
|
}
|
|
17876
|
-
const
|
|
17877
|
-
return SdkCache.withCache(
|
|
17875
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17876
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17878
17877
|
}
|
|
17879
17878
|
/**
|
|
17880
17879
|
* <p>This endpoint is used to enable 2FA backup codes.</p>
|
|
@@ -17945,8 +17944,8 @@ class UsersV4$ {
|
|
|
17945
17944
|
if (!this.cache) {
|
|
17946
17945
|
return SdkCache.withoutCache(res);
|
|
17947
17946
|
}
|
|
17948
|
-
const
|
|
17949
|
-
return SdkCache.withCache(
|
|
17947
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
17948
|
+
return SdkCache.withCache(cacheKey, res);
|
|
17950
17949
|
}
|
|
17951
17950
|
/**
|
|
17952
17951
|
* <p>This endpoint is used to make 2FA factor default.</p>
|
|
@@ -18486,8 +18485,8 @@ class Users$ {
|
|
|
18486
18485
|
if (!this.cache) {
|
|
18487
18486
|
return SdkCache.withoutCache(res);
|
|
18488
18487
|
}
|
|
18489
|
-
const
|
|
18490
|
-
return SdkCache.withCache(
|
|
18488
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18489
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18491
18490
|
}
|
|
18492
18491
|
/**
|
|
18493
18492
|
* List User ID By Platform User ID
|
|
@@ -18524,8 +18523,8 @@ class Users$ {
|
|
|
18524
18523
|
if (!this.cache) {
|
|
18525
18524
|
return SdkCache.withoutCache(res);
|
|
18526
18525
|
}
|
|
18527
|
-
const
|
|
18528
|
-
return SdkCache.withCache(
|
|
18526
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18527
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18529
18528
|
}
|
|
18530
18529
|
/**
|
|
18531
18530
|
* This endpoint is used to get linking status.
|
|
@@ -18540,8 +18539,8 @@ class Users$ {
|
|
|
18540
18539
|
if (!this.cache) {
|
|
18541
18540
|
return SdkCache.withoutCache(res);
|
|
18542
18541
|
}
|
|
18543
|
-
const
|
|
18544
|
-
return SdkCache.withCache(
|
|
18542
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18543
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18545
18544
|
}
|
|
18546
18545
|
/**
|
|
18547
18546
|
* <p>Requires valid user access token</p>
|
|
@@ -18557,8 +18556,8 @@ class Users$ {
|
|
|
18557
18556
|
if (!this.cache) {
|
|
18558
18557
|
return SdkCache.withoutCache(res);
|
|
18559
18558
|
}
|
|
18560
|
-
const
|
|
18561
|
-
return SdkCache.withCache(
|
|
18559
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18560
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18562
18561
|
}
|
|
18563
18562
|
/**
|
|
18564
18563
|
*
|
|
@@ -18597,8 +18596,8 @@ class Users$ {
|
|
|
18597
18596
|
if (!this.cache) {
|
|
18598
18597
|
return SdkCache.withoutCache(res);
|
|
18599
18598
|
}
|
|
18600
|
-
const
|
|
18601
|
-
return SdkCache.withCache(
|
|
18599
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18600
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18602
18601
|
}
|
|
18603
18602
|
/**
|
|
18604
18603
|
* <p>Notes:</p>
|
|
@@ -18668,8 +18667,8 @@ class Users$ {
|
|
|
18668
18667
|
if (!this.cache) {
|
|
18669
18668
|
return SdkCache.withoutCache(res);
|
|
18670
18669
|
}
|
|
18671
|
-
const
|
|
18672
|
-
return SdkCache.withCache(
|
|
18670
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18671
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18673
18672
|
}
|
|
18674
18673
|
/**
|
|
18675
18674
|
* This endpoint create user from saved roles when creating invitation and submitted data.
|
|
@@ -18965,8 +18964,8 @@ class Users$ {
|
|
|
18965
18964
|
if (!this.cache) {
|
|
18966
18965
|
return SdkCache.withoutCache(res);
|
|
18967
18966
|
}
|
|
18968
|
-
const
|
|
18969
|
-
return SdkCache.withCache(
|
|
18967
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18968
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18970
18969
|
}
|
|
18971
18970
|
/**
|
|
18972
18971
|
* This endpoint is used by third party to redirect the code for the purpose of linking the account third party to IAM account.
|
|
@@ -18981,8 +18980,8 @@ class Users$ {
|
|
|
18981
18980
|
if (!this.cache) {
|
|
18982
18981
|
return SdkCache.withoutCache(res);
|
|
18983
18982
|
}
|
|
18984
|
-
const
|
|
18985
|
-
return SdkCache.withCache(
|
|
18983
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
18984
|
+
return SdkCache.withCache(cacheKey, res);
|
|
18986
18985
|
}
|
|
18987
18986
|
/**
|
|
18988
18987
|
* <p>action code: 10105</p>
|
|
@@ -19004,8 +19003,8 @@ class Users$ {
|
|
|
19004
19003
|
if (!this.cache) {
|
|
19005
19004
|
return SdkCache.withoutCache(res);
|
|
19006
19005
|
}
|
|
19007
|
-
const
|
|
19008
|
-
return SdkCache.withCache(
|
|
19006
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19007
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19009
19008
|
}
|
|
19010
19009
|
/**
|
|
19011
19010
|
* Required valid user authorization.
|
|
@@ -19026,8 +19025,8 @@ class Users$ {
|
|
|
19026
19025
|
if (!this.cache) {
|
|
19027
19026
|
return SdkCache.withoutCache(res);
|
|
19028
19027
|
}
|
|
19029
|
-
const
|
|
19030
|
-
return SdkCache.withCache(
|
|
19028
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19029
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19031
19030
|
}
|
|
19032
19031
|
/**
|
|
19033
19032
|
* <p>This endpoint retrieves platform accounts linked to user.
|
|
@@ -19044,8 +19043,8 @@ class Users$ {
|
|
|
19044
19043
|
if (!this.cache) {
|
|
19045
19044
|
return SdkCache.withoutCache(res);
|
|
19046
19045
|
}
|
|
19047
|
-
const
|
|
19048
|
-
return SdkCache.withCache(
|
|
19046
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19047
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19049
19048
|
}
|
|
19050
19049
|
/**
|
|
19051
19050
|
* <p>This endpoint retrieves user info and linked platform accounts.
|
|
@@ -19061,8 +19060,8 @@ class Users$ {
|
|
|
19061
19060
|
if (!this.cache) {
|
|
19062
19061
|
return SdkCache.withoutCache(res);
|
|
19063
19062
|
}
|
|
19064
|
-
const
|
|
19065
|
-
return SdkCache.withCache(
|
|
19063
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19064
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19066
19065
|
}
|
|
19067
19066
|
/**
|
|
19068
19067
|
* Required valid user authorization.<p>Notes for this endpoint: </p> <ul><li>This endpoint retrieve the first page of the data if `after` and `before` parameters is empty.</li><li>The maximum value of the limit is 100 and the minimum value of the limit is 1.</li><li>This endpoint retrieve the next page of the data if we provide `after` parameters with valid Unix timestamp.</li><li>This endpoint retrieve the previous page of the data if we provide `before` parameter with valid data Unix timestamp.</li><ul>
|
|
@@ -19077,8 +19076,8 @@ class Users$ {
|
|
|
19077
19076
|
if (!this.cache) {
|
|
19078
19077
|
return SdkCache.withoutCache(res);
|
|
19079
19078
|
}
|
|
19080
|
-
const
|
|
19081
|
-
return SdkCache.withCache(
|
|
19079
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19080
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19082
19081
|
}
|
|
19083
19082
|
/**
|
|
19084
19083
|
* <p>This endpoint retrieves platform accounts linked to user. Required valid user authorization.
|
|
@@ -19094,8 +19093,8 @@ class Users$ {
|
|
|
19094
19093
|
if (!this.cache) {
|
|
19095
19094
|
return SdkCache.withoutCache(res);
|
|
19096
19095
|
}
|
|
19097
|
-
const
|
|
19098
|
-
return SdkCache.withCache(
|
|
19096
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19097
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19099
19098
|
}
|
|
19100
19099
|
/**
|
|
19101
19100
|
* This endpoint gets list justice platform account by providing publisher namespace and publisher userID</br>
|
|
@@ -19111,8 +19110,8 @@ class Users$ {
|
|
|
19111
19110
|
if (!this.cache) {
|
|
19112
19111
|
return SdkCache.withoutCache(res);
|
|
19113
19112
|
}
|
|
19114
|
-
const
|
|
19115
|
-
return SdkCache.withCache(
|
|
19113
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19114
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19116
19115
|
}
|
|
19117
19116
|
/**
|
|
19118
19117
|
* It is going to be <strong>DEPRECATED</strong>.
|
|
@@ -19158,8 +19157,8 @@ class Users$ {
|
|
|
19158
19157
|
if (!this.cache) {
|
|
19159
19158
|
return SdkCache.withoutCache(res);
|
|
19160
19159
|
}
|
|
19161
|
-
const
|
|
19162
|
-
return SdkCache.withCache(
|
|
19160
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19161
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19163
19162
|
}
|
|
19164
19163
|
/**
|
|
19165
19164
|
* This endpoint is used to validate the user password. Required valid user authorization and valid user ID.
|
|
@@ -19191,8 +19190,8 @@ class Users$ {
|
|
|
19191
19190
|
if (!this.cache) {
|
|
19192
19191
|
return SdkCache.withoutCache(res);
|
|
19193
19192
|
}
|
|
19194
|
-
const
|
|
19195
|
-
return SdkCache.withCache(
|
|
19193
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19194
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19196
19195
|
}
|
|
19197
19196
|
/**
|
|
19198
19197
|
* Note:<br>
|
|
@@ -19207,8 +19206,8 @@ class Users$ {
|
|
|
19207
19206
|
if (!this.cache) {
|
|
19208
19207
|
return SdkCache.withoutCache(res);
|
|
19209
19208
|
}
|
|
19210
|
-
const
|
|
19211
|
-
return SdkCache.withCache(
|
|
19209
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19210
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19212
19211
|
}
|
|
19213
19212
|
/**
|
|
19214
19213
|
* Note:<br>
|
|
@@ -19241,8 +19240,8 @@ class Users$ {
|
|
|
19241
19240
|
if (!this.cache) {
|
|
19242
19241
|
return SdkCache.withoutCache(res);
|
|
19243
19242
|
}
|
|
19244
|
-
const
|
|
19245
|
-
return SdkCache.withCache(
|
|
19243
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19244
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19246
19245
|
}
|
|
19247
19246
|
}
|
|
19248
19247
|
|
|
@@ -19647,8 +19646,8 @@ class Agreement$ {
|
|
|
19647
19646
|
if (!this.cache) {
|
|
19648
19647
|
return SdkCache.withoutCache(res);
|
|
19649
19648
|
}
|
|
19650
|
-
const
|
|
19651
|
-
return SdkCache.withCache(
|
|
19649
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19650
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19652
19651
|
}
|
|
19653
19652
|
/**
|
|
19654
19653
|
* Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
@@ -19812,8 +19811,8 @@ class Eligibilities$ {
|
|
|
19812
19811
|
if (!this.cache) {
|
|
19813
19812
|
return SdkCache.withoutCache(res);
|
|
19814
19813
|
}
|
|
19815
|
-
const
|
|
19816
|
-
return SdkCache.withCache(
|
|
19814
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19815
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19817
19816
|
}
|
|
19818
19817
|
/**
|
|
19819
19818
|
* Retrieve the active policies and its conformance status by user.<br>This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
@@ -19826,8 +19825,8 @@ class Eligibilities$ {
|
|
|
19826
19825
|
if (!this.cache) {
|
|
19827
19826
|
return SdkCache.withoutCache(res);
|
|
19828
19827
|
}
|
|
19829
|
-
const
|
|
19830
|
-
return SdkCache.withCache(
|
|
19828
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19829
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19831
19830
|
}
|
|
19832
19831
|
}
|
|
19833
19832
|
|
|
@@ -19934,8 +19933,8 @@ class LocalizedPolicyVersions$ {
|
|
|
19934
19933
|
if (!this.cache) {
|
|
19935
19934
|
return SdkCache.withoutCache(res);
|
|
19936
19935
|
}
|
|
19937
|
-
const
|
|
19938
|
-
return SdkCache.withCache(
|
|
19936
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
19937
|
+
return SdkCache.withCache(cacheKey, res);
|
|
19939
19938
|
}
|
|
19940
19939
|
}
|
|
19941
19940
|
|
|
@@ -20017,8 +20016,8 @@ class Policies$ {
|
|
|
20017
20016
|
if (!this.cache) {
|
|
20018
20017
|
return SdkCache.withoutCache(res);
|
|
20019
20018
|
}
|
|
20020
|
-
const
|
|
20021
|
-
return SdkCache.withCache(
|
|
20019
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20020
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20022
20021
|
}
|
|
20023
20022
|
/**
|
|
20024
20023
|
* Retrieve all active latest policies based on a namespace and country. The country will be read from user token.<br>Other detail info: <ul><li><i>Leave the policyType empty if you want to be responded with all policy type</i></li><li><i>Fill the tags if you want to filter the responded policy by tags</i></li><li><i>Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist</i></li><li><i>Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:<ul><li>Document 1 (default): Region US (default), UA</li><li>Document 2 (default): Region US (default)</li><li>Document 3 (default): Region US (default)</li><li>User: Region UA</li><li>Query: alwaysIncludeDefault: true</li><li>Response: Document 1 (UA), Document 2 (US), Document 3 (US)</li></ul></i></li><li><i>Required permission: login user </i></li></ul>
|
|
@@ -20031,8 +20030,8 @@ class Policies$ {
|
|
|
20031
20030
|
if (!this.cache) {
|
|
20032
20031
|
return SdkCache.withoutCache(res);
|
|
20033
20032
|
}
|
|
20034
|
-
const
|
|
20035
|
-
return SdkCache.withCache(
|
|
20033
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20034
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20036
20035
|
}
|
|
20037
20036
|
/**
|
|
20038
20037
|
* Retrieve all active latest policies based on a country.<br>Other detail info: <ul><li><i>Leave the policyType empty if you want to be responded with all policy type</i></li><li><i>Fill the tags if you want to filter the responded policy by tags</i></li><li><i>Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist</i></li></ul>
|
|
@@ -20045,8 +20044,8 @@ class Policies$ {
|
|
|
20045
20044
|
if (!this.cache) {
|
|
20046
20045
|
return SdkCache.withoutCache(res);
|
|
20047
20046
|
}
|
|
20048
|
-
const
|
|
20049
|
-
return SdkCache.withCache(
|
|
20047
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20048
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20050
20049
|
}
|
|
20051
20050
|
}
|
|
20052
20051
|
|
|
@@ -20126,8 +20125,8 @@ class Templates$ {
|
|
|
20126
20125
|
if (!this.cache) {
|
|
20127
20126
|
return SdkCache.withoutCache(res);
|
|
20128
20127
|
}
|
|
20129
|
-
const
|
|
20130
|
-
return SdkCache.withCache(
|
|
20128
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20129
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20131
20130
|
}
|
|
20132
20131
|
fetchV1TemplatesByTemplateConfigsByConfig(template, config) {
|
|
20133
20132
|
const params = {};
|
|
@@ -20140,8 +20139,8 @@ class Templates$ {
|
|
|
20140
20139
|
if (!this.cache) {
|
|
20141
20140
|
return SdkCache.withoutCache(res);
|
|
20142
20141
|
}
|
|
20143
|
-
const
|
|
20144
|
-
return SdkCache.withCache(
|
|
20142
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20143
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20145
20144
|
}
|
|
20146
20145
|
}
|
|
20147
20146
|
|
|
@@ -20214,8 +20213,8 @@ class Currency$ {
|
|
|
20214
20213
|
if (!this.cache) {
|
|
20215
20214
|
return SdkCache.withoutCache(res);
|
|
20216
20215
|
}
|
|
20217
|
-
const
|
|
20218
|
-
return SdkCache.withCache(
|
|
20216
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20217
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20219
20218
|
}
|
|
20220
20219
|
}
|
|
20221
20220
|
|
|
@@ -20556,8 +20555,8 @@ class Entitlement$ {
|
|
|
20556
20555
|
if (!this.cache) {
|
|
20557
20556
|
return SdkCache.withoutCache(res);
|
|
20558
20557
|
}
|
|
20559
|
-
const
|
|
20560
|
-
return SdkCache.withCache(
|
|
20558
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20559
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20561
20560
|
}
|
|
20562
20561
|
/**
|
|
20563
20562
|
* Exists any my active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20570,8 +20569,8 @@ class Entitlement$ {
|
|
|
20570
20569
|
if (!this.cache) {
|
|
20571
20570
|
return SdkCache.withoutCache(res);
|
|
20572
20571
|
}
|
|
20573
|
-
const
|
|
20574
|
-
return SdkCache.withCache(
|
|
20572
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20573
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20575
20574
|
}
|
|
20576
20575
|
/**
|
|
20577
20576
|
* Get my entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace entitlement ownership by sku</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game namespace entitlement ownership by sku</b></li></ul></li></ul>
|
|
@@ -20584,8 +20583,8 @@ class Entitlement$ {
|
|
|
20584
20583
|
if (!this.cache) {
|
|
20585
20584
|
return SdkCache.withoutCache(res);
|
|
20586
20585
|
}
|
|
20587
|
-
const
|
|
20588
|
-
return SdkCache.withCache(
|
|
20586
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20587
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20589
20588
|
}
|
|
20590
20589
|
/**
|
|
20591
20590
|
* Get my entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace entitlement ownership by sku</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game namespace entitlement ownership by sku</b></li></ul></li></ul>
|
|
@@ -20598,8 +20597,8 @@ class Entitlement$ {
|
|
|
20598
20597
|
if (!this.cache) {
|
|
20599
20598
|
return SdkCache.withoutCache(res);
|
|
20600
20599
|
}
|
|
20601
|
-
const
|
|
20602
|
-
return SdkCache.withCache(
|
|
20600
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20601
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20603
20602
|
}
|
|
20604
20603
|
/**
|
|
20605
20604
|
* Gets an entitlement ownership token of specified itemIds, skus and appIds<p>The decoded ownership token header like below:<p><pre><code>{
|
|
@@ -20641,8 +20640,8 @@ class Entitlement$ {
|
|
|
20641
20640
|
if (!this.cache) {
|
|
20642
20641
|
return SdkCache.withoutCache(res);
|
|
20643
20642
|
}
|
|
20644
|
-
const
|
|
20645
|
-
return SdkCache.withCache(
|
|
20643
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20644
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20646
20645
|
}
|
|
20647
20646
|
/**
|
|
20648
20647
|
* Exists any user active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20657,8 +20656,8 @@ class Entitlement$ {
|
|
|
20657
20656
|
if (!this.cache) {
|
|
20658
20657
|
return SdkCache.withoutCache(res);
|
|
20659
20658
|
}
|
|
20660
|
-
const
|
|
20661
|
-
return SdkCache.withCache(
|
|
20659
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20660
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20662
20661
|
}
|
|
20663
20662
|
/**
|
|
20664
20663
|
* Get user entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20673,8 +20672,8 @@ class Entitlement$ {
|
|
|
20673
20672
|
if (!this.cache) {
|
|
20674
20673
|
return SdkCache.withoutCache(res);
|
|
20675
20674
|
}
|
|
20676
|
-
const
|
|
20677
|
-
return SdkCache.withCache(
|
|
20675
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20676
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20678
20677
|
}
|
|
20679
20678
|
/**
|
|
20680
20679
|
* Get user app entitlement by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20689,8 +20688,8 @@ class Entitlement$ {
|
|
|
20689
20688
|
if (!this.cache) {
|
|
20690
20689
|
return SdkCache.withoutCache(res);
|
|
20691
20690
|
}
|
|
20692
|
-
const
|
|
20693
|
-
return SdkCache.withCache(
|
|
20691
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20692
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20694
20693
|
}
|
|
20695
20694
|
/**
|
|
20696
20695
|
* Get user entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20705,8 +20704,8 @@ class Entitlement$ {
|
|
|
20705
20704
|
if (!this.cache) {
|
|
20706
20705
|
return SdkCache.withoutCache(res);
|
|
20707
20706
|
}
|
|
20708
|
-
const
|
|
20709
|
-
return SdkCache.withCache(
|
|
20707
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20708
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20710
20709
|
}
|
|
20711
20710
|
/**
|
|
20712
20711
|
* Get user entitlement ownership by itemIds.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20721,8 +20720,8 @@ class Entitlement$ {
|
|
|
20721
20720
|
if (!this.cache) {
|
|
20722
20721
|
return SdkCache.withoutCache(res);
|
|
20723
20722
|
}
|
|
20724
|
-
const
|
|
20725
|
-
return SdkCache.withCache(
|
|
20723
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20724
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20726
20725
|
}
|
|
20727
20726
|
/**
|
|
20728
20727
|
* Query user entitlements for a specific user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement list</li></ul>
|
|
@@ -20737,8 +20736,8 @@ class Entitlement$ {
|
|
|
20737
20736
|
if (!this.cache) {
|
|
20738
20737
|
return SdkCache.withoutCache(res);
|
|
20739
20738
|
}
|
|
20740
|
-
const
|
|
20741
|
-
return SdkCache.withCache(
|
|
20739
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20740
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20742
20741
|
}
|
|
20743
20742
|
/**
|
|
20744
20743
|
* Get user entitlement by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20753,8 +20752,8 @@ class Entitlement$ {
|
|
|
20753
20752
|
if (!this.cache) {
|
|
20754
20753
|
return SdkCache.withoutCache(res);
|
|
20755
20754
|
}
|
|
20756
|
-
const
|
|
20757
|
-
return SdkCache.withCache(
|
|
20755
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20756
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20758
20757
|
}
|
|
20759
20758
|
/**
|
|
20760
20759
|
* Get user entitlement.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement</li></ul>
|
|
@@ -20770,8 +20769,8 @@ class Entitlement$ {
|
|
|
20770
20769
|
if (!this.cache) {
|
|
20771
20770
|
return SdkCache.withoutCache(res);
|
|
20772
20771
|
}
|
|
20773
|
-
const
|
|
20774
|
-
return SdkCache.withCache(
|
|
20772
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20773
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20775
20774
|
}
|
|
20776
20775
|
/**
|
|
20777
20776
|
* Get user app entitlement ownership by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20786,8 +20785,8 @@ class Entitlement$ {
|
|
|
20786
20785
|
if (!this.cache) {
|
|
20787
20786
|
return SdkCache.withoutCache(res);
|
|
20788
20787
|
}
|
|
20789
|
-
const
|
|
20790
|
-
return SdkCache.withCache(
|
|
20788
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20789
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20791
20790
|
}
|
|
20792
20791
|
/**
|
|
20793
20792
|
* Get user entitlement by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
@@ -20802,8 +20801,8 @@ class Entitlement$ {
|
|
|
20802
20801
|
if (!this.cache) {
|
|
20803
20802
|
return SdkCache.withoutCache(res);
|
|
20804
20803
|
}
|
|
20805
|
-
const
|
|
20806
|
-
return SdkCache.withCache(
|
|
20804
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20805
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20807
20806
|
}
|
|
20808
20807
|
/**
|
|
20809
20808
|
* Query app entitlements by appType.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: app entitlement pagination</li></ul>
|
|
@@ -20818,8 +20817,8 @@ class Entitlement$ {
|
|
|
20818
20817
|
if (!this.cache) {
|
|
20819
20818
|
return SdkCache.withoutCache(res);
|
|
20820
20819
|
}
|
|
20821
|
-
const
|
|
20822
|
-
return SdkCache.withCache(
|
|
20820
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20821
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20823
20822
|
}
|
|
20824
20823
|
/**
|
|
20825
20824
|
* Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Client should pass item id in options if entitlement clazz is OPTIONBOX<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: consumed entitlement</li></ul>
|
|
@@ -21403,8 +21402,8 @@ class Item$ {
|
|
|
21403
21402
|
if (!this.cache) {
|
|
21404
21403
|
return SdkCache.withoutCache(res);
|
|
21405
21404
|
}
|
|
21406
|
-
const
|
|
21407
|
-
return SdkCache.withCache(
|
|
21405
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21406
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21408
21407
|
}
|
|
21409
21408
|
/**
|
|
21410
21409
|
* This API is used to get the item by sku.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the item with sku</li></ul>
|
|
@@ -21417,8 +21416,8 @@ class Item$ {
|
|
|
21417
21416
|
if (!this.cache) {
|
|
21418
21417
|
return SdkCache.withoutCache(res);
|
|
21419
21418
|
}
|
|
21420
|
-
const
|
|
21421
|
-
return SdkCache.withCache(
|
|
21419
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21420
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21422
21421
|
}
|
|
21423
21422
|
/**
|
|
21424
21423
|
* This API is used to search items by keyword in title, description and long description, It's language constrained, also if item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the list of items</li></ul>
|
|
@@ -21431,8 +21430,8 @@ class Item$ {
|
|
|
21431
21430
|
if (!this.cache) {
|
|
21432
21431
|
return SdkCache.withoutCache(res);
|
|
21433
21432
|
}
|
|
21434
|
-
const
|
|
21435
|
-
return SdkCache.withCache(
|
|
21433
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21434
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21436
21435
|
}
|
|
21437
21436
|
/**
|
|
21438
21437
|
* This API is used to get item by appId.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the item with that appId</li></ul>
|
|
@@ -21445,8 +21444,8 @@ class Item$ {
|
|
|
21445
21444
|
if (!this.cache) {
|
|
21446
21445
|
return SdkCache.withoutCache(res);
|
|
21447
21446
|
}
|
|
21448
|
-
const
|
|
21449
|
-
return SdkCache.withCache(
|
|
21447
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21448
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21450
21449
|
}
|
|
21451
21450
|
/**
|
|
21452
21451
|
* This API is used to get an item in locale. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: item data</li></ul>
|
|
@@ -21461,8 +21460,8 @@ class Item$ {
|
|
|
21461
21460
|
if (!this.cache) {
|
|
21462
21461
|
return SdkCache.withoutCache(res);
|
|
21463
21462
|
}
|
|
21464
|
-
const
|
|
21465
|
-
return SdkCache.withCache(
|
|
21463
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21464
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21466
21465
|
}
|
|
21467
21466
|
/**
|
|
21468
21467
|
* This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the list of items</li></ul>
|
|
@@ -21475,8 +21474,8 @@ class Item$ {
|
|
|
21475
21474
|
if (!this.cache) {
|
|
21476
21475
|
return SdkCache.withoutCache(res);
|
|
21477
21476
|
}
|
|
21478
|
-
const
|
|
21479
|
-
return SdkCache.withCache(
|
|
21477
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21478
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21480
21479
|
}
|
|
21481
21480
|
/**
|
|
21482
21481
|
* Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
|
|
@@ -21491,8 +21490,8 @@ class Item$ {
|
|
|
21491
21490
|
if (!this.cache) {
|
|
21492
21491
|
return SdkCache.withoutCache(res);
|
|
21493
21492
|
}
|
|
21494
|
-
const
|
|
21495
|
-
return SdkCache.withCache(
|
|
21493
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21494
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21496
21495
|
}
|
|
21497
21496
|
/**
|
|
21498
21497
|
* This API is used to validate user item purchase condition
|
|
@@ -21514,8 +21513,8 @@ class Item$ {
|
|
|
21514
21513
|
if (!this.cache) {
|
|
21515
21514
|
return SdkCache.withoutCache(res);
|
|
21516
21515
|
}
|
|
21517
|
-
const
|
|
21518
|
-
return SdkCache.withCache(
|
|
21516
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21517
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21519
21518
|
}
|
|
21520
21519
|
}
|
|
21521
21520
|
|
|
@@ -21737,8 +21736,8 @@ class Order$ {
|
|
|
21737
21736
|
if (!this.cache) {
|
|
21738
21737
|
return SdkCache.withoutCache(res);
|
|
21739
21738
|
}
|
|
21740
|
-
const
|
|
21741
|
-
return SdkCache.withCache(
|
|
21739
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21740
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21742
21741
|
}
|
|
21743
21742
|
/**
|
|
21744
21743
|
* Create an order. The result contains the checkout link and payment token. User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox order)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created order</li></ul>
|
|
@@ -21765,8 +21764,8 @@ class Order$ {
|
|
|
21765
21764
|
if (!this.cache) {
|
|
21766
21765
|
return SdkCache.withoutCache(res);
|
|
21767
21766
|
}
|
|
21768
|
-
const
|
|
21769
|
-
return SdkCache.withCache(
|
|
21767
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21768
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21770
21769
|
}
|
|
21771
21770
|
/**
|
|
21772
21771
|
* Download user order receipt by orderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: order receipt pdf</li></ul>
|
|
@@ -21782,8 +21781,8 @@ class Order$ {
|
|
|
21782
21781
|
if (!this.cache) {
|
|
21783
21782
|
return SdkCache.withoutCache(res);
|
|
21784
21783
|
}
|
|
21785
|
-
const
|
|
21786
|
-
return SdkCache.withCache(
|
|
21784
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21785
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21787
21786
|
}
|
|
21788
21787
|
/**
|
|
21789
21788
|
* Cancel user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled order</li></ul>
|
|
@@ -21811,8 +21810,8 @@ class Order$ {
|
|
|
21811
21810
|
if (!this.cache) {
|
|
21812
21811
|
return SdkCache.withoutCache(res);
|
|
21813
21812
|
}
|
|
21814
|
-
const
|
|
21815
|
-
return SdkCache.withCache(
|
|
21813
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21814
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21816
21815
|
}
|
|
21817
21816
|
}
|
|
21818
21817
|
|
|
@@ -21933,8 +21932,8 @@ class PaymentAccount$ {
|
|
|
21933
21932
|
if (!this.cache) {
|
|
21934
21933
|
return SdkCache.withoutCache(res);
|
|
21935
21934
|
}
|
|
21936
|
-
const
|
|
21937
|
-
return SdkCache.withCache(
|
|
21935
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21936
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21938
21937
|
}
|
|
21939
21938
|
/**
|
|
21940
21939
|
* Delete payment account.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=8 (DELETE)</li><li><i>Returns</i>:</li></ul>
|
|
@@ -22056,8 +22055,8 @@ class PaymentStation$ {
|
|
|
22056
22055
|
if (!this.cache) {
|
|
22057
22056
|
return SdkCache.withoutCache(res);
|
|
22058
22057
|
}
|
|
22059
|
-
const
|
|
22060
|
-
return SdkCache.withCache(
|
|
22058
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22059
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22061
22060
|
}
|
|
22062
22061
|
/**
|
|
22063
22062
|
* Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
|
|
@@ -22070,8 +22069,8 @@ class PaymentStation$ {
|
|
|
22070
22069
|
if (!this.cache) {
|
|
22071
22070
|
return SdkCache.withoutCache(res);
|
|
22072
22071
|
}
|
|
22073
|
-
const
|
|
22074
|
-
return SdkCache.withCache(
|
|
22072
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22073
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22075
22074
|
}
|
|
22076
22075
|
/**
|
|
22077
22076
|
* Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
|
|
@@ -22095,8 +22094,8 @@ class PaymentStation$ {
|
|
|
22095
22094
|
if (!this.cache) {
|
|
22096
22095
|
return SdkCache.withoutCache(res);
|
|
22097
22096
|
}
|
|
22098
|
-
const
|
|
22099
|
-
return SdkCache.withCache(
|
|
22097
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22098
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22100
22099
|
}
|
|
22101
22100
|
/**
|
|
22102
22101
|
* Normalize payment return url for payment provider<br>Payment response: <table><tr><td>Field</td><td>Type</td><td>Required</td><td>Description</td></tr><tr><td>orderNo</td><td>String</td><td>Yes</td><td>order no</td></tr><tr><td>paymentStatus</td><td>String</td><td>Yes</td><td><ul><li>DONE: The payment was successfully completed.</li><li>CANCELLED: The payment was cancelled by the shopper before completion, or the shopper returned to the merchant's site before completing the transaction.</li><li>PENDING: Inform the shopper that you've received their order, and are waiting for the payment to be completed.
|
|
@@ -22111,8 +22110,8 @@ class PaymentStation$ {
|
|
|
22111
22110
|
if (!this.cache) {
|
|
22112
22111
|
return SdkCache.withoutCache(res);
|
|
22113
22112
|
}
|
|
22114
|
-
const
|
|
22115
|
-
return SdkCache.withCache(
|
|
22113
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22114
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22116
22115
|
}
|
|
22117
22116
|
/**
|
|
22118
22117
|
* Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
|
|
@@ -22125,8 +22124,8 @@ class PaymentStation$ {
|
|
|
22125
22124
|
if (!this.cache) {
|
|
22126
22125
|
return SdkCache.withoutCache(res);
|
|
22127
22126
|
}
|
|
22128
|
-
const
|
|
22129
|
-
return SdkCache.withCache(
|
|
22127
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22128
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22130
22129
|
}
|
|
22131
22130
|
/**
|
|
22132
22131
|
* Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
|
|
@@ -22141,8 +22140,8 @@ class PaymentStation$ {
|
|
|
22141
22140
|
if (!this.cache) {
|
|
22142
22141
|
return SdkCache.withoutCache(res);
|
|
22143
22142
|
}
|
|
22144
|
-
const
|
|
22145
|
-
return SdkCache.withCache(
|
|
22143
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22144
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22146
22145
|
}
|
|
22147
22146
|
/**
|
|
22148
22147
|
* Get qrcode.<br>Other detail info: <ul><li><i>Returns</i>: QRCode image stream</li></ul>
|
|
@@ -22155,8 +22154,8 @@ class PaymentStation$ {
|
|
|
22155
22154
|
if (!this.cache) {
|
|
22156
22155
|
return SdkCache.withoutCache(res);
|
|
22157
22156
|
}
|
|
22158
|
-
const
|
|
22159
|
-
return SdkCache.withCache(
|
|
22157
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22158
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22160
22159
|
}
|
|
22161
22160
|
/**
|
|
22162
22161
|
* Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
|
|
@@ -22393,8 +22392,8 @@ class Subscription$ {
|
|
|
22393
22392
|
if (!this.cache) {
|
|
22394
22393
|
return SdkCache.withoutCache(res);
|
|
22395
22394
|
}
|
|
22396
|
-
const
|
|
22397
|
-
return SdkCache.withCache(
|
|
22395
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22396
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22398
22397
|
}
|
|
22399
22398
|
/**
|
|
22400
22399
|
* Get user subscription billing histories.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: paginated subscription history</li></ul>
|
|
@@ -22410,8 +22409,8 @@ class Subscription$ {
|
|
|
22410
22409
|
if (!this.cache) {
|
|
22411
22410
|
return SdkCache.withoutCache(res);
|
|
22412
22411
|
}
|
|
22413
|
-
const
|
|
22414
|
-
return SdkCache.withCache(
|
|
22412
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22413
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22415
22414
|
}
|
|
22416
22415
|
/**
|
|
22417
22416
|
* Check user subscription subscribable by itemId, ACTIVE USER subscription can't do subscribe again.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: subscribable info</li></ul>
|
|
@@ -22426,8 +22425,8 @@ class Subscription$ {
|
|
|
22426
22425
|
if (!this.cache) {
|
|
22427
22426
|
return SdkCache.withoutCache(res);
|
|
22428
22427
|
}
|
|
22429
|
-
const
|
|
22430
|
-
return SdkCache.withCache(
|
|
22428
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22429
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22431
22430
|
}
|
|
22432
22431
|
/**
|
|
22433
22432
|
* Query user subscriptions.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: paginated subscription</li></ul>
|
|
@@ -22442,8 +22441,8 @@ class Subscription$ {
|
|
|
22442
22441
|
if (!this.cache) {
|
|
22443
22442
|
return SdkCache.withoutCache(res);
|
|
22444
22443
|
}
|
|
22445
|
-
const
|
|
22446
|
-
return SdkCache.withCache(
|
|
22444
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22445
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22447
22446
|
}
|
|
22448
22447
|
/**
|
|
22449
22448
|
* Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.<br><b>ACTIVE USER subscription can't do subscribe again.</b><br><b>The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.</b><br>User with permission SANDBOX will create sandbox subscription that not real paid.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox subscription)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created subscription</li></ul>
|
|
@@ -22644,8 +22643,8 @@ class Wallet$ {
|
|
|
22644
22643
|
if (!this.cache) {
|
|
22645
22644
|
return SdkCache.withoutCache(res);
|
|
22646
22645
|
}
|
|
22647
|
-
const
|
|
22648
|
-
return SdkCache.withCache(
|
|
22646
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22647
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22649
22648
|
}
|
|
22650
22649
|
/**
|
|
22651
22650
|
* List wallet transactions by currency code ordered by create time desc.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: currency transaction info</li></ul>
|
|
@@ -22661,8 +22660,8 @@ class Wallet$ {
|
|
|
22661
22660
|
if (!this.cache) {
|
|
22662
22661
|
return SdkCache.withoutCache(res);
|
|
22663
22662
|
}
|
|
22664
|
-
const
|
|
22665
|
-
return SdkCache.withCache(
|
|
22663
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22664
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22666
22665
|
}
|
|
22667
22666
|
/**
|
|
22668
22667
|
* get a wallet by currency code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
|
|
@@ -22678,8 +22677,8 @@ class Wallet$ {
|
|
|
22678
22677
|
if (!this.cache) {
|
|
22679
22678
|
return SdkCache.withoutCache(res);
|
|
22680
22679
|
}
|
|
22681
|
-
const
|
|
22682
|
-
return SdkCache.withCache(
|
|
22680
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22681
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22683
22682
|
}
|
|
22684
22683
|
}
|
|
22685
22684
|
|
|
@@ -23069,8 +23068,8 @@ class Roles$ {
|
|
|
23069
23068
|
if (!this.cache) {
|
|
23070
23069
|
return SdkCache.withoutCache(res);
|
|
23071
23070
|
}
|
|
23072
|
-
const
|
|
23073
|
-
return SdkCache.withCache(
|
|
23071
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23072
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23074
23073
|
}
|
|
23075
23074
|
/**
|
|
23076
23075
|
* <br>This endpoint is used to get non-admin role based on specify roleId. <br>action code : 10417
|
|
@@ -23083,8 +23082,8 @@ class Roles$ {
|
|
|
23083
23082
|
if (!this.cache) {
|
|
23084
23083
|
return SdkCache.withoutCache(res);
|
|
23085
23084
|
}
|
|
23086
|
-
const
|
|
23087
|
-
return SdkCache.withCache(
|
|
23085
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23086
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23088
23087
|
}
|
|
23089
23088
|
}
|
|
23090
23089
|
|
|
@@ -23139,8 +23138,8 @@ class Sso$ {
|
|
|
23139
23138
|
if (!this.cache) {
|
|
23140
23139
|
return SdkCache.withoutCache(res);
|
|
23141
23140
|
}
|
|
23142
|
-
const
|
|
23143
|
-
return SdkCache.withCache(
|
|
23141
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23142
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23144
23143
|
}
|
|
23145
23144
|
/**
|
|
23146
23145
|
* Logout user's session on platform that logged in using SSO.
|
|
@@ -25146,8 +25145,8 @@ class Category$ {
|
|
|
25146
25145
|
if (!this.cache) {
|
|
25147
25146
|
return SdkCache.withoutCache(res);
|
|
25148
25147
|
}
|
|
25149
|
-
const
|
|
25150
|
-
return SdkCache.withCache(
|
|
25148
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25149
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25151
25150
|
}
|
|
25152
25151
|
/**
|
|
25153
25152
|
* This API is used to get category by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1 (CREATE)(user with this permission can view draft store category)</li><li><i>Returns</i>: category data</li></ul>
|
|
@@ -25162,8 +25161,8 @@ class Category$ {
|
|
|
25162
25161
|
if (!this.cache) {
|
|
25163
25162
|
return SdkCache.withoutCache(res);
|
|
25164
25163
|
}
|
|
25165
|
-
const
|
|
25166
|
-
return SdkCache.withCache(
|
|
25164
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25165
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25167
25166
|
}
|
|
25168
25167
|
/**
|
|
25169
25168
|
* This API is used to get root categories.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: root category data</li></ul>
|
|
@@ -25176,8 +25175,8 @@ class Category$ {
|
|
|
25176
25175
|
if (!this.cache) {
|
|
25177
25176
|
return SdkCache.withoutCache(res);
|
|
25178
25177
|
}
|
|
25179
|
-
const
|
|
25180
|
-
return SdkCache.withCache(
|
|
25178
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25179
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25181
25180
|
}
|
|
25182
25181
|
/**
|
|
25183
25182
|
* This API is used to get descendant categories by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: list of descendant categories data</li></ul>
|
|
@@ -25192,8 +25191,8 @@ class Category$ {
|
|
|
25192
25191
|
if (!this.cache) {
|
|
25193
25192
|
return SdkCache.withoutCache(res);
|
|
25194
25193
|
}
|
|
25195
|
-
const
|
|
25196
|
-
return SdkCache.withCache(
|
|
25194
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25195
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25197
25196
|
}
|
|
25198
25197
|
/**
|
|
25199
25198
|
* This API is used to download store's structured categories.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store content)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store content)</li><li><i>Returns</i>: structured categories</li></ul>
|
|
@@ -25206,8 +25205,8 @@ class Category$ {
|
|
|
25206
25205
|
if (!this.cache) {
|
|
25207
25206
|
return SdkCache.withoutCache(res);
|
|
25208
25207
|
}
|
|
25209
|
-
const
|
|
25210
|
-
return SdkCache.withCache(
|
|
25208
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25209
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25211
25210
|
}
|
|
25212
25211
|
}
|
|
25213
25212
|
|
|
@@ -25261,8 +25260,8 @@ class Store$ {
|
|
|
25261
25260
|
if (!this.cache) {
|
|
25262
25261
|
return SdkCache.withoutCache(res);
|
|
25263
25262
|
}
|
|
25264
|
-
const
|
|
25265
|
-
return SdkCache.withCache(
|
|
25263
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25264
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25266
25265
|
}
|
|
25267
25266
|
}
|
|
25268
25267
|
|
|
@@ -25568,8 +25567,8 @@ class Reward$ {
|
|
|
25568
25567
|
if (!this.cache) {
|
|
25569
25568
|
return SdkCache.withoutCache(res);
|
|
25570
25569
|
}
|
|
25571
|
-
const
|
|
25572
|
-
return SdkCache.withCache(
|
|
25570
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25571
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25573
25572
|
}
|
|
25574
25573
|
/**
|
|
25575
25574
|
* This API is used to get reward by reward Id.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:REWARD", action=2 (READ)</li><li><i>Returns</i>: reward instance</li></ul>
|
|
@@ -25584,8 +25583,8 @@ class Reward$ {
|
|
|
25584
25583
|
if (!this.cache) {
|
|
25585
25584
|
return SdkCache.withoutCache(res);
|
|
25586
25585
|
}
|
|
25587
|
-
const
|
|
25588
|
-
return SdkCache.withCache(
|
|
25586
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25587
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25589
25588
|
}
|
|
25590
25589
|
/**
|
|
25591
25590
|
* This API is used to query rewards by criteria.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:REWARD", action=2 (READ)</li><li><i>Returns</i>: the list of rewards</li></ul>
|
|
@@ -25598,8 +25597,8 @@ class Reward$ {
|
|
|
25598
25597
|
if (!this.cache) {
|
|
25599
25598
|
return SdkCache.withoutCache(res);
|
|
25600
25599
|
}
|
|
25601
|
-
const
|
|
25602
|
-
return SdkCache.withCache(
|
|
25600
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25601
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25603
25602
|
}
|
|
25604
25603
|
}
|
|
25605
25604
|
|
|
@@ -28976,8 +28975,8 @@ class Drm$ {
|
|
|
28976
28975
|
if (!this.cache) {
|
|
28977
28976
|
return SdkCache.withoutCache(res);
|
|
28978
28977
|
}
|
|
28979
|
-
const
|
|
28980
|
-
return SdkCache.withCache(
|
|
28978
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28979
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28981
28980
|
}
|
|
28982
28981
|
/**
|
|
28983
28982
|
* This API is used to get public key.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:BUILDINFO", action=2 (READ)</li><li><i>Returns</i>: url to download the key</li></ul>
|
|
@@ -28990,8 +28989,8 @@ class Drm$ {
|
|
|
28990
28989
|
if (!this.cache) {
|
|
28991
28990
|
return SdkCache.withoutCache(res);
|
|
28992
28991
|
}
|
|
28993
|
-
const
|
|
28994
|
-
return SdkCache.withCache(
|
|
28992
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28993
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28995
28994
|
}
|
|
28996
28995
|
}
|
|
28997
28996
|
|
|
@@ -29397,8 +29396,8 @@ class Utility$ {
|
|
|
29397
29396
|
if (!this.cache) {
|
|
29398
29397
|
return SdkCache.withoutCache(res);
|
|
29399
29398
|
}
|
|
29400
|
-
const
|
|
29401
|
-
return SdkCache.withCache(
|
|
29399
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
29400
|
+
return SdkCache.withCache(cacheKey, res);
|
|
29402
29401
|
}
|
|
29403
29402
|
}
|
|
29404
29403
|
|
|
@@ -29963,8 +29962,8 @@ class StaticConfigs$ {
|
|
|
29963
29962
|
if (!this.cache) {
|
|
29964
29963
|
return SdkCache.withoutCache(res);
|
|
29965
29964
|
}
|
|
29966
|
-
const
|
|
29967
|
-
return SdkCache.withCache(
|
|
29965
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
29966
|
+
return SdkCache.withCache(cacheKey, res);
|
|
29968
29967
|
}
|
|
29969
29968
|
}
|
|
29970
29969
|
|