@accelbyte/sdk 0.2.0-beta.4 → 0.2.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -4
- package/dist/index.browser.es.js +950 -541
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.d.ts +1499 -1060
- package/dist/index.node.es.js +950 -541
- package/dist/index.node.es.js.map +1 -1
- package/dist/index.node.js +950 -541
- package/dist/index.node.js.map +1 -1
- package/examples/next/package.json +1 -1
- package/examples/node/package.json +1 -1
- package/examples/typescript-node/README.md +13 -0
- package/examples/typescript-node/node-example.ts +60 -0
- package/examples/vite/package.json +1 -1
- package/package.json +1 -1
package/dist/index.node.es.js
CHANGED
|
@@ -9541,6 +9541,8 @@ class FileUploadApi {
|
|
|
9541
9541
|
this.conf = conf;
|
|
9542
9542
|
this.namespace = namespace;
|
|
9543
9543
|
/**
|
|
9544
|
+
* POST [/basic/v1/public/namespaces/{namespace}/folders/{folder}/files](api)
|
|
9545
|
+
*
|
|
9544
9546
|
* Generate an upload URL. It's valid for 10 minutes.
|
|
9545
9547
|
* Returns: URL data
|
|
9546
9548
|
*/
|
|
@@ -9663,12 +9665,18 @@ class MiscApi {
|
|
|
9663
9665
|
this.namespace = namespace;
|
|
9664
9666
|
this.cache = cache;
|
|
9665
9667
|
/**
|
|
9666
|
-
*
|
|
9667
|
-
*
|
|
9668
|
+
* GET [/basic/v1/public/namespaces/{namespace}/misc/countries](api)
|
|
9669
|
+
*
|
|
9670
|
+
* _Returns_: country code list
|
|
9668
9671
|
*/
|
|
9669
9672
|
this.getCountries = (lang) => {
|
|
9670
9673
|
return this.newInstance().fetchV1NsMiscCountries({ lang });
|
|
9671
9674
|
};
|
|
9675
|
+
/**
|
|
9676
|
+
* GET [/basic/v1/public/namespaces/{namespace}/misc/languages](api)
|
|
9677
|
+
*
|
|
9678
|
+
* _Returns_: language list
|
|
9679
|
+
*/
|
|
9672
9680
|
this.getLanguages = () => {
|
|
9673
9681
|
return this.newInstance().fetchV1NsMiscLanguages();
|
|
9674
9682
|
};
|
|
@@ -9758,9 +9766,10 @@ class NamespaceApi {
|
|
|
9758
9766
|
this.namespace = namespace;
|
|
9759
9767
|
this.cache = cache;
|
|
9760
9768
|
/**
|
|
9769
|
+
* GET [/basic/v1/public/namespaces](api)
|
|
9770
|
+
*
|
|
9761
9771
|
* Get all namespaces.
|
|
9762
9772
|
*
|
|
9763
|
-
* Other detail info:
|
|
9764
9773
|
* - _Required permission_: login user
|
|
9765
9774
|
* - _Action code_: 11303
|
|
9766
9775
|
* - _Returns_: list of namespaces
|
|
@@ -10070,6 +10079,8 @@ class UserProfileApi {
|
|
|
10070
10079
|
this.namespace = namespace;
|
|
10071
10080
|
this.cache = cache;
|
|
10072
10081
|
/**
|
|
10082
|
+
* GET [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
10083
|
+
*
|
|
10073
10084
|
* Get my profile
|
|
10074
10085
|
*
|
|
10075
10086
|
* __Client with user token can get user profile in target namespace__
|
|
@@ -10078,6 +10089,8 @@ class UserProfileApi {
|
|
|
10078
10089
|
return this.newInstance().fetchV1NsUsersMeProfiles();
|
|
10079
10090
|
};
|
|
10080
10091
|
/**
|
|
10092
|
+
* POST [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
10093
|
+
*
|
|
10081
10094
|
* Create my profile.
|
|
10082
10095
|
*
|
|
10083
10096
|
* __Client with user token can create user profile in target namespace__
|
|
@@ -10086,6 +10099,8 @@ class UserProfileApi {
|
|
|
10086
10099
|
return this.newInstance().postV1NsUsersMeProfiles(data);
|
|
10087
10100
|
};
|
|
10088
10101
|
/**
|
|
10102
|
+
* PUT [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
10103
|
+
*
|
|
10089
10104
|
* Update my profile.
|
|
10090
10105
|
* 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.
|
|
10091
10106
|
*/
|
|
@@ -10093,6 +10108,8 @@ class UserProfileApi {
|
|
|
10093
10108
|
return this.newInstance().putV1NsUsersMeProfiles(data);
|
|
10094
10109
|
};
|
|
10095
10110
|
/**
|
|
10111
|
+
* PUT [/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes](api)
|
|
10112
|
+
*
|
|
10096
10113
|
* Update partially custom attributes tied to user id.
|
|
10097
10114
|
* _Returns_: Updated custom attributes
|
|
10098
10115
|
*/
|
|
@@ -10161,16 +10178,17 @@ class CachingApi {
|
|
|
10161
10178
|
constructor(conf, namespace) {
|
|
10162
10179
|
this.conf = conf;
|
|
10163
10180
|
this.namespace = namespace;
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10181
|
+
/**
|
|
10182
|
+
* GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
|
|
10183
|
+
*
|
|
10184
|
+
* This API is used to retrieve detailed diff cache.
|
|
10185
|
+
* The response will contains list of diff cache files along with its download url.
|
|
10186
|
+
*
|
|
10187
|
+
* _Required permission_: login user
|
|
10188
|
+
*/
|
|
10189
|
+
this.getDiffCache = (sourceBuildId, destinationBuildId) => {
|
|
10190
|
+
return this.newInstance().fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
|
|
10191
|
+
};
|
|
10174
10192
|
}
|
|
10175
10193
|
newInstance() {
|
|
10176
10194
|
// this is expensive to cache, apply "cache: false"
|
|
@@ -10344,21 +10362,26 @@ class DlcApi {
|
|
|
10344
10362
|
constructor(conf, namespace) {
|
|
10345
10363
|
this.conf = conf;
|
|
10346
10364
|
this.namespace = namespace;
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10365
|
+
/**
|
|
10366
|
+
* GET [/buildinfo/public/namespaces/{namespace}/dlcs/latest/byGameAppId/{appId}](api)
|
|
10367
|
+
*
|
|
10368
|
+
* Retrieve the list of DLC available on specific game. Use game's appId to query.
|
|
10369
|
+
*
|
|
10370
|
+
* _Returns_: list of DLC
|
|
10371
|
+
*/
|
|
10372
|
+
this.getLatestDLCByGameAppId = (appId) => {
|
|
10373
|
+
return this.newInstance().fetchNsDlcsLatestByGameAppIdByAppid(appId);
|
|
10374
|
+
};
|
|
10375
|
+
/**
|
|
10376
|
+
* GET [/buildinfo/public/namespaces/{namespace}/apps/latest/byDLCAppId/{dlcAppId}](api)
|
|
10377
|
+
*
|
|
10378
|
+
* Retrieve the list of DLC available on specific game. Use DLC's appId to query.
|
|
10379
|
+
*
|
|
10380
|
+
* _Returns_: appId of game and list of its builds by platformId
|
|
10381
|
+
*/
|
|
10382
|
+
this.getBaseGamesByDlcAppId = (dlcAppId) => {
|
|
10383
|
+
return this.newInstance().fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId);
|
|
10384
|
+
};
|
|
10362
10385
|
}
|
|
10363
10386
|
newInstance() {
|
|
10364
10387
|
// this is be expensive to cache, apply "cache: false"
|
|
@@ -10725,66 +10748,76 @@ class DownloaderApi {
|
|
|
10725
10748
|
constructor(conf, namespace) {
|
|
10726
10749
|
this.conf = conf;
|
|
10727
10750
|
this.namespace = namespace;
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10751
|
+
/**
|
|
10752
|
+
* GET [/buildinfo/public/namespaces/{namespace}/availablebuilds/{appId}](api)
|
|
10753
|
+
*
|
|
10754
|
+
* This API is used to get simple build manifest that contains list of current build in various platform.
|
|
10755
|
+
*
|
|
10756
|
+
* - _Required permission_: login user
|
|
10757
|
+
* - _Returns_: build manifest
|
|
10758
|
+
*/
|
|
10759
|
+
this.getAvailableBuilds = (appId) => {
|
|
10760
|
+
return this.newInstance().fetchNsAvailablebuildsByAppid(appId);
|
|
10761
|
+
};
|
|
10762
|
+
/**
|
|
10763
|
+
* GET [/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{platformId}](api)
|
|
10764
|
+
*
|
|
10765
|
+
* This API is used to get build manifest of release version of the application.
|
|
10766
|
+
*
|
|
10767
|
+
* - _Required permission_: login user
|
|
10768
|
+
* - _Returns_: build manifest
|
|
10769
|
+
*/
|
|
10770
|
+
this.getBuildManifest = (appId, platformId) => {
|
|
10771
|
+
const axios = Network.create({ ...this.conf, timeout: 1800000 });
|
|
10772
|
+
return new Downloader$(axios, this.namespace, false).fetchNsV2UpdategameByAppidByPlatformid(appId, platformId);
|
|
10773
|
+
};
|
|
10774
|
+
/**
|
|
10775
|
+
* GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
|
|
10776
|
+
*
|
|
10777
|
+
* This API is used to retrieve detailed diff cache.
|
|
10778
|
+
* The response will contains list of diff cache files along with its download url.
|
|
10779
|
+
*
|
|
10780
|
+
* - _Required permission_: login user
|
|
10781
|
+
*/
|
|
10782
|
+
this.getDiffCache = (sourceBuildId, destinationBuildId) => {
|
|
10783
|
+
return new Caching$(Network.create(this.conf), this.namespace, false).fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
|
|
10784
|
+
};
|
|
10785
|
+
/**
|
|
10786
|
+
* Check which platform is available for the user to download the game
|
|
10787
|
+
*
|
|
10788
|
+
* @internal
|
|
10789
|
+
*/
|
|
10790
|
+
this.getMatchPlatform = ({ buildsAvailability, userPlatform }) => {
|
|
10791
|
+
const availablePlatformID = new Set();
|
|
10792
|
+
for (const buildAvailability of buildsAvailability) {
|
|
10793
|
+
if (buildAvailability.platformId) {
|
|
10794
|
+
availablePlatformID.add(buildAvailability.platformId);
|
|
10795
|
+
}
|
|
10766
10796
|
}
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10797
|
+
const currentMatchPlatform = this.getCurrentPlatform(userPlatform);
|
|
10798
|
+
if (currentMatchPlatform) {
|
|
10799
|
+
for (const key in currentMatchPlatform.targetPlatform) {
|
|
10800
|
+
if (availablePlatformID.has(currentMatchPlatform.targetPlatform[key])) {
|
|
10801
|
+
return currentMatchPlatform.targetPlatform[key];
|
|
10802
|
+
}
|
|
10773
10803
|
}
|
|
10774
10804
|
}
|
|
10775
|
-
|
|
10776
|
-
|
|
10805
|
+
return null;
|
|
10806
|
+
};
|
|
10807
|
+
/**
|
|
10808
|
+
* @internal
|
|
10809
|
+
*/
|
|
10810
|
+
this.getCurrentPlatform = (userPlatform) => {
|
|
10811
|
+
const devicePlatform = userPlatform.platform;
|
|
10812
|
+
const deviceArch = userPlatform.arch;
|
|
10813
|
+
const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
|
|
10814
|
+
return currentPlatform;
|
|
10815
|
+
};
|
|
10777
10816
|
}
|
|
10778
10817
|
newInstance() {
|
|
10779
10818
|
// this is be expensive to cache, apply "cache: false"
|
|
10780
10819
|
return new Downloader$(Network.create(this.conf), this.namespace, false);
|
|
10781
10820
|
}
|
|
10782
|
-
getCurrentPlatform(userPlatform) {
|
|
10783
|
-
const devicePlatform = userPlatform.platform;
|
|
10784
|
-
const deviceArch = userPlatform.arch;
|
|
10785
|
-
const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
|
|
10786
|
-
return currentPlatform;
|
|
10787
|
-
}
|
|
10788
10821
|
}
|
|
10789
10822
|
|
|
10790
10823
|
/*
|
|
@@ -10888,6 +10921,8 @@ class EventApi {
|
|
|
10888
10921
|
this.namespace = namespace;
|
|
10889
10922
|
this.cache = cache;
|
|
10890
10923
|
/**
|
|
10924
|
+
* GET [/event/v2/public/namespaces/{namespace}/users/{userId}/edithistory](api)
|
|
10925
|
+
*
|
|
10891
10926
|
* Available Type:
|
|
10892
10927
|
* - email
|
|
10893
10928
|
* - password
|
|
@@ -10896,7 +10931,7 @@ class EventApi {
|
|
|
10896
10931
|
* - country
|
|
10897
10932
|
* - language
|
|
10898
10933
|
*
|
|
10899
|
-
*
|
|
10934
|
+
* _Requires a valid user access token_
|
|
10900
10935
|
*/
|
|
10901
10936
|
this.getAccountHistoryByUserId = ({ userId, queryParams }) => {
|
|
10902
10937
|
return this.newInstance().fetchEventV2NsUsersByUseridEdithistory(userId, queryParams);
|
|
@@ -10990,27 +11025,36 @@ class DataDeletionApi {
|
|
|
10990
11025
|
this.conf = conf;
|
|
10991
11026
|
this.namespace = namespace;
|
|
10992
11027
|
this.cache = cache;
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11028
|
+
/**
|
|
11029
|
+
* GET [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions/status](api)
|
|
11030
|
+
*
|
|
11031
|
+
* Fetch the status to check whether or not a user's account is on a deletion status
|
|
11032
|
+
*
|
|
11033
|
+
* _Requires a valid user access token_
|
|
11034
|
+
*/
|
|
11035
|
+
this.getGdprDeletionStatus = (userId) => {
|
|
11036
|
+
return this.newInstance().fetchGdprNsUsersByUseridDeletionsStatus(userId);
|
|
11037
|
+
};
|
|
11038
|
+
/**
|
|
11039
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
|
|
11040
|
+
*
|
|
11041
|
+
* Request an account's deletion
|
|
11042
|
+
*
|
|
11043
|
+
* _Requires a valid user access token and password_
|
|
11044
|
+
*/
|
|
11045
|
+
this.requestAccountDeletion = ({ userId, data }) => {
|
|
11046
|
+
return this.newInstance().postGdprNsUsersByUseridDeletions(userId, data);
|
|
11047
|
+
};
|
|
11048
|
+
/**
|
|
11049
|
+
* DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
|
|
11050
|
+
*
|
|
11051
|
+
* Cancel a deletion request
|
|
11052
|
+
*
|
|
11053
|
+
* _Requires a valid user access token_
|
|
11054
|
+
*/
|
|
11055
|
+
this.cancelAccountDeletion = (userId) => {
|
|
11056
|
+
return this.newInstance().deleteGdprNsUsersByUseridDeletions(userId);
|
|
11057
|
+
};
|
|
11014
11058
|
}
|
|
11015
11059
|
newInstance() {
|
|
11016
11060
|
return new DataDeletion$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -11131,34 +11175,46 @@ class DataRetrievalApi {
|
|
|
11131
11175
|
this.conf = conf;
|
|
11132
11176
|
this.namespace = namespace;
|
|
11133
11177
|
this.cache = cache;
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11178
|
+
/**
|
|
11179
|
+
* GET [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
|
|
11180
|
+
*
|
|
11181
|
+
* Fetch personal data request list
|
|
11182
|
+
*
|
|
11183
|
+
* _Requires a valid user access token_
|
|
11184
|
+
*/
|
|
11185
|
+
this.getGdprDataRequestList = ({ userId, queryParams }) => {
|
|
11186
|
+
return this.newInstance().fetchGdprNsUsersByUseridRequests(userId, queryParams);
|
|
11187
|
+
};
|
|
11188
|
+
/**
|
|
11189
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
|
|
11190
|
+
*
|
|
11191
|
+
* Create a request for personal data download
|
|
11192
|
+
*
|
|
11193
|
+
* _Requires a valid user access token_
|
|
11194
|
+
*/
|
|
11195
|
+
this.requestGdprData = ({ userId, data }) => {
|
|
11196
|
+
return this.newInstance().postGdprNsUsersByUseridRequests(userId, data);
|
|
11197
|
+
};
|
|
11198
|
+
/**
|
|
11199
|
+
* DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}](api)
|
|
11200
|
+
*
|
|
11201
|
+
* Cancel the request for personal data download
|
|
11202
|
+
*
|
|
11203
|
+
* _Requires a valid user access token_
|
|
11204
|
+
*/
|
|
11205
|
+
this.cancelGdprDataRequest = ({ userId, requestDate }) => {
|
|
11206
|
+
return this.newInstance().deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate);
|
|
11207
|
+
};
|
|
11208
|
+
/**
|
|
11209
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}/generate](api)
|
|
11210
|
+
*
|
|
11211
|
+
* Create a download URL for personal data request
|
|
11212
|
+
*
|
|
11213
|
+
* _Requires a valid user access token_
|
|
11214
|
+
*/
|
|
11215
|
+
this.requestGdprDataDownloadUrl = ({ userId, requestDate, data }) => {
|
|
11216
|
+
return this.newInstance().postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
|
|
11217
|
+
};
|
|
11162
11218
|
}
|
|
11163
11219
|
newInstance() {
|
|
11164
11220
|
return new DataRetrieval$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -11251,10 +11307,11 @@ class InputValidationsApi {
|
|
|
11251
11307
|
this.namespace = namespace;
|
|
11252
11308
|
this.cache = cache;
|
|
11253
11309
|
/**
|
|
11310
|
+
* GET [/iam/v3/public/inputValidations](api)
|
|
11311
|
+
*
|
|
11254
11312
|
* No role required
|
|
11255
11313
|
* This method is to get list of input validation configuration.
|
|
11256
11314
|
* `regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
|
|
11257
|
-
*
|
|
11258
11315
|
*/
|
|
11259
11316
|
this.getValidations = (languageCode, defaultOnEmpty) => {
|
|
11260
11317
|
const queryParams = { languageCode, defaultOnEmpty };
|
|
@@ -11934,28 +11991,12 @@ class DesktopChecker {
|
|
|
11934
11991
|
}
|
|
11935
11992
|
DesktopChecker.desktopApp = DesktopChecker.isElectron();
|
|
11936
11993
|
|
|
11937
|
-
/*
|
|
11938
|
-
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
|
|
11939
|
-
* This is licensed software from AccelByte Inc, for limitations
|
|
11940
|
-
* and restrictions contact your company contract manager.
|
|
11941
|
-
*/
|
|
11942
|
-
class BrowserHelper {
|
|
11943
|
-
}
|
|
11944
|
-
BrowserHelper.isOnBrowser = () => {
|
|
11945
|
-
return typeof window !== 'undefined' && window.document;
|
|
11946
|
-
};
|
|
11947
|
-
|
|
11948
|
-
/*
|
|
11949
|
-
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
|
|
11950
|
-
* This is licensed software from AccelByte Inc, for limitations
|
|
11951
|
-
* and restrictions contact your company contract manager.
|
|
11952
|
-
*/
|
|
11953
11994
|
class RefreshSession {
|
|
11954
11995
|
}
|
|
11955
11996
|
// --
|
|
11956
11997
|
RefreshSession.KEY = 'RefreshSession.lock';
|
|
11957
11998
|
RefreshSession.isLocked = () => {
|
|
11958
|
-
if (!
|
|
11999
|
+
if (!UrlHelper.isOnBrowser())
|
|
11959
12000
|
return false;
|
|
11960
12001
|
const lockStatus = localStorage.getItem(RefreshSession.KEY);
|
|
11961
12002
|
if (!lockStatus) {
|
|
@@ -11968,12 +12009,12 @@ RefreshSession.isLocked = () => {
|
|
|
11968
12009
|
return lockExpiry > new Date().getTime();
|
|
11969
12010
|
};
|
|
11970
12011
|
RefreshSession.lock = (expiry) => {
|
|
11971
|
-
if (!
|
|
12012
|
+
if (!UrlHelper.isOnBrowser())
|
|
11972
12013
|
return;
|
|
11973
12014
|
localStorage.setItem(RefreshSession.KEY, `${new Date().getTime() + expiry}`);
|
|
11974
12015
|
};
|
|
11975
12016
|
RefreshSession.unlock = () => {
|
|
11976
|
-
if (!
|
|
12017
|
+
if (!UrlHelper.isOnBrowser())
|
|
11977
12018
|
return;
|
|
11978
12019
|
localStorage.removeItem(RefreshSession.KEY);
|
|
11979
12020
|
};
|
|
@@ -18878,12 +18919,12 @@ CodeChallenge.load = () => {
|
|
|
18878
18919
|
return parseStoredState(localStorage.getItem('pp:pkce:cd') || '');
|
|
18879
18920
|
};
|
|
18880
18921
|
CodeChallenge.save = (codeVerifier) => {
|
|
18881
|
-
if (
|
|
18922
|
+
if (UrlHelper.isOnBrowser()) {
|
|
18882
18923
|
localStorage.setItem('pp:pkce:cd', stringifyStoredState(codeVerifier));
|
|
18883
18924
|
}
|
|
18884
18925
|
};
|
|
18885
18926
|
CodeChallenge.clear = () => {
|
|
18886
|
-
if (
|
|
18927
|
+
if (UrlHelper.isOnBrowser()) {
|
|
18887
18928
|
localStorage.removeItem('pp:pkce:cd');
|
|
18888
18929
|
}
|
|
18889
18930
|
};
|
|
@@ -18918,7 +18959,7 @@ const stringifyStoredState = (storedState) => {
|
|
|
18918
18959
|
};
|
|
18919
18960
|
|
|
18920
18961
|
/*
|
|
18921
|
-
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
|
|
18962
|
+
* Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
|
|
18922
18963
|
* This is licensed software from AccelByte Inc, for limitations
|
|
18923
18964
|
* and restrictions contact your company contract manager.
|
|
18924
18965
|
*/
|
|
@@ -18953,6 +18994,9 @@ class UrlHelper {
|
|
|
18953
18994
|
return new URL(pathname, origin).toString();
|
|
18954
18995
|
}
|
|
18955
18996
|
}
|
|
18997
|
+
UrlHelper.isOnBrowser = () => {
|
|
18998
|
+
return typeof window !== 'undefined' && window.document;
|
|
18999
|
+
};
|
|
18956
19000
|
UrlHelper.isCompleteURLString = (urlString) => {
|
|
18957
19001
|
try {
|
|
18958
19002
|
const url = new URL(urlString);
|
|
@@ -20230,6 +20274,8 @@ class UserAuthorizationApi {
|
|
|
20230
20274
|
this.cache = cache;
|
|
20231
20275
|
this.options = options;
|
|
20232
20276
|
/**
|
|
20277
|
+
* POST: [/iam/v3/oauth/token](api)
|
|
20278
|
+
*
|
|
20233
20279
|
* This method supports grant type:
|
|
20234
20280
|
* - Grant Type == `authorization_code`:
|
|
20235
20281
|
* It generates the user token by given the authorization
|
|
@@ -20336,24 +20382,58 @@ class UserAuthorizationApi {
|
|
|
20336
20382
|
CodeChallenge.clear();
|
|
20337
20383
|
return { ...result, mfaData };
|
|
20338
20384
|
};
|
|
20385
|
+
/**
|
|
20386
|
+
* @internal
|
|
20387
|
+
*/
|
|
20339
20388
|
this.getMfaDataFromError = (errorResponse) => {
|
|
20340
20389
|
const doesMFADataExist = Validate.safeParse(errorResponse.data, MFADataResponse);
|
|
20341
20390
|
if (!doesMFADataExist)
|
|
20342
20391
|
return;
|
|
20343
20392
|
const { mfa_token: mfaToken, factors, default_factor: defaultFactor, email } = errorResponse.data;
|
|
20344
20393
|
const result = { mfaToken, factors, defaultFactor, email };
|
|
20345
|
-
if (
|
|
20394
|
+
if (UrlHelper.isOnBrowser()) {
|
|
20346
20395
|
localStorage.setItem(MFA_DATA_STORAGE_KEY, JSON.stringify(result));
|
|
20347
20396
|
}
|
|
20348
20397
|
return result;
|
|
20349
20398
|
};
|
|
20399
|
+
/**
|
|
20400
|
+
* @internal
|
|
20401
|
+
*/
|
|
20350
20402
|
this.getMfaDataFromStorage = () => {
|
|
20351
|
-
const storedMFAData =
|
|
20403
|
+
const storedMFAData = UrlHelper.isOnBrowser() && localStorage.getItem(MFA_DATA_STORAGE_KEY);
|
|
20352
20404
|
return storedMFAData ? JSON.parse(storedMFAData) : null;
|
|
20353
20405
|
};
|
|
20406
|
+
/**
|
|
20407
|
+
* @internal
|
|
20408
|
+
*/
|
|
20354
20409
|
this.removeMfaDataFromStorage = () => {
|
|
20355
20410
|
localStorage.removeItem(MFA_DATA_STORAGE_KEY);
|
|
20356
20411
|
};
|
|
20412
|
+
/**
|
|
20413
|
+
* @internal
|
|
20414
|
+
*/
|
|
20415
|
+
this.matchReceivedState = (maybeSentState) => {
|
|
20416
|
+
const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
|
|
20417
|
+
if (sentStateResult.error)
|
|
20418
|
+
return { error: sentStateResult.error, result: null };
|
|
20419
|
+
const storedStateResult = CodeChallenge.load();
|
|
20420
|
+
if (storedStateResult.error)
|
|
20421
|
+
return { error: storedStateResult.error, result: null };
|
|
20422
|
+
const sentState = sentStateResult.sentState;
|
|
20423
|
+
const storedState = storedStateResult.storedState;
|
|
20424
|
+
if (sentState.csrf !== storedState.csrf)
|
|
20425
|
+
return { error: null, result: null };
|
|
20426
|
+
return {
|
|
20427
|
+
error: null,
|
|
20428
|
+
result: {
|
|
20429
|
+
payload: sentState.payload,
|
|
20430
|
+
codeVerifier: storedState.codeVerifier
|
|
20431
|
+
}
|
|
20432
|
+
};
|
|
20433
|
+
};
|
|
20434
|
+
/**
|
|
20435
|
+
* @internal
|
|
20436
|
+
*/
|
|
20357
20437
|
this.deduceLoginError = (error) => {
|
|
20358
20438
|
switch (error) {
|
|
20359
20439
|
case LoginErrorParam.Enum.login_session_expired:
|
|
@@ -20395,6 +20475,11 @@ class UserAuthorizationApi {
|
|
|
20395
20475
|
returnPath
|
|
20396
20476
|
};
|
|
20397
20477
|
};
|
|
20478
|
+
/**
|
|
20479
|
+
* GET [/iam/v3/oauth/authorize](api)
|
|
20480
|
+
*
|
|
20481
|
+
* Creates a URL to be used for Login, Register, Link to existing account or Twitch Link
|
|
20482
|
+
*/
|
|
20398
20483
|
this.createLoginURL = (returnPath, targetAuthPage, oneTimeLinkCode) => {
|
|
20399
20484
|
const { verifier, challenge } = CodeChallenge.generateChallenge();
|
|
20400
20485
|
const csrf = CodeChallenge.generateCsrf();
|
|
@@ -20418,6 +20503,11 @@ class UserAuthorizationApi {
|
|
|
20418
20503
|
const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
|
|
20419
20504
|
return url.toString();
|
|
20420
20505
|
};
|
|
20506
|
+
/**
|
|
20507
|
+
* GET [/iam/v3/oauth/authorize](api)
|
|
20508
|
+
*
|
|
20509
|
+
* Creates a URL to be used for password recovery
|
|
20510
|
+
*/
|
|
20421
20511
|
this.createForgotPasswordURL = () => {
|
|
20422
20512
|
const { verifier, challenge } = CodeChallenge.generateChallenge();
|
|
20423
20513
|
const csrf = CodeChallenge.generateCsrf();
|
|
@@ -20436,9 +20526,15 @@ class UserAuthorizationApi {
|
|
|
20436
20526
|
const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
|
|
20437
20527
|
return url.toString();
|
|
20438
20528
|
};
|
|
20529
|
+
/**
|
|
20530
|
+
* @internal
|
|
20531
|
+
*/
|
|
20439
20532
|
this.getCodeChallenge = () => {
|
|
20440
20533
|
return CodeChallenge.generateChallenge();
|
|
20441
20534
|
};
|
|
20535
|
+
/**
|
|
20536
|
+
* @internal
|
|
20537
|
+
*/
|
|
20442
20538
|
this.refreshToken = () => {
|
|
20443
20539
|
const { clientId, refreshToken } = this.options;
|
|
20444
20540
|
if (DesktopChecker.isDesktopApp()) {
|
|
@@ -20446,6 +20542,9 @@ class UserAuthorizationApi {
|
|
|
20446
20542
|
}
|
|
20447
20543
|
return refreshWithLock({ axiosConfig: this.conf, clientId });
|
|
20448
20544
|
};
|
|
20545
|
+
/**
|
|
20546
|
+
* @internal
|
|
20547
|
+
*/
|
|
20449
20548
|
this.getSearchParams = (sentState, challenge) => {
|
|
20450
20549
|
const searchParams = new URLSearchParams();
|
|
20451
20550
|
searchParams.append('response_type', 'code');
|
|
@@ -20457,25 +20556,6 @@ class UserAuthorizationApi {
|
|
|
20457
20556
|
return searchParams;
|
|
20458
20557
|
};
|
|
20459
20558
|
}
|
|
20460
|
-
matchReceivedState(maybeSentState) {
|
|
20461
|
-
const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
|
|
20462
|
-
if (sentStateResult.error)
|
|
20463
|
-
return { error: sentStateResult.error, result: null };
|
|
20464
|
-
const storedStateResult = CodeChallenge.load();
|
|
20465
|
-
if (storedStateResult.error)
|
|
20466
|
-
return { error: storedStateResult.error, result: null };
|
|
20467
|
-
const sentState = sentStateResult.sentState;
|
|
20468
|
-
const storedState = storedStateResult.storedState;
|
|
20469
|
-
if (sentState.csrf !== storedState.csrf)
|
|
20470
|
-
return { error: null, result: null };
|
|
20471
|
-
return {
|
|
20472
|
-
error: null,
|
|
20473
|
-
result: {
|
|
20474
|
-
payload: sentState.payload,
|
|
20475
|
-
codeVerifier: storedState.codeVerifier
|
|
20476
|
-
}
|
|
20477
|
-
};
|
|
20478
|
-
}
|
|
20479
20559
|
}
|
|
20480
20560
|
function isAxiosError(error) {
|
|
20481
20561
|
return !!error && !!error.config;
|
|
@@ -20884,6 +20964,14 @@ class OAuthApi {
|
|
|
20884
20964
|
this.cache = cache;
|
|
20885
20965
|
this.options = options;
|
|
20886
20966
|
/**
|
|
20967
|
+
* @internal
|
|
20968
|
+
*/
|
|
20969
|
+
this.newOAuth20Extension = () => {
|
|
20970
|
+
return new OAuth20Extension$(Network.create(this.conf), this.namespace, this.cache);
|
|
20971
|
+
};
|
|
20972
|
+
/**
|
|
20973
|
+
* POST [/iam/v3/logout](api)
|
|
20974
|
+
*
|
|
20887
20975
|
* This method is used to remove __access_token__, __refresh_token__ from cookie and revoke token from usage.
|
|
20888
20976
|
* Supported methods:
|
|
20889
20977
|
* - VerifyToken to verify token from header
|
|
@@ -20899,6 +20987,8 @@ class OAuthApi {
|
|
|
20899
20987
|
return new OAuth20Extension$(axios, this.namespace, this.cache).postIamV3Logout();
|
|
20900
20988
|
};
|
|
20901
20989
|
/**
|
|
20990
|
+
* POST [/iam/v3/oauth/revoke](api)
|
|
20991
|
+
*
|
|
20902
20992
|
* This method revokes a token.
|
|
20903
20993
|
* This method requires authorized requests header with Basic Authentication from client that establish the token.action code: 10706
|
|
20904
20994
|
*/
|
|
@@ -20914,6 +21004,8 @@ class OAuthApi {
|
|
|
20914
21004
|
return new OAuth20$(axios, this.namespace, this.cache).postIamV3OauthRevoke({ token });
|
|
20915
21005
|
};
|
|
20916
21006
|
/**
|
|
21007
|
+
* POST [/iam/v3/oauth/mfa/verify](api)
|
|
21008
|
+
*
|
|
20917
21009
|
* Verify 2FA code
|
|
20918
21010
|
* This method is used for verifying 2FA code.
|
|
20919
21011
|
* ##2FA remember device
|
|
@@ -20929,6 +21021,9 @@ class OAuthApi {
|
|
|
20929
21021
|
localStorage.removeItem(MFA_DATA_STORAGE_KEY);
|
|
20930
21022
|
return result.response;
|
|
20931
21023
|
};
|
|
21024
|
+
/**
|
|
21025
|
+
* POST [/iam/v3/oauth/mfa/code](api)
|
|
21026
|
+
*/
|
|
20932
21027
|
this.request2FAEmailCode = async ({ mfaToken = null, factor }) => {
|
|
20933
21028
|
const result = await this.newInstance().postIamV3OauthMfaCode({ mfaToken, clientId: this.options.clientId, factor });
|
|
20934
21029
|
if (result.error)
|
|
@@ -20936,12 +21031,16 @@ class OAuthApi {
|
|
|
20936
21031
|
return result.response;
|
|
20937
21032
|
};
|
|
20938
21033
|
/**
|
|
21034
|
+
* GET [/iam/v3/location/country](api)
|
|
21035
|
+
*
|
|
20939
21036
|
* This method get country location based on the request.
|
|
20940
21037
|
*/
|
|
20941
21038
|
this.getCurrentLocationCountry = () => {
|
|
20942
21039
|
return this.newOAuth20Extension().fetchIamV3LocationCountry();
|
|
20943
21040
|
};
|
|
20944
21041
|
/**
|
|
21042
|
+
* GET [/iam/v3/oauth/namespaces/{namespace}/users/{userId}/platforms/{platformId}/platformToken](api)
|
|
21043
|
+
*
|
|
20945
21044
|
* Retrieve User Third Party Platform Token
|
|
20946
21045
|
*
|
|
20947
21046
|
* This method used for retrieving third party platform token for user that login using third party,
|
|
@@ -20961,6 +21060,8 @@ class OAuthApi {
|
|
|
20961
21060
|
return this.newInstance().fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken(userId, platformId);
|
|
20962
21061
|
};
|
|
20963
21062
|
/**
|
|
21063
|
+
* POST [/iam/v3/authenticateWithLink](api)
|
|
21064
|
+
*
|
|
20964
21065
|
* This method is being used to authenticate a user account and perform platform link.
|
|
20965
21066
|
* It validates user's email / username and password.
|
|
20966
21067
|
* If user already enable 2FA, then invoke _/mfa/verify_ using __mfa_token__ from this method response.
|
|
@@ -20975,31 +21076,27 @@ class OAuthApi {
|
|
|
20975
21076
|
this.authenticateWithLink = (data) => {
|
|
20976
21077
|
return this.newOAuth20Extension().postIamV3AuthenticateWithLink(data);
|
|
20977
21078
|
};
|
|
20978
|
-
|
|
20979
|
-
|
|
20980
|
-
|
|
20981
|
-
|
|
20982
|
-
|
|
20983
|
-
|
|
20984
|
-
|
|
20985
|
-
|
|
20986
|
-
|
|
20987
|
-
|
|
20988
|
-
|
|
20989
|
-
|
|
20990
|
-
|
|
20991
|
-
|
|
20992
|
-
|
|
20993
|
-
|
|
20994
|
-
|
|
20995
|
-
|
|
20996
|
-
|
|
20997
|
-
|
|
20998
|
-
|
|
20999
|
-
*
|
|
21000
|
-
*/
|
|
21001
|
-
exchangeTokenByOneTimeLinkCode(data) {
|
|
21002
|
-
return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
|
|
21079
|
+
/**
|
|
21080
|
+
* POST [/iam/v3/link/code/validate](api)
|
|
21081
|
+
*
|
|
21082
|
+
* This method is being used to validate one time link code.
|
|
21083
|
+
* It require a valid user token.
|
|
21084
|
+
* Should specify the target platform id and current user should already linked to this platform.
|
|
21085
|
+
* Current user should be a headless account.
|
|
21086
|
+
*/
|
|
21087
|
+
this.validateOneTimeLinkCode = (data) => {
|
|
21088
|
+
return this.newOAuth20Extension().postIamV3LinkCodeValidate(data);
|
|
21089
|
+
};
|
|
21090
|
+
/**
|
|
21091
|
+
* POST [/iam/v3/link/token/exchange](api)
|
|
21092
|
+
*
|
|
21093
|
+
* This method is being used to generate user's token by one time link code.
|
|
21094
|
+
* It require publisher ClientID
|
|
21095
|
+
* It required a code which can be generated from __/iam/v3/link/code/request__.
|
|
21096
|
+
*/
|
|
21097
|
+
this.exchangeTokenByOneTimeLinkCode = (data) => {
|
|
21098
|
+
return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
|
|
21099
|
+
};
|
|
21003
21100
|
}
|
|
21004
21101
|
newInstance() {
|
|
21005
21102
|
return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -21078,6 +21175,8 @@ class ThirdPartyCredentialApi {
|
|
|
21078
21175
|
this.namespace = namespace;
|
|
21079
21176
|
this.cache = cache;
|
|
21080
21177
|
/**
|
|
21178
|
+
* GET [/iam/v3/public/namespaces/{namespace}/platforms/clients/active](api)
|
|
21179
|
+
*
|
|
21081
21180
|
* This is the Public API to Get All Active 3rd Platform Credential.
|
|
21082
21181
|
*/
|
|
21083
21182
|
this.getThirdPartyPlatformInfo = () => {
|
|
@@ -21579,85 +21678,112 @@ class TwoFA {
|
|
|
21579
21678
|
this.namespace = namespace;
|
|
21580
21679
|
this.cache = cache;
|
|
21581
21680
|
/**
|
|
21681
|
+
* GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
|
|
21682
|
+
*
|
|
21582
21683
|
* This method is used to get 8-digits backup codes.
|
|
21583
21684
|
* Each code is a one-time code and will be deleted once used.
|
|
21584
|
-
* This method Requires valid user access token
|
|
21585
21685
|
*
|
|
21686
|
+
* _Requires a valid user access token_
|
|
21586
21687
|
*/
|
|
21587
21688
|
this.getBackupCode = () => {
|
|
21588
21689
|
return this.newInstance().fetchV4NsUsersMeMfaBackupCode();
|
|
21589
21690
|
};
|
|
21590
21691
|
/**
|
|
21692
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable](api)
|
|
21693
|
+
*
|
|
21591
21694
|
* This method is used to enable 2FA backup codes.
|
|
21592
|
-
* This method Requires valid user access token
|
|
21593
21695
|
*
|
|
21696
|
+
* _Requires a valid user access token_
|
|
21594
21697
|
*/
|
|
21595
21698
|
this.enable2FABackupCodes = () => {
|
|
21596
21699
|
return this.newInstance().postV4NsUsersMeMfaBackupCodeEnable();
|
|
21597
21700
|
};
|
|
21598
21701
|
/**
|
|
21702
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
|
|
21703
|
+
*
|
|
21599
21704
|
* This method is used to enable 2FA backup codes.
|
|
21600
|
-
* This method Requires valid user access token
|
|
21601
21705
|
*
|
|
21706
|
+
* _Requires a valid user access token_
|
|
21602
21707
|
*/
|
|
21603
21708
|
this.generateBackupCodes = () => {
|
|
21604
21709
|
return this.newInstance().postV4NsUsersMeMfaBackupCode();
|
|
21605
21710
|
};
|
|
21606
21711
|
/**
|
|
21712
|
+
* DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable](api)
|
|
21713
|
+
*
|
|
21607
21714
|
* This method is used to enable 2FA backup codes.
|
|
21608
|
-
* This method Requires valid user access token
|
|
21609
21715
|
*
|
|
21716
|
+
* _Requires a valid user access token_
|
|
21610
21717
|
*/
|
|
21611
21718
|
this.disableBackupCodes = () => {
|
|
21612
21719
|
return this.newInstance().deleteV4NsUsersMeMfaBackupCodeDisable();
|
|
21613
21720
|
};
|
|
21614
21721
|
/**
|
|
21722
|
+
* DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/disable](api)
|
|
21723
|
+
* }
|
|
21615
21724
|
* This method is used to disable 2FA authenticator.
|
|
21616
|
-
* This method Requires valid user access token
|
|
21617
21725
|
*
|
|
21726
|
+
* _Requires a valid user access token_
|
|
21618
21727
|
*/
|
|
21619
21728
|
this.disableAuthenticator = () => {
|
|
21620
21729
|
return this.newInstance().deleteV4NsUsersMeMfaAuthenticatorDisable();
|
|
21621
21730
|
};
|
|
21622
21731
|
/**
|
|
21732
|
+
* GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
|
|
21733
|
+
*
|
|
21623
21734
|
* This method is used to get user enabled factors.
|
|
21624
|
-
* This method Requires valid user access token
|
|
21625
21735
|
*
|
|
21736
|
+
* _Requires a valid user access token_
|
|
21626
21737
|
*/
|
|
21627
21738
|
this.getEnabledMethods = () => {
|
|
21628
21739
|
return this.newInstance().fetchV4NsUsersMeMfaFactor();
|
|
21629
21740
|
};
|
|
21630
21741
|
/**
|
|
21742
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
|
|
21743
|
+
*
|
|
21631
21744
|
* This method is used to make 2FA factor default.
|
|
21632
|
-
* This method Requires valid user access token
|
|
21633
21745
|
*
|
|
21746
|
+
* _Requires a valid user access token_
|
|
21634
21747
|
*/
|
|
21635
21748
|
this.set2FAAsDefault = (factor) => {
|
|
21636
21749
|
return this.newInstance().postV4NsUsersMeMfaFactor({ factor });
|
|
21637
21750
|
};
|
|
21638
21751
|
/**
|
|
21752
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/enable](api)
|
|
21753
|
+
*
|
|
21639
21754
|
* This method is used to enable 2FA authenticator.
|
|
21640
|
-
* This method Requires valid user access token
|
|
21641
21755
|
*
|
|
21756
|
+
* _Requires a valid user access token_
|
|
21642
21757
|
*/
|
|
21643
21758
|
this.enable2FAAuthenticator = (code) => {
|
|
21644
21759
|
return this.newInstance().postV4NsUsersMeMfaAuthenticatorEnable({ code });
|
|
21645
21760
|
};
|
|
21646
21761
|
/**
|
|
21762
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/key](api)
|
|
21763
|
+
*
|
|
21647
21764
|
* This method is used to generate a secret key for 3rd-party authenticator app.
|
|
21648
21765
|
* A QR code URI is also returned so that frontend can generate QR code image.
|
|
21649
|
-
* This method Requires valid user access token
|
|
21650
21766
|
*
|
|
21767
|
+
* _Requires a valid user access token_
|
|
21651
21768
|
*/
|
|
21652
21769
|
this.generateSecretKey = () => {
|
|
21653
21770
|
return this.newInstance().postV4NsUsersMeMfaAuthenticatorKey();
|
|
21654
21771
|
};
|
|
21772
|
+
/**
|
|
21773
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code](api)
|
|
21774
|
+
*/
|
|
21655
21775
|
this.requestEmailCode = () => {
|
|
21656
21776
|
return this.newInstance().postV4NsUsersMeMfaEmailCode();
|
|
21657
21777
|
};
|
|
21778
|
+
/**
|
|
21779
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable](api)
|
|
21780
|
+
*/
|
|
21658
21781
|
this.enableEmailMethod = (code) => {
|
|
21659
21782
|
return this.newInstance().postV4NsUsersMeMfaEmailEnable({ code });
|
|
21660
21783
|
};
|
|
21784
|
+
/**
|
|
21785
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable](api)
|
|
21786
|
+
*/
|
|
21661
21787
|
this.disableEmailMethod = () => {
|
|
21662
21788
|
return this.newInstance().postV4NsUsersMeMfaEmailDisable();
|
|
21663
21789
|
};
|
|
@@ -22871,30 +22997,40 @@ class UserApi {
|
|
|
22871
22997
|
this.namespace = namespace;
|
|
22872
22998
|
this.cache = cache;
|
|
22873
22999
|
/**
|
|
22874
|
-
*
|
|
23000
|
+
* GET [/iam/v3/public/users/me](api)
|
|
23001
|
+
*
|
|
23002
|
+
* get currently logged-in user
|
|
22875
23003
|
*/
|
|
22876
23004
|
this.getCurrentUser = () => {
|
|
22877
23005
|
return this.newInstance().fetchIamV3PublicUsersMe();
|
|
22878
23006
|
};
|
|
22879
23007
|
/**
|
|
22880
|
-
*
|
|
23008
|
+
* PATCH [/iam/v3/public/namespaces/{namespace}/users/me](api)
|
|
23009
|
+
*
|
|
23010
|
+
* Update current user
|
|
22881
23011
|
*/
|
|
22882
23012
|
this.updateUserMe = (data) => {
|
|
22883
23013
|
return this.newInstance().patchV3NsUsersMe(data);
|
|
22884
23014
|
};
|
|
22885
23015
|
/**
|
|
23016
|
+
* PUT [/iam/v4/public/namespaces/{namespace}/users/me/email](api)
|
|
23017
|
+
*
|
|
22886
23018
|
* update current user's email
|
|
22887
23019
|
*/
|
|
22888
23020
|
this.updateEmailMe = (data) => {
|
|
22889
23021
|
return this.newInstance4().putV4NsUsersMeEmail(data);
|
|
22890
23022
|
};
|
|
22891
23023
|
/**
|
|
23024
|
+
* PUT [/iam/v3/public/namespaces/{namespace}/users/me/password](api)
|
|
23025
|
+
*
|
|
22892
23026
|
* update current user's password
|
|
22893
23027
|
*/
|
|
22894
23028
|
this.updatePasswordMe = (data) => {
|
|
22895
23029
|
return this.newInstance().putV3NsUsersMePassword(data);
|
|
22896
23030
|
};
|
|
22897
23031
|
/**
|
|
23032
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/code/request](api)
|
|
23033
|
+
*
|
|
22898
23034
|
* Required valid user authorization
|
|
22899
23035
|
* The verification code is sent to email address
|
|
22900
23036
|
* Available contexts for use :
|
|
@@ -22917,6 +23053,8 @@ class UserApi {
|
|
|
22917
23053
|
return this.newInstance().postV3NsUsersMeCodeRequest(data);
|
|
22918
23054
|
};
|
|
22919
23055
|
/**
|
|
23056
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/code/verify](api)
|
|
23057
|
+
*
|
|
22920
23058
|
* Will consume code if validateOnly is set false
|
|
22921
23059
|
* Required valid user authorization
|
|
22922
23060
|
* Redeems a verification code sent to a user to verify the user's contact address is correct
|
|
@@ -22928,6 +23066,8 @@ class UserApi {
|
|
|
22928
23066
|
return this.newInstance().postV3NsUsersMeCodeVerify(data);
|
|
22929
23067
|
};
|
|
22930
23068
|
/**
|
|
23069
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/headless/code/verify](api)
|
|
23070
|
+
*
|
|
22931
23071
|
* If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded
|
|
22932
23072
|
* Require valid user access token.
|
|
22933
23073
|
* The method upgrades a headless account by linking the headless account with the email address and the password.
|
|
@@ -22947,6 +23087,8 @@ class UserApi {
|
|
|
22947
23087
|
return this.newInstance().postV3NsUsersMeHeadlessCodeVerify(data);
|
|
22948
23088
|
};
|
|
22949
23089
|
/**
|
|
23090
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify](api)
|
|
23091
|
+
*
|
|
22950
23092
|
* Require valid user access token.
|
|
22951
23093
|
* The method upgrades a headless account by linking the headless account with the email address, username, and password.
|
|
22952
23094
|
* By upgrading the headless account into a full account, the user could use the email address, username, and password for using Justice IAM.
|
|
@@ -22966,13 +23108,17 @@ class UserApi {
|
|
|
22966
23108
|
return this.newInstance4().postV4NsUsersMeHeadlessCodeVerify(data);
|
|
22967
23109
|
};
|
|
22968
23110
|
/**
|
|
23111
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
|
|
23112
|
+
*
|
|
22969
23113
|
* This method retrieves platform accounts linked to user. Required valid user authorization.
|
|
22970
|
-
*
|
|
23114
|
+
* action code: 10128
|
|
22971
23115
|
*/
|
|
22972
23116
|
this.getUserLinkedPlatform = (userId) => {
|
|
22973
23117
|
return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
|
|
22974
23118
|
};
|
|
22975
23119
|
/**
|
|
23120
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
|
|
23121
|
+
*
|
|
22976
23122
|
* Required valid user authorization.
|
|
22977
23123
|
* __Prerequisite:__
|
|
22978
23124
|
* Platform client configuration need to be added to database for specific platformId. Namespace service URL need to be specified (refer to required environment variables).
|
|
@@ -23002,22 +23148,26 @@ class UserApi {
|
|
|
23002
23148
|
return this.newInstance().postV3NsUsersMePlatformsByPlatformid(platformId, data);
|
|
23003
23149
|
};
|
|
23004
23150
|
/**
|
|
23151
|
+
* GET [/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status](api)
|
|
23152
|
+
*
|
|
23005
23153
|
* Get the linking status between a third-party platform to a user
|
|
23006
23154
|
*/
|
|
23007
23155
|
this.getLinkRequestStatus = (requestId) => {
|
|
23008
23156
|
return this.newInstance().fetchV3NsRequestsByRequestidAsyncStatus(requestId);
|
|
23009
23157
|
};
|
|
23010
23158
|
/**
|
|
23159
|
+
* @internal
|
|
23011
23160
|
* It is going to be __DEPRECATED__.
|
|
23012
23161
|
* Update Platform Account relation to current User Account.
|
|
23013
23162
|
* Note: Game progression data (statistics, reward, etc) associated with previous User Account will not be
|
|
23014
23163
|
* transferred. If the data is tight to game user ID, the user will have the game progression data.
|
|
23015
|
-
*
|
|
23016
23164
|
*/
|
|
23017
23165
|
this.linkPlatformToUserAccount = ({ userId, data }) => {
|
|
23018
23166
|
return this.newInstance().postV3NsUsersByUseridPlatformsLink(userId, data);
|
|
23019
23167
|
};
|
|
23020
23168
|
/**
|
|
23169
|
+
* DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
|
|
23170
|
+
*
|
|
23021
23171
|
* Required valid user authorization.
|
|
23022
23172
|
* ##Supported platforms:
|
|
23023
23173
|
*
|
|
@@ -23050,110 +23200,123 @@ class UserApi {
|
|
|
23050
23200
|
return this.newInstance().deleteV3NsUsersMePlatformsByPlatformid(platformId, data);
|
|
23051
23201
|
};
|
|
23052
23202
|
/**
|
|
23203
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link](api)
|
|
23204
|
+
*
|
|
23053
23205
|
* This method is used to generate third party login page which will redirected to establish method.
|
|
23054
23206
|
*/
|
|
23055
23207
|
this.getThirdPartyURL = ({ platformId, queryParams }) => {
|
|
23056
23208
|
return this.newInstance().fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams);
|
|
23057
23209
|
};
|
|
23058
23210
|
/**
|
|
23211
|
+
* GET [/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}](api)
|
|
23212
|
+
*
|
|
23059
23213
|
* Get age restriction by country code. It will always get by publisher namespace
|
|
23060
23214
|
*/
|
|
23061
23215
|
this.getAgeRestrictionByCountry = (countryCode) => {
|
|
23062
23216
|
return this.newInstance().fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode);
|
|
23063
23217
|
};
|
|
23064
|
-
|
|
23065
|
-
|
|
23066
|
-
|
|
23067
|
-
|
|
23068
|
-
|
|
23069
|
-
|
|
23070
|
-
|
|
23071
|
-
|
|
23072
|
-
|
|
23073
|
-
|
|
23074
|
-
|
|
23075
|
-
|
|
23076
|
-
|
|
23077
|
-
|
|
23078
|
-
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
|
|
23086
|
-
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
|
-
|
|
23092
|
-
|
|
23093
|
-
|
|
23094
|
-
|
|
23095
|
-
|
|
23096
|
-
|
|
23097
|
-
|
|
23098
|
-
|
|
23099
|
-
|
|
23100
|
-
|
|
23101
|
-
|
|
23102
|
-
|
|
23103
|
-
|
|
23104
|
-
|
|
23105
|
-
|
|
23106
|
-
|
|
23107
|
-
|
|
23108
|
-
|
|
23109
|
-
|
|
23110
|
-
|
|
23111
|
-
|
|
23112
|
-
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
23117
|
-
|
|
23118
|
-
|
|
23119
|
-
|
|
23120
|
-
|
|
23121
|
-
|
|
23122
|
-
|
|
23123
|
-
|
|
23124
|
-
|
|
23125
|
-
|
|
23126
|
-
|
|
23127
|
-
|
|
23128
|
-
|
|
23129
|
-
|
|
23130
|
-
|
|
23131
|
-
|
|
23132
|
-
|
|
23133
|
-
|
|
23134
|
-
|
|
23135
|
-
|
|
23136
|
-
|
|
23137
|
-
|
|
23138
|
-
|
|
23139
|
-
|
|
23140
|
-
|
|
23141
|
-
|
|
23142
|
-
|
|
23143
|
-
|
|
23144
|
-
|
|
23145
|
-
|
|
23146
|
-
|
|
23147
|
-
|
|
23148
|
-
|
|
23149
|
-
|
|
23150
|
-
|
|
23151
|
-
|
|
23152
|
-
|
|
23153
|
-
|
|
23154
|
-
|
|
23155
|
-
|
|
23156
|
-
|
|
23218
|
+
/**
|
|
23219
|
+
* Render 2D Avatar via readyplayer.me POST [](https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
|
|
23220
|
+
* @internal
|
|
23221
|
+
*/
|
|
23222
|
+
this.renderImageFromGlbModel = (data) => {
|
|
23223
|
+
const axios = Network.create({
|
|
23224
|
+
...this.conf
|
|
23225
|
+
});
|
|
23226
|
+
return Validate.responseType(() => axios.post('https://render.readyplayer.me/render', data), ReadyPlayerMe);
|
|
23227
|
+
};
|
|
23228
|
+
/**
|
|
23229
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/code/request](api)
|
|
23230
|
+
*
|
|
23231
|
+
* This method will validate the request's email address.
|
|
23232
|
+
*
|
|
23233
|
+
* If it already been used, will response 409.
|
|
23234
|
+
*
|
|
23235
|
+
* If it is available, we will send a verification code to this email address.
|
|
23236
|
+
*/
|
|
23237
|
+
this.requestNewUserVerificationCode = (data) => {
|
|
23238
|
+
return this.newInstance().postV3NsUsersCodeRequest(data);
|
|
23239
|
+
};
|
|
23240
|
+
/**
|
|
23241
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users](api)
|
|
23242
|
+
*
|
|
23243
|
+
* Create a new user with unique email address and username.
|
|
23244
|
+
*
|
|
23245
|
+
* __Required attributes:__
|
|
23246
|
+
* - authType: possible value is EMAILPASSWD
|
|
23247
|
+
* - emailAddress: Please refer to the rule from /v3/public/inputValidations API.
|
|
23248
|
+
* - username: Please refer to the rule from /v3/public/inputValidations API.
|
|
23249
|
+
* - password: Please refer to the rule from /v3/public/inputValidations API.
|
|
23250
|
+
* - country: ISO3166-1 alpha-2 two letter, e.g. US.
|
|
23251
|
+
* - dateOfBirth: YYYY-MM-DD, e.g. 1990-01-01. valid values are between 1905-01-01 until current date.
|
|
23252
|
+
*
|
|
23253
|
+
* __Not required attributes:__
|
|
23254
|
+
* - displayName: Please refer to the rule from /v3/public/inputValidations API.
|
|
23255
|
+
*
|
|
23256
|
+
* This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.
|
|
23257
|
+
*
|
|
23258
|
+
*/
|
|
23259
|
+
this.createUser = (data) => {
|
|
23260
|
+
return this.newInstance4().postV4NsUsers(data);
|
|
23261
|
+
};
|
|
23262
|
+
/**
|
|
23263
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/distinctPlatforms](api)
|
|
23264
|
+
*
|
|
23265
|
+
* This method retrieves platform accounts linked to user.
|
|
23266
|
+
* It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
|
|
23267
|
+
* Required valid user authorization.
|
|
23268
|
+
*/
|
|
23269
|
+
this.getUserDistinctLinkedPlatform = (userId) => {
|
|
23270
|
+
return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
|
|
23271
|
+
};
|
|
23272
|
+
/**
|
|
23273
|
+
* DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/all](api)
|
|
23274
|
+
*
|
|
23275
|
+
* Required valid user authorization.
|
|
23276
|
+
* Unlink user's account from for all third platforms.
|
|
23277
|
+
*/
|
|
23278
|
+
this.unLinkAccountFromPlatformDistinct = (platformId) => {
|
|
23279
|
+
return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
|
|
23280
|
+
};
|
|
23281
|
+
/**
|
|
23282
|
+
* POST [/iam/v3/public/users/me/verify_link/request](api)
|
|
23283
|
+
*
|
|
23284
|
+
* Required valid user authorization
|
|
23285
|
+
* The verification link is sent to email address
|
|
23286
|
+
* It will not send request if user email is already verified
|
|
23287
|
+
*/
|
|
23288
|
+
this.sendVerificationLink = (languageTag) => {
|
|
23289
|
+
return this.newInstance().postIamV3PublicUsersMeVerifyLinkRequest({ languageTag });
|
|
23290
|
+
};
|
|
23291
|
+
/**
|
|
23292
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
|
|
23293
|
+
*
|
|
23294
|
+
* This method retrieves platform accounts linked to user. Required valid user authorization.
|
|
23295
|
+
* action code: 10128
|
|
23296
|
+
*/
|
|
23297
|
+
this.getLinkedAccount = (userId) => {
|
|
23298
|
+
return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
|
|
23299
|
+
};
|
|
23300
|
+
/**
|
|
23301
|
+
* GET [/iam/v3/public/users/me/headless/link/conflict](api)
|
|
23302
|
+
*
|
|
23303
|
+
* Note:
|
|
23304
|
+
* 1. My account should be full account
|
|
23305
|
+
* 2. My account not linked to request headless account's third platform.
|
|
23306
|
+
*/
|
|
23307
|
+
this.getLinkAccountByOneTimeCodeConflict = (params) => {
|
|
23308
|
+
return this.newInstance().fetchIamV3PublicUsersMeHeadlessLinkConflict(params);
|
|
23309
|
+
};
|
|
23310
|
+
/**
|
|
23311
|
+
* POST [/iam/v3/public/users/me/headless/linkWithProgression](api)
|
|
23312
|
+
*
|
|
23313
|
+
* Note:
|
|
23314
|
+
* 1. My account should be full account
|
|
23315
|
+
* 2. My account not linked to headless account's third platform.
|
|
23316
|
+
*/
|
|
23317
|
+
this.linkWithProgression = (data) => {
|
|
23318
|
+
return this.newInstance().postIamV3PublicUsersMeHeadlessLinkWithProgression(data);
|
|
23319
|
+
};
|
|
23157
23320
|
}
|
|
23158
23321
|
/**
|
|
23159
23322
|
* @internal
|
|
@@ -23310,27 +23473,36 @@ class AgreementApi {
|
|
|
23310
23473
|
this.conf = conf;
|
|
23311
23474
|
this.namespace = namespace;
|
|
23312
23475
|
this.cache = cache;
|
|
23313
|
-
|
|
23314
|
-
|
|
23315
|
-
|
|
23316
|
-
|
|
23317
|
-
|
|
23318
|
-
|
|
23319
|
-
|
|
23320
|
-
|
|
23321
|
-
|
|
23322
|
-
|
|
23323
|
-
|
|
23324
|
-
|
|
23325
|
-
|
|
23326
|
-
|
|
23327
|
-
|
|
23328
|
-
|
|
23329
|
-
|
|
23330
|
-
|
|
23331
|
-
|
|
23332
|
-
|
|
23333
|
-
|
|
23476
|
+
/**
|
|
23477
|
+
* POST [/agreement/public/agreements/policies](api)
|
|
23478
|
+
*
|
|
23479
|
+
* Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.
|
|
23480
|
+
*
|
|
23481
|
+
* _Required permission_: login user
|
|
23482
|
+
*/
|
|
23483
|
+
this.acceptLegalPolicies = (acceptAgreements) => {
|
|
23484
|
+
return this.newInstance().postPublicAgreementsPolicies(acceptAgreements);
|
|
23485
|
+
};
|
|
23486
|
+
/**
|
|
23487
|
+
* GET [/agreement/public/agreements/policies](api)
|
|
23488
|
+
*
|
|
23489
|
+
* Retrieve accepted Legal Agreements.
|
|
23490
|
+
*
|
|
23491
|
+
* _Required permission_: login user
|
|
23492
|
+
*/
|
|
23493
|
+
this.getAgreements = () => {
|
|
23494
|
+
return this.newInstance().fetchPublicAgreementsPolicies();
|
|
23495
|
+
};
|
|
23496
|
+
/**
|
|
23497
|
+
* PATCH [/agreement/public/agreements/localized-policy-versions/preferences](api)
|
|
23498
|
+
*
|
|
23499
|
+
* Change marketing preference consent
|
|
23500
|
+
*
|
|
23501
|
+
* _Required permission_: login user
|
|
23502
|
+
*/
|
|
23503
|
+
this.updateMarketingPreferences = (acceptAgreements) => {
|
|
23504
|
+
return this.newInstance().patchPublicAgreementsLocalizedPolicyVersionsPreferences(acceptAgreements);
|
|
23505
|
+
};
|
|
23334
23506
|
}
|
|
23335
23507
|
newInstance() {
|
|
23336
23508
|
return new Agreement$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23443,13 +23615,16 @@ class EligibilitiesApi {
|
|
|
23443
23615
|
this.conf = conf;
|
|
23444
23616
|
this.namespace = namespace;
|
|
23445
23617
|
this.cache = cache;
|
|
23446
|
-
|
|
23447
|
-
|
|
23448
|
-
|
|
23449
|
-
|
|
23450
|
-
|
|
23451
|
-
|
|
23452
|
-
|
|
23618
|
+
/**
|
|
23619
|
+
* GET [/agreement/public/eligibilities/namespaces/{namespace}](api)
|
|
23620
|
+
*
|
|
23621
|
+
* Retrieve the active policies and its conformance status by user.This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.
|
|
23622
|
+
*
|
|
23623
|
+
* _Required permission_: login user
|
|
23624
|
+
*/
|
|
23625
|
+
this.getUserEligibilities = () => {
|
|
23626
|
+
return this.newInstance().fetchPublicEligibilitiesNamespacesByNamespace();
|
|
23627
|
+
};
|
|
23453
23628
|
}
|
|
23454
23629
|
newInstance() {
|
|
23455
23630
|
return new Eligibilities$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23552,12 +23727,14 @@ class LocalizedPolicyVersionsApi {
|
|
|
23552
23727
|
this.conf = conf;
|
|
23553
23728
|
this.namespace = namespace;
|
|
23554
23729
|
this.cache = cache;
|
|
23555
|
-
|
|
23556
|
-
|
|
23557
|
-
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
|
|
23730
|
+
/**
|
|
23731
|
+
* GET [/agreement/public/localized-policy-versions/{localizedPolicyVersionId}](api)
|
|
23732
|
+
*
|
|
23733
|
+
* Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.
|
|
23734
|
+
*/
|
|
23735
|
+
this.fetchLocalizedPolicyVersionById = (localizedPolicyVersionId) => {
|
|
23736
|
+
return this.newInstance().fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId);
|
|
23737
|
+
};
|
|
23561
23738
|
}
|
|
23562
23739
|
newInstance() {
|
|
23563
23740
|
return new LocalizedPolicyVersions$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23663,36 +23840,37 @@ class PoliciesApi {
|
|
|
23663
23840
|
this.conf = conf;
|
|
23664
23841
|
this.namespace = namespace;
|
|
23665
23842
|
this.cache = cache;
|
|
23666
|
-
|
|
23667
|
-
|
|
23668
|
-
|
|
23669
|
-
|
|
23670
|
-
|
|
23671
|
-
|
|
23672
|
-
|
|
23673
|
-
|
|
23674
|
-
|
|
23675
|
-
|
|
23676
|
-
|
|
23677
|
-
|
|
23678
|
-
|
|
23679
|
-
|
|
23680
|
-
|
|
23681
|
-
|
|
23682
|
-
|
|
23683
|
-
|
|
23684
|
-
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23843
|
+
/**
|
|
23844
|
+
* GET [/agreement/public/policies/namespaces/{namespace}/countries/{countryCode}](api)
|
|
23845
|
+
*
|
|
23846
|
+
* Retrieve all active latest policies based on a namespace and country.
|
|
23847
|
+
*
|
|
23848
|
+
* - _Leave the policyType empty if you want to be responded with all policy type_
|
|
23849
|
+
* - _Fill the tags if you want to filter the responded policy by tags_
|
|
23850
|
+
* - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
|
|
23851
|
+
* - _Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:_
|
|
23852
|
+
*
|
|
23853
|
+
* - Document 1 (default): Region US (default), UA
|
|
23854
|
+
* - Document 2 (default): Region US (default)
|
|
23855
|
+
* - Document 3 (default): Region US (default)
|
|
23856
|
+
* - User: Region UA
|
|
23857
|
+
* - Query: alwaysIncludeDefault: true
|
|
23858
|
+
* - Response: Document 1 (UA), Document 2 (US), Document 3 (US)
|
|
23859
|
+
*/
|
|
23860
|
+
this.fetchPoliciesByCountry = ({ countryCode, queryParams }) => {
|
|
23861
|
+
return this.newInstance().fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode(countryCode, queryParams);
|
|
23862
|
+
};
|
|
23863
|
+
/**
|
|
23864
|
+
* GET [/agreement/public/policies/countries/{countryCode}](api)
|
|
23865
|
+
*
|
|
23866
|
+
* Retrieve all active latest policies based on country from all namespaces.
|
|
23867
|
+
* - _Leave the policyType empty if you want to be responded with all policy type_
|
|
23868
|
+
* - _Fill the tags if you want to filter the responded policy by tags_
|
|
23869
|
+
* - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
|
|
23870
|
+
*/
|
|
23871
|
+
this.fetchAllPoliciesByCountry = ({ countryCode, queryParams }) => {
|
|
23872
|
+
return this.newInstance().fetchPublicPoliciesCountriesByCountrycode(countryCode, queryParams);
|
|
23873
|
+
};
|
|
23696
23874
|
}
|
|
23697
23875
|
newInstance() {
|
|
23698
23876
|
return new Policies$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23776,12 +23954,21 @@ class PublicTemplateApi {
|
|
|
23776
23954
|
this.conf = conf;
|
|
23777
23955
|
this.namespace = namespace;
|
|
23778
23956
|
this.cache = cache;
|
|
23957
|
+
/**
|
|
23958
|
+
* @internal
|
|
23959
|
+
*/
|
|
23779
23960
|
this.getTemplateConfigs = (template) => {
|
|
23780
23961
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(template);
|
|
23781
23962
|
};
|
|
23963
|
+
/**
|
|
23964
|
+
* @internal
|
|
23965
|
+
*/
|
|
23782
23966
|
this.getTemplateConfig = (template, configId) => {
|
|
23783
23967
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigsByConfig(template, configId);
|
|
23784
23968
|
};
|
|
23969
|
+
/**
|
|
23970
|
+
* @internal
|
|
23971
|
+
*/
|
|
23785
23972
|
this.getDiscoveryTemplateConfigs = () => {
|
|
23786
23973
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
|
|
23787
23974
|
};
|
|
@@ -23851,7 +24038,10 @@ class CurrencyApi {
|
|
|
23851
24038
|
this.namespace = namespace;
|
|
23852
24039
|
this.cache = cache;
|
|
23853
24040
|
/**
|
|
24041
|
+
* GET [/platform/public/namespaces/{namespace}/currencies](api)
|
|
24042
|
+
*
|
|
23854
24043
|
* List currencies of a namespace.
|
|
24044
|
+
*
|
|
23855
24045
|
* Returns: Currency List
|
|
23856
24046
|
*/
|
|
23857
24047
|
this.getCurrencies = () => {
|
|
@@ -23859,6 +24049,8 @@ class CurrencyApi {
|
|
|
23859
24049
|
};
|
|
23860
24050
|
/**
|
|
23861
24051
|
* Get the currencies list and convert into a map of currency code and the currency itself
|
|
24052
|
+
*
|
|
24053
|
+
* @internal
|
|
23862
24054
|
*/
|
|
23863
24055
|
this.getCurrencyMap = async () => {
|
|
23864
24056
|
const result = await this.getCurrencies();
|
|
@@ -24471,40 +24663,42 @@ class EntitlementApi {
|
|
|
24471
24663
|
this.conf = conf;
|
|
24472
24664
|
this.namespace = namespace;
|
|
24473
24665
|
this.cache = cache;
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
24479
|
-
|
|
24480
|
-
|
|
24481
|
-
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24485
|
-
|
|
24486
|
-
|
|
24487
|
-
|
|
24488
|
-
|
|
24489
|
-
|
|
24490
|
-
|
|
24491
|
-
|
|
24492
|
-
|
|
24493
|
-
|
|
24494
|
-
|
|
24495
|
-
|
|
24496
|
-
|
|
24497
|
-
|
|
24498
|
-
|
|
24499
|
-
|
|
24500
|
-
|
|
24501
|
-
|
|
24502
|
-
|
|
24503
|
-
|
|
24504
|
-
|
|
24505
|
-
|
|
24506
|
-
|
|
24507
|
-
|
|
24666
|
+
/**
|
|
24667
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppId](api)
|
|
24668
|
+
*
|
|
24669
|
+
* Get user app entitlement by appId.
|
|
24670
|
+
*/
|
|
24671
|
+
this.getEntitlementByAppId = ({ userId, appId }) => {
|
|
24672
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
|
|
24673
|
+
appId
|
|
24674
|
+
});
|
|
24675
|
+
};
|
|
24676
|
+
/**
|
|
24677
|
+
* Query user entitlements for a specific user.
|
|
24678
|
+
* Returns: entitlement list
|
|
24679
|
+
*/
|
|
24680
|
+
this.getEntitlements = ({ userId, queryParams }) => {
|
|
24681
|
+
return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
|
|
24682
|
+
};
|
|
24683
|
+
/**
|
|
24684
|
+
* Exists any user active entitlement of specified itemIds, skus and appIds
|
|
24685
|
+
*/
|
|
24686
|
+
this.getEntitlementOwnerShip = ({ userId, queryParams }) => {
|
|
24687
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
|
|
24688
|
+
};
|
|
24689
|
+
/**
|
|
24690
|
+
* Get user entitlement ownership by itemIds.
|
|
24691
|
+
*/
|
|
24692
|
+
this.getEntitlementByItemIds = ({ userId, queryParams }) => {
|
|
24693
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
|
|
24694
|
+
};
|
|
24695
|
+
/**
|
|
24696
|
+
* 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
|
|
24697
|
+
* Returns: consumed entitlement
|
|
24698
|
+
*/
|
|
24699
|
+
this.claimEntitlement = ({ userId, entitlementId, data }) => {
|
|
24700
|
+
return this.newInstance().putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
|
|
24701
|
+
};
|
|
24508
24702
|
}
|
|
24509
24703
|
newInstance() {
|
|
24510
24704
|
return new Entitlement$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -24516,7 +24710,13 @@ class EntitlementApi {
|
|
|
24516
24710
|
* This is licensed software from AccelByte Inc, for limitations
|
|
24517
24711
|
* and restrictions contact your company contract manager.
|
|
24518
24712
|
*/
|
|
24519
|
-
const CreditSummary = mod.object({
|
|
24713
|
+
const CreditSummary = mod.object({
|
|
24714
|
+
walletId: mod.string(),
|
|
24715
|
+
namespace: mod.string(),
|
|
24716
|
+
userId: mod.string(),
|
|
24717
|
+
amount: mod.number().int(),
|
|
24718
|
+
currencyCode: mod.string().nullish()
|
|
24719
|
+
});
|
|
24520
24720
|
|
|
24521
24721
|
/*
|
|
24522
24722
|
* Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
|
|
@@ -24526,6 +24726,7 @@ const CreditSummary = mod.object({ walletId: mod.string(), namespace: mod.string
|
|
|
24526
24726
|
const EntitlementSummary = mod.object({
|
|
24527
24727
|
id: mod.string(),
|
|
24528
24728
|
namespace: mod.string(),
|
|
24729
|
+
name: mod.string().nullish(),
|
|
24529
24730
|
userId: mod.string(),
|
|
24530
24731
|
clazz: mod.enum(['APP', 'ENTITLEMENT', 'CODE', 'SUBSCRIPTION', 'MEDIA', 'OPTIONBOX', 'LOOTBOX']),
|
|
24531
24732
|
type: mod.enum(['DURABLE', 'CONSUMABLE']),
|
|
@@ -24604,7 +24805,10 @@ class FulfillmentApi {
|
|
|
24604
24805
|
this.namespace = namespace;
|
|
24605
24806
|
this.cache = cache;
|
|
24606
24807
|
/**
|
|
24607
|
-
*
|
|
24808
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/fulfillment/code](api)
|
|
24809
|
+
*
|
|
24810
|
+
* Redeem campaign code
|
|
24811
|
+
*
|
|
24608
24812
|
* Returns: fulfillment result
|
|
24609
24813
|
*/
|
|
24610
24814
|
this.redeemCode = ({ userId, data }) => {
|
|
@@ -25158,69 +25362,90 @@ class ItemApi {
|
|
|
25158
25362
|
this.conf = conf;
|
|
25159
25363
|
this.namespace = namespace;
|
|
25160
25364
|
this.cache = cache;
|
|
25161
|
-
|
|
25162
|
-
|
|
25163
|
-
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25168
|
-
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25172
|
-
|
|
25173
|
-
|
|
25174
|
-
|
|
25175
|
-
|
|
25176
|
-
|
|
25177
|
-
|
|
25178
|
-
|
|
25179
|
-
|
|
25180
|
-
|
|
25181
|
-
|
|
25182
|
-
|
|
25183
|
-
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25196
|
-
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
|
|
25201
|
-
|
|
25202
|
-
}
|
|
25203
|
-
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25220
|
-
|
|
25221
|
-
|
|
25222
|
-
|
|
25223
|
-
|
|
25365
|
+
/**
|
|
25366
|
+
* GET [/platform/public/namespaces/{namespace}/items/byAppId](api)
|
|
25367
|
+
*
|
|
25368
|
+
* This API is used to get item by appId
|
|
25369
|
+
*
|
|
25370
|
+
* Returns: the item with that appId
|
|
25371
|
+
*/
|
|
25372
|
+
this.getItemByAppId = ({ ...queryParams }) => {
|
|
25373
|
+
return this.newInstance().fetchNsItemsByAppId(queryParams);
|
|
25374
|
+
};
|
|
25375
|
+
/**
|
|
25376
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/dynamic](api)
|
|
25377
|
+
*
|
|
25378
|
+
* Get item dynamic data for a published item
|
|
25379
|
+
*
|
|
25380
|
+
* Returns: item dynamic data
|
|
25381
|
+
*/
|
|
25382
|
+
this.getItemByItemIdDynamic = (itemId) => {
|
|
25383
|
+
return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
|
|
25384
|
+
};
|
|
25385
|
+
/**
|
|
25386
|
+
* GET [/platform/public/namespaces/{namespace}/items/byCriteria](api)
|
|
25387
|
+
*/
|
|
25388
|
+
this.fetchItemsByCriteria = ({ queryParams }) => {
|
|
25389
|
+
return this.newInstance().fetchNsItemsByCriteria(queryParams);
|
|
25390
|
+
};
|
|
25391
|
+
/**
|
|
25392
|
+
* GET [/platform/public/namespaces/{namespace}/items/locale/byIds](api)
|
|
25393
|
+
*
|
|
25394
|
+
* This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.
|
|
25395
|
+
*
|
|
25396
|
+
* Returns: the list of items
|
|
25397
|
+
*/
|
|
25398
|
+
this.getItemsByItemIds = ({ queryParams }) => {
|
|
25399
|
+
return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
|
|
25400
|
+
};
|
|
25401
|
+
// TODO if not used, delete below
|
|
25402
|
+
// /**
|
|
25403
|
+
// * Fetch the items and convert it into a map of `itemId` and its item info
|
|
25404
|
+
// */
|
|
25405
|
+
// fetchAvailableItemInfoMap = async ({ queryParams }: { queryParams: QueryParamsItemIds }) => {
|
|
25406
|
+
// const result = await this.getItemsByItemIds({ queryParams })
|
|
25407
|
+
// if (result.response) {
|
|
25408
|
+
// return {
|
|
25409
|
+
// error: null,
|
|
25410
|
+
// value: result.response.data.reduce((map: Map<string, ItemInfo>, availableItemInfo) => {
|
|
25411
|
+
// const { itemId } = availableItemInfo
|
|
25412
|
+
// if (itemId) {
|
|
25413
|
+
// map.set(itemId, availableItemInfo)
|
|
25414
|
+
// }
|
|
25415
|
+
// return map
|
|
25416
|
+
// }, new Map())
|
|
25417
|
+
// }
|
|
25418
|
+
// }
|
|
25419
|
+
// return result
|
|
25420
|
+
// }
|
|
25421
|
+
/**
|
|
25422
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/locale](api)
|
|
25423
|
+
*
|
|
25424
|
+
* This API is used to get an item in locale. If item not exist in specific region, default region item will return.
|
|
25425
|
+
*
|
|
25426
|
+
* Returns: item data
|
|
25427
|
+
*/
|
|
25428
|
+
this.getItemsByItemIdLocale = ({ itemId, queryParams }) => {
|
|
25429
|
+
return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
|
|
25430
|
+
};
|
|
25431
|
+
/**
|
|
25432
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/app/locale](api)
|
|
25433
|
+
*
|
|
25434
|
+
* This API is used to get an app in locale. If app not exist in specific region, default region app will return.
|
|
25435
|
+
*
|
|
25436
|
+
* Returns: app data
|
|
25437
|
+
*/
|
|
25438
|
+
this.getAppInfoByItemId = ({ itemId, queryParams }) => {
|
|
25439
|
+
return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
|
|
25440
|
+
};
|
|
25441
|
+
/**
|
|
25442
|
+
* POST [/platform/public/namespaces/{namespace}/items/purchase/conditions/validate](api)
|
|
25443
|
+
*
|
|
25444
|
+
* This API is used to validate user item purchase condition
|
|
25445
|
+
*/
|
|
25446
|
+
this.validatePurchaseCondition = (data) => {
|
|
25447
|
+
return this.newInstance().postNsItemsPurchaseConditionsValidate(data);
|
|
25448
|
+
};
|
|
25224
25449
|
}
|
|
25225
25450
|
newInstance() {
|
|
25226
25451
|
return new Item$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -25461,36 +25686,102 @@ class OrderApi {
|
|
|
25461
25686
|
this.namespace = namespace;
|
|
25462
25687
|
this.cache = cache;
|
|
25463
25688
|
/**
|
|
25464
|
-
*
|
|
25465
|
-
*
|
|
25689
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
|
|
25690
|
+
*
|
|
25691
|
+
* Query user orders
|
|
25692
|
+
*
|
|
25693
|
+
* Returns a paginated list of `OrderInfo`:
|
|
25694
|
+
* <pre lang="json">{
|
|
25695
|
+
orderNo,
|
|
25696
|
+
paymentOrderNo,
|
|
25697
|
+
namespace,
|
|
25698
|
+
userId,
|
|
25699
|
+
itemId,
|
|
25700
|
+
sandbox,
|
|
25701
|
+
quantity,
|
|
25702
|
+
price,
|
|
25703
|
+
discountedPrice,
|
|
25704
|
+
creationOptions
|
|
25705
|
+
paymentProvider: ('WALLET', 'XSOLLA', 'ADYEN', 'STRIPE', 'CHECKOUT', 'ALIPAY', 'WXPAY', 'PAYPAL'),
|
|
25706
|
+
paymentMethod,
|
|
25707
|
+
tax,
|
|
25708
|
+
vat,
|
|
25709
|
+
salesTax,
|
|
25710
|
+
paymentProviderFee,
|
|
25711
|
+
paymentMethodFee
|
|
25712
|
+
currency: CurrencySummary,
|
|
25713
|
+
paymentStationUrl,
|
|
25714
|
+
itemSnapshot,
|
|
25715
|
+
region,
|
|
25716
|
+
language,
|
|
25717
|
+
status: (
|
|
25718
|
+
'INIT',
|
|
25719
|
+
'CHARGED',
|
|
25720
|
+
'CHARGEBACK',
|
|
25721
|
+
'CHARGEBACK_REVERSED',
|
|
25722
|
+
'FULFILLED',
|
|
25723
|
+
'FULFILL_FAILED',
|
|
25724
|
+
'REFUNDING',
|
|
25725
|
+
'REFUNDED',
|
|
25726
|
+
'REFUND_FAILED',
|
|
25727
|
+
'CLOSED',
|
|
25728
|
+
'DELETED'
|
|
25729
|
+
),
|
|
25730
|
+
statusReason,
|
|
25731
|
+
createdTime,
|
|
25732
|
+
chargedTime,
|
|
25733
|
+
fulfilledTime,
|
|
25734
|
+
refundedTime,
|
|
25735
|
+
chargebackTime,
|
|
25736
|
+
chargebackReversedTime,
|
|
25737
|
+
expireTime,
|
|
25738
|
+
paymentRemainSeconds,
|
|
25739
|
+
ext,
|
|
25740
|
+
totalTax,
|
|
25741
|
+
totalPrice,
|
|
25742
|
+
subtotalPrice,
|
|
25743
|
+
createdAt,
|
|
25744
|
+
updatedAt
|
|
25745
|
+
}</pre>
|
|
25466
25746
|
*/
|
|
25467
25747
|
this.getOrderList = ({ userId, queryParams }) => {
|
|
25468
25748
|
return this.newInstance().fetchNsUsersByUseridOrders(userId, queryParams);
|
|
25469
25749
|
};
|
|
25470
25750
|
/**
|
|
25751
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}](api)
|
|
25752
|
+
*
|
|
25471
25753
|
* Get user order.
|
|
25472
|
-
*
|
|
25754
|
+
*
|
|
25755
|
+
* Returns: `OrderInfo`
|
|
25473
25756
|
*/
|
|
25474
25757
|
this.getOrderByOrderNo = ({ userId, orderNo }) => {
|
|
25475
25758
|
return this.newInstance().fetchNsUsersByUseridOrdersByOrderno(userId, orderNo);
|
|
25476
25759
|
};
|
|
25477
25760
|
/**
|
|
25761
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/cancel](api)
|
|
25762
|
+
*
|
|
25478
25763
|
* Cancel user order.
|
|
25479
|
-
*
|
|
25764
|
+
*
|
|
25765
|
+
* Returns: cancelled `OrderInfo`
|
|
25480
25766
|
*/
|
|
25481
25767
|
this.cancelOrder = ({ userId, orderNo }) => {
|
|
25482
25768
|
return this.newInstance().putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
|
|
25483
25769
|
};
|
|
25484
25770
|
/**
|
|
25771
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
|
|
25772
|
+
*
|
|
25485
25773
|
* Create an order. The result contains the checkout link and payment token.
|
|
25486
25774
|
* User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.
|
|
25487
|
-
*
|
|
25775
|
+
*
|
|
25776
|
+
* Returns: created `OrderInfo`
|
|
25488
25777
|
*/
|
|
25489
25778
|
this.createOrder = ({ userId, data }) => {
|
|
25490
25779
|
return this.newInstance().postNsUsersByUseridOrders(userId, data);
|
|
25491
25780
|
};
|
|
25492
25781
|
/**
|
|
25493
25782
|
* Fetch all information needed for a user to check the user's availability to purchase the item
|
|
25783
|
+
*
|
|
25784
|
+
* @internal
|
|
25494
25785
|
*/
|
|
25495
25786
|
this.fetchPrePurchaseInformation = async ({ userId, item }) => {
|
|
25496
25787
|
const currencyApi = new CurrencyApi(this.conf, this.namespace, this.cache);
|
|
@@ -25819,36 +26110,48 @@ class PaymentApi {
|
|
|
25819
26110
|
this.namespace = namespace;
|
|
25820
26111
|
this.cache = cache;
|
|
25821
26112
|
/**
|
|
25822
|
-
*
|
|
25823
|
-
*
|
|
26113
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts](api)
|
|
26114
|
+
*
|
|
26115
|
+
* Get payment accounts.
|
|
26116
|
+
*
|
|
26117
|
+
* Returns: Payment account list `PaymentAccountArray`
|
|
25824
26118
|
*/
|
|
25825
26119
|
this.getPaymentAccounts = (userId) => {
|
|
25826
26120
|
return this.newInstance().fetchNsUsersByUseridPaymentAccounts(userId);
|
|
25827
26121
|
};
|
|
25828
26122
|
/**
|
|
25829
|
-
*
|
|
26123
|
+
* DELETE [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts/{type}/{id}](api)
|
|
25830
26124
|
*
|
|
25831
|
-
*
|
|
26125
|
+
* Delete payment account.
|
|
25832
26126
|
*/
|
|
25833
26127
|
this.deletePaymentAccount = ({ userId, type, id }) => {
|
|
25834
26128
|
return this.newInstance().deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id);
|
|
25835
26129
|
};
|
|
25836
26130
|
/**
|
|
26131
|
+
* GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/info](api)
|
|
26132
|
+
*
|
|
25837
26133
|
* Get payment order info.
|
|
25838
|
-
*
|
|
26134
|
+
*
|
|
26135
|
+
* Returns: Payment order details `PaymentOrderDetails`
|
|
25839
26136
|
*/
|
|
25840
26137
|
this.getPaymentInfo = (paymentOrderNo) => {
|
|
25841
26138
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
|
|
25842
26139
|
};
|
|
25843
26140
|
/**
|
|
26141
|
+
* POST [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/pay](api)
|
|
26142
|
+
*
|
|
25844
26143
|
* Do payment(For now, this only support checkout.com).
|
|
26144
|
+
*
|
|
25845
26145
|
* Returns: Payment process result
|
|
25846
26146
|
*/
|
|
25847
26147
|
this.processPaymentOrder = (paymentOrderNo, data, queryParams) => {
|
|
25848
26148
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
|
|
25849
26149
|
};
|
|
25850
26150
|
/**
|
|
26151
|
+
* GET [/platform/public/namespaces/{namespace}/payment/publicconfig](api)
|
|
26152
|
+
*
|
|
25851
26153
|
* Get payment provider public config, at current only Strip provide public config.
|
|
26154
|
+
*
|
|
25852
26155
|
* Returns: Public config
|
|
25853
26156
|
*/
|
|
25854
26157
|
this.getPaymentProviderPublicConfig = (paymentProvider, region, sandbox) => {
|
|
@@ -25859,7 +26162,10 @@ class PaymentApi {
|
|
|
25859
26162
|
});
|
|
25860
26163
|
};
|
|
25861
26164
|
/**
|
|
26165
|
+
* GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/status](api)
|
|
26166
|
+
*
|
|
25862
26167
|
* Check payment order paid status.
|
|
26168
|
+
*
|
|
25863
26169
|
* Returns: Payment order paid result
|
|
25864
26170
|
*/
|
|
25865
26171
|
this.getPaymentOrderStatus = (paymentOrderNo) => {
|
|
@@ -25873,7 +26179,10 @@ class PaymentApi {
|
|
|
25873
26179
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentMethods({ paymentOrderNo });
|
|
25874
26180
|
};
|
|
25875
26181
|
/**
|
|
26182
|
+
* GET [/platform/public/namespaces/{namespace}/payment/methods](api)
|
|
26183
|
+
*
|
|
25876
26184
|
* Check and get a payment order's should pay tax.
|
|
26185
|
+
*
|
|
25877
26186
|
* Returns: tax result
|
|
25878
26187
|
*/
|
|
25879
26188
|
this.getPaymentTax = (paymentProvider, paymentOrderNo, zipCode) => {
|
|
@@ -25884,7 +26193,10 @@ class PaymentApi {
|
|
|
25884
26193
|
});
|
|
25885
26194
|
};
|
|
25886
26195
|
/**
|
|
26196
|
+
* POST [/platform/public/namespaces/{namespace}/payment/link](api)
|
|
26197
|
+
*
|
|
25887
26198
|
* Get payment url.
|
|
26199
|
+
*
|
|
25888
26200
|
* Returns: Get payment link
|
|
25889
26201
|
*/
|
|
25890
26202
|
this.createPaymentUrl = (data) => {
|
|
@@ -26141,56 +26453,73 @@ class SubscriptionApi {
|
|
|
26141
26453
|
this.conf = conf;
|
|
26142
26454
|
this.namespace = namespace;
|
|
26143
26455
|
this.cache = cache;
|
|
26144
|
-
|
|
26145
|
-
|
|
26146
|
-
|
|
26147
|
-
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
|
|
26151
|
-
|
|
26152
|
-
|
|
26153
|
-
|
|
26154
|
-
|
|
26155
|
-
|
|
26156
|
-
|
|
26157
|
-
|
|
26158
|
-
|
|
26159
|
-
|
|
26160
|
-
|
|
26161
|
-
|
|
26162
|
-
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26167
|
-
|
|
26168
|
-
|
|
26169
|
-
|
|
26170
|
-
|
|
26171
|
-
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26456
|
+
/**
|
|
26457
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
|
|
26458
|
+
*
|
|
26459
|
+
* Query user subscriptions.
|
|
26460
|
+
*
|
|
26461
|
+
* Returns: paginated subscription
|
|
26462
|
+
*/
|
|
26463
|
+
this.getUserSubscriptions = ({ userId, queryParams }) => {
|
|
26464
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
|
|
26465
|
+
};
|
|
26466
|
+
/**
|
|
26467
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}](api)
|
|
26468
|
+
*
|
|
26469
|
+
* Get user subscription.
|
|
26470
|
+
*
|
|
26471
|
+
* Returns: subscription
|
|
26472
|
+
*/
|
|
26473
|
+
this.getUserSubscriptionBySubscriptionId = ({ userId, subscriptionId }) => {
|
|
26474
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
|
|
26475
|
+
};
|
|
26476
|
+
/**
|
|
26477
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
|
|
26478
|
+
*
|
|
26479
|
+
* Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
|
|
26480
|
+
* __ACTIVE USER subscription can't do subscribe again.__
|
|
26481
|
+
* __The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.__
|
|
26482
|
+
* User with permission SANDBOX will create sandbox subscription that not real paid.
|
|
26483
|
+
*
|
|
26484
|
+
* Returns: created subscription
|
|
26485
|
+
*/
|
|
26486
|
+
this.createSubscription = ({ userId, data }) => {
|
|
26487
|
+
return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
|
|
26488
|
+
};
|
|
26489
|
+
/**
|
|
26490
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/history](api)
|
|
26491
|
+
*
|
|
26492
|
+
* Get user subscription billing histories.
|
|
26493
|
+
*
|
|
26494
|
+
* Returns: paginated subscription history
|
|
26495
|
+
*/
|
|
26496
|
+
this.getUserSubscriptionBillingHistory = ({ userId, subscriptionId, queryParams }) => {
|
|
26497
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
|
|
26498
|
+
};
|
|
26499
|
+
/**
|
|
26500
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/billingAccount](api)
|
|
26501
|
+
*
|
|
26502
|
+
* Request to change a subscription billing account, this will guide user to payment station.
|
|
26503
|
+
* The actual change will happen at the 0 payment notification successfully handled.
|
|
26504
|
+
* Only ACTIVE USER subscription with real currency billing account can be changed.
|
|
26505
|
+
*
|
|
26506
|
+
* Returns: updated subscription
|
|
26507
|
+
*/
|
|
26508
|
+
this.updateUserSubscriptionPaymentMethod = ({ userId, subscriptionId }) => {
|
|
26509
|
+
return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
|
|
26510
|
+
};
|
|
26511
|
+
/**
|
|
26512
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/cancel](api)
|
|
26513
|
+
*
|
|
26514
|
+
* Cancel a subscription, only ACTIVE subscription can be cancelled.
|
|
26515
|
+
* __Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.__
|
|
26516
|
+
* Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.
|
|
26517
|
+
*
|
|
26518
|
+
* Returns: cancelled subscription
|
|
26519
|
+
*/
|
|
26520
|
+
this.cancelUserSubscription = ({ userId, subscriptionId, data }) => {
|
|
26521
|
+
return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
|
|
26522
|
+
};
|
|
26194
26523
|
}
|
|
26195
26524
|
newInstance() {
|
|
26196
26525
|
return new Subscription$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -26357,9 +26686,12 @@ class WalletApi {
|
|
|
26357
26686
|
this.namespace = namespace;
|
|
26358
26687
|
this.cache = cache;
|
|
26359
26688
|
/**
|
|
26689
|
+
* GET [/platform/public/namespaces/{namespace}/users/me/wallets/{currencyCode}](api)
|
|
26690
|
+
*
|
|
26360
26691
|
* get my wallet by currency code and namespace.
|
|
26361
26692
|
*
|
|
26362
26693
|
* Returns: wallet info
|
|
26694
|
+
*
|
|
26363
26695
|
* Path's namespace:
|
|
26364
26696
|
* - can be filled with __publisher namespace__ in order to get __publisher user wallet__
|
|
26365
26697
|
* - can be filled with __game namespace__ in order to get __game user wallet__
|
|
@@ -26368,7 +26700,10 @@ class WalletApi {
|
|
|
26368
26700
|
return this.newInstance().fetchNsUsersMeWalletsByCurrencycode(currencyCode);
|
|
26369
26701
|
};
|
|
26370
26702
|
/**
|
|
26703
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}](api)
|
|
26704
|
+
*
|
|
26371
26705
|
* Get a wallet by currency code.
|
|
26706
|
+
*
|
|
26372
26707
|
* Returns: wallet info
|
|
26373
26708
|
*/
|
|
26374
26709
|
this.getWalletByUserId = (userId, currencyCode) => {
|
|
@@ -26376,6 +26711,7 @@ class WalletApi {
|
|
|
26376
26711
|
};
|
|
26377
26712
|
/**
|
|
26378
26713
|
* get a map of wallet represented by its currency code
|
|
26714
|
+
* @internal
|
|
26379
26715
|
*/
|
|
26380
26716
|
this.getWalletMap = async ({ userId, currencyCodes }) => {
|
|
26381
26717
|
try {
|
|
@@ -26566,7 +26902,63 @@ const injectErrorInterceptors = (baseUrl, onUserEligibilityChange, onError) => {
|
|
|
26566
26902
|
var version="x.y.z";var build$1="x.y.z";var timestamp="x.y.z";var buildInfo = {version:version,build:build$1,timestamp:timestamp};
|
|
26567
26903
|
|
|
26568
26904
|
/*
|
|
26569
|
-
* Copyright (c)
|
|
26905
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26906
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26907
|
+
* and restrictions contact your company contract manager.
|
|
26908
|
+
*/
|
|
26909
|
+
var BasicVersion = { name: 'justice-basic-service', version: '2.6.0', buildDate: '2023-02-21T19:51:38.655Z' };
|
|
26910
|
+
|
|
26911
|
+
/*
|
|
26912
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26913
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26914
|
+
* and restrictions contact your company contract manager.
|
|
26915
|
+
*/
|
|
26916
|
+
var BuildinfoVersion = { name: 'justice-buildinfo-service', version: '3.28.2', buildDate: '2023-02-21T19:51:38.678Z' };
|
|
26917
|
+
|
|
26918
|
+
/*
|
|
26919
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26920
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26921
|
+
* and restrictions contact your company contract manager.
|
|
26922
|
+
*/
|
|
26923
|
+
var EventVersion = { name: 'justice-event-log-service', version: undefined, buildDate: '2023-02-21T19:51:38.687Z' };
|
|
26924
|
+
|
|
26925
|
+
/*
|
|
26926
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26927
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26928
|
+
* and restrictions contact your company contract manager.
|
|
26929
|
+
*/
|
|
26930
|
+
var GdprVersion = { name: 'justice-gdpr-service', version: '1.19.1', buildDate: '2023-02-21T19:51:38.692Z' };
|
|
26931
|
+
|
|
26932
|
+
/*
|
|
26933
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26934
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26935
|
+
* and restrictions contact your company contract manager.
|
|
26936
|
+
*/
|
|
26937
|
+
var IamVersion = { name: 'justice-iam-service', version: '5.28.0', buildDate: '2023-02-21T19:51:38.699Z' };
|
|
26938
|
+
|
|
26939
|
+
/*
|
|
26940
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26941
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26942
|
+
* and restrictions contact your company contract manager.
|
|
26943
|
+
*/
|
|
26944
|
+
var LegalVersion = { name: 'justice-legal-service', version: '1.27.0', buildDate: '2023-02-21T19:51:38.669Z' };
|
|
26945
|
+
|
|
26946
|
+
/*
|
|
26947
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26948
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26949
|
+
* and restrictions contact your company contract manager.
|
|
26950
|
+
*/
|
|
26951
|
+
var OdinConfigVersion = { name: 'config-service-app', version: 'dev', buildDate: '2023-02-21T19:51:38.691Z' };
|
|
26952
|
+
|
|
26953
|
+
/*
|
|
26954
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
26955
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
26956
|
+
* and restrictions contact your company contract manager.
|
|
26957
|
+
*/
|
|
26958
|
+
var PlatformVersion = { name: 'justice-platform-service', version: '4.24.0', buildDate: '2023-02-21T19:51:38.742Z' };
|
|
26959
|
+
|
|
26960
|
+
/*
|
|
26961
|
+
* Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
|
|
26570
26962
|
* This is licensed software from AccelByte Inc, for limitations
|
|
26571
26963
|
* and restrictions contact your company contract manager.
|
|
26572
26964
|
*/
|
|
@@ -26643,18 +27035,21 @@ class AccelbyteSDKFactory {
|
|
|
26643
27035
|
OAuth: (overrides) => ApiFactory.oauthApi(this.config, this.options, this.options.namespace, this.override(overrides)),
|
|
26644
27036
|
InputValidation: (overrides) => ApiFactory.inputValidationApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26645
27037
|
ThirdPartyCredential: (overrides) => ApiFactory.thirdPartyCredentialApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26646
|
-
TwoFA: (overrides) => ApiFactory.twoFA(this.config, this.options.namespace, this.override(overrides))
|
|
27038
|
+
TwoFA: (overrides) => ApiFactory.twoFA(this.config, this.options.namespace, this.override(overrides)),
|
|
27039
|
+
version: IamVersion
|
|
26647
27040
|
},
|
|
26648
27041
|
BuildInfo: {
|
|
26649
27042
|
Downloader: (overrides) => ApiFactory.downloaderApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26650
27043
|
Caching: (overrides) => ApiFactory.cachingApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26651
|
-
DLC: (overrides) => ApiFactory.dlcApi(this.config, this.options.namespace, this.override(overrides))
|
|
27044
|
+
DLC: (overrides) => ApiFactory.dlcApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27045
|
+
version: BuildinfoVersion
|
|
26652
27046
|
},
|
|
26653
27047
|
Basic: {
|
|
26654
27048
|
Misc: (overrides) => ApiFactory.miscApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26655
27049
|
UserProfile: (overrides) => ApiFactory.userProfileApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26656
27050
|
FileUpload: (overrides) => ApiFactory.fileUploadApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26657
|
-
Namespace: (overrides) => ApiFactory.namespaceApi(this.config, this.options.namespace, this.override(overrides))
|
|
27051
|
+
Namespace: (overrides) => ApiFactory.namespaceApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27052
|
+
version: BasicVersion
|
|
26658
27053
|
},
|
|
26659
27054
|
Platform: {
|
|
26660
27055
|
Currency: (overrides) => ApiFactory.currencyApi(this.config, this.options.namespace, this.override(overrides)),
|
|
@@ -26664,23 +27059,37 @@ class AccelbyteSDKFactory {
|
|
|
26664
27059
|
Order: (overrides) => ApiFactory.orderApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26665
27060
|
Payment: (overrides) => ApiFactory.paymentApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26666
27061
|
Subscription: (overrides) => ApiFactory.subscriptionApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26667
|
-
Wallet: (overrides) => ApiFactory.walletApi(this.config, this.options.namespace, this.override(overrides))
|
|
27062
|
+
Wallet: (overrides) => ApiFactory.walletApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27063
|
+
version: PlatformVersion
|
|
26668
27064
|
},
|
|
26669
27065
|
Legal: {
|
|
26670
27066
|
Eligibilities: (overrides) => ApiFactory.eligibillitiesApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26671
27067
|
Agreement: (overrides) => ApiFactory.agreementApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26672
27068
|
Policies: (overrides) => ApiFactory.policiesApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26673
|
-
LocalizedPolicyVersions: (overrides) => ApiFactory.localizedPolicyVersionsApi(this.config, this.options.namespace, this.override(overrides))
|
|
27069
|
+
LocalizedPolicyVersions: (overrides) => ApiFactory.localizedPolicyVersionsApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27070
|
+
version: LegalVersion
|
|
26674
27071
|
},
|
|
26675
27072
|
GDPR: {
|
|
26676
27073
|
DataDeletion: (overrides) => ApiFactory.dataDeletionApi(this.config, this.options.namespace, this.override(overrides)),
|
|
26677
|
-
DataRetrieval: (overrides) => ApiFactory.dataRetrievalApi(this.config, this.options.namespace, this.override(overrides))
|
|
27074
|
+
DataRetrieval: (overrides) => ApiFactory.dataRetrievalApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27075
|
+
version: GdprVersion
|
|
26678
27076
|
},
|
|
26679
27077
|
Event: {
|
|
26680
|
-
Event: (overrides) => ApiFactory.eventApi(this.config, this.options.namespace, this.override(overrides))
|
|
27078
|
+
Event: (overrides) => ApiFactory.eventApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27079
|
+
version: EventVersion
|
|
26681
27080
|
},
|
|
26682
27081
|
AccelbyteConfig: {
|
|
26683
|
-
PublicTemplate: (overrides) => ApiFactory.publicTemplateApi(this.config, this.options.namespace, this.override(overrides))
|
|
27082
|
+
PublicTemplate: (overrides) => ApiFactory.publicTemplateApi(this.config, this.options.namespace, this.override(overrides)),
|
|
27083
|
+
version: OdinConfigVersion
|
|
27084
|
+
},
|
|
27085
|
+
version: () => {
|
|
27086
|
+
console.log('IamVersion: ', IamVersion.version);
|
|
27087
|
+
console.log('BuildinfoVersion: ', BuildinfoVersion.version);
|
|
27088
|
+
console.log('BasicVersion: ', BasicVersion.version);
|
|
27089
|
+
console.log('PlatformVersion: ', PlatformVersion.version);
|
|
27090
|
+
console.log('LegalVersion: ', LegalVersion.version);
|
|
27091
|
+
console.log('GdprVersion: ', GdprVersion.version);
|
|
27092
|
+
console.log('EventVersion: ', EventVersion.version);
|
|
26684
27093
|
}
|
|
26685
27094
|
};
|
|
26686
27095
|
}
|
|
@@ -27831,7 +28240,7 @@ const InviteUserRequestV4 = mod.object({
|
|
|
27831
28240
|
assignedNamespaces: mod.array(mod.string()),
|
|
27832
28241
|
emailAddresses: mod.array(mod.string()),
|
|
27833
28242
|
isAdmin: mod.boolean(),
|
|
27834
|
-
namespace: mod.string(),
|
|
28243
|
+
namespace: mod.string().nullish(),
|
|
27835
28244
|
roleId: mod.string()
|
|
27836
28245
|
});
|
|
27837
28246
|
|
|
@@ -28359,7 +28768,7 @@ const ThirdPartyLoginPlatformCredentialRequest = mod.object({
|
|
|
28359
28768
|
ACSURL: mod.string(),
|
|
28360
28769
|
AWSCognitoRegion: mod.string(),
|
|
28361
28770
|
AWSCognitoUserPool: mod.string(),
|
|
28362
|
-
AllowedClients: mod.array(mod.string()),
|
|
28771
|
+
AllowedClients: mod.array(mod.string()).nullish(),
|
|
28363
28772
|
AppId: mod.string(),
|
|
28364
28773
|
AuthorizationEndpoint: mod.string(),
|
|
28365
28774
|
ClientId: mod.string(),
|
|
@@ -28378,7 +28787,7 @@ const ThirdPartyLoginPlatformCredentialRequest = mod.object({
|
|
|
28378
28787
|
Secret: mod.string(),
|
|
28379
28788
|
TeamID: mod.string(),
|
|
28380
28789
|
TokenAuthenticationType: mod.string(),
|
|
28381
|
-
TokenClaimsMapping: mod.record(mod.string()),
|
|
28790
|
+
TokenClaimsMapping: mod.record(mod.string()).nullish(),
|
|
28382
28791
|
TokenEndpoint: mod.string(),
|
|
28383
28792
|
UserInfoEndpoint: mod.string(),
|
|
28384
28793
|
UserInfoHTTPMethod: mod.string(),
|
|
@@ -39851,5 +40260,5 @@ CodeGenUtil.getFormUrlEncodedData = (data) => {
|
|
|
39851
40260
|
return formPayload;
|
|
39852
40261
|
};
|
|
39853
40262
|
|
|
39854
|
-
export { ADtoForUnbanUserApiCall, ADtoForUpdateEqu8ConfigApiCall, ADtoObjectForEqu8UserBanStatus, ADtoObjectForEqu8UserStatus, ARCH, Accelbyte, AcceptAgreementRequest, AcceptAgreementResponse, AcceptedPoliciesRequest, AccountProgressionInfo, Achievement, AchievementInfo, Action, AddCountryGroupRequest, AddCountryGroupResponse, AddUserRoleV4Request, AdditionalData, AdminOrderCreate, AdyenConfig, AgeRestrictionRequest, AgeRestrictionRequestV3, AgeRestrictionResponse, AgeRestrictionResponseV3, AgentType, Agreement$, AliPayConfig, AppEntitlementInfo, AppEntitlementPagingSlicedResult, AppInfo, AppLocalization, AppUpdate, AppleIapConfigInfo, AppleIapConfigRequest, AppleIapReceipt, AssignUserV4Request, AssignedUserV4Response, AuthenticatorKeyResponseV4, AuthenticatorSecretKey, AvailableComparison, AvailablePlatform, AvailablePredicate, AvatarSyncRequestV4, BUILDINFO_PLATFORM_ID, BackgroundOverlay, BackgroundOverlayType, BackupCodesResponseV4, Ban, BanCreateRequest, BanReason, BanReasonV3, BanReasons, BanReasonsV3, BanType, BanUpdateRequest, BanV3, BannedBy, BannedByV3, Bans, BansV3, BasicBuildManifest, BasicBuildManifestArray, BasicCategoryInfo, BasicItem, BillingAccount, BillingHistoryChargeStatus, BillingHistoryInfo, BillingHistoryPagingSlicedResult, BinaryUpload, BlockData, BlockDownloadUrls, BlockDownloadUrlsRequest, BlockManifest, BoxItem, BrowserHelper, BuildAvailability, BuildAvailabilityArray, BuildDeletionData, BuildIdManifest, BuildIdVersion, BuildInfoPii, BuildManifest, BulkBanCreateRequestV3, BulkOperationResult, BulkUnbanCreateRequestV3, BundledItemInfo, Caching$, CalculateDiffCacheRequest, CampaignCreate, CampaignDynamicInfo, CampaignInfo, CampaignPagingSlicedResult, CampaignUpdate, CancelRequest, CatalogChangeInfo, CatalogChangePagingSlicedResult, CatalogChangeStatistics, Category$, CategoryCreate, CategoryInfo, CategoryInfoArray, CategoryUpdate, CheckValidUserIdRequestV4, CheckoutConfig, CleanerConfigObject, ClientCreateRequest, ClientCreationResponse, ClientCreationV3Request, ClientPayload, ClientPermission, ClientPermissionV3, ClientPermissions, ClientPermissionsV3, ClientRequestParameter, ClientResponse, ClientUpdateRequest, ClientUpdateSecretRequest, ClientUpdateV3Request, ClientV3Response, ClientsV3Response, CodeCreate, CodeCreateResult, CodeGenUtil, CodeInfo, CodeInfoPagingSlicedResult, ColorConfig, ColorConfigs, CommitDiffCacheRequest, CommitMultipartUploadRequest, CompanyLogo, CompanyLogoConfig, CompatibilityObject, ConditionGroup, ConditionGroupValidateResult, ConditionMatchResult, Config, Configs, ConfigurationInfo, ConfigurationUpdate, ConflictedUserPlatformAccounts, ConsumeItem, Country, CountryAgeRestriction, CountryAgeRestrictionRequest, CountryAgeRestrictionV3Request, CountryGroupObject, CountryLocationResponse, CountryObject, CountryObjectArray, CountryV3Response, CreateBasePolicyRequest, CreateBasePolicyRequestV2, CreateBasePolicyResponse, CreateDependencyLinkRequest, CreateDiffCacheRequest, CreateJusticeUserResponse, CreateLocalizedPolicyVersionRequest, CreateLocalizedPolicyVersionResponse, CreatePolicyVersionRequest, CreatePolicyVersionResponse, CreateTestUserRequestV4, CreateTestUserResponseV4, CreateTestUsersRequestV4, CreateTestUsersResponseV4, CreateUserRequestV4, CreateUserResponseV4, CreditRequest, CreditRevocation, CreditSummary, Currency$, CurrencyConfig, CurrencyCreate, CurrencyInfo, CurrencyInfoArray, CurrencySummary, CurrencyUpdate, CurrencyWallet, Customization, DISCOVERY_TEMPLATE_NAME, DataDeletion$, DataRetrieval$, DataRetrievalResponse, DebitByCurrencyCodeRequest, DebitRequest, DecodeError, DefaultLaunchProfile, DeleteRewardConditionRequest, DeletionData, DeletionStatus, DependencyObject, Description, DetailedWalletTransactionInfo, DetailedWalletTransactionPagingSlicedResult, DeviceBanRequestV4, DeviceBanResponseV4, DeviceBanUpdateRequestV4, DeviceBannedResponseV4, DeviceBansResponseV4, DeviceIdDecryptResponseV4, DeviceResponseV4, DeviceTypeResponseV4, DeviceTypesResponseV4, DeviceUserResponseV4, DeviceUsersResponseV4, DevicesResponseV4, DiffCacheObject, DiffPatchRequest, DiffStatusReport, DifferentialBuildManifest, DifferentialFileManifest, DifferentialUploadSummary, DisableUserRequest, DiscoveryConfigData, DisplayedPolicy, DistinctLinkedPlatformV3, DistinctPlatformResponseV3, Dlc$, DlcItem, DlcItemConfigInfo, DlcItemConfigUpdate, DlcRecord, Downloader$, DownloaderApi, Drm$, DurableEntitlementRevocationConfig, ERROR_CODE_LINK_DELETION_ACCOUNT, ERROR_CODE_TOKEN_EXPIRED, ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT, ERROR_USER_BANNED, Eligibilities$, EligibleUser, EmailUpdateRequestV4, EnabledFactorsResponseV4, EncryptedIdentity, Entitlement$, EntitlementDecrement, EntitlementDecrementResult, EntitlementGrant, EntitlementHistoryInfo, EntitlementInfo, EntitlementLootBoxReward, EntitlementOwnership, EntitlementOwnershipArray, EntitlementPagingSlicedResult, EntitlementRevocation, EntitlementRevocationConfig, EntitlementSummary, EntitlementUpdate, EpicGamesDlcSyncRequest, EpicGamesIapConfigInfo, EpicGamesIapConfigRequest, EpicGamesReconcileRequest, EpicGamesReconcileResult, EpicGamesReconcileResultArray, Equ8Config, Error$1 as Error, ErrorEntity, ErrorResponse, ErrorResponseWithConflictedUserPlatformAccounts, Event, EventId, EventLevel, EventPayload, EventRegistry, EventResponse, EventResponseV2, EventType, EventV2, EventV2$, ExportStoreRequest, ExtensionFulfillmentSummary, ExternalPaymentOrderCreate, FailedBanUnbanUserV3, FieldValidationError, FileDiffingStatus, FileManifest, FileUpload$, FileUploadUrlInfo, FilterJson, FixedPeriodRotationConfig, FontConfigs, ForgotPasswordRequestV3, FulfillCodeRequest, Fulfillment$, FulfillmentError, FulfillmentHistoryInfo, FulfillmentHistoryPagingSlicedResult, FulfillmentItem, FulfillmentRequest, FulfillmentResult, FulfillmentScriptContext, FulfillmentScriptCreate, FulfillmentScriptEvalTestRequest, FulfillmentScriptEvalTestResult, FulfillmentScriptInfo, FulfillmentScriptUpdate, FullAppInfo, FullCategoryInfo, FullItemInfo, FullItemPagingSlicedResult, FullSectionInfo, FullViewInfo, GameTokenCodeResponse, GenericQueryPayload, GetAdminUsersResponse, GetLinkHeadlessAccountConflictResponse, GetPublisherUserResponse, GetPublisherUserV3Response, GetUserBanV3Response, GetUserJusticePlatformAccountResponse, GetUserMapping, GetUserMappingV3, GetUserMappingV3Array, GetUsersResponseWithPaginationV3, GlobalStyleConfig, GoogleIapConfigInfo, GoogleIapConfigRequest, GoogleIapReceipt, GoogleReceiptResolveResult, GrantSubscriptionDaysRequest, HierarchicalCategoryInfo, HierarchicalCategoryInfoArray, IamHelper, Iap$, IapConsumeHistoryInfo, IapConsumeHistoryPagingSlicedResult, IapItemConfigInfo, IapItemConfigUpdate, IapItemEntry, IapOrderInfo, IapOrderPagingSlicedResult, Image, ImportErrorDetails, ImportStoreError, ImportStoreItemInfo, ImportStoreResult, InGameItemSync, InputValidationData, InputValidationDataPublic, InputValidationDescription, InputValidationHelper, InputValidationUpdatePayload, InputValidations$, InputValidationsApi, InputValidationsPublicResponse, InputValidationsResponse, InviteUserRequestV3, InviteUserRequestV4, InviteUserResponseV3, InvoiceCurrencySummary, InvoiceSummary, Item$, ItemAcquireRequest, ItemAcquireResult, ItemCreate, ItemDynamicDataInfo, ItemId, ItemInfo, ItemInfoArray, ItemNaming, ItemPagingSlicedResult, ItemPurchaseConditionValidateRequest, ItemPurchaseConditionValidateResult, ItemPurchaseConditionValidateResultArray, ItemReturnRequest, ItemRevocation, ItemSnapshot, ItemTypeConfigCreate, ItemTypeConfigInfo, ItemTypeConfigUpdate, ItemUpdate, JwkKey, JwkSet, JwtBanV3, KeyGroupCreate, KeyGroupDynamicInfo, KeyGroupInfo, KeyGroupPagingSlicedResult, KeyGroupUpdate, KeyInfo, KeyPagingSliceResult, LauncherPageConfig, LegalHelper, LegalPolicyType, LegalReadinessStatusResponse, LinkHeadlessAccountRequest, LinkPlatformAccountRequest, LinkPlatformAccountWithProgressionRequest, LinkRequest, LinkingHistoryResponseWithPaginationV3, ListAssignedUsersV4Response, ListBulkUserBanResponseV3, ListBulkUserResponse, ListDeletionDataResponse, ListEmailAddressRequest, ListPersonalDataResponse, ListRoleV4Response, ListUserInformationResult, ListUserResponseV3, ListUserRolesV4Response, ListUsersWithPlatformAccountsResponse, ListValidUserIdResponseV4, ListViewInfo, Localization, LocalizedPolicyVersionObject, LocalizedPolicyVersions$, LocalizedPolicyVersionsWithNamespace$, LogLevel, LoginErrorCancelled, LoginErrorExpired, LoginErrorParam, LoginErrorUnknown, LoginErrorUnmatchedState, LoginHistoriesResponse, LogoVariantConfig, LootBoxConfig, LootBoxReward, MFADataResponse, MFA_DATA_STORAGE_KEY, MachineIdentity, Misc$, MiscApi, MockIapReceipt, ModelCountry, MultipartUploadSummary, MultipartUploadUrl, MultipartUploadedPart, MultipleAgentType, MultipleEventId, MultipleEventLevel, MultipleEventType, MultipleUx, Namespace$, NamespaceCreate, NamespaceInfo, NamespaceInfoArray, NamespacePublisherInfo, NamespaceRole, NamespaceRoleRequest, NamespaceStatusUpdate, NamespaceUpdate, NetflixCertificates, Network, NotificationProcessResult, OAuth20$, OAuth20Extension$, ObsoleteFileManifest, OneTimeLinkingCodeResponse, OneTimeLinkingCodeValidationResponse, OptionBoxConfig, Order, Order$, OrderCreate, OrderCreationOptions, OrderGrantInfo, OrderHistoryInfo, OrderHistoryInfoArray, OrderInfo, OrderPagingResult, OrderPagingSlicedResult, OrderRefundCreate, OrderStatistics, OrderStatus, OrderSummary, OrderSyncResult, OrderUpdate, Ownership, OwnershipToken, PLATFORM, PageConfig, PagedRetrieveUserAcceptedAgreementResponse, Pagination$1 as Pagination, PaginationV3, Paging$1 as Paging, PayPalConfig, PaymentAccount, PaymentAccount$, PaymentAccountArray, PaymentApi, PaymentCallbackConfigInfo, PaymentCallbackConfigUpdate, PaymentMerchantConfigInfo, PaymentMethod, PaymentMethodArray, PaymentNotificationInfo, PaymentNotificationPagingSlicedResult, PaymentOrder, PaymentOrderChargeRequest, PaymentOrderChargeStatus, PaymentOrderCreate, PaymentOrderCreateResult, PaymentOrderDetails, PaymentOrderInfo, PaymentOrderNotifySimulation, PaymentOrderPagingSlicedResult, PaymentOrderPaidResult, PaymentOrderRefund, PaymentOrderRefundResult, PaymentOrderSyncResult, PaymentProcessResult, PaymentProviderConfigEdit, PaymentProviderConfigInfo, PaymentProviderConfigPagingSlicedResult, PaymentRequest, PaymentStation$, PaymentTaxConfigEdit, PaymentTaxConfigInfo, PaymentToken, PaymentUrl, PaymentUrlCreate, Permission, PermissionDeleteRequest, PermissionV3, Permissions, PermissionsV3, PersonalData, PingResultResponse, PlatformAccount, PlatformDlcConfigInfo, PlatformDlcConfigUpdate, PlatformDlcEntry, PlatformDomainDeleteRequest, PlatformDomainResponse, PlatformDomainUpdateRequest, PlatformReward, PlatformRewardCurrency, PlatformRewardItem, PlatformSubscribeRequest, PlatformUserIdRequest, PlatformUserInformation, PlatformUserInformationV3, PlatformWallet, PlatformWalletConfigInfo, PlatformWalletConfigUpdate, PlayStationDlcSyncMultiServiceLabelsRequest, PlayStationDlcSyncRequest, PlayStationIapConfigInfo, PlayStationMultiServiceLabelsReconcileRequest, PlayStationReconcileRequest, PlayStationReconcileResult, PlayStationReconcileResultArray, PlayerPortalConfigData, PlayerPortalFeatureFlagsConfig, PlayerPortalFooterConfig, PlayerPortalFooterConfigLink, PlayerPortalFooterIDs, PlayerPortalHomePageKeys, PlayerPortalHomepageConfig, PlayerPortalHomepageKeys, PlaystationIapConfigRequest, Policies$, PoliciesApi, PolicyObject, PolicyVersionObject, PolicyVersionWithLocalizedVersionObject, PopulatedItemInfo, PreCheckUploadRequest, Predicate, PredicateValidateResult, PublicKeyPresignedUrl, PublicThirdPartyPlatformInfo, PublicThirdPartyPlatformInfoArray, PublicUserInformationResponseV3, PublicUserInformationV3, PublicUserResponse, PublicUserResponseV3, PublicUsersResponse, PurchaseCondition, PurchaseConditionUpdate, PurchasedItemCount, ReadyPlayerMe, Recurring, RecurringChargeResult, RedeemHistoryInfo, RedeemHistoryPagingSlicedResult, RedeemRequest, RedeemResult, RedeemableItem, RegionDataItem, RegisteredDomain, ReleaseNoteDto, ReleaseNoteLocalizationDto, ReleaseNoteManifest, RemoveUserRoleV4Request, RequestDeleteResponse, RequestHistory, Requirement, ResetPasswordRequest, ResetPasswordRequestV3, RestErrorResponse, RetrieveAcceptedAgreementResponse, RetrieveAcceptedAgreementResponseArray, RetrieveBaseGameResponse, RetrieveBaseGameResponseArray, RetrieveBasePolicyResponse, RetrieveCountryGroupResponse, RetrieveDependencyCompatibilityResponse, RetrieveDependencyLinkResponse, RetrieveDiffCacheResponse, RetrieveLatestDlcResponse, RetrieveLatestDlcResponseArray, RetrieveLocalizedPolicyVersionPublicResponse, RetrieveLocalizedPolicyVersionResponse, RetrievePolicyPublicResponse, RetrievePolicyPublicResponseArray, RetrievePolicyResponse, RetrievePolicyTypeResponse, RetrievePolicyVersionResponse, RetrieveTimeResponse, RetrieveUserAcceptedAgreementResponse, RetrieveUserEligibilitiesIndirectResponse, RetrieveUserEligibilitiesResponse, RetrieveUserEligibilitiesResponseArray, RetrieveUserInfoCacheStatusResponse, RevocationConfigInfo, RevocationConfigUpdate, RevocationHistoryInfo, RevocationHistoryPagingSlicedResult, RevocationList, RevocationRequest, RevocationResult, RevokeCurrency, RevokeEntitlement, RevokeEntry, RevokeItem, RevokeItemSummary, RevokeResult, RevokeUserV4Request, Reward$, RewardCondition, RewardCreate, RewardInfo, RewardItem, RewardPagingSlicedResult, RewardUpdate, RewardsRequest, Role, RoleAdminStatusResponse, RoleAdminStatusResponseV3, RoleCreateRequest, RoleCreateV3Request, RoleManager, RoleManagerV3, RoleManagersRequest, RoleManagersRequestV3, RoleManagersResponse, RoleManagersResponsesV3, RoleMember, RoleMemberV3, RoleMembersRequest, RoleMembersRequestV3, RoleMembersResponse, RoleMembersResponseV3, RoleNamesResponseV3, RoleResponse, RoleResponseV3, RoleResponseWithManagers, RoleResponseWithManagersAndPaginationV3, RoleResponseWithManagersV3, RoleUpdateRequest, RoleUpdateRequestV3, RoleV3, RoleV4Request, RoleV4Response, Roles$, SdkCache, SdkDevice, SearchUsersByPlatformIdResponse, SearchUsersResponse, SearchUsersResponseWithPaginationV3, Section$, SectionCreate, SectionInfo, SectionInfoArray, SectionItem, SectionPagingSlicedResult, SectionUpdate, SendRegisterVerificationCodeRequest, SendVerificationCodeRequest, SendVerificationCodeRequestV3, SendVerificationLinkRequest, ServicePluginConfigInfo, ServicePluginConfigUpdate, SimpleLatestBaseGame, SimpleUserPlatformInfoV3, Slide, SocialLinkConfig, Sso$, SsoPlatformCredentialRequest, SsoPlatformCredentialResponse, SsoSaml20$, StackableEntitlementInfo, StartMultipartUploadRequest, StaticConfigs$, SteamAchievementUpdateRequest, SteamDlcSyncRequest, SteamIapConfig, SteamIapConfigInfo, SteamIapConfigRequest, SteamSyncRequest, Store$, StoreBackupInfo, StoreCreate, StoreInfo, StoreInfoArray, StoreUpdate, StripeConfig, Subscribable, SubscribeRequest, Subscription$, SubscriptionActivityInfo, SubscriptionActivityPagingSlicedResult, SubscriptionChargeStatus, SubscriptionInfo, SubscriptionPagingSlicedResult, SubscriptionStatus, SubscriptionSummary, TWOFA_PAGE, TaxResult, Template, TemplateCompact, TemplateConfig, TemplateInfoConfig, Templates$, TestResult, ThirdPartyCredential$, ThirdPartyLoginPlatformCredentialRequest, ThirdPartyLoginPlatformCredentialResponse, TicketAcquireRequest, TicketAcquireResult, TicketBoothId, TicketDynamicInfo, TicketSaleDecrementRequest, TicketSaleIncrementRequest, TicketSaleIncrementResult, TimeLimitedBalance, TimedOwnership, TokenIntrospectResponse, TokenResponse, TokenResponseV3, TokenThirdPartyLinkStatusResponse, TokenThirdPartyResponse, TokenWithDeviceCookieResponseV3, TradeNotification, Transaction, TransactionAmountDetails, TwitchIapConfigInfo, TwitchIapConfigRequest, TwitchSyncRequest, UnlinkUserPlatformRequest, UpdateBasePolicyRequest, UpdateBasePolicyRequestV2, UpdateBasePolicyResponse, UpdateBuildMetadataRequest, UpdateCountryGroupRequest, UpdateLocalizedPolicyVersionRequest, UpdateLocalizedPolicyVersionResponse, UpdatePermissionScheduleRequest, UpdatePolicyRequest, UpdatePolicyVersionRequest, UpdatePolicyVersionResponse, UpdateUserDeletionStatusRequest, UpdateUserStatusRequest, UpgradeHeadlessAccountRequest, UpgradeHeadlessAccountRequestV4, UpgradeHeadlessAccountV3Request, UpgradeHeadlessAccountWithVerificationCodeRequest, UpgradeHeadlessAccountWithVerificationCodeRequestV3, UpgradeHeadlessAccountWithVerificationCodeRequestV4, UploadBuildManifest, UploadLocalizedPolicyVersionAttachmentResponse, UploadModeCheck, UploadPolicyVersionAttachmentRequest, UploadSummary, UrlHelper, UserAction$, UserActiveBanResponse, UserActiveBanResponseV3, UserActiveBanResponseV4, UserApi, UserAuthorizationApi, UserBan, UserBanRequest, UserBanResponse, UserBanResponseV3, UserBaseInfo, UserCreateFromInvitationRequestV3, UserCreateFromInvitationRequestV4, UserCreateRequest, UserCreateRequestV3, UserCreateResponse, UserCreateResponseV3, UserDataUrl, UserDeletionStatusResponse, UserDlc, UserIDsRequest, UserInfoResponse, UserInformation, UserInformationV3, UserInvitationV3, UserLastActivity, UserLinkedPlatform, UserLinkedPlatformV3, UserLinkedPlatformsResponseV3, UserLoginHistoryResponse, UserPasswordUpdateRequest, UserPasswordUpdateV3Request, UserPermissionsResponseV3, UserPermissionsResponseV4, UserPersonalData, UserPersonalDataResponse, UserPlatformInfo, UserPlatforms, UserProfile$, UserProfileAdmin, UserProfileApi, UserProfileBulkRequest, UserProfileCreate, UserProfileInfo, UserProfilePrivateCreate, UserProfilePrivateInfo, UserProfilePrivateUpdate, UserProfilePublicInfo, UserProfilePublicInfoArray, UserProfileStatusUpdate, UserProfileUpdate, UserReportRequest, UserResponse, UserResponseV3, UserResponseV4, UserRevocationListRecord, UserRolesV4Response, UserSearchByPlatformIdResult, UserSearchResult, UserUnbanCreateRequestV3, UserUpdateRequest, UserUpdateRequestV3, UserVerificationRequest, UserVerificationRequestV3, UserWithLinkedPlatformAccounts, UserWithPlatformAccounts, UserZipCode, UserZipCodeUpdate, Users$, UsersV4$, Utility$, Ux, V3ClientUpdateSecretRequest, VALIDATION_ERROR_CODE, ValidUserIdResponseV4, Validate, ValidateableInputField, Validation, ValidationConfig, ValidationDescription, ValidationDetail, ValidationDetailPublic, ValidationErrorEntity, VerificationCodeResponse, VerifyRegistrationCode, VersionChain, VersionNode, View$, ViewCreate, ViewInfo, ViewInfoArray, ViewUpdate, Wallet$, WalletInfo, WalletPagingSlicedResult, WalletRevocationConfig, WalletTransactionInfo, WalletTransactionPagingSlicedResult, WebLinkingResponse, WxPayConfigInfo, WxPayConfigRequest, XblAchievementUpdateRequest, XblDlcSyncRequest, XblIapConfigInfo, XblIapConfigRequest, XblReconcileRequest, XblReconcileResult, XblReconcileResultArray, XblUserAchievements, XsollaConfig, XsollaPaywallConfig, XsollaPaywallConfigRequest, ZsyncDiffRequest, ZsyncFileManifest, injectRequestInterceptors, injectResponseInterceptors };
|
|
40263
|
+
export { ADtoForUnbanUserApiCall, ADtoForUpdateEqu8ConfigApiCall, ADtoObjectForEqu8UserBanStatus, ADtoObjectForEqu8UserStatus, ARCH, Accelbyte, AcceptAgreementRequest, AcceptAgreementResponse, AcceptedPoliciesRequest, AccountProgressionInfo, Achievement, AchievementInfo, Action, AddCountryGroupRequest, AddCountryGroupResponse, AddUserRoleV4Request, AdditionalData, AdminOrderCreate, AdyenConfig, AgeRestrictionRequest, AgeRestrictionRequestV3, AgeRestrictionResponse, AgeRestrictionResponseV3, AgentType, Agreement$, AliPayConfig, AppEntitlementInfo, AppEntitlementPagingSlicedResult, AppInfo, AppLocalization, AppUpdate, AppleIapConfigInfo, AppleIapConfigRequest, AppleIapReceipt, AssignUserV4Request, AssignedUserV4Response, AuthenticatorKeyResponseV4, AuthenticatorSecretKey, AvailableComparison, AvailablePlatform, AvailablePredicate, AvatarSyncRequestV4, BUILDINFO_PLATFORM_ID, BackgroundOverlay, BackgroundOverlayType, BackupCodesResponseV4, Ban, BanCreateRequest, BanReason, BanReasonV3, BanReasons, BanReasonsV3, BanType, BanUpdateRequest, BanV3, BannedBy, BannedByV3, Bans, BansV3, BasicBuildManifest, BasicBuildManifestArray, BasicCategoryInfo, BasicItem, BillingAccount, BillingHistoryChargeStatus, BillingHistoryInfo, BillingHistoryPagingSlicedResult, BinaryUpload, BlockData, BlockDownloadUrls, BlockDownloadUrlsRequest, BlockManifest, BoxItem, BuildAvailability, BuildAvailabilityArray, BuildDeletionData, BuildIdManifest, BuildIdVersion, BuildInfoPii, BuildManifest, BulkBanCreateRequestV3, BulkOperationResult, BulkUnbanCreateRequestV3, BundledItemInfo, Caching$, CalculateDiffCacheRequest, CampaignCreate, CampaignDynamicInfo, CampaignInfo, CampaignPagingSlicedResult, CampaignUpdate, CancelRequest, CatalogChangeInfo, CatalogChangePagingSlicedResult, CatalogChangeStatistics, Category$, CategoryCreate, CategoryInfo, CategoryInfoArray, CategoryUpdate, CheckValidUserIdRequestV4, CheckoutConfig, CleanerConfigObject, ClientCreateRequest, ClientCreationResponse, ClientCreationV3Request, ClientPayload, ClientPermission, ClientPermissionV3, ClientPermissions, ClientPermissionsV3, ClientRequestParameter, ClientResponse, ClientUpdateRequest, ClientUpdateSecretRequest, ClientUpdateV3Request, ClientV3Response, ClientsV3Response, CodeCreate, CodeCreateResult, CodeGenUtil, CodeInfo, CodeInfoPagingSlicedResult, ColorConfig, ColorConfigs, CommitDiffCacheRequest, CommitMultipartUploadRequest, CompanyLogo, CompanyLogoConfig, CompatibilityObject, ConditionGroup, ConditionGroupValidateResult, ConditionMatchResult, Config, Configs, ConfigurationInfo, ConfigurationUpdate, ConflictedUserPlatformAccounts, ConsumeItem, Country, CountryAgeRestriction, CountryAgeRestrictionRequest, CountryAgeRestrictionV3Request, CountryGroupObject, CountryLocationResponse, CountryObject, CountryObjectArray, CountryV3Response, CreateBasePolicyRequest, CreateBasePolicyRequestV2, CreateBasePolicyResponse, CreateDependencyLinkRequest, CreateDiffCacheRequest, CreateJusticeUserResponse, CreateLocalizedPolicyVersionRequest, CreateLocalizedPolicyVersionResponse, CreatePolicyVersionRequest, CreatePolicyVersionResponse, CreateTestUserRequestV4, CreateTestUserResponseV4, CreateTestUsersRequestV4, CreateTestUsersResponseV4, CreateUserRequestV4, CreateUserResponseV4, CreditRequest, CreditRevocation, CreditSummary, Currency$, CurrencyConfig, CurrencyCreate, CurrencyInfo, CurrencyInfoArray, CurrencySummary, CurrencyUpdate, CurrencyWallet, Customization, DISCOVERY_TEMPLATE_NAME, DataDeletion$, DataRetrieval$, DataRetrievalResponse, DebitByCurrencyCodeRequest, DebitRequest, DecodeError, DefaultLaunchProfile, DeleteRewardConditionRequest, DeletionData, DeletionStatus, DependencyObject, Description, DesktopChecker, DetailedWalletTransactionInfo, DetailedWalletTransactionPagingSlicedResult, DeviceBanRequestV4, DeviceBanResponseV4, DeviceBanUpdateRequestV4, DeviceBannedResponseV4, DeviceBansResponseV4, DeviceIdDecryptResponseV4, DeviceResponseV4, DeviceTypeResponseV4, DeviceTypesResponseV4, DeviceUserResponseV4, DeviceUsersResponseV4, DevicesResponseV4, DiffCacheObject, DiffPatchRequest, DiffStatusReport, DifferentialBuildManifest, DifferentialFileManifest, DifferentialUploadSummary, DisableUserRequest, DiscoveryConfigData, DisplayedPolicy, DistinctLinkedPlatformV3, DistinctPlatformResponseV3, Dlc$, DlcItem, DlcItemConfigInfo, DlcItemConfigUpdate, DlcRecord, Downloader$, DownloaderApi, Drm$, DurableEntitlementRevocationConfig, ERROR_CODE_LINK_DELETION_ACCOUNT, ERROR_CODE_TOKEN_EXPIRED, ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT, ERROR_USER_BANNED, Eligibilities$, EligibleUser, EmailUpdateRequestV4, EnabledFactorsResponseV4, EncryptedIdentity, Entitlement$, EntitlementDecrement, EntitlementDecrementResult, EntitlementGrant, EntitlementHistoryInfo, EntitlementInfo, EntitlementLootBoxReward, EntitlementOwnership, EntitlementOwnershipArray, EntitlementPagingSlicedResult, EntitlementRevocation, EntitlementRevocationConfig, EntitlementSummary, EntitlementUpdate, EpicGamesDlcSyncRequest, EpicGamesIapConfigInfo, EpicGamesIapConfigRequest, EpicGamesReconcileRequest, EpicGamesReconcileResult, EpicGamesReconcileResultArray, Equ8Config, Error$1 as Error, ErrorEntity, ErrorResponse, ErrorResponseWithConflictedUserPlatformAccounts, Event, EventId, EventLevel, EventPayload, EventRegistry, EventResponse, EventResponseV2, EventType, EventV2, EventV2$, ExportStoreRequest, ExtensionFulfillmentSummary, ExternalPaymentOrderCreate, FailedBanUnbanUserV3, FieldValidationError, FileDiffingStatus, FileManifest, FileUpload$, FileUploadUrlInfo, FilterJson, FixedPeriodRotationConfig, FontConfigs, ForgotPasswordRequestV3, FulfillCodeRequest, Fulfillment$, FulfillmentError, FulfillmentHistoryInfo, FulfillmentHistoryPagingSlicedResult, FulfillmentItem, FulfillmentRequest, FulfillmentResult, FulfillmentScriptContext, FulfillmentScriptCreate, FulfillmentScriptEvalTestRequest, FulfillmentScriptEvalTestResult, FulfillmentScriptInfo, FulfillmentScriptUpdate, FullAppInfo, FullCategoryInfo, FullItemInfo, FullItemPagingSlicedResult, FullSectionInfo, FullViewInfo, GameTokenCodeResponse, GenericQueryPayload, GetAdminUsersResponse, GetLinkHeadlessAccountConflictResponse, GetPublisherUserResponse, GetPublisherUserV3Response, GetUserBanV3Response, GetUserJusticePlatformAccountResponse, GetUserMapping, GetUserMappingV3, GetUserMappingV3Array, GetUsersResponseWithPaginationV3, GlobalStyleConfig, GoogleIapConfigInfo, GoogleIapConfigRequest, GoogleIapReceipt, GoogleReceiptResolveResult, GrantSubscriptionDaysRequest, HierarchicalCategoryInfo, HierarchicalCategoryInfoArray, IamHelper, Iap$, IapConsumeHistoryInfo, IapConsumeHistoryPagingSlicedResult, IapItemConfigInfo, IapItemConfigUpdate, IapItemEntry, IapOrderInfo, IapOrderPagingSlicedResult, Image, ImportErrorDetails, ImportStoreError, ImportStoreItemInfo, ImportStoreResult, InGameItemSync, InputValidationData, InputValidationDataPublic, InputValidationDescription, InputValidationHelper, InputValidationUpdatePayload, InputValidations$, InputValidationsApi, InputValidationsPublicResponse, InputValidationsResponse, InviteUserRequestV3, InviteUserRequestV4, InviteUserResponseV3, InvoiceCurrencySummary, InvoiceSummary, Item$, ItemAcquireRequest, ItemAcquireResult, ItemCreate, ItemDynamicDataInfo, ItemId, ItemInfo, ItemInfoArray, ItemNaming, ItemPagingSlicedResult, ItemPurchaseConditionValidateRequest, ItemPurchaseConditionValidateResult, ItemPurchaseConditionValidateResultArray, ItemReturnRequest, ItemRevocation, ItemSnapshot, ItemTypeConfigCreate, ItemTypeConfigInfo, ItemTypeConfigUpdate, ItemUpdate, JwkKey, JwkSet, JwtBanV3, KeyGroupCreate, KeyGroupDynamicInfo, KeyGroupInfo, KeyGroupPagingSlicedResult, KeyGroupUpdate, KeyInfo, KeyPagingSliceResult, LauncherPageConfig, LegalHelper, LegalPolicyType, LegalReadinessStatusResponse, LinkHeadlessAccountRequest, LinkPlatformAccountRequest, LinkPlatformAccountWithProgressionRequest, LinkRequest, LinkingHistoryResponseWithPaginationV3, ListAssignedUsersV4Response, ListBulkUserBanResponseV3, ListBulkUserResponse, ListDeletionDataResponse, ListEmailAddressRequest, ListPersonalDataResponse, ListRoleV4Response, ListUserInformationResult, ListUserResponseV3, ListUserRolesV4Response, ListUsersWithPlatformAccountsResponse, ListValidUserIdResponseV4, ListViewInfo, Localization, LocalizedPolicyVersionObject, LocalizedPolicyVersions$, LocalizedPolicyVersionsWithNamespace$, LogLevel, LoginErrorCancelled, LoginErrorExpired, LoginErrorParam, LoginErrorUnknown, LoginErrorUnmatchedState, LoginHistoriesResponse, LogoVariantConfig, LootBoxConfig, LootBoxReward, MFADataResponse, MFA_DATA_STORAGE_KEY, MachineIdentity, Misc$, MiscApi, MockIapReceipt, ModelCountry, MultipartUploadSummary, MultipartUploadUrl, MultipartUploadedPart, MultipleAgentType, MultipleEventId, MultipleEventLevel, MultipleEventType, MultipleUx, Namespace$, NamespaceCreate, NamespaceInfo, NamespaceInfoArray, NamespacePublisherInfo, NamespaceRole, NamespaceRoleRequest, NamespaceStatusUpdate, NamespaceUpdate, NetflixCertificates, Network, NotificationProcessResult, OAuth20$, OAuth20Extension$, ObsoleteFileManifest, OneTimeLinkingCodeResponse, OneTimeLinkingCodeValidationResponse, OptionBoxConfig, Order, Order$, OrderCreate, OrderCreationOptions, OrderGrantInfo, OrderHistoryInfo, OrderHistoryInfoArray, OrderInfo, OrderPagingResult, OrderPagingSlicedResult, OrderRefundCreate, OrderStatistics, OrderStatus, OrderSummary, OrderSyncResult, OrderUpdate, Ownership, OwnershipToken, PLATFORM, PageConfig, PagedRetrieveUserAcceptedAgreementResponse, Pagination$1 as Pagination, PaginationV3, Paging$1 as Paging, PayPalConfig, PaymentAccount, PaymentAccount$, PaymentAccountArray, PaymentApi, PaymentCallbackConfigInfo, PaymentCallbackConfigUpdate, PaymentMerchantConfigInfo, PaymentMethod, PaymentMethodArray, PaymentNotificationInfo, PaymentNotificationPagingSlicedResult, PaymentOrder, PaymentOrderChargeRequest, PaymentOrderChargeStatus, PaymentOrderCreate, PaymentOrderCreateResult, PaymentOrderDetails, PaymentOrderInfo, PaymentOrderNotifySimulation, PaymentOrderPagingSlicedResult, PaymentOrderPaidResult, PaymentOrderRefund, PaymentOrderRefundResult, PaymentOrderSyncResult, PaymentProcessResult, PaymentProviderConfigEdit, PaymentProviderConfigInfo, PaymentProviderConfigPagingSlicedResult, PaymentRequest, PaymentStation$, PaymentTaxConfigEdit, PaymentTaxConfigInfo, PaymentToken, PaymentUrl, PaymentUrlCreate, Permission, PermissionDeleteRequest, PermissionV3, Permissions, PermissionsV3, PersonalData, PingResultResponse, PlatformAccount, PlatformDlcConfigInfo, PlatformDlcConfigUpdate, PlatformDlcEntry, PlatformDomainDeleteRequest, PlatformDomainResponse, PlatformDomainUpdateRequest, PlatformReward, PlatformRewardCurrency, PlatformRewardItem, PlatformSubscribeRequest, PlatformUserIdRequest, PlatformUserInformation, PlatformUserInformationV3, PlatformWallet, PlatformWalletConfigInfo, PlatformWalletConfigUpdate, PlayStationDlcSyncMultiServiceLabelsRequest, PlayStationDlcSyncRequest, PlayStationIapConfigInfo, PlayStationMultiServiceLabelsReconcileRequest, PlayStationReconcileRequest, PlayStationReconcileResult, PlayStationReconcileResultArray, PlayerPortalConfigData, PlayerPortalFeatureFlagsConfig, PlayerPortalFooterConfig, PlayerPortalFooterConfigLink, PlayerPortalFooterIDs, PlayerPortalHomePageKeys, PlayerPortalHomepageConfig, PlayerPortalHomepageKeys, PlaystationIapConfigRequest, Policies$, PoliciesApi, PolicyObject, PolicyVersionObject, PolicyVersionWithLocalizedVersionObject, PopulatedItemInfo, PreCheckUploadRequest, Predicate, PredicateValidateResult, PublicKeyPresignedUrl, PublicThirdPartyPlatformInfo, PublicThirdPartyPlatformInfoArray, PublicUserInformationResponseV3, PublicUserInformationV3, PublicUserResponse, PublicUserResponseV3, PublicUsersResponse, PurchaseCondition, PurchaseConditionUpdate, PurchasedItemCount, ReadyPlayerMe, Recurring, RecurringChargeResult, RedeemHistoryInfo, RedeemHistoryPagingSlicedResult, RedeemRequest, RedeemResult, RedeemableItem, RegionDataItem, RegisteredDomain, ReleaseNoteDto, ReleaseNoteLocalizationDto, ReleaseNoteManifest, RemoveUserRoleV4Request, RequestDeleteResponse, RequestHistory, Requirement, ResetPasswordRequest, ResetPasswordRequestV3, RestErrorResponse, RetrieveAcceptedAgreementResponse, RetrieveAcceptedAgreementResponseArray, RetrieveBaseGameResponse, RetrieveBaseGameResponseArray, RetrieveBasePolicyResponse, RetrieveCountryGroupResponse, RetrieveDependencyCompatibilityResponse, RetrieveDependencyLinkResponse, RetrieveDiffCacheResponse, RetrieveLatestDlcResponse, RetrieveLatestDlcResponseArray, RetrieveLocalizedPolicyVersionPublicResponse, RetrieveLocalizedPolicyVersionResponse, RetrievePolicyPublicResponse, RetrievePolicyPublicResponseArray, RetrievePolicyResponse, RetrievePolicyTypeResponse, RetrievePolicyVersionResponse, RetrieveTimeResponse, RetrieveUserAcceptedAgreementResponse, RetrieveUserEligibilitiesIndirectResponse, RetrieveUserEligibilitiesResponse, RetrieveUserEligibilitiesResponseArray, RetrieveUserInfoCacheStatusResponse, RevocationConfigInfo, RevocationConfigUpdate, RevocationHistoryInfo, RevocationHistoryPagingSlicedResult, RevocationList, RevocationRequest, RevocationResult, RevokeCurrency, RevokeEntitlement, RevokeEntry, RevokeItem, RevokeItemSummary, RevokeResult, RevokeUserV4Request, Reward$, RewardCondition, RewardCreate, RewardInfo, RewardItem, RewardPagingSlicedResult, RewardUpdate, RewardsRequest, Role, RoleAdminStatusResponse, RoleAdminStatusResponseV3, RoleCreateRequest, RoleCreateV3Request, RoleManager, RoleManagerV3, RoleManagersRequest, RoleManagersRequestV3, RoleManagersResponse, RoleManagersResponsesV3, RoleMember, RoleMemberV3, RoleMembersRequest, RoleMembersRequestV3, RoleMembersResponse, RoleMembersResponseV3, RoleNamesResponseV3, RoleResponse, RoleResponseV3, RoleResponseWithManagers, RoleResponseWithManagersAndPaginationV3, RoleResponseWithManagersV3, RoleUpdateRequest, RoleUpdateRequestV3, RoleV3, RoleV4Request, RoleV4Response, Roles$, SdkCache, SdkDevice, SearchUsersByPlatformIdResponse, SearchUsersResponse, SearchUsersResponseWithPaginationV3, Section$, SectionCreate, SectionInfo, SectionInfoArray, SectionItem, SectionPagingSlicedResult, SectionUpdate, SendRegisterVerificationCodeRequest, SendVerificationCodeRequest, SendVerificationCodeRequestV3, SendVerificationLinkRequest, ServicePluginConfigInfo, ServicePluginConfigUpdate, SimpleLatestBaseGame, SimpleUserPlatformInfoV3, Slide, SocialLinkConfig, Sso$, SsoPlatformCredentialRequest, SsoPlatformCredentialResponse, SsoSaml20$, StackableEntitlementInfo, StartMultipartUploadRequest, StaticConfigs$, SteamAchievementUpdateRequest, SteamDlcSyncRequest, SteamIapConfig, SteamIapConfigInfo, SteamIapConfigRequest, SteamSyncRequest, Store$, StoreBackupInfo, StoreCreate, StoreInfo, StoreInfoArray, StoreUpdate, StripeConfig, Subscribable, SubscribeRequest, Subscription$, SubscriptionActivityInfo, SubscriptionActivityPagingSlicedResult, SubscriptionChargeStatus, SubscriptionInfo, SubscriptionPagingSlicedResult, SubscriptionStatus, SubscriptionSummary, TWOFA_PAGE, TaxResult, Template, TemplateCompact, TemplateConfig, TemplateInfoConfig, Templates$, TestResult, ThirdPartyCredential$, ThirdPartyLoginPlatformCredentialRequest, ThirdPartyLoginPlatformCredentialResponse, TicketAcquireRequest, TicketAcquireResult, TicketBoothId, TicketDynamicInfo, TicketSaleDecrementRequest, TicketSaleIncrementRequest, TicketSaleIncrementResult, TimeLimitedBalance, TimedOwnership, TokenIntrospectResponse, TokenResponse, TokenResponseV3, TokenThirdPartyLinkStatusResponse, TokenThirdPartyResponse, TokenWithDeviceCookieResponseV3, TradeNotification, Transaction, TransactionAmountDetails, TwitchIapConfigInfo, TwitchIapConfigRequest, TwitchSyncRequest, UnlinkUserPlatformRequest, UpdateBasePolicyRequest, UpdateBasePolicyRequestV2, UpdateBasePolicyResponse, UpdateBuildMetadataRequest, UpdateCountryGroupRequest, UpdateLocalizedPolicyVersionRequest, UpdateLocalizedPolicyVersionResponse, UpdatePermissionScheduleRequest, UpdatePolicyRequest, UpdatePolicyVersionRequest, UpdatePolicyVersionResponse, UpdateUserDeletionStatusRequest, UpdateUserStatusRequest, UpgradeHeadlessAccountRequest, UpgradeHeadlessAccountRequestV4, UpgradeHeadlessAccountV3Request, UpgradeHeadlessAccountWithVerificationCodeRequest, UpgradeHeadlessAccountWithVerificationCodeRequestV3, UpgradeHeadlessAccountWithVerificationCodeRequestV4, UploadBuildManifest, UploadLocalizedPolicyVersionAttachmentResponse, UploadModeCheck, UploadPolicyVersionAttachmentRequest, UploadSummary, UrlHelper, UserAction$, UserActiveBanResponse, UserActiveBanResponseV3, UserActiveBanResponseV4, UserApi, UserAuthorizationApi, UserBan, UserBanRequest, UserBanResponse, UserBanResponseV3, UserBaseInfo, UserCreateFromInvitationRequestV3, UserCreateFromInvitationRequestV4, UserCreateRequest, UserCreateRequestV3, UserCreateResponse, UserCreateResponseV3, UserDataUrl, UserDeletionStatusResponse, UserDlc, UserIDsRequest, UserInfoResponse, UserInformation, UserInformationV3, UserInvitationV3, UserLastActivity, UserLinkedPlatform, UserLinkedPlatformV3, UserLinkedPlatformsResponseV3, UserLoginHistoryResponse, UserPasswordUpdateRequest, UserPasswordUpdateV3Request, UserPermissionsResponseV3, UserPermissionsResponseV4, UserPersonalData, UserPersonalDataResponse, UserPlatformInfo, UserPlatforms, UserProfile$, UserProfileAdmin, UserProfileApi, UserProfileBulkRequest, UserProfileCreate, UserProfileInfo, UserProfilePrivateCreate, UserProfilePrivateInfo, UserProfilePrivateUpdate, UserProfilePublicInfo, UserProfilePublicInfoArray, UserProfileStatusUpdate, UserProfileUpdate, UserReportRequest, UserResponse, UserResponseV3, UserResponseV4, UserRevocationListRecord, UserRolesV4Response, UserSearchByPlatformIdResult, UserSearchResult, UserUnbanCreateRequestV3, UserUpdateRequest, UserUpdateRequestV3, UserVerificationRequest, UserVerificationRequestV3, UserWithLinkedPlatformAccounts, UserWithPlatformAccounts, UserZipCode, UserZipCodeUpdate, Users$, UsersV4$, Utility$, Ux, V3ClientUpdateSecretRequest, VALIDATION_ERROR_CODE, ValidUserIdResponseV4, Validate, ValidateableInputField, Validation, ValidationConfig, ValidationDescription, ValidationDetail, ValidationDetailPublic, ValidationErrorEntity, VerificationCodeResponse, VerifyRegistrationCode, VersionChain, VersionNode, View$, ViewCreate, ViewInfo, ViewInfoArray, ViewUpdate, Wallet$, WalletInfo, WalletPagingSlicedResult, WalletRevocationConfig, WalletTransactionInfo, WalletTransactionPagingSlicedResult, WebLinkingResponse, WxPayConfigInfo, WxPayConfigRequest, XblAchievementUpdateRequest, XblDlcSyncRequest, XblIapConfigInfo, XblIapConfigRequest, XblReconcileRequest, XblReconcileResult, XblReconcileResultArray, XblUserAchievements, XsollaConfig, XsollaPaywallConfig, XsollaPaywallConfigRequest, ZsyncDiffRequest, ZsyncFileManifest, injectRequestInterceptors, injectResponseInterceptors };
|
|
39855
40264
|
//# sourceMappingURL=index.node.es.js.map
|