@community-fabs/playfab-web-sdk 1.197.250801 → 1.199.250912

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.
Files changed (65) hide show
  1. package/dist/Addon.d.ts +18 -0
  2. package/dist/Addon.js +2 -2
  3. package/dist/Admin.d.ts +72 -10
  4. package/dist/Admin.js +2 -2
  5. package/dist/Authentication.js +2 -2
  6. package/dist/Client.js +2 -2
  7. package/dist/CloudScript.js +2 -2
  8. package/dist/Data.js +2 -2
  9. package/dist/Economy.d.ts +10 -6
  10. package/dist/Economy.js +2 -2
  11. package/dist/Events.js +2 -2
  12. package/dist/Experimentation.js +2 -2
  13. package/dist/Groups.js +2 -2
  14. package/dist/Insights.js +2 -2
  15. package/dist/Localization.js +2 -2
  16. package/dist/Matchmaker.js +2 -2
  17. package/dist/Multiplayer.d.ts +4 -4
  18. package/dist/Multiplayer.js +2 -2
  19. package/dist/Profiles.js +2 -2
  20. package/dist/Progression.d.ts +60 -0
  21. package/dist/Progression.js +2 -2
  22. package/dist/Server.d.ts +39 -10
  23. package/dist/Server.js +2 -2
  24. package/dist/{chunk-NZ64VN7C.js → chunk-2IWZ3JGX.js} +2 -2
  25. package/dist/{chunk-HCKS7F77.js → chunk-32YIITZR.js} +2 -2
  26. package/dist/{chunk-3CP3J4TI.js → chunk-53ZOZ6ZK.js} +2 -2
  27. package/dist/{chunk-3MFAHZTQ.js → chunk-DSIODCMV.js} +22 -9
  28. package/dist/chunk-DSIODCMV.js.map +1 -0
  29. package/dist/{chunk-ORZ4O5SW.js → chunk-IOUDK36D.js} +2 -2
  30. package/dist/{chunk-TXZQRPI7.js → chunk-JMCN5YM7.js} +15 -2
  31. package/dist/chunk-JMCN5YM7.js.map +1 -0
  32. package/dist/{chunk-CVFKWZOR.js → chunk-KPUSPXER.js} +2 -2
  33. package/dist/{chunk-277C7C7D.js → chunk-KSIUPHCB.js} +2 -2
  34. package/dist/{chunk-4ADEPX2D.js → chunk-L4NJVJVM.js} +2 -2
  35. package/dist/{chunk-VAYRJ7OJ.js → chunk-LZ2EPFC5.js} +2 -2
  36. package/dist/{chunk-3AF4MCTX.js → chunk-M4IBQDM7.js} +2 -2
  37. package/dist/{chunk-3XNOVXHN.js → chunk-MHZTDR4X.js} +18 -8
  38. package/dist/chunk-MHZTDR4X.js.map +1 -0
  39. package/dist/{chunk-GQ3M36YS.js → chunk-MQB7DC2F.js} +2 -2
  40. package/dist/{chunk-EVQUDVAZ.js → chunk-OQEGQD4N.js} +6 -6
  41. package/dist/{chunk-EVQUDVAZ.js.map → chunk-OQEGQD4N.js.map} +1 -1
  42. package/dist/{chunk-3GX5SJS4.js → chunk-OXTWSDHP.js} +8 -2
  43. package/dist/chunk-OXTWSDHP.js.map +1 -0
  44. package/dist/{chunk-NB24SSF5.js → chunk-SQY3P3HK.js} +2 -2
  45. package/dist/{chunk-GZIXWXGQ.js → chunk-TGAN63W6.js} +3 -3
  46. package/dist/{chunk-GZIXWXGQ.js.map → chunk-TGAN63W6.js.map} +1 -1
  47. package/dist/{chunk-2CU26HDG.js → chunk-UT6LVY7U.js} +2 -2
  48. package/dist/index.js +18 -18
  49. package/package.json +1 -1
  50. package/dist/chunk-3GX5SJS4.js.map +0 -1
  51. package/dist/chunk-3MFAHZTQ.js.map +0 -1
  52. package/dist/chunk-3XNOVXHN.js.map +0 -1
  53. package/dist/chunk-TXZQRPI7.js.map +0 -1
  54. /package/dist/{chunk-NZ64VN7C.js.map → chunk-2IWZ3JGX.js.map} +0 -0
  55. /package/dist/{chunk-HCKS7F77.js.map → chunk-32YIITZR.js.map} +0 -0
  56. /package/dist/{chunk-3CP3J4TI.js.map → chunk-53ZOZ6ZK.js.map} +0 -0
  57. /package/dist/{chunk-ORZ4O5SW.js.map → chunk-IOUDK36D.js.map} +0 -0
  58. /package/dist/{chunk-CVFKWZOR.js.map → chunk-KPUSPXER.js.map} +0 -0
  59. /package/dist/{chunk-277C7C7D.js.map → chunk-KSIUPHCB.js.map} +0 -0
  60. /package/dist/{chunk-4ADEPX2D.js.map → chunk-L4NJVJVM.js.map} +0 -0
  61. /package/dist/{chunk-VAYRJ7OJ.js.map → chunk-LZ2EPFC5.js.map} +0 -0
  62. /package/dist/{chunk-3AF4MCTX.js.map → chunk-M4IBQDM7.js.map} +0 -0
  63. /package/dist/{chunk-GQ3M36YS.js.map → chunk-MQB7DC2F.js.map} +0 -0
  64. /package/dist/{chunk-NB24SSF5.js.map → chunk-SQY3P3HK.js.map} +0 -0
  65. /package/dist/{chunk-2CU26HDG.js.map → chunk-UT6LVY7U.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-GZIXWXGQ.js";
3
+ } from "./chunk-TGAN63W6.js";
4
4
 
5
5
  // src/apis/PlayFabAddonApi.ts
6
6
  var PlayFabAddonApi = class extends PlayFabCommon {
@@ -12,6 +12,12 @@ var PlayFabAddonApi = class extends PlayFabCommon {
12
12
  * await addonClient.CreateOrUpdateApple({
13
13
  * "AppBundleId": "123456",
14
14
  * "AppSharedSecret": "654321",
15
+ * "AppId": "78901",
16
+ * "IssuerId": "345678",
17
+ * "KeyId": "901234",
18
+ * "PrivateKey": "567890",
19
+ * "AllowSandbox": true,
20
+ * "AllowProduction": true,
15
21
  * "RequireSecureAuthentication": true
16
22
  * });
17
23
  */
@@ -354,4 +360,4 @@ var PlayFabAddonApi = class extends PlayFabCommon {
354
360
  export {
355
361
  PlayFabAddonApi
356
362
  };
357
- //# sourceMappingURL=chunk-3GX5SJS4.js.map
363
+ //# sourceMappingURL=chunk-OXTWSDHP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/apis/PlayFabAddonApi.ts"],"sourcesContent":["import type {\n CreateOrUpdateAppleRequest,\n CreateOrUpdateFacebookRequest,\n CreateOrUpdateFacebookInstantGamesRequest,\n CreateOrUpdateGoogleRequest,\n CreateOrUpdateKongregateRequest,\n CreateOrUpdateNintendoRequest,\n CreateOrUpdatePSNRequest,\n CreateOrUpdateSteamRequest,\n CreateOrUpdateToxModRequest,\n CreateOrUpdateTwitchRequest,\n DeleteAppleRequest,\n DeleteFacebookRequest,\n DeleteFacebookInstantGamesRequest,\n DeleteGoogleRequest,\n DeleteKongregateRequest,\n DeleteNintendoRequest,\n DeletePSNRequest,\n DeleteSteamRequest,\n DeleteToxModRequest,\n DeleteTwitchRequest,\n GetAppleRequest,\n GetFacebookRequest,\n GetFacebookInstantGamesRequest,\n GetGoogleRequest,\n GetKongregateRequest,\n GetNintendoRequest,\n GetPSNRequest,\n GetSteamRequest,\n GetToxModRequest,\n GetTwitchRequest,\n CreateOrUpdateAppleResponse,\n CreateOrUpdateFacebookResponse,\n CreateOrUpdateFacebookInstantGamesResponse,\n CreateOrUpdateGoogleResponse,\n CreateOrUpdateKongregateResponse,\n CreateOrUpdateNintendoResponse,\n CreateOrUpdatePSNResponse,\n CreateOrUpdateSteamResponse,\n CreateOrUpdateToxModResponse,\n CreateOrUpdateTwitchResponse,\n DeleteAppleResponse,\n DeleteFacebookResponse,\n DeleteFacebookInstantGamesResponse,\n DeleteGoogleResponse,\n DeleteKongregateResponse,\n DeleteNintendoResponse,\n DeletePSNResponse,\n DeleteSteamResponse,\n DeleteToxModResponse,\n DeleteTwitchResponse,\n GetAppleResponse,\n GetFacebookResponse,\n GetFacebookInstantGamesResponse,\n GetGoogleResponse,\n GetKongregateResponse,\n GetNintendoResponse,\n GetPSNResponse,\n GetSteamResponse,\n GetToxModResponse,\n GetTwitchResponse,\n} from \"../types/PlayFabAddonApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabAddonApi extends PlayFabCommon {\n\n /**\n * Creates the Apple addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateApple({\n * \"AppBundleId\": \"123456\",\n * \"AppSharedSecret\": \"654321\",\n * \"AppId\": \"78901\",\n * \"IssuerId\": \"345678\",\n * \"KeyId\": \"901234\",\n * \"PrivateKey\": \"567890\",\n * \"AllowSandbox\": true,\n * \"AllowProduction\": true,\n * \"RequireSecureAuthentication\": true\n * });\n */\n CreateOrUpdateApple (request: CreateOrUpdateAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateAppleResponse>(\"/Addon/CreateOrUpdateApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Facebook addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateFacebook({\n * \"AppID\": \"123456\",\n * \"AppSecret\": \"654321\",\n * \"NotificationEmail\": \"user@example.com\"\n * });\n */\n CreateOrUpdateFacebook (request: CreateOrUpdateFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateFacebookResponse>(\"/Addon/CreateOrUpdateFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Facebook Instant Games addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateFacebookInstantGames({\n * \"AppID\": \"123456\",\n * \"AppSecret\": \"654321\"\n * });\n */\n CreateOrUpdateFacebookInstantGames (request: CreateOrUpdateFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateFacebookInstantGamesResponse>(\"/Addon/CreateOrUpdateFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Google addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateGoogle({\n * \"AppPackageID\": \"abcdef\",\n * \"AppLicenseKey\": \"fedcba\",\n * \"OAuthClientID\": \"123456\",\n * \"OAuthClientSecret\": \"654321\",\n * \"OAuthCustomRedirectUri\": \"https://yourdomaingoeshere.com\"\n * });\n */\n CreateOrUpdateGoogle (request: CreateOrUpdateGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateGoogleResponse>(\"/Addon/CreateOrUpdateGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Kongregate addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateKongregate({\n * \"SecretAPIKey\": \"123456\"\n * });\n */\n CreateOrUpdateKongregate (request: CreateOrUpdateKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateKongregateResponse>(\"/Addon/CreateOrUpdateKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Nintendo addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateNintendo({\n * \"ApplicationID\": \"123456\",\n * \"Environments\": [\n * {\n * \"ID\": \"1\",\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"654321\"\n * }\n * ]\n * });\n */\n CreateOrUpdateNintendo (request: CreateOrUpdateNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateNintendoResponse>(\"/Addon/CreateOrUpdateNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the PSN addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdatePSN({\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"abcdef\",\n * \"NextGenClientID\": \"654321\",\n * \"NextGenClientSecret\": \"fedcba\"\n * });\n */\n CreateOrUpdatePSN (request: CreateOrUpdatePSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdatePSNResponse>(\"/Addon/CreateOrUpdatePSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Steam addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateSteam({\n * \"ApplicationId\": \"123456\",\n * \"SecretKey\": \"654321\",\n * \"UseSandbox\": true,\n * \"EnforceServiceSpecificTickets\": true\n * });\n */\n CreateOrUpdateSteam (request: CreateOrUpdateSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateSteamResponse>(\"/Addon/CreateOrUpdateSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the ToxMod addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateToxMod({\n * \"Enabled\": false,\n * \"AccountId\": \"123456\",\n * \"AccountKey\": \"654321\"\n * });\n */\n CreateOrUpdateToxMod (request: CreateOrUpdateToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateToxModResponse>(\"/Addon/CreateOrUpdateToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Twitch addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateTwitch({\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"654321\"\n * });\n */\n CreateOrUpdateTwitch (request: CreateOrUpdateTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateTwitchResponse>(\"/Addon/CreateOrUpdateTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Apple addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple Microsoft Documentation}\n * @example\n * await addonClient.DeleteApple({});\n */\n DeleteApple (request: DeleteAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteAppleResponse>(\"/Addon/DeleteApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Facebook addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook Microsoft Documentation}\n * @example\n * await addonClient.DeleteFacebook({});\n */\n DeleteFacebook (request: DeleteFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFacebookResponse>(\"/Addon/DeleteFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Facebook addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.DeleteFacebookInstantGames({});\n */\n DeleteFacebookInstantGames (request: DeleteFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFacebookInstantGamesResponse>(\"/Addon/DeleteFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Google addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle Microsoft Documentation}\n * @example\n * await addonClient.DeleteGoogle({});\n */\n DeleteGoogle (request: DeleteGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteGoogleResponse>(\"/Addon/DeleteGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Kongregate addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate Microsoft Documentation}\n * @example\n * await addonClient.DeleteKongregate({});\n */\n DeleteKongregate (request: DeleteKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteKongregateResponse>(\"/Addon/DeleteKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Nintendo addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo Microsoft Documentation}\n * @example\n * await addonClient.DeleteNintendo({});\n */\n DeleteNintendo (request: DeleteNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteNintendoResponse>(\"/Addon/DeleteNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the PSN addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn Microsoft Documentation}\n * @example\n * await addonClient.DeletePSN({});\n */\n DeletePSN (request: DeletePSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeletePSNResponse>(\"/Addon/DeletePSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Steam addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam Microsoft Documentation}\n * @example\n * await addonClient.DeleteSteam({});\n */\n DeleteSteam (request: DeleteSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteSteamResponse>(\"/Addon/DeleteSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the ToxMod addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod Microsoft Documentation}\n * @example\n * await addonClient.DeleteToxMod({});\n */\n DeleteToxMod (request: DeleteToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteToxModResponse>(\"/Addon/DeleteToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Twitch addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch Microsoft Documentation}\n * @example\n * await addonClient.DeleteTwitch({});\n */\n DeleteTwitch (request: DeleteTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteTwitchResponse>(\"/Addon/DeleteTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Apple addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple Microsoft Documentation}\n * @example\n * await addonClient.GetApple({});\n */\n GetApple (request: GetAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetAppleResponse>(\"/Addon/GetApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Facebook addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook Microsoft Documentation}\n * @example\n * await addonClient.GetFacebook({});\n */\n GetFacebook (request: GetFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFacebookResponse>(\"/Addon/GetFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Facebook Instant Games addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.GetFacebookInstantGames({});\n */\n GetFacebookInstantGames (request: GetFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFacebookInstantGamesResponse>(\"/Addon/GetFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Google addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle Microsoft Documentation}\n * @example\n * await addonClient.GetGoogle({});\n */\n GetGoogle (request: GetGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGoogleResponse>(\"/Addon/GetGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Kongregate addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate Microsoft Documentation}\n * @example\n * await addonClient.GetKongregate({});\n */\n GetKongregate (request: GetKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetKongregateResponse>(\"/Addon/GetKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Nintendo addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo Microsoft Documentation}\n * @example\n * await addonClient.GetNintendo({});\n */\n GetNintendo (request: GetNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetNintendoResponse>(\"/Addon/GetNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the PSN addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn Microsoft Documentation}\n * @example\n * await addonClient.GetPSN({});\n */\n GetPSN (request: GetPSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetPSNResponse>(\"/Addon/GetPSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Steam addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam Microsoft Documentation}\n * @example\n * await addonClient.GetSteam({});\n */\n GetSteam (request: GetSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetSteamResponse>(\"/Addon/GetSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the ToxMod addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod Microsoft Documentation}\n * @example\n * await addonClient.GetToxMod({});\n */\n GetToxMod (request: GetToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetToxModResponse>(\"/Addon/GetToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Twitch addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch Microsoft Documentation}\n * @example\n * await addonClient.GetTwitch({});\n */\n GetTwitch (request: GetTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTwitchResponse>(\"/Addon/GetTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAgEA,IAAqB,kBAArB,cAA6C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBzD,oBAAqB,SAAqC,cAAuC;AAC/F,WAAO,KAAK,sBAAmD,8BAA8B,SAAS,iBAAiB,YAAY;AAAA,EACrI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,uBAAwB,SAAwC,cAAuC;AACrG,WAAO,KAAK,sBAAsD,iCAAiC,SAAS,iBAAiB,YAAY;AAAA,EAC3I;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,mCAAoC,SAAoD,cAAuC;AAC7H,WAAO,KAAK,sBAAkE,6CAA6C,SAAS,iBAAiB,YAAY;AAAA,EACnK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAeA,qBAAsB,SAAsC,cAAuC;AACjG,WAAO,KAAK,sBAAoD,+BAA+B,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,yBAA0B,SAA0C,cAAuC;AACzG,WAAO,KAAK,sBAAwD,mCAAmC,SAAS,iBAAiB,YAA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sBAAyC,oBAAoB,SAAS,iBAAiB,YAAY;AAAA,EACjH;AAEF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-GZIXWXGQ.js";
3
+ } from "./chunk-TGAN63W6.js";
4
4
 
5
5
  // src/apis/PlayFabInsightsApi.ts
6
6
  var PlayFabInsightsApi = class extends PlayFabCommon {
@@ -79,4 +79,4 @@ var PlayFabInsightsApi = class extends PlayFabCommon {
79
79
  export {
80
80
  PlayFabInsightsApi
81
81
  };
82
- //# sourceMappingURL=chunk-NB24SSF5.js.map
82
+ //# sourceMappingURL=chunk-SQY3P3HK.js.map
@@ -20,8 +20,8 @@ var AuthInfoMap = {
20
20
  }
21
21
  };
22
22
  var constants_default = {
23
- sdkVersion: "1.197.250801",
24
- sdkFingerprint: "JavaScriptSDK-1.197.250801",
23
+ sdkVersion: "1.199.250912",
24
+ sdkFingerprint: "JavaScriptSDK-1.199.250912",
25
25
  buildIdentifier: "ghactions_community-playfab-web-sdk",
26
26
  defaultSettings: {
27
27
  titleId: "",
@@ -195,4 +195,4 @@ var PlayFabCommon = class {
195
195
  export {
196
196
  PlayFabCommon
197
197
  };
198
- //# sourceMappingURL=chunk-GZIXWXGQ.js.map
198
+ //# sourceMappingURL=chunk-TGAN63W6.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["export interface ISettings {\n /** You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n titleId: string;\n /** For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n developerSecretKey: string;\n productionServerUrl: string;\n /** Headers to apply to every request */\n globalHeaders?: Record<string, string>;\n /** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */\n verticalName?: string | null;\n}\n\nexport const ErrorMessages = {\n titleId: \"Must be have settings.titleId set to call this method\",\n loggedIn: \"Must be logged in to call this method\",\n entityToken: \"You must successfully call GetEntityToken before calling this\",\n secretKey: \"Must have settings.developerSecretKey set to call this method\",\n};\n\nexport const AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: ErrorMessages.entityToken,\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: ErrorMessages.loggedIn,\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: ErrorMessages.secretKey,\n },\n};\n\nexport default {\n sdkVersion: \"1.197.250801\",\n sdkFingerprint: \"JavaScriptSDK-1.197.250801\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n"],"mappings":";AAYO,IAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,WAAW;AACb;AAEO,IAAM,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,eAAe,CAAC;AAAA,IAChB,qBAAqB;AAAA,IACrB,cAAc;AAAA,EAChB;AACF;;;ACnCO,IAAM,iBAAN,MAAM,gBAAe;AAAA,EAiBlB,cAAc;AAdtB,oBAAsB,kBAAU;AAEhC,iCAAqC;AAAA,MACnC,WAAW;AAAA,MACX,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,aAAa;AAAA,IACf;AAEA,yBAA+B;AAE/B,uBAA6B;AAAA,EAEN;AAAA,EAEvB,WAAkB,WAA2B;AAC3C,QAAI,CAAC,gBAAe,WAAW;AAC7B,sBAAe,YAAY,IAAI,gBAAe;AAAA,IAChD;AAEA,WAAO,gBAAe;AAAA,EACxB;AACF;;;AChCO,IAAM,gBAAN,MAAoB;AAAA,EAQzB,YAAY,WAA2C,QAAW;AAPlE,2BAA0B,kBAAU;AACpC,4BAAmB;AAAA,MACjB,KAAK,kBAAU;AAAA,IACjB;AACA,wBAAe,cAAc;AAC7B,SAAQ,WAAW,eAAe;AAGhC,Q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E,SAAS,WAAW,UAAU;AAAA,EACzC;AAAA,EAEA,MAAM,sBACJ,QACA,SACA,SACA,cACA;AACA,QAAI,YAAY;AAChB,QAAI,YAAY,MAAM;AACpB,YAAM,EAAE,WAAW,GAAG,SAAS,IAAI,KAAK,YAAY,SAAS,OAAO;AACpE,gBAAU,SAAS;AACnB,kBAAY,SAAS;AACrB,UAAI,CAAC,UAAW,OAAM;AAAA,IACxB;AACA,YACE,MAAM,KAAK;AAAA,MACT,KAAK,aAAa,IAAI;AAAA,MACtB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,GACA;AAAA,EACJ;AAAA,EAEA,oBAAoB,OAAqC;AACvD,QAAI,SAAS,KAAM,QAAO;AAC1B,QAAI,aAAa,MAAM;AACvB,aAAS,aAAa,MAAM;AAC1B,eAAS,UAAU,MAAM,aAAa,SAAS;AAC7C,sBACE,OAAO,YAAY,OAAO,MAAM,aAAa,SAAS,EAAE,MAAM;AACpE,WAAO;AAAA,EACT;AAAA,EAEA,uBAAuB;AACrB,SAAK,SAAS,gBAAgB;AAC9B,SAAK,SAAS,cAAc;AAAA,EAC9B;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["export interface ISettings {\n /** You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n titleId: string;\n /** For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n developerSecretKey: string;\n productionServerUrl: string;\n /** Headers to apply to every request */\n globalHeaders?: Record<string, string>;\n /** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */\n verticalName?: string | null;\n}\n\nexport const ErrorMessages = {\n titleId: \"Must be have settings.titleId set to call this method\",\n loggedIn: \"Must be logged in to call this method\",\n entityToken: \"You must successfully call GetEntityToken before calling this\",\n secretKey: \"Must have settings.developerSecretKey set to call this method\",\n};\n\nexport const AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: ErrorMessages.entityToken,\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: ErrorMessages.loggedIn,\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: ErrorMessages.secretKey,\n },\n};\n\nexport default {\n sdkVersion: \"1.199.250912\",\n sdkFingerprint: \"JavaScriptSDK-1.199.250912\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n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AY,MAAM;AACpB,YAAM,EAAE,WAAW,GAAG,SAAS,IAAI,KAAK,YAAY,SAAS,OAAO;AACpE,gBAAU,SAAS;AACnB,kBAAY,SAAS;AACrB,UAAI,CAAC,UAAW,OAAM;AAAA,IACxB;AACA,YACE,MAAM,KAAK;AAAA,MACT,KAAK,aAAa,IAAI;AAAA,MACtB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,GACA;AAAA,EACJ;AAAA,EAEA,oBAAoB,OAAqC;AACvD,QAAI,SAAS,KAAM,QAAO;AAC1B,QAAI,aAAa,MAAM;AACvB,aAAS,aAAa,MAAM;AAC1B,eAAS,UAAU,MAAM,aAAa,SAAS;AAC7C,sBACE,OAAO,YAAY,OAAO,MAAM,aAAa,SAAS,EAAE,MAAM;AACpE,WAAO;AAAA,EACT;AAAA,EAEA,uBAAuB;AACrB,SAAK,SAAS,gBAAgB;AAC9B,SAAK,SAAS,cAAc;AAAA,EAC9B;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-GZIXWXGQ.js";
3
+ } from "./chunk-TGAN63W6.js";
4
4
 
5
5
  // src/apis/PlayFabAuthenticationApi.ts
6
6
  var PlayFabAuthenticationApi = class extends PlayFabCommon {
@@ -79,4 +79,4 @@ var PlayFabAuthenticationApi = class extends PlayFabCommon {
79
79
  export {
80
80
  PlayFabAuthenticationApi
81
81
  };
82
- //# sourceMappingURL=chunk-2CU26HDG.js.map
82
+ //# sourceMappingURL=chunk-UT6LVY7U.js.map
package/dist/index.js CHANGED
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  PlayFabProgressionApi
3
- } from "./chunk-TXZQRPI7.js";
3
+ } from "./chunk-JMCN5YM7.js";
4
4
  import {
5
5
  PlayFabServerApi
6
- } from "./chunk-3XNOVXHN.js";
6
+ } from "./chunk-MHZTDR4X.js";
7
7
  import {
8
8
  PlayFabEventsApi
9
- } from "./chunk-3CP3J4TI.js";
9
+ } from "./chunk-53ZOZ6ZK.js";
10
10
  import {
11
11
  PlayFabExperimentationApi
12
- } from "./chunk-4ADEPX2D.js";
12
+ } from "./chunk-L4NJVJVM.js";
13
13
  import {
14
14
  PlayFabGroupsApi
15
- } from "./chunk-ORZ4O5SW.js";
15
+ } from "./chunk-IOUDK36D.js";
16
16
  import {
17
17
  PlayFabInsightsApi
18
- } from "./chunk-NB24SSF5.js";
18
+ } from "./chunk-SQY3P3HK.js";
19
19
  import {
20
20
  PlayFabLocalizationApi
21
- } from "./chunk-NZ64VN7C.js";
21
+ } from "./chunk-2IWZ3JGX.js";
22
22
  import {
23
23
  PlayFabMatchmakerApi
24
- } from "./chunk-VAYRJ7OJ.js";
24
+ } from "./chunk-LZ2EPFC5.js";
25
25
  import {
26
26
  PlayFabMultiplayerApi
27
- } from "./chunk-EVQUDVAZ.js";
27
+ } from "./chunk-OQEGQD4N.js";
28
28
  import {
29
29
  PlayFabProfilesApi
30
- } from "./chunk-HCKS7F77.js";
30
+ } from "./chunk-32YIITZR.js";
31
31
  import {
32
32
  PlayFabAddonApi
33
- } from "./chunk-3GX5SJS4.js";
33
+ } from "./chunk-OXTWSDHP.js";
34
34
  import {
35
35
  PlayFabAdminApi
36
- } from "./chunk-3MFAHZTQ.js";
36
+ } from "./chunk-DSIODCMV.js";
37
37
  import {
38
38
  PlayFabAuthenticationApi
39
- } from "./chunk-2CU26HDG.js";
39
+ } from "./chunk-UT6LVY7U.js";
40
40
  import {
41
41
  PlayFabClientApi
42
- } from "./chunk-CVFKWZOR.js";
42
+ } from "./chunk-KPUSPXER.js";
43
43
  import {
44
44
  PlayFabCloudScriptApi
45
- } from "./chunk-277C7C7D.js";
45
+ } from "./chunk-KSIUPHCB.js";
46
46
  import {
47
47
  PlayFabDataApi
48
- } from "./chunk-3AF4MCTX.js";
48
+ } from "./chunk-M4IBQDM7.js";
49
49
  import {
50
50
  PlayFabEconomyApi
51
- } from "./chunk-GQ3M36YS.js";
52
- import "./chunk-GZIXWXGQ.js";
51
+ } from "./chunk-MQB7DC2F.js";
52
+ import "./chunk-TGAN63W6.js";
53
53
  export {
54
54
  PlayFabAddonApi,
55
55
  PlayFabAdminApi,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-fabs/playfab-web-sdk",
3
- "version": "1.197.250801",
3
+ "version": "1.199.250912",
4
4
  "description": "Unofficial Playfab SDK for JS client applications",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/apis/PlayFabAddonApi.ts"],"sourcesContent":["import type {\n CreateOrUpdateAppleRequest,\n CreateOrUpdateFacebookRequest,\n CreateOrUpdateFacebookInstantGamesRequest,\n CreateOrUpdateGoogleRequest,\n CreateOrUpdateKongregateRequest,\n CreateOrUpdateNintendoRequest,\n CreateOrUpdatePSNRequest,\n CreateOrUpdateSteamRequest,\n CreateOrUpdateToxModRequest,\n CreateOrUpdateTwitchRequest,\n DeleteAppleRequest,\n DeleteFacebookRequest,\n DeleteFacebookInstantGamesRequest,\n DeleteGoogleRequest,\n DeleteKongregateRequest,\n DeleteNintendoRequest,\n DeletePSNRequest,\n DeleteSteamRequest,\n DeleteToxModRequest,\n DeleteTwitchRequest,\n GetAppleRequest,\n GetFacebookRequest,\n GetFacebookInstantGamesRequest,\n GetGoogleRequest,\n GetKongregateRequest,\n GetNintendoRequest,\n GetPSNRequest,\n GetSteamRequest,\n GetToxModRequest,\n GetTwitchRequest,\n CreateOrUpdateAppleResponse,\n CreateOrUpdateFacebookResponse,\n CreateOrUpdateFacebookInstantGamesResponse,\n CreateOrUpdateGoogleResponse,\n CreateOrUpdateKongregateResponse,\n CreateOrUpdateNintendoResponse,\n CreateOrUpdatePSNResponse,\n CreateOrUpdateSteamResponse,\n CreateOrUpdateToxModResponse,\n CreateOrUpdateTwitchResponse,\n DeleteAppleResponse,\n DeleteFacebookResponse,\n DeleteFacebookInstantGamesResponse,\n DeleteGoogleResponse,\n DeleteKongregateResponse,\n DeleteNintendoResponse,\n DeletePSNResponse,\n DeleteSteamResponse,\n DeleteToxModResponse,\n DeleteTwitchResponse,\n GetAppleResponse,\n GetFacebookResponse,\n GetFacebookInstantGamesResponse,\n GetGoogleResponse,\n GetKongregateResponse,\n GetNintendoResponse,\n GetPSNResponse,\n GetSteamResponse,\n GetToxModResponse,\n GetTwitchResponse,\n} from \"../types/PlayFabAddonApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabAddonApi extends PlayFabCommon {\n\n /**\n * Creates the Apple addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateApple({\n * \"AppBundleId\": \"123456\",\n * \"AppSharedSecret\": \"654321\",\n * \"RequireSecureAuthentication\": true\n * });\n */\n CreateOrUpdateApple (request: CreateOrUpdateAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateAppleResponse>(\"/Addon/CreateOrUpdateApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Facebook addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateFacebook({\n * \"AppID\": \"123456\",\n * \"AppSecret\": \"654321\",\n * \"NotificationEmail\": \"user@example.com\"\n * });\n */\n CreateOrUpdateFacebook (request: CreateOrUpdateFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateFacebookResponse>(\"/Addon/CreateOrUpdateFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Facebook Instant Games addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateFacebookInstantGames({\n * \"AppID\": \"123456\",\n * \"AppSecret\": \"654321\"\n * });\n */\n CreateOrUpdateFacebookInstantGames (request: CreateOrUpdateFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateFacebookInstantGamesResponse>(\"/Addon/CreateOrUpdateFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Google addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateGoogle({\n * \"AppPackageID\": \"abcdef\",\n * \"AppLicenseKey\": \"fedcba\",\n * \"OAuthClientID\": \"123456\",\n * \"OAuthClientSecret\": \"654321\",\n * \"OAuthCustomRedirectUri\": \"https://yourdomaingoeshere.com\"\n * });\n */\n CreateOrUpdateGoogle (request: CreateOrUpdateGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateGoogleResponse>(\"/Addon/CreateOrUpdateGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Kongregate addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateKongregate({\n * \"SecretAPIKey\": \"123456\"\n * });\n */\n CreateOrUpdateKongregate (request: CreateOrUpdateKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateKongregateResponse>(\"/Addon/CreateOrUpdateKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Nintendo addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateNintendo({\n * \"ApplicationID\": \"123456\",\n * \"Environments\": [\n * {\n * \"ID\": \"1\",\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"654321\"\n * }\n * ]\n * });\n */\n CreateOrUpdateNintendo (request: CreateOrUpdateNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateNintendoResponse>(\"/Addon/CreateOrUpdateNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the PSN addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdatePSN({\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"abcdef\",\n * \"NextGenClientID\": \"654321\",\n * \"NextGenClientSecret\": \"fedcba\"\n * });\n */\n CreateOrUpdatePSN (request: CreateOrUpdatePSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdatePSNResponse>(\"/Addon/CreateOrUpdatePSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Steam addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateSteam({\n * \"ApplicationId\": \"123456\",\n * \"SecretKey\": \"654321\",\n * \"UseSandbox\": true,\n * \"EnforceServiceSpecificTickets\": true\n * });\n */\n CreateOrUpdateSteam (request: CreateOrUpdateSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateSteamResponse>(\"/Addon/CreateOrUpdateSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the ToxMod addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateToxMod({\n * \"Enabled\": false,\n * \"AccountId\": \"123456\",\n * \"AccountKey\": \"654321\"\n * });\n */\n CreateOrUpdateToxMod (request: CreateOrUpdateToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateToxModResponse>(\"/Addon/CreateOrUpdateToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Twitch addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateTwitch({\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"654321\"\n * });\n */\n CreateOrUpdateTwitch (request: CreateOrUpdateTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateTwitchResponse>(\"/Addon/CreateOrUpdateTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Apple addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple Microsoft Documentation}\n * @example\n * await addonClient.DeleteApple({});\n */\n DeleteApple (request: DeleteAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteAppleResponse>(\"/Addon/DeleteApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Facebook addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook Microsoft Documentation}\n * @example\n * await addonClient.DeleteFacebook({});\n */\n DeleteFacebook (request: DeleteFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFacebookResponse>(\"/Addon/DeleteFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Facebook addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.DeleteFacebookInstantGames({});\n */\n DeleteFacebookInstantGames (request: DeleteFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFacebookInstantGamesResponse>(\"/Addon/DeleteFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Google addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle Microsoft Documentation}\n * @example\n * await addonClient.DeleteGoogle({});\n */\n DeleteGoogle (request: DeleteGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteGoogleResponse>(\"/Addon/DeleteGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Kongregate addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate Microsoft Documentation}\n * @example\n * await addonClient.DeleteKongregate({});\n */\n DeleteKongregate (request: DeleteKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteKongregateResponse>(\"/Addon/DeleteKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Nintendo addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo Microsoft Documentation}\n * @example\n * await addonClient.DeleteNintendo({});\n */\n DeleteNintendo (request: DeleteNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteNintendoResponse>(\"/Addon/DeleteNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the PSN addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn Microsoft Documentation}\n * @example\n * await addonClient.DeletePSN({});\n */\n DeletePSN (request: DeletePSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeletePSNResponse>(\"/Addon/DeletePSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Steam addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam Microsoft Documentation}\n * @example\n * await addonClient.DeleteSteam({});\n */\n DeleteSteam (request: DeleteSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteSteamResponse>(\"/Addon/DeleteSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the ToxMod addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod Microsoft Documentation}\n * @example\n * await addonClient.DeleteToxMod({});\n */\n DeleteToxMod (request: DeleteToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteToxModResponse>(\"/Addon/DeleteToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Twitch addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch Microsoft Documentation}\n * @example\n * await addonClient.DeleteTwitch({});\n */\n DeleteTwitch (request: DeleteTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteTwitchResponse>(\"/Addon/DeleteTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Apple addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple Microsoft Documentation}\n * @example\n * await addonClient.GetApple({});\n */\n GetApple (request: GetAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetAppleResponse>(\"/Addon/GetApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Facebook addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook Microsoft Documentation}\n * @example\n * await addonClient.GetFacebook({});\n */\n GetFacebook (request: GetFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFacebookResponse>(\"/Addon/GetFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Facebook Instant Games addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.GetFacebookInstantGames({});\n */\n GetFacebookInstantGames (request: GetFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFacebookInstantGamesResponse>(\"/Addon/GetFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Google addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle Microsoft Documentation}\n * @example\n * await addonClient.GetGoogle({});\n */\n GetGoogle (request: GetGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGoogleResponse>(\"/Addon/GetGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Kongregate addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate Microsoft Documentation}\n * @example\n * await addonClient.GetKongregate({});\n */\n GetKongregate (request: GetKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetKongregateResponse>(\"/Addon/GetKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Nintendo addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo Microsoft Documentation}\n * @example\n * await addonClient.GetNintendo({});\n */\n GetNintendo (request: GetNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetNintendoResponse>(\"/Addon/GetNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the PSN addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn Microsoft Documentation}\n * @example\n * await addonClient.GetPSN({});\n */\n GetPSN (request: GetPSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetPSNResponse>(\"/Addon/GetPSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Steam addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam Microsoft Documentation}\n * @example\n * await addonClient.GetSteam({});\n */\n GetSteam (request: GetSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetSteamResponse>(\"/Addon/GetSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the ToxMod addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod Microsoft Documentation}\n * @example\n * await addonClient.GetToxMod({});\n */\n GetToxMod (request: GetToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetToxModResponse>(\"/Addon/GetToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Twitch addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch Microsoft Documentation}\n * @example\n * await addonClient.GetTwitch({});\n */\n GetTwitch (request: GetTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTwitchResponse>(\"/Addon/GetTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAgEA,IAAqB,kBAArB,cAA6C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAazD,oBAAqB,SAAqC,cAAuC;AAC/F,WAAO,KAAK,sBAAmD,8BAA8B,SAAS,iBAAiB,YAAY;AAAA,EACrI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,uBAAwB,SAAwC,cAAuC;AACrG,WAAO,KAAK,sBAAsD,iCAAiC,SAAS,iBAAiB,YAAY;AAAA,EAC3I;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,mCAAoC,SAAoD,cAAuC;AAC7H,WAAO,KAAK,sBAAkE,6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