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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/Addon.d.ts +179 -39
  2. package/dist/Addon.js +2 -2
  3. package/dist/Admin.d.ts +2386 -195
  4. package/dist/Admin.js +2 -2
  5. package/dist/Authentication.d.ts +32 -5
  6. package/dist/Authentication.js +2 -2
  7. package/dist/Client.d.ts +2235 -321
  8. package/dist/Client.js +2 -2
  9. package/dist/CloudScript.d.ts +199 -31
  10. package/dist/CloudScript.js +2 -2
  11. package/dist/Data.d.ts +137 -18
  12. package/dist/Data.js +2 -2
  13. package/dist/Economy.d.ts +1145 -106
  14. package/dist/Economy.js +2 -2
  15. package/dist/Events.d.ts +200 -13
  16. package/dist/Events.js +2 -2
  17. package/dist/Experimentation.d.ts +164 -17
  18. package/dist/Experimentation.js +2 -2
  19. package/dist/Groups.d.ts +267 -28
  20. package/dist/Groups.js +2 -2
  21. package/dist/Insights.d.ts +33 -7
  22. package/dist/Insights.js +2 -2
  23. package/dist/Localization.d.ts +5 -2
  24. package/dist/Localization.js +2 -2
  25. package/dist/Matchmaker.d.ts +271 -0
  26. package/dist/Matchmaker.js +8 -0
  27. package/dist/Matchmaker.js.map +1 -0
  28. package/dist/Multiplayer.d.ts +2697 -169
  29. package/dist/Multiplayer.js +2 -2
  30. package/dist/{PlayFabCommon-BX3jSqGx.d.ts → PlayFabCommon-Dnp_xHg5.d.ts} +3 -5
  31. package/dist/Profiles.d.ts +163 -19
  32. package/dist/Profiles.js +2 -2
  33. package/dist/Progression.d.ts +287 -35
  34. package/dist/Progression.js +2 -2
  35. package/dist/Server.d.ts +1904 -242
  36. package/dist/Server.js +2 -2
  37. package/dist/chunk-3I6ONUUQ.js +237 -0
  38. package/dist/chunk-3I6ONUUQ.js.map +1 -0
  39. package/dist/chunk-3O5QT4SL.js +2477 -0
  40. package/dist/chunk-3O5QT4SL.js.map +1 -0
  41. package/dist/chunk-3OBHYLBF.js +2673 -0
  42. package/dist/chunk-3OBHYLBF.js.map +1 -0
  43. package/dist/chunk-57KYHGBO.js +421 -0
  44. package/dist/chunk-57KYHGBO.js.map +1 -0
  45. package/dist/{chunk-J4QS5VX5.js → chunk-5CWZN75H.js} +6 -3
  46. package/dist/chunk-5CWZN75H.js.map +1 -0
  47. package/dist/chunk-73SVDH45.js +197 -0
  48. package/dist/chunk-73SVDH45.js.map +1 -0
  49. package/dist/chunk-ADHTNFTN.js +175 -0
  50. package/dist/chunk-ADHTNFTN.js.map +1 -0
  51. package/dist/chunk-C7U2JQNZ.js +76 -0
  52. package/dist/chunk-C7U2JQNZ.js.map +1 -0
  53. package/dist/{chunk-SGSEOIKS.js → chunk-GAZYZIK2.js} +34 -8
  54. package/dist/chunk-GAZYZIK2.js.map +1 -0
  55. package/dist/chunk-J54WY4UN.js +413 -0
  56. package/dist/chunk-J54WY4UN.js.map +1 -0
  57. package/dist/chunk-NFWQ4MMZ.js +1048 -0
  58. package/dist/chunk-NFWQ4MMZ.js.map +1 -0
  59. package/dist/{chunk-A7VD6ALV.js → chunk-P7UVG26J.js} +167 -32
  60. package/dist/chunk-P7UVG26J.js.map +1 -0
  61. package/dist/chunk-PFXZB4UN.js +2387 -0
  62. package/dist/chunk-PFXZB4UN.js.map +1 -0
  63. package/dist/{chunk-X34XZJB6.js → chunk-QNGQW3YB.js} +28 -6
  64. package/dist/chunk-QNGQW3YB.js.map +1 -0
  65. package/dist/chunk-SQWILU5T.js +270 -0
  66. package/dist/chunk-SQWILU5T.js.map +1 -0
  67. package/dist/{chunk-JGDO2ZE3.js → chunk-SR2RIRLX.js} +1482 -175
  68. package/dist/chunk-SR2RIRLX.js.map +1 -0
  69. package/dist/{chunk-62SULWOK.js → chunk-XVDYM74A.js} +17 -14
  70. package/dist/chunk-XVDYM74A.js.map +1 -0
  71. package/dist/chunk-ZW4TJ3MQ.js +225 -0
  72. package/dist/chunk-ZW4TJ3MQ.js.map +1 -0
  73. package/dist/index.d.ts +7 -6
  74. package/dist/index.js +29 -25
  75. package/package.json +2 -2
  76. package/dist/chunk-3FCAP7OZ.js +0 -187
  77. package/dist/chunk-3FCAP7OZ.js.map +0 -1
  78. package/dist/chunk-62SULWOK.js.map +0 -1
  79. package/dist/chunk-A7VD6ALV.js.map +0 -1
  80. package/dist/chunk-BX65UND2.js +0 -632
  81. package/dist/chunk-BX65UND2.js.map +0 -1
  82. package/dist/chunk-J4QS5VX5.js.map +0 -1
  83. package/dist/chunk-JGDO2ZE3.js.map +0 -1
  84. package/dist/chunk-POMI7LEF.js +0 -76
  85. package/dist/chunk-POMI7LEF.js.map +0 -1
  86. package/dist/chunk-Q3OF3AOJ.js +0 -97
  87. package/dist/chunk-Q3OF3AOJ.js.map +0 -1
  88. package/dist/chunk-QUZHVSVZ.js +0 -174
  89. package/dist/chunk-QUZHVSVZ.js.map +0 -1
  90. package/dist/chunk-QVLIVSO4.js +0 -1147
  91. package/dist/chunk-QVLIVSO4.js.map +0 -1
  92. package/dist/chunk-R7V7DFCF.js +0 -103
  93. package/dist/chunk-R7V7DFCF.js.map +0 -1
  94. package/dist/chunk-SGSEOIKS.js.map +0 -1
  95. package/dist/chunk-UOHHNVCJ.js +0 -119
  96. package/dist/chunk-UOHHNVCJ.js.map +0 -1
  97. package/dist/chunk-USKFWNQK.js +0 -384
  98. package/dist/chunk-USKFWNQK.js.map +0 -1
  99. package/dist/chunk-UX7LFJCX.js +0 -61
  100. package/dist/chunk-UX7LFJCX.js.map +0 -1
  101. package/dist/chunk-X34XZJB6.js.map +0 -1
  102. package/dist/chunk-YNZF3WXS.js +0 -882
  103. package/dist/chunk-YNZF3WXS.js.map +0 -1
package/dist/Server.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PlayFabServerApi
3
- } from "./chunk-QVLIVSO4.js";
4
- import "./chunk-62SULWOK.js";
3
+ } from "./chunk-3O5QT4SL.js";
4
+ import "./chunk-XVDYM74A.js";
5
5
  export {
6
6
  PlayFabServerApi as default
7
7
  };
@@ -0,0 +1,237 @@
1
+ import {
2
+ PlayFabCommon
3
+ } from "./chunk-XVDYM74A.js";
4
+
5
+ // src/apis/PlayFabEventsApi.ts
6
+ var PlayFabEventsApi = class extends PlayFabCommon {
7
+ /**
8
+ * Creates a new telemetry key for the title.
9
+ *
10
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/createtelemetrykey Microsoft Documentation}
11
+ * @example
12
+ * await eventClient.CreateTelemetryKey({
13
+ * "KeyName": "MyTelemetryKey"
14
+ * });
15
+ */
16
+ CreateTelemetryKey(request, extraHeaders) {
17
+ return this.ExecuteRequestWrapper("/Event/CreateTelemetryKey", request, "X-EntityToken", extraHeaders);
18
+ }
19
+ /**
20
+ * Deletes a Data Connection from a title.
21
+ *
22
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/deletedataconnection Microsoft Documentation}
23
+ * @example
24
+ * await eventClient.DeleteDataConnection({
25
+ * "Name": "MyDataConnection"
26
+ * });
27
+ */
28
+ DeleteDataConnection(request, extraHeaders) {
29
+ return this.ExecuteRequestWrapper("/Event/DeleteDataConnection", request, "X-EntityToken", extraHeaders);
30
+ }
31
+ /**
32
+ * Deletes the sampling ratio for an event.
33
+ *
34
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/deleteeventsamplingratio Microsoft Documentation}
35
+ */
36
+ DeleteEventSamplingRatio(request, extraHeaders) {
37
+ return this.ExecuteRequestWrapper("/Event/DeleteEventSamplingRatio", request, "X-EntityToken", extraHeaders);
38
+ }
39
+ /**
40
+ * Deletes a telemetry key configured for the title.
41
+ *
42
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/deletetelemetrykey Microsoft Documentation}
43
+ * @example
44
+ * await eventClient.DeleteTelemetryKey({
45
+ * "KeyName": "MyTelemetryKey"
46
+ * });
47
+ */
48
+ DeleteTelemetryKey(request, extraHeaders) {
49
+ return this.ExecuteRequestWrapper("/Event/DeleteTelemetryKey", request, "X-EntityToken", extraHeaders);
50
+ }
51
+ /**
52
+ * Retrieves a single Data Connection associated with a title.
53
+ *
54
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/getdataconnection Microsoft Documentation}
55
+ * @example
56
+ * await eventClient.GetDataConnection({
57
+ * "Name": "MyDataConnection"
58
+ * });
59
+ */
60
+ GetDataConnection(request, extraHeaders) {
61
+ return this.ExecuteRequestWrapper("/Event/GetDataConnection", request, "X-EntityToken", extraHeaders);
62
+ }
63
+ /**
64
+ * Gets the sampling ratio for an event.
65
+ *
66
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/geteventsamplingratio Microsoft Documentation}
67
+ * @example
68
+ * await eventClient.GetEventSamplingRatio({
69
+ * "EventNamespace": "com.playfab",
70
+ * "EventName": "player_executed_cloudscript"
71
+ * });
72
+ */
73
+ GetEventSamplingRatio(request, extraHeaders) {
74
+ return this.ExecuteRequestWrapper("/Event/GetEventSamplingRatio", request, "X-EntityToken", extraHeaders);
75
+ }
76
+ /**
77
+ * Gets the event sampling ratios for a title.
78
+ *
79
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/geteventsamplingratios Microsoft Documentation}
80
+ */
81
+ GetEventSamplingRatios(request, extraHeaders) {
82
+ return this.ExecuteRequestWrapper("/Event/GetEventSamplingRatios", request, "X-EntityToken", extraHeaders);
83
+ }
84
+ /**
85
+ * Gets information about a telemetry key configured for the title.
86
+ *
87
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/gettelemetrykey Microsoft Documentation}
88
+ * @example
89
+ * await eventClient.GetTelemetryKey({
90
+ * "KeyName": "MyTelemetryKey"
91
+ * });
92
+ */
93
+ GetTelemetryKey(request, extraHeaders) {
94
+ return this.ExecuteRequestWrapper("/Event/GetTelemetryKey", request, "X-EntityToken", extraHeaders);
95
+ }
96
+ /**
97
+ * Retrieves the list of Data Connections associated with a title.
98
+ *
99
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/listdataconnections Microsoft Documentation}
100
+ * @example
101
+ * await eventClient.ListDataConnections({});
102
+ */
103
+ ListDataConnections(request, extraHeaders) {
104
+ return this.ExecuteRequestWrapper("/Event/ListDataConnections", request, "X-EntityToken", extraHeaders);
105
+ }
106
+ /**
107
+ * Lists all telemetry keys configured for the title.
108
+ *
109
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/listtelemetrykeys Microsoft Documentation}
110
+ * @example
111
+ * await eventClient.ListTelemetryKeys({});
112
+ */
113
+ ListTelemetryKeys(request, extraHeaders) {
114
+ return this.ExecuteRequestWrapper("/Event/ListTelemetryKeys", request, "X-EntityToken", extraHeaders);
115
+ }
116
+ /**
117
+ * Creates or updates a Data Connection on a title.
118
+ *
119
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/setdataconnection Microsoft Documentation}
120
+ * @example
121
+ * await eventClient.SetDataConnection({
122
+ * "Name": "MyDataConnection",
123
+ * "Type": "AzureDataExplorer",
124
+ * "IsActive": true,
125
+ * "ConnectionSettings": {
126
+ * "AzureDataExplorerSettings": {
127
+ * "ClusterUri": "https://myadxcluster.kusto.windows.net",
128
+ * "Database": "MyDatabase",
129
+ * "Table": "MyTable"
130
+ * }
131
+ * }
132
+ * });
133
+ */
134
+ SetDataConnection(request, extraHeaders) {
135
+ return this.ExecuteRequestWrapper("/Event/SetDataConnection", request, "X-EntityToken", extraHeaders);
136
+ }
137
+ /**
138
+ * Sets a Data Connection for the title to either the active or deactivated state.
139
+ *
140
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/setdataconnectionactive Microsoft Documentation}
141
+ * @example
142
+ * await eventClient.SetDataConnectionActive({
143
+ * "Name": "MyDataConnection",
144
+ * "Active": false
145
+ * });
146
+ */
147
+ SetDataConnectionActive(request, extraHeaders) {
148
+ return this.ExecuteRequestWrapper("/Event/SetDataConnectionActive", request, "X-EntityToken", extraHeaders);
149
+ }
150
+ /**
151
+ * Sets the sampling ratio for an event.
152
+ *
153
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/seteventsamplingratio Microsoft Documentation}
154
+ */
155
+ SetEventSamplingRatio(request, extraHeaders) {
156
+ return this.ExecuteRequestWrapper("/Event/SetEventSamplingRatio", request, "X-EntityToken", extraHeaders);
157
+ }
158
+ /**
159
+ * Sets a telemetry key to the active or deactivated state.
160
+ *
161
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/settelemetrykeyactive Microsoft Documentation}
162
+ * @example
163
+ * await eventClient.SetTelemetryKeyActive({
164
+ * "KeyName": "MyTelemetryKey",
165
+ * "Active": false
166
+ * });
167
+ */
168
+ SetTelemetryKeyActive(request, extraHeaders) {
169
+ return this.ExecuteRequestWrapper("/Event/SetTelemetryKeyActive", request, "X-EntityToken", extraHeaders);
170
+ }
171
+ /**
172
+ * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'.
173
+ *
174
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/writeevents Microsoft Documentation}
175
+ * @example
176
+ * await eventClient.WriteEvents({
177
+ * "Events": [
178
+ * {
179
+ * "Entity": {
180
+ * "Id": "A8140AB9109712B",
181
+ * "Type": "title",
182
+ * "TypeString": "title"
183
+ * },
184
+ * "EventNamespace": "com.playfab.events.example",
185
+ * "Name": "something_happened",
186
+ * "Payload": {
187
+ * "Foo": "Bar",
188
+ * "Nums": [
189
+ * 1,
190
+ * 2,
191
+ * 3
192
+ * ]
193
+ * }
194
+ * }
195
+ * ]
196
+ * });
197
+ */
198
+ WriteEvents(request, extraHeaders) {
199
+ return this.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", extraHeaders);
200
+ }
201
+ /**
202
+ * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start
203
+ * with 'custom.'
204
+ *
205
+ * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/writetelemetryevents Microsoft Documentation}
206
+ * @example
207
+ * await eventClient.WriteTelemetryEvents({
208
+ * "Events": [
209
+ * {
210
+ * "Entity": {
211
+ * "Id": "A8140AB9109712B",
212
+ * "Type": "title",
213
+ * "TypeString": "title"
214
+ * },
215
+ * "EventNamespace": "com.playfab.events.example",
216
+ * "Name": "something_happened",
217
+ * "Payload": {
218
+ * "Foo": "Bar",
219
+ * "Nums": [
220
+ * 1,
221
+ * 2,
222
+ * 3
223
+ * ]
224
+ * }
225
+ * }
226
+ * ]
227
+ * });
228
+ */
229
+ WriteTelemetryEvents(request, extraHeaders) {
230
+ return this.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", extraHeaders);
231
+ }
232
+ };
233
+
234
+ export {
235
+ PlayFabEventsApi
236
+ };
237
+ //# sourceMappingURL=chunk-3I6ONUUQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/apis/PlayFabEventsApi.ts"],"sourcesContent":["import type {\n CreateTelemetryKeyRequest,\n DeleteDataConnectionRequest,\n DeleteEventSamplingRatioRequest,\n DeleteTelemetryKeyRequest,\n GetDataConnectionRequest,\n GetEventSamplingRatioRequest,\n GetEventSamplingRatiosRequest,\n GetTelemetryKeyRequest,\n ListDataConnectionsRequest,\n ListTelemetryKeysRequest,\n SetDataConnectionRequest,\n SetDataConnectionActiveRequest,\n SetEventSamplingRatioRequest,\n SetTelemetryKeyActiveRequest,\n WriteEventsRequest,\n CreateTelemetryKeyResponse,\n DeleteDataConnectionResponse,\n DeleteEventSamplingRatioResult,\n DeleteTelemetryKeyResponse,\n GetDataConnectionResponse,\n GetEventSamplingRatioResult,\n GetEventSamplingRatiosResult,\n GetTelemetryKeyResponse,\n ListDataConnectionsResponse,\n ListTelemetryKeysResponse,\n SetDataConnectionResponse,\n SetDataConnectionActiveResponse,\n SetEventSamplingRatioResult,\n SetTelemetryKeyActiveResponse,\n WriteEventsResponse,\n} from \"../types/PlayFabEventsApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabEventsApi extends PlayFabCommon {\n\n /**\n * Creates a new telemetry key for the title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/createtelemetrykey Microsoft Documentation}\n * @example\n * await eventClient.CreateTelemetryKey({\n * \"KeyName\": \"MyTelemetryKey\"\n * });\n */\n CreateTelemetryKey (request: CreateTelemetryKeyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateTelemetryKeyResponse>(\"/Event/CreateTelemetryKey\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a Data Connection from a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/deletedataconnection Microsoft Documentation}\n * @example\n * await eventClient.DeleteDataConnection({\n * \"Name\": \"MyDataConnection\"\n * });\n */\n DeleteDataConnection (request: DeleteDataConnectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteDataConnectionResponse>(\"/Event/DeleteDataConnection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the sampling ratio for an event.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/deleteeventsamplingratio Microsoft Documentation}\n */\n DeleteEventSamplingRatio (request: DeleteEventSamplingRatioRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteEventSamplingRatioResult>(\"/Event/DeleteEventSamplingRatio\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a telemetry key configured for the title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/deletetelemetrykey Microsoft Documentation}\n * @example\n * await eventClient.DeleteTelemetryKey({\n * \"KeyName\": \"MyTelemetryKey\"\n * });\n */\n DeleteTelemetryKey (request: DeleteTelemetryKeyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteTelemetryKeyResponse>(\"/Event/DeleteTelemetryKey\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves a single Data Connection associated with a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/getdataconnection Microsoft Documentation}\n * @example\n * await eventClient.GetDataConnection({\n * \"Name\": \"MyDataConnection\"\n * });\n */\n GetDataConnection (request: GetDataConnectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetDataConnectionResponse>(\"/Event/GetDataConnection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the sampling ratio for an event.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/geteventsamplingratio Microsoft Documentation}\n * @example\n * await eventClient.GetEventSamplingRatio({\n * \"EventNamespace\": \"com.playfab\",\n * \"EventName\": \"player_executed_cloudscript\"\n * });\n */\n GetEventSamplingRatio (request: GetEventSamplingRatioRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEventSamplingRatioResult>(\"/Event/GetEventSamplingRatio\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the event sampling ratios for a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/geteventsamplingratios Microsoft Documentation}\n */\n GetEventSamplingRatios (request: GetEventSamplingRatiosRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEventSamplingRatiosResult>(\"/Event/GetEventSamplingRatios\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information about a telemetry key configured for the title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/gettelemetrykey Microsoft Documentation}\n * @example\n * await eventClient.GetTelemetryKey({\n * \"KeyName\": \"MyTelemetryKey\"\n * });\n */\n GetTelemetryKey (request: GetTelemetryKeyRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTelemetryKeyResponse>(\"/Event/GetTelemetryKey\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves the list of Data Connections associated with a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/listdataconnections Microsoft Documentation}\n * @example\n * await eventClient.ListDataConnections({});\n */\n ListDataConnections (request: ListDataConnectionsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListDataConnectionsResponse>(\"/Event/ListDataConnections\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all telemetry keys configured for the title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/listtelemetrykeys Microsoft Documentation}\n * @example\n * await eventClient.ListTelemetryKeys({});\n */\n ListTelemetryKeys (request: ListTelemetryKeysRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListTelemetryKeysResponse>(\"/Event/ListTelemetryKeys\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates or updates a Data Connection on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/setdataconnection Microsoft Documentation}\n * @example\n * await eventClient.SetDataConnection({\n * \"Name\": \"MyDataConnection\",\n * \"Type\": \"AzureDataExplorer\",\n * \"IsActive\": true,\n * \"ConnectionSettings\": {\n * \"AzureDataExplorerSettings\": {\n * \"ClusterUri\": \"https://myadxcluster.kusto.windows.net\",\n * \"Database\": \"MyDatabase\",\n * \"Table\": \"MyTable\"\n * }\n * }\n * });\n */\n SetDataConnection (request: SetDataConnectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetDataConnectionResponse>(\"/Event/SetDataConnection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets a Data Connection for the title to either the active or deactivated state.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/setdataconnectionactive Microsoft Documentation}\n * @example\n * await eventClient.SetDataConnectionActive({\n * \"Name\": \"MyDataConnection\",\n * \"Active\": false\n * });\n */\n SetDataConnectionActive (request: SetDataConnectionActiveRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetDataConnectionActiveResponse>(\"/Event/SetDataConnectionActive\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets the sampling ratio for an event.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream/seteventsamplingratio Microsoft Documentation}\n */\n SetEventSamplingRatio (request: SetEventSamplingRatioRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetEventSamplingRatioResult>(\"/Event/SetEventSamplingRatio\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets a telemetry key to the active or deactivated state.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/settelemetrykeyactive Microsoft Documentation}\n * @example\n * await eventClient.SetTelemetryKeyActive({\n * \"KeyName\": \"MyTelemetryKey\",\n * \"Active\": false\n * });\n */\n SetTelemetryKeyActive (request: SetTelemetryKeyActiveRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetTelemetryKeyActiveResponse>(\"/Event/SetTelemetryKeyActive\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/writeevents Microsoft Documentation}\n * @example\n * await eventClient.WriteEvents({\n * \"Events\": [\n * {\n * \"Entity\": {\n * \"Id\": \"A8140AB9109712B\",\n * \"Type\": \"title\",\n * \"TypeString\": \"title\"\n * },\n * \"EventNamespace\": \"com.playfab.events.example\",\n * \"Name\": \"something_happened\",\n * \"Payload\": {\n * \"Foo\": \"Bar\",\n * \"Nums\": [\n * 1,\n * 2,\n * 3\n * ]\n * }\n * }\n * ]\n * });\n */\n WriteEvents (request: WriteEventsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<WriteEventsResponse>(\"/Event/WriteEvents\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start\n * with 'custom.'\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/event/playstream-events/writetelemetryevents Microsoft Documentation}\n * @example\n * await eventClient.WriteTelemetryEvents({\n * \"Events\": [\n * {\n * \"Entity\": {\n * \"Id\": \"A8140AB9109712B\",\n * \"Type\": \"title\",\n * \"TypeString\": \"title\"\n * },\n * \"EventNamespace\": \"com.playfab.events.example\",\n * \"Name\": \"something_happened\",\n * \"Payload\": {\n * \"Foo\": \"Bar\",\n * \"Nums\": [\n * 1,\n * 2,\n * 3\n * ]\n * }\n * }\n * ]\n * });\n */\n WriteTelemetryEvents (request: WriteEventsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<WriteEventsResponse>(\"/Event/WriteTelemetryEvents\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAkCA,IAAqB,mBAArB,cAA8C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAW1D,mBAAoB,SAAoC,cAAuC;AAC7F,WAAO,KAAK,sBAAkD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,qBAAsB,SAAsC,cAAuC;AACjG,WAAO,KAAK,sBAAoD,+BAA+B,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,yBAA0B,SAA0C,cAAuC;AACzG,WAAO,KAAK,sBAAsD,mCAAmC,SAAS,iBAAiB,YAAY;AAAA,EAC7I;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,mBAAoB,SAAoC,cAAuC;AAC7F,WAAO,KAAK,sBAAkD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,kBAAmB,SAAmC,cAAuC;AAC3F,WAAO,KAAK,sBAAiD,4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