@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/dist/index.js CHANGED
@@ -9614,8 +9614,8 @@ class Misc$ {
9614
9614
  if (!this.cache) {
9615
9615
  return SdkCache.withoutCache(res);
9616
9616
  }
9617
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9618
- return SdkCache.withCache(key, res);
9617
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9618
+ return SdkCache.withCache(cacheKey, res);
9619
9619
  }
9620
9620
  /**
9621
9621
  * List time zones.<br>Other detail info: <ul><li><i>Returns</i>: time zones</li></ul>
@@ -9628,8 +9628,8 @@ class Misc$ {
9628
9628
  if (!this.cache) {
9629
9629
  return SdkCache.withoutCache(res);
9630
9630
  }
9631
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9632
- return SdkCache.withCache(key, res);
9631
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9632
+ return SdkCache.withCache(cacheKey, res);
9633
9633
  }
9634
9634
  /**
9635
9635
  * List languages.<br>Other detail info: <ul><li><i>Returns</i>: language list</li></ul>
@@ -9642,8 +9642,8 @@ class Misc$ {
9642
9642
  if (!this.cache) {
9643
9643
  return SdkCache.withoutCache(res);
9644
9644
  }
9645
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9646
- return SdkCache.withCache(key, res);
9645
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9646
+ return SdkCache.withCache(cacheKey, res);
9647
9647
  }
9648
9648
  /**
9649
9649
  * List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
@@ -9656,8 +9656,8 @@ class Misc$ {
9656
9656
  if (!this.cache) {
9657
9657
  return SdkCache.withoutCache(res);
9658
9658
  }
9659
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9660
- return SdkCache.withCache(key, res);
9659
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9660
+ return SdkCache.withCache(cacheKey, res);
9661
9661
  }
9662
9662
  }
9663
9663
 
@@ -9734,8 +9734,8 @@ class Namespace$ {
9734
9734
  if (!this.cache) {
9735
9735
  return SdkCache.withoutCache(res);
9736
9736
  }
9737
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9738
- return SdkCache.withCache(key, res);
9737
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9738
+ return SdkCache.withCache(cacheKey, res);
9739
9739
  }
9740
9740
  /**
9741
9741
  * 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>
@@ -9748,8 +9748,8 @@ class Namespace$ {
9748
9748
  if (!this.cache) {
9749
9749
  return SdkCache.withoutCache(res);
9750
9750
  }
9751
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9752
- return SdkCache.withCache(key, res);
9751
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9752
+ return SdkCache.withCache(cacheKey, res);
9753
9753
  }
9754
9754
  }
9755
9755
 
@@ -9871,8 +9871,8 @@ class UserProfile$ {
9871
9871
  if (!this.cache) {
9872
9872
  return SdkCache.withoutCache(res);
9873
9873
  }
9874
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9875
- return SdkCache.withCache(key, res);
9874
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9875
+ return SdkCache.withCache(cacheKey, res);
9876
9876
  }
9877
9877
  /**
9878
9878
  * Get user public profile by public id.<br>Other detail info: <ul><li><i>Returns</i>: user public profile</li></ul>
@@ -9885,8 +9885,8 @@ class UserProfile$ {
9885
9885
  if (!this.cache) {
9886
9886
  return SdkCache.withoutCache(res);
9887
9887
  }
9888
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9889
- return SdkCache.withCache(key, res);
9888
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9889
+ return SdkCache.withCache(cacheKey, res);
9890
9890
  }
9891
9891
  /**
9892
9892
  * 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>
@@ -9899,8 +9899,8 @@ class UserProfile$ {
9899
9899
  if (!this.cache) {
9900
9900
  return SdkCache.withoutCache(res);
9901
9901
  }
9902
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9903
- return SdkCache.withCache(key, res);
9902
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9903
+ return SdkCache.withCache(cacheKey, res);
9904
9904
  }
9905
9905
  /**
9906
9906
  * 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>
@@ -9922,8 +9922,8 @@ class UserProfile$ {
9922
9922
  if (!this.cache) {
9923
9923
  return SdkCache.withoutCache(res);
9924
9924
  }
9925
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9926
- return SdkCache.withCache(key, res);
9925
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9926
+ return SdkCache.withCache(cacheKey, res);
9927
9927
  }
9928
9928
  /**
9929
9929
  * 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>
@@ -9954,8 +9954,8 @@ class UserProfile$ {
9954
9954
  if (!this.cache) {
9955
9955
  return SdkCache.withoutCache(res);
9956
9956
  }
9957
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9958
- return SdkCache.withCache(key, res);
9957
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9958
+ return SdkCache.withCache(cacheKey, res);
9959
9959
  }
9960
9960
  /**
9961
9961
  * 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>
@@ -9979,8 +9979,8 @@ class UserProfile$ {
9979
9979
  if (!this.cache) {
9980
9980
  return SdkCache.withoutCache(res);
9981
9981
  }
9982
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9983
- return SdkCache.withCache(key, res);
9982
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9983
+ return SdkCache.withCache(cacheKey, res);
9984
9984
  }
9985
9985
  /**
9986
9986
  * 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>
@@ -9995,8 +9995,8 @@ class UserProfile$ {
9995
9995
  if (!this.cache) {
9996
9996
  return SdkCache.withoutCache(res);
9997
9997
  }
9998
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9999
- return SdkCache.withCache(key, res);
9998
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
9999
+ return SdkCache.withCache(cacheKey, res);
10000
10000
  }
10001
10001
  /**
10002
10002
  * 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>
@@ -10022,8 +10022,8 @@ class UserProfile$ {
10022
10022
  if (!this.cache) {
10023
10023
  return SdkCache.withoutCache(res);
10024
10024
  }
10025
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10026
- return SdkCache.withCache(key, res);
10025
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10026
+ return SdkCache.withCache(cacheKey, res);
10027
10027
  }
10028
10028
  /**
10029
10029
  * 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>
@@ -10142,8 +10142,8 @@ class Caching$ {
10142
10142
  if (!this.cache) {
10143
10143
  return SdkCache.withoutCache(res);
10144
10144
  }
10145
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10146
- return SdkCache.withCache(key, res);
10145
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10146
+ return SdkCache.withCache(cacheKey, res);
10147
10147
  }
10148
10148
  }
10149
10149
 
@@ -10273,8 +10273,8 @@ class Dlc$$1 {
10273
10273
  if (!this.cache) {
10274
10274
  return SdkCache.withoutCache(res);
10275
10275
  }
10276
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10277
- return SdkCache.withCache(key, res);
10276
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10277
+ return SdkCache.withCache(cacheKey, res);
10278
10278
  }
10279
10279
  /**
10280
10280
  * 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>
@@ -10289,8 +10289,8 @@ class Dlc$$1 {
10289
10289
  if (!this.cache) {
10290
10290
  return SdkCache.withoutCache(res);
10291
10291
  }
10292
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10293
- return SdkCache.withCache(key, res);
10292
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10293
+ return SdkCache.withCache(cacheKey, res);
10294
10294
  }
10295
10295
  /**
10296
10296
  * 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>
@@ -10305,8 +10305,8 @@ class Dlc$$1 {
10305
10305
  if (!this.cache) {
10306
10306
  return SdkCache.withoutCache(res);
10307
10307
  }
10308
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10309
- return SdkCache.withCache(key, res);
10308
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10309
+ return SdkCache.withCache(cacheKey, res);
10310
10310
  }
10311
10311
  /**
10312
10312
  * 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>
@@ -10321,8 +10321,8 @@ class Dlc$$1 {
10321
10321
  if (!this.cache) {
10322
10322
  return SdkCache.withoutCache(res);
10323
10323
  }
10324
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10325
- return SdkCache.withCache(key, res);
10324
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10325
+ return SdkCache.withCache(cacheKey, res);
10326
10326
  }
10327
10327
  }
10328
10328
 
@@ -10601,8 +10601,8 @@ class Downloader$ {
10601
10601
  if (!this.cache) {
10602
10602
  return SdkCache.withoutCache(res);
10603
10603
  }
10604
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10605
- return SdkCache.withCache(key, res);
10604
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10605
+ return SdkCache.withCache(cacheKey, res);
10606
10606
  }
10607
10607
  /**
10608
10608
  * 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>
@@ -10619,8 +10619,8 @@ class Downloader$ {
10619
10619
  if (!this.cache) {
10620
10620
  return SdkCache.withoutCache(res);
10621
10621
  }
10622
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10623
- return SdkCache.withCache(key, res);
10622
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10623
+ return SdkCache.withCache(cacheKey, res);
10624
10624
  }
10625
10625
  /**
10626
10626
  * 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>
@@ -10635,8 +10635,8 @@ class Downloader$ {
10635
10635
  if (!this.cache) {
10636
10636
  return SdkCache.withoutCache(res);
10637
10637
  }
10638
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10639
- return SdkCache.withCache(key, res);
10638
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10639
+ return SdkCache.withCache(cacheKey, res);
10640
10640
  }
10641
10641
  /**
10642
10642
  * 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>
@@ -10652,8 +10652,8 @@ class Downloader$ {
10652
10652
  if (!this.cache) {
10653
10653
  return SdkCache.withoutCache(res);
10654
10654
  }
10655
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10656
- return SdkCache.withCache(key, res);
10655
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10656
+ return SdkCache.withCache(cacheKey, res);
10657
10657
  }
10658
10658
  /**
10659
10659
  * 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>
@@ -10666,8 +10666,8 @@ class Downloader$ {
10666
10666
  if (!this.cache) {
10667
10667
  return SdkCache.withoutCache(res);
10668
10668
  }
10669
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10670
- return SdkCache.withCache(key, res);
10669
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10670
+ return SdkCache.withCache(cacheKey, res);
10671
10671
  }
10672
10672
  /**
10673
10673
  * 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>
@@ -10683,8 +10683,8 @@ class Downloader$ {
10683
10683
  if (!this.cache) {
10684
10684
  return SdkCache.withoutCache(res);
10685
10685
  }
10686
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10687
- return SdkCache.withCache(key, res);
10686
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10687
+ return SdkCache.withCache(cacheKey, res);
10688
10688
  }
10689
10689
  /**
10690
10690
  * 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>
@@ -10699,8 +10699,8 @@ class Downloader$ {
10699
10699
  if (!this.cache) {
10700
10700
  return SdkCache.withoutCache(res);
10701
10701
  }
10702
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10703
- return SdkCache.withCache(key, res);
10702
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10703
+ return SdkCache.withCache(cacheKey, res);
10704
10704
  }
10705
10705
  }
10706
10706
 
@@ -10834,8 +10834,8 @@ class EventV2$ {
10834
10834
  if (!this.cache) {
10835
10835
  return SdkCache.withoutCache(res);
10836
10836
  }
10837
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10838
- return SdkCache.withCache(key, res);
10837
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10838
+ return SdkCache.withCache(cacheKey, res);
10839
10839
  }
10840
10840
  /**
10841
10841
  * <p>Requires valid user access token</p>
@@ -10850,8 +10850,8 @@ class EventV2$ {
10850
10850
  if (!this.cache) {
10851
10851
  return SdkCache.withoutCache(res);
10852
10852
  }
10853
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10854
- return SdkCache.withCache(key, res);
10853
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10854
+ return SdkCache.withCache(cacheKey, res);
10855
10855
  }
10856
10856
  }
10857
10857
 
@@ -10954,8 +10954,8 @@ class DataDeletion$ {
10954
10954
  if (!this.cache) {
10955
10955
  return SdkCache.withoutCache(res);
10956
10956
  }
10957
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10958
- return SdkCache.withCache(key, res);
10957
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
10958
+ return SdkCache.withCache(cacheKey, res);
10959
10959
  }
10960
10960
  }
10961
10961
 
@@ -11054,8 +11054,8 @@ class DataRetrieval$ {
11054
11054
  if (!this.cache) {
11055
11055
  return SdkCache.withoutCache(res);
11056
11056
  }
11057
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11058
- return SdkCache.withCache(key, res);
11057
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11058
+ return SdkCache.withCache(cacheKey, res);
11059
11059
  }
11060
11060
  /**
11061
11061
  * <p>Requires valid user access token</p>
@@ -11214,8 +11214,8 @@ class InputValidations$ {
11214
11214
  if (!this.cache) {
11215
11215
  return SdkCache.withoutCache(res);
11216
11216
  }
11217
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11218
- return SdkCache.withCache(key, res);
11217
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11218
+ return SdkCache.withCache(cacheKey, res);
11219
11219
  }
11220
11220
  }
11221
11221
 
@@ -11480,7 +11480,6 @@ class OAuth20$ {
11480
11480
  */
11481
11481
  fetchIamV3OauthAuthorize(queryParams) {
11482
11482
  const params = {
11483
- response_type: 'code',
11484
11483
  scope: 'commerce account social publishing analytics',
11485
11484
  code_challenge_method: 'plain',
11486
11485
  createHeadless: true,
@@ -11492,8 +11491,8 @@ class OAuth20$ {
11492
11491
  if (!this.cache) {
11493
11492
  return SdkCache.withoutCache(res);
11494
11493
  }
11495
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11496
- return SdkCache.withCache(key, res);
11494
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11495
+ return SdkCache.withCache(cacheKey, res);
11497
11496
  }
11498
11497
  /**
11499
11498
  * <p>This endpoint returns information about an access token intended to be used by resource servers or other internal servers.</p>
@@ -11527,8 +11526,8 @@ class OAuth20$ {
11527
11526
  if (!this.cache) {
11528
11527
  return SdkCache.withoutCache(res);
11529
11528
  }
11530
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11531
- return SdkCache.withCache(key, res);
11529
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11530
+ return SdkCache.withCache(cacheKey, res);
11532
11531
  }
11533
11532
  /**
11534
11533
  * Send 2FA code<br/>
@@ -11608,8 +11607,8 @@ class OAuth20$ {
11608
11607
  if (!this.cache) {
11609
11608
  return SdkCache.withoutCache(res);
11610
11609
  }
11611
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11612
- return SdkCache.withCache(key, res);
11610
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11611
+ return SdkCache.withCache(cacheKey, res);
11613
11612
  }
11614
11613
  /**
11615
11614
  * Generate url to request auth code from third party platform <br>
@@ -11646,8 +11645,8 @@ class OAuth20$ {
11646
11645
  if (!this.cache) {
11647
11646
  return SdkCache.withoutCache(res);
11648
11647
  }
11649
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11650
- return SdkCache.withCache(key, res);
11648
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11649
+ return SdkCache.withCache(cacheKey, res);
11651
11650
  }
11652
11651
  /**
11653
11652
  * <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.
@@ -11760,8 +11759,8 @@ class OAuth20$ {
11760
11759
  if (!this.cache) {
11761
11760
  return SdkCache.withoutCache(res);
11762
11761
  }
11763
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11764
- return SdkCache.withCache(key, res);
11762
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
11763
+ return SdkCache.withCache(cacheKey, res);
11765
11764
  }
11766
11765
  /**
11767
11766
  * <p>This endpoint revokes a token.</p>
@@ -20630,8 +20629,8 @@ class OAuth20Extension$ {
20630
20629
  if (!this.cache) {
20631
20630
  return SdkCache.withoutCache(res);
20632
20631
  }
20633
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
20634
- return SdkCache.withCache(key, res);
20632
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
20633
+ return SdkCache.withCache(cacheKey, res);
20635
20634
  }
20636
20635
  /**
20637
20636
  * <p>This endpoint is used to remove <b>access_token</b>, <b>refresh_token</b> from cookie and revoke token from usage.</p>
@@ -20700,8 +20699,8 @@ class OAuth20Extension$ {
20700
20699
  if (!this.cache) {
20701
20700
  return SdkCache.withoutCache(res);
20702
20701
  }
20703
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
20704
- return SdkCache.withCache(key, res);
20702
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
20703
+ return SdkCache.withCache(cacheKey, res);
20705
20704
  }
20706
20705
  /**
20707
20706
  * <p>This endpoint is being used to generate publisher user's game token.<br>
@@ -21007,8 +21006,8 @@ class ThirdPartyCredential$ {
21007
21006
  if (!this.cache) {
21008
21007
  return SdkCache.withoutCache(res);
21009
21008
  }
21010
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21011
- return SdkCache.withCache(key, res);
21009
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21010
+ return SdkCache.withCache(cacheKey, res);
21012
21011
  }
21013
21012
  /**
21014
21013
  * This is the Public API to Get All Active OIDC Platform Credential By Client ID
@@ -21021,8 +21020,8 @@ class ThirdPartyCredential$ {
21021
21020
  if (!this.cache) {
21022
21021
  return SdkCache.withoutCache(res);
21023
21022
  }
21024
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21025
- return SdkCache.withCache(key, res);
21023
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21024
+ return SdkCache.withCache(cacheKey, res);
21026
21025
  }
21027
21026
  }
21028
21027
 
@@ -21394,8 +21393,8 @@ class UsersV4$ {
21394
21393
  if (!this.cache) {
21395
21394
  return SdkCache.withoutCache(res);
21396
21395
  }
21397
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21398
- return SdkCache.withCache(key, res);
21396
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21397
+ return SdkCache.withCache(cacheKey, res);
21399
21398
  }
21400
21399
  /**
21401
21400
  * <p>This endpoint is used to generate 8-digits backup codes.
@@ -21433,8 +21432,8 @@ class UsersV4$ {
21433
21432
  if (!this.cache) {
21434
21433
  return SdkCache.withoutCache(res);
21435
21434
  }
21436
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21437
- return SdkCache.withCache(key, res);
21435
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21436
+ return SdkCache.withCache(cacheKey, res);
21438
21437
  }
21439
21438
  /**
21440
21439
  * <p>This endpoint is used to enable 2FA backup codes.</p>
@@ -21505,8 +21504,8 @@ class UsersV4$ {
21505
21504
  if (!this.cache) {
21506
21505
  return SdkCache.withoutCache(res);
21507
21506
  }
21508
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21509
- return SdkCache.withCache(key, res);
21507
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
21508
+ return SdkCache.withCache(cacheKey, res);
21510
21509
  }
21511
21510
  /**
21512
21511
  * <p>This endpoint is used to make 2FA factor default.</p>
@@ -22046,8 +22045,8 @@ class Users$ {
22046
22045
  if (!this.cache) {
22047
22046
  return SdkCache.withoutCache(res);
22048
22047
  }
22049
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22050
- return SdkCache.withCache(key, res);
22048
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22049
+ return SdkCache.withCache(cacheKey, res);
22051
22050
  }
22052
22051
  /**
22053
22052
  * List User ID By Platform User ID
@@ -22084,8 +22083,8 @@ class Users$ {
22084
22083
  if (!this.cache) {
22085
22084
  return SdkCache.withoutCache(res);
22086
22085
  }
22087
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22088
- return SdkCache.withCache(key, res);
22086
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22087
+ return SdkCache.withCache(cacheKey, res);
22089
22088
  }
22090
22089
  /**
22091
22090
  * This endpoint is used to get linking status.
@@ -22100,8 +22099,8 @@ class Users$ {
22100
22099
  if (!this.cache) {
22101
22100
  return SdkCache.withoutCache(res);
22102
22101
  }
22103
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22104
- return SdkCache.withCache(key, res);
22102
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22103
+ return SdkCache.withCache(cacheKey, res);
22105
22104
  }
22106
22105
  /**
22107
22106
  * <p>Requires valid user access token</p>
@@ -22117,8 +22116,8 @@ class Users$ {
22117
22116
  if (!this.cache) {
22118
22117
  return SdkCache.withoutCache(res);
22119
22118
  }
22120
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22121
- return SdkCache.withCache(key, res);
22119
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22120
+ return SdkCache.withCache(cacheKey, res);
22122
22121
  }
22123
22122
  /**
22124
22123
  *
@@ -22157,8 +22156,8 @@ class Users$ {
22157
22156
  if (!this.cache) {
22158
22157
  return SdkCache.withoutCache(res);
22159
22158
  }
22160
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22161
- return SdkCache.withCache(key, res);
22159
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22160
+ return SdkCache.withCache(cacheKey, res);
22162
22161
  }
22163
22162
  /**
22164
22163
  * <p>Notes:</p>
@@ -22228,8 +22227,8 @@ class Users$ {
22228
22227
  if (!this.cache) {
22229
22228
  return SdkCache.withoutCache(res);
22230
22229
  }
22231
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22232
- return SdkCache.withCache(key, res);
22230
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22231
+ return SdkCache.withCache(cacheKey, res);
22233
22232
  }
22234
22233
  /**
22235
22234
  * This endpoint create user from saved roles when creating invitation and submitted data.
@@ -22525,8 +22524,8 @@ class Users$ {
22525
22524
  if (!this.cache) {
22526
22525
  return SdkCache.withoutCache(res);
22527
22526
  }
22528
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22529
- return SdkCache.withCache(key, res);
22527
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22528
+ return SdkCache.withCache(cacheKey, res);
22530
22529
  }
22531
22530
  /**
22532
22531
  * This endpoint is used by third party to redirect the code for the purpose of linking the account third party to IAM account.
@@ -22541,8 +22540,8 @@ class Users$ {
22541
22540
  if (!this.cache) {
22542
22541
  return SdkCache.withoutCache(res);
22543
22542
  }
22544
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22545
- return SdkCache.withCache(key, res);
22543
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22544
+ return SdkCache.withCache(cacheKey, res);
22546
22545
  }
22547
22546
  /**
22548
22547
  * <p>action code: 10105</p>
@@ -22564,8 +22563,8 @@ class Users$ {
22564
22563
  if (!this.cache) {
22565
22564
  return SdkCache.withoutCache(res);
22566
22565
  }
22567
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22568
- return SdkCache.withCache(key, res);
22566
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22567
+ return SdkCache.withCache(cacheKey, res);
22569
22568
  }
22570
22569
  /**
22571
22570
  * Required valid user authorization.
@@ -22586,8 +22585,8 @@ class Users$ {
22586
22585
  if (!this.cache) {
22587
22586
  return SdkCache.withoutCache(res);
22588
22587
  }
22589
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22590
- return SdkCache.withCache(key, res);
22588
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22589
+ return SdkCache.withCache(cacheKey, res);
22591
22590
  }
22592
22591
  /**
22593
22592
  * <p>This endpoint retrieves platform accounts linked to user.
@@ -22604,8 +22603,8 @@ class Users$ {
22604
22603
  if (!this.cache) {
22605
22604
  return SdkCache.withoutCache(res);
22606
22605
  }
22607
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22608
- return SdkCache.withCache(key, res);
22606
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22607
+ return SdkCache.withCache(cacheKey, res);
22609
22608
  }
22610
22609
  /**
22611
22610
  * <p>This endpoint retrieves user info and linked platform accounts.
@@ -22621,8 +22620,8 @@ class Users$ {
22621
22620
  if (!this.cache) {
22622
22621
  return SdkCache.withoutCache(res);
22623
22622
  }
22624
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22625
- return SdkCache.withCache(key, res);
22623
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22624
+ return SdkCache.withCache(cacheKey, res);
22626
22625
  }
22627
22626
  /**
22628
22627
  * 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>
@@ -22637,8 +22636,8 @@ class Users$ {
22637
22636
  if (!this.cache) {
22638
22637
  return SdkCache.withoutCache(res);
22639
22638
  }
22640
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22641
- return SdkCache.withCache(key, res);
22639
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22640
+ return SdkCache.withCache(cacheKey, res);
22642
22641
  }
22643
22642
  /**
22644
22643
  * <p>This endpoint retrieves platform accounts linked to user. Required valid user authorization.
@@ -22654,8 +22653,8 @@ class Users$ {
22654
22653
  if (!this.cache) {
22655
22654
  return SdkCache.withoutCache(res);
22656
22655
  }
22657
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22658
- return SdkCache.withCache(key, res);
22656
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22657
+ return SdkCache.withCache(cacheKey, res);
22659
22658
  }
22660
22659
  /**
22661
22660
  * This endpoint gets list justice platform account by providing publisher namespace and publisher userID</br>
@@ -22671,8 +22670,8 @@ class Users$ {
22671
22670
  if (!this.cache) {
22672
22671
  return SdkCache.withoutCache(res);
22673
22672
  }
22674
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22675
- return SdkCache.withCache(key, res);
22673
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22674
+ return SdkCache.withCache(cacheKey, res);
22676
22675
  }
22677
22676
  /**
22678
22677
  * It is going to be <strong>DEPRECATED</strong>.
@@ -22718,8 +22717,8 @@ class Users$ {
22718
22717
  if (!this.cache) {
22719
22718
  return SdkCache.withoutCache(res);
22720
22719
  }
22721
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22722
- return SdkCache.withCache(key, res);
22720
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22721
+ return SdkCache.withCache(cacheKey, res);
22723
22722
  }
22724
22723
  /**
22725
22724
  * This endpoint is used to validate the user password. Required valid user authorization and valid user ID.
@@ -22751,8 +22750,8 @@ class Users$ {
22751
22750
  if (!this.cache) {
22752
22751
  return SdkCache.withoutCache(res);
22753
22752
  }
22754
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22755
- return SdkCache.withCache(key, res);
22753
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22754
+ return SdkCache.withCache(cacheKey, res);
22756
22755
  }
22757
22756
  /**
22758
22757
  * Note:<br>
@@ -22767,8 +22766,8 @@ class Users$ {
22767
22766
  if (!this.cache) {
22768
22767
  return SdkCache.withoutCache(res);
22769
22768
  }
22770
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22771
- return SdkCache.withCache(key, res);
22769
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22770
+ return SdkCache.withCache(cacheKey, res);
22772
22771
  }
22773
22772
  /**
22774
22773
  * Note:<br>
@@ -22801,8 +22800,8 @@ class Users$ {
22801
22800
  if (!this.cache) {
22802
22801
  return SdkCache.withoutCache(res);
22803
22802
  }
22804
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22805
- return SdkCache.withCache(key, res);
22803
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
22804
+ return SdkCache.withCache(cacheKey, res);
22806
22805
  }
22807
22806
  }
22808
22807
 
@@ -23207,8 +23206,8 @@ class Agreement$ {
23207
23206
  if (!this.cache) {
23208
23207
  return SdkCache.withoutCache(res);
23209
23208
  }
23210
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23211
- return SdkCache.withCache(key, res);
23209
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23210
+ return SdkCache.withCache(cacheKey, res);
23212
23211
  }
23213
23212
  /**
23214
23213
  * 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>
@@ -23372,8 +23371,8 @@ class Eligibilities$ {
23372
23371
  if (!this.cache) {
23373
23372
  return SdkCache.withoutCache(res);
23374
23373
  }
23375
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23376
- return SdkCache.withCache(key, res);
23374
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23375
+ return SdkCache.withCache(cacheKey, res);
23377
23376
  }
23378
23377
  /**
23379
23378
  * 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>
@@ -23386,8 +23385,8 @@ class Eligibilities$ {
23386
23385
  if (!this.cache) {
23387
23386
  return SdkCache.withoutCache(res);
23388
23387
  }
23389
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23390
- return SdkCache.withCache(key, res);
23388
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23389
+ return SdkCache.withCache(cacheKey, res);
23391
23390
  }
23392
23391
  }
23393
23392
 
@@ -23494,8 +23493,8 @@ class LocalizedPolicyVersions$ {
23494
23493
  if (!this.cache) {
23495
23494
  return SdkCache.withoutCache(res);
23496
23495
  }
23497
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23498
- return SdkCache.withCache(key, res);
23496
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23497
+ return SdkCache.withCache(cacheKey, res);
23499
23498
  }
23500
23499
  }
23501
23500
 
@@ -23577,8 +23576,8 @@ class Policies$ {
23577
23576
  if (!this.cache) {
23578
23577
  return SdkCache.withoutCache(res);
23579
23578
  }
23580
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23581
- return SdkCache.withCache(key, res);
23579
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23580
+ return SdkCache.withCache(cacheKey, res);
23582
23581
  }
23583
23582
  /**
23584
23583
  * 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>
@@ -23591,8 +23590,8 @@ class Policies$ {
23591
23590
  if (!this.cache) {
23592
23591
  return SdkCache.withoutCache(res);
23593
23592
  }
23594
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23595
- return SdkCache.withCache(key, res);
23593
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23594
+ return SdkCache.withCache(cacheKey, res);
23596
23595
  }
23597
23596
  /**
23598
23597
  * 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>
@@ -23605,8 +23604,8 @@ class Policies$ {
23605
23604
  if (!this.cache) {
23606
23605
  return SdkCache.withoutCache(res);
23607
23606
  }
23608
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23609
- return SdkCache.withCache(key, res);
23607
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23608
+ return SdkCache.withCache(cacheKey, res);
23610
23609
  }
23611
23610
  }
23612
23611
 
@@ -23686,8 +23685,8 @@ class Templates$ {
23686
23685
  if (!this.cache) {
23687
23686
  return SdkCache.withoutCache(res);
23688
23687
  }
23689
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23690
- return SdkCache.withCache(key, res);
23688
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23689
+ return SdkCache.withCache(cacheKey, res);
23691
23690
  }
23692
23691
  fetchV1TemplatesByTemplateConfigsByConfig(template, config) {
23693
23692
  const params = {};
@@ -23700,8 +23699,8 @@ class Templates$ {
23700
23699
  if (!this.cache) {
23701
23700
  return SdkCache.withoutCache(res);
23702
23701
  }
23703
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23704
- return SdkCache.withCache(key, res);
23702
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23703
+ return SdkCache.withCache(cacheKey, res);
23705
23704
  }
23706
23705
  }
23707
23706
 
@@ -23774,8 +23773,8 @@ class Currency$ {
23774
23773
  if (!this.cache) {
23775
23774
  return SdkCache.withoutCache(res);
23776
23775
  }
23777
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23778
- return SdkCache.withCache(key, res);
23776
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23777
+ return SdkCache.withCache(cacheKey, res);
23779
23778
  }
23780
23779
  }
23781
23780
 
@@ -24116,8 +24115,8 @@ class Entitlement$ {
24116
24115
  if (!this.cache) {
24117
24116
  return SdkCache.withoutCache(res);
24118
24117
  }
24119
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24120
- return SdkCache.withCache(key, res);
24118
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24119
+ return SdkCache.withCache(cacheKey, res);
24121
24120
  }
24122
24121
  /**
24123
24122
  * 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>
@@ -24130,8 +24129,8 @@ class Entitlement$ {
24130
24129
  if (!this.cache) {
24131
24130
  return SdkCache.withoutCache(res);
24132
24131
  }
24133
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24134
- return SdkCache.withCache(key, res);
24132
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24133
+ return SdkCache.withCache(cacheKey, res);
24135
24134
  }
24136
24135
  /**
24137
24136
  * 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>
@@ -24144,8 +24143,8 @@ class Entitlement$ {
24144
24143
  if (!this.cache) {
24145
24144
  return SdkCache.withoutCache(res);
24146
24145
  }
24147
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24148
- return SdkCache.withCache(key, res);
24146
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24147
+ return SdkCache.withCache(cacheKey, res);
24149
24148
  }
24150
24149
  /**
24151
24150
  * 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>
@@ -24158,8 +24157,8 @@ class Entitlement$ {
24158
24157
  if (!this.cache) {
24159
24158
  return SdkCache.withoutCache(res);
24160
24159
  }
24161
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24162
- return SdkCache.withCache(key, res);
24160
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24161
+ return SdkCache.withCache(cacheKey, res);
24163
24162
  }
24164
24163
  /**
24165
24164
  * Gets an entitlement ownership token of specified itemIds, skus and appIds<p>The decoded ownership token header like below:<p><pre><code>{
@@ -24201,8 +24200,8 @@ class Entitlement$ {
24201
24200
  if (!this.cache) {
24202
24201
  return SdkCache.withoutCache(res);
24203
24202
  }
24204
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24205
- return SdkCache.withCache(key, res);
24203
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24204
+ return SdkCache.withCache(cacheKey, res);
24206
24205
  }
24207
24206
  /**
24208
24207
  * 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>
@@ -24217,8 +24216,8 @@ class Entitlement$ {
24217
24216
  if (!this.cache) {
24218
24217
  return SdkCache.withoutCache(res);
24219
24218
  }
24220
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24221
- return SdkCache.withCache(key, res);
24219
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24220
+ return SdkCache.withCache(cacheKey, res);
24222
24221
  }
24223
24222
  /**
24224
24223
  * 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>
@@ -24233,8 +24232,8 @@ class Entitlement$ {
24233
24232
  if (!this.cache) {
24234
24233
  return SdkCache.withoutCache(res);
24235
24234
  }
24236
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24237
- return SdkCache.withCache(key, res);
24235
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24236
+ return SdkCache.withCache(cacheKey, res);
24238
24237
  }
24239
24238
  /**
24240
24239
  * 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>
@@ -24249,8 +24248,8 @@ class Entitlement$ {
24249
24248
  if (!this.cache) {
24250
24249
  return SdkCache.withoutCache(res);
24251
24250
  }
24252
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24253
- return SdkCache.withCache(key, res);
24251
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24252
+ return SdkCache.withCache(cacheKey, res);
24254
24253
  }
24255
24254
  /**
24256
24255
  * 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>
@@ -24265,8 +24264,8 @@ class Entitlement$ {
24265
24264
  if (!this.cache) {
24266
24265
  return SdkCache.withoutCache(res);
24267
24266
  }
24268
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24269
- return SdkCache.withCache(key, res);
24267
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24268
+ return SdkCache.withCache(cacheKey, res);
24270
24269
  }
24271
24270
  /**
24272
24271
  * 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>
@@ -24281,8 +24280,8 @@ class Entitlement$ {
24281
24280
  if (!this.cache) {
24282
24281
  return SdkCache.withoutCache(res);
24283
24282
  }
24284
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24285
- return SdkCache.withCache(key, res);
24283
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24284
+ return SdkCache.withCache(cacheKey, res);
24286
24285
  }
24287
24286
  /**
24288
24287
  * 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>
@@ -24297,8 +24296,8 @@ class Entitlement$ {
24297
24296
  if (!this.cache) {
24298
24297
  return SdkCache.withoutCache(res);
24299
24298
  }
24300
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24301
- return SdkCache.withCache(key, res);
24299
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24300
+ return SdkCache.withCache(cacheKey, res);
24302
24301
  }
24303
24302
  /**
24304
24303
  * 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>
@@ -24313,8 +24312,8 @@ class Entitlement$ {
24313
24312
  if (!this.cache) {
24314
24313
  return SdkCache.withoutCache(res);
24315
24314
  }
24316
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24317
- return SdkCache.withCache(key, res);
24315
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24316
+ return SdkCache.withCache(cacheKey, res);
24318
24317
  }
24319
24318
  /**
24320
24319
  * 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>
@@ -24330,8 +24329,8 @@ class Entitlement$ {
24330
24329
  if (!this.cache) {
24331
24330
  return SdkCache.withoutCache(res);
24332
24331
  }
24333
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24334
- return SdkCache.withCache(key, res);
24332
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24333
+ return SdkCache.withCache(cacheKey, res);
24335
24334
  }
24336
24335
  /**
24337
24336
  * 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>
@@ -24346,8 +24345,8 @@ class Entitlement$ {
24346
24345
  if (!this.cache) {
24347
24346
  return SdkCache.withoutCache(res);
24348
24347
  }
24349
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24350
- return SdkCache.withCache(key, res);
24348
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24349
+ return SdkCache.withCache(cacheKey, res);
24351
24350
  }
24352
24351
  /**
24353
24352
  * 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>
@@ -24362,8 +24361,8 @@ class Entitlement$ {
24362
24361
  if (!this.cache) {
24363
24362
  return SdkCache.withoutCache(res);
24364
24363
  }
24365
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24366
- return SdkCache.withCache(key, res);
24364
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24365
+ return SdkCache.withCache(cacheKey, res);
24367
24366
  }
24368
24367
  /**
24369
24368
  * 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>
@@ -24378,8 +24377,8 @@ class Entitlement$ {
24378
24377
  if (!this.cache) {
24379
24378
  return SdkCache.withoutCache(res);
24380
24379
  }
24381
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24382
- return SdkCache.withCache(key, res);
24380
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24381
+ return SdkCache.withCache(cacheKey, res);
24383
24382
  }
24384
24383
  /**
24385
24384
  * 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>
@@ -24963,8 +24962,8 @@ class Item$ {
24963
24962
  if (!this.cache) {
24964
24963
  return SdkCache.withoutCache(res);
24965
24964
  }
24966
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24967
- return SdkCache.withCache(key, res);
24965
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24966
+ return SdkCache.withCache(cacheKey, res);
24968
24967
  }
24969
24968
  /**
24970
24969
  * 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>
@@ -24977,8 +24976,8 @@ class Item$ {
24977
24976
  if (!this.cache) {
24978
24977
  return SdkCache.withoutCache(res);
24979
24978
  }
24980
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24981
- return SdkCache.withCache(key, res);
24979
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24980
+ return SdkCache.withCache(cacheKey, res);
24982
24981
  }
24983
24982
  /**
24984
24983
  * 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>
@@ -24991,8 +24990,8 @@ class Item$ {
24991
24990
  if (!this.cache) {
24992
24991
  return SdkCache.withoutCache(res);
24993
24992
  }
24994
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24995
- return SdkCache.withCache(key, res);
24993
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
24994
+ return SdkCache.withCache(cacheKey, res);
24996
24995
  }
24997
24996
  /**
24998
24997
  * 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>
@@ -25005,8 +25004,8 @@ class Item$ {
25005
25004
  if (!this.cache) {
25006
25005
  return SdkCache.withoutCache(res);
25007
25006
  }
25008
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25009
- return SdkCache.withCache(key, res);
25007
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25008
+ return SdkCache.withCache(cacheKey, res);
25010
25009
  }
25011
25010
  /**
25012
25011
  * 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>
@@ -25021,8 +25020,8 @@ class Item$ {
25021
25020
  if (!this.cache) {
25022
25021
  return SdkCache.withoutCache(res);
25023
25022
  }
25024
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25025
- return SdkCache.withCache(key, res);
25023
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25024
+ return SdkCache.withCache(cacheKey, res);
25026
25025
  }
25027
25026
  /**
25028
25027
  * 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>
@@ -25035,8 +25034,8 @@ class Item$ {
25035
25034
  if (!this.cache) {
25036
25035
  return SdkCache.withoutCache(res);
25037
25036
  }
25038
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25039
- return SdkCache.withCache(key, res);
25037
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25038
+ return SdkCache.withCache(cacheKey, res);
25040
25039
  }
25041
25040
  /**
25042
25041
  * Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
@@ -25051,8 +25050,8 @@ class Item$ {
25051
25050
  if (!this.cache) {
25052
25051
  return SdkCache.withoutCache(res);
25053
25052
  }
25054
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25055
- return SdkCache.withCache(key, res);
25053
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25054
+ return SdkCache.withCache(cacheKey, res);
25056
25055
  }
25057
25056
  /**
25058
25057
  * This API is used to validate user item purchase condition
@@ -25074,8 +25073,8 @@ class Item$ {
25074
25073
  if (!this.cache) {
25075
25074
  return SdkCache.withoutCache(res);
25076
25075
  }
25077
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25078
- return SdkCache.withCache(key, res);
25076
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25077
+ return SdkCache.withCache(cacheKey, res);
25079
25078
  }
25080
25079
  }
25081
25080
 
@@ -25297,8 +25296,8 @@ class Order$ {
25297
25296
  if (!this.cache) {
25298
25297
  return SdkCache.withoutCache(res);
25299
25298
  }
25300
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25301
- return SdkCache.withCache(key, res);
25299
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25300
+ return SdkCache.withCache(cacheKey, res);
25302
25301
  }
25303
25302
  /**
25304
25303
  * 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>
@@ -25325,8 +25324,8 @@ class Order$ {
25325
25324
  if (!this.cache) {
25326
25325
  return SdkCache.withoutCache(res);
25327
25326
  }
25328
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25329
- return SdkCache.withCache(key, res);
25327
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25328
+ return SdkCache.withCache(cacheKey, res);
25330
25329
  }
25331
25330
  /**
25332
25331
  * 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>
@@ -25342,8 +25341,8 @@ class Order$ {
25342
25341
  if (!this.cache) {
25343
25342
  return SdkCache.withoutCache(res);
25344
25343
  }
25345
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25346
- return SdkCache.withCache(key, res);
25344
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25345
+ return SdkCache.withCache(cacheKey, res);
25347
25346
  }
25348
25347
  /**
25349
25348
  * 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>
@@ -25371,8 +25370,8 @@ class Order$ {
25371
25370
  if (!this.cache) {
25372
25371
  return SdkCache.withoutCache(res);
25373
25372
  }
25374
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25375
- return SdkCache.withCache(key, res);
25373
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25374
+ return SdkCache.withCache(cacheKey, res);
25376
25375
  }
25377
25376
  }
25378
25377
 
@@ -25493,8 +25492,8 @@ class PaymentAccount$ {
25493
25492
  if (!this.cache) {
25494
25493
  return SdkCache.withoutCache(res);
25495
25494
  }
25496
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25497
- return SdkCache.withCache(key, res);
25495
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25496
+ return SdkCache.withCache(cacheKey, res);
25498
25497
  }
25499
25498
  /**
25500
25499
  * 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>
@@ -25616,8 +25615,8 @@ class PaymentStation$ {
25616
25615
  if (!this.cache) {
25617
25616
  return SdkCache.withoutCache(res);
25618
25617
  }
25619
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25620
- return SdkCache.withCache(key, res);
25618
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25619
+ return SdkCache.withCache(cacheKey, res);
25621
25620
  }
25622
25621
  /**
25623
25622
  * Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
@@ -25630,8 +25629,8 @@ class PaymentStation$ {
25630
25629
  if (!this.cache) {
25631
25630
  return SdkCache.withoutCache(res);
25632
25631
  }
25633
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25634
- return SdkCache.withCache(key, res);
25632
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25633
+ return SdkCache.withCache(cacheKey, res);
25635
25634
  }
25636
25635
  /**
25637
25636
  * Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
@@ -25655,8 +25654,8 @@ class PaymentStation$ {
25655
25654
  if (!this.cache) {
25656
25655
  return SdkCache.withoutCache(res);
25657
25656
  }
25658
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25659
- return SdkCache.withCache(key, res);
25657
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25658
+ return SdkCache.withCache(cacheKey, res);
25660
25659
  }
25661
25660
  /**
25662
25661
  * 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.
@@ -25671,8 +25670,8 @@ class PaymentStation$ {
25671
25670
  if (!this.cache) {
25672
25671
  return SdkCache.withoutCache(res);
25673
25672
  }
25674
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25675
- return SdkCache.withCache(key, res);
25673
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25674
+ return SdkCache.withCache(cacheKey, res);
25676
25675
  }
25677
25676
  /**
25678
25677
  * Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
@@ -25685,8 +25684,8 @@ class PaymentStation$ {
25685
25684
  if (!this.cache) {
25686
25685
  return SdkCache.withoutCache(res);
25687
25686
  }
25688
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25689
- return SdkCache.withCache(key, res);
25687
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25688
+ return SdkCache.withCache(cacheKey, res);
25690
25689
  }
25691
25690
  /**
25692
25691
  * Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
@@ -25701,8 +25700,8 @@ class PaymentStation$ {
25701
25700
  if (!this.cache) {
25702
25701
  return SdkCache.withoutCache(res);
25703
25702
  }
25704
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25705
- return SdkCache.withCache(key, res);
25703
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25704
+ return SdkCache.withCache(cacheKey, res);
25706
25705
  }
25707
25706
  /**
25708
25707
  * Get qrcode.<br>Other detail info: <ul><li><i>Returns</i>: QRCode image stream</li></ul>
@@ -25715,8 +25714,8 @@ class PaymentStation$ {
25715
25714
  if (!this.cache) {
25716
25715
  return SdkCache.withoutCache(res);
25717
25716
  }
25718
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25719
- return SdkCache.withCache(key, res);
25717
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25718
+ return SdkCache.withCache(cacheKey, res);
25720
25719
  }
25721
25720
  /**
25722
25721
  * Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
@@ -25953,8 +25952,8 @@ class Subscription$ {
25953
25952
  if (!this.cache) {
25954
25953
  return SdkCache.withoutCache(res);
25955
25954
  }
25956
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25957
- return SdkCache.withCache(key, res);
25955
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25956
+ return SdkCache.withCache(cacheKey, res);
25958
25957
  }
25959
25958
  /**
25960
25959
  * 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>
@@ -25970,8 +25969,8 @@ class Subscription$ {
25970
25969
  if (!this.cache) {
25971
25970
  return SdkCache.withoutCache(res);
25972
25971
  }
25973
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25974
- return SdkCache.withCache(key, res);
25972
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25973
+ return SdkCache.withCache(cacheKey, res);
25975
25974
  }
25976
25975
  /**
25977
25976
  * 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>
@@ -25986,8 +25985,8 @@ class Subscription$ {
25986
25985
  if (!this.cache) {
25987
25986
  return SdkCache.withoutCache(res);
25988
25987
  }
25989
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25990
- return SdkCache.withCache(key, res);
25988
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
25989
+ return SdkCache.withCache(cacheKey, res);
25991
25990
  }
25992
25991
  /**
25993
25992
  * 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>
@@ -26002,8 +26001,8 @@ class Subscription$ {
26002
26001
  if (!this.cache) {
26003
26002
  return SdkCache.withoutCache(res);
26004
26003
  }
26005
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26006
- return SdkCache.withCache(key, res);
26004
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26005
+ return SdkCache.withCache(cacheKey, res);
26007
26006
  }
26008
26007
  /**
26009
26008
  * 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>
@@ -26204,8 +26203,8 @@ class Wallet$ {
26204
26203
  if (!this.cache) {
26205
26204
  return SdkCache.withoutCache(res);
26206
26205
  }
26207
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26208
- return SdkCache.withCache(key, res);
26206
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26207
+ return SdkCache.withCache(cacheKey, res);
26209
26208
  }
26210
26209
  /**
26211
26210
  * 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>
@@ -26221,8 +26220,8 @@ class Wallet$ {
26221
26220
  if (!this.cache) {
26222
26221
  return SdkCache.withoutCache(res);
26223
26222
  }
26224
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26225
- return SdkCache.withCache(key, res);
26223
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26224
+ return SdkCache.withCache(cacheKey, res);
26226
26225
  }
26227
26226
  /**
26228
26227
  * 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>
@@ -26238,8 +26237,8 @@ class Wallet$ {
26238
26237
  if (!this.cache) {
26239
26238
  return SdkCache.withoutCache(res);
26240
26239
  }
26241
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26242
- return SdkCache.withCache(key, res);
26240
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26241
+ return SdkCache.withCache(cacheKey, res);
26243
26242
  }
26244
26243
  }
26245
26244
 
@@ -26629,8 +26628,8 @@ class Roles$ {
26629
26628
  if (!this.cache) {
26630
26629
  return SdkCache.withoutCache(res);
26631
26630
  }
26632
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26633
- return SdkCache.withCache(key, res);
26631
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26632
+ return SdkCache.withCache(cacheKey, res);
26634
26633
  }
26635
26634
  /**
26636
26635
  * <br>This endpoint is used to get non-admin role based on specify roleId. <br>action code : 10417
@@ -26643,8 +26642,8 @@ class Roles$ {
26643
26642
  if (!this.cache) {
26644
26643
  return SdkCache.withoutCache(res);
26645
26644
  }
26646
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26647
- return SdkCache.withCache(key, res);
26645
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26646
+ return SdkCache.withCache(cacheKey, res);
26648
26647
  }
26649
26648
  }
26650
26649
 
@@ -26699,8 +26698,8 @@ class Sso$ {
26699
26698
  if (!this.cache) {
26700
26699
  return SdkCache.withoutCache(res);
26701
26700
  }
26702
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26703
- return SdkCache.withCache(key, res);
26701
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
26702
+ return SdkCache.withCache(cacheKey, res);
26704
26703
  }
26705
26704
  /**
26706
26705
  * Logout user's session on platform that logged in using SSO.
@@ -28706,8 +28705,8 @@ class Category$ {
28706
28705
  if (!this.cache) {
28707
28706
  return SdkCache.withoutCache(res);
28708
28707
  }
28709
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28710
- return SdkCache.withCache(key, res);
28708
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28709
+ return SdkCache.withCache(cacheKey, res);
28711
28710
  }
28712
28711
  /**
28713
28712
  * 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>
@@ -28722,8 +28721,8 @@ class Category$ {
28722
28721
  if (!this.cache) {
28723
28722
  return SdkCache.withoutCache(res);
28724
28723
  }
28725
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28726
- return SdkCache.withCache(key, res);
28724
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28725
+ return SdkCache.withCache(cacheKey, res);
28727
28726
  }
28728
28727
  /**
28729
28728
  * 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>
@@ -28736,8 +28735,8 @@ class Category$ {
28736
28735
  if (!this.cache) {
28737
28736
  return SdkCache.withoutCache(res);
28738
28737
  }
28739
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28740
- return SdkCache.withCache(key, res);
28738
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28739
+ return SdkCache.withCache(cacheKey, res);
28741
28740
  }
28742
28741
  /**
28743
28742
  * 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>
@@ -28752,8 +28751,8 @@ class Category$ {
28752
28751
  if (!this.cache) {
28753
28752
  return SdkCache.withoutCache(res);
28754
28753
  }
28755
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28756
- return SdkCache.withCache(key, res);
28754
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28755
+ return SdkCache.withCache(cacheKey, res);
28757
28756
  }
28758
28757
  /**
28759
28758
  * 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>
@@ -28766,8 +28765,8 @@ class Category$ {
28766
28765
  if (!this.cache) {
28767
28766
  return SdkCache.withoutCache(res);
28768
28767
  }
28769
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28770
- return SdkCache.withCache(key, res);
28768
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28769
+ return SdkCache.withCache(cacheKey, res);
28771
28770
  }
28772
28771
  }
28773
28772
 
@@ -28821,8 +28820,8 @@ class Store$ {
28821
28820
  if (!this.cache) {
28822
28821
  return SdkCache.withoutCache(res);
28823
28822
  }
28824
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28825
- return SdkCache.withCache(key, res);
28823
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
28824
+ return SdkCache.withCache(cacheKey, res);
28826
28825
  }
28827
28826
  }
28828
28827
 
@@ -29128,8 +29127,8 @@ class Reward$ {
29128
29127
  if (!this.cache) {
29129
29128
  return SdkCache.withoutCache(res);
29130
29129
  }
29131
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
29132
- return SdkCache.withCache(key, res);
29130
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
29131
+ return SdkCache.withCache(cacheKey, res);
29133
29132
  }
29134
29133
  /**
29135
29134
  * 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>
@@ -29144,8 +29143,8 @@ class Reward$ {
29144
29143
  if (!this.cache) {
29145
29144
  return SdkCache.withoutCache(res);
29146
29145
  }
29147
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
29148
- return SdkCache.withCache(key, res);
29146
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
29147
+ return SdkCache.withCache(cacheKey, res);
29149
29148
  }
29150
29149
  /**
29151
29150
  * 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>
@@ -29158,8 +29157,8 @@ class Reward$ {
29158
29157
  if (!this.cache) {
29159
29158
  return SdkCache.withoutCache(res);
29160
29159
  }
29161
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
29162
- return SdkCache.withCache(key, res);
29160
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
29161
+ return SdkCache.withCache(cacheKey, res);
29163
29162
  }
29164
29163
  }
29165
29164
 
@@ -32536,8 +32535,8 @@ class Drm$ {
32536
32535
  if (!this.cache) {
32537
32536
  return SdkCache.withoutCache(res);
32538
32537
  }
32539
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
32540
- return SdkCache.withCache(key, res);
32538
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
32539
+ return SdkCache.withCache(cacheKey, res);
32541
32540
  }
32542
32541
  /**
32543
32542
  * 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>
@@ -32550,8 +32549,8 @@ class Drm$ {
32550
32549
  if (!this.cache) {
32551
32550
  return SdkCache.withoutCache(res);
32552
32551
  }
32553
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
32554
- return SdkCache.withCache(key, res);
32552
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
32553
+ return SdkCache.withCache(cacheKey, res);
32555
32554
  }
32556
32555
  }
32557
32556
 
@@ -32957,8 +32956,8 @@ class Utility$ {
32957
32956
  if (!this.cache) {
32958
32957
  return SdkCache.withoutCache(res);
32959
32958
  }
32960
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
32961
- return SdkCache.withCache(key, res);
32959
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
32960
+ return SdkCache.withCache(cacheKey, res);
32962
32961
  }
32963
32962
  }
32964
32963
 
@@ -33523,8 +33522,8 @@ class StaticConfigs$ {
33523
33522
  if (!this.cache) {
33524
33523
  return SdkCache.withoutCache(res);
33525
33524
  }
33526
- const key = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
33527
- return SdkCache.withCache(key, res);
33525
+ const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
33526
+ return SdkCache.withCache(cacheKey, res);
33528
33527
  }
33529
33528
  }
33530
33529