async-playfab-web-sdk 1.192.250526-1 → 1.192.250526-3

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 (87) hide show
  1. package/dist/Addon.d.ts +31 -31
  2. package/dist/Addon.js +4 -448
  3. package/dist/Addon.js.map +1 -1
  4. package/dist/Admin.d.ts +118 -118
  5. package/dist/Admin.js +4 -1108
  6. package/dist/Admin.js.map +1 -1
  7. package/dist/Authentication.d.ts +5 -5
  8. package/dist/Authentication.js +4 -286
  9. package/dist/Authentication.js.map +1 -1
  10. package/dist/Client.d.ts +174 -174
  11. package/dist/Client.js +4 -1889
  12. package/dist/Client.js.map +1 -1
  13. package/dist/CloudScript.d.ts +16 -16
  14. package/dist/CloudScript.js +4 -345
  15. package/dist/CloudScript.js.map +1 -1
  16. package/dist/Data.d.ts +8 -8
  17. package/dist/Data.js +4 -287
  18. package/dist/Data.js.map +1 -1
  19. package/dist/Economy.d.ts +47 -47
  20. package/dist/Economy.js +4 -610
  21. package/dist/Economy.js.map +1 -1
  22. package/dist/Events.d.ts +13 -13
  23. package/dist/Events.js +4 -323
  24. package/dist/Events.js.map +1 -1
  25. package/dist/Experimentation.d.ts +14 -14
  26. package/dist/Experimentation.js +4 -329
  27. package/dist/Experimentation.js.map +1 -1
  28. package/dist/Groups.d.ts +26 -26
  29. package/dist/Groups.js +4 -413
  30. package/dist/Groups.js.map +1 -1
  31. package/dist/Insights.d.ts +7 -7
  32. package/dist/Insights.js +4 -282
  33. package/dist/Insights.js.map +1 -1
  34. package/dist/Localization.d.ts +2 -2
  35. package/dist/Localization.js +4 -245
  36. package/dist/Localization.js.map +1 -1
  37. package/dist/Multiplayer.d.ts +88 -88
  38. package/dist/Multiplayer.js +4 -858
  39. package/dist/Multiplayer.js.map +1 -1
  40. package/dist/{PlayFabCommon-BUv4zqXf.d.ts → PlayFabCommon-BX3jSqGx.d.ts} +4 -6
  41. package/dist/Profiles.d.ts +10 -10
  42. package/dist/Profiles.js +4 -302
  43. package/dist/Profiles.js.map +1 -1
  44. package/dist/Progression.d.ts +24 -24
  45. package/dist/Progression.js +4 -400
  46. package/dist/Progression.js.map +1 -1
  47. package/dist/Server.d.ts +150 -150
  48. package/dist/Server.js +4 -1373
  49. package/dist/Server.js.map +1 -1
  50. package/dist/chunk-3FCAP7OZ.js +187 -0
  51. package/dist/chunk-3FCAP7OZ.js.map +1 -0
  52. package/dist/chunk-62SULWOK.js +195 -0
  53. package/dist/chunk-62SULWOK.js.map +1 -0
  54. package/dist/chunk-A7VD6ALV.js +222 -0
  55. package/dist/chunk-A7VD6ALV.js.map +1 -0
  56. package/dist/chunk-BX65UND2.js +632 -0
  57. package/dist/chunk-BX65UND2.js.map +1 -0
  58. package/dist/chunk-J4QS5VX5.js +19 -0
  59. package/dist/chunk-J4QS5VX5.js.map +1 -0
  60. package/dist/chunk-JGDO2ZE3.js +1663 -0
  61. package/dist/chunk-JGDO2ZE3.js.map +1 -0
  62. package/dist/chunk-POMI7LEF.js +76 -0
  63. package/dist/chunk-POMI7LEF.js.map +1 -0
  64. package/dist/chunk-Q3OF3AOJ.js +97 -0
  65. package/dist/chunk-Q3OF3AOJ.js.map +1 -0
  66. package/dist/chunk-QUZHVSVZ.js +174 -0
  67. package/dist/chunk-QUZHVSVZ.js.map +1 -0
  68. package/dist/chunk-QVLIVSO4.js +1147 -0
  69. package/dist/chunk-QVLIVSO4.js.map +1 -0
  70. package/dist/chunk-R7V7DFCF.js +103 -0
  71. package/dist/chunk-R7V7DFCF.js.map +1 -0
  72. package/dist/chunk-SGSEOIKS.js +56 -0
  73. package/dist/chunk-SGSEOIKS.js.map +1 -0
  74. package/dist/chunk-UOHHNVCJ.js +119 -0
  75. package/dist/chunk-UOHHNVCJ.js.map +1 -0
  76. package/dist/chunk-USKFWNQK.js +384 -0
  77. package/dist/chunk-USKFWNQK.js.map +1 -0
  78. package/dist/chunk-UX7LFJCX.js +61 -0
  79. package/dist/chunk-UX7LFJCX.js.map +1 -0
  80. package/dist/chunk-X34XZJB6.js +60 -0
  81. package/dist/chunk-X34XZJB6.js.map +1 -0
  82. package/dist/chunk-YNZF3WXS.js +882 -0
  83. package/dist/chunk-YNZF3WXS.js.map +1 -0
  84. package/dist/index.d.ts +1 -1
  85. package/dist/index.js +49 -5988
  86. package/dist/index.js.map +1 -1
  87. package/package.json +1 -1
@@ -0,0 +1,195 @@
1
+ // src/constants.ts
2
+ var AuthInfoMap = {
3
+ "X-EntityToken": {
4
+ authAttr: "entityToken",
5
+ authError: "errorEntityToken"
6
+ },
7
+ "X-Authorization": {
8
+ authAttr: "sessionTicket",
9
+ authError: "errorLoggedIn"
10
+ },
11
+ "X-SecretKey": {
12
+ authAttr: "developerSecretKey",
13
+ authError: "errorSecretKey"
14
+ }
15
+ };
16
+ var constants_default = {
17
+ sdkVersion: "1.192.250526",
18
+ sdkFingerprint: "JavaScriptSDK-1.192.250526",
19
+ buildIdentifier: "custom_async-javascriptsdk",
20
+ defaultSettings: {
21
+ titleId: "",
22
+ developerSecretKey: "",
23
+ GlobalHeaderInjection: {},
24
+ productionServerUrl: ".playfabapi.com",
25
+ verticalName: null
26
+ }
27
+ };
28
+
29
+ // src/PlayFabContext.ts
30
+ var PlayFabContext = class _PlayFabContext {
31
+ constructor() {
32
+ this.settings = constants_default.defaultSettings;
33
+ this.authenticationContext = {
34
+ PlayFabId: null,
35
+ EntityId: null,
36
+ EntityType: null,
37
+ SessionTicket: null,
38
+ EntityToken: null
39
+ };
40
+ this.sessionTicket = null;
41
+ this.entityToken = null;
42
+ }
43
+ static get instance() {
44
+ if (!_PlayFabContext._instance) {
45
+ _PlayFabContext._instance = new _PlayFabContext();
46
+ }
47
+ return _PlayFabContext._instance;
48
+ }
49
+ };
50
+
51
+ // src/PlayFabCommon.ts
52
+ var PlayFabCommon = class {
53
+ constructor(settings = void 0) {
54
+ this.buildIdentifier = constants_default.buildIdentifier;
55
+ this.requestGetParams = {
56
+ sdk: constants_default.sdkFingerprint
57
+ };
58
+ this.errorTitleId = "Must be have settings.titleId set to call this method";
59
+ this.errorLoggedIn = "Must be logged in to call this method";
60
+ this.errorEntityToken = "You must successfully call GetEntityToken before calling this";
61
+ this.errorSecretKey = "Must have settings.developerSecretKey set to call this method";
62
+ this._context = PlayFabContext.instance;
63
+ if (settings) {
64
+ Object.assign(this._context.settings, settings);
65
+ }
66
+ }
67
+ get settings() {
68
+ return this._context.settings;
69
+ }
70
+ get authenticationContext() {
71
+ return this._context.authenticationContext;
72
+ }
73
+ get sessionTicket() {
74
+ return this._context.sessionTicket;
75
+ }
76
+ set sessionTicket(value) {
77
+ this._context.sessionTicket = value;
78
+ }
79
+ get entityToken() {
80
+ return this._context.entityToken;
81
+ }
82
+ set entityToken(value) {
83
+ this._context.entityToken = value;
84
+ }
85
+ GetServerUrl() {
86
+ if (!(this.settings.productionServerUrl.substring(0, 4) === "http")) {
87
+ return `https://${this.settings.verticalName || this.settings.titleId}${this.settings.productionServerUrl}`;
88
+ } else {
89
+ return this.settings.productionServerUrl;
90
+ }
91
+ }
92
+ InjectHeaders(xhr, headersObj) {
93
+ if (!headersObj) return;
94
+ for (const headerKey in headersObj) {
95
+ try {
96
+ xhr.setRequestHeader(headerKey, headersObj[headerKey]);
97
+ } catch (e) {
98
+ console.log(
99
+ `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`
100
+ );
101
+ }
102
+ }
103
+ }
104
+ async ExecuteRequest(url, body, authkey, authValue, extraHeaders) {
105
+ if (body == null) {
106
+ body = {};
107
+ }
108
+ const requestBody = JSON.stringify(body);
109
+ const apiParams = new URLSearchParams(this.requestGetParams);
110
+ const apiUrl = new URL(
111
+ apiParams.size ? `${url}?${apiParams.toString()}` : url
112
+ );
113
+ const response = await fetch(apiUrl.toString(), {
114
+ method: "POST",
115
+ headers: {
116
+ "Content-Type": "application/json",
117
+ "X-PlayFabSDK": "JavaScriptSDK-" + constants_default.sdkVersion,
118
+ ...this.settings.globalHeaders,
119
+ ...extraHeaders,
120
+ ...authkey && authValue ? { [authkey]: authValue } : {}
121
+ },
122
+ body: requestBody
123
+ });
124
+ const jsonResponse = await response.json();
125
+ if (!response.ok) {
126
+ throw new Error(jsonResponse);
127
+ }
128
+ return jsonResponse;
129
+ }
130
+ UpdateAuthenticationContext(currentAuthContext, result) {
131
+ var authenticationContextUpdates = {};
132
+ if (result == null ? void 0 : result.PlayFabId) {
133
+ authenticationContextUpdates.PlayFabId = result.PlayFabId;
134
+ }
135
+ if (result == null ? void 0 : result.SessionTicket) {
136
+ authenticationContextUpdates.SessionTicket = result.SessionTicket;
137
+ }
138
+ if (result == null ? void 0 : result.EntityToken) {
139
+ authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;
140
+ authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;
141
+ authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;
142
+ }
143
+ currentAuthContext = Object.assign(
144
+ currentAuthContext,
145
+ authenticationContextUpdates
146
+ );
147
+ this._context.authenticationContext = currentAuthContext;
148
+ return currentAuthContext;
149
+ }
150
+ GetAuthInfo(request, authKey) {
151
+ var authError = AuthInfoMap[authKey].authError;
152
+ var authAttr = AuthInfoMap[authKey].authAttr;
153
+ var defaultAuthValue = null;
154
+ if (authAttr === "entityToken") defaultAuthValue = this.entityToken;
155
+ else if (authAttr === "sessionTicket")
156
+ defaultAuthValue = this.sessionTicket;
157
+ else if (authAttr === "developerSecretKey")
158
+ defaultAuthValue = this.settings.developerSecretKey;
159
+ var authValue = request.AuthenticationContext ? request.AuthenticationContext[authAttr] : defaultAuthValue;
160
+ return { authKey, authValue, authError };
161
+ }
162
+ ExecuteRequestWrapper(apiURL, request, authKey, extraHeaders) {
163
+ var authValue = null;
164
+ if (authKey !== null) {
165
+ const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);
166
+ authKey = authInfo.authKey;
167
+ authValue = authInfo.authValue;
168
+ if (!authValue) throw authError;
169
+ }
170
+ return this.ExecuteRequest(
171
+ this.GetServerUrl() + apiURL,
172
+ request,
173
+ authKey,
174
+ authValue,
175
+ extraHeaders
176
+ );
177
+ }
178
+ GenerateErrorReport(error) {
179
+ if (error == null) return "";
180
+ var fullErrors = error.errorMessage;
181
+ for (var paramName in error.errorDetails)
182
+ for (var msgIdx in error.errorDetails[paramName])
183
+ fullErrors += "\n" + paramName + ": " + error.errorDetails[paramName][msgIdx];
184
+ return fullErrors;
185
+ }
186
+ ForgetAllCredentials() {
187
+ this._context.sessionTicket = null;
188
+ this._context.entityToken = null;
189
+ }
190
+ };
191
+
192
+ export {
193
+ PlayFabCommon
194
+ };
195
+ //# sourceMappingURL=chunk-62SULWOK.js.map
@@ -0,0 +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 AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: \"errorEntityToken\",\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: \"errorLoggedIn\",\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: \"errorSecretKey\",\n },\n};\n\nexport default {\n sdkVersion: \"1.192.250526\",\n sdkFingerprint: \"JavaScriptSDK-1.192.250526\",\n buildIdentifier: \"custom_async-javascriptsdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n GlobalHeaderInjection: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: null\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 } 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 = \"Must be have settings.titleId set to call this method\";\n errorLoggedIn = \"Must be logged in to call this method\";\n errorEntityToken =\n \"You must successfully call GetEntityToken before calling this\";\n errorSecretKey =\n \"Must have settings.developerSecretKey set to call this method\";\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) {\n throw new Error(jsonResponse);\n }\n\n return jsonResponse as 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 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 this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n );\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,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,uBAAuB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ACpE,WAAO;AAAA,EACT;AAAA,EAEA,uBAAuB;AACrB,SAAK,SAAS,gBAAgB;AAC9B,SAAK,SAAS,cAAc;AAAA,EAC9B;AACF;","names":[]}
@@ -0,0 +1,222 @@
1
+ import {
2
+ PlayFabCommon
3
+ } from "./chunk-62SULWOK.js";
4
+
5
+ // src/apis/PlayFabAddonApi.ts
6
+ var PlayFabAddonApi = class extends PlayFabCommon {
7
+ /**
8
+ * Creates the Apple addon on a title, or updates it if it already exists.
9
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple
10
+ */
11
+ CreateOrUpdateApple(request, extraHeaders) {
12
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", extraHeaders);
13
+ }
14
+ /**
15
+ * Creates the Facebook addon on a title, or updates it if it already exists.
16
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook
17
+ */
18
+ CreateOrUpdateFacebook(request, extraHeaders) {
19
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebook", request, "X-EntityToken", extraHeaders);
20
+ }
21
+ /**
22
+ * Creates the Facebook Instant Games addon on a title, or updates it if it already exists.
23
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames
24
+ */
25
+ CreateOrUpdateFacebookInstantGames(request, extraHeaders) {
26
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebookInstantGames", request, "X-EntityToken", extraHeaders);
27
+ }
28
+ /**
29
+ * Creates the Google addon on a title, or updates it if it already exists.
30
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle
31
+ */
32
+ CreateOrUpdateGoogle(request, extraHeaders) {
33
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateGoogle", request, "X-EntityToken", extraHeaders);
34
+ }
35
+ /**
36
+ * Creates the Kongregate addon on a title, or updates it if it already exists.
37
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate
38
+ */
39
+ CreateOrUpdateKongregate(request, extraHeaders) {
40
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateKongregate", request, "X-EntityToken", extraHeaders);
41
+ }
42
+ /**
43
+ * Creates the Nintendo addon on a title, or updates it if it already exists.
44
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo
45
+ */
46
+ CreateOrUpdateNintendo(request, extraHeaders) {
47
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateNintendo", request, "X-EntityToken", extraHeaders);
48
+ }
49
+ /**
50
+ * Creates the PSN addon on a title, or updates it if it already exists.
51
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn
52
+ */
53
+ CreateOrUpdatePSN(request, extraHeaders) {
54
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdatePSN", request, "X-EntityToken", extraHeaders);
55
+ }
56
+ /**
57
+ * Creates the Steam addon on a title, or updates it if it already exists.
58
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam
59
+ */
60
+ CreateOrUpdateSteam(request, extraHeaders) {
61
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateSteam", request, "X-EntityToken", extraHeaders);
62
+ }
63
+ /**
64
+ * Creates the ToxMod addon on a title, or updates it if it already exists.
65
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod
66
+ */
67
+ CreateOrUpdateToxMod(request, extraHeaders) {
68
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateToxMod", request, "X-EntityToken", extraHeaders);
69
+ }
70
+ /**
71
+ * Creates the Twitch addon on a title, or updates it if it already exists.
72
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch
73
+ */
74
+ CreateOrUpdateTwitch(request, extraHeaders) {
75
+ return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateTwitch", request, "X-EntityToken", extraHeaders);
76
+ }
77
+ /**
78
+ * Deletes the Apple addon on a title.
79
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple
80
+ */
81
+ DeleteApple(request, extraHeaders) {
82
+ return this.ExecuteRequestWrapper("/Addon/DeleteApple", request, "X-EntityToken", extraHeaders);
83
+ }
84
+ /**
85
+ * Deletes the Facebook addon on a title.
86
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook
87
+ */
88
+ DeleteFacebook(request, extraHeaders) {
89
+ return this.ExecuteRequestWrapper("/Addon/DeleteFacebook", request, "X-EntityToken", extraHeaders);
90
+ }
91
+ /**
92
+ * Deletes the Facebook addon on a title.
93
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames
94
+ */
95
+ DeleteFacebookInstantGames(request, extraHeaders) {
96
+ return this.ExecuteRequestWrapper("/Addon/DeleteFacebookInstantGames", request, "X-EntityToken", extraHeaders);
97
+ }
98
+ /**
99
+ * Deletes the Google addon on a title.
100
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle
101
+ */
102
+ DeleteGoogle(request, extraHeaders) {
103
+ return this.ExecuteRequestWrapper("/Addon/DeleteGoogle", request, "X-EntityToken", extraHeaders);
104
+ }
105
+ /**
106
+ * Deletes the Kongregate addon on a title.
107
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate
108
+ */
109
+ DeleteKongregate(request, extraHeaders) {
110
+ return this.ExecuteRequestWrapper("/Addon/DeleteKongregate", request, "X-EntityToken", extraHeaders);
111
+ }
112
+ /**
113
+ * Deletes the Nintendo addon on a title.
114
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo
115
+ */
116
+ DeleteNintendo(request, extraHeaders) {
117
+ return this.ExecuteRequestWrapper("/Addon/DeleteNintendo", request, "X-EntityToken", extraHeaders);
118
+ }
119
+ /**
120
+ * Deletes the PSN addon on a title.
121
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn
122
+ */
123
+ DeletePSN(request, extraHeaders) {
124
+ return this.ExecuteRequestWrapper("/Addon/DeletePSN", request, "X-EntityToken", extraHeaders);
125
+ }
126
+ /**
127
+ * Deletes the Steam addon on a title.
128
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam
129
+ */
130
+ DeleteSteam(request, extraHeaders) {
131
+ return this.ExecuteRequestWrapper("/Addon/DeleteSteam", request, "X-EntityToken", extraHeaders);
132
+ }
133
+ /**
134
+ * Deletes the ToxMod addon on a title.
135
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod
136
+ */
137
+ DeleteToxMod(request, extraHeaders) {
138
+ return this.ExecuteRequestWrapper("/Addon/DeleteToxMod", request, "X-EntityToken", extraHeaders);
139
+ }
140
+ /**
141
+ * Deletes the Twitch addon on a title.
142
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch
143
+ */
144
+ DeleteTwitch(request, extraHeaders) {
145
+ return this.ExecuteRequestWrapper("/Addon/DeleteTwitch", request, "X-EntityToken", extraHeaders);
146
+ }
147
+ /**
148
+ * Gets information of the Apple addon on a title, omits secrets.
149
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple
150
+ */
151
+ GetApple(request, extraHeaders) {
152
+ return this.ExecuteRequestWrapper("/Addon/GetApple", request, "X-EntityToken", extraHeaders);
153
+ }
154
+ /**
155
+ * Gets information of the Facebook addon on a title, omits secrets.
156
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook
157
+ */
158
+ GetFacebook(request, extraHeaders) {
159
+ return this.ExecuteRequestWrapper("/Addon/GetFacebook", request, "X-EntityToken", extraHeaders);
160
+ }
161
+ /**
162
+ * Gets information of the Facebook Instant Games addon on a title, omits secrets.
163
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames
164
+ */
165
+ GetFacebookInstantGames(request, extraHeaders) {
166
+ return this.ExecuteRequestWrapper("/Addon/GetFacebookInstantGames", request, "X-EntityToken", extraHeaders);
167
+ }
168
+ /**
169
+ * Gets information of the Google addon on a title, omits secrets.
170
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle
171
+ */
172
+ GetGoogle(request, extraHeaders) {
173
+ return this.ExecuteRequestWrapper("/Addon/GetGoogle", request, "X-EntityToken", extraHeaders);
174
+ }
175
+ /**
176
+ * Gets information of the Kongregate addon on a title, omits secrets.
177
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate
178
+ */
179
+ GetKongregate(request, extraHeaders) {
180
+ return this.ExecuteRequestWrapper("/Addon/GetKongregate", request, "X-EntityToken", extraHeaders);
181
+ }
182
+ /**
183
+ * Gets information of the Nintendo addon on a title, omits secrets.
184
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo
185
+ */
186
+ GetNintendo(request, extraHeaders) {
187
+ return this.ExecuteRequestWrapper("/Addon/GetNintendo", request, "X-EntityToken", extraHeaders);
188
+ }
189
+ /**
190
+ * Gets information of the PSN addon on a title, omits secrets.
191
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn
192
+ */
193
+ GetPSN(request, extraHeaders) {
194
+ return this.ExecuteRequestWrapper("/Addon/GetPSN", request, "X-EntityToken", extraHeaders);
195
+ }
196
+ /**
197
+ * Gets information of the Steam addon on a title, omits secrets.
198
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam
199
+ */
200
+ GetSteam(request, extraHeaders) {
201
+ return this.ExecuteRequestWrapper("/Addon/GetSteam", request, "X-EntityToken", extraHeaders);
202
+ }
203
+ /**
204
+ * Gets information of the ToxMod addon on a title, omits secrets.
205
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod
206
+ */
207
+ GetToxMod(request, extraHeaders) {
208
+ return this.ExecuteRequestWrapper("/Addon/GetToxMod", request, "X-EntityToken", extraHeaders);
209
+ }
210
+ /**
211
+ * Gets information of the Twitch addon on a title, omits secrets.
212
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch
213
+ */
214
+ GetTwitch(request, extraHeaders) {
215
+ return this.ExecuteRequestWrapper("/Addon/GetTwitch", request, "X-EntityToken", extraHeaders);
216
+ }
217
+ };
218
+
219
+ export {
220
+ PlayFabAddonApi
221
+ };
222
+ //# sourceMappingURL=chunk-A7VD6ALV.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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch\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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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 * https://docs.microsoft.com/rest/api/playfab/addon/addon/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,EAMvD,oBAAqB,SAAqC,cAAuC;AAC7F,WAAO,KAAK,sBAAmD,8BAA8B,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,uBAAwB,SAAwC,cAAuC;AACnG,WAAO,KAAK,sBAAsD,iCAAiC,SAAS,iBAAiB,YAAY;AAAA,EAC7I;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,mCAAoC,SAAoD,cAAuC;AAC3H,WAAO,KAAK,sBAAkE,6CAA6C,SAAS,iBAAiB,YAAY;AAAA,EACrK;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,qBAAsB,SAAsC,cAAuC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