@community-fabs/playfab-web-sdk 1.193.250606-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 (94) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +32 -0
  3. package/dist/Addon.d.ts +731 -0
  4. package/dist/Addon.js +8 -0
  5. package/dist/Addon.js.map +1 -0
  6. package/dist/Admin.d.ts +5675 -0
  7. package/dist/Admin.js +8 -0
  8. package/dist/Admin.js.map +1 -0
  9. package/dist/Authentication.d.ts +136 -0
  10. package/dist/Authentication.js +8 -0
  11. package/dist/Authentication.js.map +1 -0
  12. package/dist/Client.d.ts +6398 -0
  13. package/dist/Client.js +8 -0
  14. package/dist/Client.js.map +1 -0
  15. package/dist/CloudScript.d.ts +679 -0
  16. package/dist/CloudScript.js +8 -0
  17. package/dist/CloudScript.js.map +1 -0
  18. package/dist/Data.d.ts +347 -0
  19. package/dist/Data.js +8 -0
  20. package/dist/Data.js.map +1 -0
  21. package/dist/Economy.d.ts +2910 -0
  22. package/dist/Economy.js +8 -0
  23. package/dist/Economy.js.map +1 -0
  24. package/dist/Events.d.ts +494 -0
  25. package/dist/Events.js +8 -0
  26. package/dist/Events.js.map +1 -0
  27. package/dist/Experimentation.d.ts +504 -0
  28. package/dist/Experimentation.js +8 -0
  29. package/dist/Experimentation.js.map +1 -0
  30. package/dist/Groups.d.ts +785 -0
  31. package/dist/Groups.js +8 -0
  32. package/dist/Groups.js.map +1 -0
  33. package/dist/Insights.d.ts +167 -0
  34. package/dist/Insights.js +8 -0
  35. package/dist/Insights.js.map +1 -0
  36. package/dist/Localization.d.ts +23 -0
  37. package/dist/Localization.js +8 -0
  38. package/dist/Localization.js.map +1 -0
  39. package/dist/Matchmaker.d.ts +271 -0
  40. package/dist/Matchmaker.js +8 -0
  41. package/dist/Matchmaker.js.map +1 -0
  42. package/dist/Multiplayer.d.ts +5587 -0
  43. package/dist/Multiplayer.js +8 -0
  44. package/dist/Multiplayer.js.map +1 -0
  45. package/dist/PlayFabCommon-Dnp_xHg5.d.ts +68 -0
  46. package/dist/Profiles.d.ts +422 -0
  47. package/dist/Profiles.js +8 -0
  48. package/dist/Profiles.js.map +1 -0
  49. package/dist/Progression.d.ts +862 -0
  50. package/dist/Progression.js +8 -0
  51. package/dist/Progression.js.map +1 -0
  52. package/dist/Server.d.ts +5551 -0
  53. package/dist/Server.js +8 -0
  54. package/dist/Server.js.map +1 -0
  55. package/dist/chunk-3DU2LYBT.js +2673 -0
  56. package/dist/chunk-3DU2LYBT.js.map +1 -0
  57. package/dist/chunk-6OZSERVG.js +198 -0
  58. package/dist/chunk-6OZSERVG.js.map +1 -0
  59. package/dist/chunk-BD7SF6AA.js +357 -0
  60. package/dist/chunk-BD7SF6AA.js.map +1 -0
  61. package/dist/chunk-CPJ6FMQ3.js +421 -0
  62. package/dist/chunk-CPJ6FMQ3.js.map +1 -0
  63. package/dist/chunk-IFBBLD7Q.js +2477 -0
  64. package/dist/chunk-IFBBLD7Q.js.map +1 -0
  65. package/dist/chunk-J2KKGAWN.js +2387 -0
  66. package/dist/chunk-J2KKGAWN.js.map +1 -0
  67. package/dist/chunk-K2I6VCQK.js +270 -0
  68. package/dist/chunk-K2I6VCQK.js.map +1 -0
  69. package/dist/chunk-MHSKIHSG.js +22 -0
  70. package/dist/chunk-MHSKIHSG.js.map +1 -0
  71. package/dist/chunk-MQZCB76F.js +82 -0
  72. package/dist/chunk-MQZCB76F.js.map +1 -0
  73. package/dist/chunk-OZLGFCPU.js +421 -0
  74. package/dist/chunk-OZLGFCPU.js.map +1 -0
  75. package/dist/chunk-P4FCADAY.js +175 -0
  76. package/dist/chunk-P4FCADAY.js.map +1 -0
  77. package/dist/chunk-QHQBHTHP.js +76 -0
  78. package/dist/chunk-QHQBHTHP.js.map +1 -0
  79. package/dist/chunk-QJRCYM7I.js +82 -0
  80. package/dist/chunk-QJRCYM7I.js.map +1 -0
  81. package/dist/chunk-RVBFE5D5.js +237 -0
  82. package/dist/chunk-RVBFE5D5.js.map +1 -0
  83. package/dist/chunk-SF5NNTLE.js +225 -0
  84. package/dist/chunk-SF5NNTLE.js.map +1 -0
  85. package/dist/chunk-SZJQBNVS.js +197 -0
  86. package/dist/chunk-SZJQBNVS.js.map +1 -0
  87. package/dist/chunk-WBPWV6H3.js +2970 -0
  88. package/dist/chunk-WBPWV6H3.js.map +1 -0
  89. package/dist/chunk-YI4OQ74L.js +1048 -0
  90. package/dist/chunk-YI4OQ74L.js.map +1 -0
  91. package/dist/index.d.ts +18 -0
  92. package/dist/index.js +72 -0
  93. package/dist/index.js.map +1 -0
  94. package/package.json +29 -0
package/dist/Admin.js ADDED
@@ -0,0 +1,8 @@
1
+ import {
2
+ PlayFabAdminApi
3
+ } from "./chunk-3DU2LYBT.js";
4
+ import "./chunk-6OZSERVG.js";
5
+ export {
6
+ PlayFabAdminApi as default
7
+ };
8
+ //# sourceMappingURL=Admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,136 @@
1
+ import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon, E as EmptyResponse } from './PlayFabCommon-Dnp_xHg5.js';
2
+
3
+ interface AuthenticateCustomIdRequest extends IPlayFabRequestCommon {
4
+ /**
5
+ * The customId used to create and retrieve game_server entity tokens. This is unique at the title level. CustomId must be
6
+ * between 32 and 100 characters.
7
+ */
8
+ CustomId: string;
9
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
10
+ CustomTags?: Record<string, string | null>;
11
+ }
12
+ interface AuthenticateCustomIdResult extends IPlayFabResultCommon {
13
+ /** The token generated used to set X-EntityToken for game_server calls. */
14
+ EntityToken?: EntityTokenResponse;
15
+ /** True if the account was newly created on this authentication. */
16
+ NewlyCreated: boolean;
17
+ }
18
+ interface DeleteRequest extends IPlayFabRequestCommon {
19
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
20
+ CustomTags?: Record<string, string | null>;
21
+ /** The game_server entity to be removed. */
22
+ Entity: EntityKey;
23
+ }
24
+ interface EntityKey {
25
+ /** Unique ID of the entity. */
26
+ Id: string;
27
+ /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
28
+ Type?: string;
29
+ /**
30
+ * Alternate name for Type.
31
+ * @deprecated Please use Type instead.
32
+ */
33
+ TypeString?: string;
34
+ }
35
+ interface EntityLineage {
36
+ /** The Character Id of the associated entity. */
37
+ CharacterId?: string;
38
+ /** The Group Id of the associated entity. */
39
+ GroupId?: string;
40
+ /** The Master Player Account Id of the associated entity. */
41
+ MasterPlayerAccountId?: string;
42
+ /** The Namespace Id of the associated entity. */
43
+ NamespaceId?: string;
44
+ /** The Title Id of the associated entity. */
45
+ TitleId?: string;
46
+ /** The Title Player Account Id of the associated entity. */
47
+ TitlePlayerAccountId?: string;
48
+ }
49
+ interface EntityTokenResponse {
50
+ /** The entity id and type. */
51
+ Entity?: EntityKey;
52
+ /** The token used to set X-EntityToken for all entity based API calls. */
53
+ EntityToken?: string;
54
+ /** The time the token will expire, if it is an expiring token, in UTC. */
55
+ TokenExpiration?: string;
56
+ }
57
+ interface GetEntityTokenRequest extends IPlayFabRequestCommon {
58
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
59
+ CustomTags?: Record<string, string | null>;
60
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
61
+ Entity?: EntityKey;
62
+ }
63
+ interface GetEntityTokenResponse extends IPlayFabResultCommon {
64
+ /** The entity id and type. */
65
+ Entity?: EntityKey;
66
+ /** The token used to set X-EntityToken for all entity based API calls. */
67
+ EntityToken?: string;
68
+ /** The time the token will expire, if it is an expiring token, in UTC. */
69
+ TokenExpiration?: string;
70
+ }
71
+ interface ValidateEntityTokenRequest 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
+ /** Client EntityToken */
75
+ EntityToken: string;
76
+ }
77
+ interface ValidateEntityTokenResponse extends IPlayFabResultCommon {
78
+ /** The entity id and type. */
79
+ Entity?: EntityKey;
80
+ /** The authenticated device for this entity, for the given login */
81
+ IdentifiedDeviceType?: string;
82
+ /** The identity provider for this entity, for the given login */
83
+ IdentityProvider?: string;
84
+ /** The ID issued by the identity provider, e.g. a XUID on Xbox Live */
85
+ IdentityProviderIssuedId?: string;
86
+ /** The lineage of this profile. */
87
+ Lineage?: EntityLineage;
88
+ }
89
+
90
+ declare class PlayFabAuthenticationApi extends PlayFabCommon {
91
+ /**
92
+ * Create a game_server entity token and return a new or existing game_server entity.
93
+ *
94
+ * {@link https://docs.microsoft.com/rest/api/playfab/gameserveridentity/authentication/authenticategameserverwithcustomid Microsoft Documentation}
95
+ * @example
96
+ * await gameserveridentityClient.AuthenticateGameServerWithCustomId({
97
+ * "CustomId": "12345678123412341234123456789abc"
98
+ * });
99
+ */
100
+ AuthenticateGameServerWithCustomId(request: AuthenticateCustomIdRequest, extraHeaders?: Record<string, string>): Promise<AuthenticateCustomIdResult>;
101
+ /**
102
+ * Delete a game_server entity.
103
+ *
104
+ * {@link https://docs.microsoft.com/rest/api/playfab/gameserveridentity/authentication/delete Microsoft Documentation}
105
+ * @example
106
+ * await gameserveridentityClient.Delete({
107
+ * "Entity": {
108
+ * "Id": "3D00C64954",
109
+ * "Type": "game_server",
110
+ * "TypeString": "game_server"
111
+ * }
112
+ * });
113
+ */
114
+ Delete(request: DeleteRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
115
+ /**
116
+ * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid
117
+ * Entity Token.
118
+ *
119
+ * {@link https://docs.microsoft.com/rest/api/playfab/authentication/authentication/getentitytoken Microsoft Documentation}
120
+ * @example
121
+ * await authenticationClient.GetEntityToken({});
122
+ */
123
+ GetEntityToken(request: GetEntityTokenRequest, extraHeaders?: Record<string, string>): Promise<GetEntityTokenResponse>;
124
+ /**
125
+ * Method for a server to validate a client provided EntityToken. Only callable by the title entity.
126
+ *
127
+ * {@link https://docs.microsoft.com/rest/api/playfab/authentication/authentication/validateentitytoken Microsoft Documentation}
128
+ * @example
129
+ * await authenticationClient.ValidateEntityToken({
130
+ * "EntityToken": "50c61b9065b27a124a400ee3b95d404313986969"
131
+ * });
132
+ */
133
+ ValidateEntityToken(request: ValidateEntityTokenRequest, extraHeaders?: Record<string, string>): Promise<ValidateEntityTokenResponse>;
134
+ }
135
+
136
+ export { PlayFabAuthenticationApi as default };
@@ -0,0 +1,8 @@
1
+ import {
2
+ PlayFabAuthenticationApi
3
+ } from "./chunk-QJRCYM7I.js";
4
+ import "./chunk-6OZSERVG.js";
5
+ export {
6
+ PlayFabAuthenticationApi as default
7
+ };
8
+ //# sourceMappingURL=Authentication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}