@accelbyte/sdk 0.1.1-alpha.59 → 0.2.0-beta.1

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.
@@ -2970,7 +2970,7 @@ class FileUpload$ {
2970
2970
  /**
2971
2971
  * Generate an upload URL. It's valid for 10 minutes.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"NAMESPACE:{namespace}:FILEUPLOAD"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11101</li><li><i>Returns</i>: URL data</li></ul>
2972
2972
  */
2973
- postV1FoldersByFolderFiles(folder, queryParams) {
2973
+ postV1NsFoldersByFolderFiles(folder, queryParams) {
2974
2974
  const params = { ...queryParams };
2975
2975
  const url = '/basic/v1/public/namespaces/{namespace}/folders/{folder}/files'
2976
2976
  .replace('{namespace}', this.namespace)
@@ -2981,7 +2981,7 @@ class FileUpload$ {
2981
2981
  /**
2982
2982
  * Generate an upload URL for user content. It's valid for 10 minutes.<br/>There are 2 kinds of storage limitation per user : maximum file count and maximum file size.<br/>The threshold of those limitations is different between upload category that is used.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"NAMESPACE:{namespace}:USER:{userId}:FILEUPLOAD"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11102</li><li><i>Default maximum file count per user</i>: 10 files</li><li><i>Default maximum file size per user</i>: 104857600 bytes</li><li><i>Returns</i>: URL data</li></ul>
2983
2983
  */
2984
- postV1UsersByUseridFiles(userId, queryParams) {
2984
+ postV1NsUsersByUseridFiles(userId, queryParams) {
2985
2985
  const params = { category: 'default', ...queryParams };
2986
2986
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/files'
2987
2987
  .replace('{namespace}', this.namespace)
@@ -9546,7 +9546,7 @@ class FileUploadApi {
9546
9546
  * Generate an upload URL. It's valid for 10 minutes.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"NAMESPACE:{namespace}:FILEUPLOAD"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11101</li><li><i>Returns</i>: URL data</li></ul>
9547
9547
  */
9548
9548
  this.generateFolderUploadFileUrl = ({ folder, queryParams }) => {
9549
- return this.newInstance().postV1FoldersByFolderFiles(folder, queryParams);
9549
+ return this.newInstance().postV1NsFoldersByFolderFiles(folder, queryParams);
9550
9550
  };
9551
9551
  /**
9552
9552
  * Upload the file based on the URL generated by the `generateFolderUploadFileUrl` method
@@ -9614,7 +9614,7 @@ class Misc$ {
9614
9614
  /**
9615
9615
  * List time zones.<br>Other detail info: <ul><li><i>Returns</i>: time zones</li></ul>
9616
9616
  */
9617
- fetchV1MiscTimezones() {
9617
+ fetchV1NsMiscTimezones() {
9618
9618
  const params = {};
9619
9619
  const url = '/basic/v1/public/namespaces/{namespace}/misc/timezones'.replace('{namespace}', this.namespace);
9620
9620
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9628,7 +9628,7 @@ class Misc$ {
9628
9628
  /**
9629
9629
  * List languages.<br>Other detail info: <ul><li><i>Returns</i>: language list</li></ul>
9630
9630
  */
9631
- fetchV1MiscLanguages() {
9631
+ fetchV1NsMiscLanguages() {
9632
9632
  const params = {};
9633
9633
  const url = '/basic/v1/public/namespaces/{namespace}/misc/languages'.replace('{namespace}', this.namespace);
9634
9634
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9642,7 +9642,7 @@ class Misc$ {
9642
9642
  /**
9643
9643
  * List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
9644
9644
  */
9645
- fetchV1MiscCountries(queryParams) {
9645
+ fetchV1NsMiscCountries(queryParams) {
9646
9646
  const params = { lang: 'en', ...queryParams };
9647
9647
  const url = '/basic/v1/public/namespaces/{namespace}/misc/countries'.replace('{namespace}', this.namespace);
9648
9648
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9667,10 +9667,10 @@ class MiscApi {
9667
9667
  * List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
9668
9668
  */
9669
9669
  this.getCountries = (lang) => {
9670
- return this.newInstance().fetchV1MiscCountries({ lang });
9670
+ return this.newInstance().fetchV1NsMiscCountries({ lang });
9671
9671
  };
9672
9672
  this.getLanguages = () => {
9673
- return this.newInstance().fetchV1MiscLanguages();
9673
+ return this.newInstance().fetchV1NsMiscLanguages();
9674
9674
  };
9675
9675
  }
9676
9676
  newInstance() {
@@ -9722,7 +9722,7 @@ class Namespace$ {
9722
9722
  /**
9723
9723
  * Get namespace info related publisher namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:NAMESPACE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11305</li><li><i>Returns</i>: Namespace info related publisher namespace</li></ul>
9724
9724
  */
9725
- fetchV1Publisher() {
9725
+ fetchV1NsPublisher() {
9726
9726
  const params = {};
9727
9727
  const url = '/basic/v1/public/namespaces/{namespace}/publisher'.replace('{namespace}', this.namespace);
9728
9728
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9859,7 +9859,7 @@ class UserProfile$ {
9859
9859
  /**
9860
9860
  * Get user public profile by ids.<br>Other detail info: <ul><li><i>Action code</i>: 11405</li><li><i>Returns</i>: user public profiles</li></ul>
9861
9861
  */
9862
- fetchV1ProfilesPublic(queryParams) {
9862
+ fetchV1NsProfilesPublic(queryParams) {
9863
9863
  const params = { ...queryParams };
9864
9864
  const url = '/basic/v1/public/namespaces/{namespace}/profiles/public'.replace('{namespace}', this.namespace);
9865
9865
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9873,7 +9873,7 @@ class UserProfile$ {
9873
9873
  /**
9874
9874
  * Get user public profile by public id.<br>Other detail info: <ul><li><i>Returns</i>: user public profile</li></ul>
9875
9875
  */
9876
- fetchV1ProfilesPublicByPublicId(queryParams) {
9876
+ fetchV1NsProfilesPublicByPublicId(queryParams) {
9877
9877
  const params = { ...queryParams };
9878
9878
  const url = '/basic/v1/public/namespaces/{namespace}/profiles/public/byPublicId'.replace('{namespace}', this.namespace);
9879
9879
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9887,7 +9887,7 @@ class UserProfile$ {
9887
9887
  /**
9888
9888
  * 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>
9889
9889
  */
9890
- fetchV1UsersMeProfilesPrivateCustomAttributes() {
9890
+ fetchV1NsUsersMeProfilesPrivateCustomAttributes() {
9891
9891
  const params = {};
9892
9892
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles/privateCustomAttributes'.replace('{namespace}', this.namespace);
9893
9893
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9901,7 +9901,7 @@ class UserProfile$ {
9901
9901
  /**
9902
9902
  * 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
9903
  */
9904
- putV1UsersMeProfilesPrivateCustomAttributes(data) {
9904
+ putV1NsUsersMeProfilesPrivateCustomAttributes(data) {
9905
9905
  const params = {};
9906
9906
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles/privateCustomAttributes'.replace('{namespace}', this.namespace);
9907
9907
  const resultPromise = this.axiosInstance.put(url, data, { params });
@@ -9910,7 +9910,7 @@ class UserProfile$ {
9910
9910
  /**
9911
9911
  * Get my profile<br><b>Client with user token can get user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
9912
9912
  */
9913
- fetchV1UsersMeProfiles() {
9913
+ fetchV1NsUsersMeProfiles() {
9914
9914
  const params = {};
9915
9915
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles'.replace('{namespace}', this.namespace);
9916
9916
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9924,7 +9924,7 @@ class UserProfile$ {
9924
9924
  /**
9925
9925
  * 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>
9926
9926
  */
9927
- postV1UsersMeProfiles(data) {
9927
+ postV1NsUsersMeProfiles(data) {
9928
9928
  const params = {};
9929
9929
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles'.replace('{namespace}', this.namespace);
9930
9930
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -9933,7 +9933,7 @@ class UserProfile$ {
9933
9933
  /**
9934
9934
  * Update my profile.<br>Updates user profile in the target namespace (namespace in the path). If token's namespace doesn't match the target namespace, the service automatically maps the token's user ID into the user ID in the target namespace. The endpoint returns the updated user profile on a successful call.<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>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to update <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to update <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
9935
9935
  */
9936
- putV1UsersMeProfiles(data) {
9936
+ putV1NsUsersMeProfiles(data) {
9937
9937
  const params = {};
9938
9938
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles'.replace('{namespace}', this.namespace);
9939
9939
  const resultPromise = this.axiosInstance.put(url, data, { params });
@@ -9942,7 +9942,7 @@ class UserProfile$ {
9942
9942
  /**
9943
9943
  * Get my zip code.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11407</li><li><i>Returns</i>: user zip code</li></ul>
9944
9944
  */
9945
- fetchV1UsersMeProfilesZipCode() {
9945
+ fetchV1NsUsersMeProfilesZipCode() {
9946
9946
  const params = {};
9947
9947
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles/zipCode'.replace('{namespace}', this.namespace);
9948
9948
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -9956,7 +9956,7 @@ class UserProfile$ {
9956
9956
  /**
9957
9957
  * 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>
9958
9958
  */
9959
- patchV1UsersMeProfilesZipCode(data) {
9959
+ patchV1NsUsersMeProfilesZipCode(data) {
9960
9960
  const params = {};
9961
9961
  const url = '/basic/v1/public/namespaces/{namespace}/users/me/profiles/zipCode'.replace('{namespace}', this.namespace);
9962
9962
  const resultPromise = this.axiosInstance.patch(url, data, { params });
@@ -9965,7 +9965,7 @@ class UserProfile$ {
9965
9965
  /**
9966
9966
  * Get user profile public info.<br>Other detail info: <ul><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user public profile</li></ul>
9967
9967
  */
9968
- fetchV1UsersByUseridProfilesPublic(userId) {
9968
+ fetchV1NsUsersByUseridProfilesPublic(userId) {
9969
9969
  const params = {};
9970
9970
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/public'
9971
9971
  .replace('{namespace}', this.namespace)
@@ -9981,7 +9981,7 @@ class UserProfile$ {
9981
9981
  /**
9982
9982
  * Get custom attributes info.<br>Other detail info: <ul><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user custom attributes</li></ul>
9983
9983
  */
9984
- fetchV1UsersByUseridProfilesCustomAttributes(userId) {
9984
+ fetchV1NsUsersByUseridProfilesCustomAttributes(userId) {
9985
9985
  const params = {};
9986
9986
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes'
9987
9987
  .replace('{namespace}', this.namespace)
@@ -9997,7 +9997,7 @@ class UserProfile$ {
9997
9997
  /**
9998
9998
  * 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>
9999
9999
  */
10000
- putV1UsersByUseridProfilesCustomAttributes(userId, data) {
10000
+ putV1NsUsersByUseridProfilesCustomAttributes(userId, data) {
10001
10001
  const params = {};
10002
10002
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes'
10003
10003
  .replace('{namespace}', this.namespace)
@@ -10008,7 +10008,7 @@ class UserProfile$ {
10008
10008
  /**
10009
10009
  * Get user profile.<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>: 11403</li><li><i>Returns</i>: user profile</li></ul>
10010
10010
  */
10011
- fetchV1UsersByUseridProfiles(userId) {
10011
+ fetchV1NsUsersByUseridProfiles(userId) {
10012
10012
  const params = {};
10013
10013
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles'
10014
10014
  .replace('{namespace}', this.namespace)
@@ -10024,7 +10024,7 @@ class UserProfile$ {
10024
10024
  /**
10025
10025
  * 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>
10026
10026
  */
10027
- postV1UsersByUseridProfiles(userId, data) {
10027
+ postV1NsUsersByUseridProfiles(userId, data) {
10028
10028
  const params = {};
10029
10029
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles'
10030
10030
  .replace('{namespace}', this.namespace)
@@ -10035,7 +10035,7 @@ class UserProfile$ {
10035
10035
  /**
10036
10036
  * Update user profile.<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>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li><li><i>Returns</i>: Updated user profile</li></ul>
10037
10037
  */
10038
- putV1UsersByUseridProfiles(userId, data) {
10038
+ putV1NsUsersByUseridProfiles(userId, data) {
10039
10039
  const params = {};
10040
10040
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles'
10041
10041
  .replace('{namespace}', this.namespace)
@@ -10046,7 +10046,7 @@ class UserProfile$ {
10046
10046
  /**
10047
10047
  * Update user profile status.<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>: 11406</li><li><i>Returns</i>: user profile</li></ul>
10048
10048
  */
10049
- patchV1UsersByUseridProfilesStatus(userId, data) {
10049
+ patchV1NsUsersByUseridProfilesStatus(userId, data) {
10050
10050
  const params = {};
10051
10051
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/status'
10052
10052
  .replace('{namespace}', this.namespace)
@@ -10068,25 +10068,25 @@ class UserProfileApi {
10068
10068
  * Get my profile<br><b>Client with user token can get user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
10069
10069
  */
10070
10070
  this.getUsersMeProfiles = () => {
10071
- return this.newInstance().fetchV1UsersMeProfiles();
10071
+ return this.newInstance().fetchV1NsUsersMeProfiles();
10072
10072
  };
10073
10073
  /**
10074
10074
  * 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>
10075
10075
  */
10076
10076
  this.createUserMeProfile = (data) => {
10077
- return this.newInstance().postV1UsersMeProfiles(data);
10077
+ return this.newInstance().postV1NsUsersMeProfiles(data);
10078
10078
  };
10079
10079
  /**
10080
10080
  * Update my profile.<br>Updates user profile in the target namespace. If token's namespace doesn't match the target namespace, the service automatically maps the token's user ID into the user ID in the target namespace. The method returns the updated user profile on a successful call.<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>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to update <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to update <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
10081
10081
  */
10082
10082
  this.updateUserMeProfile = (data) => {
10083
- return this.newInstance().putV1UsersMeProfiles(data);
10083
+ return this.newInstance().putV1NsUsersMeProfiles(data);
10084
10084
  };
10085
10085
  /**
10086
10086
  * 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>
10087
10087
  */
10088
10088
  this.updateUserCustomAttributes = (userId, data) => {
10089
- return this.newInstance().putV1UsersByUseridProfilesCustomAttributes(userId, data);
10089
+ return this.newInstance().putV1NsUsersByUseridProfilesCustomAttributes(userId, data);
10090
10090
  };
10091
10091
  }
10092
10092
  newInstance() {
@@ -10127,7 +10127,7 @@ class Caching$ {
10127
10127
  /**
10128
10128
  * This API is used to retrieve detailed diff cache.<br/>The response will contains list of diff cache files along with its download url.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
10129
10129
  */
10130
- fetchDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId) {
10130
+ fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId) {
10131
10131
  const params = {};
10132
10132
  const url = '/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}'
10133
10133
  .replace('{namespace}', this.namespace)
@@ -10155,7 +10155,7 @@ class CachingApi {
10155
10155
  * This API is used to retrieve detailed diff cache.<br/>The response will contains list of diff cache files along with its download url.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
10156
10156
  */
10157
10157
  getDiffCache(sourceBuildId, destinationBuildId) {
10158
- return this.newInstance().fetchDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
10158
+ return this.newInstance().fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
10159
10159
  }
10160
10160
  newInstance() {
10161
10161
  // this is expensive to cache, apply "cache: false"
@@ -10259,7 +10259,7 @@ let Dlc$$1 = class Dlc$ {
10259
10259
  /**
10260
10260
  * This API is used to retrieve DLC versions against the game version.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
10261
10261
  */
10262
- fetchDlcByBuildidLink(buildId) {
10262
+ fetchNsDlcByBuildidLink(buildId) {
10263
10263
  const params = {};
10264
10264
  const url = '/buildinfo/public/namespaces/{namespace}/dlc/{buildId}/link'
10265
10265
  .replace('{namespace}', this.namespace)
@@ -10275,7 +10275,7 @@ let Dlc$$1 = class Dlc$ {
10275
10275
  /**
10276
10276
  * 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>
10277
10277
  */
10278
- fetchAppsLatestByDlcAppIdByDlcappid(dlcAppId) {
10278
+ fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId) {
10279
10279
  const params = {};
10280
10280
  const url = '/buildinfo/public/namespaces/{namespace}/apps/latest/byDLCAppId/{dlcAppId}'
10281
10281
  .replace('{namespace}', this.namespace)
@@ -10291,7 +10291,7 @@ let Dlc$$1 = class Dlc$ {
10291
10291
  /**
10292
10292
  * 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>
10293
10293
  */
10294
- fetchDlcsLatestByGameAppIdByAppid(appId) {
10294
+ fetchNsDlcsLatestByGameAppIdByAppid(appId) {
10295
10295
  const params = {};
10296
10296
  const url = '/buildinfo/public/namespaces/{namespace}/dlcs/latest/byGameAppId/{appId}'
10297
10297
  .replace('{namespace}', this.namespace)
@@ -10307,7 +10307,7 @@ let Dlc$$1 = class Dlc$ {
10307
10307
  /**
10308
10308
  * 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>
10309
10309
  */
10310
- fetchDlcByBuildidCompatibility(buildId) {
10310
+ fetchNsDlcByBuildidCompatibility(buildId) {
10311
10311
  const params = {};
10312
10312
  const url = '/buildinfo/public/namespaces/{namespace}/dlc/{buildId}/compatibility'
10313
10313
  .replace('{namespace}', this.namespace)
@@ -10334,13 +10334,13 @@ class DlcApi {
10334
10334
  * 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>
10335
10335
  */
10336
10336
  getLatestDLCByGameAppId(appId) {
10337
- return this.newInstance().fetchDlcsLatestByGameAppIdByAppid(appId);
10337
+ return this.newInstance().fetchNsDlcsLatestByGameAppIdByAppid(appId);
10338
10338
  }
10339
10339
  /**
10340
10340
  * 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>
10341
10341
  */
10342
10342
  getBaseGamesByDlcAppId(dlcAppId) {
10343
- return this.newInstance().fetchAppsLatestByDlcAppIdByDlcappid(dlcAppId);
10343
+ return this.newInstance().fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId);
10344
10344
  }
10345
10345
  newInstance() {
10346
10346
  // this is be expensive to cache, apply "cache: false"
@@ -10578,7 +10578,7 @@ class Downloader$ {
10578
10578
  /**
10579
10579
  * This API is used to Generate Download URLs for the requested blocks inside the specified buildId.<br/>The download URL generation may returns Signed URL or Public URL, depends on service configurations.<br/>Before processing the URL generation, it will validate the user entitlement first, if not entitled then the request will be refused.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: Block Download URLs</li></ul>
10580
10580
  */
10581
- postBuildsByBuildidBlocksUrls(buildId, data) {
10581
+ postNsBuildsByBuildidBlocksUrls(buildId, data) {
10582
10582
  const params = {};
10583
10583
  const url = '/buildinfo/public/namespaces/{namespace}/builds/{buildId}/blocks/urls'
10584
10584
  .replace('{namespace}', this.namespace)
@@ -10589,7 +10589,7 @@ class Downloader$ {
10589
10589
  /**
10590
10590
  * This API is used to check whether supplied list of appId has valid buildmanifest and at least one of its build set as latest.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: list of build availability</li></ul>
10591
10591
  */
10592
- fetchBulkCheckLatest(queryParams) {
10592
+ fetchNsBulkCheckLatest(queryParams) {
10593
10593
  const params = { ...queryParams };
10594
10594
  const url = '/buildinfo/public/namespaces/{namespace}/bulkCheckLatest'.replace('{namespace}', this.namespace);
10595
10595
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -10603,7 +10603,7 @@ class Downloader$ {
10603
10603
  /**
10604
10604
  * 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>
10605
10605
  */
10606
- fetchV2UpdategameByAppidByVersionByPlatformid(appId, version, platformId) {
10606
+ fetchNsV2UpdategameByAppidByVersionByPlatformid(appId, version, platformId) {
10607
10607
  const params = {};
10608
10608
  const url = '/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{version}/{platformId}'
10609
10609
  .replace('{namespace}', this.namespace)
@@ -10621,7 +10621,7 @@ class Downloader$ {
10621
10621
  /**
10622
10622
  * 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>
10623
10623
  */
10624
- fetchAvailablebuildsByAppid(appId) {
10624
+ fetchNsAvailablebuildsByAppid(appId) {
10625
10625
  const params = {};
10626
10626
  const url = '/buildinfo/public/namespaces/{namespace}/availablebuilds/{appId}'
10627
10627
  .replace('{namespace}', this.namespace)
@@ -10637,7 +10637,7 @@ class Downloader$ {
10637
10637
  /**
10638
10638
  * 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>
10639
10639
  */
10640
- fetchDiffBySourcebuildidByDestinationbuildid(sourceBuildId, destinationBuildId) {
10640
+ fetchNsDiffBySourcebuildidByDestinationbuildid(sourceBuildId, destinationBuildId) {
10641
10641
  const params = {};
10642
10642
  const url = '/buildinfo/public/namespaces/{namespace}/diff/{sourceBuildId}/{destinationBuildId}'
10643
10643
  .replace('{namespace}', this.namespace)
@@ -10654,7 +10654,7 @@ class Downloader$ {
10654
10654
  /**
10655
10655
  * 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>
10656
10656
  */
10657
- fetchVersionHistory(queryParams) {
10657
+ fetchNsVersionHistory(queryParams) {
10658
10658
  const params = { ...queryParams };
10659
10659
  const url = '/buildinfo/public/namespaces/{namespace}/versionHistory'.replace('{namespace}', this.namespace);
10660
10660
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -10668,7 +10668,7 @@ class Downloader$ {
10668
10668
  /**
10669
10669
  * 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>
10670
10670
  */
10671
- fetchV2UpdategameByAppidByPlatformid(appId, platformId) {
10671
+ fetchNsV2UpdategameByAppidByPlatformid(appId, platformId) {
10672
10672
  const params = {};
10673
10673
  const url = '/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{platformId}'
10674
10674
  .replace('{namespace}', this.namespace)
@@ -10685,7 +10685,7 @@ class Downloader$ {
10685
10685
  /**
10686
10686
  * 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>
10687
10687
  */
10688
- fetchV2UpdategameBuildsByBuildid(buildId) {
10688
+ fetchNsV2UpdategameBuildsByBuildid(buildId) {
10689
10689
  const params = {};
10690
10690
  const url = '/buildinfo/public/namespaces/{namespace}/v2/updategame/builds/{buildId}'
10691
10691
  .replace('{namespace}', this.namespace)
@@ -10712,20 +10712,20 @@ class DownloaderApi {
10712
10712
  * 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>
10713
10713
  */
10714
10714
  getAvailableBuilds(appId) {
10715
- return this.newInstance().fetchAvailablebuildsByAppid(appId);
10715
+ return this.newInstance().fetchNsAvailablebuildsByAppid(appId);
10716
10716
  }
10717
10717
  /**
10718
10718
  * 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>
10719
10719
  */
10720
10720
  getBuildManifest(appId, platformId) {
10721
10721
  const axios = Network.create({ ...this.conf, timeout: 1800000 });
10722
- return new Downloader$(axios, this.namespace, false).fetchV2UpdategameByAppidByPlatformid(appId, platformId);
10722
+ return new Downloader$(axios, this.namespace, false).fetchNsV2UpdategameByAppidByPlatformid(appId, platformId);
10723
10723
  }
10724
10724
  /**
10725
10725
  * This API is used to retrieve detailed diff cache.<br/>The response will contains list of diff cache files along with its download url.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
10726
10726
  */
10727
10727
  getDiffCache(sourceBuildId, destinationBuildId) {
10728
- return new Caching$(Network.create(this.conf), this.namespace, false).fetchDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
10728
+ return new Caching$(Network.create(this.conf), this.namespace, false).fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
10729
10729
  }
10730
10730
  /**
10731
10731
  * Check which platform is available for the user to download the game
@@ -10820,7 +10820,7 @@ class EventV2$ {
10820
10820
  * </ul>
10821
10821
  * <p>Requires a valid user access token</p>
10822
10822
  */
10823
- fetchEventV2UsersByUseridEdithistory(userId, queryParams) {
10823
+ fetchEventV2NsUsersByUseridEdithistory(userId, queryParams) {
10824
10824
  const params = { ...queryParams };
10825
10825
  const url = '/event/v2/public/namespaces/{namespace}/users/{userId}/edithistory'
10826
10826
  .replace('{namespace}', this.namespace)
@@ -10836,7 +10836,7 @@ class EventV2$ {
10836
10836
  /**
10837
10837
  * <p>Requires valid user access token</p>
10838
10838
  */
10839
- fetchEventV2UsersByUseridEvent(userId, queryParams) {
10839
+ fetchEventV2NsUsersByUseridEvent(userId, queryParams) {
10840
10840
  const params = { ...queryParams };
10841
10841
  const url = '/event/v2/public/namespaces/{namespace}/users/{userId}/event'
10842
10842
  .replace('{namespace}', this.namespace)
@@ -10872,7 +10872,7 @@ class EventApi {
10872
10872
  * <p>Requires a valid user access token</p>
10873
10873
  */
10874
10874
  this.getAccountHistoryByUserId = ({ userId, queryParams }) => {
10875
- return this.newInstance().fetchEventV2UsersByUseridEdithistory(userId, queryParams);
10875
+ return this.newInstance().fetchEventV2NsUsersByUseridEdithistory(userId, queryParams);
10876
10876
  };
10877
10877
  }
10878
10878
  newInstance() {
@@ -10915,7 +10915,7 @@ class DataDeletion$ {
10915
10915
  /**
10916
10916
  * <p>Requires valid user access token and password
10917
10917
  */
10918
- postGdprUsersByUseridDeletions(userId, data) {
10918
+ postGdprNsUsersByUseridDeletions(userId, data) {
10919
10919
  const params = {};
10920
10920
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/deletions'
10921
10921
  .replace('{namespace}', this.namespace)
@@ -10929,7 +10929,7 @@ class DataDeletion$ {
10929
10929
  /**
10930
10930
  * <p>Requires valid user access token</p>
10931
10931
  */
10932
- deleteGdprUsersByUseridDeletions(userId) {
10932
+ deleteGdprNsUsersByUseridDeletions(userId) {
10933
10933
  const params = {};
10934
10934
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/deletions'
10935
10935
  .replace('{namespace}', this.namespace)
@@ -10940,7 +10940,7 @@ class DataDeletion$ {
10940
10940
  /**
10941
10941
  * <p>Requires valid user access token</p>
10942
10942
  */
10943
- fetchGdprUsersByUseridDeletionsStatus(userId) {
10943
+ fetchGdprNsUsersByUseridDeletionsStatus(userId) {
10944
10944
  const params = {};
10945
10945
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/deletions/status'
10946
10946
  .replace('{namespace}', this.namespace)
@@ -10969,21 +10969,21 @@ class DataDeletionApi {
10969
10969
  * <p>Requires valid user access token</p>
10970
10970
  */
10971
10971
  getGdprDeletionStatus(userId) {
10972
- return this.newInstance().fetchGdprUsersByUseridDeletionsStatus(userId);
10972
+ return this.newInstance().fetchGdprNsUsersByUseridDeletionsStatus(userId);
10973
10973
  }
10974
10974
  /**
10975
10975
  * <p>Request an account's deletion</p>
10976
10976
  * <p>Requires valid user access token and password
10977
10977
  */
10978
10978
  requestAccountDeletion({ userId, data }) {
10979
- return this.newInstance().postGdprUsersByUseridDeletions(userId, data);
10979
+ return this.newInstance().postGdprNsUsersByUseridDeletions(userId, data);
10980
10980
  }
10981
10981
  /**
10982
10982
  * <p>Cancel a deletion request</p>
10983
10983
  * <p>Requires valid user access token</p>
10984
10984
  */
10985
10985
  cancelAccountDeletion(userId) {
10986
- return this.newInstance().deleteGdprUsersByUseridDeletions(userId);
10986
+ return this.newInstance().deleteGdprNsUsersByUseridDeletions(userId);
10987
10987
  }
10988
10988
  newInstance() {
10989
10989
  return new DataDeletion$(Network.create(this.conf), this.namespace, this.cache);
@@ -11040,7 +11040,7 @@ class DataRetrieval$ {
11040
11040
  /**
11041
11041
  * <p>Requires valid user access token</p>
11042
11042
  */
11043
- fetchGdprUsersByUseridRequests(userId, queryParams) {
11043
+ fetchGdprNsUsersByUseridRequests(userId, queryParams) {
11044
11044
  const params = { ...queryParams };
11045
11045
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/requests'
11046
11046
  .replace('{namespace}', this.namespace)
@@ -11056,7 +11056,7 @@ class DataRetrieval$ {
11056
11056
  /**
11057
11057
  * <p>Requires valid user access token</p>
11058
11058
  */
11059
- postGdprUsersByUseridRequests(userId, data) {
11059
+ postGdprNsUsersByUseridRequests(userId, data) {
11060
11060
  const params = {};
11061
11061
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/requests'
11062
11062
  .replace('{namespace}', this.namespace)
@@ -11070,7 +11070,7 @@ class DataRetrieval$ {
11070
11070
  /**
11071
11071
  * <p>Requires valid user access token</p>
11072
11072
  */
11073
- deleteGdprUsersByUseridRequestsByRequestdate(userId, requestDate) {
11073
+ deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate) {
11074
11074
  const params = {};
11075
11075
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}'
11076
11076
  .replace('{namespace}', this.namespace)
@@ -11082,7 +11082,7 @@ class DataRetrieval$ {
11082
11082
  /**
11083
11083
  * <p>Requires valid user access token</p>
11084
11084
  */
11085
- postGdprUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data) {
11085
+ postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data) {
11086
11086
  const params = {};
11087
11087
  const url = '/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}/generate'
11088
11088
  .replace('{namespace}', this.namespace)
@@ -11110,28 +11110,28 @@ class DataRetrievalApi {
11110
11110
  * <p>Requires valid user access token</p>
11111
11111
  */
11112
11112
  getGdprDataRequestList({ userId, queryParams }) {
11113
- return this.newInstance().fetchGdprUsersByUseridRequests(userId, queryParams);
11113
+ return this.newInstance().fetchGdprNsUsersByUseridRequests(userId, queryParams);
11114
11114
  }
11115
11115
  /**
11116
11116
  * <p>Create a request for personal data download</p>
11117
11117
  * <p>Requires valid user access token</p>
11118
11118
  */
11119
11119
  requestGdprData({ userId, data }) {
11120
- return this.newInstance().postGdprUsersByUseridRequests(userId, data);
11120
+ return this.newInstance().postGdprNsUsersByUseridRequests(userId, data);
11121
11121
  }
11122
11122
  /**
11123
11123
  * <p>Cancel the request for personal data dowwnload</p>
11124
11124
  * <p>Requires valid user access token</p>
11125
11125
  */
11126
11126
  cancelGdprDataRequest({ userId, requestDate }) {
11127
- return this.newInstance().deleteGdprUsersByUseridRequestsByRequestdate(userId, requestDate);
11127
+ return this.newInstance().deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate);
11128
11128
  }
11129
11129
  /**
11130
11130
  * <p>Create a download URL for personal data request</p>
11131
11131
  * <p>Requires valid user access token</p>
11132
11132
  */
11133
11133
  requestGdprDataDownloadUrl({ userId, requestDate, data }) {
11134
- return this.newInstance().postGdprUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
11134
+ return this.newInstance().postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
11135
11135
  }
11136
11136
  newInstance() {
11137
11137
  return new DataRetrieval$(Network.create(this.conf), this.namespace, this.cache);
@@ -11675,6 +11675,7 @@ class OAuth20$ {
11675
11675
  * <li><strong>xblweb</strong>: The platform_token’s value is code returned by xbox after login</li>
11676
11676
  * <li><strong>netflix</strong>: The platform_token’s value is GAT (Gamer Access Token) returned by Netflix backend</li>
11677
11677
  * <li><strong>snapchat</strong>: The platform_token’s value is the authorization code returned by Snapchat OAuth.</li>
11678
+ * <br><li><strong>for specific generic oauth (OIDC)</strong>: The platform_token’s value should be the same type as created OIDC auth type whether it is auth code, idToken or bearerToken.</li>
11678
11679
  * </ul>
11679
11680
  * <h2>Account Group</h2>
11680
11681
  * <p>Several platforms are grouped under account groups. The accounts on these platforms have the same platform user id.
@@ -20611,11 +20612,7 @@ class OAuth20Extension$ {
20611
20612
  return Validate.responseType(() => resultPromise, OneTimeLinkingCodeResponse);
20612
20613
  }
20613
20614
  /**
20614
- * <p>This endpoint is being used to validate one time link code.<br>
20615
- * It require a valid user token.<br>
20616
- * Should specify the target platform id and current user should already linked to this platform.<br>
20617
- * Current user should be a headless account.<br>
20618
- * </p>
20615
+ * <p>This endpoint is being used to validate one time link code.<br></p>
20619
20616
  */
20620
20617
  postIamV3LinkCodeValidate(data) {
20621
20618
  const params = {};
@@ -21021,7 +21018,7 @@ class ThirdPartyCredential$ {
21021
21018
  /**
21022
21019
  * This is the Public API to Get All Active 3rd Platform Credential.
21023
21020
  */
21024
- fetchV3PlatformsClientsActive() {
21021
+ fetchV3NsPlatformsClientsActive() {
21025
21022
  const params = {};
21026
21023
  const url = '/iam/v3/public/namespaces/{namespace}/platforms/clients/active'.replace('{namespace}', this.namespace);
21027
21024
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -21035,7 +21032,7 @@ class ThirdPartyCredential$ {
21035
21032
  /**
21036
21033
  * This is the Public API to Get All Active OIDC Platform Credential By Client ID
21037
21034
  */
21038
- fetchV3PlatformsClientsOidc(queryParams) {
21035
+ fetchV3NsPlatformsClientsOidc(queryParams) {
21039
21036
  const params = { ...queryParams };
21040
21037
  const url = '/iam/v3/public/namespaces/{namespace}/platforms/clients/oidc'.replace('{namespace}', this.namespace);
21041
21038
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -21060,7 +21057,7 @@ class ThirdPartyCredentialApi {
21060
21057
  * This is the Public API to Get All Active 3rd Platform Credential.
21061
21058
  */
21062
21059
  this.getThirdPartyPlatformInfo = () => {
21063
- return this.newInstance().fetchV3PlatformsClientsActive();
21060
+ return this.newInstance().fetchV3NsPlatformsClientsActive();
21064
21061
  };
21065
21062
  }
21066
21063
  /**
@@ -21143,7 +21140,7 @@ const UserResponseV3 = mod.object({
21143
21140
  bans: mod.array(UserActiveBanResponseV3),
21144
21141
  country: mod.string(),
21145
21142
  createdAt: mod.string(),
21146
- dateOfBirth: mod.string(),
21143
+ dateOfBirth: mod.string().nullish(),
21147
21144
  deletionStatus: mod.boolean(),
21148
21145
  displayName: mod.string(),
21149
21146
  emailAddress: mod.string(),
@@ -21248,7 +21245,7 @@ class UsersV4$ {
21248
21245
  * <p>This endpoint support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
21249
21246
  *
21250
21247
  */
21251
- postV4TestUsers(data) {
21248
+ postV4NsTestUsers(data) {
21252
21249
  const params = {};
21253
21250
  const url = '/iam/v4/public/namespaces/{namespace}/test_users'.replace('{namespace}', this.namespace);
21254
21251
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -21271,7 +21268,7 @@ class UsersV4$ {
21271
21268
  * <p>This endpoint support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
21272
21269
  *
21273
21270
  */
21274
- postV4Users(data) {
21271
+ postV4NsUsers(data) {
21275
21272
  const params = {};
21276
21273
  const url = '/iam/v4/public/namespaces/{namespace}/users'.replace('{namespace}', this.namespace);
21277
21274
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -21297,7 +21294,7 @@ class UsersV4$ {
21297
21294
  * - username: Please refer to the rule from /v3/public/inputValidations API.
21298
21295
  *
21299
21296
  */
21300
- postV4UsersInviteByInvitationid(invitationId, data) {
21297
+ postV4NsUsersInviteByInvitationid(invitationId, data) {
21301
21298
  const params = {};
21302
21299
  const url = '/iam/v4/public/namespaces/{namespace}/users/invite/{invitationId}'
21303
21300
  .replace('{namespace}', this.namespace)
@@ -21314,7 +21311,7 @@ class UsersV4$ {
21314
21311
  * <br><b>Several case of updating email address</b>
21315
21312
  * <p>action code : 10103 </p>
21316
21313
  */
21317
- patchV4UsersMe(data) {
21314
+ patchV4NsUsersMe(data) {
21318
21315
  const params = {};
21319
21316
  const url = '/iam/v4/public/namespaces/{namespace}/users/me'.replace('{namespace}', this.namespace);
21320
21317
  const resultPromise = this.axiosInstance.patch(url, data, { params });
@@ -21325,7 +21322,7 @@ class UsersV4$ {
21325
21322
  * <p>It requires a verification code from <pre>/users/me/code/request</pre> with <b>UpdateEmailAddress</b> context.</p>
21326
21323
  *
21327
21324
  */
21328
- putV4UsersMeEmail(data) {
21325
+ putV4NsUsersMeEmail(data) {
21329
21326
  const params = {};
21330
21327
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/email'.replace('{namespace}', this.namespace);
21331
21328
  const resultPromise = this.axiosInstance.put(url, data, { params });
@@ -21348,7 +21345,7 @@ class UsersV4$ {
21348
21345
  * </ul>
21349
21346
  * action code : 10124
21350
21347
  */
21351
- postV4UsersMeHeadlessCodeVerify(data) {
21348
+ postV4NsUsersMeHeadlessCodeVerify(data) {
21352
21349
  const params = {};
21353
21350
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify'.replace('{namespace}', this.namespace);
21354
21351
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -21359,7 +21356,7 @@ class UsersV4$ {
21359
21356
  * Upgrade headless account to full account without verifying email address. Client does not need to provide verification code which sent to email address.
21360
21357
  * <br>action code : 10124 </p>
21361
21358
  */
21362
- postV4UsersMeHeadlessVerify(data) {
21359
+ postV4NsUsersMeHeadlessVerify(data) {
21363
21360
  const params = {};
21364
21361
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/headless/verify'.replace('{namespace}', this.namespace);
21365
21362
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -21370,7 +21367,7 @@ class UsersV4$ {
21370
21367
  * <p>This endpoint Requires valid user access token</p>
21371
21368
  *
21372
21369
  */
21373
- deleteV4UsersMeMfaAuthenticatorDisable() {
21370
+ deleteV4NsUsersMeMfaAuthenticatorDisable() {
21374
21371
  const params = {};
21375
21372
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/disable'.replace('{namespace}', this.namespace);
21376
21373
  const resultPromise = this.axiosInstance.delete(url, { params });
@@ -21381,7 +21378,7 @@ class UsersV4$ {
21381
21378
  * <p>This endpoint Requires valid user access token</p>
21382
21379
  *
21383
21380
  */
21384
- postV4UsersMeMfaAuthenticatorEnable(data) {
21381
+ postV4NsUsersMeMfaAuthenticatorEnable(data) {
21385
21382
  const params = {};
21386
21383
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/enable'.replace('{namespace}', this.namespace);
21387
21384
  const resultPromise = this.axiosInstance.post(url, CodeGenUtil.getFormUrlEncodedData(data), {
@@ -21396,7 +21393,7 @@ class UsersV4$ {
21396
21393
  * <p>This endpoint Requires valid user access token</p>
21397
21394
  *
21398
21395
  */
21399
- postV4UsersMeMfaAuthenticatorKey() {
21396
+ postV4NsUsersMeMfaAuthenticatorKey() {
21400
21397
  const params = {};
21401
21398
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/key'.replace('{namespace}', this.namespace);
21402
21399
  const resultPromise = this.axiosInstance.post(url, null, { params });
@@ -21408,7 +21405,7 @@ class UsersV4$ {
21408
21405
  * <p>This endpoint Requires valid user access token</p>
21409
21406
  *
21410
21407
  */
21411
- fetchV4UsersMeMfaBackupCode() {
21408
+ fetchV4NsUsersMeMfaBackupCode() {
21412
21409
  const params = {};
21413
21410
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode'.replace('{namespace}', this.namespace);
21414
21411
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -21425,7 +21422,7 @@ class UsersV4$ {
21425
21422
  * <p>This endpoint Requires valid user access token</p>
21426
21423
  *
21427
21424
  */
21428
- postV4UsersMeMfaBackupCode() {
21425
+ postV4NsUsersMeMfaBackupCode() {
21429
21426
  const params = {};
21430
21427
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode'.replace('{namespace}', this.namespace);
21431
21428
  const resultPromise = this.axiosInstance.post(url, null, { params });
@@ -21436,7 +21433,7 @@ class UsersV4$ {
21436
21433
  * <p>This endpoint Requires valid user access token</p>
21437
21434
  *
21438
21435
  */
21439
- deleteV4UsersMeMfaBackupCodeDisable() {
21436
+ deleteV4NsUsersMeMfaBackupCodeDisable() {
21440
21437
  const params = {};
21441
21438
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable'.replace('{namespace}', this.namespace);
21442
21439
  const resultPromise = this.axiosInstance.delete(url, { params });
@@ -21447,7 +21444,7 @@ class UsersV4$ {
21447
21444
  * <p>This endpoint Requires valid user access token</p>
21448
21445
  *
21449
21446
  */
21450
- fetchV4UsersMeMfaBackupCodeDownload() {
21447
+ fetchV4NsUsersMeMfaBackupCodeDownload() {
21451
21448
  const params = {};
21452
21449
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/download'.replace('{namespace}', this.namespace);
21453
21450
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -21463,7 +21460,7 @@ class UsersV4$ {
21463
21460
  * <p>This endpoint Requires valid user access token</p>
21464
21461
  *
21465
21462
  */
21466
- postV4UsersMeMfaBackupCodeEnable() {
21463
+ postV4NsUsersMeMfaBackupCodeEnable() {
21467
21464
  const params = {};
21468
21465
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable'.replace('{namespace}', this.namespace);
21469
21466
  const resultPromise = this.axiosInstance.post(url, null, { params });
@@ -21475,7 +21472,7 @@ class UsersV4$ {
21475
21472
  * <p>This endpoint Requires device_token in cookie</p>
21476
21473
  *
21477
21474
  */
21478
- deleteV4UsersMeMfaDevice() {
21475
+ deleteV4NsUsersMeMfaDevice() {
21479
21476
  const params = {};
21480
21477
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/device'.replace('{namespace}', this.namespace);
21481
21478
  const resultPromise = this.axiosInstance.delete(url, { params });
@@ -21486,7 +21483,7 @@ class UsersV4$ {
21486
21483
  * <p>This endpoint Requires valid user access token</p>
21487
21484
  *
21488
21485
  */
21489
- postV4UsersMeMfaEmailCode() {
21486
+ postV4NsUsersMeMfaEmailCode() {
21490
21487
  const params = {};
21491
21488
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code'.replace('{namespace}', this.namespace);
21492
21489
  const resultPromise = this.axiosInstance.post(url, null, { params });
@@ -21497,7 +21494,7 @@ class UsersV4$ {
21497
21494
  * <p>This endpoint Requires valid user access token</p>
21498
21495
  *
21499
21496
  */
21500
- postV4UsersMeMfaEmailDisable() {
21497
+ postV4NsUsersMeMfaEmailDisable() {
21501
21498
  const params = {};
21502
21499
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable'.replace('{namespace}', this.namespace);
21503
21500
  const resultPromise = this.axiosInstance.post(url, null, { params });
@@ -21508,7 +21505,7 @@ class UsersV4$ {
21508
21505
  * <p>This endpoint Requires valid user access token</p>
21509
21506
  *
21510
21507
  */
21511
- postV4UsersMeMfaEmailEnable(data) {
21508
+ postV4NsUsersMeMfaEmailEnable(data) {
21512
21509
  const params = {};
21513
21510
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable'.replace('{namespace}', this.namespace);
21514
21511
  const resultPromise = this.axiosInstance.post(url, CodeGenUtil.getFormUrlEncodedData(data), {
@@ -21522,7 +21519,7 @@ class UsersV4$ {
21522
21519
  * <p>This endpoint Requires valid user access token</p>
21523
21520
  *
21524
21521
  */
21525
- fetchV4UsersMeMfaFactor() {
21522
+ fetchV4NsUsersMeMfaFactor() {
21526
21523
  const params = {};
21527
21524
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor'.replace('{namespace}', this.namespace);
21528
21525
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -21538,7 +21535,7 @@ class UsersV4$ {
21538
21535
  * <p>This endpoint Requires valid user access token</p>
21539
21536
  *
21540
21537
  */
21541
- postV4UsersMeMfaFactor(data) {
21538
+ postV4NsUsersMeMfaFactor(data) {
21542
21539
  const params = {};
21543
21540
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor'.replace('{namespace}', this.namespace);
21544
21541
  const resultPromise = this.axiosInstance.post(url, CodeGenUtil.getFormUrlEncodedData(data), {
@@ -21564,7 +21561,7 @@ class TwoFA {
21564
21561
  *
21565
21562
  */
21566
21563
  this.getBackupCode = () => {
21567
- return this.newInstance().fetchV4UsersMeMfaBackupCode();
21564
+ return this.newInstance().fetchV4NsUsersMeMfaBackupCode();
21568
21565
  };
21569
21566
  /**
21570
21567
  * <p>This method is used to enable 2FA backup codes.</p>
@@ -21572,7 +21569,7 @@ class TwoFA {
21572
21569
  *
21573
21570
  */
21574
21571
  this.enable2FABackupCodes = () => {
21575
- return this.newInstance().postV4UsersMeMfaBackupCodeEnable();
21572
+ return this.newInstance().postV4NsUsersMeMfaBackupCodeEnable();
21576
21573
  };
21577
21574
  /**
21578
21575
  * <p>This method is used to enable 2FA backup codes.</p>
@@ -21580,7 +21577,7 @@ class TwoFA {
21580
21577
  *
21581
21578
  */
21582
21579
  this.generateBackupCodes = () => {
21583
- return this.newInstance().postV4UsersMeMfaBackupCode();
21580
+ return this.newInstance().postV4NsUsersMeMfaBackupCode();
21584
21581
  };
21585
21582
  /**
21586
21583
  * <p>This method is used to enable 2FA backup codes.</p>
@@ -21588,7 +21585,7 @@ class TwoFA {
21588
21585
  *
21589
21586
  */
21590
21587
  this.disableBackupCodes = () => {
21591
- return this.newInstance().deleteV4UsersMeMfaBackupCodeDisable();
21588
+ return this.newInstance().deleteV4NsUsersMeMfaBackupCodeDisable();
21592
21589
  };
21593
21590
  /**
21594
21591
  * <p>This method is used to disable 2FA authenticator.</p>
@@ -21596,7 +21593,7 @@ class TwoFA {
21596
21593
  *
21597
21594
  */
21598
21595
  this.disableAuthenticator = () => {
21599
- return this.newInstance().deleteV4UsersMeMfaAuthenticatorDisable();
21596
+ return this.newInstance().deleteV4NsUsersMeMfaAuthenticatorDisable();
21600
21597
  };
21601
21598
  /**
21602
21599
  * <p>This method is used to get user enabled factors.</p>
@@ -21604,7 +21601,7 @@ class TwoFA {
21604
21601
  *
21605
21602
  */
21606
21603
  this.getEnabledMethods = () => {
21607
- return this.newInstance().fetchV4UsersMeMfaFactor();
21604
+ return this.newInstance().fetchV4NsUsersMeMfaFactor();
21608
21605
  };
21609
21606
  /**
21610
21607
  * <p>This method is used to make 2FA factor default.</p>
@@ -21612,7 +21609,7 @@ class TwoFA {
21612
21609
  *
21613
21610
  */
21614
21611
  this.set2FAAsDefault = (factor) => {
21615
- return this.newInstance().postV4UsersMeMfaFactor({ factor });
21612
+ return this.newInstance().postV4NsUsersMeMfaFactor({ factor });
21616
21613
  };
21617
21614
  /**
21618
21615
  * <p>This method is used to enable 2FA authenticator.</p>
@@ -21620,7 +21617,7 @@ class TwoFA {
21620
21617
  *
21621
21618
  */
21622
21619
  this.enable2FAAuthenticator = (code) => {
21623
- return this.newInstance().postV4UsersMeMfaAuthenticatorEnable({ code });
21620
+ return this.newInstance().postV4NsUsersMeMfaAuthenticatorEnable({ code });
21624
21621
  };
21625
21622
  /**
21626
21623
  * <p>This method is used to generate a secret key for 3rd-party authenticator app.
@@ -21629,16 +21626,16 @@ class TwoFA {
21629
21626
  *
21630
21627
  */
21631
21628
  this.generateSecretKey = () => {
21632
- return this.newInstance().postV4UsersMeMfaAuthenticatorKey();
21629
+ return this.newInstance().postV4NsUsersMeMfaAuthenticatorKey();
21633
21630
  };
21634
21631
  this.requestEmailCode = () => {
21635
- return this.newInstance().postV4UsersMeMfaEmailCode();
21632
+ return this.newInstance().postV4NsUsersMeMfaEmailCode();
21636
21633
  };
21637
21634
  this.enableEmailMethod = (code) => {
21638
- return this.newInstance().postV4UsersMeMfaEmailEnable({ code });
21635
+ return this.newInstance().postV4NsUsersMeMfaEmailEnable({ code });
21639
21636
  };
21640
21637
  this.disableEmailMethod = () => {
21641
- return this.newInstance().postV4UsersMeMfaEmailDisable();
21638
+ return this.newInstance().postV4NsUsersMeMfaEmailDisable();
21642
21639
  };
21643
21640
  }
21644
21641
  newInstance() {
@@ -22062,7 +22059,7 @@ class Users$ {
22062
22059
  /**
22063
22060
  * Get age restriction by country code. It will always get by publisher namespace
22064
22061
  */
22065
- fetchV3AgerestrictionsCountriesByCountrycode(countryCode) {
22062
+ fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode) {
22066
22063
  const params = {};
22067
22064
  const url = '/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}'
22068
22065
  .replace('{namespace}', this.namespace)
@@ -22083,7 +22080,7 @@ class Users$ {
22083
22080
  * <strong>nintendo platform user ID</strong>: NSA ID need to be appended with Environment ID using colon as separator. e.g kmzwa8awaa:dd1
22084
22081
  *
22085
22082
  */
22086
- postV3PlatformsByPlatformidUsers(platformId, data) {
22083
+ postV3NsPlatformsByPlatformidUsers(platformId, data) {
22087
22084
  const params = {};
22088
22085
  const url = '/iam/v3/public/namespaces/{namespace}/platforms/{platformId}/users'
22089
22086
  .replace('{namespace}', this.namespace)
@@ -22099,7 +22096,7 @@ class Users$ {
22099
22096
  * <strong>nintendo platform user ID</strong>: NSA ID need to be appended with Environment ID using colon as separator. e.g kmzwa8awaa:dd1
22100
22097
  *
22101
22098
  */
22102
- fetchV3PlatformsByPlatformidUsersByPlatformuserid(platformId, platformUserId) {
22099
+ fetchV3NsPlatformsByPlatformidUsersByPlatformuserid(platformId, platformUserId) {
22103
22100
  const params = {};
22104
22101
  const url = '/iam/v3/public/namespaces/{namespace}/platforms/{platformId}/users/{platformUserId}'
22105
22102
  .replace('{namespace}', this.namespace)
@@ -22116,7 +22113,7 @@ class Users$ {
22116
22113
  /**
22117
22114
  * This endpoint is used to get linking status.
22118
22115
  */
22119
- fetchV3RequestsByRequestidAsyncStatus(requestId) {
22116
+ fetchV3NsRequestsByRequestidAsyncStatus(requestId) {
22120
22117
  const params = {};
22121
22118
  const url = '/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status'
22122
22119
  .replace('{namespace}', this.namespace)
@@ -22135,7 +22132,7 @@ class Users$ {
22135
22132
  * The query length should greater than 1,otherwise will not query the database. The default limit value is 100</p>
22136
22133
  * <br>action code : 10132
22137
22134
  */
22138
- fetchV3Users(queryParams) {
22135
+ fetchV3NsUsers(queryParams) {
22139
22136
  const params = { ...queryParams };
22140
22137
  const url = '/iam/v3/public/namespaces/{namespace}/users'.replace('{namespace}', this.namespace);
22141
22138
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -22156,7 +22153,7 @@ class Users$ {
22156
22153
  * <p>Date of Birth format : YYYY-MM-DD, e.g. 2019-04-29.</p>
22157
22154
  * <p>This endpoint support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
22158
22155
  */
22159
- postV3Users(data) {
22156
+ postV3NsUsers(data) {
22160
22157
  const params = {};
22161
22158
  const url = '/iam/v3/public/namespaces/{namespace}/users'.replace('{namespace}', this.namespace);
22162
22159
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22175,7 +22172,7 @@ class Users$ {
22175
22172
  * - Account Not Available : 204 (no content)
22176
22173
  *
22177
22174
  */
22178
- fetchV3UsersAvailability(queryParams) {
22175
+ fetchV3NsUsersAvailability(queryParams) {
22179
22176
  const params = { ...queryParams };
22180
22177
  const url = '/iam/v3/public/namespaces/{namespace}/users/availability'.replace('{namespace}', this.namespace);
22181
22178
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -22195,7 +22192,7 @@ class Users$ {
22195
22192
  * </ul>
22196
22193
  *
22197
22194
  */
22198
- postV3UsersBulkBasic(data) {
22195
+ postV3NsUsersBulkBasic(data) {
22199
22196
  const params = {};
22200
22197
  const url = '/iam/v3/public/namespaces/{namespace}/users/bulk/basic'.replace('{namespace}', this.namespace);
22201
22198
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22210,7 +22207,7 @@ class Users$ {
22210
22207
  * This code can be verified by this <a href="#operations-Users-PublicVerifyRegistrationCode">endpoint</a>.
22211
22208
  *
22212
22209
  */
22213
- postV3UsersCodeRequest(data) {
22210
+ postV3NsUsersCodeRequest(data) {
22214
22211
  const params = {};
22215
22212
  const url = '/iam/v3/public/namespaces/{namespace}/users/code/request'.replace('{namespace}', this.namespace);
22216
22213
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22220,7 +22217,7 @@ class Users$ {
22220
22217
  * <p>Verify the registration code</p>
22221
22218
  *
22222
22219
  */
22223
- postV3UsersCodeVerify(data) {
22220
+ postV3NsUsersCodeVerify(data) {
22224
22221
  const params = {};
22225
22222
  const url = '/iam/v3/public/namespaces/{namespace}/users/code/verify'.replace('{namespace}', this.namespace);
22226
22223
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22234,7 +22231,7 @@ class Users$ {
22234
22231
  * <p>action code : 10104 </p>
22235
22232
  *
22236
22233
  */
22237
- postV3UsersForgot(data) {
22234
+ postV3NsUsersForgot(data) {
22238
22235
  const params = {};
22239
22236
  const url = '/iam/v3/public/namespaces/{namespace}/users/forgot'.replace('{namespace}', this.namespace);
22240
22237
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22244,7 +22241,7 @@ class Users$ {
22244
22241
  * Endpoint to validate user invitation. When not found, it could also means the invitation has expired.
22245
22242
  *
22246
22243
  */
22247
- fetchV3UsersInviteByInvitationid(invitationId) {
22244
+ fetchV3NsUsersInviteByInvitationid(invitationId) {
22248
22245
  const params = {};
22249
22246
  const url = '/iam/v3/public/namespaces/{namespace}/users/invite/{invitationId}'
22250
22247
  .replace('{namespace}', this.namespace)
@@ -22269,7 +22266,7 @@ class Users$ {
22269
22266
  * Date of Birth format : YYYY-MM-DD, e.g. 2019-04-29.
22270
22267
  *
22271
22268
  */
22272
- postV3UsersInviteByInvitationid(invitationId, data) {
22269
+ postV3NsUsersInviteByInvitationid(invitationId, data) {
22273
22270
  const params = {};
22274
22271
  const url = '/iam/v3/public/namespaces/{namespace}/users/invite/{invitationId}'
22275
22272
  .replace('{namespace}', this.namespace)
@@ -22292,7 +22289,7 @@ class Users$ {
22292
22289
  * <br>If the client support PATCH method, use [PATCH] /iam/v3/public/namespaces/{namespace}/users/me instead</p><br>
22293
22290
  * <p>action code : 10103 </p>
22294
22291
  */
22295
- putV3UsersMe(data) {
22292
+ putV3NsUsersMe(data) {
22296
22293
  const params = {};
22297
22294
  const url = '/iam/v3/public/namespaces/{namespace}/users/me'.replace('{namespace}', this.namespace);
22298
22295
  const resultPromise = this.axiosInstance.put(url, data, { params });
@@ -22310,7 +22307,7 @@ class Users$ {
22310
22307
  * <li>User want to update email address of which have been verified and updated before, { oldEmailAddress, emailAddress} response field will be filled with verified email before. newEmailAddress response field will be filled with newest email address. </li>
22311
22308
  * <p>action code : 10103 </p>
22312
22309
  */
22313
- patchV3UsersMe(data) {
22310
+ patchV3NsUsersMe(data) {
22314
22311
  const params = {};
22315
22312
  const url = '/iam/v3/public/namespaces/{namespace}/users/me'.replace('{namespace}', this.namespace);
22316
22313
  const resultPromise = this.axiosInstance.patch(url, data, { params });
@@ -22338,7 +22335,7 @@ class Users$ {
22338
22335
  * <p>action code: 10116</p>
22339
22336
  *
22340
22337
  */
22341
- postV3UsersMeCodeRequest(data) {
22338
+ postV3NsUsersMeCodeRequest(data) {
22342
22339
  const params = {};
22343
22340
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/code/request'.replace('{namespace}', this.namespace);
22344
22341
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22352,7 +22349,7 @@ class Users$ {
22352
22349
  * <p>action code: 10107</p>
22353
22350
  *
22354
22351
  */
22355
- postV3UsersMeCodeVerify(data) {
22352
+ postV3NsUsersMeCodeVerify(data) {
22356
22353
  const params = {};
22357
22354
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/code/verify'.replace('{namespace}', this.namespace);
22358
22355
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22374,7 +22371,7 @@ class Users$ {
22374
22371
  * </ul>
22375
22372
  * <br>action code : 10124</p>
22376
22373
  */
22377
- postV3UsersMeHeadlessCodeVerify(data) {
22374
+ postV3NsUsersMeHeadlessCodeVerify(data) {
22378
22375
  const params = {};
22379
22376
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/headless/code/verify'.replace('{namespace}', this.namespace);
22380
22377
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22383,7 +22380,7 @@ class Users$ {
22383
22380
  /**
22384
22381
  * <p>Require valid user authorization<br>action code : 10124 </p>
22385
22382
  */
22386
- postV3UsersMeHeadlessVerify(data) {
22383
+ postV3NsUsersMeHeadlessVerify(data) {
22387
22384
  const params = {};
22388
22385
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/headless/verify'.replace('{namespace}', this.namespace);
22389
22386
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22392,7 +22389,7 @@ class Users$ {
22392
22389
  /**
22393
22390
  * Required valid user authorization. <br> action code: 10107
22394
22391
  */
22395
- putV3UsersMePassword(data) {
22392
+ putV3NsUsersMePassword(data) {
22396
22393
  const params = {};
22397
22394
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/password'.replace('{namespace}', this.namespace);
22398
22395
  const resultPromise = this.axiosInstance.put(url, data, { params });
@@ -22402,7 +22399,7 @@ class Users$ {
22402
22399
  * Create Justice User from Publisher User information. It will check first if Justice User on target namespace already exist.
22403
22400
  *
22404
22401
  */
22405
- postV3UsersMePlatformsJusticeByTargetnamespace(targetNamespace) {
22402
+ postV3NsUsersMePlatformsJusticeByTargetnamespace(targetNamespace) {
22406
22403
  const params = {};
22407
22404
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/justice/{targetNamespace}'
22408
22405
  .replace('{namespace}', this.namespace)
@@ -22435,7 +22432,7 @@ class Users$ {
22435
22432
  * </ul>
22436
22433
  * <br>action code : 10144
22437
22434
  */
22438
- postV3UsersMePlatformsByPlatformid(platformId, data) {
22435
+ postV3NsUsersMePlatformsByPlatformid(platformId, data) {
22439
22436
  const params = {};
22440
22437
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}'
22441
22438
  .replace('{namespace}', this.namespace)
@@ -22474,7 +22471,7 @@ class Users$ {
22474
22471
  * <br>
22475
22472
  * <br>action code : 10121 </p>
22476
22473
  */
22477
- deleteV3UsersMePlatformsByPlatformid(platformId, data) {
22474
+ deleteV3NsUsersMePlatformsByPlatformid(platformId, data) {
22478
22475
  const params = {};
22479
22476
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}'
22480
22477
  .replace('{namespace}', this.namespace)
@@ -22486,7 +22483,7 @@ class Users$ {
22486
22483
  * Required valid user authorization.
22487
22484
  * <p>Unlink user's account from for all third platforms. </p>
22488
22485
  */
22489
- deleteV3UsersMePlatformsByPlatformidAll(platformId) {
22486
+ deleteV3NsUsersMePlatformsByPlatformidAll(platformId) {
22490
22487
  const params = {};
22491
22488
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/all'
22492
22489
  .replace('{namespace}', this.namespace)
@@ -22524,7 +22521,7 @@ class Users$ {
22524
22521
  * </ul>
22525
22522
  *
22526
22523
  */
22527
- postV3UsersMePlatformsByPlatformidForce(platformId, data) {
22524
+ postV3NsUsersMePlatformsByPlatformidForce(platformId, data) {
22528
22525
  const params = {};
22529
22526
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/force'
22530
22527
  .replace('{namespace}', this.namespace)
@@ -22538,7 +22535,7 @@ class Users$ {
22538
22535
  /**
22539
22536
  * This endpoint is used to generate third party login page which will redirected to establish endpoint.
22540
22537
  */
22541
- fetchV3UsersMePlatformsByPlatformidWebLink(platformId, queryParams) {
22538
+ fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams) {
22542
22539
  const params = { ...queryParams };
22543
22540
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link'
22544
22541
  .replace('{namespace}', this.namespace)
@@ -22554,7 +22551,7 @@ class Users$ {
22554
22551
  /**
22555
22552
  * This endpoint is used by third party to redirect the code for the purpose of linking the account third party to IAM account.
22556
22553
  */
22557
- fetchV3UsersMePlatformsByPlatformidWebLinkEstablish(platformId, queryParams) {
22554
+ fetchV3NsUsersMePlatformsByPlatformidWebLinkEstablish(platformId, queryParams) {
22558
22555
  const params = { ...queryParams };
22559
22556
  const url = '/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link/establish'
22560
22557
  .replace('{namespace}', this.namespace)
@@ -22570,7 +22567,7 @@ class Users$ {
22570
22567
  /**
22571
22568
  * <p>action code: 10105</p>
22572
22569
  */
22573
- postV3UsersReset(data) {
22570
+ postV3NsUsersReset(data) {
22574
22571
  const params = {};
22575
22572
  const url = '/iam/v3/public/namespaces/{namespace}/users/reset'.replace('{namespace}', this.namespace);
22576
22573
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -22579,7 +22576,7 @@ class Users$ {
22579
22576
  /**
22580
22577
  * <p>This endpoint retrieve user attributes. action code: 10129</p>
22581
22578
  */
22582
- fetchV3UsersByUserid(userId) {
22579
+ fetchV3NsUsersByUserid(userId) {
22583
22580
  const params = {};
22584
22581
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}'.replace('{namespace}', this.namespace).replace('{userId}', userId);
22585
22582
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -22599,7 +22596,7 @@ class Users$ {
22599
22596
  * </ul>
22600
22597
  *
22601
22598
  */
22602
- fetchV3UsersByUseridBans(userId, queryParams) {
22599
+ fetchV3NsUsersByUseridBans(userId, queryParams) {
22603
22600
  const params = { ...queryParams };
22604
22601
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/bans'
22605
22602
  .replace('{namespace}', this.namespace)
@@ -22617,7 +22614,7 @@ class Users$ {
22617
22614
  * <br>It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
22618
22615
  * <br>Required valid user authorization.</p>
22619
22616
  */
22620
- fetchV3UsersByUseridDistinctPlatforms(userId) {
22617
+ fetchV3NsUsersByUseridDistinctPlatforms(userId) {
22621
22618
  const params = {};
22622
22619
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/distinctPlatforms'
22623
22620
  .replace('{namespace}', this.namespace)
@@ -22634,7 +22631,7 @@ class Users$ {
22634
22631
  * <p>This endpoint retrieves user info and linked platform accounts.
22635
22632
  * Required permissions 'NAMESPACE:{namespace}:INFORMATION:USER:{userId} [READ]'</p>
22636
22633
  */
22637
- fetchV3UsersByUseridInformation(userId) {
22634
+ fetchV3NsUsersByUseridInformation(userId) {
22638
22635
  const params = {};
22639
22636
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/information'
22640
22637
  .replace('{namespace}', this.namespace)
@@ -22650,7 +22647,7 @@ class Users$ {
22650
22647
  /**
22651
22648
  * 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>
22652
22649
  */
22653
- fetchV3UsersByUseridLoginsHistories(userId, queryParams) {
22650
+ fetchV3NsUsersByUseridLoginsHistories(userId, queryParams) {
22654
22651
  const params = { ...queryParams };
22655
22652
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/logins/histories'
22656
22653
  .replace('{namespace}', this.namespace)
@@ -22667,7 +22664,7 @@ class Users$ {
22667
22664
  * <p>This endpoint retrieves platform accounts linked to user. Required valid user authorization.
22668
22665
  * <br>action code: 10128 </p>
22669
22666
  */
22670
- fetchV3UsersByUseridPlatforms(userId, queryParams) {
22667
+ fetchV3NsUsersByUseridPlatforms(userId, queryParams) {
22671
22668
  const params = { ...queryParams };
22672
22669
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms'
22673
22670
  .replace('{namespace}', this.namespace)
@@ -22684,7 +22681,7 @@ class Users$ {
22684
22681
  * This endpoint gets list justice platform account by providing publisher namespace and publisher userID</br>
22685
22682
  * <p>Requires valid user access token </p></br>
22686
22683
  */
22687
- fetchV3UsersByUseridPlatformsJustice(userId) {
22684
+ fetchV3NsUsersByUseridPlatformsJustice(userId) {
22688
22685
  const params = {};
22689
22686
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms/justice'
22690
22687
  .replace('{namespace}', this.namespace)
@@ -22704,7 +22701,7 @@ class Users$ {
22704
22701
  * transferred. If the data is tight to game user ID, the user will have the game progression data.
22705
22702
  *
22706
22703
  */
22707
- postV3UsersByUseridPlatformsLink(userId, data) {
22704
+ postV3NsUsersByUseridPlatformsLink(userId, data) {
22708
22705
  const params = {};
22709
22706
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms/link'
22710
22707
  .replace('{namespace}', this.namespace)
@@ -22718,7 +22715,7 @@ class Users$ {
22718
22715
  * This endpoint need the same requestID which also used in <a href="#operations-Users-PublicGetAsyncStatus">Get link status</a>.
22719
22716
  *
22720
22717
  */
22721
- postV3UsersByUseridPlatformsLinkWithProgression(userId, data) {
22718
+ postV3NsUsersByUseridPlatformsLinkWithProgression(userId, data) {
22722
22719
  const params = {};
22723
22720
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms/linkWithProgression'
22724
22721
  .replace('{namespace}', this.namespace)
@@ -22731,7 +22728,7 @@ class Users$ {
22731
22728
  * <p><strong>Restriction:</strong>
22732
22729
  * Path Parameter <strong>namespace</strong> can be provided only with game namespace</p>
22733
22730
  */
22734
- fetchV3UsersByUseridPublisher(userId) {
22731
+ fetchV3NsUsersByUseridPublisher(userId) {
22735
22732
  const params = {};
22736
22733
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/publisher'
22737
22734
  .replace('{namespace}', this.namespace)
@@ -22752,7 +22749,7 @@ class Users$ {
22752
22749
  * </ul>
22753
22750
  *
22754
22751
  */
22755
- postV3UsersByUseridValidate(userId, data) {
22752
+ postV3NsUsersByUseridValidate(userId, data) {
22756
22753
  const params = {};
22757
22754
  const url = '/iam/v3/public/namespaces/{namespace}/users/{userId}/validate'
22758
22755
  .replace('{namespace}', this.namespace)
@@ -22781,6 +22778,9 @@ class Users$ {
22781
22778
  * Note:<br>
22782
22779
  * 1. My account should be full account
22783
22780
  * 2. My account not linked to request headless account's third platform.
22781
+ *
22782
+ * After client resolving the conflict, it will call endpoint <b>/iam/v3/public/users/me/headless/linkWithProgression [POST]</p>
22783
+ *
22784
22784
  */
22785
22785
  fetchIamV3PublicUsersMeHeadlessLinkConflict(queryParams) {
22786
22786
  const params = { ...queryParams };
@@ -22856,19 +22856,19 @@ class UserApi {
22856
22856
  * update current user
22857
22857
  */
22858
22858
  this.updateUserMe = (data) => {
22859
- return this.newInstance().patchV3UsersMe(data);
22859
+ return this.newInstance().patchV3NsUsersMe(data);
22860
22860
  };
22861
22861
  /**
22862
22862
  * update current user's email
22863
22863
  */
22864
22864
  this.updateEmailMe = (data) => {
22865
- return this.newInstance4().putV4UsersMeEmail(data);
22865
+ return this.newInstance4().putV4NsUsersMeEmail(data);
22866
22866
  };
22867
22867
  /**
22868
22868
  * update current user's password
22869
22869
  */
22870
22870
  this.updatePasswordMe = (data) => {
22871
- return this.newInstance().putV3UsersMePassword(data);
22871
+ return this.newInstance().putV3NsUsersMePassword(data);
22872
22872
  };
22873
22873
  /**
22874
22874
  * Required valid user authorization
@@ -22893,7 +22893,7 @@ class UserApi {
22893
22893
  *
22894
22894
  */
22895
22895
  this.requestVerificationCode = (data) => {
22896
- return this.newInstance().postV3UsersMeCodeRequest(data);
22896
+ return this.newInstance().postV3NsUsersMeCodeRequest(data);
22897
22897
  };
22898
22898
  /**
22899
22899
  * <p>Will consume code if validateOnly is set false</p>
@@ -22904,7 +22904,7 @@ class UserApi {
22904
22904
  *
22905
22905
  */
22906
22906
  this.verifyCode = (data) => {
22907
- return this.newInstance().postV3UsersMeCodeVerify(data);
22907
+ return this.newInstance().postV3NsUsersMeCodeVerify(data);
22908
22908
  };
22909
22909
  /**
22910
22910
  * <p>If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded</p>
@@ -22923,7 +22923,7 @@ class UserApi {
22923
22923
  * <br>action code : 10124</p>
22924
22924
  */
22925
22925
  this.upgradeHeadlessAccount = (data) => {
22926
- return this.newInstance().postV3UsersMeHeadlessCodeVerify(data);
22926
+ return this.newInstance().postV3NsUsersMeHeadlessCodeVerify(data);
22927
22927
  };
22928
22928
  /**
22929
22929
  * Require valid user access token.
@@ -22943,14 +22943,14 @@ class UserApi {
22943
22943
  * action code : 10124
22944
22944
  */
22945
22945
  this.upgradeHeadlessAccountV4 = (data) => {
22946
- return this.newInstance4().postV4UsersMeHeadlessCodeVerify(data);
22946
+ return this.newInstance4().postV4NsUsersMeHeadlessCodeVerify(data);
22947
22947
  };
22948
22948
  /**
22949
22949
  * <p>This method retrieves platform accounts linked to user. Required valid user authorization.
22950
22950
  * <br>action code: 10128 </p>
22951
22951
  */
22952
22952
  this.getUserLinkedPlatform = (userId) => {
22953
- return this.newInstance().fetchV3UsersByUseridPlatforms(userId);
22953
+ return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
22954
22954
  };
22955
22955
  /**
22956
22956
  * Required valid user authorization.
@@ -22979,13 +22979,13 @@ class UserApi {
22979
22979
  * <br>action code : 10144
22980
22980
  */
22981
22981
  this.linkAccountToPlatform = ({ platformId, data }) => {
22982
- return this.newInstance().postV3UsersMePlatformsByPlatformid(platformId, data);
22982
+ return this.newInstance().postV3NsUsersMePlatformsByPlatformid(platformId, data);
22983
22983
  };
22984
22984
  /**
22985
22985
  * Get the linking status between a third-party platform to a user
22986
22986
  */
22987
22987
  this.getLinkRequestStatus = (requestId) => {
22988
- return this.newInstance().fetchV3RequestsByRequestidAsyncStatus(requestId);
22988
+ return this.newInstance().fetchV3NsRequestsByRequestidAsyncStatus(requestId);
22989
22989
  };
22990
22990
  /**
22991
22991
  * It is going to be <strong>DEPRECATED</strong>.
@@ -22995,7 +22995,7 @@ class UserApi {
22995
22995
  *
22996
22996
  */
22997
22997
  this.linkPlatformToUserAccount = ({ userId, data }) => {
22998
- return this.newInstance().postV3UsersByUseridPlatformsLink(userId, data);
22998
+ return this.newInstance().postV3NsUsersByUseridPlatformsLink(userId, data);
22999
22999
  };
23000
23000
  /**
23001
23001
  * Required valid user authorization.
@@ -23027,19 +23027,19 @@ class UserApi {
23027
23027
  * <br>action code : 10121 </p>
23028
23028
  */
23029
23029
  this.unLinkAccountFromPlatform = ({ platformId, data }) => {
23030
- return this.newInstance().deleteV3UsersMePlatformsByPlatformid(platformId, data);
23030
+ return this.newInstance().deleteV3NsUsersMePlatformsByPlatformid(platformId, data);
23031
23031
  };
23032
23032
  /**
23033
23033
  * This method is used to generate third party login page which will redirected to establish method.
23034
23034
  */
23035
23035
  this.getThirdPartyURL = ({ platformId, queryParams }) => {
23036
- return this.newInstance().fetchV3UsersMePlatformsByPlatformidWebLink(platformId, queryParams);
23036
+ return this.newInstance().fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams);
23037
23037
  };
23038
23038
  /**
23039
23039
  * Get age restriction by country code. It will always get by publisher namespace
23040
23040
  */
23041
23041
  this.getAgeRestrictionByCountry = (countryCode) => {
23042
- return this.newInstance().fetchV3AgerestrictionsCountriesByCountrycode(countryCode);
23042
+ return this.newInstance().fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode);
23043
23043
  };
23044
23044
  }
23045
23045
  /**
@@ -23068,7 +23068,7 @@ class UserApi {
23068
23068
  *
23069
23069
  */
23070
23070
  requestNewUserVerificationCode(data) {
23071
- return this.newInstance().postV3UsersCodeRequest(data);
23071
+ return this.newInstance().postV3NsUsersCodeRequest(data);
23072
23072
  }
23073
23073
  /**
23074
23074
  * Create a new user with unique email address and username.
@@ -23088,7 +23088,7 @@ class UserApi {
23088
23088
  *
23089
23089
  */
23090
23090
  createUser(data) {
23091
- return this.newInstance4().postV4Users(data);
23091
+ return this.newInstance4().postV4NsUsers(data);
23092
23092
  }
23093
23093
  /**
23094
23094
  * <p>This method retrieves platform accounts linked to user.
@@ -23096,14 +23096,14 @@ class UserApi {
23096
23096
  * <br>Required valid user authorization.</p>
23097
23097
  */
23098
23098
  getUserDistinctLinkedPlatform(userId) {
23099
- return this.newInstance().fetchV3UsersByUseridDistinctPlatforms(userId);
23099
+ return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
23100
23100
  }
23101
23101
  /**
23102
23102
  * Required valid user authorization.
23103
23103
  * <p>Unlink user's account from for all third platforms. </p>
23104
23104
  */
23105
23105
  unLinkAccountFromPlatformDistinct(platformId) {
23106
- return this.newInstance().deleteV3UsersMePlatformsByPlatformidAll(platformId);
23106
+ return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
23107
23107
  }
23108
23108
  /**
23109
23109
  * Required valid user authorization
@@ -23119,7 +23119,7 @@ class UserApi {
23119
23119
  * <br>action code: 10128 </p>
23120
23120
  */
23121
23121
  getLinkedAccount(userId) {
23122
- return this.newInstance().fetchV3UsersByUseridPlatforms(userId);
23122
+ return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
23123
23123
  }
23124
23124
  /**
23125
23125
  * Note:<br>
@@ -23699,7 +23699,7 @@ class Templates$ {
23699
23699
  this.namespace = namespace;
23700
23700
  this.cache = cache;
23701
23701
  }
23702
- fetchV1TemplatesByTemplateConfigs(template) {
23702
+ fetchV1NsTemplatesByTemplateConfigs(template) {
23703
23703
  const params = {};
23704
23704
  const url = '/odin-config/v1/public/namespaces/{namespace}/templates/{template}/configs'
23705
23705
  .replace('{namespace}', this.namespace)
@@ -23712,7 +23712,7 @@ class Templates$ {
23712
23712
  const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
23713
23713
  return SdkCache.withCache(cacheKey, res);
23714
23714
  }
23715
- fetchV1TemplatesByTemplateConfigsByConfig(template, config) {
23715
+ fetchV1NsTemplatesByTemplateConfigsByConfig(template, config) {
23716
23716
  const params = {};
23717
23717
  const url = '/odin-config/v1/public/namespaces/{namespace}/templates/{template}/configs/{config}'
23718
23718
  .replace('{namespace}', this.namespace)
@@ -23737,13 +23737,13 @@ class PublicTemplateApi {
23737
23737
  this.namespace = namespace;
23738
23738
  this.cache = cache;
23739
23739
  this.getTemplateConfigs = (template) => {
23740
- return this.newInstance().fetchV1TemplatesByTemplateConfigs(template);
23740
+ return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(template);
23741
23741
  };
23742
23742
  this.getTemplateConfig = (template, configId) => {
23743
- return this.newInstance().fetchV1TemplatesByTemplateConfigsByConfig(template, configId);
23743
+ return this.newInstance().fetchV1NsTemplatesByTemplateConfigsByConfig(template, configId);
23744
23744
  };
23745
23745
  this.getDiscoveryTemplateConfigs = () => {
23746
- return this.newInstance().fetchV1TemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
23746
+ return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
23747
23747
  };
23748
23748
  }
23749
23749
  newInstance() {
@@ -23789,7 +23789,7 @@ class Currency$ {
23789
23789
  /**
23790
23790
  * List currencies of a namespace.<br>Other detail info: <ul><li><i>Returns</i>: Currency List</li></ul>
23791
23791
  */
23792
- fetchCurrencies(queryParams) {
23792
+ fetchNsCurrencies(queryParams) {
23793
23793
  const params = { ...queryParams };
23794
23794
  const url = '/platform/public/namespaces/{namespace}/currencies'.replace('{namespace}', this.namespace);
23795
23795
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -23814,7 +23814,7 @@ class CurrencyApi {
23814
23814
  * List currencies of a namespace.<br>Other detail info: <ul><li><i>Returns</i>: Currency List</li></ul>
23815
23815
  */
23816
23816
  this.getCurrencies = () => {
23817
- return this.newInstance().fetchCurrencies();
23817
+ return this.newInstance().fetchNsCurrencies();
23818
23818
  };
23819
23819
  /**
23820
23820
  * Get the currencies list and convert into a map of currency code and the currency itself
@@ -24135,7 +24135,7 @@ class Entitlement$ {
24135
24135
  /**
24136
24136
  * Get my app entitlement ownership by appId.<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 app entitlement ownership</b></li></ul></li></ul>
24137
24137
  */
24138
- fetchUsersMeEntitlementsOwnershipByAppId(queryParams) {
24138
+ fetchNsUsersMeEntitlementsOwnershipByAppId(queryParams) {
24139
24139
  const params = { ...queryParams };
24140
24140
  const url = '/platform/public/namespaces/{namespace}/users/me/entitlements/ownership/byAppId'.replace('{namespace}', this.namespace);
24141
24141
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -24149,7 +24149,7 @@ class Entitlement$ {
24149
24149
  /**
24150
24150
  * 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>
24151
24151
  */
24152
- fetchUsersMeEntitlementsOwnershipAny(queryParams) {
24152
+ fetchNsUsersMeEntitlementsOwnershipAny(queryParams) {
24153
24153
  const params = { ...queryParams };
24154
24154
  const url = '/platform/public/namespaces/{namespace}/users/me/entitlements/ownership/any'.replace('{namespace}', this.namespace);
24155
24155
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -24163,7 +24163,7 @@ class Entitlement$ {
24163
24163
  /**
24164
24164
  * 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>
24165
24165
  */
24166
- fetchUsersMeEntitlementsOwnershipBySku(queryParams) {
24166
+ fetchNsUsersMeEntitlementsOwnershipBySku(queryParams) {
24167
24167
  const params = { ...queryParams };
24168
24168
  const url = '/platform/public/namespaces/{namespace}/users/me/entitlements/ownership/bySku'.replace('{namespace}', this.namespace);
24169
24169
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -24177,7 +24177,7 @@ class Entitlement$ {
24177
24177
  /**
24178
24178
  * 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>
24179
24179
  */
24180
- fetchUsersMeEntitlementsOwnershipByItemId(queryParams) {
24180
+ fetchNsUsersMeEntitlementsOwnershipByItemId(queryParams) {
24181
24181
  const params = { ...queryParams };
24182
24182
  const url = '/platform/public/namespaces/{namespace}/users/me/entitlements/ownership/byItemId'.replace('{namespace}', this.namespace);
24183
24183
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -24220,7 +24220,7 @@ class Entitlement$ {
24220
24220
  * }
24221
24221
  * </code></pre><b>if there's no active entitlement for the specific params, the entitlements section will be omitted</b>.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li></ul>
24222
24222
  */
24223
- fetchUsersMeEntitlementsOwnershipToken(queryParams) {
24223
+ fetchNsUsersMeEntitlementsOwnershipToken(queryParams) {
24224
24224
  const params = { ...queryParams };
24225
24225
  const url = '/platform/public/namespaces/{namespace}/users/me/entitlements/ownershipToken'.replace('{namespace}', this.namespace);
24226
24226
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -24234,7 +24234,7 @@ class Entitlement$ {
24234
24234
  /**
24235
24235
  * 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>
24236
24236
  */
24237
- fetchUsersByUseridEntitlementsOwnershipAny(userId, queryParams) {
24237
+ fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams) {
24238
24238
  const params = { ...queryParams };
24239
24239
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/ownership/any'
24240
24240
  .replace('{namespace}', this.namespace)
@@ -24250,7 +24250,7 @@ class Entitlement$ {
24250
24250
  /**
24251
24251
  * 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>
24252
24252
  */
24253
- fetchUsersByUseridEntitlementsOwnershipByItemId(userId, queryParams) {
24253
+ fetchNsUsersByUseridEntitlementsOwnershipByItemId(userId, queryParams) {
24254
24254
  const params = { ...queryParams };
24255
24255
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/ownership/byItemId'
24256
24256
  .replace('{namespace}', this.namespace)
@@ -24266,7 +24266,7 @@ class Entitlement$ {
24266
24266
  /**
24267
24267
  * 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>
24268
24268
  */
24269
- fetchUsersByUseridEntitlementsByAppId(userId, queryParams) {
24269
+ fetchNsUsersByUseridEntitlementsByAppId(userId, queryParams) {
24270
24270
  const params = { ...queryParams };
24271
24271
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppId'
24272
24272
  .replace('{namespace}', this.namespace)
@@ -24282,7 +24282,7 @@ class Entitlement$ {
24282
24282
  /**
24283
24283
  * 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>
24284
24284
  */
24285
- fetchUsersByUseridEntitlementsOwnershipBySku(userId, queryParams) {
24285
+ fetchNsUsersByUseridEntitlementsOwnershipBySku(userId, queryParams) {
24286
24286
  const params = { ...queryParams };
24287
24287
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/ownership/bySku'
24288
24288
  .replace('{namespace}', this.namespace)
@@ -24298,7 +24298,7 @@ class Entitlement$ {
24298
24298
  /**
24299
24299
  * 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>
24300
24300
  */
24301
- fetchUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams) {
24301
+ fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams) {
24302
24302
  const params = { ...queryParams };
24303
24303
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/ownership/byItemIds'
24304
24304
  .replace('{namespace}', this.namespace)
@@ -24314,7 +24314,7 @@ class Entitlement$ {
24314
24314
  /**
24315
24315
  * 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>
24316
24316
  */
24317
- fetchUsersByUseridEntitlements(userId, queryParams) {
24317
+ fetchNsUsersByUseridEntitlements(userId, queryParams) {
24318
24318
  const params = { limit: 20, ...queryParams };
24319
24319
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements'
24320
24320
  .replace('{namespace}', this.namespace)
@@ -24330,7 +24330,7 @@ class Entitlement$ {
24330
24330
  /**
24331
24331
  * 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>
24332
24332
  */
24333
- fetchUsersByUseridEntitlementsByItemId(userId, queryParams) {
24333
+ fetchNsUsersByUseridEntitlementsByItemId(userId, queryParams) {
24334
24334
  const params = { ...queryParams };
24335
24335
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byItemId'
24336
24336
  .replace('{namespace}', this.namespace)
@@ -24346,7 +24346,7 @@ class Entitlement$ {
24346
24346
  /**
24347
24347
  * 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>
24348
24348
  */
24349
- fetchUsersByUseridEntitlementsByEntitlementid(userId, entitlementId) {
24349
+ fetchNsUsersByUseridEntitlementsByEntitlementid(userId, entitlementId) {
24350
24350
  const params = {};
24351
24351
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/{entitlementId}'
24352
24352
  .replace('{namespace}', this.namespace)
@@ -24363,7 +24363,7 @@ class Entitlement$ {
24363
24363
  /**
24364
24364
  * 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>
24365
24365
  */
24366
- fetchUsersByUseridEntitlementsOwnershipByAppId(userId, queryParams) {
24366
+ fetchNsUsersByUseridEntitlementsOwnershipByAppId(userId, queryParams) {
24367
24367
  const params = { ...queryParams };
24368
24368
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/ownership/byAppId'
24369
24369
  .replace('{namespace}', this.namespace)
@@ -24379,7 +24379,7 @@ class Entitlement$ {
24379
24379
  /**
24380
24380
  * 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>
24381
24381
  */
24382
- fetchUsersByUseridEntitlementsBySku(userId, queryParams) {
24382
+ fetchNsUsersByUseridEntitlementsBySku(userId, queryParams) {
24383
24383
  const params = { ...queryParams };
24384
24384
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/bySku'
24385
24385
  .replace('{namespace}', this.namespace)
@@ -24395,7 +24395,7 @@ class Entitlement$ {
24395
24395
  /**
24396
24396
  * 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>
24397
24397
  */
24398
- fetchUsersByUseridEntitlementsByAppType(userId, queryParams) {
24398
+ fetchNsUsersByUseridEntitlementsByAppType(userId, queryParams) {
24399
24399
  const params = { limit: 20, ...queryParams };
24400
24400
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppType'
24401
24401
  .replace('{namespace}', this.namespace)
@@ -24411,7 +24411,7 @@ class Entitlement$ {
24411
24411
  /**
24412
24412
  * 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>
24413
24413
  */
24414
- putUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data) {
24414
+ putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data) {
24415
24415
  const params = {};
24416
24416
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/entitlements/{entitlementId}/decrement'
24417
24417
  .replace('{namespace}', this.namespace)
@@ -24435,7 +24435,7 @@ class EntitlementApi {
24435
24435
  * 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>
24436
24436
  */
24437
24437
  getEntitlementByAppId({ userId, appId }) {
24438
- return this.newInstance().fetchUsersByUseridEntitlementsByAppId(userId, {
24438
+ return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
24439
24439
  appId
24440
24440
  });
24441
24441
  }
@@ -24443,25 +24443,25 @@ class EntitlementApi {
24443
24443
  * 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>
24444
24444
  */
24445
24445
  getEntitlements({ userId, queryParams }) {
24446
- return this.newInstance().fetchUsersByUseridEntitlements(userId, queryParams);
24446
+ return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
24447
24447
  }
24448
24448
  /**
24449
24449
  * 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>
24450
24450
  */
24451
24451
  getEntitlementOwnerShip({ userId, queryParams }) {
24452
- return this.newInstance().fetchUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
24452
+ return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
24453
24453
  }
24454
24454
  /**
24455
24455
  * 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>
24456
24456
  */
24457
24457
  getEntitlementByItemIds({ userId, queryParams }) {
24458
- return this.newInstance().fetchUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
24458
+ return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
24459
24459
  }
24460
24460
  /**
24461
24461
  * 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>
24462
24462
  */
24463
24463
  claimEntitlement({ userId, entitlementId, data }) {
24464
- return this.newInstance().putUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
24464
+ return this.newInstance().putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
24465
24465
  }
24466
24466
  newInstance() {
24467
24467
  return new Entitlement$(Network.create(this.conf), this.namespace, this.cache);
@@ -24542,7 +24542,7 @@ class Fulfillment$ {
24542
24542
  /**
24543
24543
  * Redeem campaign code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:FULFILLMENT", action=1 (CREATED)</li><li><i>Returns</i>: fulfillment result</li></ul>
24544
24544
  */
24545
- postUsersByUseridFulfillmentCode(userId, data) {
24545
+ postNsUsersByUseridFulfillmentCode(userId, data) {
24546
24546
  const params = {};
24547
24547
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/fulfillment/code'
24548
24548
  .replace('{namespace}', this.namespace)
@@ -24564,7 +24564,7 @@ class FulfillmentApi {
24564
24564
  * Redeem campaign code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:FULFILLMENT", action=1 (CREATED)</li><li><i>Returns</i>: fulfillment result</li></ul>
24565
24565
  */
24566
24566
  this.redeemCode = ({ userId, data }) => {
24567
- return this.newInstance().postUsersByUseridFulfillmentCode(userId, data);
24567
+ return this.newInstance().postNsUsersByUseridFulfillmentCode(userId, data);
24568
24568
  };
24569
24569
  }
24570
24570
  newInstance() {
@@ -24688,7 +24688,7 @@ const Image = mod.object({
24688
24688
  * This is licensed software from AccelByte Inc, for limitations
24689
24689
  * and restrictions contact your company contract manager.
24690
24690
  */
24691
- const PredicateObject = mod.object({
24691
+ const Predicate = mod.object({
24692
24692
  name: mod.string().nullish(),
24693
24693
  predicateType: mod.enum(['EntitlementPredicate', 'SeasonPassPredicate', 'SeasonTierPredicate']).nullish(),
24694
24694
  comparison: mod
@@ -24704,7 +24704,7 @@ const PredicateObject = mod.object({
24704
24704
  * This is licensed software from AccelByte Inc, for limitations
24705
24705
  * and restrictions contact your company contract manager.
24706
24706
  */
24707
- const ConditionGroup = mod.object({ predicates: mod.array(PredicateObject).nullish(), operator: mod.enum(['and', 'or']).nullish() });
24707
+ const ConditionGroup = mod.object({ predicates: mod.array(Predicate).nullish(), operator: mod.enum(['and', 'or']).nullish() });
24708
24708
 
24709
24709
  /*
24710
24710
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
@@ -24980,7 +24980,7 @@ class Item$ {
24980
24980
  /**
24981
24981
  * This API is used to get an app in locale. If app not exist in specific region, default region app 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 app)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store app)</li><li><i>Returns</i>: app data</li></ul>
24982
24982
  */
24983
- fetchItemsByItemidAppLocale(itemId, queryParams) {
24983
+ fetchNsItemsByItemidAppLocale(itemId, queryParams) {
24984
24984
  const params = { ...queryParams };
24985
24985
  const url = '/platform/public/namespaces/{namespace}/items/{itemId}/app/locale'
24986
24986
  .replace('{namespace}', this.namespace)
@@ -24996,7 +24996,7 @@ class Item$ {
24996
24996
  /**
24997
24997
  * 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>
24998
24998
  */
24999
- fetchItemsBySku(queryParams) {
24999
+ fetchNsItemsBySku(queryParams) {
25000
25000
  const params = { ...queryParams };
25001
25001
  const url = '/platform/public/namespaces/{namespace}/items/bySku'.replace('{namespace}', this.namespace);
25002
25002
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25010,7 +25010,7 @@ class Item$ {
25010
25010
  /**
25011
25011
  * 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>
25012
25012
  */
25013
- fetchItemsSearch(queryParams) {
25013
+ fetchNsItemsSearch(queryParams) {
25014
25014
  const params = { limit: 20, ...queryParams };
25015
25015
  const url = '/platform/public/namespaces/{namespace}/items/search'.replace('{namespace}', this.namespace);
25016
25016
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25024,7 +25024,7 @@ class Item$ {
25024
25024
  /**
25025
25025
  * 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>
25026
25026
  */
25027
- fetchItemsByAppId(queryParams) {
25027
+ fetchNsItemsByAppId(queryParams) {
25028
25028
  const params = { ...queryParams };
25029
25029
  const url = '/platform/public/namespaces/{namespace}/items/byAppId'.replace('{namespace}', this.namespace);
25030
25030
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25038,7 +25038,7 @@ class Item$ {
25038
25038
  /**
25039
25039
  * 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>
25040
25040
  */
25041
- fetchItemsByItemidLocale(itemId, queryParams) {
25041
+ fetchNsItemsByItemidLocale(itemId, queryParams) {
25042
25042
  const params = { ...queryParams };
25043
25043
  const url = '/platform/public/namespaces/{namespace}/items/{itemId}/locale'
25044
25044
  .replace('{namespace}', this.namespace)
@@ -25054,7 +25054,7 @@ class Item$ {
25054
25054
  /**
25055
25055
  * 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>
25056
25056
  */
25057
- fetchItemsByCriteria(queryParams) {
25057
+ fetchNsItemsByCriteria(queryParams) {
25058
25058
  const params = { limit: 20, sortBy: 'name:asc,displayOrder:asc', ...queryParams };
25059
25059
  const url = '/platform/public/namespaces/{namespace}/items/byCriteria'.replace('{namespace}', this.namespace);
25060
25060
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25068,7 +25068,7 @@ class Item$ {
25068
25068
  /**
25069
25069
  * Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
25070
25070
  */
25071
- fetchItemsByItemidDynamic(itemId) {
25071
+ fetchNsItemsByItemidDynamic(itemId) {
25072
25072
  const params = {};
25073
25073
  const url = '/platform/public/namespaces/{namespace}/items/{itemId}/dynamic'
25074
25074
  .replace('{namespace}', this.namespace)
@@ -25084,7 +25084,7 @@ class Item$ {
25084
25084
  /**
25085
25085
  * This API is used to validate user item purchase condition
25086
25086
  */
25087
- postItemsPurchaseConditionsValidate(data) {
25087
+ postNsItemsPurchaseConditionsValidate(data) {
25088
25088
  const params = {};
25089
25089
  const url = '/platform/public/namespaces/{namespace}/items/purchase/conditions/validate'.replace('{namespace}', this.namespace);
25090
25090
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -25093,7 +25093,7 @@ class Item$ {
25093
25093
  /**
25094
25094
  * This API is used to bulk get locale items. 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 items)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store items)</li><li><i>Returns</i>: the list of items info</li></ul>
25095
25095
  */
25096
- fetchItemsLocaleByIds(queryParams) {
25096
+ fetchNsItemsLocaleByIds(queryParams) {
25097
25097
  const params = { ...queryParams };
25098
25098
  const url = '/platform/public/namespaces/{namespace}/items/locale/byIds'.replace('{namespace}', this.namespace);
25099
25099
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25119,22 +25119,22 @@ class ItemApi {
25119
25119
  * 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>
25120
25120
  */
25121
25121
  getItemByAppId({ ...queryParams }) {
25122
- return this.newInstance().fetchItemsByAppId(queryParams);
25122
+ return this.newInstance().fetchNsItemsByAppId(queryParams);
25123
25123
  }
25124
25124
  /**
25125
25125
  * Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
25126
25126
  */
25127
25127
  getItemByItemIdDynamic(itemId) {
25128
- return this.newInstance().fetchItemsByItemidDynamic(itemId);
25128
+ return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
25129
25129
  }
25130
25130
  fetchItemsByCriteria({ queryParams }) {
25131
- return this.newInstance().fetchItemsByCriteria(queryParams);
25131
+ return this.newInstance().fetchNsItemsByCriteria(queryParams);
25132
25132
  }
25133
25133
  /**
25134
25134
  * 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>
25135
25135
  */
25136
25136
  getItemsByItemIds({ queryParams }) {
25137
- return this.newInstance().fetchItemsLocaleByIds(queryParams);
25137
+ return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
25138
25138
  }
25139
25139
  /**
25140
25140
  * Fetch the items and convert it into a map of `itemId` and its item info
@@ -25159,19 +25159,19 @@ class ItemApi {
25159
25159
  * 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>
25160
25160
  */
25161
25161
  getItemsByItemIdLocale({ itemId, queryParams }) {
25162
- return this.newInstance().fetchItemsByItemidLocale(itemId, queryParams);
25162
+ return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
25163
25163
  }
25164
25164
  /**
25165
25165
  * This API is used to get an app in locale. If app not exist in specific region, default region app 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 app)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store app)</li><li><i>Returns</i>: app data</li></ul>
25166
25166
  */
25167
25167
  getAppInfoByItemId({ itemId, queryParams }) {
25168
- return this.newInstance().fetchItemsByItemidAppLocale(itemId, queryParams);
25168
+ return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
25169
25169
  }
25170
25170
  /**
25171
25171
  * This API is used to validate user item purchase condition
25172
25172
  */
25173
25173
  validatePurchaseCondition(data) {
25174
- return this.newInstance().postItemsPurchaseConditionsValidate(data);
25174
+ return this.newInstance().postNsItemsPurchaseConditionsValidate(data);
25175
25175
  }
25176
25176
  newInstance() {
25177
25177
  return new Item$(Network.create(this.conf), this.namespace, this.cache);
@@ -25214,13 +25214,6 @@ const OrderHistoryInfo = mod.object({
25214
25214
  */
25215
25215
  const OrderHistoryInfoArray = mod.array(OrderHistoryInfo);
25216
25216
 
25217
- /*
25218
- * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
25219
- * This is licensed software from AccelByte Inc, for limitations
25220
- * and restrictions contact your company contract manager.
25221
- */
25222
- const ADtoObjectForOrderCreationOptions = mod.object({ skipPriceValidation: mod.boolean().nullish() });
25223
-
25224
25217
  /*
25225
25218
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
25226
25219
  * This is licensed software from AccelByte Inc, for limitations
@@ -25234,6 +25227,13 @@ const CurrencySummary = mod.object({
25234
25227
  decimals: mod.number().int()
25235
25228
  });
25236
25229
 
25230
+ /*
25231
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
25232
+ * This is licensed software from AccelByte Inc, for limitations
25233
+ * and restrictions contact your company contract manager.
25234
+ */
25235
+ const OrderCreationOptions = mod.object({ skipPriceValidation: mod.boolean().nullish() });
25236
+
25237
25237
  /*
25238
25238
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
25239
25239
  * This is licensed software from AccelByte Inc, for limitations
@@ -25249,7 +25249,7 @@ const OrderInfo = mod.object({
25249
25249
  quantity: mod.number().int(),
25250
25250
  price: mod.number().int(),
25251
25251
  discountedPrice: mod.number().int(),
25252
- creationOptions: ADtoObjectForOrderCreationOptions.nullish(),
25252
+ creationOptions: OrderCreationOptions.nullish(),
25253
25253
  paymentProvider: mod.enum(['WALLET', 'XSOLLA', 'ADYEN', 'STRIPE', 'CHECKOUT', 'ALIPAY', 'WXPAY', 'PAYPAL']).nullish(),
25254
25254
  paymentMethod: mod.string().nullish(),
25255
25255
  tax: mod.number().int().nullish(),
@@ -25314,7 +25314,7 @@ class Order$ {
25314
25314
  /**
25315
25315
  * Query user orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
25316
25316
  */
25317
- fetchUsersByUseridOrders(userId, queryParams) {
25317
+ fetchNsUsersByUseridOrders(userId, queryParams) {
25318
25318
  const params = { limit: 20, ...queryParams };
25319
25319
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/orders'
25320
25320
  .replace('{namespace}', this.namespace)
@@ -25330,7 +25330,7 @@ class Order$ {
25330
25330
  /**
25331
25331
  * 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>
25332
25332
  */
25333
- postUsersByUseridOrders(userId, data) {
25333
+ postNsUsersByUseridOrders(userId, data) {
25334
25334
  const params = {};
25335
25335
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/orders'
25336
25336
  .replace('{namespace}', this.namespace)
@@ -25341,7 +25341,7 @@ class Order$ {
25341
25341
  /**
25342
25342
  * Get user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
25343
25343
  */
25344
- fetchUsersByUseridOrdersByOrderno(userId, orderNo) {
25344
+ fetchNsUsersByUseridOrdersByOrderno(userId, orderNo) {
25345
25345
  const params = {};
25346
25346
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}'
25347
25347
  .replace('{namespace}', this.namespace)
@@ -25358,7 +25358,7 @@ class Order$ {
25358
25358
  /**
25359
25359
  * 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>
25360
25360
  */
25361
- fetchUsersByUseridOrdersByOrdernoReceiptPdf(userId, orderNo) {
25361
+ fetchNsUsersByUseridOrdersByOrdernoReceiptPdf(userId, orderNo) {
25362
25362
  const params = {};
25363
25363
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/receipt.pdf'
25364
25364
  .replace('{namespace}', this.namespace)
@@ -25375,7 +25375,7 @@ class Order$ {
25375
25375
  /**
25376
25376
  * 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>
25377
25377
  */
25378
- putUsersByUseridOrdersByOrdernoCancel(userId, orderNo) {
25378
+ putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo) {
25379
25379
  const params = {};
25380
25380
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/cancel'
25381
25381
  .replace('{namespace}', this.namespace)
@@ -25387,7 +25387,7 @@ class Order$ {
25387
25387
  /**
25388
25388
  * Get user order histories.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order history</li></ul>
25389
25389
  */
25390
- fetchUsersByUseridOrdersByOrdernoHistory(userId, orderNo) {
25390
+ fetchNsUsersByUseridOrdersByOrdernoHistory(userId, orderNo) {
25391
25391
  const params = {};
25392
25392
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/history'
25393
25393
  .replace('{namespace}', this.namespace)
@@ -25415,25 +25415,25 @@ class OrderApi {
25415
25415
  * Query user orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
25416
25416
  */
25417
25417
  this.getOrderList = ({ userId, queryParams }) => {
25418
- return this.newInstance().fetchUsersByUseridOrders(userId, queryParams);
25418
+ return this.newInstance().fetchNsUsersByUseridOrders(userId, queryParams);
25419
25419
  };
25420
25420
  /**
25421
25421
  * Get user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
25422
25422
  */
25423
25423
  this.getOrderByOrderNo = ({ userId, orderNo }) => {
25424
- return this.newInstance().fetchUsersByUseridOrdersByOrderno(userId, orderNo);
25424
+ return this.newInstance().fetchNsUsersByUseridOrdersByOrderno(userId, orderNo);
25425
25425
  };
25426
25426
  /**
25427
25427
  * 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>
25428
25428
  */
25429
25429
  this.cancelOrder = ({ userId, orderNo }) => {
25430
- return this.newInstance().putUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
25430
+ return this.newInstance().putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
25431
25431
  };
25432
25432
  /**
25433
25433
  * 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>
25434
25434
  */
25435
25435
  this.createOrder = ({ userId, data }) => {
25436
- return this.newInstance().postUsersByUseridOrders(userId, data);
25436
+ return this.newInstance().postNsUsersByUseridOrders(userId, data);
25437
25437
  };
25438
25438
  /**
25439
25439
  * Fetch all information needed for a user to check the user's availability to purchase the item
@@ -25510,7 +25510,7 @@ class PaymentAccount$ {
25510
25510
  /**
25511
25511
  * Get payment accounts.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=2 (READ)</li><li><i>Returns</i>: Payment account list</li></ul>
25512
25512
  */
25513
- fetchUsersByUseridPaymentAccounts(userId) {
25513
+ fetchNsUsersByUseridPaymentAccounts(userId) {
25514
25514
  const params = {};
25515
25515
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts'
25516
25516
  .replace('{namespace}', this.namespace)
@@ -25526,7 +25526,7 @@ class PaymentAccount$ {
25526
25526
  /**
25527
25527
  * 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>
25528
25528
  */
25529
- deleteUsersByUseridPaymentAccountsByTypeById(userId, type, id) {
25529
+ deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id) {
25530
25530
  const params = {};
25531
25531
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts/{type}/{id}'
25532
25532
  .replace('{namespace}', this.namespace)
@@ -25633,7 +25633,7 @@ class PaymentStation$ {
25633
25633
  /**
25634
25634
  * Check payment order paid status.<br>Other detail info: <ul><li><i>Returns</i>: Payment order paid result</li></ul>
25635
25635
  */
25636
- fetchPaymentOrdersByPaymentordernoStatus(paymentOrderNo) {
25636
+ fetchNsPaymentOrdersByPaymentordernoStatus(paymentOrderNo) {
25637
25637
  const params = {};
25638
25638
  const url = '/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/status'
25639
25639
  .replace('{namespace}', this.namespace)
@@ -25649,7 +25649,7 @@ class PaymentStation$ {
25649
25649
  /**
25650
25650
  * Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
25651
25651
  */
25652
- fetchPaymentTax(queryParams) {
25652
+ fetchNsPaymentTax(queryParams) {
25653
25653
  const params = { ...queryParams };
25654
25654
  const url = '/platform/public/namespaces/{namespace}/payment/tax'.replace('{namespace}', this.namespace);
25655
25655
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25663,7 +25663,7 @@ class PaymentStation$ {
25663
25663
  /**
25664
25664
  * Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
25665
25665
  */
25666
- postPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams) {
25666
+ postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams) {
25667
25667
  const params = { paymentProvider: 'CHECKOUT', ...queryParams };
25668
25668
  const url = '/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/pay'
25669
25669
  .replace('{namespace}', this.namespace)
@@ -25674,7 +25674,7 @@ class PaymentStation$ {
25674
25674
  /**
25675
25675
  * Get payment provider public config, at current only Strip provide public config.<br>Other detail info: <ul><li><i>Returns</i>: Public config</li></ul>
25676
25676
  */
25677
- fetchPaymentPublicconfig(queryParams) {
25677
+ fetchNsPaymentPublicconfig(queryParams) {
25678
25678
  const params = { ...queryParams };
25679
25679
  const url = '/platform/public/namespaces/{namespace}/payment/publicconfig'.replace('{namespace}', this.namespace);
25680
25680
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25690,7 +25690,7 @@ class PaymentStation$ {
25690
25690
  *
25691
25691
  * When the shopper has completed the payment you will receive a successful AUTHORISATION.</li><li>RECEIVED: Inform the shopper that you've received their order, and are waiting for the payment to clear.</li><li>UNKNOWN: An error occurred during the payment processing.</li><li>FAILED: Shopper paid failed because of various reasons.</li></ul></td></tr><tr><td>reason</td><td>String</td><td>No</td><td>payment status reason</td></tr></table>Other detail info: <ul><li><i>xsolla</i>: parameters 'user_id', 'foreinginvoice', 'invoice_id' and 'status' will be automatically added to the link</li><li><i>adyen</i>: https://docs.adyen.com/developers/checkout/web-sdk</li></ul>
25692
25692
  */
25693
- fetchPaymentReturnurl(queryParams) {
25693
+ fetchNsPaymentReturnurl(queryParams) {
25694
25694
  const params = { ...queryParams };
25695
25695
  const url = '/platform/public/namespaces/{namespace}/payment/returnurl'.replace('{namespace}', this.namespace);
25696
25696
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25704,7 +25704,7 @@ class PaymentStation$ {
25704
25704
  /**
25705
25705
  * Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
25706
25706
  */
25707
- fetchPaymentMethods(queryParams) {
25707
+ fetchNsPaymentMethods(queryParams) {
25708
25708
  const params = { ...queryParams };
25709
25709
  const url = '/platform/public/namespaces/{namespace}/payment/methods'.replace('{namespace}', this.namespace);
25710
25710
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25718,7 +25718,7 @@ class PaymentStation$ {
25718
25718
  /**
25719
25719
  * Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
25720
25720
  */
25721
- fetchPaymentOrdersByPaymentordernoInfo(paymentOrderNo) {
25721
+ fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo) {
25722
25722
  const params = {};
25723
25723
  const url = '/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/info'
25724
25724
  .replace('{namespace}', this.namespace)
@@ -25734,7 +25734,7 @@ class PaymentStation$ {
25734
25734
  /**
25735
25735
  * Get qrcode.<br>Other detail info: <ul><li><i>Returns</i>: QRCode image stream</li></ul>
25736
25736
  */
25737
- fetchPaymentQrcode(queryParams) {
25737
+ fetchNsPaymentQrcode(queryParams) {
25738
25738
  const params = { ...queryParams };
25739
25739
  const url = '/platform/public/namespaces/{namespace}/payment/qrcode'.replace('{namespace}', this.namespace);
25740
25740
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -25748,7 +25748,7 @@ class PaymentStation$ {
25748
25748
  /**
25749
25749
  * Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
25750
25750
  */
25751
- postPaymentLink(data) {
25751
+ postNsPaymentLink(data) {
25752
25752
  const params = {};
25753
25753
  const url = '/platform/public/namespaces/{namespace}/payment/link'.replace('{namespace}', this.namespace);
25754
25754
  const resultPromise = this.axiosInstance.post(url, data, { params });
@@ -25768,31 +25768,31 @@ class PaymentApi {
25768
25768
  * Get payment accounts.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=2 (READ)</li><li><i>Returns</i>: Payment account list</li></ul>
25769
25769
  */
25770
25770
  this.getPaymentAccounts = (userId) => {
25771
- return this.newInstance().fetchUsersByUseridPaymentAccounts(userId);
25771
+ return this.newInstance().fetchNsUsersByUseridPaymentAccounts(userId);
25772
25772
  };
25773
25773
  /**
25774
25774
  * 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>
25775
25775
  */
25776
25776
  this.deletePaymentAccount = ({ userId, type, id }) => {
25777
- return this.newInstance().deleteUsersByUseridPaymentAccountsByTypeById(userId, type, id);
25777
+ return this.newInstance().deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id);
25778
25778
  };
25779
25779
  /**
25780
25780
  * Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
25781
25781
  */
25782
25782
  this.getPaymentInfo = (paymentOrderNo) => {
25783
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
25783
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
25784
25784
  };
25785
25785
  /**
25786
25786
  * Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
25787
25787
  */
25788
25788
  this.processPaymentOrder = (paymentOrderNo, data, queryParams) => {
25789
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
25789
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
25790
25790
  };
25791
25791
  /**
25792
25792
  * Get payment provider public config, at current only Strip provide public config.<br>Other detail info: <ul><li><i>Returns</i>: Public config</li></ul>
25793
25793
  */
25794
25794
  this.getPaymentProviderPublicConfig = (paymentProvider, region, sandbox) => {
25795
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchPaymentPublicconfig({
25795
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentPublicconfig({
25796
25796
  paymentProvider,
25797
25797
  region,
25798
25798
  sandbox
@@ -25802,19 +25802,19 @@ class PaymentApi {
25802
25802
  * Check payment order paid status.<br>Other detail info: <ul><li><i>Returns</i>: Payment order paid result</li></ul>
25803
25803
  */
25804
25804
  this.getPaymentOrderStatus = (paymentOrderNo) => {
25805
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchPaymentOrdersByPaymentordernoStatus(paymentOrderNo);
25805
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoStatus(paymentOrderNo);
25806
25806
  };
25807
25807
  /**
25808
25808
  * Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
25809
25809
  */
25810
25810
  this.getPaymentMethods = (paymentOrderNo) => {
25811
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchPaymentMethods({ paymentOrderNo });
25811
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentMethods({ paymentOrderNo });
25812
25812
  };
25813
25813
  /**
25814
25814
  * Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
25815
25815
  */
25816
25816
  this.getPaymentTax = (paymentProvider, paymentOrderNo, zipCode) => {
25817
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchPaymentTax({
25817
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentTax({
25818
25818
  paymentProvider,
25819
25819
  paymentOrderNo,
25820
25820
  zipCode
@@ -25824,7 +25824,7 @@ class PaymentApi {
25824
25824
  * Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
25825
25825
  */
25826
25826
  this.createPaymentUrl = (data) => {
25827
- return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postPaymentLink(data);
25827
+ return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentLink(data);
25828
25828
  };
25829
25829
  }
25830
25830
  newInstance() {
@@ -25969,7 +25969,7 @@ class Subscription$ {
25969
25969
  /**
25970
25970
  * Get user subscription.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: subscription</li></ul>
25971
25971
  */
25972
- fetchUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId) {
25972
+ fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId) {
25973
25973
  const params = {};
25974
25974
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}'
25975
25975
  .replace('{namespace}', this.namespace)
@@ -25986,7 +25986,7 @@ class Subscription$ {
25986
25986
  /**
25987
25987
  * 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>
25988
25988
  */
25989
- fetchUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams) {
25989
+ fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams) {
25990
25990
  const params = { limit: 20, ...queryParams };
25991
25991
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/history'
25992
25992
  .replace('{namespace}', this.namespace)
@@ -26003,7 +26003,7 @@ class Subscription$ {
26003
26003
  /**
26004
26004
  * 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>
26005
26005
  */
26006
- fetchUsersByUseridSubscriptionsSubscribableByItemId(userId, queryParams) {
26006
+ fetchNsUsersByUseridSubscriptionsSubscribableByItemId(userId, queryParams) {
26007
26007
  const params = { ...queryParams };
26008
26008
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/subscribable/byItemId'
26009
26009
  .replace('{namespace}', this.namespace)
@@ -26019,7 +26019,7 @@ class Subscription$ {
26019
26019
  /**
26020
26020
  * 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>
26021
26021
  */
26022
- fetchUsersByUseridSubscriptions(userId, queryParams) {
26022
+ fetchNsUsersByUseridSubscriptions(userId, queryParams) {
26023
26023
  const params = { limit: 20, ...queryParams };
26024
26024
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions'
26025
26025
  .replace('{namespace}', this.namespace)
@@ -26035,7 +26035,7 @@ class Subscription$ {
26035
26035
  /**
26036
26036
  * 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>
26037
26037
  */
26038
- postUsersByUseridSubscriptions(userId, data) {
26038
+ postNsUsersByUseridSubscriptions(userId, data) {
26039
26039
  const params = {};
26040
26040
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions'
26041
26041
  .replace('{namespace}', this.namespace)
@@ -26046,7 +26046,7 @@ class Subscription$ {
26046
26046
  /**
26047
26047
  * Cancel a subscription, only ACTIVE subscription can be cancelled. <b>Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.</b><br>Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled subscription</li></ul>
26048
26048
  */
26049
- putUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data) {
26049
+ putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data) {
26050
26050
  const params = {};
26051
26051
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/cancel'
26052
26052
  .replace('{namespace}', this.namespace)
@@ -26058,7 +26058,7 @@ class Subscription$ {
26058
26058
  /**
26059
26059
  * Request to change a subscription billing account, this will guide user to payment station. The actual change will happen at the 0 payment notification successfully handled.<br>Only ACTIVE USER subscription with real currency billing account can be changed.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: updated subscription</li></ul>
26060
26060
  */
26061
- putUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId) {
26061
+ putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId) {
26062
26062
  const params = {};
26063
26063
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/billingAccount'
26064
26064
  .replace('{namespace}', this.namespace)
@@ -26082,37 +26082,37 @@ class SubscriptionApi {
26082
26082
  * 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>
26083
26083
  */
26084
26084
  getUserSubscriptions({ userId, queryParams }) {
26085
- return this.newInstance().fetchUsersByUseridSubscriptions(userId, queryParams);
26085
+ return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
26086
26086
  }
26087
26087
  /**
26088
26088
  * Get user subscription.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: subscription</li></ul>
26089
26089
  */
26090
26090
  getUserSubscriptionBySubscriptionId({ userId, subscriptionId }) {
26091
- return this.newInstance().fetchUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
26091
+ return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
26092
26092
  }
26093
26093
  /**
26094
26094
  * 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>
26095
26095
  */
26096
26096
  createSubscription({ userId, data }) {
26097
- return this.newInstance().postUsersByUseridSubscriptions(userId, data);
26097
+ return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
26098
26098
  }
26099
26099
  /**
26100
26100
  * 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>
26101
26101
  */
26102
26102
  getUserSubscriptionBillingHistory({ userId, subscriptionId, queryParams }) {
26103
- return this.newInstance().fetchUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
26103
+ return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
26104
26104
  }
26105
26105
  /**
26106
26106
  * Request to change a subscription billing account, this will guide user to payment station. The actual change will happen at the 0 payment notification successfully handled.<br>Only ACTIVE USER subscription with real currency billing account can be changed.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: updated subscription</li></ul>
26107
26107
  */
26108
26108
  updateUserSubscriptionPaymentMethod({ userId, subscriptionId }) {
26109
- return this.newInstance().putUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
26109
+ return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
26110
26110
  }
26111
26111
  /**
26112
26112
  * Cancel a subscription, only ACTIVE subscription can be cancelled. <b>Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.</b><br>Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled subscription</li></ul>
26113
26113
  */
26114
26114
  cancelUserSubscription({ userId, subscriptionId, data }) {
26115
- return this.newInstance().putUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
26115
+ return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
26116
26116
  }
26117
26117
  newInstance() {
26118
26118
  return new Subscription$(Network.create(this.conf), this.namespace, this.cache);
@@ -26221,7 +26221,7 @@ class Wallet$ {
26221
26221
  /**
26222
26222
  * get my wallet by currency code and namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li><li><i>Path's namespace</i> : <ul> <li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user wallet</b></li> <li>can be filled with <b>game namespace</b> in order to get <b>game user wallet</b></li> </ul></li></ul>
26223
26223
  */
26224
- fetchUsersMeWalletsByCurrencycode(currencyCode) {
26224
+ fetchNsUsersMeWalletsByCurrencycode(currencyCode) {
26225
26225
  const params = {};
26226
26226
  const url = '/platform/public/namespaces/{namespace}/users/me/wallets/{currencyCode}'
26227
26227
  .replace('{namespace}', this.namespace)
@@ -26237,7 +26237,7 @@ class Wallet$ {
26237
26237
  /**
26238
26238
  * 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>
26239
26239
  */
26240
- fetchUsersByUseridWalletsByCurrencycodeTransactions(userId, currencyCode, queryParams) {
26240
+ fetchNsUsersByUseridWalletsByCurrencycodeTransactions(userId, currencyCode, queryParams) {
26241
26241
  const params = { limit: 20, ...queryParams };
26242
26242
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}/transactions'
26243
26243
  .replace('{namespace}', this.namespace)
@@ -26254,7 +26254,7 @@ class Wallet$ {
26254
26254
  /**
26255
26255
  * 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>
26256
26256
  */
26257
- fetchUsersByUseridWalletsByCurrencycode(userId, currencyCode) {
26257
+ fetchNsUsersByUseridWalletsByCurrencycode(userId, currencyCode) {
26258
26258
  const params = {};
26259
26259
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}'
26260
26260
  .replace('{namespace}', this.namespace)
@@ -26282,13 +26282,13 @@ class WalletApi {
26282
26282
  * get my wallet by currency code and namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li><li><i>Path's namespace</i> : <ul> <li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user wallet</b></li> <li>can be filled with <b>game namespace</b> in order to get <b>game user wallet</b></li> </ul></li></ul>
26283
26283
  */
26284
26284
  this.getUserMeWallet = (currencyCode) => {
26285
- return this.newInstance().fetchUsersMeWalletsByCurrencycode(currencyCode);
26285
+ return this.newInstance().fetchNsUsersMeWalletsByCurrencycode(currencyCode);
26286
26286
  };
26287
26287
  /**
26288
26288
  * 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>
26289
26289
  */
26290
26290
  this.getWalletByUserId = (userId, currencyCode) => {
26291
- return this.newInstance().fetchUsersByUseridWalletsByCurrencycode(userId, currencyCode);
26291
+ return this.newInstance().fetchNsUsersByUseridWalletsByCurrencycode(userId, currencyCode);
26292
26292
  };
26293
26293
  /**
26294
26294
  * get a map of wallet represented by its currency code
@@ -28296,6 +28296,8 @@ const ThirdPartyLoginPlatformCredentialRequest = mod.object({
28296
28296
  TokenAuthenticationType: mod.string(),
28297
28297
  TokenClaimsMapping: mod.record(mod.string()),
28298
28298
  TokenEndpoint: mod.string(),
28299
+ UserInfoEndpoint: mod.string(),
28300
+ UserInfoHTTPMethod: mod.string(),
28299
28301
  scopes: mod.array(mod.string())
28300
28302
  });
28301
28303
 
@@ -28330,6 +28332,8 @@ const ThirdPartyLoginPlatformCredentialResponse = mod.object({
28330
28332
  TokenAuthenticationType: mod.string(),
28331
28333
  TokenClaimsMapping: mod.record(mod.string()).nullish(),
28332
28334
  TokenEndpoint: mod.string().nullish(),
28335
+ UserInfoEndpoint: mod.string().nullish(),
28336
+ UserInfoHTTPMethod: mod.string().nullish(),
28333
28337
  registeredDomains: mod.array(RegisteredDomain),
28334
28338
  scopes: mod.array(mod.string()).nullish()
28335
28339
  });
@@ -28740,7 +28744,7 @@ class Category$ {
28740
28744
  /**
28741
28745
  * This API is used to get child 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 child categories data</li></ul>
28742
28746
  */
28743
- fetchCategoriesByCategorypathChildren(categoryPath, queryParams) {
28747
+ fetchNsCategoriesByCategorypathChildren(categoryPath, queryParams) {
28744
28748
  const params = { ...queryParams };
28745
28749
  const url = '/platform/public/namespaces/{namespace}/categories/{categoryPath}/children'
28746
28750
  .replace('{namespace}', this.namespace)
@@ -28756,7 +28760,7 @@ class Category$ {
28756
28760
  /**
28757
28761
  * 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>
28758
28762
  */
28759
- fetchCategoriesByCategorypath(categoryPath, queryParams) {
28763
+ fetchNsCategoriesByCategorypath(categoryPath, queryParams) {
28760
28764
  const params = { ...queryParams };
28761
28765
  const url = '/platform/public/namespaces/{namespace}/categories/{categoryPath}'
28762
28766
  .replace('{namespace}', this.namespace)
@@ -28772,7 +28776,7 @@ class Category$ {
28772
28776
  /**
28773
28777
  * 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>
28774
28778
  */
28775
- fetchCategories(queryParams) {
28779
+ fetchNsCategories(queryParams) {
28776
28780
  const params = { ...queryParams };
28777
28781
  const url = '/platform/public/namespaces/{namespace}/categories'.replace('{namespace}', this.namespace);
28778
28782
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -28786,7 +28790,7 @@ class Category$ {
28786
28790
  /**
28787
28791
  * 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>
28788
28792
  */
28789
- fetchCategoriesByCategorypathDescendants(categoryPath, queryParams) {
28793
+ fetchNsCategoriesByCategorypathDescendants(categoryPath, queryParams) {
28790
28794
  const params = { ...queryParams };
28791
28795
  const url = '/platform/public/namespaces/{namespace}/categories/{categoryPath}/descendants'
28792
28796
  .replace('{namespace}', this.namespace)
@@ -28802,7 +28806,7 @@ class Category$ {
28802
28806
  /**
28803
28807
  * 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>
28804
28808
  */
28805
- fetchCategoriesDownload(queryParams) {
28809
+ fetchNsCategoriesDownload(queryParams) {
28806
28810
  const params = { ...queryParams };
28807
28811
  const url = '/platform/public/namespaces/{namespace}/categories/download'.replace('{namespace}', this.namespace);
28808
28812
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -28857,7 +28861,7 @@ class Store$ {
28857
28861
  /**
28858
28862
  * This API is used to list all stores in a namespace.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Returns</i>: the list of stores</li></ul>
28859
28863
  */
28860
- fetchStores() {
28864
+ fetchNsStores() {
28861
28865
  const params = {};
28862
28866
  const url = '/platform/public/namespaces/{namespace}/stores'.replace('{namespace}', this.namespace);
28863
28867
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -28917,7 +28921,7 @@ class Section$ {
28917
28921
  /**
28918
28922
  * This API is used to list active section contents.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:STORE, action=2 (READ)</li><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store sections)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store sections)</li><li><i>Returns</i>: active section contents</li></ul>
28919
28923
  */
28920
- fetchUsersByUseridSections(userId, queryParams) {
28924
+ fetchNsUsersByUseridSections(userId, queryParams) {
28921
28925
  const params = { ...queryParams };
28922
28926
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/sections'
28923
28927
  .replace('{namespace}', this.namespace)
@@ -28972,7 +28976,7 @@ class View$ {
28972
28976
  /**
28973
28977
  * This API is used to get all views.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:STORE, action=2 (READ)</li><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store views)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store views)</li><li><i>Returns</i>: all views</li></ul>
28974
28978
  */
28975
- fetchUsersByUseridViews(userId, queryParams) {
28979
+ fetchNsUsersByUseridViews(userId, queryParams) {
28976
28980
  const params = { ...queryParams };
28977
28981
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/views'
28978
28982
  .replace('{namespace}', this.namespace)
@@ -29002,7 +29006,7 @@ class Dlc$ {
29002
29006
  /**
29003
29007
  * Sync steam dlc.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29004
29008
  */
29005
- putUsersByUseridDlcSteamSync(userId, data) {
29009
+ putNsUsersByUseridDlcSteamSync(userId, data) {
29006
29010
  const params = {};
29007
29011
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/dlc/steam/sync'
29008
29012
  .replace('{namespace}', this.namespace)
@@ -29013,7 +29017,7 @@ class Dlc$ {
29013
29017
  /**
29014
29018
  * Sync Xbox inventory's dlc items.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29015
29019
  */
29016
- putUsersByUseridDlcXblSync(userId, data) {
29020
+ putNsUsersByUseridDlcXblSync(userId, data) {
29017
29021
  const params = {};
29018
29022
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/dlc/xbl/sync'
29019
29023
  .replace('{namespace}', this.namespace)
@@ -29024,7 +29028,7 @@ class Dlc$ {
29024
29028
  /**
29025
29029
  * Synchronize with dlc entitlements in PSN Store.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
29026
29030
  */
29027
- putUsersByUseridDlcPsnSync(userId, data) {
29031
+ putNsUsersByUseridDlcPsnSync(userId, data) {
29028
29032
  const params = {};
29029
29033
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/dlc/psn/sync'
29030
29034
  .replace('{namespace}', this.namespace)
@@ -29035,7 +29039,7 @@ class Dlc$ {
29035
29039
  /**
29036
29040
  * Sync epic games dlc items.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29037
29041
  */
29038
- putUsersByUseridDlcEpicgamesSync(userId, data) {
29042
+ putNsUsersByUseridDlcEpicgamesSync(userId, data) {
29039
29043
  const params = {};
29040
29044
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/dlc/epicgames/sync'
29041
29045
  .replace('{namespace}', this.namespace)
@@ -29046,7 +29050,7 @@ class Dlc$ {
29046
29050
  /**
29047
29051
  * Synchronize with dlc entitlements in PSN Store with multiple service labels.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
29048
29052
  */
29049
- putUsersByUseridDlcPsnSyncMultiServiceLabels(userId, data) {
29053
+ putNsUsersByUseridDlcPsnSyncMultiServiceLabels(userId, data) {
29050
29054
  const params = {};
29051
29055
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/dlc/psn/sync/multiServiceLabels'
29052
29056
  .replace('{namespace}', this.namespace)
@@ -29138,7 +29142,7 @@ class Iap$ {
29138
29142
  /**
29139
29143
  * Sync steam inventory's items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29140
29144
  */
29141
- putUsersByUseridIapSteamSync(userId, data) {
29145
+ putNsUsersByUseridIapSteamSync(userId, data) {
29142
29146
  const params = {};
29143
29147
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/steam/sync'
29144
29148
  .replace('{namespace}', this.namespace)
@@ -29149,7 +29153,7 @@ class Iap$ {
29149
29153
  /**
29150
29154
  * Verify apple iap receipt and fulfill item.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29151
29155
  */
29152
- putUsersByUseridIapAppleReceipt(userId, data) {
29156
+ putNsUsersByUseridIapAppleReceipt(userId, data) {
29153
29157
  const params = {};
29154
29158
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/apple/receipt'
29155
29159
  .replace('{namespace}', this.namespace)
@@ -29160,7 +29164,7 @@ class Iap$ {
29160
29164
  /**
29161
29165
  * Synchronize with entitlements in PSN Store with multiple service labels.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
29162
29166
  */
29163
- putUsersByUseridIapPsnSyncMultiServiceLabels(userId, data) {
29167
+ putNsUsersByUseridIapPsnSyncMultiServiceLabels(userId, data) {
29164
29168
  const params = {};
29165
29169
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/psn/sync/multiServiceLabels'
29166
29170
  .replace('{namespace}', this.namespace)
@@ -29171,7 +29175,7 @@ class Iap$ {
29171
29175
  /**
29172
29176
  * Synchronize with entitlements in PSN Store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
29173
29177
  */
29174
- putUsersByUseridIapPsnSync(userId, data) {
29178
+ putNsUsersByUseridIapPsnSync(userId, data) {
29175
29179
  const params = {};
29176
29180
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/psn/sync'
29177
29181
  .replace('{namespace}', this.namespace)
@@ -29182,7 +29186,7 @@ class Iap$ {
29182
29186
  /**
29183
29187
  * Sync twitch drops entitlements.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29184
29188
  */
29185
- putUsersByUseridIapTwitchSync(userId, data) {
29189
+ putNsUsersByUseridIapTwitchSync(userId, data) {
29186
29190
  const params = {};
29187
29191
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/twitch/sync'
29188
29192
  .replace('{namespace}', this.namespace)
@@ -29193,7 +29197,7 @@ class Iap$ {
29193
29197
  /**
29194
29198
  * Verify google iap receipt and fulfill item.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29195
29199
  */
29196
- putUsersByUseridIapGoogleReceipt(userId, data) {
29200
+ putNsUsersByUseridIapGoogleReceipt(userId, data) {
29197
29201
  const params = {};
29198
29202
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/google/receipt'
29199
29203
  .replace('{namespace}', this.namespace)
@@ -29204,7 +29208,7 @@ class Iap$ {
29204
29208
  /**
29205
29209
  * Sync Xbox inventory's items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29206
29210
  */
29207
- putUsersByUseridIapXblSync(userId, data) {
29211
+ putNsUsersByUseridIapXblSync(userId, data) {
29208
29212
  const params = {};
29209
29213
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/xbl/sync'
29210
29214
  .replace('{namespace}', this.namespace)
@@ -29215,7 +29219,7 @@ class Iap$ {
29215
29219
  /**
29216
29220
  * Sync epic games inventory's items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
29217
29221
  */
29218
- putUsersByUseridIapEpicgamesSync(userId, data) {
29222
+ putNsUsersByUseridIapEpicgamesSync(userId, data) {
29219
29223
  const params = {};
29220
29224
  const url = '/platform/public/namespaces/{namespace}/users/{userId}/iap/epicgames/sync'
29221
29225
  .replace('{namespace}', this.namespace)
@@ -29290,7 +29294,7 @@ class Reward$ {
29290
29294
  /**
29291
29295
  * This API is used to get reward by reward code.<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>
29292
29296
  */
29293
- fetchRewardsByCode(queryParams) {
29297
+ fetchNsRewardsByCode(queryParams) {
29294
29298
  const params = { ...queryParams };
29295
29299
  const url = '/platform/public/namespaces/{namespace}/rewards/byCode'.replace('{namespace}', this.namespace);
29296
29300
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -29304,7 +29308,7 @@ class Reward$ {
29304
29308
  /**
29305
29309
  * 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>
29306
29310
  */
29307
- fetchRewardsByRewardid(rewardId) {
29311
+ fetchNsRewardsByRewardid(rewardId) {
29308
29312
  const params = {};
29309
29313
  const url = '/platform/public/namespaces/{namespace}/rewards/{rewardId}'
29310
29314
  .replace('{namespace}', this.namespace)
@@ -29320,7 +29324,7 @@ class Reward$ {
29320
29324
  /**
29321
29325
  * 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>
29322
29326
  */
29323
- fetchRewardsByCriteria(queryParams) {
29327
+ fetchNsRewardsByCriteria(queryParams) {
29324
29328
  const params = { limit: 20, sortBy: 'namespace:asc,rewardCode:asc', ...queryParams };
29325
29329
  const url = '/platform/public/namespaces/{namespace}/rewards/byCriteria'.replace('{namespace}', this.namespace);
29326
29330
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -30117,7 +30121,7 @@ const ItemCreate = mod.object({
30117
30121
  * This is licensed software from AccelByte Inc, for limitations
30118
30122
  * and restrictions contact your company contract manager.
30119
30123
  */
30120
- const AvailableComparisonObject = mod.object({
30124
+ const AvailableComparison = mod.object({
30121
30125
  comparison: mod
30122
30126
  .enum(['is', 'isNot', 'isGreaterThan', 'isGreaterThanOrEqual', 'isLessThan', 'isLessThanOrEqual', 'includes', 'excludes'])
30123
30127
  .nullish(),
@@ -30129,9 +30133,9 @@ const AvailableComparisonObject = mod.object({
30129
30133
  * This is licensed software from AccelByte Inc, for limitations
30130
30134
  * and restrictions contact your company contract manager.
30131
30135
  */
30132
- const AvailablePredicateObject = mod.object({
30136
+ const AvailablePredicate = mod.object({
30133
30137
  predicateType: mod.enum(['EntitlementPredicate', 'SeasonPassPredicate', 'SeasonTierPredicate']).nullish(),
30134
- availableComparisons: mod.array(AvailableComparisonObject).nullish(),
30138
+ availableComparisons: mod.array(AvailableComparison).nullish(),
30135
30139
  valueType: mod.enum(['List', 'Number', 'String']).nullish(),
30136
30140
  showAnyOf: mod.boolean().nullish()
30137
30141
  });
@@ -30869,22 +30873,22 @@ const AchievementInfo = mod.object({
30869
30873
  * This is licensed software from AccelByte Inc, for limitations
30870
30874
  * and restrictions contact your company contract manager.
30871
30875
  */
30872
- const ADtoObjectForQueryingXboxUserAchievements = mod.object({ achievements: mod.array(AchievementInfo).nullish() });
30876
+ const XblUserAchievements = mod.object({ achievements: mod.array(AchievementInfo).nullish() });
30873
30877
 
30874
30878
  /*
30875
30879
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
30876
30880
  * This is licensed software from AccelByte Inc, for limitations
30877
30881
  * and restrictions contact your company contract manager.
30878
30882
  */
30879
- const XboxAchievementRequest = mod.object({ id: mod.string().nullish(), percentComplete: mod.number().int().nullish() });
30883
+ const Achievement = mod.object({ id: mod.string().nullish(), value: mod.number().int().nullish() });
30880
30884
 
30881
30885
  /*
30882
30886
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
30883
30887
  * This is licensed software from AccelByte Inc, for limitations
30884
30888
  * and restrictions contact your company contract manager.
30885
30889
  */
30886
- const ADtoObjectForUpdateXboxAchievementCompletePercentageApi = mod.object({
30887
- achievements: mod.array(XboxAchievementRequest).nullish(),
30890
+ const XblAchievementUpdateRequest = mod.object({
30891
+ achievements: mod.array(Achievement).nullish(),
30888
30892
  serviceConfigId: mod.string().nullish(),
30889
30893
  titleId: mod.string().nullish(),
30890
30894
  xboxUserId: mod.string().nullish()
@@ -30895,17 +30899,7 @@ const ADtoObjectForUpdateXboxAchievementCompletePercentageApi = mod.object({
30895
30899
  * This is licensed software from AccelByte Inc, for limitations
30896
30900
  * and restrictions contact your company contract manager.
30897
30901
  */
30898
- const SteamAchievementRequest = mod.object({ id: mod.string().nullish(), value: mod.number().int().nullish() });
30899
-
30900
- /*
30901
- * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
30902
- * This is licensed software from AccelByte Inc, for limitations
30903
- * and restrictions contact your company contract manager.
30904
- */
30905
- const ADtoObjectForUnlockSteamAchievementApi = mod.object({
30906
- steamUserId: mod.string().nullish(),
30907
- achievements: mod.array(SteamAchievementRequest).nullish()
30908
- });
30902
+ const SteamAchievementUpdateRequest = mod.object({ steamUserId: mod.string().nullish(), achievements: mod.array(Achievement).nullish() });
30909
30903
 
30910
30904
  /*
30911
30905
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
@@ -31169,6 +31163,70 @@ const IapConsumeHistoryInfo = mod.object({
31169
31163
  */
31170
31164
  const IapConsumeHistoryPagingSlicedResult = mod.object({ data: mod.array(IapConsumeHistoryInfo), paging: Paging$1.nullish() });
31171
31165
 
31166
+ /*
31167
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
31168
+ * This is licensed software from AccelByte Inc, for limitations
31169
+ * and restrictions contact your company contract manager.
31170
+ */
31171
+ const CreditRevocation = mod.object({
31172
+ walletId: mod.string().nullish(),
31173
+ currencyCode: mod.string().nullish(),
31174
+ balanceOrigin: mod.string().nullish(),
31175
+ amount: mod.number().int().nullish(),
31176
+ status: mod.enum(['SUCCESS', 'FAIL']).nullish(),
31177
+ revocationStrategy: mod.string().nullish(),
31178
+ skipped: mod.boolean().nullish(),
31179
+ reason: mod.string().nullish()
31180
+ });
31181
+
31182
+ /*
31183
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
31184
+ * This is licensed software from AccelByte Inc, for limitations
31185
+ * and restrictions contact your company contract manager.
31186
+ */
31187
+ const EntitlementRevocation = mod.object({
31188
+ entitlementId: mod.string().nullish(),
31189
+ status: mod.enum(['SUCCESS', 'FAIL']).nullish(),
31190
+ quantity: mod.number().int().nullish(),
31191
+ itemId: mod.string().nullish(),
31192
+ itemSku: mod.string().nullish(),
31193
+ revocationStrategy: mod.string().nullish(),
31194
+ skipped: mod.boolean().nullish(),
31195
+ reason: mod.string().nullish()
31196
+ });
31197
+
31198
+ /*
31199
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
31200
+ * This is licensed software from AccelByte Inc, for limitations
31201
+ * and restrictions contact your company contract manager.
31202
+ */
31203
+ const ItemRevocation = mod.lazy(() => mod.object({
31204
+ itemId: mod.string().nullish(),
31205
+ itemSku: mod.string().nullish(),
31206
+ itemType: mod
31207
+ .enum(['APP', 'COINS', 'INGAMEITEM', 'BUNDLE', 'CODE', 'SUBSCRIPTION', 'SEASON', 'MEDIA', 'OPTIONBOX', 'EXTENSION', 'LOOTBOX'])
31208
+ .nullish(),
31209
+ status: mod.enum(['SUCCESS', 'FAIL']).nullish(),
31210
+ skipped: mod.boolean().nullish(),
31211
+ quantity: mod.number().int().nullish(),
31212
+ itemRevocations: mod.array(ItemRevocation).nullish(),
31213
+ creditRevocations: mod.array(CreditRevocation).nullish(),
31214
+ entitlementRevocations: mod.array(EntitlementRevocation).nullish()
31215
+ }));
31216
+
31217
+ /*
31218
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
31219
+ * This is licensed software from AccelByte Inc, for limitations
31220
+ * and restrictions contact your company contract manager.
31221
+ */
31222
+ const RevocationResult = mod.object({
31223
+ id: mod.string(),
31224
+ status: mod.enum(['SUCCESS', 'FAIL']),
31225
+ itemRevocations: mod.array(ItemRevocation).nullish(),
31226
+ creditRevocations: mod.array(CreditRevocation).nullish(),
31227
+ entitlementRevocations: mod.array(EntitlementRevocation).nullish()
31228
+ });
31229
+
31172
31230
  /*
31173
31231
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
31174
31232
  * This is licensed software from AccelByte Inc, for limitations
@@ -31201,10 +31259,13 @@ const DlcRecord = mod.object({
31201
31259
  id: mod.string().nullish(),
31202
31260
  obtainedAt: mod.string().nullish(),
31203
31261
  rewards: mod.array(PlatformReward).nullish(),
31204
- status: mod.enum(['REVOKED', 'FULFILLED']).nullish(),
31262
+ status: mod.enum(['REVOKED', 'FULFILLED', 'REVOKE_FAILED']).nullish(),
31205
31263
  revokedAt: mod.string().nullish(),
31264
+ transactionId: mod.string().nullish(),
31206
31265
  revokeResults: mod.array(RevokeResult).nullish(),
31207
- sources: mod.array(mod.string()).nullish()
31266
+ revocationResult: RevocationResult.nullish(),
31267
+ sources: mod.array(mod.string()).nullish(),
31268
+ version: mod.number().int().nullish()
31208
31269
  });
31209
31270
 
31210
31271
  /*
@@ -31471,7 +31532,7 @@ const Order = mod.object({
31471
31532
  'DELETED'
31472
31533
  ])
31473
31534
  .nullish(),
31474
- creationOptions: ADtoObjectForOrderCreationOptions.nullish(),
31535
+ creationOptions: OrderCreationOptions.nullish(),
31475
31536
  sandbox: mod.boolean().nullish(),
31476
31537
  itemId: mod.string().nullish(),
31477
31538
  quantity: mod.number().int().nullish(),
@@ -31624,7 +31685,7 @@ const AdminOrderCreate = mod.object({
31624
31685
  ext: mod.record(mod.any()).nullish(),
31625
31686
  sandbox: mod.boolean().nullish(),
31626
31687
  platform: mod.enum(['Playstation', 'Xbox', 'Steam', 'Epic', 'IOS', 'GooglePlay', 'Nintendo', 'Other']).nullish(),
31627
- options: ADtoObjectForOrderCreationOptions.nullish(),
31688
+ options: OrderCreationOptions.nullish(),
31628
31689
  currencyNamespace: mod.string().nullish()
31629
31690
  });
31630
31691
 
@@ -32341,6 +32402,135 @@ const PaymentUrlCreate = mod.object({
32341
32402
  ui: mod.string().nullish()
32342
32403
  });
32343
32404
 
32405
+ /*
32406
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32407
+ * This is licensed software from AccelByte Inc, for limitations
32408
+ * and restrictions contact your company contract manager.
32409
+ */
32410
+ const DurableEntitlementRevocationConfig = mod.object({
32411
+ enabled: mod.boolean().nullish(),
32412
+ strategy: mod.enum(['REVOKE_OR_REPORT']).nullish()
32413
+ });
32414
+
32415
+ /*
32416
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32417
+ * This is licensed software from AccelByte Inc, for limitations
32418
+ * and restrictions contact your company contract manager.
32419
+ */
32420
+ const EntitlementRevocationConfig = mod.object({ durable: DurableEntitlementRevocationConfig.nullish() });
32421
+
32422
+ /*
32423
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32424
+ * This is licensed software from AccelByte Inc, for limitations
32425
+ * and restrictions contact your company contract manager.
32426
+ */
32427
+ const WalletRevocationConfig = mod.object({
32428
+ enabled: mod.boolean().nullish(),
32429
+ strategy: mod.enum(['REVOKE_OR_REPORT', 'ALWAYS_REVOKE']).nullish()
32430
+ });
32431
+
32432
+ /*
32433
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32434
+ * This is licensed software from AccelByte Inc, for limitations
32435
+ * and restrictions contact your company contract manager.
32436
+ */
32437
+ const RevocationConfigInfo = mod.object({
32438
+ namespace: mod.string().nullish(),
32439
+ entitlement: EntitlementRevocationConfig.nullish(),
32440
+ wallet: WalletRevocationConfig.nullish()
32441
+ });
32442
+
32443
+ /*
32444
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32445
+ * This is licensed software from AccelByte Inc, for limitations
32446
+ * and restrictions contact your company contract manager.
32447
+ */
32448
+ const RevocationConfigUpdate = mod.object({
32449
+ entitlement: EntitlementRevocationConfig.nullish(),
32450
+ wallet: WalletRevocationConfig.nullish()
32451
+ });
32452
+
32453
+ /*
32454
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32455
+ * This is licensed software from AccelByte Inc, for limitations
32456
+ * and restrictions contact your company contract manager.
32457
+ */
32458
+ const RevokeCurrency = mod.object({
32459
+ namespace: mod.string().nullish(),
32460
+ currencyCode: mod.string().nullish(),
32461
+ balanceOrigin: mod.enum(['Playstation', 'Xbox', 'Steam', 'Epic', 'IOS', 'GooglePlay', 'Twitch', 'Nintendo', 'System', 'Other']).nullish()
32462
+ });
32463
+
32464
+ /*
32465
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32466
+ * This is licensed software from AccelByte Inc, for limitations
32467
+ * and restrictions contact your company contract manager.
32468
+ */
32469
+ const RevokeEntitlement = mod.object({ entitlementId: mod.string().nullish() });
32470
+
32471
+ /*
32472
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32473
+ * This is licensed software from AccelByte Inc, for limitations
32474
+ * and restrictions contact your company contract manager.
32475
+ */
32476
+ const RevokeItem = mod.object({
32477
+ itemIdentityType: mod.enum(['ITEM_ID', 'ITEM_SKU']).nullish(),
32478
+ itemIdentity: mod.string().nullish(),
32479
+ origin: mod.enum(['Playstation', 'Xbox', 'Steam', 'Epic', 'IOS', 'GooglePlay', 'Twitch', 'Nintendo', 'System', 'Other']).nullish()
32480
+ });
32481
+
32482
+ /*
32483
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32484
+ * This is licensed software from AccelByte Inc, for limitations
32485
+ * and restrictions contact your company contract manager.
32486
+ */
32487
+ const RevokeEntry = mod.object({
32488
+ type: mod.enum(['ITEM', 'CURRENCY', 'ENTITLEMENT']).nullish(),
32489
+ item: RevokeItem.nullish(),
32490
+ entitlement: RevokeEntitlement.nullish(),
32491
+ currency: RevokeCurrency.nullish(),
32492
+ quantity: mod.number().int().nullish()
32493
+ });
32494
+
32495
+ /*
32496
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32497
+ * This is licensed software from AccelByte Inc, for limitations
32498
+ * and restrictions contact your company contract manager.
32499
+ */
32500
+ const RevocationHistoryInfo = mod.object({
32501
+ id: mod.string().nullish(),
32502
+ namespace: mod.string().nullish(),
32503
+ userId: mod.string().nullish(),
32504
+ meta: mod.record(mod.any()).nullish(),
32505
+ source: mod.string().nullish(),
32506
+ status: mod.enum(['SUCCESS', 'FAIL']).nullish(),
32507
+ revokeEntries: mod.array(RevokeEntry).nullish(),
32508
+ itemRevocations: mod.array(ItemRevocation).nullish(),
32509
+ creditRevocations: mod.array(CreditRevocation).nullish(),
32510
+ entitlementRevocations: mod.array(EntitlementRevocation).nullish(),
32511
+ createdAt: mod.string().nullish(),
32512
+ updatedAt: mod.string().nullish()
32513
+ });
32514
+
32515
+ /*
32516
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32517
+ * This is licensed software from AccelByte Inc, for limitations
32518
+ * and restrictions contact your company contract manager.
32519
+ */
32520
+ const RevocationHistoryPagingSlicedResult = mod.object({ data: mod.array(RevocationHistoryInfo), paging: Paging$1.nullish() });
32521
+
32522
+ /*
32523
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32524
+ * This is licensed software from AccelByte Inc, for limitations
32525
+ * and restrictions contact your company contract manager.
32526
+ */
32527
+ const RevocationRequest = mod.object({
32528
+ revokeEntries: mod.array(RevokeEntry).nullish(),
32529
+ source: mod.enum(['DLC', 'ORDER', 'OTHER']).nullish(),
32530
+ transactionId: mod.string().nullish(),
32531
+ meta: mod.record(mod.any()).nullish()
32532
+ });
32533
+
32344
32534
  /*
32345
32535
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32346
32536
  * This is licensed software from AccelByte Inc, for limitations
@@ -32538,6 +32728,18 @@ const DetailedWalletTransactionPagingSlicedResult = mod.object({
32538
32728
  */
32539
32729
  const DebitRequest = mod.object({ amount: mod.number().int(), reason: mod.string().nullish() });
32540
32730
 
32731
+ /*
32732
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32733
+ * This is licensed software from AccelByte Inc, for limitations
32734
+ * and restrictions contact your company contract manager.
32735
+ */
32736
+ const DebitByCurrencyCodeRequest = mod.object({
32737
+ amount: mod.number().int(),
32738
+ reason: mod.string().nullish(),
32739
+ balanceOrigin: mod.enum(['Playstation', 'Xbox', 'Steam', 'Epic', 'IOS', 'GooglePlay', 'Twitch', 'Nintendo', 'System', 'Other']).nullish(),
32740
+ allowOverdraft: mod.boolean().nullish()
32741
+ });
32742
+
32541
32743
  /*
32542
32744
  * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
32543
32745
  * This is licensed software from AccelByte Inc, for limitations
@@ -32601,7 +32803,7 @@ class UserAction$ {
32601
32803
  /**
32602
32804
  * This API is used to report a game user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ACTION", action=1 (CREATE)</li></ul>
32603
32805
  */
32604
- postV1UsersByUseridActionsReport(userId, data) {
32806
+ postV1NsUsersByUseridActionsReport(userId, data) {
32605
32807
  const params = {};
32606
32808
  const url = '/basic/v1/public/namespaces/{namespace}/users/{userId}/actions/report'
32607
32809
  .replace('{namespace}', this.namespace)
@@ -32900,7 +33102,7 @@ class Drm$ {
32900
33102
  /**
32901
33103
  * This API is used to get encrypted userId and machineId for entitled user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:BUILDINFO", action=2 (READ)</li><li><i>Returns</i>: data field containing encrypted userId and machineId separated by comma</li></ul>
32902
33104
  */
32903
- fetchDrmlicenseEncrypt(queryParams) {
33105
+ fetchNsDrmlicenseEncrypt(queryParams) {
32904
33106
  const params = { ...queryParams };
32905
33107
  const url = '/buildinfo/public/namespaces/{namespace}/drmlicense/encrypt'.replace('{namespace}', this.namespace);
32906
33108
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -32914,7 +33116,7 @@ class Drm$ {
32914
33116
  /**
32915
33117
  * 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>
32916
33118
  */
32917
- fetchDrmlicenseRetrievePublicKey() {
33119
+ fetchNsDrmlicenseRetrievePublicKey() {
32918
33120
  const params = {};
32919
33121
  const url = '/buildinfo/public/namespaces/{namespace}/drmlicense/retrievePublicKey'.replace('{namespace}', this.namespace);
32920
33122
  const resultPromise = this.axiosInstance.get(url, { params });
@@ -33335,7 +33537,7 @@ class LocalizedPolicyVersionsWithNamespace$ {
33335
33537
  /**
33336
33538
  * Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.<br>Other detail info: <ul></ul>
33337
33539
  */
33338
- fetchLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId) {
33540
+ fetchNsLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId) {
33339
33541
  const params = {};
33340
33542
  const url = '/agreement/public/namespaces/{namespace}/localized-policy-versions/{localizedPolicyVersionId}'
33341
33543
  .replace('{namespace}', this.namespace)
@@ -33963,7 +34165,7 @@ class StaticConfigs$ {
33963
34165
  this.namespace = namespace;
33964
34166
  this.cache = cache;
33965
34167
  }
33966
- fetchV1StaticConfigsByConfig(config) {
34168
+ fetchV1NsStaticConfigsByConfig(config) {
33967
34169
  const params = {};
33968
34170
  const url = '/odin-config/v1/public/namespaces/{namespace}/staticConfigs/{config}'
33969
34171
  .replace('{namespace}', this.namespace)
@@ -34003,7 +34205,6 @@ const EligibleUser = UserResponseV4.pick({
34003
34205
  emailVerified: true,
34004
34206
  displayName: true,
34005
34207
  country: true,
34006
- dateOfBirth: true,
34007
34208
  emailAddress: true,
34008
34209
  bans: true,
34009
34210
  username: true,
@@ -38536,6 +38737,17 @@ mod.enum([
38536
38737
  CommonValidationErrorType.enum.alreadyUsed
38537
38738
  ]);
38538
38739
 
38740
+ /*
38741
+ * Copyright (c) 2020. AccelByte Inc. All Rights Reserved
38742
+ * This is licensed software from AccelByte Inc, for limitations
38743
+ * and restrictions contact your company contract manager.
38744
+ */
38745
+ mod.enum([
38746
+ ...ValidateLengthErrorType.options,
38747
+ CommonValidationErrorType.enum.invalidFormat,
38748
+ CommonValidationErrorType.enum.alreadyUsed
38749
+ ]);
38750
+
38539
38751
  /*
38540
38752
  * Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
38541
38753
  * This is licensed software from AccelByte Inc, for limitations
@@ -39124,21 +39336,26 @@ const ERROR_CODE_TOKEN_EXPIRED = 10196;
39124
39336
  const ERROR_USER_BANNED = 10134;
39125
39337
 
39126
39338
  /*
39127
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
39339
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
39128
39340
  * This is licensed software from AccelByte Inc, for limitations
39129
39341
  * and restrictions contact your company contract manager.
39130
39342
  */
39131
- const CompanyLogo = mod.object({
39132
- url: mod.string(),
39133
- name: mod.string()
39134
- });
39135
- const CompanyLogoConfig = mod.object({
39136
- images: mod.array(CompanyLogo),
39137
- defaultIndex: mod.number()
39343
+ exports.BackgroundOverlayType = void 0;
39344
+ (function (BackgroundOverlayType) {
39345
+ BackgroundOverlayType["GRADIENT"] = "gradient";
39346
+ BackgroundOverlayType["FULL"] = "full";
39347
+ })(exports.BackgroundOverlayType || (exports.BackgroundOverlayType = {}));
39348
+ const BackgroundOverlay = mod.object({
39349
+ isEnabled: mod.boolean(),
39350
+ type: mod.nativeEnum(exports.BackgroundOverlayType),
39351
+ /** Number between 0-100. The bigger, the more solid the color will be. */
39352
+ opacity: mod.number().min(0).max(100)
39138
39353
  });
39139
39354
  const LogoVariantConfig = mod.object({
39140
- header: mod.number(),
39141
- footer: mod.number()
39355
+ /** The index of the image located in the `companyLogo` inside the discovery configs. */
39356
+ header: mod.number().nullable(),
39357
+ /** The index of the image located in the `companyLogo` inside the discovery configs. */
39358
+ footer: mod.number().nullable()
39142
39359
  });
39143
39360
  const ColorConfig = mod.object({
39144
39361
  hex: mod.string(),
@@ -39147,21 +39364,7 @@ const ColorConfig = mod.object({
39147
39364
  g: mod.number(),
39148
39365
  b: mod.number(),
39149
39366
  a: mod.number()
39150
- }),
39151
- hsl: mod.object({
39152
- h: mod.number(),
39153
- s: mod.number(),
39154
- l: mod.number(),
39155
- a: mod.number()
39156
- }),
39157
- hsv: mod.object({
39158
- h: mod.number(),
39159
- s: mod.number(),
39160
- v: mod.number(),
39161
- a: mod.number()
39162
- }),
39163
- oldHue: mod.number(),
39164
- source: mod.string()
39367
+ })
39165
39368
  });
39166
39369
  const ColorConfigs = mod.object({
39167
39370
  background: ColorConfig,
@@ -39172,13 +39375,51 @@ const ColorConfigs = mod.object({
39172
39375
  text: ColorConfig
39173
39376
  });
39174
39377
  const FontConfigs = mod.object({
39378
+ /**
39379
+ * The font-family that will be used for the body. Supported default fonts are as the following:
39380
+ * 'Exo', 'Rubik', 'Roboto', 'Inter', and 'Poppins'.
39381
+ **/
39175
39382
  body: mod.string(),
39176
- bodyCss: mod.string(),
39383
+ /** The public URL of the font, if you want to use custom font. */
39177
39384
  customBodyFontUrl: mod.string(),
39385
+ /**
39386
+ * The font-family that will be used for the headings (including buttons). Supported default fonts are as the following:
39387
+ * 'Exo', 'Rubik', 'Roboto', 'Inter', and 'Poppins'.
39388
+ **/
39178
39389
  title: mod.string(),
39179
- titleCss: mod.string(),
39390
+ /** The public URL of the font, if you want to use custom font. */
39180
39391
  customTitleFontUrl: mod.string()
39181
39392
  });
39393
+ const PageConfig = mod.object({
39394
+ templatePreview: mod.string().optional(),
39395
+ /** When enabled, then it will use the styles defined in the `global.colors` and `global.fonts`. */
39396
+ isLocalStyleEnabled: mod.boolean(),
39397
+ global: mod.object({
39398
+ colors: mod.object({
39399
+ primary: ColorConfig,
39400
+ secondary: ColorConfig,
39401
+ text: ColorConfig,
39402
+ overlay: ColorConfig,
39403
+ background: ColorConfig,
39404
+ card: ColorConfig
39405
+ }),
39406
+ fonts: FontConfigs
39407
+ })
39408
+ });
39409
+
39410
+ /*
39411
+ * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
39412
+ * This is licensed software from AccelByte Inc, for limitations
39413
+ * and restrictions contact your company contract manager.
39414
+ */
39415
+ const CompanyLogo = mod.object({
39416
+ url: mod.string(),
39417
+ name: mod.string()
39418
+ });
39419
+ const CompanyLogoConfig = mod.object({
39420
+ images: mod.array(CompanyLogo),
39421
+ defaultIndex: mod.number()
39422
+ });
39182
39423
  const GlobalStyleConfig = mod.object({
39183
39424
  global: mod.object({
39184
39425
  colors: ColorConfigs,
@@ -39194,6 +39435,127 @@ const TemplateInfoConfig = mod.object({
39194
39435
  draft: mod.string(),
39195
39436
  published: mod.string()
39196
39437
  });
39438
+ exports.TemplateConfig = void 0;
39439
+ (function (TemplateConfig) {
39440
+ TemplateConfig["SINGLE"] = "single-game";
39441
+ TemplateConfig["MULTIPLE"] = "multiple-game";
39442
+ })(exports.TemplateConfig || (exports.TemplateConfig = {}));
39443
+ const PlayerPortalFeatureFlagsConfig = mod.object({
39444
+ /**
39445
+ * Determines whether "Account Overview" menu in Accounts page is visible or not.
39446
+ *
39447
+ * Defaults to `true`.
39448
+ **/
39449
+ isAccountOverviewVisible: mod.boolean().default(true),
39450
+ /**
39451
+ * Determines whether "Change Password" menu in Accounts page and profile dropdown are visible or not.
39452
+ *
39453
+ * Defaults to `true`.
39454
+ **/
39455
+ isChangePasswordVisible: mod.boolean().default(true),
39456
+ /**
39457
+ * Determines whether "Delete Account" menu in Accounts page is visible or not.
39458
+ *
39459
+ * Defaults to `true`.
39460
+ **/
39461
+ isDeleteAccountVisible: mod.boolean().default(true),
39462
+ /**
39463
+ * Determines whether the "Get Launcher" button is visible or not.
39464
+ *
39465
+ * Defaults to `true`.
39466
+ **/
39467
+ isGetLauncherVisible: mod.boolean().default(true),
39468
+ /**
39469
+ * Determines whether "Linked Accounts" menu in Accounts page is visible or not.
39470
+ *
39471
+ * Defaults to `true`.
39472
+ **/
39473
+ isLinkedAccountsVisible: mod.boolean().default(true),
39474
+ /**
39475
+ * Determines whether "My Profile" menu in Accounts page is visible or not.
39476
+ *
39477
+ * Defaults to `true`.
39478
+ **/
39479
+ isMyProfileVisible: mod.boolean().default(true),
39480
+ /**
39481
+ * Determines whether "News" feature is visible or not.
39482
+ *
39483
+ * Defaults to `false`.
39484
+ **/
39485
+ isNewsVisible: mod.boolean().default(false),
39486
+ /**
39487
+ * Determines whether "Notifications" feature is visible or not.
39488
+ *
39489
+ * Defaults to `false`.
39490
+ **/
39491
+ isNotificationsVisible: mod.boolean().default(false),
39492
+ /**
39493
+ * Determines whether "Order History" menu in Accounts page and profile dropdown are visible or not.
39494
+ *
39495
+ * Defaults to `true`.
39496
+ **/
39497
+ isOrderHistoryVisible: mod.boolean().default(true),
39498
+ /**
39499
+ * Determines whether "Payment Methods" menu in Accounts page is visible or not.
39500
+ *
39501
+ * Defaults to `true`.
39502
+ **/
39503
+ isPaymentMethodsVisible: mod.boolean().default(true),
39504
+ /**
39505
+ * Determines whether "Personal Data" menu in Accounts page is visible or not.
39506
+ *
39507
+ * Defaults to `true`.
39508
+ **/
39509
+ isPersonalDataVisible: mod.boolean().default(true),
39510
+ /**
39511
+ * Determines whether "Privacy Records" menu in Accounts page is visible or not.
39512
+ *
39513
+ * Defaults to `true`.
39514
+ **/
39515
+ isPrivacyRecordsVisible: mod.boolean().default(true),
39516
+ /**
39517
+ * Determines whether "Purchased Items" menu in Accounts page is visible or not.
39518
+ *
39519
+ * Defaults to `true`.
39520
+ **/
39521
+ isPurchasedItemsVisible: mod.boolean().default(true),
39522
+ /**
39523
+ * Determines whether "Redeem Code" menu in Accounts page and profile dropdown are visible or not.
39524
+ *
39525
+ * Defaults to `true`.
39526
+ **/
39527
+ isRedeemCodeVisible: mod.boolean().default(true),
39528
+ /**
39529
+ * Determines whether "Store" feature is visible or not.
39530
+ *
39531
+ * Defaults to `true`.
39532
+ **/
39533
+ isStoreVisible: mod.boolean().default(true),
39534
+ /**
39535
+ * Determines whether "Subscriptions" feature is visible or not.
39536
+ *
39537
+ * Defaults to `false`.
39538
+ **/
39539
+ isSubscriptionsVisible: mod.boolean().default(false),
39540
+ /**
39541
+ * Determines whether "Support" feature is visible or not.
39542
+ *
39543
+ * Defaults to `false`.
39544
+ **/
39545
+ isSupportVisible: mod.boolean().default(false),
39546
+ /**
39547
+ * Determines whether "Virtual Currency" feature is visible or not.
39548
+ *
39549
+ * Defaults to `false`.
39550
+ **/
39551
+ isVirtualCurrencyVisible: mod.boolean().default(false),
39552
+ /**
39553
+ * Determines whether the "News" (unreleased) feature is visible or not.
39554
+ *
39555
+ * Defaults to `false`.
39556
+ **/
39557
+ isNewsV2Visible: mod.boolean().default(false)
39558
+ });
39197
39559
  const DiscoveryConfigData = mod.object({
39198
39560
  ppTemplateInfo: Config.merge(mod.object({
39199
39561
  data: TemplateInfoConfig
@@ -39210,7 +39572,9 @@ const DiscoveryConfigData = mod.object({
39210
39572
  paymentTemplateInfo: Config.merge(mod.object({
39211
39573
  data: TemplateInfoConfig
39212
39574
  })),
39213
- ppFeatureFlags: Config,
39575
+ ppFeatureFlags: Config.merge(mod.object({
39576
+ data: PlayerPortalFeatureFlagsConfig
39577
+ })),
39214
39578
  launcherFeatureFlags: Config,
39215
39579
  loginFeatureFlags: Config,
39216
39580
  experimentalFeatureFlags: Config,
@@ -39240,7 +39604,7 @@ const DiscoveryConfigData = mod.object({
39240
39604
  })),
39241
39605
  templateConfig: Config.merge(mod.object({
39242
39606
  data: mod.object({
39243
- value: mod.string()
39607
+ value: mod.union([mod.literal(`${exports.TemplateConfig.SINGLE}`), mod.literal(`${exports.TemplateConfig.MULTIPLE}`)])
39244
39608
  })
39245
39609
  })),
39246
39610
  appId: Config.merge(mod.object({
@@ -39263,11 +39627,97 @@ const DiscoveryConfigData = mod.object({
39263
39627
  value: mod.string()
39264
39628
  })
39265
39629
  }))
39266
- });
39267
- const HomepagePPConfig = mod.object({
39630
+ });
39631
+
39632
+ /*
39633
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
39634
+ * This is licensed software from AccelByte Inc, for limitations
39635
+ * and restrictions contact your company contract manager.
39636
+ */
39637
+ exports.PlayerPortalHomePageKeys = void 0;
39638
+ (function (PlayerPortalHomePageKeys) {
39639
+ PlayerPortalHomePageKeys["IS_DISABLED"] = "isDisabled";
39640
+ PlayerPortalHomePageKeys["REDIRECTION_URL"] = "redirectionURL";
39641
+ PlayerPortalHomePageKeys["SITE_BRAND_URL"] = "siteBrandURL";
39642
+ })(exports.PlayerPortalHomePageKeys || (exports.PlayerPortalHomePageKeys = {}));
39643
+ const PlayerPortalHomepageConfig = mod.object({
39268
39644
  isDisabled: mod.boolean(),
39269
39645
  redirectionURL: mod.string(),
39270
39646
  siteBrandURL: mod.string()
39647
+ });
39648
+ exports.PlayerPortalFooterIDs = void 0;
39649
+ (function (PlayerPortalFooterIDs) {
39650
+ PlayerPortalFooterIDs["COPYRIGHT"] = "copyright";
39651
+ PlayerPortalFooterIDs["PRIVACY_POLICY"] = "privacyPolicy";
39652
+ PlayerPortalFooterIDs["LEGAL"] = "legal";
39653
+ PlayerPortalFooterIDs["TERMS_OF_USE"] = "termsOfUse";
39654
+ PlayerPortalFooterIDs["ADDITIONAL_1"] = "additional1";
39655
+ PlayerPortalFooterIDs["ADDITIONAL_2"] = "additional2";
39656
+ })(exports.PlayerPortalFooterIDs || (exports.PlayerPortalFooterIDs = {}));
39657
+ const PlayerPortalFooterConfigLink = mod.object({
39658
+ id: mod.string(),
39659
+ name: mod.string(),
39660
+ link: mod.string()
39661
+ });
39662
+ const PlayerPortalFooterConfig = mod.object({
39663
+ links: mod.array(PlayerPortalFooterConfigLink)
39664
+ });
39665
+ exports.PlayerPortalHomepageKeys = void 0;
39666
+ (function (PlayerPortalHomepageKeys) {
39667
+ PlayerPortalHomepageKeys["IS_DISABLED"] = "isDisabled";
39668
+ PlayerPortalHomepageKeys["REDIRECTION_URL"] = "redirectionURL";
39669
+ PlayerPortalHomepageKeys["SITE_BRAND_URL"] = "siteBrandURL";
39670
+ })(exports.PlayerPortalHomepageKeys || (exports.PlayerPortalHomepageKeys = {}));
39671
+ const PlayerPortalConfigData = mod.object({
39672
+ launcherDownloadLink: Config.merge(mod.object({
39673
+ data: mod.object({
39674
+ value: mod.string()
39675
+ })
39676
+ })),
39677
+ metaData: Config.merge(mod.object({
39678
+ data: mod.object({
39679
+ description: mod.string(),
39680
+ image: mod.string(),
39681
+ title: mod.string()
39682
+ })
39683
+ })),
39684
+ pageConfig: Config.merge(mod.object({
39685
+ data: PageConfig
39686
+ })),
39687
+ footer: Config.merge(mod.object({
39688
+ data: mod.object({
39689
+ value: PlayerPortalFooterConfig
39690
+ })
39691
+ })),
39692
+ homepage: Config.merge(mod.object({
39693
+ data: PlayerPortalHomepageConfig
39694
+ })),
39695
+ logoVariant: Config.merge(mod.object({
39696
+ data: LogoVariantConfig
39697
+ }))
39698
+ });
39699
+
39700
+ /*
39701
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
39702
+ * This is licensed software from AccelByte Inc, for limitations
39703
+ * and restrictions contact your company contract manager.
39704
+ */
39705
+ const LauncherPageConfig = PageConfig.extend({
39706
+ loginPage: mod.object({
39707
+ template: mod.string(),
39708
+ background: mod.string(),
39709
+ boxLogo: mod.string(),
39710
+ boxTitle: mod.string(),
39711
+ boxInfo: mod.string(),
39712
+ boxButtonText: mod.string(),
39713
+ backgroundOverlay: BackgroundOverlay
39714
+ }),
39715
+ mainPage: mod.object({
39716
+ gameTitle: mod.string(),
39717
+ background: mod.string(),
39718
+ gameID: mod.string(),
39719
+ backgroundOverlay: BackgroundOverlay
39720
+ })
39271
39721
  });
39272
39722
 
39273
39723
  const DisplayedPolicy = mod.object({
@@ -39321,16 +39771,13 @@ exports.ADtoForUnbanUserApiCall = ADtoForUnbanUserApiCall;
39321
39771
  exports.ADtoForUpdateEqu8ConfigApiCall = ADtoForUpdateEqu8ConfigApiCall;
39322
39772
  exports.ADtoObjectForEqu8UserBanStatus = ADtoObjectForEqu8UserBanStatus;
39323
39773
  exports.ADtoObjectForEqu8UserStatus = ADtoObjectForEqu8UserStatus;
39324
- exports.ADtoObjectForOrderCreationOptions = ADtoObjectForOrderCreationOptions;
39325
- exports.ADtoObjectForQueryingXboxUserAchievements = ADtoObjectForQueryingXboxUserAchievements;
39326
- exports.ADtoObjectForUnlockSteamAchievementApi = ADtoObjectForUnlockSteamAchievementApi;
39327
- exports.ADtoObjectForUpdateXboxAchievementCompletePercentageApi = ADtoObjectForUpdateXboxAchievementCompletePercentageApi;
39328
39774
  exports.ARCH = ARCH;
39329
39775
  exports.Accelbyte = Accelbyte;
39330
39776
  exports.AcceptAgreementRequest = AcceptAgreementRequest;
39331
39777
  exports.AcceptAgreementResponse = AcceptAgreementResponse;
39332
39778
  exports.AcceptedPoliciesRequest = AcceptedPoliciesRequest;
39333
39779
  exports.AccountProgressionInfo = AccountProgressionInfo;
39780
+ exports.Achievement = Achievement;
39334
39781
  exports.AchievementInfo = AchievementInfo;
39335
39782
  exports.Action = Action;
39336
39783
  exports.AddCountryGroupRequest = AddCountryGroupRequest;
@@ -39358,11 +39805,12 @@ exports.AssignUserV4Request = AssignUserV4Request;
39358
39805
  exports.AssignedUserV4Response = AssignedUserV4Response;
39359
39806
  exports.AuthenticatorKeyResponseV4 = AuthenticatorKeyResponseV4;
39360
39807
  exports.AuthenticatorSecretKey = AuthenticatorSecretKey;
39361
- exports.AvailableComparisonObject = AvailableComparisonObject;
39808
+ exports.AvailableComparison = AvailableComparison;
39362
39809
  exports.AvailablePlatform = AvailablePlatform;
39363
- exports.AvailablePredicateObject = AvailablePredicateObject;
39810
+ exports.AvailablePredicate = AvailablePredicate;
39364
39811
  exports.AvatarSyncRequestV4 = AvatarSyncRequestV4;
39365
39812
  exports.BUILDINFO_PLATFORM_ID = BUILDINFO_PLATFORM_ID;
39813
+ exports.BackgroundOverlay = BackgroundOverlay;
39366
39814
  exports.BackupCodesResponseV4 = BackupCodesResponseV4;
39367
39815
  exports.Ban = Ban;
39368
39816
  exports.BanCreateRequest = BanCreateRequest;
@@ -39484,6 +39932,7 @@ exports.CreateTestUsersResponseV4 = CreateTestUsersResponseV4;
39484
39932
  exports.CreateUserRequestV4 = CreateUserRequestV4;
39485
39933
  exports.CreateUserResponseV4 = CreateUserResponseV4;
39486
39934
  exports.CreditRequest = CreditRequest;
39935
+ exports.CreditRevocation = CreditRevocation;
39487
39936
  exports.CreditSummary = CreditSummary;
39488
39937
  exports.Currency$ = Currency$;
39489
39938
  exports.CurrencyConfig = CurrencyConfig;
@@ -39498,6 +39947,7 @@ exports.DISCOVERY_TEMPLATE_NAME = DISCOVERY_TEMPLATE_NAME;
39498
39947
  exports.DataDeletion$ = DataDeletion$;
39499
39948
  exports.DataRetrieval$ = DataRetrieval$;
39500
39949
  exports.DataRetrievalResponse = DataRetrievalResponse;
39950
+ exports.DebitByCurrencyCodeRequest = DebitByCurrencyCodeRequest;
39501
39951
  exports.DebitRequest = DebitRequest;
39502
39952
  exports.DecodeError = DecodeError;
39503
39953
  exports.DefaultLaunchProfile = DefaultLaunchProfile;
@@ -39539,6 +39989,7 @@ exports.DlcRecord = DlcRecord;
39539
39989
  exports.Downloader$ = Downloader$;
39540
39990
  exports.DownloaderApi = DownloaderApi;
39541
39991
  exports.Drm$ = Drm$;
39992
+ exports.DurableEntitlementRevocationConfig = DurableEntitlementRevocationConfig;
39542
39993
  exports.ERROR_CODE_LINK_DELETION_ACCOUNT = ERROR_CODE_LINK_DELETION_ACCOUNT;
39543
39994
  exports.ERROR_CODE_TOKEN_EXPIRED = ERROR_CODE_TOKEN_EXPIRED;
39544
39995
  exports.ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT = ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT;
@@ -39558,6 +40009,8 @@ exports.EntitlementLootBoxReward = EntitlementLootBoxReward;
39558
40009
  exports.EntitlementOwnership = EntitlementOwnership;
39559
40010
  exports.EntitlementOwnershipArray = EntitlementOwnershipArray;
39560
40011
  exports.EntitlementPagingSlicedResult = EntitlementPagingSlicedResult;
40012
+ exports.EntitlementRevocation = EntitlementRevocation;
40013
+ exports.EntitlementRevocationConfig = EntitlementRevocationConfig;
39561
40014
  exports.EntitlementSummary = EntitlementSummary;
39562
40015
  exports.EntitlementUpdate = EntitlementUpdate;
39563
40016
  exports.EpicGamesDlcSyncRequest = EpicGamesDlcSyncRequest;
@@ -39634,7 +40087,6 @@ exports.GoogleReceiptResolveResult = GoogleReceiptResolveResult;
39634
40087
  exports.GrantSubscriptionDaysRequest = GrantSubscriptionDaysRequest;
39635
40088
  exports.HierarchicalCategoryInfo = HierarchicalCategoryInfo;
39636
40089
  exports.HierarchicalCategoryInfoArray = HierarchicalCategoryInfoArray;
39637
- exports.HomepagePPConfig = HomepagePPConfig;
39638
40090
  exports.IamHelper = IamHelper;
39639
40091
  exports.Iap$ = Iap$;
39640
40092
  exports.IapConsumeHistoryInfo = IapConsumeHistoryInfo;
@@ -39678,6 +40130,7 @@ exports.ItemPurchaseConditionValidateRequest = ItemPurchaseConditionValidateRequ
39678
40130
  exports.ItemPurchaseConditionValidateResult = ItemPurchaseConditionValidateResult;
39679
40131
  exports.ItemPurchaseConditionValidateResultArray = ItemPurchaseConditionValidateResultArray;
39680
40132
  exports.ItemReturnRequest = ItemReturnRequest;
40133
+ exports.ItemRevocation = ItemRevocation;
39681
40134
  exports.ItemSnapshot = ItemSnapshot;
39682
40135
  exports.ItemTypeConfigCreate = ItemTypeConfigCreate;
39683
40136
  exports.ItemTypeConfigInfo = ItemTypeConfigInfo;
@@ -39693,6 +40146,7 @@ exports.KeyGroupPagingSlicedResult = KeyGroupPagingSlicedResult;
39693
40146
  exports.KeyGroupUpdate = KeyGroupUpdate;
39694
40147
  exports.KeyInfo = KeyInfo;
39695
40148
  exports.KeyPagingSliceResult = KeyPagingSliceResult;
40149
+ exports.LauncherPageConfig = LauncherPageConfig;
39696
40150
  exports.LegalHelper = LegalHelper;
39697
40151
  exports.LegalPolicyType = LegalPolicyType;
39698
40152
  exports.LegalReadinessStatusResponse = LegalReadinessStatusResponse;
@@ -39763,6 +40217,7 @@ exports.OptionBoxConfig = OptionBoxConfig;
39763
40217
  exports.Order = Order;
39764
40218
  exports.Order$ = Order$;
39765
40219
  exports.OrderCreate = OrderCreate;
40220
+ exports.OrderCreationOptions = OrderCreationOptions;
39766
40221
  exports.OrderGrantInfo = OrderGrantInfo;
39767
40222
  exports.OrderHistoryInfo = OrderHistoryInfo;
39768
40223
  exports.OrderHistoryInfoArray = OrderHistoryInfoArray;
@@ -39778,6 +40233,7 @@ exports.OrderUpdate = OrderUpdate;
39778
40233
  exports.Ownership = Ownership;
39779
40234
  exports.OwnershipToken = OwnershipToken;
39780
40235
  exports.PLATFORM = PLATFORM;
40236
+ exports.PageConfig = PageConfig;
39781
40237
  exports.PagedRetrieveUserAcceptedAgreementResponse = PagedRetrieveUserAcceptedAgreementResponse;
39782
40238
  exports.Pagination = Pagination$1;
39783
40239
  exports.PaginationV3 = PaginationV3;
@@ -39849,6 +40305,11 @@ exports.PlayStationMultiServiceLabelsReconcileRequest = PlayStationMultiServiceL
39849
40305
  exports.PlayStationReconcileRequest = PlayStationReconcileRequest;
39850
40306
  exports.PlayStationReconcileResult = PlayStationReconcileResult;
39851
40307
  exports.PlayStationReconcileResultArray = PlayStationReconcileResultArray;
40308
+ exports.PlayerPortalConfigData = PlayerPortalConfigData;
40309
+ exports.PlayerPortalFeatureFlagsConfig = PlayerPortalFeatureFlagsConfig;
40310
+ exports.PlayerPortalFooterConfig = PlayerPortalFooterConfig;
40311
+ exports.PlayerPortalFooterConfigLink = PlayerPortalFooterConfigLink;
40312
+ exports.PlayerPortalHomepageConfig = PlayerPortalHomepageConfig;
39852
40313
  exports.PlaystationIapConfigRequest = PlaystationIapConfigRequest;
39853
40314
  exports.Policies$ = Policies$;
39854
40315
  exports.PoliciesApi = PoliciesApi;
@@ -39857,7 +40318,7 @@ exports.PolicyVersionObject = PolicyVersionObject;
39857
40318
  exports.PolicyVersionWithLocalizedVersionObject = PolicyVersionWithLocalizedVersionObject;
39858
40319
  exports.PopulatedItemInfo = PopulatedItemInfo;
39859
40320
  exports.PreCheckUploadRequest = PreCheckUploadRequest;
39860
- exports.PredicateObject = PredicateObject;
40321
+ exports.Predicate = Predicate;
39861
40322
  exports.PredicateValidateResult = PredicateValidateResult;
39862
40323
  exports.PublicKeyPresignedUrl = PublicKeyPresignedUrl;
39863
40324
  exports.PublicThirdPartyPlatformInfo = PublicThirdPartyPlatformInfo;
@@ -39914,7 +40375,17 @@ exports.RetrieveUserEligibilitiesIndirectResponse = RetrieveUserEligibilitiesInd
39914
40375
  exports.RetrieveUserEligibilitiesResponse = RetrieveUserEligibilitiesResponse;
39915
40376
  exports.RetrieveUserEligibilitiesResponseArray = RetrieveUserEligibilitiesResponseArray;
39916
40377
  exports.RetrieveUserInfoCacheStatusResponse = RetrieveUserInfoCacheStatusResponse;
40378
+ exports.RevocationConfigInfo = RevocationConfigInfo;
40379
+ exports.RevocationConfigUpdate = RevocationConfigUpdate;
40380
+ exports.RevocationHistoryInfo = RevocationHistoryInfo;
40381
+ exports.RevocationHistoryPagingSlicedResult = RevocationHistoryPagingSlicedResult;
39917
40382
  exports.RevocationList = RevocationList;
40383
+ exports.RevocationRequest = RevocationRequest;
40384
+ exports.RevocationResult = RevocationResult;
40385
+ exports.RevokeCurrency = RevokeCurrency;
40386
+ exports.RevokeEntitlement = RevokeEntitlement;
40387
+ exports.RevokeEntry = RevokeEntry;
40388
+ exports.RevokeItem = RevokeItem;
39918
40389
  exports.RevokeItemSummary = RevokeItemSummary;
39919
40390
  exports.RevokeResult = RevokeResult;
39920
40391
  exports.RevokeUserV4Request = RevokeUserV4Request;
@@ -39984,7 +40455,7 @@ exports.SsoSaml20$ = SsoSaml20$;
39984
40455
  exports.StackableEntitlementInfo = StackableEntitlementInfo;
39985
40456
  exports.StartMultipartUploadRequest = StartMultipartUploadRequest;
39986
40457
  exports.StaticConfigs$ = StaticConfigs$;
39987
- exports.SteamAchievementRequest = SteamAchievementRequest;
40458
+ exports.SteamAchievementUpdateRequest = SteamAchievementUpdateRequest;
39988
40459
  exports.SteamDlcSyncRequest = SteamDlcSyncRequest;
39989
40460
  exports.SteamIapConfig = SteamIapConfig;
39990
40461
  exports.SteamIapConfigInfo = SteamIapConfigInfo;
@@ -40159,18 +40630,20 @@ exports.ViewUpdate = ViewUpdate;
40159
40630
  exports.Wallet$ = Wallet$;
40160
40631
  exports.WalletInfo = WalletInfo;
40161
40632
  exports.WalletPagingSlicedResult = WalletPagingSlicedResult;
40633
+ exports.WalletRevocationConfig = WalletRevocationConfig;
40162
40634
  exports.WalletTransactionInfo = WalletTransactionInfo;
40163
40635
  exports.WalletTransactionPagingSlicedResult = WalletTransactionPagingSlicedResult;
40164
40636
  exports.WebLinkingResponse = WebLinkingResponse;
40165
40637
  exports.WxPayConfigInfo = WxPayConfigInfo;
40166
40638
  exports.WxPayConfigRequest = WxPayConfigRequest;
40639
+ exports.XblAchievementUpdateRequest = XblAchievementUpdateRequest;
40167
40640
  exports.XblDlcSyncRequest = XblDlcSyncRequest;
40168
40641
  exports.XblIapConfigInfo = XblIapConfigInfo;
40169
40642
  exports.XblIapConfigRequest = XblIapConfigRequest;
40170
40643
  exports.XblReconcileRequest = XblReconcileRequest;
40171
40644
  exports.XblReconcileResult = XblReconcileResult;
40172
40645
  exports.XblReconcileResultArray = XblReconcileResultArray;
40173
- exports.XboxAchievementRequest = XboxAchievementRequest;
40646
+ exports.XblUserAchievements = XblUserAchievements;
40174
40647
  exports.XsollaConfig = XsollaConfig;
40175
40648
  exports.XsollaPaywallConfig = XsollaPaywallConfig;
40176
40649
  exports.XsollaPaywallConfigRequest = XsollaPaywallConfigRequest;