async-playfab-web-sdk 1.192.250526-4 → 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.
- package/dist/Addon.d.ts +178 -38
- package/dist/Addon.js +2 -2
- package/dist/Admin.d.ts +2385 -194
- package/dist/Admin.js +2 -2
- package/dist/Authentication.d.ts +31 -4
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +2234 -320
- package/dist/Client.js +2 -2
- package/dist/CloudScript.d.ts +198 -30
- package/dist/CloudScript.js +2 -2
- package/dist/Data.d.ts +136 -17
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +1145 -106
- package/dist/Economy.js +2 -2
- package/dist/Events.d.ts +199 -12
- package/dist/Events.js +2 -2
- package/dist/Experimentation.d.ts +163 -16
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.d.ts +266 -27
- package/dist/Groups.js +2 -2
- package/dist/Insights.d.ts +32 -6
- package/dist/Insights.js +2 -2
- package/dist/Localization.d.ts +4 -1
- package/dist/Localization.js +2 -2
- package/dist/Matchmaker.d.ts +271 -0
- package/dist/Matchmaker.js +8 -0
- package/dist/Matchmaker.js.map +1 -0
- package/dist/Multiplayer.d.ts +2696 -168
- package/dist/Multiplayer.js +2 -2
- package/dist/Profiles.d.ts +162 -18
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +286 -34
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +1903 -241
- package/dist/Server.js +2 -2
- package/dist/chunk-3I6ONUUQ.js +237 -0
- package/dist/chunk-3I6ONUUQ.js.map +1 -0
- package/dist/chunk-3O5QT4SL.js +2477 -0
- package/dist/chunk-3O5QT4SL.js.map +1 -0
- package/dist/chunk-3OBHYLBF.js +2673 -0
- package/dist/chunk-3OBHYLBF.js.map +1 -0
- package/dist/chunk-57KYHGBO.js +421 -0
- package/dist/chunk-57KYHGBO.js.map +1 -0
- package/dist/{chunk-CLMINF57.js → chunk-5CWZN75H.js} +6 -3
- package/dist/chunk-5CWZN75H.js.map +1 -0
- package/dist/chunk-73SVDH45.js +197 -0
- package/dist/chunk-73SVDH45.js.map +1 -0
- package/dist/chunk-ADHTNFTN.js +175 -0
- package/dist/chunk-ADHTNFTN.js.map +1 -0
- package/dist/chunk-C7U2JQNZ.js +76 -0
- package/dist/chunk-C7U2JQNZ.js.map +1 -0
- package/dist/{chunk-PXPOK2QU.js → chunk-GAZYZIK2.js} +34 -8
- package/dist/chunk-GAZYZIK2.js.map +1 -0
- package/dist/chunk-J54WY4UN.js +413 -0
- package/dist/chunk-J54WY4UN.js.map +1 -0
- package/dist/chunk-NFWQ4MMZ.js +1048 -0
- package/dist/chunk-NFWQ4MMZ.js.map +1 -0
- package/dist/{chunk-7UQYMDJQ.js → chunk-P7UVG26J.js} +167 -32
- package/dist/chunk-P7UVG26J.js.map +1 -0
- package/dist/chunk-PFXZB4UN.js +2387 -0
- package/dist/chunk-PFXZB4UN.js.map +1 -0
- package/dist/{chunk-RJPMKD7P.js → chunk-QNGQW3YB.js} +28 -6
- package/dist/chunk-QNGQW3YB.js.map +1 -0
- package/dist/chunk-SQWILU5T.js +270 -0
- package/dist/chunk-SQWILU5T.js.map +1 -0
- package/dist/{chunk-FEEE3PRD.js → chunk-SR2RIRLX.js} +1482 -175
- package/dist/chunk-SR2RIRLX.js.map +1 -0
- package/dist/{chunk-6TH6EJYH.js → chunk-XVDYM74A.js} +4 -4
- package/dist/chunk-XVDYM74A.js.map +1 -0
- package/dist/chunk-ZW4TJ3MQ.js +225 -0
- package/dist/chunk-ZW4TJ3MQ.js.map +1 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +29 -25
- package/package.json +2 -2
- package/dist/chunk-2IBLMNAQ.js +0 -882
- package/dist/chunk-2IBLMNAQ.js.map +0 -1
- package/dist/chunk-3TRLETD6.js +0 -119
- package/dist/chunk-3TRLETD6.js.map +0 -1
- package/dist/chunk-4LT3OUQD.js +0 -632
- package/dist/chunk-4LT3OUQD.js.map +0 -1
- package/dist/chunk-6TH6EJYH.js.map +0 -1
- package/dist/chunk-7UQYMDJQ.js.map +0 -1
- package/dist/chunk-CLMINF57.js.map +0 -1
- package/dist/chunk-F5NRBD4O.js +0 -174
- package/dist/chunk-F5NRBD4O.js.map +0 -1
- package/dist/chunk-FEEE3PRD.js.map +0 -1
- package/dist/chunk-HKZJ4H4O.js +0 -97
- package/dist/chunk-HKZJ4H4O.js.map +0 -1
- package/dist/chunk-NJQCK4TL.js +0 -61
- package/dist/chunk-NJQCK4TL.js.map +0 -1
- package/dist/chunk-ONCBQLGS.js +0 -1147
- package/dist/chunk-ONCBQLGS.js.map +0 -1
- package/dist/chunk-PXPOK2QU.js.map +0 -1
- package/dist/chunk-Q22JHX4G.js +0 -76
- package/dist/chunk-Q22JHX4G.js.map +0 -1
- package/dist/chunk-RJPMKD7P.js.map +0 -1
- package/dist/chunk-WROXLFDZ.js +0 -103
- package/dist/chunk-WROXLFDZ.js.map +0 -1
- package/dist/chunk-XAI5IWL4.js +0 -187
- package/dist/chunk-XAI5IWL4.js.map +0 -1
- package/dist/chunk-XM26BUTO.js +0 -384
- package/dist/chunk-XM26BUTO.js.map +0 -1
@@ -0,0 +1,421 @@
|
|
1
|
+
import {
|
2
|
+
PlayFabCommon
|
3
|
+
} from "./chunk-XVDYM74A.js";
|
4
|
+
|
5
|
+
// src/apis/PlayFabGroupsApi.ts
|
6
|
+
var PlayFabGroupsApi = class extends PlayFabCommon {
|
7
|
+
/**
|
8
|
+
* Accepts an outstanding invitation to to join a group
|
9
|
+
*
|
10
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/acceptgroupapplication Microsoft Documentation}
|
11
|
+
* @example
|
12
|
+
* await groupClient.AcceptGroupApplication({
|
13
|
+
* "Group": {
|
14
|
+
* "Id": "ABC1234ABC"
|
15
|
+
* },
|
16
|
+
* "Entity": {
|
17
|
+
* "Id": "90901000",
|
18
|
+
* "Type": "title_player_account",
|
19
|
+
* "TypeString": "title_player_account"
|
20
|
+
* }
|
21
|
+
* });
|
22
|
+
*/
|
23
|
+
AcceptGroupApplication(request, extraHeaders) {
|
24
|
+
return this.ExecuteRequestWrapper("/Group/AcceptGroupApplication", request, "X-EntityToken", extraHeaders);
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Accepts an invitation to join a group
|
28
|
+
*
|
29
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/acceptgroupinvitation Microsoft Documentation}
|
30
|
+
* @example
|
31
|
+
* await groupClient.AcceptGroupInvitation({
|
32
|
+
* "Group": {
|
33
|
+
* "Id": "ABC1234ABC"
|
34
|
+
* }
|
35
|
+
* });
|
36
|
+
*/
|
37
|
+
AcceptGroupInvitation(request, extraHeaders) {
|
38
|
+
return this.ExecuteRequestWrapper("/Group/AcceptGroupInvitation", request, "X-EntityToken", extraHeaders);
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Adds members to a group or role.
|
42
|
+
*
|
43
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/addmembers Microsoft Documentation}
|
44
|
+
* @example
|
45
|
+
* await groupClient.AddMembers({
|
46
|
+
* "Group": {
|
47
|
+
* "Id": "ABC1234ABC"
|
48
|
+
* },
|
49
|
+
* "Members": [
|
50
|
+
* {
|
51
|
+
* "Id": "90901000",
|
52
|
+
* "Type": "title_player_account",
|
53
|
+
* "TypeString": "title_player_account"
|
54
|
+
* }
|
55
|
+
* ]
|
56
|
+
* });
|
57
|
+
*/
|
58
|
+
AddMembers(request, extraHeaders) {
|
59
|
+
return this.ExecuteRequestWrapper("/Group/AddMembers", request, "X-EntityToken", extraHeaders);
|
60
|
+
}
|
61
|
+
/**
|
62
|
+
* Applies to join a group
|
63
|
+
*
|
64
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/applytogroup Microsoft Documentation}
|
65
|
+
* @example
|
66
|
+
* await groupClient.ApplyToGroup({
|
67
|
+
* "Group": {
|
68
|
+
* "Id": "ABC1234ABC"
|
69
|
+
* }
|
70
|
+
* });
|
71
|
+
*/
|
72
|
+
ApplyToGroup(request, extraHeaders) {
|
73
|
+
return this.ExecuteRequestWrapper("/Group/ApplyToGroup", request, "X-EntityToken", extraHeaders);
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* Blocks a list of entities from joining a group.
|
77
|
+
*
|
78
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/blockentity Microsoft Documentation}
|
79
|
+
* @example
|
80
|
+
* await groupClient.BlockEntity({
|
81
|
+
* "Group": {
|
82
|
+
* "Id": "ABC1234ABC"
|
83
|
+
* },
|
84
|
+
* "Entity": {
|
85
|
+
* "Id": "90901000",
|
86
|
+
* "Type": "title_player_account",
|
87
|
+
* "TypeString": "title_player_account"
|
88
|
+
* }
|
89
|
+
* });
|
90
|
+
*/
|
91
|
+
BlockEntity(request, extraHeaders) {
|
92
|
+
return this.ExecuteRequestWrapper("/Group/BlockEntity", request, "X-EntityToken", extraHeaders);
|
93
|
+
}
|
94
|
+
/**
|
95
|
+
* Changes the role membership of a list of entities from one role to another.
|
96
|
+
*
|
97
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/changememberrole Microsoft Documentation}
|
98
|
+
* @example
|
99
|
+
* await groupClient.ChangeMemberRole({
|
100
|
+
* "Group": {
|
101
|
+
* "Id": "ABC1234ABC"
|
102
|
+
* },
|
103
|
+
* "OriginRoleId": "awesomepeople",
|
104
|
+
* "DestinationRoleId": "members",
|
105
|
+
* "Members": [
|
106
|
+
* {
|
107
|
+
* "Id": "90901000",
|
108
|
+
* "Type": "title_player_account",
|
109
|
+
* "TypeString": "title_player_account"
|
110
|
+
* }
|
111
|
+
* ]
|
112
|
+
* });
|
113
|
+
*/
|
114
|
+
ChangeMemberRole(request, extraHeaders) {
|
115
|
+
return this.ExecuteRequestWrapper("/Group/ChangeMemberRole", request, "X-EntityToken", extraHeaders);
|
116
|
+
}
|
117
|
+
/**
|
118
|
+
* Creates a new group.
|
119
|
+
*
|
120
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/creategroup Microsoft Documentation}
|
121
|
+
* @example
|
122
|
+
* await groupClient.CreateGroup({
|
123
|
+
* "GroupName": "Example Group"
|
124
|
+
* });
|
125
|
+
*/
|
126
|
+
CreateGroup(request, extraHeaders) {
|
127
|
+
return this.ExecuteRequestWrapper("/Group/CreateGroup", request, "X-EntityToken", extraHeaders);
|
128
|
+
}
|
129
|
+
/**
|
130
|
+
* Creates a new group role.
|
131
|
+
*
|
132
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/createrole Microsoft Documentation}
|
133
|
+
* @example
|
134
|
+
* await groupClient.CreateRole({
|
135
|
+
* "RoleId": "example",
|
136
|
+
* "RoleName": "Example Role",
|
137
|
+
* "Group": {
|
138
|
+
* "Id": "ABC1234ABC"
|
139
|
+
* }
|
140
|
+
* });
|
141
|
+
*/
|
142
|
+
CreateRole(request, extraHeaders) {
|
143
|
+
return this.ExecuteRequestWrapper("/Group/CreateRole", request, "X-EntityToken", extraHeaders);
|
144
|
+
}
|
145
|
+
/**
|
146
|
+
* Deletes a group and all roles, invitations, join requests, and blocks associated with it.
|
147
|
+
*
|
148
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/deletegroup Microsoft Documentation}
|
149
|
+
* @example
|
150
|
+
* await groupClient.DeleteGroup({
|
151
|
+
* "Group": {
|
152
|
+
* "Id": "ABC1234ABC"
|
153
|
+
* }
|
154
|
+
* });
|
155
|
+
*/
|
156
|
+
DeleteGroup(request, extraHeaders) {
|
157
|
+
return this.ExecuteRequestWrapper("/Group/DeleteGroup", request, "X-EntityToken", extraHeaders);
|
158
|
+
}
|
159
|
+
/**
|
160
|
+
* Deletes an existing role in a group.
|
161
|
+
*
|
162
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/deleterole Microsoft Documentation}
|
163
|
+
* @example
|
164
|
+
* await groupClient.DeleteRole({
|
165
|
+
* "Group": {
|
166
|
+
* "Id": "ABC1234ABC"
|
167
|
+
* },
|
168
|
+
* "RoleId": "ABC1234DEF"
|
169
|
+
* });
|
170
|
+
*/
|
171
|
+
DeleteRole(request, extraHeaders) {
|
172
|
+
return this.ExecuteRequestWrapper("/Group/DeleteRole", request, "X-EntityToken", extraHeaders);
|
173
|
+
}
|
174
|
+
/**
|
175
|
+
* Gets information about a group and its roles
|
176
|
+
*
|
177
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/getgroup Microsoft Documentation}
|
178
|
+
* @example
|
179
|
+
* await groupClient.GetGroup({
|
180
|
+
* "Group": {
|
181
|
+
* "Id": "ABC1234ABC"
|
182
|
+
* }
|
183
|
+
* });
|
184
|
+
*/
|
185
|
+
GetGroup(request, extraHeaders) {
|
186
|
+
return this.ExecuteRequestWrapper("/Group/GetGroup", request, "X-EntityToken", extraHeaders);
|
187
|
+
}
|
188
|
+
/**
|
189
|
+
* Invites a player to join a group
|
190
|
+
*
|
191
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/invitetogroup Microsoft Documentation}
|
192
|
+
* @example
|
193
|
+
* await groupClient.InviteToGroup({
|
194
|
+
* "Group": {
|
195
|
+
* "Id": "ABC1234ABC"
|
196
|
+
* },
|
197
|
+
* "RoleId": "awesomepeople",
|
198
|
+
* "Entity": {
|
199
|
+
* "Id": "90901000",
|
200
|
+
* "Type": "title_player_account",
|
201
|
+
* "TypeString": "title_player_account"
|
202
|
+
* }
|
203
|
+
* });
|
204
|
+
*/
|
205
|
+
InviteToGroup(request, extraHeaders) {
|
206
|
+
return this.ExecuteRequestWrapper("/Group/InviteToGroup", request, "X-EntityToken", extraHeaders);
|
207
|
+
}
|
208
|
+
/**
|
209
|
+
* Checks to see if an entity is a member of a group or role within the group
|
210
|
+
*
|
211
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/ismember Microsoft Documentation}
|
212
|
+
* @example
|
213
|
+
* await groupClient.IsMember({
|
214
|
+
* "Group": {
|
215
|
+
* "Id": "ABC1234ABC"
|
216
|
+
* },
|
217
|
+
* "RoleId": "ABC1234DEF",
|
218
|
+
* "Entity": {
|
219
|
+
* "Id": "90901000",
|
220
|
+
* "Type": "title_player_account",
|
221
|
+
* "TypeString": "title_player_account"
|
222
|
+
* }
|
223
|
+
* });
|
224
|
+
*/
|
225
|
+
IsMember(request, extraHeaders) {
|
226
|
+
return this.ExecuteRequestWrapper("/Group/IsMember", request, "X-EntityToken", extraHeaders);
|
227
|
+
}
|
228
|
+
/**
|
229
|
+
* Lists all outstanding requests to join a group
|
230
|
+
*
|
231
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupapplications Microsoft Documentation}
|
232
|
+
* @example
|
233
|
+
* await groupClient.ListGroupApplications({
|
234
|
+
* "Group": {
|
235
|
+
* "Id": "ABC1234ABC"
|
236
|
+
* }
|
237
|
+
* });
|
238
|
+
*/
|
239
|
+
ListGroupApplications(request, extraHeaders) {
|
240
|
+
return this.ExecuteRequestWrapper("/Group/ListGroupApplications", request, "X-EntityToken", extraHeaders);
|
241
|
+
}
|
242
|
+
/**
|
243
|
+
* Lists all entities blocked from joining a group
|
244
|
+
*
|
245
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupblocks Microsoft Documentation}
|
246
|
+
* @example
|
247
|
+
* await groupClient.ListGroupBlocks({
|
248
|
+
* "Group": {
|
249
|
+
* "Id": "ABC1234ABC"
|
250
|
+
* }
|
251
|
+
* });
|
252
|
+
*/
|
253
|
+
ListGroupBlocks(request, extraHeaders) {
|
254
|
+
return this.ExecuteRequestWrapper("/Group/ListGroupBlocks", request, "X-EntityToken", extraHeaders);
|
255
|
+
}
|
256
|
+
/**
|
257
|
+
* Lists all outstanding invitations for a group
|
258
|
+
*
|
259
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupinvitations Microsoft Documentation}
|
260
|
+
* @example
|
261
|
+
* await groupClient.ListGroupInvitations({
|
262
|
+
* "Group": {
|
263
|
+
* "Id": "ABC1234ABC"
|
264
|
+
* }
|
265
|
+
* });
|
266
|
+
*/
|
267
|
+
ListGroupInvitations(request, extraHeaders) {
|
268
|
+
return this.ExecuteRequestWrapper("/Group/ListGroupInvitations", request, "X-EntityToken", extraHeaders);
|
269
|
+
}
|
270
|
+
/**
|
271
|
+
* Lists all members for a group
|
272
|
+
*
|
273
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupmembers Microsoft Documentation}
|
274
|
+
* @example
|
275
|
+
* await groupClient.ListGroupMembers({
|
276
|
+
* "Group": {
|
277
|
+
* "Id": "ABC1234ABC"
|
278
|
+
* }
|
279
|
+
* });
|
280
|
+
*/
|
281
|
+
ListGroupMembers(request, extraHeaders) {
|
282
|
+
return this.ExecuteRequestWrapper("/Group/ListGroupMembers", request, "X-EntityToken", extraHeaders);
|
283
|
+
}
|
284
|
+
/**
|
285
|
+
* Lists all groups and roles for an entity
|
286
|
+
*
|
287
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listmembership Microsoft Documentation}
|
288
|
+
* @example
|
289
|
+
* await groupClient.ListMembership({});
|
290
|
+
*/
|
291
|
+
ListMembership(request, extraHeaders) {
|
292
|
+
return this.ExecuteRequestWrapper("/Group/ListMembership", request, "X-EntityToken", extraHeaders);
|
293
|
+
}
|
294
|
+
/**
|
295
|
+
* Lists all outstanding invitations and group applications for an entity
|
296
|
+
*
|
297
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listmembershipopportunities Microsoft Documentation}
|
298
|
+
* @example
|
299
|
+
* await groupClient.ListMembershipOpportunities({});
|
300
|
+
*/
|
301
|
+
ListMembershipOpportunities(request, extraHeaders) {
|
302
|
+
return this.ExecuteRequestWrapper("/Group/ListMembershipOpportunities", request, "X-EntityToken", extraHeaders);
|
303
|
+
}
|
304
|
+
/**
|
305
|
+
* Removes an application to join a group
|
306
|
+
*
|
307
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removegroupapplication Microsoft Documentation}
|
308
|
+
* @example
|
309
|
+
* await groupClient.RemoveGroupApplication({
|
310
|
+
* "Group": {
|
311
|
+
* "Id": "ABC1234ABC"
|
312
|
+
* },
|
313
|
+
* "Entity": {
|
314
|
+
* "Id": "90901000",
|
315
|
+
* "Type": "title_player_account",
|
316
|
+
* "TypeString": "title_player_account"
|
317
|
+
* }
|
318
|
+
* });
|
319
|
+
*/
|
320
|
+
RemoveGroupApplication(request, extraHeaders) {
|
321
|
+
return this.ExecuteRequestWrapper("/Group/RemoveGroupApplication", request, "X-EntityToken", extraHeaders);
|
322
|
+
}
|
323
|
+
/**
|
324
|
+
* Removes an invitation join a group
|
325
|
+
*
|
326
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removegroupinvitation Microsoft Documentation}
|
327
|
+
* @example
|
328
|
+
* await groupClient.RemoveGroupInvitation({
|
329
|
+
* "Group": {
|
330
|
+
* "Id": "ABC1234ABC"
|
331
|
+
* },
|
332
|
+
* "Entity": {
|
333
|
+
* "Id": "90901000",
|
334
|
+
* "Type": "title_player_account",
|
335
|
+
* "TypeString": "title_player_account"
|
336
|
+
* }
|
337
|
+
* });
|
338
|
+
*/
|
339
|
+
RemoveGroupInvitation(request, extraHeaders) {
|
340
|
+
return this.ExecuteRequestWrapper("/Group/RemoveGroupInvitation", request, "X-EntityToken", extraHeaders);
|
341
|
+
}
|
342
|
+
/**
|
343
|
+
* Removes members from a group.
|
344
|
+
*
|
345
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removemembers Microsoft Documentation}
|
346
|
+
* @example
|
347
|
+
* await groupClient.RemoveMembers({
|
348
|
+
* "Group": {
|
349
|
+
* "Id": "ABC1234ABC"
|
350
|
+
* },
|
351
|
+
* "RoleId": "ABC1234DEF",
|
352
|
+
* "Members": [
|
353
|
+
* {
|
354
|
+
* "Id": "90901000",
|
355
|
+
* "Type": "title_player_account",
|
356
|
+
* "TypeString": "title_player_account"
|
357
|
+
* }
|
358
|
+
* ]
|
359
|
+
* });
|
360
|
+
*/
|
361
|
+
RemoveMembers(request, extraHeaders) {
|
362
|
+
return this.ExecuteRequestWrapper("/Group/RemoveMembers", request, "X-EntityToken", extraHeaders);
|
363
|
+
}
|
364
|
+
/**
|
365
|
+
* Unblocks a list of entities from joining a group
|
366
|
+
*
|
367
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/unblockentity Microsoft Documentation}
|
368
|
+
* @example
|
369
|
+
* await groupClient.UnblockEntity({
|
370
|
+
* "Group": {
|
371
|
+
* "Id": "ABC1234ABC"
|
372
|
+
* },
|
373
|
+
* "Entity": {
|
374
|
+
* "Id": "90901000",
|
375
|
+
* "Type": "title_player_account",
|
376
|
+
* "TypeString": "title_player_account"
|
377
|
+
* }
|
378
|
+
* });
|
379
|
+
*/
|
380
|
+
UnblockEntity(request, extraHeaders) {
|
381
|
+
return this.ExecuteRequestWrapper("/Group/UnblockEntity", request, "X-EntityToken", extraHeaders);
|
382
|
+
}
|
383
|
+
/**
|
384
|
+
* Updates non-membership data about a group.
|
385
|
+
*
|
386
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/updategroup Microsoft Documentation}
|
387
|
+
* @example
|
388
|
+
* await groupClient.UpdateGroup({
|
389
|
+
* "Group": {
|
390
|
+
* "Id": "ABC1234ABC"
|
391
|
+
* },
|
392
|
+
* "GroupName": "My New Group Name",
|
393
|
+
* "ExpectedProfileVersion": 17
|
394
|
+
* });
|
395
|
+
*/
|
396
|
+
UpdateGroup(request, extraHeaders) {
|
397
|
+
return this.ExecuteRequestWrapper("/Group/UpdateGroup", request, "X-EntityToken", extraHeaders);
|
398
|
+
}
|
399
|
+
/**
|
400
|
+
* Updates metadata about a role.
|
401
|
+
*
|
402
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/updaterole Microsoft Documentation}
|
403
|
+
* @example
|
404
|
+
* await groupClient.UpdateRole({
|
405
|
+
* "Group": {
|
406
|
+
* "Id": "ABC1234ABC"
|
407
|
+
* },
|
408
|
+
* "RoleId": "ABC1234DEF",
|
409
|
+
* "RoleName": "My New Role Name",
|
410
|
+
* "ExpectedProfileVersion": 17
|
411
|
+
* });
|
412
|
+
*/
|
413
|
+
UpdateRole(request, extraHeaders) {
|
414
|
+
return this.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", extraHeaders);
|
415
|
+
}
|
416
|
+
};
|
417
|
+
|
418
|
+
export {
|
419
|
+
PlayFabGroupsApi
|
420
|
+
};
|
421
|
+
//# sourceMappingURL=chunk-57KYHGBO.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/apis/PlayFabGroupsApi.ts"],"sourcesContent":["import type { EmptyResponse } from \"../types/PlayFab\";\nimport type {\n AcceptGroupApplicationRequest,\n AcceptGroupInvitationRequest,\n AddMembersRequest,\n ApplyToGroupRequest,\n BlockEntityRequest,\n ChangeMemberRoleRequest,\n CreateGroupRequest,\n CreateGroupRoleRequest,\n DeleteGroupRequest,\n DeleteRoleRequest,\n GetGroupRequest,\n InviteToGroupRequest,\n IsMemberRequest,\n ListGroupApplicationsRequest,\n ListGroupBlocksRequest,\n ListGroupInvitationsRequest,\n ListGroupMembersRequest,\n ListMembershipRequest,\n ListMembershipOpportunitiesRequest,\n RemoveGroupApplicationRequest,\n RemoveGroupInvitationRequest,\n RemoveMembersRequest,\n UnblockEntityRequest,\n UpdateGroupRequest,\n UpdateGroupRoleRequest,\n ApplyToGroupResponse,\n CreateGroupResponse,\n CreateGroupRoleResponse,\n GetGroupResponse,\n InviteToGroupResponse,\n IsMemberResponse,\n ListGroupApplicationsResponse,\n ListGroupBlocksResponse,\n ListGroupInvitationsResponse,\n ListGroupMembersResponse,\n ListMembershipResponse,\n ListMembershipOpportunitiesResponse,\n UpdateGroupResponse,\n UpdateGroupRoleResponse,\n} from \"../types/PlayFabGroupsApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabGroupsApi extends PlayFabCommon {\n\n /**\n * Accepts an outstanding invitation to to join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/acceptgroupapplication Microsoft Documentation}\n * @example\n * await groupClient.AcceptGroupApplication({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n AcceptGroupApplication (request: AcceptGroupApplicationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/AcceptGroupApplication\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Accepts an invitation to join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/acceptgroupinvitation Microsoft Documentation}\n * @example\n * await groupClient.AcceptGroupInvitation({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n AcceptGroupInvitation (request: AcceptGroupInvitationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/AcceptGroupInvitation\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Adds members to a group or role.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/addmembers Microsoft Documentation}\n * @example\n * await groupClient.AddMembers({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"Members\": [\n * {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * ]\n * });\n */\n AddMembers (request: AddMembersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/AddMembers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Applies to join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/applytogroup Microsoft Documentation}\n * @example\n * await groupClient.ApplyToGroup({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n ApplyToGroup (request: ApplyToGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ApplyToGroupResponse>(\"/Group/ApplyToGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Blocks a list of entities from joining a group.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/blockentity Microsoft Documentation}\n * @example\n * await groupClient.BlockEntity({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n BlockEntity (request: BlockEntityRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/BlockEntity\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Changes the role membership of a list of entities from one role to another.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/changememberrole Microsoft Documentation}\n * @example\n * await groupClient.ChangeMemberRole({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"OriginRoleId\": \"awesomepeople\",\n * \"DestinationRoleId\": \"members\",\n * \"Members\": [\n * {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * ]\n * });\n */\n ChangeMemberRole (request: ChangeMemberRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/ChangeMemberRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates a new group.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/creategroup Microsoft Documentation}\n * @example\n * await groupClient.CreateGroup({\n * \"GroupName\": \"Example Group\"\n * });\n */\n CreateGroup (request: CreateGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateGroupResponse>(\"/Group/CreateGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates a new group role.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/createrole Microsoft Documentation}\n * @example\n * await groupClient.CreateRole({\n * \"RoleId\": \"example\",\n * \"RoleName\": \"Example Role\",\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n CreateRole (request: CreateGroupRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateGroupRoleResponse>(\"/Group/CreateRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a group and all roles, invitations, join requests, and blocks associated with it.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/deletegroup Microsoft Documentation}\n * @example\n * await groupClient.DeleteGroup({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n DeleteGroup (request: DeleteGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/DeleteGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes an existing role in a group.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/deleterole Microsoft Documentation}\n * @example\n * await groupClient.DeleteRole({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"RoleId\": \"ABC1234DEF\"\n * });\n */\n DeleteRole (request: DeleteRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/DeleteRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information about a group and its roles\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/getgroup Microsoft Documentation}\n * @example\n * await groupClient.GetGroup({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n GetGroup (request: GetGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGroupResponse>(\"/Group/GetGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Invites a player to join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/invitetogroup Microsoft Documentation}\n * @example\n * await groupClient.InviteToGroup({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"RoleId\": \"awesomepeople\",\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n InviteToGroup (request: InviteToGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<InviteToGroupResponse>(\"/Group/InviteToGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Checks to see if an entity is a member of a group or role within the group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/ismember Microsoft Documentation}\n * @example\n * await groupClient.IsMember({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"RoleId\": \"ABC1234DEF\",\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n IsMember (request: IsMemberRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<IsMemberResponse>(\"/Group/IsMember\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all outstanding requests to join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupapplications Microsoft Documentation}\n * @example\n * await groupClient.ListGroupApplications({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n ListGroupApplications (request: ListGroupApplicationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupApplicationsResponse>(\"/Group/ListGroupApplications\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all entities blocked from joining a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupblocks Microsoft Documentation}\n * @example\n * await groupClient.ListGroupBlocks({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n ListGroupBlocks (request: ListGroupBlocksRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupBlocksResponse>(\"/Group/ListGroupBlocks\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all outstanding invitations for a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupinvitations Microsoft Documentation}\n * @example\n * await groupClient.ListGroupInvitations({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n ListGroupInvitations (request: ListGroupInvitationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupInvitationsResponse>(\"/Group/ListGroupInvitations\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all members for a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupmembers Microsoft Documentation}\n * @example\n * await groupClient.ListGroupMembers({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * }\n * });\n */\n ListGroupMembers (request: ListGroupMembersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupMembersResponse>(\"/Group/ListGroupMembers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all groups and roles for an entity\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listmembership Microsoft Documentation}\n * @example\n * await groupClient.ListMembership({});\n */\n ListMembership (request: ListMembershipRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMembershipResponse>(\"/Group/ListMembership\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all outstanding invitations and group applications for an entity\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listmembershipopportunities Microsoft Documentation}\n * @example\n * await groupClient.ListMembershipOpportunities({});\n */\n ListMembershipOpportunities (request: ListMembershipOpportunitiesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMembershipOpportunitiesResponse>(\"/Group/ListMembershipOpportunities\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes an application to join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removegroupapplication Microsoft Documentation}\n * @example\n * await groupClient.RemoveGroupApplication({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n RemoveGroupApplication (request: RemoveGroupApplicationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/RemoveGroupApplication\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes an invitation join a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removegroupinvitation Microsoft Documentation}\n * @example\n * await groupClient.RemoveGroupInvitation({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n RemoveGroupInvitation (request: RemoveGroupInvitationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/RemoveGroupInvitation\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes members from a group.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removemembers Microsoft Documentation}\n * @example\n * await groupClient.RemoveMembers({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"RoleId\": \"ABC1234DEF\",\n * \"Members\": [\n * {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * ]\n * });\n */\n RemoveMembers (request: RemoveMembersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/RemoveMembers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Unblocks a list of entities from joining a group\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/unblockentity Microsoft Documentation}\n * @example\n * await groupClient.UnblockEntity({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"Entity\": {\n * \"Id\": \"90901000\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n UnblockEntity (request: UnblockEntityRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/UnblockEntity\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates non-membership data about a group.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/updategroup Microsoft Documentation}\n * @example\n * await groupClient.UpdateGroup({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"GroupName\": \"My New Group Name\",\n * \"ExpectedProfileVersion\": 17\n * });\n */\n UpdateGroup (request: UpdateGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateGroupResponse>(\"/Group/UpdateGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates metadata about a role.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/group/groups/updaterole Microsoft Documentation}\n * @example\n * await groupClient.UpdateRole({\n * \"Group\": {\n * \"Id\": \"ABC1234ABC\"\n * },\n * \"RoleId\": \"ABC1234DEF\",\n * \"RoleName\": \"My New Role Name\",\n * \"ExpectedProfileVersion\": 17\n * });\n */\n UpdateRole (request: UpdateGroupRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateGroupRoleResponse>(\"/Group/UpdateRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AA4CA,IAAqB,mBAArB,cAA8C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkB1D,uBA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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBA,cAAe,SAA+B,cAAuC;AACnF,WAAO,KAAK,sBAAqC,wBAAwB,SAAS,iBAAiB,YAAY;AAAA,EACjH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBA,cAAe,SAA+B,cAAuC;AACnF,WAAO,KAAK,sBAAqC,wBAAwB,SAAS,iBAAiB,YAAY;AAAA,EACjH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAeA,YAAa,SAA6B,cAAuC;AAC/E,WAAO,KAAK,sBAA2C,sBAAsB,SAAS,iBAAiB,YAAY;AAAA,EACrH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBA,WAAY,SAAiC,cAAuC;AAClF,WAAO,KAAK,sBAA+C,qBAAqB,SAAS,iBAAiB,YAAY;AAAA,EACxH;AAEF;","names":[]}
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import {
|
2
2
|
PlayFabCommon
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-XVDYM74A.js";
|
4
4
|
|
5
5
|
// src/apis/PlayFabLocalizationApi.ts
|
6
6
|
var PlayFabLocalizationApi = class extends PlayFabCommon {
|
7
7
|
/**
|
8
8
|
* Retrieves the list of allowed languages, only accessible by title entities
|
9
|
-
*
|
9
|
+
*
|
10
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/locale/localization/getlanguagelist Microsoft Documentation}
|
11
|
+
* @example
|
12
|
+
* await localeClient.GetLanguageList({});
|
10
13
|
*/
|
11
14
|
GetLanguageList(request, extraHeaders) {
|
12
15
|
return this.ExecuteRequestWrapper("/Locale/GetLanguageList", request, "X-EntityToken", extraHeaders);
|
@@ -16,4 +19,4 @@ var PlayFabLocalizationApi = class extends PlayFabCommon {
|
|
16
19
|
export {
|
17
20
|
PlayFabLocalizationApi
|
18
21
|
};
|
19
|
-
//# sourceMappingURL=chunk-
|
22
|
+
//# sourceMappingURL=chunk-5CWZN75H.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/apis/PlayFabLocalizationApi.ts"],"sourcesContent":["import type {\n GetLanguageListRequest,\n GetLanguageListResponse,\n} from \"../types/PlayFabLocalizationApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabLocalizationApi extends PlayFabCommon {\n\n /**\n * Retrieves the list of allowed languages, only accessible by title entities\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/locale/localization/getlanguagelist Microsoft Documentation}\n * @example\n * await localeClient.GetLanguageList({});\n */\n GetLanguageList (request: GetLanguageListRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetLanguageListResponse>(\"/Locale/GetLanguageList\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAMA,IAAqB,yBAArB,cAAoD,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAShE,gBAAiB,SAAiC,cAAuC;AACvF,WAAO,KAAK,sBAA+C,2BAA2B,SAAS,iBAAiB,YAAY;AAAA,EAC9H;AAEF;","names":[]}
|