@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.es.js
CHANGED
|
@@ -9595,8 +9595,8 @@ class Misc$ {
|
|
|
9595
9595
|
if (!this.cache) {
|
|
9596
9596
|
return SdkCache.withoutCache(res);
|
|
9597
9597
|
}
|
|
9598
|
-
const
|
|
9599
|
-
return SdkCache.withCache(
|
|
9598
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9599
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9600
9600
|
}
|
|
9601
9601
|
/**
|
|
9602
9602
|
* List time zones.<br>Other detail info: <ul><li><i>Returns</i>: time zones</li></ul>
|
|
@@ -9609,8 +9609,8 @@ class Misc$ {
|
|
|
9609
9609
|
if (!this.cache) {
|
|
9610
9610
|
return SdkCache.withoutCache(res);
|
|
9611
9611
|
}
|
|
9612
|
-
const
|
|
9613
|
-
return SdkCache.withCache(
|
|
9612
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9613
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9614
9614
|
}
|
|
9615
9615
|
/**
|
|
9616
9616
|
* List languages.<br>Other detail info: <ul><li><i>Returns</i>: language list</li></ul>
|
|
@@ -9623,8 +9623,8 @@ class Misc$ {
|
|
|
9623
9623
|
if (!this.cache) {
|
|
9624
9624
|
return SdkCache.withoutCache(res);
|
|
9625
9625
|
}
|
|
9626
|
-
const
|
|
9627
|
-
return SdkCache.withCache(
|
|
9626
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9627
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9628
9628
|
}
|
|
9629
9629
|
/**
|
|
9630
9630
|
* List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
|
|
@@ -9637,8 +9637,8 @@ class Misc$ {
|
|
|
9637
9637
|
if (!this.cache) {
|
|
9638
9638
|
return SdkCache.withoutCache(res);
|
|
9639
9639
|
}
|
|
9640
|
-
const
|
|
9641
|
-
return SdkCache.withCache(
|
|
9640
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9641
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9642
9642
|
}
|
|
9643
9643
|
}
|
|
9644
9644
|
|
|
@@ -9715,8 +9715,8 @@ class Namespace$ {
|
|
|
9715
9715
|
if (!this.cache) {
|
|
9716
9716
|
return SdkCache.withoutCache(res);
|
|
9717
9717
|
}
|
|
9718
|
-
const
|
|
9719
|
-
return SdkCache.withCache(
|
|
9718
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9719
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9720
9720
|
}
|
|
9721
9721
|
/**
|
|
9722
9722
|
* 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>
|
|
@@ -9729,8 +9729,8 @@ class Namespace$ {
|
|
|
9729
9729
|
if (!this.cache) {
|
|
9730
9730
|
return SdkCache.withoutCache(res);
|
|
9731
9731
|
}
|
|
9732
|
-
const
|
|
9733
|
-
return SdkCache.withCache(
|
|
9732
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9733
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9734
9734
|
}
|
|
9735
9735
|
}
|
|
9736
9736
|
|
|
@@ -9852,8 +9852,8 @@ class UserProfile$ {
|
|
|
9852
9852
|
if (!this.cache) {
|
|
9853
9853
|
return SdkCache.withoutCache(res);
|
|
9854
9854
|
}
|
|
9855
|
-
const
|
|
9856
|
-
return SdkCache.withCache(
|
|
9855
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9856
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9857
9857
|
}
|
|
9858
9858
|
/**
|
|
9859
9859
|
* Get user public profile by public id.<br>Other detail info: <ul><li><i>Returns</i>: user public profile</li></ul>
|
|
@@ -9866,8 +9866,8 @@ class UserProfile$ {
|
|
|
9866
9866
|
if (!this.cache) {
|
|
9867
9867
|
return SdkCache.withoutCache(res);
|
|
9868
9868
|
}
|
|
9869
|
-
const
|
|
9870
|
-
return SdkCache.withCache(
|
|
9869
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9870
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9871
9871
|
}
|
|
9872
9872
|
/**
|
|
9873
9873
|
* 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>
|
|
@@ -9880,8 +9880,8 @@ class UserProfile$ {
|
|
|
9880
9880
|
if (!this.cache) {
|
|
9881
9881
|
return SdkCache.withoutCache(res);
|
|
9882
9882
|
}
|
|
9883
|
-
const
|
|
9884
|
-
return SdkCache.withCache(
|
|
9883
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9884
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9885
9885
|
}
|
|
9886
9886
|
/**
|
|
9887
9887
|
* 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>
|
|
@@ -9903,8 +9903,8 @@ class UserProfile$ {
|
|
|
9903
9903
|
if (!this.cache) {
|
|
9904
9904
|
return SdkCache.withoutCache(res);
|
|
9905
9905
|
}
|
|
9906
|
-
const
|
|
9907
|
-
return SdkCache.withCache(
|
|
9906
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9907
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9908
9908
|
}
|
|
9909
9909
|
/**
|
|
9910
9910
|
* 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>
|
|
@@ -9935,8 +9935,8 @@ class UserProfile$ {
|
|
|
9935
9935
|
if (!this.cache) {
|
|
9936
9936
|
return SdkCache.withoutCache(res);
|
|
9937
9937
|
}
|
|
9938
|
-
const
|
|
9939
|
-
return SdkCache.withCache(
|
|
9938
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9939
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9940
9940
|
}
|
|
9941
9941
|
/**
|
|
9942
9942
|
* 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>
|
|
@@ -9960,8 +9960,8 @@ class UserProfile$ {
|
|
|
9960
9960
|
if (!this.cache) {
|
|
9961
9961
|
return SdkCache.withoutCache(res);
|
|
9962
9962
|
}
|
|
9963
|
-
const
|
|
9964
|
-
return SdkCache.withCache(
|
|
9963
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9964
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9965
9965
|
}
|
|
9966
9966
|
/**
|
|
9967
9967
|
* 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>
|
|
@@ -9976,8 +9976,8 @@ class UserProfile$ {
|
|
|
9976
9976
|
if (!this.cache) {
|
|
9977
9977
|
return SdkCache.withoutCache(res);
|
|
9978
9978
|
}
|
|
9979
|
-
const
|
|
9980
|
-
return SdkCache.withCache(
|
|
9979
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
9980
|
+
return SdkCache.withCache(cacheKey, res);
|
|
9981
9981
|
}
|
|
9982
9982
|
/**
|
|
9983
9983
|
* 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>
|
|
@@ -10003,8 +10003,8 @@ class UserProfile$ {
|
|
|
10003
10003
|
if (!this.cache) {
|
|
10004
10004
|
return SdkCache.withoutCache(res);
|
|
10005
10005
|
}
|
|
10006
|
-
const
|
|
10007
|
-
return SdkCache.withCache(
|
|
10006
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10007
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10008
10008
|
}
|
|
10009
10009
|
/**
|
|
10010
10010
|
* 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>
|
|
@@ -10123,8 +10123,8 @@ class Caching$ {
|
|
|
10123
10123
|
if (!this.cache) {
|
|
10124
10124
|
return SdkCache.withoutCache(res);
|
|
10125
10125
|
}
|
|
10126
|
-
const
|
|
10127
|
-
return SdkCache.withCache(
|
|
10126
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10127
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10128
10128
|
}
|
|
10129
10129
|
}
|
|
10130
10130
|
|
|
@@ -10254,8 +10254,8 @@ class Dlc$$1 {
|
|
|
10254
10254
|
if (!this.cache) {
|
|
10255
10255
|
return SdkCache.withoutCache(res);
|
|
10256
10256
|
}
|
|
10257
|
-
const
|
|
10258
|
-
return SdkCache.withCache(
|
|
10257
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10258
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10259
10259
|
}
|
|
10260
10260
|
/**
|
|
10261
10261
|
* 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>
|
|
@@ -10270,8 +10270,8 @@ class Dlc$$1 {
|
|
|
10270
10270
|
if (!this.cache) {
|
|
10271
10271
|
return SdkCache.withoutCache(res);
|
|
10272
10272
|
}
|
|
10273
|
-
const
|
|
10274
|
-
return SdkCache.withCache(
|
|
10273
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10274
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10275
10275
|
}
|
|
10276
10276
|
/**
|
|
10277
10277
|
* 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>
|
|
@@ -10286,8 +10286,8 @@ class Dlc$$1 {
|
|
|
10286
10286
|
if (!this.cache) {
|
|
10287
10287
|
return SdkCache.withoutCache(res);
|
|
10288
10288
|
}
|
|
10289
|
-
const
|
|
10290
|
-
return SdkCache.withCache(
|
|
10289
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10290
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10291
10291
|
}
|
|
10292
10292
|
/**
|
|
10293
10293
|
* 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>
|
|
@@ -10302,8 +10302,8 @@ class Dlc$$1 {
|
|
|
10302
10302
|
if (!this.cache) {
|
|
10303
10303
|
return SdkCache.withoutCache(res);
|
|
10304
10304
|
}
|
|
10305
|
-
const
|
|
10306
|
-
return SdkCache.withCache(
|
|
10305
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10306
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10307
10307
|
}
|
|
10308
10308
|
}
|
|
10309
10309
|
|
|
@@ -10582,8 +10582,8 @@ class Downloader$ {
|
|
|
10582
10582
|
if (!this.cache) {
|
|
10583
10583
|
return SdkCache.withoutCache(res);
|
|
10584
10584
|
}
|
|
10585
|
-
const
|
|
10586
|
-
return SdkCache.withCache(
|
|
10585
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10586
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10587
10587
|
}
|
|
10588
10588
|
/**
|
|
10589
10589
|
* 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>
|
|
@@ -10600,8 +10600,8 @@ class Downloader$ {
|
|
|
10600
10600
|
if (!this.cache) {
|
|
10601
10601
|
return SdkCache.withoutCache(res);
|
|
10602
10602
|
}
|
|
10603
|
-
const
|
|
10604
|
-
return SdkCache.withCache(
|
|
10603
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10604
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10605
10605
|
}
|
|
10606
10606
|
/**
|
|
10607
10607
|
* 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>
|
|
@@ -10616,8 +10616,8 @@ class Downloader$ {
|
|
|
10616
10616
|
if (!this.cache) {
|
|
10617
10617
|
return SdkCache.withoutCache(res);
|
|
10618
10618
|
}
|
|
10619
|
-
const
|
|
10620
|
-
return SdkCache.withCache(
|
|
10619
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10620
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10621
10621
|
}
|
|
10622
10622
|
/**
|
|
10623
10623
|
* 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>
|
|
@@ -10633,8 +10633,8 @@ class Downloader$ {
|
|
|
10633
10633
|
if (!this.cache) {
|
|
10634
10634
|
return SdkCache.withoutCache(res);
|
|
10635
10635
|
}
|
|
10636
|
-
const
|
|
10637
|
-
return SdkCache.withCache(
|
|
10636
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10637
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10638
10638
|
}
|
|
10639
10639
|
/**
|
|
10640
10640
|
* 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>
|
|
@@ -10647,8 +10647,8 @@ class Downloader$ {
|
|
|
10647
10647
|
if (!this.cache) {
|
|
10648
10648
|
return SdkCache.withoutCache(res);
|
|
10649
10649
|
}
|
|
10650
|
-
const
|
|
10651
|
-
return SdkCache.withCache(
|
|
10650
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10651
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10652
10652
|
}
|
|
10653
10653
|
/**
|
|
10654
10654
|
* 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>
|
|
@@ -10664,8 +10664,8 @@ class Downloader$ {
|
|
|
10664
10664
|
if (!this.cache) {
|
|
10665
10665
|
return SdkCache.withoutCache(res);
|
|
10666
10666
|
}
|
|
10667
|
-
const
|
|
10668
|
-
return SdkCache.withCache(
|
|
10667
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10668
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10669
10669
|
}
|
|
10670
10670
|
/**
|
|
10671
10671
|
* 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>
|
|
@@ -10680,8 +10680,8 @@ class Downloader$ {
|
|
|
10680
10680
|
if (!this.cache) {
|
|
10681
10681
|
return SdkCache.withoutCache(res);
|
|
10682
10682
|
}
|
|
10683
|
-
const
|
|
10684
|
-
return SdkCache.withCache(
|
|
10683
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10684
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10685
10685
|
}
|
|
10686
10686
|
}
|
|
10687
10687
|
|
|
@@ -10815,8 +10815,8 @@ class EventV2$ {
|
|
|
10815
10815
|
if (!this.cache) {
|
|
10816
10816
|
return SdkCache.withoutCache(res);
|
|
10817
10817
|
}
|
|
10818
|
-
const
|
|
10819
|
-
return SdkCache.withCache(
|
|
10818
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10819
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10820
10820
|
}
|
|
10821
10821
|
/**
|
|
10822
10822
|
* <p>Requires valid user access token</p>
|
|
@@ -10831,8 +10831,8 @@ class EventV2$ {
|
|
|
10831
10831
|
if (!this.cache) {
|
|
10832
10832
|
return SdkCache.withoutCache(res);
|
|
10833
10833
|
}
|
|
10834
|
-
const
|
|
10835
|
-
return SdkCache.withCache(
|
|
10834
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10835
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10836
10836
|
}
|
|
10837
10837
|
}
|
|
10838
10838
|
|
|
@@ -10935,8 +10935,8 @@ class DataDeletion$ {
|
|
|
10935
10935
|
if (!this.cache) {
|
|
10936
10936
|
return SdkCache.withoutCache(res);
|
|
10937
10937
|
}
|
|
10938
|
-
const
|
|
10939
|
-
return SdkCache.withCache(
|
|
10938
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
10939
|
+
return SdkCache.withCache(cacheKey, res);
|
|
10940
10940
|
}
|
|
10941
10941
|
}
|
|
10942
10942
|
|
|
@@ -11035,8 +11035,8 @@ class DataRetrieval$ {
|
|
|
11035
11035
|
if (!this.cache) {
|
|
11036
11036
|
return SdkCache.withoutCache(res);
|
|
11037
11037
|
}
|
|
11038
|
-
const
|
|
11039
|
-
return SdkCache.withCache(
|
|
11038
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11039
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11040
11040
|
}
|
|
11041
11041
|
/**
|
|
11042
11042
|
* <p>Requires valid user access token</p>
|
|
@@ -11195,8 +11195,8 @@ class InputValidations$ {
|
|
|
11195
11195
|
if (!this.cache) {
|
|
11196
11196
|
return SdkCache.withoutCache(res);
|
|
11197
11197
|
}
|
|
11198
|
-
const
|
|
11199
|
-
return SdkCache.withCache(
|
|
11198
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11199
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11200
11200
|
}
|
|
11201
11201
|
}
|
|
11202
11202
|
|
|
@@ -11461,7 +11461,6 @@ class OAuth20$ {
|
|
|
11461
11461
|
*/
|
|
11462
11462
|
fetchIamV3OauthAuthorize(queryParams) {
|
|
11463
11463
|
const params = {
|
|
11464
|
-
response_type: 'code',
|
|
11465
11464
|
scope: 'commerce account social publishing analytics',
|
|
11466
11465
|
code_challenge_method: 'plain',
|
|
11467
11466
|
createHeadless: true,
|
|
@@ -11473,8 +11472,8 @@ class OAuth20$ {
|
|
|
11473
11472
|
if (!this.cache) {
|
|
11474
11473
|
return SdkCache.withoutCache(res);
|
|
11475
11474
|
}
|
|
11476
|
-
const
|
|
11477
|
-
return SdkCache.withCache(
|
|
11475
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11476
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11478
11477
|
}
|
|
11479
11478
|
/**
|
|
11480
11479
|
* <p>This endpoint returns information about an access token intended to be used by resource servers or other internal servers.</p>
|
|
@@ -11508,8 +11507,8 @@ class OAuth20$ {
|
|
|
11508
11507
|
if (!this.cache) {
|
|
11509
11508
|
return SdkCache.withoutCache(res);
|
|
11510
11509
|
}
|
|
11511
|
-
const
|
|
11512
|
-
return SdkCache.withCache(
|
|
11510
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11511
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11513
11512
|
}
|
|
11514
11513
|
/**
|
|
11515
11514
|
* Send 2FA code<br/>
|
|
@@ -11589,8 +11588,8 @@ class OAuth20$ {
|
|
|
11589
11588
|
if (!this.cache) {
|
|
11590
11589
|
return SdkCache.withoutCache(res);
|
|
11591
11590
|
}
|
|
11592
|
-
const
|
|
11593
|
-
return SdkCache.withCache(
|
|
11591
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11592
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11594
11593
|
}
|
|
11595
11594
|
/**
|
|
11596
11595
|
* Generate url to request auth code from third party platform <br>
|
|
@@ -11627,8 +11626,8 @@ class OAuth20$ {
|
|
|
11627
11626
|
if (!this.cache) {
|
|
11628
11627
|
return SdkCache.withoutCache(res);
|
|
11629
11628
|
}
|
|
11630
|
-
const
|
|
11631
|
-
return SdkCache.withCache(
|
|
11629
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11630
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11632
11631
|
}
|
|
11633
11632
|
/**
|
|
11634
11633
|
* <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.
|
|
@@ -11741,8 +11740,8 @@ class OAuth20$ {
|
|
|
11741
11740
|
if (!this.cache) {
|
|
11742
11741
|
return SdkCache.withoutCache(res);
|
|
11743
11742
|
}
|
|
11744
|
-
const
|
|
11745
|
-
return SdkCache.withCache(
|
|
11743
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
11744
|
+
return SdkCache.withCache(cacheKey, res);
|
|
11746
11745
|
}
|
|
11747
11746
|
/**
|
|
11748
11747
|
* <p>This endpoint revokes a token.</p>
|
|
@@ -20611,8 +20610,8 @@ class OAuth20Extension$ {
|
|
|
20611
20610
|
if (!this.cache) {
|
|
20612
20611
|
return SdkCache.withoutCache(res);
|
|
20613
20612
|
}
|
|
20614
|
-
const
|
|
20615
|
-
return SdkCache.withCache(
|
|
20613
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20614
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20616
20615
|
}
|
|
20617
20616
|
/**
|
|
20618
20617
|
* <p>This endpoint is used to remove <b>access_token</b>, <b>refresh_token</b> from cookie and revoke token from usage.</p>
|
|
@@ -20681,8 +20680,8 @@ class OAuth20Extension$ {
|
|
|
20681
20680
|
if (!this.cache) {
|
|
20682
20681
|
return SdkCache.withoutCache(res);
|
|
20683
20682
|
}
|
|
20684
|
-
const
|
|
20685
|
-
return SdkCache.withCache(
|
|
20683
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20684
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20686
20685
|
}
|
|
20687
20686
|
/**
|
|
20688
20687
|
* <p>This endpoint is being used to generate publisher user's game token.<br>
|
|
@@ -20988,8 +20987,8 @@ class ThirdPartyCredential$ {
|
|
|
20988
20987
|
if (!this.cache) {
|
|
20989
20988
|
return SdkCache.withoutCache(res);
|
|
20990
20989
|
}
|
|
20991
|
-
const
|
|
20992
|
-
return SdkCache.withCache(
|
|
20990
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
20991
|
+
return SdkCache.withCache(cacheKey, res);
|
|
20993
20992
|
}
|
|
20994
20993
|
/**
|
|
20995
20994
|
* This is the Public API to Get All Active OIDC Platform Credential By Client ID
|
|
@@ -21002,8 +21001,8 @@ class ThirdPartyCredential$ {
|
|
|
21002
21001
|
if (!this.cache) {
|
|
21003
21002
|
return SdkCache.withoutCache(res);
|
|
21004
21003
|
}
|
|
21005
|
-
const
|
|
21006
|
-
return SdkCache.withCache(
|
|
21004
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21005
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21007
21006
|
}
|
|
21008
21007
|
}
|
|
21009
21008
|
|
|
@@ -21375,8 +21374,8 @@ class UsersV4$ {
|
|
|
21375
21374
|
if (!this.cache) {
|
|
21376
21375
|
return SdkCache.withoutCache(res);
|
|
21377
21376
|
}
|
|
21378
|
-
const
|
|
21379
|
-
return SdkCache.withCache(
|
|
21377
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21378
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21380
21379
|
}
|
|
21381
21380
|
/**
|
|
21382
21381
|
* <p>This endpoint is used to generate 8-digits backup codes.
|
|
@@ -21414,8 +21413,8 @@ class UsersV4$ {
|
|
|
21414
21413
|
if (!this.cache) {
|
|
21415
21414
|
return SdkCache.withoutCache(res);
|
|
21416
21415
|
}
|
|
21417
|
-
const
|
|
21418
|
-
return SdkCache.withCache(
|
|
21416
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21417
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21419
21418
|
}
|
|
21420
21419
|
/**
|
|
21421
21420
|
* <p>This endpoint is used to enable 2FA backup codes.</p>
|
|
@@ -21486,8 +21485,8 @@ class UsersV4$ {
|
|
|
21486
21485
|
if (!this.cache) {
|
|
21487
21486
|
return SdkCache.withoutCache(res);
|
|
21488
21487
|
}
|
|
21489
|
-
const
|
|
21490
|
-
return SdkCache.withCache(
|
|
21488
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
21489
|
+
return SdkCache.withCache(cacheKey, res);
|
|
21491
21490
|
}
|
|
21492
21491
|
/**
|
|
21493
21492
|
* <p>This endpoint is used to make 2FA factor default.</p>
|
|
@@ -22027,8 +22026,8 @@ class Users$ {
|
|
|
22027
22026
|
if (!this.cache) {
|
|
22028
22027
|
return SdkCache.withoutCache(res);
|
|
22029
22028
|
}
|
|
22030
|
-
const
|
|
22031
|
-
return SdkCache.withCache(
|
|
22029
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22030
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22032
22031
|
}
|
|
22033
22032
|
/**
|
|
22034
22033
|
* List User ID By Platform User ID
|
|
@@ -22065,8 +22064,8 @@ class Users$ {
|
|
|
22065
22064
|
if (!this.cache) {
|
|
22066
22065
|
return SdkCache.withoutCache(res);
|
|
22067
22066
|
}
|
|
22068
|
-
const
|
|
22069
|
-
return SdkCache.withCache(
|
|
22067
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22068
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22070
22069
|
}
|
|
22071
22070
|
/**
|
|
22072
22071
|
* This endpoint is used to get linking status.
|
|
@@ -22081,8 +22080,8 @@ class Users$ {
|
|
|
22081
22080
|
if (!this.cache) {
|
|
22082
22081
|
return SdkCache.withoutCache(res);
|
|
22083
22082
|
}
|
|
22084
|
-
const
|
|
22085
|
-
return SdkCache.withCache(
|
|
22083
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22084
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22086
22085
|
}
|
|
22087
22086
|
/**
|
|
22088
22087
|
* <p>Requires valid user access token</p>
|
|
@@ -22098,8 +22097,8 @@ class Users$ {
|
|
|
22098
22097
|
if (!this.cache) {
|
|
22099
22098
|
return SdkCache.withoutCache(res);
|
|
22100
22099
|
}
|
|
22101
|
-
const
|
|
22102
|
-
return SdkCache.withCache(
|
|
22100
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22101
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22103
22102
|
}
|
|
22104
22103
|
/**
|
|
22105
22104
|
*
|
|
@@ -22138,8 +22137,8 @@ class Users$ {
|
|
|
22138
22137
|
if (!this.cache) {
|
|
22139
22138
|
return SdkCache.withoutCache(res);
|
|
22140
22139
|
}
|
|
22141
|
-
const
|
|
22142
|
-
return SdkCache.withCache(
|
|
22140
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22141
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22143
22142
|
}
|
|
22144
22143
|
/**
|
|
22145
22144
|
* <p>Notes:</p>
|
|
@@ -22209,8 +22208,8 @@ class Users$ {
|
|
|
22209
22208
|
if (!this.cache) {
|
|
22210
22209
|
return SdkCache.withoutCache(res);
|
|
22211
22210
|
}
|
|
22212
|
-
const
|
|
22213
|
-
return SdkCache.withCache(
|
|
22211
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22212
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22214
22213
|
}
|
|
22215
22214
|
/**
|
|
22216
22215
|
* This endpoint create user from saved roles when creating invitation and submitted data.
|
|
@@ -22506,8 +22505,8 @@ class Users$ {
|
|
|
22506
22505
|
if (!this.cache) {
|
|
22507
22506
|
return SdkCache.withoutCache(res);
|
|
22508
22507
|
}
|
|
22509
|
-
const
|
|
22510
|
-
return SdkCache.withCache(
|
|
22508
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22509
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22511
22510
|
}
|
|
22512
22511
|
/**
|
|
22513
22512
|
* This endpoint is used by third party to redirect the code for the purpose of linking the account third party to IAM account.
|
|
@@ -22522,8 +22521,8 @@ class Users$ {
|
|
|
22522
22521
|
if (!this.cache) {
|
|
22523
22522
|
return SdkCache.withoutCache(res);
|
|
22524
22523
|
}
|
|
22525
|
-
const
|
|
22526
|
-
return SdkCache.withCache(
|
|
22524
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22525
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22527
22526
|
}
|
|
22528
22527
|
/**
|
|
22529
22528
|
* <p>action code: 10105</p>
|
|
@@ -22545,8 +22544,8 @@ class Users$ {
|
|
|
22545
22544
|
if (!this.cache) {
|
|
22546
22545
|
return SdkCache.withoutCache(res);
|
|
22547
22546
|
}
|
|
22548
|
-
const
|
|
22549
|
-
return SdkCache.withCache(
|
|
22547
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22548
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22550
22549
|
}
|
|
22551
22550
|
/**
|
|
22552
22551
|
* Required valid user authorization.
|
|
@@ -22567,8 +22566,8 @@ class Users$ {
|
|
|
22567
22566
|
if (!this.cache) {
|
|
22568
22567
|
return SdkCache.withoutCache(res);
|
|
22569
22568
|
}
|
|
22570
|
-
const
|
|
22571
|
-
return SdkCache.withCache(
|
|
22569
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22570
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22572
22571
|
}
|
|
22573
22572
|
/**
|
|
22574
22573
|
* <p>This endpoint retrieves platform accounts linked to user.
|
|
@@ -22585,8 +22584,8 @@ class Users$ {
|
|
|
22585
22584
|
if (!this.cache) {
|
|
22586
22585
|
return SdkCache.withoutCache(res);
|
|
22587
22586
|
}
|
|
22588
|
-
const
|
|
22589
|
-
return SdkCache.withCache(
|
|
22587
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22588
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22590
22589
|
}
|
|
22591
22590
|
/**
|
|
22592
22591
|
* <p>This endpoint retrieves user info and linked platform accounts.
|
|
@@ -22602,8 +22601,8 @@ class Users$ {
|
|
|
22602
22601
|
if (!this.cache) {
|
|
22603
22602
|
return SdkCache.withoutCache(res);
|
|
22604
22603
|
}
|
|
22605
|
-
const
|
|
22606
|
-
return SdkCache.withCache(
|
|
22604
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22605
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22607
22606
|
}
|
|
22608
22607
|
/**
|
|
22609
22608
|
* 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>
|
|
@@ -22618,8 +22617,8 @@ class Users$ {
|
|
|
22618
22617
|
if (!this.cache) {
|
|
22619
22618
|
return SdkCache.withoutCache(res);
|
|
22620
22619
|
}
|
|
22621
|
-
const
|
|
22622
|
-
return SdkCache.withCache(
|
|
22620
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22621
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22623
22622
|
}
|
|
22624
22623
|
/**
|
|
22625
22624
|
* <p>This endpoint retrieves platform accounts linked to user. Required valid user authorization.
|
|
@@ -22635,8 +22634,8 @@ class Users$ {
|
|
|
22635
22634
|
if (!this.cache) {
|
|
22636
22635
|
return SdkCache.withoutCache(res);
|
|
22637
22636
|
}
|
|
22638
|
-
const
|
|
22639
|
-
return SdkCache.withCache(
|
|
22637
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22638
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22640
22639
|
}
|
|
22641
22640
|
/**
|
|
22642
22641
|
* This endpoint gets list justice platform account by providing publisher namespace and publisher userID</br>
|
|
@@ -22652,8 +22651,8 @@ class Users$ {
|
|
|
22652
22651
|
if (!this.cache) {
|
|
22653
22652
|
return SdkCache.withoutCache(res);
|
|
22654
22653
|
}
|
|
22655
|
-
const
|
|
22656
|
-
return SdkCache.withCache(
|
|
22654
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22655
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22657
22656
|
}
|
|
22658
22657
|
/**
|
|
22659
22658
|
* It is going to be <strong>DEPRECATED</strong>.
|
|
@@ -22699,8 +22698,8 @@ class Users$ {
|
|
|
22699
22698
|
if (!this.cache) {
|
|
22700
22699
|
return SdkCache.withoutCache(res);
|
|
22701
22700
|
}
|
|
22702
|
-
const
|
|
22703
|
-
return SdkCache.withCache(
|
|
22701
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22702
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22704
22703
|
}
|
|
22705
22704
|
/**
|
|
22706
22705
|
* This endpoint is used to validate the user password. Required valid user authorization and valid user ID.
|
|
@@ -22732,8 +22731,8 @@ class Users$ {
|
|
|
22732
22731
|
if (!this.cache) {
|
|
22733
22732
|
return SdkCache.withoutCache(res);
|
|
22734
22733
|
}
|
|
22735
|
-
const
|
|
22736
|
-
return SdkCache.withCache(
|
|
22734
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22735
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22737
22736
|
}
|
|
22738
22737
|
/**
|
|
22739
22738
|
* Note:<br>
|
|
@@ -22748,8 +22747,8 @@ class Users$ {
|
|
|
22748
22747
|
if (!this.cache) {
|
|
22749
22748
|
return SdkCache.withoutCache(res);
|
|
22750
22749
|
}
|
|
22751
|
-
const
|
|
22752
|
-
return SdkCache.withCache(
|
|
22750
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22751
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22753
22752
|
}
|
|
22754
22753
|
/**
|
|
22755
22754
|
* Note:<br>
|
|
@@ -22782,8 +22781,8 @@ class Users$ {
|
|
|
22782
22781
|
if (!this.cache) {
|
|
22783
22782
|
return SdkCache.withoutCache(res);
|
|
22784
22783
|
}
|
|
22785
|
-
const
|
|
22786
|
-
return SdkCache.withCache(
|
|
22784
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
22785
|
+
return SdkCache.withCache(cacheKey, res);
|
|
22787
22786
|
}
|
|
22788
22787
|
}
|
|
22789
22788
|
|
|
@@ -23188,8 +23187,8 @@ class Agreement$ {
|
|
|
23188
23187
|
if (!this.cache) {
|
|
23189
23188
|
return SdkCache.withoutCache(res);
|
|
23190
23189
|
}
|
|
23191
|
-
const
|
|
23192
|
-
return SdkCache.withCache(
|
|
23190
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23191
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23193
23192
|
}
|
|
23194
23193
|
/**
|
|
23195
23194
|
* 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>
|
|
@@ -23353,8 +23352,8 @@ class Eligibilities$ {
|
|
|
23353
23352
|
if (!this.cache) {
|
|
23354
23353
|
return SdkCache.withoutCache(res);
|
|
23355
23354
|
}
|
|
23356
|
-
const
|
|
23357
|
-
return SdkCache.withCache(
|
|
23355
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23356
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23358
23357
|
}
|
|
23359
23358
|
/**
|
|
23360
23359
|
* 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>
|
|
@@ -23367,8 +23366,8 @@ class Eligibilities$ {
|
|
|
23367
23366
|
if (!this.cache) {
|
|
23368
23367
|
return SdkCache.withoutCache(res);
|
|
23369
23368
|
}
|
|
23370
|
-
const
|
|
23371
|
-
return SdkCache.withCache(
|
|
23369
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23370
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23372
23371
|
}
|
|
23373
23372
|
}
|
|
23374
23373
|
|
|
@@ -23475,8 +23474,8 @@ class LocalizedPolicyVersions$ {
|
|
|
23475
23474
|
if (!this.cache) {
|
|
23476
23475
|
return SdkCache.withoutCache(res);
|
|
23477
23476
|
}
|
|
23478
|
-
const
|
|
23479
|
-
return SdkCache.withCache(
|
|
23477
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23478
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23480
23479
|
}
|
|
23481
23480
|
}
|
|
23482
23481
|
|
|
@@ -23558,8 +23557,8 @@ class Policies$ {
|
|
|
23558
23557
|
if (!this.cache) {
|
|
23559
23558
|
return SdkCache.withoutCache(res);
|
|
23560
23559
|
}
|
|
23561
|
-
const
|
|
23562
|
-
return SdkCache.withCache(
|
|
23560
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23561
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23563
23562
|
}
|
|
23564
23563
|
/**
|
|
23565
23564
|
* 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>
|
|
@@ -23572,8 +23571,8 @@ class Policies$ {
|
|
|
23572
23571
|
if (!this.cache) {
|
|
23573
23572
|
return SdkCache.withoutCache(res);
|
|
23574
23573
|
}
|
|
23575
|
-
const
|
|
23576
|
-
return SdkCache.withCache(
|
|
23574
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23575
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23577
23576
|
}
|
|
23578
23577
|
/**
|
|
23579
23578
|
* 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>
|
|
@@ -23586,8 +23585,8 @@ class Policies$ {
|
|
|
23586
23585
|
if (!this.cache) {
|
|
23587
23586
|
return SdkCache.withoutCache(res);
|
|
23588
23587
|
}
|
|
23589
|
-
const
|
|
23590
|
-
return SdkCache.withCache(
|
|
23588
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23589
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23591
23590
|
}
|
|
23592
23591
|
}
|
|
23593
23592
|
|
|
@@ -23667,8 +23666,8 @@ class Templates$ {
|
|
|
23667
23666
|
if (!this.cache) {
|
|
23668
23667
|
return SdkCache.withoutCache(res);
|
|
23669
23668
|
}
|
|
23670
|
-
const
|
|
23671
|
-
return SdkCache.withCache(
|
|
23669
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23670
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23672
23671
|
}
|
|
23673
23672
|
fetchV1TemplatesByTemplateConfigsByConfig(template, config) {
|
|
23674
23673
|
const params = {};
|
|
@@ -23681,8 +23680,8 @@ class Templates$ {
|
|
|
23681
23680
|
if (!this.cache) {
|
|
23682
23681
|
return SdkCache.withoutCache(res);
|
|
23683
23682
|
}
|
|
23684
|
-
const
|
|
23685
|
-
return SdkCache.withCache(
|
|
23683
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23684
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23686
23685
|
}
|
|
23687
23686
|
}
|
|
23688
23687
|
|
|
@@ -23755,8 +23754,8 @@ class Currency$ {
|
|
|
23755
23754
|
if (!this.cache) {
|
|
23756
23755
|
return SdkCache.withoutCache(res);
|
|
23757
23756
|
}
|
|
23758
|
-
const
|
|
23759
|
-
return SdkCache.withCache(
|
|
23757
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
23758
|
+
return SdkCache.withCache(cacheKey, res);
|
|
23760
23759
|
}
|
|
23761
23760
|
}
|
|
23762
23761
|
|
|
@@ -24097,8 +24096,8 @@ class Entitlement$ {
|
|
|
24097
24096
|
if (!this.cache) {
|
|
24098
24097
|
return SdkCache.withoutCache(res);
|
|
24099
24098
|
}
|
|
24100
|
-
const
|
|
24101
|
-
return SdkCache.withCache(
|
|
24099
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24100
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24102
24101
|
}
|
|
24103
24102
|
/**
|
|
24104
24103
|
* 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>
|
|
@@ -24111,8 +24110,8 @@ class Entitlement$ {
|
|
|
24111
24110
|
if (!this.cache) {
|
|
24112
24111
|
return SdkCache.withoutCache(res);
|
|
24113
24112
|
}
|
|
24114
|
-
const
|
|
24115
|
-
return SdkCache.withCache(
|
|
24113
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24114
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24116
24115
|
}
|
|
24117
24116
|
/**
|
|
24118
24117
|
* 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>
|
|
@@ -24125,8 +24124,8 @@ class Entitlement$ {
|
|
|
24125
24124
|
if (!this.cache) {
|
|
24126
24125
|
return SdkCache.withoutCache(res);
|
|
24127
24126
|
}
|
|
24128
|
-
const
|
|
24129
|
-
return SdkCache.withCache(
|
|
24127
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24128
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24130
24129
|
}
|
|
24131
24130
|
/**
|
|
24132
24131
|
* 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>
|
|
@@ -24139,8 +24138,8 @@ class Entitlement$ {
|
|
|
24139
24138
|
if (!this.cache) {
|
|
24140
24139
|
return SdkCache.withoutCache(res);
|
|
24141
24140
|
}
|
|
24142
|
-
const
|
|
24143
|
-
return SdkCache.withCache(
|
|
24141
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24142
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24144
24143
|
}
|
|
24145
24144
|
/**
|
|
24146
24145
|
* Gets an entitlement ownership token of specified itemIds, skus and appIds<p>The decoded ownership token header like below:<p><pre><code>{
|
|
@@ -24182,8 +24181,8 @@ class Entitlement$ {
|
|
|
24182
24181
|
if (!this.cache) {
|
|
24183
24182
|
return SdkCache.withoutCache(res);
|
|
24184
24183
|
}
|
|
24185
|
-
const
|
|
24186
|
-
return SdkCache.withCache(
|
|
24184
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24185
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24187
24186
|
}
|
|
24188
24187
|
/**
|
|
24189
24188
|
* 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>
|
|
@@ -24198,8 +24197,8 @@ class Entitlement$ {
|
|
|
24198
24197
|
if (!this.cache) {
|
|
24199
24198
|
return SdkCache.withoutCache(res);
|
|
24200
24199
|
}
|
|
24201
|
-
const
|
|
24202
|
-
return SdkCache.withCache(
|
|
24200
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24201
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24203
24202
|
}
|
|
24204
24203
|
/**
|
|
24205
24204
|
* 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>
|
|
@@ -24214,8 +24213,8 @@ class Entitlement$ {
|
|
|
24214
24213
|
if (!this.cache) {
|
|
24215
24214
|
return SdkCache.withoutCache(res);
|
|
24216
24215
|
}
|
|
24217
|
-
const
|
|
24218
|
-
return SdkCache.withCache(
|
|
24216
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24217
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24219
24218
|
}
|
|
24220
24219
|
/**
|
|
24221
24220
|
* 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>
|
|
@@ -24230,8 +24229,8 @@ class Entitlement$ {
|
|
|
24230
24229
|
if (!this.cache) {
|
|
24231
24230
|
return SdkCache.withoutCache(res);
|
|
24232
24231
|
}
|
|
24233
|
-
const
|
|
24234
|
-
return SdkCache.withCache(
|
|
24232
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24233
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24235
24234
|
}
|
|
24236
24235
|
/**
|
|
24237
24236
|
* 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>
|
|
@@ -24246,8 +24245,8 @@ class Entitlement$ {
|
|
|
24246
24245
|
if (!this.cache) {
|
|
24247
24246
|
return SdkCache.withoutCache(res);
|
|
24248
24247
|
}
|
|
24249
|
-
const
|
|
24250
|
-
return SdkCache.withCache(
|
|
24248
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24249
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24251
24250
|
}
|
|
24252
24251
|
/**
|
|
24253
24252
|
* 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>
|
|
@@ -24262,8 +24261,8 @@ class Entitlement$ {
|
|
|
24262
24261
|
if (!this.cache) {
|
|
24263
24262
|
return SdkCache.withoutCache(res);
|
|
24264
24263
|
}
|
|
24265
|
-
const
|
|
24266
|
-
return SdkCache.withCache(
|
|
24264
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24265
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24267
24266
|
}
|
|
24268
24267
|
/**
|
|
24269
24268
|
* 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>
|
|
@@ -24278,8 +24277,8 @@ class Entitlement$ {
|
|
|
24278
24277
|
if (!this.cache) {
|
|
24279
24278
|
return SdkCache.withoutCache(res);
|
|
24280
24279
|
}
|
|
24281
|
-
const
|
|
24282
|
-
return SdkCache.withCache(
|
|
24280
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24281
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24283
24282
|
}
|
|
24284
24283
|
/**
|
|
24285
24284
|
* 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>
|
|
@@ -24294,8 +24293,8 @@ class Entitlement$ {
|
|
|
24294
24293
|
if (!this.cache) {
|
|
24295
24294
|
return SdkCache.withoutCache(res);
|
|
24296
24295
|
}
|
|
24297
|
-
const
|
|
24298
|
-
return SdkCache.withCache(
|
|
24296
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24297
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24299
24298
|
}
|
|
24300
24299
|
/**
|
|
24301
24300
|
* 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>
|
|
@@ -24311,8 +24310,8 @@ class Entitlement$ {
|
|
|
24311
24310
|
if (!this.cache) {
|
|
24312
24311
|
return SdkCache.withoutCache(res);
|
|
24313
24312
|
}
|
|
24314
|
-
const
|
|
24315
|
-
return SdkCache.withCache(
|
|
24313
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24314
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24316
24315
|
}
|
|
24317
24316
|
/**
|
|
24318
24317
|
* 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>
|
|
@@ -24327,8 +24326,8 @@ class Entitlement$ {
|
|
|
24327
24326
|
if (!this.cache) {
|
|
24328
24327
|
return SdkCache.withoutCache(res);
|
|
24329
24328
|
}
|
|
24330
|
-
const
|
|
24331
|
-
return SdkCache.withCache(
|
|
24329
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24330
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24332
24331
|
}
|
|
24333
24332
|
/**
|
|
24334
24333
|
* 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>
|
|
@@ -24343,8 +24342,8 @@ class Entitlement$ {
|
|
|
24343
24342
|
if (!this.cache) {
|
|
24344
24343
|
return SdkCache.withoutCache(res);
|
|
24345
24344
|
}
|
|
24346
|
-
const
|
|
24347
|
-
return SdkCache.withCache(
|
|
24345
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24346
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24348
24347
|
}
|
|
24349
24348
|
/**
|
|
24350
24349
|
* 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>
|
|
@@ -24359,8 +24358,8 @@ class Entitlement$ {
|
|
|
24359
24358
|
if (!this.cache) {
|
|
24360
24359
|
return SdkCache.withoutCache(res);
|
|
24361
24360
|
}
|
|
24362
|
-
const
|
|
24363
|
-
return SdkCache.withCache(
|
|
24361
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24362
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24364
24363
|
}
|
|
24365
24364
|
/**
|
|
24366
24365
|
* 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>
|
|
@@ -24944,8 +24943,8 @@ class Item$ {
|
|
|
24944
24943
|
if (!this.cache) {
|
|
24945
24944
|
return SdkCache.withoutCache(res);
|
|
24946
24945
|
}
|
|
24947
|
-
const
|
|
24948
|
-
return SdkCache.withCache(
|
|
24946
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24947
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24949
24948
|
}
|
|
24950
24949
|
/**
|
|
24951
24950
|
* 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>
|
|
@@ -24958,8 +24957,8 @@ class Item$ {
|
|
|
24958
24957
|
if (!this.cache) {
|
|
24959
24958
|
return SdkCache.withoutCache(res);
|
|
24960
24959
|
}
|
|
24961
|
-
const
|
|
24962
|
-
return SdkCache.withCache(
|
|
24960
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24961
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24963
24962
|
}
|
|
24964
24963
|
/**
|
|
24965
24964
|
* 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>
|
|
@@ -24972,8 +24971,8 @@ class Item$ {
|
|
|
24972
24971
|
if (!this.cache) {
|
|
24973
24972
|
return SdkCache.withoutCache(res);
|
|
24974
24973
|
}
|
|
24975
|
-
const
|
|
24976
|
-
return SdkCache.withCache(
|
|
24974
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24975
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24977
24976
|
}
|
|
24978
24977
|
/**
|
|
24979
24978
|
* 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>
|
|
@@ -24986,8 +24985,8 @@ class Item$ {
|
|
|
24986
24985
|
if (!this.cache) {
|
|
24987
24986
|
return SdkCache.withoutCache(res);
|
|
24988
24987
|
}
|
|
24989
|
-
const
|
|
24990
|
-
return SdkCache.withCache(
|
|
24988
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
24989
|
+
return SdkCache.withCache(cacheKey, res);
|
|
24991
24990
|
}
|
|
24992
24991
|
/**
|
|
24993
24992
|
* 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>
|
|
@@ -25002,8 +25001,8 @@ class Item$ {
|
|
|
25002
25001
|
if (!this.cache) {
|
|
25003
25002
|
return SdkCache.withoutCache(res);
|
|
25004
25003
|
}
|
|
25005
|
-
const
|
|
25006
|
-
return SdkCache.withCache(
|
|
25004
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25005
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25007
25006
|
}
|
|
25008
25007
|
/**
|
|
25009
25008
|
* 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>
|
|
@@ -25016,8 +25015,8 @@ class Item$ {
|
|
|
25016
25015
|
if (!this.cache) {
|
|
25017
25016
|
return SdkCache.withoutCache(res);
|
|
25018
25017
|
}
|
|
25019
|
-
const
|
|
25020
|
-
return SdkCache.withCache(
|
|
25018
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25019
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25021
25020
|
}
|
|
25022
25021
|
/**
|
|
25023
25022
|
* Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
|
|
@@ -25032,8 +25031,8 @@ class Item$ {
|
|
|
25032
25031
|
if (!this.cache) {
|
|
25033
25032
|
return SdkCache.withoutCache(res);
|
|
25034
25033
|
}
|
|
25035
|
-
const
|
|
25036
|
-
return SdkCache.withCache(
|
|
25034
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25035
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25037
25036
|
}
|
|
25038
25037
|
/**
|
|
25039
25038
|
* This API is used to validate user item purchase condition
|
|
@@ -25055,8 +25054,8 @@ class Item$ {
|
|
|
25055
25054
|
if (!this.cache) {
|
|
25056
25055
|
return SdkCache.withoutCache(res);
|
|
25057
25056
|
}
|
|
25058
|
-
const
|
|
25059
|
-
return SdkCache.withCache(
|
|
25057
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25058
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25060
25059
|
}
|
|
25061
25060
|
}
|
|
25062
25061
|
|
|
@@ -25278,8 +25277,8 @@ class Order$ {
|
|
|
25278
25277
|
if (!this.cache) {
|
|
25279
25278
|
return SdkCache.withoutCache(res);
|
|
25280
25279
|
}
|
|
25281
|
-
const
|
|
25282
|
-
return SdkCache.withCache(
|
|
25280
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25281
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25283
25282
|
}
|
|
25284
25283
|
/**
|
|
25285
25284
|
* 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>
|
|
@@ -25306,8 +25305,8 @@ class Order$ {
|
|
|
25306
25305
|
if (!this.cache) {
|
|
25307
25306
|
return SdkCache.withoutCache(res);
|
|
25308
25307
|
}
|
|
25309
|
-
const
|
|
25310
|
-
return SdkCache.withCache(
|
|
25308
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25309
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25311
25310
|
}
|
|
25312
25311
|
/**
|
|
25313
25312
|
* 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>
|
|
@@ -25323,8 +25322,8 @@ class Order$ {
|
|
|
25323
25322
|
if (!this.cache) {
|
|
25324
25323
|
return SdkCache.withoutCache(res);
|
|
25325
25324
|
}
|
|
25326
|
-
const
|
|
25327
|
-
return SdkCache.withCache(
|
|
25325
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25326
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25328
25327
|
}
|
|
25329
25328
|
/**
|
|
25330
25329
|
* 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>
|
|
@@ -25352,8 +25351,8 @@ class Order$ {
|
|
|
25352
25351
|
if (!this.cache) {
|
|
25353
25352
|
return SdkCache.withoutCache(res);
|
|
25354
25353
|
}
|
|
25355
|
-
const
|
|
25356
|
-
return SdkCache.withCache(
|
|
25354
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25355
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25357
25356
|
}
|
|
25358
25357
|
}
|
|
25359
25358
|
|
|
@@ -25474,8 +25473,8 @@ class PaymentAccount$ {
|
|
|
25474
25473
|
if (!this.cache) {
|
|
25475
25474
|
return SdkCache.withoutCache(res);
|
|
25476
25475
|
}
|
|
25477
|
-
const
|
|
25478
|
-
return SdkCache.withCache(
|
|
25476
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25477
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25479
25478
|
}
|
|
25480
25479
|
/**
|
|
25481
25480
|
* 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>
|
|
@@ -25597,8 +25596,8 @@ class PaymentStation$ {
|
|
|
25597
25596
|
if (!this.cache) {
|
|
25598
25597
|
return SdkCache.withoutCache(res);
|
|
25599
25598
|
}
|
|
25600
|
-
const
|
|
25601
|
-
return SdkCache.withCache(
|
|
25599
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25600
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25602
25601
|
}
|
|
25603
25602
|
/**
|
|
25604
25603
|
* Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
|
|
@@ -25611,8 +25610,8 @@ class PaymentStation$ {
|
|
|
25611
25610
|
if (!this.cache) {
|
|
25612
25611
|
return SdkCache.withoutCache(res);
|
|
25613
25612
|
}
|
|
25614
|
-
const
|
|
25615
|
-
return SdkCache.withCache(
|
|
25613
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25614
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25616
25615
|
}
|
|
25617
25616
|
/**
|
|
25618
25617
|
* Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
|
|
@@ -25636,8 +25635,8 @@ class PaymentStation$ {
|
|
|
25636
25635
|
if (!this.cache) {
|
|
25637
25636
|
return SdkCache.withoutCache(res);
|
|
25638
25637
|
}
|
|
25639
|
-
const
|
|
25640
|
-
return SdkCache.withCache(
|
|
25638
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25639
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25641
25640
|
}
|
|
25642
25641
|
/**
|
|
25643
25642
|
* 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.
|
|
@@ -25652,8 +25651,8 @@ class PaymentStation$ {
|
|
|
25652
25651
|
if (!this.cache) {
|
|
25653
25652
|
return SdkCache.withoutCache(res);
|
|
25654
25653
|
}
|
|
25655
|
-
const
|
|
25656
|
-
return SdkCache.withCache(
|
|
25654
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25655
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25657
25656
|
}
|
|
25658
25657
|
/**
|
|
25659
25658
|
* Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
|
|
@@ -25666,8 +25665,8 @@ class PaymentStation$ {
|
|
|
25666
25665
|
if (!this.cache) {
|
|
25667
25666
|
return SdkCache.withoutCache(res);
|
|
25668
25667
|
}
|
|
25669
|
-
const
|
|
25670
|
-
return SdkCache.withCache(
|
|
25668
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25669
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25671
25670
|
}
|
|
25672
25671
|
/**
|
|
25673
25672
|
* Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
|
|
@@ -25682,8 +25681,8 @@ class PaymentStation$ {
|
|
|
25682
25681
|
if (!this.cache) {
|
|
25683
25682
|
return SdkCache.withoutCache(res);
|
|
25684
25683
|
}
|
|
25685
|
-
const
|
|
25686
|
-
return SdkCache.withCache(
|
|
25684
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25685
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25687
25686
|
}
|
|
25688
25687
|
/**
|
|
25689
25688
|
* Get qrcode.<br>Other detail info: <ul><li><i>Returns</i>: QRCode image stream</li></ul>
|
|
@@ -25696,8 +25695,8 @@ class PaymentStation$ {
|
|
|
25696
25695
|
if (!this.cache) {
|
|
25697
25696
|
return SdkCache.withoutCache(res);
|
|
25698
25697
|
}
|
|
25699
|
-
const
|
|
25700
|
-
return SdkCache.withCache(
|
|
25698
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25699
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25701
25700
|
}
|
|
25702
25701
|
/**
|
|
25703
25702
|
* Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
|
|
@@ -25934,8 +25933,8 @@ class Subscription$ {
|
|
|
25934
25933
|
if (!this.cache) {
|
|
25935
25934
|
return SdkCache.withoutCache(res);
|
|
25936
25935
|
}
|
|
25937
|
-
const
|
|
25938
|
-
return SdkCache.withCache(
|
|
25936
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25937
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25939
25938
|
}
|
|
25940
25939
|
/**
|
|
25941
25940
|
* 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>
|
|
@@ -25951,8 +25950,8 @@ class Subscription$ {
|
|
|
25951
25950
|
if (!this.cache) {
|
|
25952
25951
|
return SdkCache.withoutCache(res);
|
|
25953
25952
|
}
|
|
25954
|
-
const
|
|
25955
|
-
return SdkCache.withCache(
|
|
25953
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25954
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25956
25955
|
}
|
|
25957
25956
|
/**
|
|
25958
25957
|
* 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>
|
|
@@ -25967,8 +25966,8 @@ class Subscription$ {
|
|
|
25967
25966
|
if (!this.cache) {
|
|
25968
25967
|
return SdkCache.withoutCache(res);
|
|
25969
25968
|
}
|
|
25970
|
-
const
|
|
25971
|
-
return SdkCache.withCache(
|
|
25969
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25970
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25972
25971
|
}
|
|
25973
25972
|
/**
|
|
25974
25973
|
* 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>
|
|
@@ -25983,8 +25982,8 @@ class Subscription$ {
|
|
|
25983
25982
|
if (!this.cache) {
|
|
25984
25983
|
return SdkCache.withoutCache(res);
|
|
25985
25984
|
}
|
|
25986
|
-
const
|
|
25987
|
-
return SdkCache.withCache(
|
|
25985
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
25986
|
+
return SdkCache.withCache(cacheKey, res);
|
|
25988
25987
|
}
|
|
25989
25988
|
/**
|
|
25990
25989
|
* 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>
|
|
@@ -26185,8 +26184,8 @@ class Wallet$ {
|
|
|
26185
26184
|
if (!this.cache) {
|
|
26186
26185
|
return SdkCache.withoutCache(res);
|
|
26187
26186
|
}
|
|
26188
|
-
const
|
|
26189
|
-
return SdkCache.withCache(
|
|
26187
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
26188
|
+
return SdkCache.withCache(cacheKey, res);
|
|
26190
26189
|
}
|
|
26191
26190
|
/**
|
|
26192
26191
|
* 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>
|
|
@@ -26202,8 +26201,8 @@ class Wallet$ {
|
|
|
26202
26201
|
if (!this.cache) {
|
|
26203
26202
|
return SdkCache.withoutCache(res);
|
|
26204
26203
|
}
|
|
26205
|
-
const
|
|
26206
|
-
return SdkCache.withCache(
|
|
26204
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
26205
|
+
return SdkCache.withCache(cacheKey, res);
|
|
26207
26206
|
}
|
|
26208
26207
|
/**
|
|
26209
26208
|
* 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>
|
|
@@ -26219,8 +26218,8 @@ class Wallet$ {
|
|
|
26219
26218
|
if (!this.cache) {
|
|
26220
26219
|
return SdkCache.withoutCache(res);
|
|
26221
26220
|
}
|
|
26222
|
-
const
|
|
26223
|
-
return SdkCache.withCache(
|
|
26221
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
26222
|
+
return SdkCache.withCache(cacheKey, res);
|
|
26224
26223
|
}
|
|
26225
26224
|
}
|
|
26226
26225
|
|
|
@@ -26610,8 +26609,8 @@ class Roles$ {
|
|
|
26610
26609
|
if (!this.cache) {
|
|
26611
26610
|
return SdkCache.withoutCache(res);
|
|
26612
26611
|
}
|
|
26613
|
-
const
|
|
26614
|
-
return SdkCache.withCache(
|
|
26612
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
26613
|
+
return SdkCache.withCache(cacheKey, res);
|
|
26615
26614
|
}
|
|
26616
26615
|
/**
|
|
26617
26616
|
* <br>This endpoint is used to get non-admin role based on specify roleId. <br>action code : 10417
|
|
@@ -26624,8 +26623,8 @@ class Roles$ {
|
|
|
26624
26623
|
if (!this.cache) {
|
|
26625
26624
|
return SdkCache.withoutCache(res);
|
|
26626
26625
|
}
|
|
26627
|
-
const
|
|
26628
|
-
return SdkCache.withCache(
|
|
26626
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
26627
|
+
return SdkCache.withCache(cacheKey, res);
|
|
26629
26628
|
}
|
|
26630
26629
|
}
|
|
26631
26630
|
|
|
@@ -26680,8 +26679,8 @@ class Sso$ {
|
|
|
26680
26679
|
if (!this.cache) {
|
|
26681
26680
|
return SdkCache.withoutCache(res);
|
|
26682
26681
|
}
|
|
26683
|
-
const
|
|
26684
|
-
return SdkCache.withCache(
|
|
26682
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
26683
|
+
return SdkCache.withCache(cacheKey, res);
|
|
26685
26684
|
}
|
|
26686
26685
|
/**
|
|
26687
26686
|
* Logout user's session on platform that logged in using SSO.
|
|
@@ -28687,8 +28686,8 @@ class Category$ {
|
|
|
28687
28686
|
if (!this.cache) {
|
|
28688
28687
|
return SdkCache.withoutCache(res);
|
|
28689
28688
|
}
|
|
28690
|
-
const
|
|
28691
|
-
return SdkCache.withCache(
|
|
28689
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28690
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28692
28691
|
}
|
|
28693
28692
|
/**
|
|
28694
28693
|
* 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>
|
|
@@ -28703,8 +28702,8 @@ class Category$ {
|
|
|
28703
28702
|
if (!this.cache) {
|
|
28704
28703
|
return SdkCache.withoutCache(res);
|
|
28705
28704
|
}
|
|
28706
|
-
const
|
|
28707
|
-
return SdkCache.withCache(
|
|
28705
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28706
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28708
28707
|
}
|
|
28709
28708
|
/**
|
|
28710
28709
|
* 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>
|
|
@@ -28717,8 +28716,8 @@ class Category$ {
|
|
|
28717
28716
|
if (!this.cache) {
|
|
28718
28717
|
return SdkCache.withoutCache(res);
|
|
28719
28718
|
}
|
|
28720
|
-
const
|
|
28721
|
-
return SdkCache.withCache(
|
|
28719
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28720
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28722
28721
|
}
|
|
28723
28722
|
/**
|
|
28724
28723
|
* 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>
|
|
@@ -28733,8 +28732,8 @@ class Category$ {
|
|
|
28733
28732
|
if (!this.cache) {
|
|
28734
28733
|
return SdkCache.withoutCache(res);
|
|
28735
28734
|
}
|
|
28736
|
-
const
|
|
28737
|
-
return SdkCache.withCache(
|
|
28735
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28736
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28738
28737
|
}
|
|
28739
28738
|
/**
|
|
28740
28739
|
* 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>
|
|
@@ -28747,8 +28746,8 @@ class Category$ {
|
|
|
28747
28746
|
if (!this.cache) {
|
|
28748
28747
|
return SdkCache.withoutCache(res);
|
|
28749
28748
|
}
|
|
28750
|
-
const
|
|
28751
|
-
return SdkCache.withCache(
|
|
28749
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28750
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28752
28751
|
}
|
|
28753
28752
|
}
|
|
28754
28753
|
|
|
@@ -28802,8 +28801,8 @@ class Store$ {
|
|
|
28802
28801
|
if (!this.cache) {
|
|
28803
28802
|
return SdkCache.withoutCache(res);
|
|
28804
28803
|
}
|
|
28805
|
-
const
|
|
28806
|
-
return SdkCache.withCache(
|
|
28804
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
28805
|
+
return SdkCache.withCache(cacheKey, res);
|
|
28807
28806
|
}
|
|
28808
28807
|
}
|
|
28809
28808
|
|
|
@@ -29109,8 +29108,8 @@ class Reward$ {
|
|
|
29109
29108
|
if (!this.cache) {
|
|
29110
29109
|
return SdkCache.withoutCache(res);
|
|
29111
29110
|
}
|
|
29112
|
-
const
|
|
29113
|
-
return SdkCache.withCache(
|
|
29111
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
29112
|
+
return SdkCache.withCache(cacheKey, res);
|
|
29114
29113
|
}
|
|
29115
29114
|
/**
|
|
29116
29115
|
* 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>
|
|
@@ -29125,8 +29124,8 @@ class Reward$ {
|
|
|
29125
29124
|
if (!this.cache) {
|
|
29126
29125
|
return SdkCache.withoutCache(res);
|
|
29127
29126
|
}
|
|
29128
|
-
const
|
|
29129
|
-
return SdkCache.withCache(
|
|
29127
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
29128
|
+
return SdkCache.withCache(cacheKey, res);
|
|
29130
29129
|
}
|
|
29131
29130
|
/**
|
|
29132
29131
|
* 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>
|
|
@@ -29139,8 +29138,8 @@ class Reward$ {
|
|
|
29139
29138
|
if (!this.cache) {
|
|
29140
29139
|
return SdkCache.withoutCache(res);
|
|
29141
29140
|
}
|
|
29142
|
-
const
|
|
29143
|
-
return SdkCache.withCache(
|
|
29141
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
29142
|
+
return SdkCache.withCache(cacheKey, res);
|
|
29144
29143
|
}
|
|
29145
29144
|
}
|
|
29146
29145
|
|
|
@@ -32517,8 +32516,8 @@ class Drm$ {
|
|
|
32517
32516
|
if (!this.cache) {
|
|
32518
32517
|
return SdkCache.withoutCache(res);
|
|
32519
32518
|
}
|
|
32520
|
-
const
|
|
32521
|
-
return SdkCache.withCache(
|
|
32519
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
32520
|
+
return SdkCache.withCache(cacheKey, res);
|
|
32522
32521
|
}
|
|
32523
32522
|
/**
|
|
32524
32523
|
* 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>
|
|
@@ -32531,8 +32530,8 @@ class Drm$ {
|
|
|
32531
32530
|
if (!this.cache) {
|
|
32532
32531
|
return SdkCache.withoutCache(res);
|
|
32533
32532
|
}
|
|
32534
|
-
const
|
|
32535
|
-
return SdkCache.withCache(
|
|
32533
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
32534
|
+
return SdkCache.withCache(cacheKey, res);
|
|
32536
32535
|
}
|
|
32537
32536
|
}
|
|
32538
32537
|
|
|
@@ -32938,8 +32937,8 @@ class Utility$ {
|
|
|
32938
32937
|
if (!this.cache) {
|
|
32939
32938
|
return SdkCache.withoutCache(res);
|
|
32940
32939
|
}
|
|
32941
|
-
const
|
|
32942
|
-
return SdkCache.withCache(
|
|
32940
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
32941
|
+
return SdkCache.withCache(cacheKey, res);
|
|
32943
32942
|
}
|
|
32944
32943
|
}
|
|
32945
32944
|
|
|
@@ -33504,8 +33503,8 @@ class StaticConfigs$ {
|
|
|
33504
33503
|
if (!this.cache) {
|
|
33505
33504
|
return SdkCache.withoutCache(res);
|
|
33506
33505
|
}
|
|
33507
|
-
const
|
|
33508
|
-
return SdkCache.withCache(
|
|
33506
|
+
const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
|
|
33507
|
+
return SdkCache.withCache(cacheKey, res);
|
|
33509
33508
|
}
|
|
33510
33509
|
}
|
|
33511
33510
|
|