async-playfab-web-sdk 1.192.250526-3 → 1.192.250526-5
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.d.ts +179 -39
- package/dist/Addon.js +2 -2
- package/dist/Admin.d.ts +2386 -195
- package/dist/Admin.js +2 -2
- package/dist/Authentication.d.ts +32 -5
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +2235 -321
- package/dist/Client.js +2 -2
- package/dist/CloudScript.d.ts +199 -31
- package/dist/CloudScript.js +2 -2
- package/dist/Data.d.ts +137 -18
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +1145 -106
- package/dist/Economy.js +2 -2
- package/dist/Events.d.ts +200 -13
- package/dist/Events.js +2 -2
- package/dist/Experimentation.d.ts +164 -17
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.d.ts +267 -28
- package/dist/Groups.js +2 -2
- package/dist/Insights.d.ts +33 -7
- package/dist/Insights.js +2 -2
- package/dist/Localization.d.ts +5 -2
- package/dist/Localization.js +2 -2
- package/dist/Matchmaker.d.ts +271 -0
- package/dist/Matchmaker.js +8 -0
- package/dist/Matchmaker.js.map +1 -0
- package/dist/Multiplayer.d.ts +2697 -169
- package/dist/Multiplayer.js +2 -2
- package/dist/{PlayFabCommon-BX3jSqGx.d.ts → PlayFabCommon-Dnp_xHg5.d.ts} +3 -5
- package/dist/Profiles.d.ts +163 -19
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +287 -35
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +1904 -242
- package/dist/Server.js +2 -2
- package/dist/chunk-3I6ONUUQ.js +237 -0
- package/dist/chunk-3I6ONUUQ.js.map +1 -0
- package/dist/chunk-3O5QT4SL.js +2477 -0
- package/dist/chunk-3O5QT4SL.js.map +1 -0
- package/dist/chunk-3OBHYLBF.js +2673 -0
- package/dist/chunk-3OBHYLBF.js.map +1 -0
- package/dist/chunk-57KYHGBO.js +421 -0
- package/dist/chunk-57KYHGBO.js.map +1 -0
- package/dist/{chunk-J4QS5VX5.js → chunk-5CWZN75H.js} +6 -3
- package/dist/chunk-5CWZN75H.js.map +1 -0
- package/dist/chunk-73SVDH45.js +197 -0
- package/dist/chunk-73SVDH45.js.map +1 -0
- package/dist/chunk-ADHTNFTN.js +175 -0
- package/dist/chunk-ADHTNFTN.js.map +1 -0
- package/dist/chunk-C7U2JQNZ.js +76 -0
- package/dist/chunk-C7U2JQNZ.js.map +1 -0
- package/dist/{chunk-SGSEOIKS.js → chunk-GAZYZIK2.js} +34 -8
- package/dist/chunk-GAZYZIK2.js.map +1 -0
- package/dist/chunk-J54WY4UN.js +413 -0
- package/dist/chunk-J54WY4UN.js.map +1 -0
- package/dist/chunk-NFWQ4MMZ.js +1048 -0
- package/dist/chunk-NFWQ4MMZ.js.map +1 -0
- package/dist/{chunk-A7VD6ALV.js → chunk-P7UVG26J.js} +167 -32
- package/dist/chunk-P7UVG26J.js.map +1 -0
- package/dist/chunk-PFXZB4UN.js +2387 -0
- package/dist/chunk-PFXZB4UN.js.map +1 -0
- package/dist/{chunk-X34XZJB6.js → chunk-QNGQW3YB.js} +28 -6
- package/dist/chunk-QNGQW3YB.js.map +1 -0
- package/dist/chunk-SQWILU5T.js +270 -0
- package/dist/chunk-SQWILU5T.js.map +1 -0
- package/dist/{chunk-JGDO2ZE3.js → chunk-SR2RIRLX.js} +1482 -175
- package/dist/chunk-SR2RIRLX.js.map +1 -0
- package/dist/{chunk-62SULWOK.js → chunk-XVDYM74A.js} +17 -14
- package/dist/chunk-XVDYM74A.js.map +1 -0
- package/dist/chunk-ZW4TJ3MQ.js +225 -0
- package/dist/chunk-ZW4TJ3MQ.js.map +1 -0
- package/dist/index.d.ts +7 -6
- package/dist/index.js +29 -25
- package/package.json +2 -2
- package/dist/chunk-3FCAP7OZ.js +0 -187
- package/dist/chunk-3FCAP7OZ.js.map +0 -1
- package/dist/chunk-62SULWOK.js.map +0 -1
- package/dist/chunk-A7VD6ALV.js.map +0 -1
- package/dist/chunk-BX65UND2.js +0 -632
- package/dist/chunk-BX65UND2.js.map +0 -1
- package/dist/chunk-J4QS5VX5.js.map +0 -1
- package/dist/chunk-JGDO2ZE3.js.map +0 -1
- package/dist/chunk-POMI7LEF.js +0 -76
- package/dist/chunk-POMI7LEF.js.map +0 -1
- package/dist/chunk-Q3OF3AOJ.js +0 -97
- package/dist/chunk-Q3OF3AOJ.js.map +0 -1
- package/dist/chunk-QUZHVSVZ.js +0 -174
- package/dist/chunk-QUZHVSVZ.js.map +0 -1
- package/dist/chunk-QVLIVSO4.js +0 -1147
- package/dist/chunk-QVLIVSO4.js.map +0 -1
- package/dist/chunk-R7V7DFCF.js +0 -103
- package/dist/chunk-R7V7DFCF.js.map +0 -1
- package/dist/chunk-SGSEOIKS.js.map +0 -1
- package/dist/chunk-UOHHNVCJ.js +0 -119
- package/dist/chunk-UOHHNVCJ.js.map +0 -1
- package/dist/chunk-USKFWNQK.js +0 -384
- package/dist/chunk-USKFWNQK.js.map +0 -1
- package/dist/chunk-UX7LFJCX.js +0 -61
- package/dist/chunk-UX7LFJCX.js.map +0 -1
- package/dist/chunk-X34XZJB6.js.map +0 -1
- package/dist/chunk-YNZF3WXS.js +0 -882
- package/dist/chunk-YNZF3WXS.js.map +0 -1
package/dist/chunk-POMI7LEF.js
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
PlayFabCommon
|
3
|
-
} from "./chunk-62SULWOK.js";
|
4
|
-
|
5
|
-
// src/apis/PlayFabProfilesApi.ts
|
6
|
-
var PlayFabProfilesApi = class extends PlayFabCommon {
|
7
|
-
/**
|
8
|
-
* Gets the global title access policy
|
9
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy
|
10
|
-
*/
|
11
|
-
GetGlobalPolicy(request, extraHeaders) {
|
12
|
-
return this.ExecuteRequestWrapper("/Profile/GetGlobalPolicy", request, "X-EntityToken", extraHeaders);
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* Retrieves the entity's profile.
|
16
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile
|
17
|
-
*/
|
18
|
-
GetProfile(request, extraHeaders) {
|
19
|
-
return this.ExecuteRequestWrapper("/Profile/GetProfile", request, "X-EntityToken", extraHeaders);
|
20
|
-
}
|
21
|
-
/**
|
22
|
-
* Retrieves the entity's profile.
|
23
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles
|
24
|
-
*/
|
25
|
-
GetProfiles(request, extraHeaders) {
|
26
|
-
return this.ExecuteRequestWrapper("/Profile/GetProfiles", request, "X-EntityToken", extraHeaders);
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* Retrieves the title player accounts associated with the given master player account.
|
30
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids
|
31
|
-
*/
|
32
|
-
GetTitlePlayersFromMasterPlayerAccountIds(request, extraHeaders) {
|
33
|
-
return this.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromMasterPlayerAccountIds", request, "X-EntityToken", extraHeaders);
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* Retrieves the title player accounts associated with the given XUIDs.
|
37
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids
|
38
|
-
*/
|
39
|
-
GetTitlePlayersFromXboxLiveIDs(request, extraHeaders) {
|
40
|
-
return this.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromXboxLiveIDs", request, "X-EntityToken", extraHeaders);
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* Update the display name of the entity
|
44
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setdisplayname
|
45
|
-
*/
|
46
|
-
SetDisplayName(request, extraHeaders) {
|
47
|
-
return this.ExecuteRequestWrapper("/Profile/SetDisplayName", request, "X-EntityToken", extraHeaders);
|
48
|
-
}
|
49
|
-
/**
|
50
|
-
* Sets the global title access policy
|
51
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy
|
52
|
-
*/
|
53
|
-
SetGlobalPolicy(request, extraHeaders) {
|
54
|
-
return this.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", extraHeaders);
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account
|
58
|
-
* language, Master Player Account language, and then title default language if the first two aren't set or supported.
|
59
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage
|
60
|
-
*/
|
61
|
-
SetProfileLanguage(request, extraHeaders) {
|
62
|
-
return this.ExecuteRequestWrapper("/Profile/SetProfileLanguage", request, "X-EntityToken", extraHeaders);
|
63
|
-
}
|
64
|
-
/**
|
65
|
-
* Sets the profiles access policy
|
66
|
-
* https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy
|
67
|
-
*/
|
68
|
-
SetProfilePolicy(request, extraHeaders) {
|
69
|
-
return this.ExecuteRequestWrapper("/Profile/SetProfilePolicy", request, "X-EntityToken", extraHeaders);
|
70
|
-
}
|
71
|
-
};
|
72
|
-
|
73
|
-
export {
|
74
|
-
PlayFabProfilesApi
|
75
|
-
};
|
76
|
-
//# sourceMappingURL=chunk-POMI7LEF.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/apis/PlayFabProfilesApi.ts"],"sourcesContent":["import type {\n GetGlobalPolicyRequest,\n GetEntityProfileRequest,\n GetEntityProfilesRequest,\n GetTitlePlayersFromMasterPlayerAccountIdsRequest,\n GetTitlePlayersFromXboxLiveIDsRequest,\n SetDisplayNameRequest,\n SetGlobalPolicyRequest,\n SetProfileLanguageRequest,\n SetEntityProfilePolicyRequest,\n GetGlobalPolicyResponse,\n GetEntityProfileResponse,\n GetEntityProfilesResponse,\n GetTitlePlayersFromMasterPlayerAccountIdsResponse,\n GetTitlePlayersFromProviderIDsResponse,\n SetDisplayNameResponse,\n SetGlobalPolicyResponse,\n SetProfileLanguageResponse,\n SetEntityProfilePolicyResponse,\n} from \"../types/PlayFabProfilesApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabProfilesApi extends PlayFabCommon {\n\n /**\n * Gets the global title access policy\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy\n */\n GetGlobalPolicy (request: GetGlobalPolicyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGlobalPolicyResponse>(\"/Profile/GetGlobalPolicy\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves the entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile\n */\n GetProfile (request: GetEntityProfileRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityProfileResponse>(\"/Profile/GetProfile\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves the entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles\n */\n GetProfiles (request: GetEntityProfilesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityProfilesResponse>(\"/Profile/GetProfiles\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves the title player accounts associated with the given master player account.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids\n */\n GetTitlePlayersFromMasterPlayerAccountIds (request: GetTitlePlayersFromMasterPlayerAccountIdsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitlePlayersFromMasterPlayerAccountIdsResponse>(\"/Profile/GetTitlePlayersFromMasterPlayerAccountIds\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves the title player accounts associated with the given XUIDs.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids\n */\n GetTitlePlayersFromXboxLiveIDs (request: GetTitlePlayersFromXboxLiveIDsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitlePlayersFromProviderIDsResponse>(\"/Profile/GetTitlePlayersFromXboxLiveIDs\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Update the display name of the entity\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setdisplayname\n */\n SetDisplayName (request: SetDisplayNameRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetDisplayNameResponse>(\"/Profile/SetDisplayName\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets the global title access policy\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy\n */\n SetGlobalPolicy (request: SetGlobalPolicyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetGlobalPolicyResponse>(\"/Profile/SetGlobalPolicy\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account\n * language, Master Player Account language, and then title default language if the first two aren't set or supported.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage\n */\n SetProfileLanguage (request: SetProfileLanguageRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetProfileLanguageResponse>(\"/Profile/SetProfileLanguage\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets the profiles access policy\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy\n */\n SetProfilePolicy (request: SetEntityProfilePolicyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetEntityProfilePolicyResponse>(\"/Profile/SetProfilePolicy\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAsBA,IAAqB,qBAArB,cAAgD,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1D,gBAAiB,SAAiC,cAAuC;AACrF,WAAO,KAAK,sBAA+C,4BAA4B,SAA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|
-
var PlayFabEventsApi = class extends PlayFabCommon {
|
7
|
-
/**
|
8
|
-
* Creates a new telemetry key for the title.
|
9
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/createtelemetrykey
|
10
|
-
*/
|
11
|
-
CreateTelemetryKey(request, extraHeaders) {
|
12
|
-
return this.ExecuteRequestWrapper("/Event/CreateTelemetryKey", request, "X-EntityToken", extraHeaders);
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* Deletes a Data Connection from a title.
|
16
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletedataconnection
|
17
|
-
*/
|
18
|
-
DeleteDataConnection(request, extraHeaders) {
|
19
|
-
return this.ExecuteRequestWrapper("/Event/DeleteDataConnection", request, "X-EntityToken", extraHeaders);
|
20
|
-
}
|
21
|
-
/**
|
22
|
-
* Deletes a telemetry key configured for the title.
|
23
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletetelemetrykey
|
24
|
-
*/
|
25
|
-
DeleteTelemetryKey(request, extraHeaders) {
|
26
|
-
return this.ExecuteRequestWrapper("/Event/DeleteTelemetryKey", request, "X-EntityToken", extraHeaders);
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* Retrieves a single Data Connection associated with a title.
|
30
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/getdataconnection
|
31
|
-
*/
|
32
|
-
GetDataConnection(request, extraHeaders) {
|
33
|
-
return this.ExecuteRequestWrapper("/Event/GetDataConnection", request, "X-EntityToken", extraHeaders);
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* Gets information about a telemetry key configured for the title.
|
37
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/gettelemetrykey
|
38
|
-
*/
|
39
|
-
GetTelemetryKey(request, extraHeaders) {
|
40
|
-
return this.ExecuteRequestWrapper("/Event/GetTelemetryKey", request, "X-EntityToken", extraHeaders);
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* Retrieves the list of Data Connections associated with a title.
|
44
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listdataconnections
|
45
|
-
*/
|
46
|
-
ListDataConnections(request, extraHeaders) {
|
47
|
-
return this.ExecuteRequestWrapper("/Event/ListDataConnections", request, "X-EntityToken", extraHeaders);
|
48
|
-
}
|
49
|
-
/**
|
50
|
-
* Lists all telemetry keys configured for the title.
|
51
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listtelemetrykeys
|
52
|
-
*/
|
53
|
-
ListTelemetryKeys(request, extraHeaders) {
|
54
|
-
return this.ExecuteRequestWrapper("/Event/ListTelemetryKeys", request, "X-EntityToken", extraHeaders);
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Creates or updates a Data Connection on a title.
|
58
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnection
|
59
|
-
*/
|
60
|
-
SetDataConnection(request, extraHeaders) {
|
61
|
-
return this.ExecuteRequestWrapper("/Event/SetDataConnection", request, "X-EntityToken", extraHeaders);
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* Sets a Data Connection for the title to either the active or deactivated state.
|
65
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnectionactive
|
66
|
-
*/
|
67
|
-
SetDataConnectionActive(request, extraHeaders) {
|
68
|
-
return this.ExecuteRequestWrapper("/Event/SetDataConnectionActive", request, "X-EntityToken", extraHeaders);
|
69
|
-
}
|
70
|
-
/**
|
71
|
-
* Sets a telemetry key to the active or deactivated state.
|
72
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/settelemetrykeyactive
|
73
|
-
*/
|
74
|
-
SetTelemetryKeyActive(request, extraHeaders) {
|
75
|
-
return this.ExecuteRequestWrapper("/Event/SetTelemetryKeyActive", request, "X-EntityToken", extraHeaders);
|
76
|
-
}
|
77
|
-
/**
|
78
|
-
* Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'.
|
79
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents
|
80
|
-
*/
|
81
|
-
WriteEvents(request, extraHeaders) {
|
82
|
-
return this.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", extraHeaders);
|
83
|
-
}
|
84
|
-
/**
|
85
|
-
* Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start
|
86
|
-
* with 'custom.'
|
87
|
-
* https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writetelemetryevents
|
88
|
-
*/
|
89
|
-
WriteTelemetryEvents(request, extraHeaders) {
|
90
|
-
return this.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", extraHeaders);
|
91
|
-
}
|
92
|
-
};
|
93
|
-
|
94
|
-
export {
|
95
|
-
PlayFabEventsApi
|
96
|
-
};
|
97
|
-
//# sourceMappingURL=chunk-Q3OF3AOJ.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/apis/PlayFabEventsApi.ts"],"sourcesContent":["import type {\n CreateTelemetryKeyRequest,\n DeleteDataConnectionRequest,\n DeleteTelemetryKeyRequest,\n GetDataConnectionRequest,\n GetTelemetryKeyRequest,\n ListDataConnectionsRequest,\n ListTelemetryKeysRequest,\n SetDataConnectionRequest,\n SetDataConnectionActiveRequest,\n SetTelemetryKeyActiveRequest,\n WriteEventsRequest,\n CreateTelemetryKeyResponse,\n DeleteDataConnectionResponse,\n DeleteTelemetryKeyResponse,\n GetDataConnectionResponse,\n GetTelemetryKeyResponse,\n ListDataConnectionsResponse,\n ListTelemetryKeysResponse,\n SetDataConnectionResponse,\n SetDataConnectionActiveResponse,\n SetTelemetryKeyActiveResponse,\n WriteEventsResponse,\n} from \"../types/PlayFabEventsApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabEventsApi extends PlayFabCommon {\n\n /**\n * Creates a new telemetry key for the title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/createtelemetrykey\n */\n CreateTelemetryKey (request: CreateTelemetryKeyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateTelemetryKeyResponse>(\"/Event/CreateTelemetryKey\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a Data Connection from a title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletedataconnection\n */\n DeleteDataConnection (request: DeleteDataConnectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteDataConnectionResponse>(\"/Event/DeleteDataConnection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a telemetry key configured for the title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletetelemetrykey\n */\n DeleteTelemetryKey (request: DeleteTelemetryKeyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteTelemetryKeyResponse>(\"/Event/DeleteTelemetryKey\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves a single Data Connection associated with a title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/getdataconnection\n */\n GetDataConnection (request: GetDataConnectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetDataConnectionResponse>(\"/Event/GetDataConnection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information about a telemetry key configured for the title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/gettelemetrykey\n */\n GetTelemetryKey (request: GetTelemetryKeyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTelemetryKeyResponse>(\"/Event/GetTelemetryKey\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves the list of Data Connections associated with a title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listdataconnections\n */\n ListDataConnections (request: ListDataConnectionsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListDataConnectionsResponse>(\"/Event/ListDataConnections\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all telemetry keys configured for the title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listtelemetrykeys\n */\n ListTelemetryKeys (request: ListTelemetryKeysRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListTelemetryKeysResponse>(\"/Event/ListTelemetryKeys\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates or updates a Data Connection on a title.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnection\n */\n SetDataConnection (request: SetDataConnectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetDataConnectionResponse>(\"/Event/SetDataConnection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets a Data Connection for the title to either the active or deactivated state.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnectionactive\n */\n SetDataConnectionActive (request: SetDataConnectionActiveRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetDataConnectionActiveResponse>(\"/Event/SetDataConnectionActive\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets a telemetry key to the active or deactivated state.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/settelemetrykeyactive\n */\n SetTelemetryKeyActive (request: SetTelemetryKeyActiveRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetTelemetryKeyActiveResponse>(\"/Event/SetTelemetryKeyActive\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'.\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents\n */\n WriteEvents (request: WriteEventsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<WriteEventsResponse>(\"/Event/WriteEvents\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start\n * with 'custom.'\n * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writetelemetryevents\n */\n WriteTelemetryEvents (request: WriteEventsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<WriteEventsResponse>(\"/Event/WriteTelemetryEvents\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AA0BA,IAAqB,mBAArB,cAA8C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxD,mBAAoB,SAAoC,cAAuC;AAC3F,WAAO,KAAK,sBAAkD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACrI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,qBAAsB,SAAsC,cAAuC;AAC/F,WAAO,KAAK,sBAAoD,+BAA+B,SAAS,iBAAiB,YAAY;AAAA,EACzI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,mBAAoB,SAAoC,cAAuC;AAC3F,WAAO,KAAK,sBAAkD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACrI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAmB,SAAmC,cAAuC;AACzF,WAAO,KAAK,sBAAiD,4BAA4B,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAiB,SAAiC,cAAuC;AACrF,WAAO,KAAK,sBAA+C,0BAA0B,SAAS,iBAAiB,YAAY;AAAA,EAC/H;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,oBAAqB,SAAqC,cAAuC;AAC7F,WAAO,KAAK,sBAAmD,8BAA8B,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAmB,SAAmC,cAAuC;AACzF,WAAO,KAAK,sBAAiD,4BAA4B,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAmB,SAAmC,cAAuC;AACzF,WAAO,KAAK,sBAAiD,4BAA4B,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,wBAAyB,SAAyC,cAAuC;AACrG,WAAO,KAAK,sBAAuD,kCAAkC,SAAS,iBAAiB,YAAY;AAAA,EAC/I;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,sBAAuB,SAAuC,cAAuC;AACjG,WAAO,KAAK,sBAAqD,gCAAgC,SAAS,iBAAiB,YAAY;AAAA,EAC3I;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAa,SAA6B,cAAuC;AAC7E,WAAO,KAAK,sBAA2C,sBAAsB,SAAS,iBAAiB,YAAY;AAAA,EACvH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,qBAAsB,SAA6B,cAAuC;AACtF,WAAO,KAAK,sBAA2C,+BAA+B,SAAS,iBAAiB,YAAY;AAAA,EAChI;AAEJ;","names":[]}
|
package/dist/chunk-QUZHVSVZ.js
DELETED
@@ -1,174 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
PlayFabCommon
|
3
|
-
} from "./chunk-62SULWOK.js";
|
4
|
-
|
5
|
-
// src/apis/PlayFabProgressionApi.ts
|
6
|
-
var PlayFabProgressionApi = class extends PlayFabCommon {
|
7
|
-
/**
|
8
|
-
* Creates a new leaderboard definition.
|
9
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/createleaderboarddefinition
|
10
|
-
*/
|
11
|
-
CreateLeaderboardDefinition(request, extraHeaders) {
|
12
|
-
return this.ExecuteRequestWrapper("/Leaderboard/CreateLeaderboardDefinition", request, "X-EntityToken", extraHeaders);
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* Create a new entity statistic definition.
|
16
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/createstatisticdefinition
|
17
|
-
*/
|
18
|
-
CreateStatisticDefinition(request, extraHeaders) {
|
19
|
-
return this.ExecuteRequestWrapper("/Statistic/CreateStatisticDefinition", request, "X-EntityToken", extraHeaders);
|
20
|
-
}
|
21
|
-
/**
|
22
|
-
* Deletes a leaderboard definition.
|
23
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboarddefinition
|
24
|
-
*/
|
25
|
-
DeleteLeaderboardDefinition(request, extraHeaders) {
|
26
|
-
return this.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardDefinition", request, "X-EntityToken", extraHeaders);
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* Deletes the specified entries from the given leaderboard.
|
30
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboardentries
|
31
|
-
*/
|
32
|
-
DeleteLeaderboardEntries(request, extraHeaders) {
|
33
|
-
return this.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardEntries", request, "X-EntityToken", extraHeaders);
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards.
|
37
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatisticdefinition
|
38
|
-
*/
|
39
|
-
DeleteStatisticDefinition(request, extraHeaders) {
|
40
|
-
return this.ExecuteRequestWrapper("/Statistic/DeleteStatisticDefinition", request, "X-EntityToken", extraHeaders);
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* Delete statistics on an entity profile. This will remove all rankings from associated leaderboards.
|
44
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatistics
|
45
|
-
*/
|
46
|
-
DeleteStatistics(request, extraHeaders) {
|
47
|
-
return this.ExecuteRequestWrapper("/Statistic/DeleteStatistics", request, "X-EntityToken", extraHeaders);
|
48
|
-
}
|
49
|
-
/**
|
50
|
-
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
|
51
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getfriendleaderboardforentity
|
52
|
-
*/
|
53
|
-
GetFriendLeaderboardForEntity(request, extraHeaders) {
|
54
|
-
return this.ExecuteRequestWrapper("/Leaderboard/GetFriendLeaderboardForEntity", request, "X-EntityToken", extraHeaders);
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Get the leaderboard for a specific entity type and statistic.
|
58
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboard
|
59
|
-
*/
|
60
|
-
GetLeaderboard(request, extraHeaders) {
|
61
|
-
return this.ExecuteRequestWrapper("/Leaderboard/GetLeaderboard", request, "X-EntityToken", extraHeaders);
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* Get the leaderboard around a specific entity.
|
65
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardaroundentity
|
66
|
-
*/
|
67
|
-
GetLeaderboardAroundEntity(request, extraHeaders) {
|
68
|
-
return this.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardAroundEntity", request, "X-EntityToken", extraHeaders);
|
69
|
-
}
|
70
|
-
/**
|
71
|
-
* Gets the specified leaderboard definition.
|
72
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboarddefinition
|
73
|
-
*/
|
74
|
-
GetLeaderboardDefinition(request, extraHeaders) {
|
75
|
-
return this.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardDefinition", request, "X-EntityToken", extraHeaders);
|
76
|
-
}
|
77
|
-
/**
|
78
|
-
* Get the leaderboard limited to a set of entities.
|
79
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardforentities
|
80
|
-
*/
|
81
|
-
GetLeaderboardForEntities(request, extraHeaders) {
|
82
|
-
return this.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardForEntities", request, "X-EntityToken", extraHeaders);
|
83
|
-
}
|
84
|
-
/**
|
85
|
-
* Get current statistic definition information
|
86
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinition
|
87
|
-
*/
|
88
|
-
GetStatisticDefinition(request, extraHeaders) {
|
89
|
-
return this.ExecuteRequestWrapper("/Statistic/GetStatisticDefinition", request, "X-EntityToken", extraHeaders);
|
90
|
-
}
|
91
|
-
/**
|
92
|
-
* Gets statistics for the specified entity.
|
93
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatistics
|
94
|
-
*/
|
95
|
-
GetStatistics(request, extraHeaders) {
|
96
|
-
return this.ExecuteRequestWrapper("/Statistic/GetStatistics", request, "X-EntityToken", extraHeaders);
|
97
|
-
}
|
98
|
-
/**
|
99
|
-
* Gets statistics for the specified collection of entities.
|
100
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticsforentities
|
101
|
-
*/
|
102
|
-
GetStatisticsForEntities(request, extraHeaders) {
|
103
|
-
return this.ExecuteRequestWrapper("/Statistic/GetStatisticsForEntities", request, "X-EntityToken", extraHeaders);
|
104
|
-
}
|
105
|
-
/**
|
106
|
-
* Increment a leaderboard version.
|
107
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/incrementleaderboardversion
|
108
|
-
*/
|
109
|
-
IncrementLeaderboardVersion(request, extraHeaders) {
|
110
|
-
return this.ExecuteRequestWrapper("/Leaderboard/IncrementLeaderboardVersion", request, "X-EntityToken", extraHeaders);
|
111
|
-
}
|
112
|
-
/**
|
113
|
-
* Increment an entity statistic definition version.
|
114
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/incrementstatisticversion
|
115
|
-
*/
|
116
|
-
IncrementStatisticVersion(request, extraHeaders) {
|
117
|
-
return this.ExecuteRequestWrapper("/Statistic/IncrementStatisticVersion", request, "X-EntityToken", extraHeaders);
|
118
|
-
}
|
119
|
-
/**
|
120
|
-
* Lists the leaderboard definitions defined for the Title.
|
121
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/listleaderboarddefinitions
|
122
|
-
*/
|
123
|
-
ListLeaderboardDefinitions(request, extraHeaders) {
|
124
|
-
return this.ExecuteRequestWrapper("/Leaderboard/ListLeaderboardDefinitions", request, "X-EntityToken", extraHeaders);
|
125
|
-
}
|
126
|
-
/**
|
127
|
-
* Get all current statistic definitions information
|
128
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/liststatisticdefinitions
|
129
|
-
*/
|
130
|
-
ListStatisticDefinitions(request, extraHeaders) {
|
131
|
-
return this.ExecuteRequestWrapper("/Statistic/ListStatisticDefinitions", request, "X-EntityToken", extraHeaders);
|
132
|
-
}
|
133
|
-
/**
|
134
|
-
* Unlinks a leaderboard definition from it's linked statistic definition.
|
135
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic
|
136
|
-
*/
|
137
|
-
UnlinkLeaderboardFromStatistic(request, extraHeaders) {
|
138
|
-
return this.ExecuteRequestWrapper("/Leaderboard/UnlinkLeaderboardFromStatistic", request, "X-EntityToken", extraHeaders);
|
139
|
-
}
|
140
|
-
/**
|
141
|
-
* Updates a leaderboard definition.
|
142
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboarddefinition
|
143
|
-
*/
|
144
|
-
UpdateLeaderboardDefinition(request, extraHeaders) {
|
145
|
-
return this.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardDefinition", request, "X-EntityToken", extraHeaders);
|
146
|
-
}
|
147
|
-
/**
|
148
|
-
* Adds or updates entries on the specified leaderboard.
|
149
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboardentries
|
150
|
-
*/
|
151
|
-
UpdateLeaderboardEntries(request, extraHeaders) {
|
152
|
-
return this.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardEntries", request, "X-EntityToken", extraHeaders);
|
153
|
-
}
|
154
|
-
/**
|
155
|
-
* Update an existing entity statistic definition.
|
156
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatisticdefinition
|
157
|
-
*/
|
158
|
-
UpdateStatisticDefinition(request, extraHeaders) {
|
159
|
-
return this.ExecuteRequestWrapper("/Statistic/UpdateStatisticDefinition", request, "X-EntityToken", extraHeaders);
|
160
|
-
}
|
161
|
-
/**
|
162
|
-
* Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on
|
163
|
-
* various leaderboards.
|
164
|
-
* https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatistics
|
165
|
-
*/
|
166
|
-
UpdateStatistics(request, extraHeaders) {
|
167
|
-
return this.ExecuteRequestWrapper("/Statistic/UpdateStatistics", request, "X-EntityToken", extraHeaders);
|
168
|
-
}
|
169
|
-
};
|
170
|
-
|
171
|
-
export {
|
172
|
-
PlayFabProgressionApi
|
173
|
-
};
|
174
|
-
//# sourceMappingURL=chunk-QUZHVSVZ.js.map
|
@@ -1 +0,0 @@
|
|
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 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 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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/createleaderboarddefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/createstatisticdefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboarddefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboardentries\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatisticdefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatistics\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getfriendleaderboardforentity\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboard\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardaroundentity\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboarddefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardforentities\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinition\n */\n GetStatisticDefinition (request: GetStatisticDefinitionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetStatisticDefinitionResponse>(\"/Statistic/GetStatisticDefinition\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets statistics for the specified entity.\n * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatistics\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticsforentities\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/incrementleaderboardversion\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/incrementstatisticversion\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboarddefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboardentries\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatisticdefinition\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 * https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatistics\n */\n UpdateStatistics (request: UpdateStatisticsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateStatisticsResponse>(\"/Statistic/UpdateStatistics\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAuCA,IAAqB,wBAArB,cAAmD,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAM7D,4BAA6B,SAA6C,cAAuC;AAC7G,WAAO,KAAK,sBAAqC,4CAA4C,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,0BAA2B,SAA2C,cAAuC;AACzG,WAAO,KAAK,sBAAqC,wCAAwC,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,4BAA6B,SAA6C,cAAuC;AAC7G,WAAO,KAAK,sBAAqC,4CAA4C,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,yBAA0B,SAA0C,cAAuC;AACvG,WAAO,KAAK,sBAAqC,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