async-playfab-web-sdk 1.192.250526-1

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 (54) hide show
  1. package/dist/Addon.d.ts +591 -0
  2. package/dist/Addon.js +452 -0
  3. package/dist/Addon.js.map +1 -0
  4. package/dist/Admin.d.ts +3484 -0
  5. package/dist/Admin.js +1112 -0
  6. package/dist/Admin.js.map +1 -0
  7. package/dist/Authentication.d.ts +109 -0
  8. package/dist/Authentication.js +290 -0
  9. package/dist/Authentication.js.map +1 -0
  10. package/dist/Client.d.ts +4482 -0
  11. package/dist/Client.js +1893 -0
  12. package/dist/Client.js.map +1 -0
  13. package/dist/CloudScript.d.ts +511 -0
  14. package/dist/CloudScript.js +349 -0
  15. package/dist/CloudScript.js.map +1 -0
  16. package/dist/Data.d.ts +228 -0
  17. package/dist/Data.js +291 -0
  18. package/dist/Data.js.map +1 -0
  19. package/dist/Economy.d.ts +1865 -0
  20. package/dist/Economy.js +614 -0
  21. package/dist/Economy.js.map +1 -0
  22. package/dist/Events.d.ts +307 -0
  23. package/dist/Events.js +327 -0
  24. package/dist/Events.js.map +1 -0
  25. package/dist/Experimentation.d.ts +357 -0
  26. package/dist/Experimentation.js +333 -0
  27. package/dist/Experimentation.js.map +1 -0
  28. package/dist/Groups.d.ts +546 -0
  29. package/dist/Groups.js +417 -0
  30. package/dist/Groups.js.map +1 -0
  31. package/dist/Insights.d.ts +141 -0
  32. package/dist/Insights.js +286 -0
  33. package/dist/Insights.js.map +1 -0
  34. package/dist/Localization.d.ts +20 -0
  35. package/dist/Localization.js +249 -0
  36. package/dist/Localization.js.map +1 -0
  37. package/dist/Multiplayer.d.ts +3059 -0
  38. package/dist/Multiplayer.js +862 -0
  39. package/dist/Multiplayer.js.map +1 -0
  40. package/dist/PlayFabCommon-BUv4zqXf.d.ts +72 -0
  41. package/dist/Profiles.d.ts +278 -0
  42. package/dist/Profiles.js +306 -0
  43. package/dist/Profiles.js.map +1 -0
  44. package/dist/Progression.d.ts +598 -0
  45. package/dist/Progression.js +404 -0
  46. package/dist/Progression.js.map +1 -0
  47. package/dist/Server.d.ts +3889 -0
  48. package/dist/Server.js +1377 -0
  49. package/dist/Server.js.map +1 -0
  50. package/dist/index.d.ts +17 -0
  51. package/dist/index.js +6007 -0
  52. package/dist/index.js.map +1 -0
  53. package/package.json +23 -0
  54. package/readme.md +25 -0
@@ -0,0 +1,511 @@
1
+ import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon } from './PlayFabCommon-BUv4zqXf.js';
2
+
3
+ interface AdCampaignAttributionModel {
4
+ /** UTC time stamp of attribution */
5
+ AttributedAt: string;
6
+ /** Attribution campaign identifier */
7
+ CampaignId?: string;
8
+ /** Attribution network name */
9
+ Platform?: string;
10
+ }
11
+ interface ContactEmailInfoModel {
12
+ /** The email address */
13
+ EmailAddress?: string;
14
+ /** The name of the email info data */
15
+ Name?: string;
16
+ /** The verification status of the email */
17
+ VerificationStatus?: string;
18
+ }
19
+ interface EmptyResult extends IPlayFabResultCommon {
20
+ }
21
+ interface EntityKey {
22
+ /** Unique ID of the entity. */
23
+ Id: string;
24
+ /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
25
+ Type?: string;
26
+ }
27
+ interface EventHubFunctionModel {
28
+ /** The connection string for the event hub. */
29
+ ConnectionString?: string;
30
+ /** The name of the event hub that triggers the Azure Function. */
31
+ EventHubName?: string;
32
+ /** The name the function was registered under. */
33
+ FunctionName?: string;
34
+ }
35
+ interface ExecuteCloudScriptResult extends IPlayFabResultCommon {
36
+ /** Number of PlayFab API requests issued by the CloudScript function */
37
+ APIRequestsIssued: number;
38
+ /** Information about the error, if any, that occurred during execution */
39
+ Error?: ScriptExecutionError;
40
+ ExecutionTimeSeconds: number;
41
+ /** The name of the function that executed */
42
+ FunctionName?: string;
43
+ /** The object returned from the CloudScript function, if any */
44
+ FunctionResult?: any;
45
+ /**
46
+ * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if
47
+ * the total event size is larger than 350KB.
48
+ */
49
+ FunctionResultTooLarge?: boolean;
50
+ /** Number of external HTTP requests issued by the CloudScript function */
51
+ HttpRequestsIssued: number;
52
+ /**
53
+ * Entries logged during the function execution. These include both entries logged in the function code using log.info()
54
+ * and log.error() and error entries for API and HTTP request failures.
55
+ */
56
+ Logs?: LogStatement[];
57
+ /**
58
+ * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total
59
+ * event size is larger than 350KB after the FunctionResult was removed.
60
+ */
61
+ LogsTooLarge?: boolean;
62
+ MemoryConsumedBytes: number;
63
+ /**
64
+ * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP
65
+ * requests.
66
+ */
67
+ ProcessorTimeSeconds: number;
68
+ /** The revision of the CloudScript that executed */
69
+ Revision: number;
70
+ }
71
+ interface ExecuteEntityCloudScriptRequest extends IPlayFabRequestCommon {
72
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
73
+ CustomTags?: Record<string, string | null>;
74
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
75
+ Entity?: EntityKey;
76
+ /** The name of the CloudScript function to execute */
77
+ FunctionName: string;
78
+ /** Object that is passed in to the function as the first argument */
79
+ FunctionParameter?: any;
80
+ /**
81
+ * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other
82
+ * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager.
83
+ */
84
+ GeneratePlayStreamEvent?: boolean;
85
+ /**
86
+ * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live'
87
+ * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is
88
+ * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'.
89
+ */
90
+ RevisionSelection?: string;
91
+ /** The specific revision to execute, when RevisionSelection is set to 'Specific' */
92
+ SpecificRevision?: number;
93
+ }
94
+ interface ExecuteFunctionRequest extends IPlayFabRequestCommon {
95
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
96
+ CustomTags?: Record<string, string | null>;
97
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
98
+ Entity?: EntityKey;
99
+ /** The name of the CloudScript function to execute */
100
+ FunctionName: string;
101
+ /** Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure */
102
+ FunctionParameter?: any;
103
+ /**
104
+ * Generate a 'entity_executed_cloudscript_function' PlayStream event containing the results of the function execution and
105
+ * other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager.
106
+ */
107
+ GeneratePlayStreamEvent?: boolean;
108
+ }
109
+ interface ExecuteFunctionResult extends IPlayFabResultCommon {
110
+ /** Error from the CloudScript Azure Function. */
111
+ Error?: FunctionExecutionError;
112
+ /** The amount of time the function took to execute */
113
+ ExecutionTimeMilliseconds: number;
114
+ /** The name of the function that executed */
115
+ FunctionName?: string;
116
+ /** The object returned from the function, if any */
117
+ FunctionResult?: any;
118
+ /** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */
119
+ FunctionResultTooLarge?: boolean;
120
+ }
121
+ interface FunctionExecutionError {
122
+ /**
123
+ * Error code, such as CloudScriptAzureFunctionsExecutionTimeLimitExceeded, CloudScriptAzureFunctionsArgumentSizeExceeded,
124
+ * CloudScriptAzureFunctionsReturnSizeExceeded or CloudScriptAzureFunctionsHTTPRequestError
125
+ */
126
+ Error?: string;
127
+ /** Details about the error */
128
+ Message?: string;
129
+ /** Point during the execution of the function at which the error occurred, if any */
130
+ StackTrace?: string;
131
+ }
132
+ interface FunctionModel {
133
+ /** The address of the function. */
134
+ FunctionAddress?: string;
135
+ /** The name the function was registered under. */
136
+ FunctionName?: string;
137
+ /** The trigger type for the function. */
138
+ TriggerType?: string;
139
+ }
140
+ interface GetFunctionRequest extends IPlayFabRequestCommon {
141
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
142
+ CustomTags?: Record<string, string | null>;
143
+ /** The name of the function to register */
144
+ FunctionName: string;
145
+ }
146
+ interface GetFunctionResult extends IPlayFabResultCommon {
147
+ /** The connection string for the storage account containing the queue for a queue trigger Azure Function. */
148
+ ConnectionString?: string;
149
+ /** The URL to be invoked to execute an HTTP triggered function. */
150
+ FunctionUrl?: string;
151
+ /** The name of the queue for a queue trigger Azure Function. */
152
+ QueueName?: string;
153
+ /** The trigger type for the function. */
154
+ TriggerType?: string;
155
+ }
156
+ interface HttpFunctionModel {
157
+ /** The name the function was registered under. */
158
+ FunctionName?: string;
159
+ /** The URL of the function. */
160
+ FunctionUrl?: string;
161
+ }
162
+ interface LinkedPlatformAccountModel {
163
+ /** Linked account email of the user on the platform, if available */
164
+ Email?: string;
165
+ /** Authentication platform */
166
+ Platform?: string;
167
+ /** Unique account identifier of the user on the platform */
168
+ PlatformUserId?: string;
169
+ /** Linked account username of the user on the platform, if available */
170
+ Username?: string;
171
+ }
172
+ interface ListEventHubFunctionsResult extends IPlayFabResultCommon {
173
+ /** The list of EventHub triggered functions that are currently registered for the title. */
174
+ Functions?: EventHubFunctionModel[];
175
+ }
176
+ interface ListFunctionsRequest extends IPlayFabRequestCommon {
177
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
178
+ CustomTags?: Record<string, string | null>;
179
+ }
180
+ interface ListFunctionsResult extends IPlayFabResultCommon {
181
+ /** The list of functions that are currently registered for the title. */
182
+ Functions?: FunctionModel[];
183
+ }
184
+ interface ListHttpFunctionsResult extends IPlayFabResultCommon {
185
+ /** The list of HTTP triggered functions that are currently registered for the title. */
186
+ Functions?: HttpFunctionModel[];
187
+ }
188
+ interface ListQueuedFunctionsResult extends IPlayFabResultCommon {
189
+ /** The list of Queue triggered functions that are currently registered for the title. */
190
+ Functions?: QueuedFunctionModel[];
191
+ }
192
+ interface LocationModel {
193
+ /** City name. */
194
+ City?: string;
195
+ /** The two-character continent code for this location */
196
+ ContinentCode?: string;
197
+ /** The two-character ISO 3166-1 country code for the country associated with the location */
198
+ CountryCode?: string;
199
+ /** Latitude coordinate of the geographic location. */
200
+ Latitude?: number;
201
+ /** Longitude coordinate of the geographic location. */
202
+ Longitude?: number;
203
+ }
204
+ interface LogStatement {
205
+ /** Optional object accompanying the message as contextual information */
206
+ Data?: any;
207
+ /** 'Debug', 'Info', or 'Error' */
208
+ Level?: string;
209
+ Message?: string;
210
+ }
211
+ interface MembershipModel {
212
+ /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */
213
+ IsActive: boolean;
214
+ /** The time this membership expires */
215
+ MembershipExpiration: string;
216
+ /** The id of the membership */
217
+ MembershipId?: string;
218
+ /**
219
+ * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been
220
+ * overridden, this will be the new expiration time.
221
+ */
222
+ OverrideExpiration?: string;
223
+ /** The list of subscriptions that this player has for this membership */
224
+ Subscriptions?: SubscriptionModel[];
225
+ }
226
+ interface NameIdentifier {
227
+ /** Id Identifier, if present */
228
+ Id?: string;
229
+ /** Name Identifier, if present */
230
+ Name?: string;
231
+ }
232
+ interface PlayerProfileModel {
233
+ /** List of advertising campaigns the player has been attributed to */
234
+ AdCampaignAttributions?: AdCampaignAttributionModel[];
235
+ /** URL of the player's avatar image */
236
+ AvatarUrl?: string;
237
+ /** If the player is currently banned, the UTC Date when the ban expires */
238
+ BannedUntil?: string;
239
+ /** List of all contact email info associated with the player account */
240
+ ContactEmailAddresses?: ContactEmailInfoModel[];
241
+ /** Player record created */
242
+ Created?: string;
243
+ /** Player display name */
244
+ DisplayName?: string;
245
+ /**
246
+ * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned
247
+ * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment
248
+ * property during login to get the correct variants and variables.
249
+ */
250
+ ExperimentVariants?: string[];
251
+ /** UTC time when the player most recently logged in to the title */
252
+ LastLogin?: string;
253
+ /** List of all authentication systems linked to this player account */
254
+ LinkedAccounts?: LinkedPlatformAccountModel[];
255
+ /** List of geographic locations from which the player has logged in to the title */
256
+ Locations?: LocationModel[];
257
+ /** List of memberships for the player, along with whether are expired. */
258
+ Memberships?: MembershipModel[];
259
+ /** Player account origination */
260
+ Origination?: string;
261
+ /** PlayFab player account unique identifier */
262
+ PlayerId?: string;
263
+ /** Publisher this player belongs to */
264
+ PublisherId?: string;
265
+ /** List of configured end points registered for sending the player push notifications */
266
+ PushNotificationRegistrations?: PushNotificationRegistrationModel[];
267
+ /** List of leaderboard statistic values for the player */
268
+ Statistics?: StatisticModel[];
269
+ /** List of player's tags for segmentation */
270
+ Tags?: TagModel[];
271
+ /** Title ID this player profile applies to */
272
+ TitleId?: string;
273
+ /**
274
+ * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a
275
+ * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents.
276
+ */
277
+ TotalValueToDateInUSD?: number;
278
+ /** List of the player's lifetime purchase totals, summed by real-money currency */
279
+ ValuesToDate?: ValueToDateModel[];
280
+ }
281
+ interface PlayStreamEventEnvelopeModel {
282
+ /** The ID of the entity the event is about. */
283
+ EntityId?: string;
284
+ /** The type of the entity the event is about. */
285
+ EntityType?: string;
286
+ /** Data specific to this event. */
287
+ EventData?: string;
288
+ /** The name of the event. */
289
+ EventName?: string;
290
+ /** The namespace of the event. */
291
+ EventNamespace?: string;
292
+ /** Settings for the event. */
293
+ EventSettings?: string;
294
+ }
295
+ interface PostFunctionResultForEntityTriggeredActionRequest extends IPlayFabRequestCommon {
296
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
297
+ CustomTags?: Record<string, string | null>;
298
+ /** The entity to perform this action on. */
299
+ Entity: EntityKey;
300
+ /** The result of the function execution. */
301
+ FunctionResult: ExecuteFunctionResult;
302
+ }
303
+ interface PostFunctionResultForFunctionExecutionRequest extends IPlayFabRequestCommon {
304
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
305
+ CustomTags?: Record<string, string | null>;
306
+ /** The entity to perform this action on. */
307
+ Entity: EntityKey;
308
+ /** The result of the function execution. */
309
+ FunctionResult: ExecuteFunctionResult;
310
+ }
311
+ interface PostFunctionResultForPlayerTriggeredActionRequest extends IPlayFabRequestCommon {
312
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
313
+ CustomTags?: Record<string, string | null>;
314
+ /** The result of the function execution. */
315
+ FunctionResult: ExecuteFunctionResult;
316
+ /** The player profile the function was invoked with. */
317
+ PlayerProfile: PlayerProfileModel;
318
+ /** The triggering PlayStream event, if any, that caused the function to be invoked. */
319
+ PlayStreamEventEnvelope?: PlayStreamEventEnvelopeModel;
320
+ }
321
+ interface PostFunctionResultForScheduledTaskRequest extends IPlayFabRequestCommon {
322
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
323
+ CustomTags?: Record<string, string | null>;
324
+ /** The result of the function execution */
325
+ FunctionResult: ExecuteFunctionResult;
326
+ /** The id of the scheduled task that invoked the function. */
327
+ ScheduledTaskId: NameIdentifier;
328
+ }
329
+ interface PushNotificationRegistrationModel {
330
+ /** Notification configured endpoint */
331
+ NotificationEndpointARN?: string;
332
+ /** Push notification platform */
333
+ Platform?: string;
334
+ }
335
+ interface QueuedFunctionModel {
336
+ /** The connection string for the Azure Storage Account that hosts the queue. */
337
+ ConnectionString?: string;
338
+ /** The name the function was registered under. */
339
+ FunctionName?: string;
340
+ /** The name of the queue that triggers the Azure Function. */
341
+ QueueName?: string;
342
+ }
343
+ interface RegisterEventHubFunctionRequest extends IPlayFabRequestCommon {
344
+ /** A connection string for the namespace of the event hub for the Azure Function. */
345
+ ConnectionString: string;
346
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
347
+ CustomTags?: Record<string, string | null>;
348
+ /** The name of the event hub for the Azure Function. */
349
+ EventHubName: string;
350
+ /** The name of the function to register */
351
+ FunctionName: string;
352
+ }
353
+ interface RegisterHttpFunctionRequest extends IPlayFabRequestCommon {
354
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
355
+ CustomTags?: Record<string, string | null>;
356
+ /** The name of the function to register */
357
+ FunctionName: string;
358
+ /** Full URL for Azure Function that implements the function. */
359
+ FunctionUrl: string;
360
+ }
361
+ interface RegisterQueuedFunctionRequest extends IPlayFabRequestCommon {
362
+ /** A connection string for the storage account that hosts the queue for the Azure Function. */
363
+ ConnectionString: string;
364
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
365
+ CustomTags?: Record<string, string | null>;
366
+ /** The name of the function to register */
367
+ FunctionName: string;
368
+ /** The name of the queue for the Azure Function. */
369
+ QueueName: string;
370
+ }
371
+ interface ScriptExecutionError {
372
+ /**
373
+ * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded,
374
+ * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError
375
+ */
376
+ Error?: string;
377
+ /** Details about the error */
378
+ Message?: string;
379
+ /** Point during the execution of the script at which the error occurred, if any */
380
+ StackTrace?: string;
381
+ }
382
+ interface StatisticModel {
383
+ /** Statistic name */
384
+ Name?: string;
385
+ /** Statistic value */
386
+ Value: number;
387
+ /** Statistic version (0 if not a versioned statistic) */
388
+ Version: number;
389
+ }
390
+ interface SubscriptionModel {
391
+ /** When this subscription expires. */
392
+ Expiration: string;
393
+ /** The time the subscription was orignially purchased */
394
+ InitialSubscriptionTime: string;
395
+ /** Whether this subscription is currently active. That is, if Expiration > now. */
396
+ IsActive: boolean;
397
+ /** The status of this subscription, according to the subscription provider. */
398
+ Status?: string;
399
+ /** The id for this subscription */
400
+ SubscriptionId?: string;
401
+ /** The item id for this subscription from the primary catalog */
402
+ SubscriptionItemId?: string;
403
+ /** The provider for this subscription. Apple or Google Play are supported today. */
404
+ SubscriptionProvider?: string;
405
+ }
406
+ interface TagModel {
407
+ /** Full value of the tag, including namespace */
408
+ TagValue?: string;
409
+ }
410
+ interface UnregisterFunctionRequest extends IPlayFabRequestCommon {
411
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
412
+ CustomTags?: Record<string, string | null>;
413
+ /** The name of the function to register */
414
+ FunctionName: string;
415
+ }
416
+ interface ValueToDateModel {
417
+ /** ISO 4217 code of the currency used in the purchases */
418
+ Currency?: string;
419
+ /**
420
+ * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and
421
+ * ninety-nine cents when Currency is 'USD')
422
+ */
423
+ TotalValue: number;
424
+ /**
425
+ * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine
426
+ * dollars and ninety-nine cents when Currency is 'USD'.
427
+ */
428
+ TotalValueAsDecimal?: string;
429
+ }
430
+
431
+ declare class PlayFabCloudScriptApi extends PlayFabCommon {
432
+ /**
433
+ * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of
434
+ * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything.
435
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript
436
+ */
437
+ ExecuteEntityCloudScript(request: ExecuteEntityCloudScriptRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ExecuteCloudScriptResult>;
438
+ /**
439
+ * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of
440
+ * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything.
441
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction
442
+ */
443
+ ExecuteFunction(request: ExecuteFunctionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ExecuteFunctionResult>;
444
+ /**
445
+ * Gets registered Azure Functions for a given title id and function name.
446
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction
447
+ */
448
+ GetFunction(request: GetFunctionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetFunctionResult>;
449
+ /**
450
+ * Lists all currently registered Event Hub triggered Azure Functions for a given title.
451
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listeventhubfunctions
452
+ */
453
+ ListEventHubFunctions(request: ListFunctionsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ListEventHubFunctionsResult>;
454
+ /**
455
+ * Lists all currently registered Azure Functions for a given title.
456
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions
457
+ */
458
+ ListFunctions(request: ListFunctionsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ListFunctionsResult>;
459
+ /**
460
+ * Lists all currently registered HTTP triggered Azure Functions for a given title.
461
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listhttpfunctions
462
+ */
463
+ ListHttpFunctions(request: ListFunctionsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ListHttpFunctionsResult>;
464
+ /**
465
+ * Lists all currently registered Queue triggered Azure Functions for a given title.
466
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listqueuedfunctions
467
+ */
468
+ ListQueuedFunctions(request: ListFunctionsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ListQueuedFunctionsResult>;
469
+ /**
470
+ * Generate an entity PlayStream event for the provided function result.
471
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforentitytriggeredaction
472
+ */
473
+ PostFunctionResultForEntityTriggeredAction(request: PostFunctionResultForEntityTriggeredActionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
474
+ /**
475
+ * Generate an entity PlayStream event for the provided function result.
476
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforfunctionexecution
477
+ */
478
+ PostFunctionResultForFunctionExecution(request: PostFunctionResultForFunctionExecutionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
479
+ /**
480
+ * Generate a player PlayStream event for the provided function result.
481
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforplayertriggeredaction
482
+ */
483
+ PostFunctionResultForPlayerTriggeredAction(request: PostFunctionResultForPlayerTriggeredActionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
484
+ /**
485
+ * Generate a PlayStream event for the provided function result.
486
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask
487
+ */
488
+ PostFunctionResultForScheduledTask(request: PostFunctionResultForScheduledTaskRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
489
+ /**
490
+ * Registers an event hub triggered Azure Function with a title.
491
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registereventhubfunction
492
+ */
493
+ RegisterEventHubFunction(request: RegisterEventHubFunctionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
494
+ /**
495
+ * Registers an HTTP triggered Azure function with a title.
496
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction
497
+ */
498
+ RegisterHttpFunction(request: RegisterHttpFunctionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
499
+ /**
500
+ * Registers a queue triggered Azure Function with a title.
501
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerqueuedfunction
502
+ */
503
+ RegisterQueuedFunction(request: RegisterQueuedFunctionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
504
+ /**
505
+ * Unregisters an Azure Function with a title.
506
+ * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/unregisterfunction
507
+ */
508
+ UnregisterFunction(request: UnregisterFunctionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
509
+ }
510
+
511
+ export { PlayFabCloudScriptApi as default };