@community-fabs/playfab-web-sdk 1.195.250704 → 1.196.250718
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Addon.js +2 -2
- package/dist/Admin.d.ts +2 -0
- package/dist/Admin.js +2 -2
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +14 -14
- package/dist/Client.js +2 -2
- package/dist/CloudScript.d.ts +10 -4
- package/dist/CloudScript.js +2 -2
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +4 -0
- package/dist/Economy.js +2 -2
- package/dist/Events.js +2 -2
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.js +2 -2
- package/dist/Insights.js +2 -2
- package/dist/Localization.js +2 -2
- package/dist/Matchmaker.js +2 -2
- package/dist/Multiplayer.d.ts +4 -4
- package/dist/Multiplayer.js +2 -2
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +21 -3
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +10 -10
- package/dist/Server.js +2 -2
- package/dist/{chunk-Y36EX63D.js → chunk-2KW6LX47.js} +22 -4
- package/dist/chunk-2KW6LX47.js.map +1 -0
- package/dist/{chunk-NCR45PCR.js → chunk-4VJ56URA.js} +2 -2
- package/dist/{chunk-KZPYLZB2.js → chunk-62GUCX5I.js} +10 -6
- package/dist/chunk-62GUCX5I.js.map +1 -0
- package/dist/{chunk-NUXGRJCJ.js → chunk-BQIRYFZH.js} +2 -2
- package/dist/{chunk-6B3VYPJU.js → chunk-BTZ6KI2T.js} +2 -2
- package/dist/{chunk-PRA4UEAV.js → chunk-BZJQTEZD.js} +6 -6
- package/dist/{chunk-PRA4UEAV.js.map → chunk-BZJQTEZD.js.map} +1 -1
- package/dist/{chunk-X52B7OKS.js → chunk-CXCZ62FP.js} +2 -2
- package/dist/{chunk-AVPH5BCL.js → chunk-ESBWDVN3.js} +2 -2
- package/dist/{chunk-NTRM2RO5.js → chunk-HF6CBZD7.js} +3 -3
- package/dist/{chunk-NTRM2RO5.js.map → chunk-HF6CBZD7.js.map} +1 -1
- package/dist/{chunk-6HGHBTMI.js → chunk-KPZXVJD7.js} +2 -2
- package/dist/{chunk-APTGFXBK.js → chunk-L3RQ4FRO.js} +2 -2
- package/dist/{chunk-UMJCHOU6.js → chunk-NYO4L5K3.js} +2 -2
- package/dist/{chunk-2KRETDIO.js → chunk-UBBO6BDJ.js} +2 -2
- package/dist/{chunk-4Q3JCL7F.js → chunk-UUQCCAVQ.js} +2 -2
- package/dist/{chunk-YJ7XETSW.js → chunk-WSW3W6ST.js} +2 -2
- package/dist/{chunk-JCTY4BMD.js → chunk-XQKYRTFI.js} +2 -2
- package/dist/{chunk-7ELTCR2K.js → chunk-ZCVONU5F.js} +2 -2
- package/dist/{chunk-WUH7OMY2.js → chunk-ZSAW5IJ3.js} +2 -2
- package/dist/index.js +18 -18
- package/package.json +1 -1
- package/dist/chunk-KZPYLZB2.js.map +0 -1
- package/dist/chunk-Y36EX63D.js.map +0 -1
- /package/dist/{chunk-NCR45PCR.js.map → chunk-4VJ56URA.js.map} +0 -0
- /package/dist/{chunk-NUXGRJCJ.js.map → chunk-BQIRYFZH.js.map} +0 -0
- /package/dist/{chunk-6B3VYPJU.js.map → chunk-BTZ6KI2T.js.map} +0 -0
- /package/dist/{chunk-X52B7OKS.js.map → chunk-CXCZ62FP.js.map} +0 -0
- /package/dist/{chunk-AVPH5BCL.js.map → chunk-ESBWDVN3.js.map} +0 -0
- /package/dist/{chunk-6HGHBTMI.js.map → chunk-KPZXVJD7.js.map} +0 -0
- /package/dist/{chunk-APTGFXBK.js.map → chunk-L3RQ4FRO.js.map} +0 -0
- /package/dist/{chunk-UMJCHOU6.js.map → chunk-NYO4L5K3.js.map} +0 -0
- /package/dist/{chunk-2KRETDIO.js.map → chunk-UBBO6BDJ.js.map} +0 -0
- /package/dist/{chunk-4Q3JCL7F.js.map → chunk-UUQCCAVQ.js.map} +0 -0
- /package/dist/{chunk-YJ7XETSW.js.map → chunk-WSW3W6ST.js.map} +0 -0
- /package/dist/{chunk-JCTY4BMD.js.map → chunk-XQKYRTFI.js.map} +0 -0
- /package/dist/{chunk-7ELTCR2K.js.map → chunk-ZCVONU5F.js.map} +0 -0
- /package/dist/{chunk-WUH7OMY2.js.map → chunk-ZSAW5IJ3.js.map} +0 -0
package/dist/Addon.js
CHANGED
package/dist/Admin.d.ts
CHANGED
|
@@ -953,6 +953,8 @@ interface ExecuteFunctionResult {
|
|
|
953
953
|
FunctionName?: string;
|
|
954
954
|
/** The object returned from the function, if any */
|
|
955
955
|
FunctionResult?: any;
|
|
956
|
+
/** The size in bytes of the object returned from the function, if any */
|
|
957
|
+
FunctionResultSize?: number;
|
|
956
958
|
/** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */
|
|
957
959
|
FunctionResultTooLarge?: boolean;
|
|
958
960
|
}
|
package/dist/Admin.js
CHANGED
package/dist/Authentication.js
CHANGED
package/dist/Client.d.ts
CHANGED
|
@@ -1264,8 +1264,8 @@ interface GetPlayFabIDsFromBattleNetAccountIdsResult extends IPlayFabResultCommo
|
|
|
1264
1264
|
}
|
|
1265
1265
|
interface GetPlayFabIDsFromFacebookIDsRequest extends IPlayFabRequestCommon {
|
|
1266
1266
|
/**
|
|
1267
|
-
* Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed
|
|
1268
|
-
*
|
|
1267
|
+
* Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in
|
|
1268
|
+
* length.
|
|
1269
1269
|
*/
|
|
1270
1270
|
FacebookIDs: string[];
|
|
1271
1271
|
}
|
|
@@ -1287,7 +1287,7 @@ interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends IPlayFabResultC
|
|
|
1287
1287
|
interface GetPlayFabIDsFromGameCenterIDsRequest extends IPlayFabRequestCommon {
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers.
|
|
1290
|
-
* The array cannot exceed
|
|
1290
|
+
* The array cannot exceed 25 in length.
|
|
1291
1291
|
*/
|
|
1292
1292
|
GameCenterIDs: string[];
|
|
1293
1293
|
}
|
|
@@ -1309,7 +1309,7 @@ interface GetPlayFabIDsFromGenericIDsResult extends IPlayFabResultCommon {
|
|
|
1309
1309
|
interface GetPlayFabIDsFromGoogleIDsRequest extends IPlayFabRequestCommon {
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. The array
|
|
1312
|
-
* cannot exceed
|
|
1312
|
+
* cannot exceed 25 in length.
|
|
1313
1313
|
*/
|
|
1314
1314
|
GoogleIDs: string[];
|
|
1315
1315
|
}
|
|
@@ -1320,7 +1320,7 @@ interface GetPlayFabIDsFromGoogleIDsResult extends IPlayFabResultCommon {
|
|
|
1320
1320
|
interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends IPlayFabRequestCommon {
|
|
1321
1321
|
/**
|
|
1322
1322
|
* Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers.
|
|
1323
|
-
* The array cannot exceed
|
|
1323
|
+
* The array cannot exceed 25 in length.
|
|
1324
1324
|
*/
|
|
1325
1325
|
GooglePlayGamesPlayerIDs: string[];
|
|
1326
1326
|
}
|
|
@@ -1331,7 +1331,7 @@ interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsResult extends IPlayFabResult
|
|
|
1331
1331
|
interface GetPlayFabIDsFromKongregateIDsRequest extends IPlayFabRequestCommon {
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. The
|
|
1334
|
-
* array cannot exceed
|
|
1334
|
+
* array cannot exceed 25 in length.
|
|
1335
1335
|
*/
|
|
1336
1336
|
KongregateIDs: string[];
|
|
1337
1337
|
}
|
|
@@ -1342,7 +1342,7 @@ interface GetPlayFabIDsFromKongregateIDsResult extends IPlayFabResultCommon {
|
|
|
1342
1342
|
interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends IPlayFabRequestCommon {
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1345
|
-
* cannot exceed
|
|
1345
|
+
* cannot exceed 25 in length.
|
|
1346
1346
|
*/
|
|
1347
1347
|
NintendoAccountIds: string[];
|
|
1348
1348
|
}
|
|
@@ -1353,7 +1353,7 @@ interface GetPlayFabIDsFromNintendoServiceAccountIdsResult extends IPlayFabResul
|
|
|
1353
1353
|
interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends IPlayFabRequestCommon {
|
|
1354
1354
|
/**
|
|
1355
1355
|
* Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1356
|
-
* cannot exceed
|
|
1356
|
+
* cannot exceed 25 in length.
|
|
1357
1357
|
*/
|
|
1358
1358
|
NintendoSwitchDeviceIds: string[];
|
|
1359
1359
|
}
|
|
@@ -1366,7 +1366,7 @@ interface GetPlayFabIDsFromPSNAccountIDsRequest extends IPlayFabRequestCommon {
|
|
|
1366
1366
|
IssuerId?: number;
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1369
|
-
* cannot exceed
|
|
1369
|
+
* cannot exceed 25 in length.
|
|
1370
1370
|
*/
|
|
1371
1371
|
PSNAccountIDs: string[];
|
|
1372
1372
|
}
|
|
@@ -1379,7 +1379,7 @@ interface GetPlayFabIDsFromPSNOnlineIDsRequest extends IPlayFabRequestCommon {
|
|
|
1379
1379
|
IssuerId?: number;
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1382
|
-
* cannot exceed
|
|
1382
|
+
* cannot exceed 25 in length.
|
|
1383
1383
|
*/
|
|
1384
1384
|
PSNOnlineIDs: string[];
|
|
1385
1385
|
}
|
|
@@ -1395,7 +1395,7 @@ interface GetPlayFabIDsFromSteamIDsRequest extends IPlayFabRequestCommon {
|
|
|
1395
1395
|
SteamIDs?: number[];
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array
|
|
1398
|
-
* cannot exceed
|
|
1398
|
+
* cannot exceed 25 in length.
|
|
1399
1399
|
*/
|
|
1400
1400
|
SteamStringIDs?: string[];
|
|
1401
1401
|
}
|
|
@@ -1405,7 +1405,7 @@ interface GetPlayFabIDsFromSteamIDsResult extends IPlayFabResultCommon {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
interface GetPlayFabIDsFromSteamNamesRequest extends IPlayFabRequestCommon {
|
|
1407
1407
|
/**
|
|
1408
|
-
* Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed
|
|
1408
|
+
* Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in
|
|
1409
1409
|
* length.
|
|
1410
1410
|
*/
|
|
1411
1411
|
SteamNames: string[];
|
|
@@ -1417,7 +1417,7 @@ interface GetPlayFabIDsFromSteamNamesResult extends IPlayFabResultCommon {
|
|
|
1417
1417
|
interface GetPlayFabIDsFromTwitchIDsRequest extends IPlayFabRequestCommon {
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot
|
|
1420
|
-
* exceed
|
|
1420
|
+
* exceed 25 in length.
|
|
1421
1421
|
*/
|
|
1422
1422
|
TwitchIds: string[];
|
|
1423
1423
|
}
|
|
@@ -1430,7 +1430,7 @@ interface GetPlayFabIDsFromXboxLiveIDsRequest extends IPlayFabRequestCommon {
|
|
|
1430
1430
|
Sandbox?: string;
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot
|
|
1433
|
-
* exceed
|
|
1433
|
+
* exceed 25 in length.
|
|
1434
1434
|
*/
|
|
1435
1435
|
XboxLiveAccountIDs: string[];
|
|
1436
1436
|
}
|
package/dist/Client.js
CHANGED
package/dist/CloudScript.d.ts
CHANGED
|
@@ -124,6 +124,8 @@ interface ExecuteFunctionResult extends IPlayFabResultCommon {
|
|
|
124
124
|
FunctionName?: string;
|
|
125
125
|
/** The object returned from the function, if any */
|
|
126
126
|
FunctionResult?: any;
|
|
127
|
+
/** The size in bytes of the object returned from the function, if any */
|
|
128
|
+
FunctionResultSize?: number;
|
|
127
129
|
/** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */
|
|
128
130
|
FunctionResultTooLarge?: boolean;
|
|
129
131
|
}
|
|
@@ -550,7 +552,8 @@ declare class PlayFabCloudScriptApi extends PlayFabCommon {
|
|
|
550
552
|
* "FunctionResult": {
|
|
551
553
|
* "newScore": 25,
|
|
552
554
|
* "isWinner": false
|
|
553
|
-
* }
|
|
555
|
+
* },
|
|
556
|
+
* "FunctionResultSize": 43
|
|
554
557
|
* },
|
|
555
558
|
* "Entity": {
|
|
556
559
|
* "Id": "ID",
|
|
@@ -572,7 +575,8 @@ declare class PlayFabCloudScriptApi extends PlayFabCommon {
|
|
|
572
575
|
* "FunctionResult": {
|
|
573
576
|
* "newScore": 25,
|
|
574
577
|
* "isWinner": false
|
|
575
|
-
* }
|
|
578
|
+
* },
|
|
579
|
+
* "FunctionResultSize": 43
|
|
576
580
|
* },
|
|
577
581
|
* "Entity": {
|
|
578
582
|
* "Id": "ID",
|
|
@@ -610,7 +614,8 @@ declare class PlayFabCloudScriptApi extends PlayFabCommon {
|
|
|
610
614
|
* "FunctionResult": {
|
|
611
615
|
* "newScore": 25,
|
|
612
616
|
* "isWinner": false
|
|
613
|
-
* }
|
|
617
|
+
* },
|
|
618
|
+
* "FunctionResultSize": 43
|
|
614
619
|
* }
|
|
615
620
|
* });
|
|
616
621
|
*/
|
|
@@ -631,7 +636,8 @@ declare class PlayFabCloudScriptApi extends PlayFabCommon {
|
|
|
631
636
|
* "FunctionResult": {
|
|
632
637
|
* "newScore": 25,
|
|
633
638
|
* "isWinner": false
|
|
634
|
-
* }
|
|
639
|
+
* },
|
|
640
|
+
* "FunctionResultSize": 43
|
|
635
641
|
* }
|
|
636
642
|
* });
|
|
637
643
|
*/
|
package/dist/CloudScript.js
CHANGED
package/dist/Data.js
CHANGED
package/dist/Economy.d.ts
CHANGED
|
@@ -577,6 +577,8 @@ interface ExecuteTransferOperationsResponse extends IPlayFabResultCommon {
|
|
|
577
577
|
interface ExportVersionedCatalogRequest extends IPlayFabRequestCommon {
|
|
578
578
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
579
579
|
CustomTags?: Record<string, string | null>;
|
|
580
|
+
/** Whether or not the export should read from BlobCatalog. */
|
|
581
|
+
ReadFromBlobCatalog: boolean;
|
|
580
582
|
/** Version of the catalog. */
|
|
581
583
|
Version?: string;
|
|
582
584
|
}
|
|
@@ -1611,6 +1613,8 @@ interface Transaction {
|
|
|
1611
1613
|
ClawbackDetails?: TransactionClawbackDetails;
|
|
1612
1614
|
/** The country of the caller of the operation. */
|
|
1613
1615
|
CountryCode?: CountryCode;
|
|
1616
|
+
/** The custom tags associated with this transactions. */
|
|
1617
|
+
CustomTags?: Record<string, string | null>;
|
|
1614
1618
|
/** The type of item that the the operation occurred on. */
|
|
1615
1619
|
ItemType?: string;
|
|
1616
1620
|
/** The operations that occurred. */
|
package/dist/Economy.js
CHANGED
package/dist/Events.js
CHANGED
package/dist/Experimentation.js
CHANGED
package/dist/Groups.js
CHANGED
package/dist/Insights.js
CHANGED
package/dist/Localization.js
CHANGED
package/dist/Matchmaker.js
CHANGED
package/dist/Multiplayer.d.ts
CHANGED
|
@@ -3557,8 +3557,8 @@ declare class PlayFabMultiplayerApi extends PlayFabCommon {
|
|
|
3557
3557
|
* "Deaths"
|
|
3558
3558
|
* ],
|
|
3559
3559
|
* "InitialSettingsModelId": "73a2506e-9fd3-4d84-8dd7-570c8e9e02cf",
|
|
3560
|
-
* "MatchResultStartTimeUtc": "2025-07-
|
|
3561
|
-
* "MatchResultEndTimeUtc": "2025-07-
|
|
3560
|
+
* "MatchResultStartTimeUtc": "2025-07-18T13:31:38.411Z",
|
|
3561
|
+
* "MatchResultEndTimeUtc": "2025-07-18T14:01:38.411Z",
|
|
3562
3562
|
* "MaxIterations": 100,
|
|
3563
3563
|
* "AnomalousMatchResultIgnoreThreshold": -20.0
|
|
3564
3564
|
* });
|
|
@@ -5576,8 +5576,8 @@ declare class PlayFabMultiplayerApi extends PlayFabCommon {
|
|
|
5576
5576
|
* "Rank": 1
|
|
5577
5577
|
* }
|
|
5578
5578
|
* ],
|
|
5579
|
-
* "StartDateTimeUtc": "2025-07-
|
|
5580
|
-
* "EndDateTimeUtc": "2025-07-
|
|
5579
|
+
* "StartDateTimeUtc": "2025-07-18T13:31:38.402Z",
|
|
5580
|
+
* "EndDateTimeUtc": "2025-07-18T14:01:38.402Z"
|
|
5581
5581
|
* }
|
|
5582
5582
|
* });
|
|
5583
5583
|
*/
|
package/dist/Multiplayer.js
CHANGED
package/dist/Profiles.js
CHANGED
package/dist/Progression.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface CreateLeaderboardDefinitionRequest extends IPlayFabRequestCommon {
|
|
|
18
18
|
/** Maximum number of entries on this leaderboard */
|
|
19
19
|
SizeLimit: number;
|
|
20
20
|
/** The version reset configuration for the leaderboard definition. */
|
|
21
|
-
VersionConfiguration
|
|
21
|
+
VersionConfiguration?: VersionConfiguration;
|
|
22
22
|
}
|
|
23
23
|
interface CreateStatisticDefinitionRequest extends IPlayFabRequestCommon {
|
|
24
24
|
/**
|
|
@@ -518,7 +518,16 @@ declare class PlayFabProgressionApi extends PlayFabCommon {
|
|
|
518
518
|
* "SortDirection": "Descending"
|
|
519
519
|
* }
|
|
520
520
|
* ],
|
|
521
|
-
* "SizeLimit": 1000
|
|
521
|
+
* "SizeLimit": 1000,
|
|
522
|
+
* "EventEmissionConfig": {
|
|
523
|
+
* "VersionEndConfig": {
|
|
524
|
+
* "EventType": "None"
|
|
525
|
+
* },
|
|
526
|
+
* "EntityRankOnVersionEndConfig": {
|
|
527
|
+
* "EventType": "None",
|
|
528
|
+
* "RankLimit": 1
|
|
529
|
+
* }
|
|
530
|
+
* }
|
|
522
531
|
* });
|
|
523
532
|
*/
|
|
524
533
|
CreateLeaderboardDefinition(request: CreateLeaderboardDefinitionRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
@@ -774,7 +783,16 @@ declare class PlayFabProgressionApi extends PlayFabCommon {
|
|
|
774
783
|
* "ResetInterval": "Manual",
|
|
775
784
|
* "MaxQueryableVersions": 1
|
|
776
785
|
* },
|
|
777
|
-
* "SizeLimit": 1000
|
|
786
|
+
* "SizeLimit": 1000,
|
|
787
|
+
* "EventEmissionConfig": {
|
|
788
|
+
* "VersionEndConfig": {
|
|
789
|
+
* "EventType": "None"
|
|
790
|
+
* },
|
|
791
|
+
* "EntityRankOnVersionEndConfig": {
|
|
792
|
+
* "EventType": "None",
|
|
793
|
+
* "RankLimit": 1
|
|
794
|
+
* }
|
|
795
|
+
* }
|
|
778
796
|
* });
|
|
779
797
|
*/
|
|
780
798
|
UpdateLeaderboardDefinition(request: UpdateLeaderboardDefinitionRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
package/dist/Progression.js
CHANGED
package/dist/Server.d.ts
CHANGED
|
@@ -1101,8 +1101,8 @@ interface GetPlayFabIDsFromBattleNetAccountIdsResult extends IPlayFabResultCommo
|
|
|
1101
1101
|
}
|
|
1102
1102
|
interface GetPlayFabIDsFromFacebookIDsRequest extends IPlayFabRequestCommon {
|
|
1103
1103
|
/**
|
|
1104
|
-
* Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed
|
|
1105
|
-
*
|
|
1104
|
+
* Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in
|
|
1105
|
+
* length.
|
|
1106
1106
|
*/
|
|
1107
1107
|
FacebookIDs: string[];
|
|
1108
1108
|
}
|
|
@@ -1135,7 +1135,7 @@ interface GetPlayFabIDsFromGenericIDsResult extends IPlayFabResultCommon {
|
|
|
1135
1135
|
interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends IPlayFabRequestCommon {
|
|
1136
1136
|
/**
|
|
1137
1137
|
* Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1138
|
-
* cannot exceed
|
|
1138
|
+
* cannot exceed 25 in length.
|
|
1139
1139
|
*/
|
|
1140
1140
|
NintendoAccountIds: string[];
|
|
1141
1141
|
}
|
|
@@ -1146,7 +1146,7 @@ interface GetPlayFabIDsFromNintendoServiceAccountIdsResult extends IPlayFabResul
|
|
|
1146
1146
|
interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends IPlayFabRequestCommon {
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1149
|
-
* cannot exceed
|
|
1149
|
+
* cannot exceed 25 in length.
|
|
1150
1150
|
*/
|
|
1151
1151
|
NintendoSwitchDeviceIds: string[];
|
|
1152
1152
|
}
|
|
@@ -1159,7 +1159,7 @@ interface GetPlayFabIDsFromPSNAccountIDsRequest extends IPlayFabRequestCommon {
|
|
|
1159
1159
|
IssuerId?: number;
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1162
|
-
* cannot exceed
|
|
1162
|
+
* cannot exceed 25 in length.
|
|
1163
1163
|
*/
|
|
1164
1164
|
PSNAccountIDs: string[];
|
|
1165
1165
|
}
|
|
@@ -1172,7 +1172,7 @@ interface GetPlayFabIDsFromPSNOnlineIDsRequest extends IPlayFabRequestCommon {
|
|
|
1172
1172
|
IssuerId?: number;
|
|
1173
1173
|
/**
|
|
1174
1174
|
* Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array
|
|
1175
|
-
* cannot exceed
|
|
1175
|
+
* cannot exceed 25 in length.
|
|
1176
1176
|
*/
|
|
1177
1177
|
PSNOnlineIDs: string[];
|
|
1178
1178
|
}
|
|
@@ -1188,7 +1188,7 @@ interface GetPlayFabIDsFromSteamIDsRequest extends IPlayFabRequestCommon {
|
|
|
1188
1188
|
SteamIDs?: number[];
|
|
1189
1189
|
/**
|
|
1190
1190
|
* Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array
|
|
1191
|
-
* cannot exceed
|
|
1191
|
+
* cannot exceed 25 in length.
|
|
1192
1192
|
*/
|
|
1193
1193
|
SteamStringIDs?: string[];
|
|
1194
1194
|
}
|
|
@@ -1198,7 +1198,7 @@ interface GetPlayFabIDsFromSteamIDsResult extends IPlayFabResultCommon {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
interface GetPlayFabIDsFromSteamNamesRequest extends IPlayFabRequestCommon {
|
|
1200
1200
|
/**
|
|
1201
|
-
* Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed
|
|
1201
|
+
* Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in
|
|
1202
1202
|
* length.
|
|
1203
1203
|
*/
|
|
1204
1204
|
SteamNames: string[];
|
|
@@ -1210,7 +1210,7 @@ interface GetPlayFabIDsFromSteamNamesResult extends IPlayFabResultCommon {
|
|
|
1210
1210
|
interface GetPlayFabIDsFromTwitchIDsRequest extends IPlayFabRequestCommon {
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot
|
|
1213
|
-
* exceed
|
|
1213
|
+
* exceed 25 in length.
|
|
1214
1214
|
*/
|
|
1215
1215
|
TwitchIds: string[];
|
|
1216
1216
|
}
|
|
@@ -1223,7 +1223,7 @@ interface GetPlayFabIDsFromXboxLiveIDsRequest extends IPlayFabRequestCommon {
|
|
|
1223
1223
|
Sandbox?: string;
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot
|
|
1226
|
-
* exceed
|
|
1226
|
+
* exceed 25 in length.
|
|
1227
1227
|
*/
|
|
1228
1228
|
XboxLiveAccountIDs: string[];
|
|
1229
1229
|
}
|
package/dist/Server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayFabCommon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HF6CBZD7.js";
|
|
4
4
|
|
|
5
5
|
// src/apis/PlayFabProgressionApi.ts
|
|
6
6
|
var PlayFabProgressionApi = class extends PlayFabCommon {
|
|
@@ -22,7 +22,16 @@ var PlayFabProgressionApi = class extends PlayFabCommon {
|
|
|
22
22
|
* "SortDirection": "Descending"
|
|
23
23
|
* }
|
|
24
24
|
* ],
|
|
25
|
-
* "SizeLimit": 1000
|
|
25
|
+
* "SizeLimit": 1000,
|
|
26
|
+
* "EventEmissionConfig": {
|
|
27
|
+
* "VersionEndConfig": {
|
|
28
|
+
* "EventType": "None"
|
|
29
|
+
* },
|
|
30
|
+
* "EntityRankOnVersionEndConfig": {
|
|
31
|
+
* "EventType": "None",
|
|
32
|
+
* "RankLimit": 1
|
|
33
|
+
* }
|
|
34
|
+
* }
|
|
26
35
|
* });
|
|
27
36
|
*/
|
|
28
37
|
CreateLeaderboardDefinition(request, extraHeaders) {
|
|
@@ -318,7 +327,16 @@ var PlayFabProgressionApi = class extends PlayFabCommon {
|
|
|
318
327
|
* "ResetInterval": "Manual",
|
|
319
328
|
* "MaxQueryableVersions": 1
|
|
320
329
|
* },
|
|
321
|
-
* "SizeLimit": 1000
|
|
330
|
+
* "SizeLimit": 1000,
|
|
331
|
+
* "EventEmissionConfig": {
|
|
332
|
+
* "VersionEndConfig": {
|
|
333
|
+
* "EventType": "None"
|
|
334
|
+
* },
|
|
335
|
+
* "EntityRankOnVersionEndConfig": {
|
|
336
|
+
* "EventType": "None",
|
|
337
|
+
* "RankLimit": 1
|
|
338
|
+
* }
|
|
339
|
+
* }
|
|
322
340
|
* });
|
|
323
341
|
*/
|
|
324
342
|
UpdateLeaderboardDefinition(request, extraHeaders) {
|
|
@@ -418,4 +436,4 @@ var PlayFabProgressionApi = class extends PlayFabCommon {
|
|
|
418
436
|
export {
|
|
419
437
|
PlayFabProgressionApi
|
|
420
438
|
};
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
439
|
+
//# sourceMappingURL=chunk-2KW6LX47.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/apis/PlayFabProgressionApi.ts"],"sourcesContent":["import type { EmptyResponse } from \"../types/PlayFab\";\nimport type {\n CreateLeaderboardDefinitionRequest,\n CreateStatisticDefinitionRequest,\n DeleteLeaderboardDefinitionRequest,\n DeleteLeaderboardEntriesRequest,\n DeleteStatisticDefinitionRequest,\n DeleteStatisticsRequest,\n GetFriendLeaderboardForEntityRequest,\n GetEntityLeaderboardRequest,\n GetLeaderboardAroundEntityRequest,\n GetLeaderboardDefinitionRequest,\n GetLeaderboardForEntitiesRequest,\n GetStatisticDefinitionRequest,\n GetStatisticDefinitionsRequest,\n GetStatisticsRequest,\n GetStatisticsForEntitiesRequest,\n IncrementLeaderboardVersionRequest,\n IncrementStatisticVersionRequest,\n ListLeaderboardDefinitionsRequest,\n ListStatisticDefinitionsRequest,\n UnlinkLeaderboardFromStatisticRequest,\n UpdateLeaderboardDefinitionRequest,\n UpdateLeaderboardEntriesRequest,\n UpdateStatisticDefinitionRequest,\n UpdateStatisticsRequest,\n DeleteStatisticsResponse,\n GetEntityLeaderboardResponse,\n GetLeaderboardDefinitionResponse,\n GetStatisticDefinitionResponse,\n GetStatisticDefinitionsResponse,\n GetStatisticsResponse,\n GetStatisticsForEntitiesResponse,\n IncrementLeaderboardVersionResponse,\n IncrementStatisticVersionResponse,\n ListLeaderboardDefinitionsResponse,\n ListStatisticDefinitionsResponse,\n UpdateStatisticsResponse,\n} from \"../types/PlayFabProgressionApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabProgressionApi extends PlayFabCommon {\n\n /**\n * Creates a new leaderboard definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/createleaderboarddefinition Microsoft Documentation}\n * @example\n * await leaderboardClient.CreateLeaderboardDefinition({\n * \"Name\": \"HighestScoresByLevel\",\n * \"EntityType\": \"title_player_account\",\n * \"VersionConfiguration\": {\n * \"ResetInterval\": \"Manual\",\n * \"MaxQueryableVersions\": 1\n * },\n * \"Columns\": [\n * {\n * \"Name\": \"Hits\",\n * \"SortDirection\": \"Descending\"\n * }\n * ],\n * \"SizeLimit\": 1000,\n * \"EventEmissionConfig\": {\n * \"VersionEndConfig\": {\n * \"EventType\": \"None\"\n * },\n * \"EntityRankOnVersionEndConfig\": {\n * \"EventType\": \"None\",\n * \"RankLimit\": 1\n * }\n * }\n * });\n */\n CreateLeaderboardDefinition (request: CreateLeaderboardDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Leaderboard/CreateLeaderboardDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Create a new entity statistic definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/createstatisticdefinition Microsoft Documentation}\n * @example\n * await statisticClient.CreateStatisticDefinition({\n * \"Name\": \"HighestScoresByLevel\",\n * \"AggregationMethod\": \"Last\",\n * \"Columns\": [\n * {\n * \"AggregationMethod\": \"Min\"\n * }\n * ]\n * });\n */\n CreateStatisticDefinition (request: CreateStatisticDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Statistic/CreateStatisticDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a leaderboard definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/deleteleaderboarddefinition Microsoft Documentation}\n * @example\n * await leaderboardClient.DeleteLeaderboardDefinition({\n * \"Name\": \"HighestScoresByLevel\"\n * });\n */\n DeleteLeaderboardDefinition (request: DeleteLeaderboardDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Leaderboard/DeleteLeaderboardDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the specified entries from the given leaderboard.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/deleteleaderboardentries Microsoft Documentation}\n * @example\n * await leaderboardClient.DeleteLeaderboardEntries({\n * \"Name\": \"Points\",\n * \"EntityIds\": [\n * \"12802710371\",\n * \"01849174301\"\n * ]\n * });\n */\n DeleteLeaderboardEntries (request: DeleteLeaderboardEntriesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Leaderboard/DeleteLeaderboardEntries\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/deletestatisticdefinition Microsoft Documentation}\n * @example\n * await statisticClient.DeleteStatisticDefinition({\n * \"Name\": \"HighestScoresByLevel\"\n * });\n */\n DeleteStatisticDefinition (request: DeleteStatisticDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Statistic/DeleteStatisticDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Delete statistics on an entity profile. This will remove all rankings from associated leaderboards.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/deletestatistics Microsoft Documentation}\n * @example\n * await statisticClient.DeleteStatistics({\n * \"Statistics\": [\n * {\n * \"Name\": \"TotalCarTime\"\n * },\n * {\n * \"Name\": \"FastestTimesByMap\",\n * \"Version\": 15\n * }\n * ]\n * });\n */\n DeleteStatistics (request: DeleteStatisticsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteStatisticsResponse>(\"/Statistic/DeleteStatistics\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/getfriendleaderboardforentity Microsoft Documentation}\n * @example\n * await leaderboardClient.GetFriendLeaderboardForEntity({\n * \"LeaderboardName\": \"Points\",\n * \"ExternalFriendSources\": \"None\"\n * });\n */\n GetFriendLeaderboardForEntity (request: GetFriendLeaderboardForEntityRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityLeaderboardResponse>(\"/Leaderboard/GetFriendLeaderboardForEntity\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get the leaderboard for a specific entity type and statistic.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/getleaderboard Microsoft Documentation}\n * @example\n * await leaderboardClient.GetLeaderboard({\n * \"LeaderboardName\": \"Points\",\n * \"Version\": 2,\n * \"StartingPosition\": 100,\n * \"PageSize\": 20\n * });\n */\n GetLeaderboard (request: GetEntityLeaderboardRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityLeaderboardResponse>(\"/Leaderboard/GetLeaderboard\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get the leaderboard around a specific entity.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/getleaderboardaroundentity Microsoft Documentation}\n * @example\n * await leaderboardClient.GetLeaderboardAroundEntity({\n * \"LeaderboardName\": \"Points\",\n * \"Version\": 2,\n * \"MaxSurroundingEntries\": 0,\n * \"Entity\": {\n * \"Id\": \"819478109412\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n GetLeaderboardAroundEntity (request: GetLeaderboardAroundEntityRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityLeaderboardResponse>(\"/Leaderboard/GetLeaderboardAroundEntity\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the specified leaderboard definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/getleaderboarddefinition Microsoft Documentation}\n * @example\n * await leaderboardClient.GetLeaderboardDefinition({\n * \"Name\": \"HighestScoresByLevel\"\n * });\n */\n GetLeaderboardDefinition (request: GetLeaderboardDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetLeaderboardDefinitionResponse>(\"/Leaderboard/GetLeaderboardDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get the leaderboard limited to a set of entities.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/getleaderboardforentities Microsoft Documentation}\n * @example\n * await leaderboardClient.GetLeaderboardForEntities({\n * \"LeaderboardName\": \"Points\",\n * \"Version\": 2,\n * \"EntityIds\": [\n * \"12802710371\",\n * \"01849174301\"\n * ]\n * });\n */\n GetLeaderboardForEntities (request: GetLeaderboardForEntitiesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityLeaderboardResponse>(\"/Leaderboard/GetLeaderboardForEntities\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get current statistic definition information\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/getstatisticdefinition Microsoft Documentation}\n * @example\n * await statisticClient.GetStatisticDefinition({\n * \"Name\": \"Points\"\n * });\n */\n GetStatisticDefinition (request: GetStatisticDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetStatisticDefinitionResponse>(\"/Statistic/GetStatisticDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get all current statistic definitions information\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/getstatisticdefinitions Microsoft Documentation}\n * @deprecated Please use ListStatisticDefinitions instead.\n */\n GetStatisticDefinitions (request: GetStatisticDefinitionsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetStatisticDefinitionsResponse>(\"/Statistic/GetStatisticDefinitions\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets statistics for the specified entity.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/getstatistics Microsoft Documentation}\n * @example\n * await statisticClient.GetStatistics({\n * \"StatisticNames\": [\n * \"SpeedRuns\",\n * \"Boosts\"\n * ],\n * \"Entity\": {\n * \"Id\": \"A197412JDA\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n GetStatistics (request: GetStatisticsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetStatisticsResponse>(\"/Statistic/GetStatistics\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets statistics for the specified collection of entities.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/getstatisticsforentities Microsoft Documentation}\n * @example\n * await statisticClient.GetStatisticsForEntities({\n * \"Entities\": [\n * {\n * \"Id\": \"A197412JDA\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * },\n * {\n * \"Id\": \"B197412JDB\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * ],\n * \"StatisticNames\": [\n * \"SpeedRuns\",\n * \"Boosts\"\n * ]\n * });\n */\n GetStatisticsForEntities (request: GetStatisticsForEntitiesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetStatisticsForEntitiesResponse>(\"/Statistic/GetStatisticsForEntities\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Increment a leaderboard version.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/incrementleaderboardversion Microsoft Documentation}\n * @example\n * await leaderboardClient.IncrementLeaderboardVersion({\n * \"Name\": \"HighestScoresByLevel\"\n * });\n */\n IncrementLeaderboardVersion (request: IncrementLeaderboardVersionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<IncrementLeaderboardVersionResponse>(\"/Leaderboard/IncrementLeaderboardVersion\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Increment an entity statistic definition version.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/incrementstatisticversion Microsoft Documentation}\n * @example\n * await statisticClient.IncrementStatisticVersion({\n * \"Name\": \"HighestScoresByLevel\"\n * });\n */\n IncrementStatisticVersion (request: IncrementStatisticVersionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<IncrementStatisticVersionResponse>(\"/Statistic/IncrementStatisticVersion\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists the leaderboard definitions defined for the Title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/listleaderboarddefinitions Microsoft Documentation}\n * @example\n * await leaderboardClient.ListLeaderboardDefinitions({});\n */\n ListLeaderboardDefinitions (request: ListLeaderboardDefinitionsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListLeaderboardDefinitionsResponse>(\"/Leaderboard/ListLeaderboardDefinitions\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get all current statistic definitions information\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/liststatisticdefinitions Microsoft Documentation}\n * @example\n * await statisticClient.ListStatisticDefinitions({});\n */\n ListStatisticDefinitions (request: ListStatisticDefinitionsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListStatisticDefinitionsResponse>(\"/Statistic/ListStatisticDefinitions\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Unlinks a leaderboard definition from it's linked statistic definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/unlinkleaderboardfromstatistic Microsoft Documentation}\n * @example\n * await leaderboardClient.UnlinkLeaderboardFromStatistic({\n * \"Name\": \"HighestScoresByLevel\",\n * \"StatisticName\": \"HighestScoresByLevel\"\n * });\n */\n UnlinkLeaderboardFromStatistic (request: UnlinkLeaderboardFromStatisticRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Leaderboard/UnlinkLeaderboardFromStatistic\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates a leaderboard definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/updateleaderboarddefinition Microsoft Documentation}\n * @example\n * await leaderboardClient.UpdateLeaderboardDefinition({\n * \"Name\": \"HighestScoresByLevel\",\n * \"VersionConfiguration\": {\n * \"ResetInterval\": \"Manual\",\n * \"MaxQueryableVersions\": 1\n * },\n * \"SizeLimit\": 1000,\n * \"EventEmissionConfig\": {\n * \"VersionEndConfig\": {\n * \"EventType\": \"None\"\n * },\n * \"EntityRankOnVersionEndConfig\": {\n * \"EventType\": \"None\",\n * \"RankLimit\": 1\n * }\n * }\n * });\n */\n UpdateLeaderboardDefinition (request: UpdateLeaderboardDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Leaderboard/UpdateLeaderboardDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Adds or updates entries on the specified leaderboard.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/leaderboard/leaderboards/updateleaderboardentries Microsoft Documentation}\n * @example\n * await leaderboardClient.UpdateLeaderboardEntries({\n * \"LeaderboardName\": \"Points\",\n * \"Entries\": [\n * {\n * \"Scores\": [\n * \"100\",\n * \"200\"\n * ],\n * \"EntityId\": \"12802710371\"\n * },\n * {\n * \"Scores\": [\n * \"120\",\n * \"200\"\n * ],\n * \"EntityId\": \"01849174301\"\n * }\n * ]\n * });\n */\n UpdateLeaderboardEntries (request: UpdateLeaderboardEntriesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Leaderboard/UpdateLeaderboardEntries\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Update an existing entity statistic definition.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/updatestatisticdefinition Microsoft Documentation}\n * @example\n * await statisticClient.UpdateStatisticDefinition({\n * \"Name\": \"HighestScoresByLevel\",\n * \"VersionConfiguration\": {\n * \"ResetInterval\": \"Manual\",\n * \"MaxQueryableVersions\": 2\n * }\n * });\n */\n UpdateStatisticDefinition (request: UpdateStatisticDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Statistic/UpdateStatisticDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on\n * various leaderboards.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/statistic/statistics/updatestatistics Microsoft Documentation}\n * @example\n * await statisticClient.UpdateStatistics({\n * \"Statistics\": [\n * {\n * \"Name\": \"RoundsWon\",\n * \"Value\": 0,\n * \"Metadata\": \"BestRun:34.13,Car:13452\",\n * \"Scores\": [\n * \"100\",\n * \"200\"\n * ]\n * },\n * {\n * \"Name\": \"FastestTimesByMap\",\n * \"Value\": 0,\n * \"Metadata\": \"Car:13452\",\n * \"Scores\": [\n * \"200\",\n * \"300\"\n * ]\n * },\n * {\n * \"Name\": \"TotalCarTime\",\n * \"Value\": 0,\n * \"Scores\": [\n * \"300\",\n * \"400\"\n * ]\n * }\n * ],\n * \"Entity\": {\n * \"Id\": \"A197412JDA\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n UpdateStatistics (request: UpdateStatisticsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateStatisticsResponse>(\"/Stat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