@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.
- package/LICENSE +201 -0
- package/README.md +32 -0
- package/dist/Addon.d.ts +731 -0
- package/dist/Addon.js +8 -0
- package/dist/Addon.js.map +1 -0
- package/dist/Admin.d.ts +5675 -0
- package/dist/Admin.js +8 -0
- package/dist/Admin.js.map +1 -0
- package/dist/Authentication.d.ts +136 -0
- package/dist/Authentication.js +8 -0
- package/dist/Authentication.js.map +1 -0
- package/dist/Client.d.ts +6398 -0
- package/dist/Client.js +8 -0
- package/dist/Client.js.map +1 -0
- package/dist/CloudScript.d.ts +679 -0
- package/dist/CloudScript.js +8 -0
- package/dist/CloudScript.js.map +1 -0
- package/dist/Data.d.ts +347 -0
- package/dist/Data.js +8 -0
- package/dist/Data.js.map +1 -0
- package/dist/Economy.d.ts +2910 -0
- package/dist/Economy.js +8 -0
- package/dist/Economy.js.map +1 -0
- package/dist/Events.d.ts +494 -0
- package/dist/Events.js +8 -0
- package/dist/Events.js.map +1 -0
- package/dist/Experimentation.d.ts +504 -0
- package/dist/Experimentation.js +8 -0
- package/dist/Experimentation.js.map +1 -0
- package/dist/Groups.d.ts +785 -0
- package/dist/Groups.js +8 -0
- package/dist/Groups.js.map +1 -0
- package/dist/Insights.d.ts +167 -0
- package/dist/Insights.js +8 -0
- package/dist/Insights.js.map +1 -0
- package/dist/Localization.d.ts +23 -0
- package/dist/Localization.js +8 -0
- package/dist/Localization.js.map +1 -0
- 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 +5587 -0
- package/dist/Multiplayer.js +8 -0
- package/dist/Multiplayer.js.map +1 -0
- package/dist/PlayFabCommon-Dnp_xHg5.d.ts +68 -0
- package/dist/Profiles.d.ts +422 -0
- package/dist/Profiles.js +8 -0
- package/dist/Profiles.js.map +1 -0
- package/dist/Progression.d.ts +862 -0
- package/dist/Progression.js +8 -0
- package/dist/Progression.js.map +1 -0
- package/dist/Server.d.ts +5551 -0
- package/dist/Server.js +8 -0
- package/dist/Server.js.map +1 -0
- package/dist/chunk-3DU2LYBT.js +2673 -0
- package/dist/chunk-3DU2LYBT.js.map +1 -0
- package/dist/chunk-6OZSERVG.js +198 -0
- package/dist/chunk-6OZSERVG.js.map +1 -0
- package/dist/chunk-BD7SF6AA.js +357 -0
- package/dist/chunk-BD7SF6AA.js.map +1 -0
- package/dist/chunk-CPJ6FMQ3.js +421 -0
- package/dist/chunk-CPJ6FMQ3.js.map +1 -0
- package/dist/chunk-IFBBLD7Q.js +2477 -0
- package/dist/chunk-IFBBLD7Q.js.map +1 -0
- package/dist/chunk-J2KKGAWN.js +2387 -0
- package/dist/chunk-J2KKGAWN.js.map +1 -0
- package/dist/chunk-K2I6VCQK.js +270 -0
- package/dist/chunk-K2I6VCQK.js.map +1 -0
- package/dist/chunk-MHSKIHSG.js +22 -0
- package/dist/chunk-MHSKIHSG.js.map +1 -0
- package/dist/chunk-MQZCB76F.js +82 -0
- package/dist/chunk-MQZCB76F.js.map +1 -0
- package/dist/chunk-OZLGFCPU.js +421 -0
- package/dist/chunk-OZLGFCPU.js.map +1 -0
- package/dist/chunk-P4FCADAY.js +175 -0
- package/dist/chunk-P4FCADAY.js.map +1 -0
- package/dist/chunk-QHQBHTHP.js +76 -0
- package/dist/chunk-QHQBHTHP.js.map +1 -0
- package/dist/chunk-QJRCYM7I.js +82 -0
- package/dist/chunk-QJRCYM7I.js.map +1 -0
- package/dist/chunk-RVBFE5D5.js +237 -0
- package/dist/chunk-RVBFE5D5.js.map +1 -0
- package/dist/chunk-SF5NNTLE.js +225 -0
- package/dist/chunk-SF5NNTLE.js.map +1 -0
- package/dist/chunk-SZJQBNVS.js +197 -0
- package/dist/chunk-SZJQBNVS.js.map +1 -0
- package/dist/chunk-WBPWV6H3.js +2970 -0
- package/dist/chunk-WBPWV6H3.js.map +1 -0
- package/dist/chunk-YI4OQ74L.js +1048 -0
- package/dist/chunk-YI4OQ74L.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +72 -0
- package/dist/index.js.map +1 -0
- package/package.json +29 -0
package/dist/Groups.d.ts
ADDED
|
@@ -0,0 +1,785 @@
|
|
|
1
|
+
import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon, E as EmptyResponse } from './PlayFabCommon-Dnp_xHg5.js';
|
|
2
|
+
|
|
3
|
+
interface AcceptGroupApplicationRequest extends IPlayFabRequestCommon {
|
|
4
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
5
|
+
CustomTags?: Record<string, string | null>;
|
|
6
|
+
/**
|
|
7
|
+
* Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant
|
|
8
|
+
* entity.
|
|
9
|
+
*/
|
|
10
|
+
Entity: EntityKey;
|
|
11
|
+
/** The identifier of the group */
|
|
12
|
+
Group: EntityKey;
|
|
13
|
+
}
|
|
14
|
+
interface AcceptGroupInvitationRequest extends IPlayFabRequestCommon {
|
|
15
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
16
|
+
CustomTags?: Record<string, string | null>;
|
|
17
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
|
18
|
+
Entity?: EntityKey;
|
|
19
|
+
/** The identifier of the group */
|
|
20
|
+
Group: EntityKey;
|
|
21
|
+
}
|
|
22
|
+
interface AddMembersRequest extends IPlayFabRequestCommon {
|
|
23
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
24
|
+
CustomTags?: Record<string, string | null>;
|
|
25
|
+
/** The identifier of the group */
|
|
26
|
+
Group: EntityKey;
|
|
27
|
+
/** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */
|
|
28
|
+
Members: EntityKey[];
|
|
29
|
+
/**
|
|
30
|
+
* Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the
|
|
31
|
+
* group will be used. Role IDs must be between 1 and 64 characters long.
|
|
32
|
+
*/
|
|
33
|
+
RoleId?: string;
|
|
34
|
+
}
|
|
35
|
+
interface ApplyToGroupRequest extends IPlayFabRequestCommon {
|
|
36
|
+
/** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */
|
|
37
|
+
AutoAcceptOutstandingInvite?: boolean;
|
|
38
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
39
|
+
CustomTags?: Record<string, string | null>;
|
|
40
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
|
41
|
+
Entity?: EntityKey;
|
|
42
|
+
/** The identifier of the group */
|
|
43
|
+
Group: EntityKey;
|
|
44
|
+
}
|
|
45
|
+
interface ApplyToGroupResponse extends IPlayFabResultCommon {
|
|
46
|
+
/** Type of entity that requested membership */
|
|
47
|
+
Entity?: EntityWithLineage;
|
|
48
|
+
/** When the application to join will expire and be deleted */
|
|
49
|
+
Expires: string;
|
|
50
|
+
/** ID of the group that the entity requesting membership to */
|
|
51
|
+
Group?: EntityKey;
|
|
52
|
+
}
|
|
53
|
+
interface BlockEntityRequest extends IPlayFabRequestCommon {
|
|
54
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
55
|
+
CustomTags?: Record<string, string | null>;
|
|
56
|
+
/** The entity to perform this action on. */
|
|
57
|
+
Entity: EntityKey;
|
|
58
|
+
/** The identifier of the group */
|
|
59
|
+
Group: EntityKey;
|
|
60
|
+
}
|
|
61
|
+
interface ChangeMemberRoleRequest extends IPlayFabRequestCommon {
|
|
62
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
63
|
+
CustomTags?: Record<string, string | null>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1
|
|
66
|
+
* and 64 characters long.
|
|
67
|
+
*/
|
|
68
|
+
DestinationRoleId?: string;
|
|
69
|
+
/** The identifier of the group */
|
|
70
|
+
Group: EntityKey;
|
|
71
|
+
/**
|
|
72
|
+
* List of entities to move between roles in the group. All entities in this list must be members of the group and origin
|
|
73
|
+
* role.
|
|
74
|
+
*/
|
|
75
|
+
Members: EntityKey[];
|
|
76
|
+
/** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */
|
|
77
|
+
OriginRoleId: string;
|
|
78
|
+
}
|
|
79
|
+
interface CreateGroupRequest extends IPlayFabRequestCommon {
|
|
80
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
81
|
+
CustomTags?: Record<string, string | null>;
|
|
82
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
|
83
|
+
Entity?: EntityKey;
|
|
84
|
+
/** The name of the group. This is unique at the title level by default. */
|
|
85
|
+
GroupName: string;
|
|
86
|
+
}
|
|
87
|
+
interface CreateGroupResponse extends IPlayFabResultCommon {
|
|
88
|
+
/** The ID of the administrator role for the group. */
|
|
89
|
+
AdminRoleId?: string;
|
|
90
|
+
/** The server date and time the group was created. */
|
|
91
|
+
Created: string;
|
|
92
|
+
/** The identifier of the group */
|
|
93
|
+
Group: EntityKey;
|
|
94
|
+
/** The name of the group. */
|
|
95
|
+
GroupName?: string;
|
|
96
|
+
/** The ID of the default member role for the group. */
|
|
97
|
+
MemberRoleId?: string;
|
|
98
|
+
/** The current version of the profile, can be used for concurrency control during updates. */
|
|
99
|
+
ProfileVersion: number;
|
|
100
|
+
/** The list of roles and names that belong to the group. */
|
|
101
|
+
Roles?: Record<string, string | null>;
|
|
102
|
+
}
|
|
103
|
+
interface CreateGroupRoleRequest extends IPlayFabRequestCommon {
|
|
104
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
105
|
+
CustomTags?: Record<string, string | null>;
|
|
106
|
+
/** The identifier of the group */
|
|
107
|
+
Group: EntityKey;
|
|
108
|
+
/**
|
|
109
|
+
* The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64
|
|
110
|
+
* characters long and are restricted to a-Z, A-Z, 0-9, '(', ')', '_', '-' and '.'.
|
|
111
|
+
*/
|
|
112
|
+
RoleId: string;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and
|
|
115
|
+
* 100 characters long
|
|
116
|
+
*/
|
|
117
|
+
RoleName: string;
|
|
118
|
+
}
|
|
119
|
+
interface CreateGroupRoleResponse extends IPlayFabResultCommon {
|
|
120
|
+
/** The current version of the group profile, can be used for concurrency control during updates. */
|
|
121
|
+
ProfileVersion: number;
|
|
122
|
+
/** ID for the role */
|
|
123
|
+
RoleId?: string;
|
|
124
|
+
/** The name of the role */
|
|
125
|
+
RoleName?: string;
|
|
126
|
+
}
|
|
127
|
+
interface DeleteGroupRequest extends IPlayFabRequestCommon {
|
|
128
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
129
|
+
CustomTags?: Record<string, string | null>;
|
|
130
|
+
/** ID of the group or role to remove */
|
|
131
|
+
Group: EntityKey;
|
|
132
|
+
}
|
|
133
|
+
interface DeleteRoleRequest extends IPlayFabRequestCommon {
|
|
134
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
135
|
+
CustomTags?: Record<string, string | null>;
|
|
136
|
+
/** The identifier of the group */
|
|
137
|
+
Group: EntityKey;
|
|
138
|
+
/** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */
|
|
139
|
+
RoleId?: string;
|
|
140
|
+
}
|
|
141
|
+
interface EntityKey {
|
|
142
|
+
/** Unique ID of the entity. */
|
|
143
|
+
Id: string;
|
|
144
|
+
/** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
|
|
145
|
+
Type?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Alternate name for Type.
|
|
148
|
+
* @deprecated Please use Type instead.
|
|
149
|
+
*/
|
|
150
|
+
TypeString?: string;
|
|
151
|
+
}
|
|
152
|
+
interface EntityMemberRole {
|
|
153
|
+
/** The list of members in the role */
|
|
154
|
+
Members?: EntityWithLineage[];
|
|
155
|
+
/** The ID of the role. */
|
|
156
|
+
RoleId?: string;
|
|
157
|
+
/** The name of the role */
|
|
158
|
+
RoleName?: string;
|
|
159
|
+
}
|
|
160
|
+
interface EntityWithLineage {
|
|
161
|
+
/** The entity key for the specified entity */
|
|
162
|
+
Key?: EntityKey;
|
|
163
|
+
/** Dictionary of entity keys for related entities. Dictionary key is entity type. */
|
|
164
|
+
Lineage?: Record<string, EntityKey>;
|
|
165
|
+
}
|
|
166
|
+
interface GetGroupRequest extends IPlayFabRequestCommon {
|
|
167
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
168
|
+
CustomTags?: Record<string, string | null>;
|
|
169
|
+
/** The identifier of the group */
|
|
170
|
+
Group?: EntityKey;
|
|
171
|
+
/** The full name of the group */
|
|
172
|
+
GroupName?: string;
|
|
173
|
+
}
|
|
174
|
+
interface GetGroupResponse extends IPlayFabResultCommon {
|
|
175
|
+
/** The ID of the administrator role for the group. */
|
|
176
|
+
AdminRoleId?: string;
|
|
177
|
+
/** The server date and time the group was created. */
|
|
178
|
+
Created: string;
|
|
179
|
+
/** The identifier of the group */
|
|
180
|
+
Group: EntityKey;
|
|
181
|
+
/** The name of the group. */
|
|
182
|
+
GroupName?: string;
|
|
183
|
+
/** The ID of the default member role for the group. */
|
|
184
|
+
MemberRoleId?: string;
|
|
185
|
+
/** The current version of the profile, can be used for concurrency control during updates. */
|
|
186
|
+
ProfileVersion: number;
|
|
187
|
+
/** The list of roles and names that belong to the group. */
|
|
188
|
+
Roles?: Record<string, string | null>;
|
|
189
|
+
}
|
|
190
|
+
interface GroupApplication {
|
|
191
|
+
/** Type of entity that requested membership */
|
|
192
|
+
Entity?: EntityWithLineage;
|
|
193
|
+
/** When the application to join will expire and be deleted */
|
|
194
|
+
Expires: string;
|
|
195
|
+
/** ID of the group that the entity requesting membership to */
|
|
196
|
+
Group?: EntityKey;
|
|
197
|
+
}
|
|
198
|
+
interface GroupBlock {
|
|
199
|
+
/** The entity that is blocked */
|
|
200
|
+
Entity?: EntityWithLineage;
|
|
201
|
+
/** ID of the group that the entity is blocked from */
|
|
202
|
+
Group: EntityKey;
|
|
203
|
+
}
|
|
204
|
+
interface GroupInvitation {
|
|
205
|
+
/** When the invitation will expire and be deleted */
|
|
206
|
+
Expires: string;
|
|
207
|
+
/** The group that the entity invited to */
|
|
208
|
+
Group?: EntityKey;
|
|
209
|
+
/** The entity that created the invitation */
|
|
210
|
+
InvitedByEntity?: EntityWithLineage;
|
|
211
|
+
/** The entity that is invited */
|
|
212
|
+
InvitedEntity?: EntityWithLineage;
|
|
213
|
+
/** ID of the role in the group to assign the user to. */
|
|
214
|
+
RoleId?: string;
|
|
215
|
+
}
|
|
216
|
+
interface GroupRole {
|
|
217
|
+
/** ID for the role */
|
|
218
|
+
RoleId?: string;
|
|
219
|
+
/** The name of the role */
|
|
220
|
+
RoleName?: string;
|
|
221
|
+
}
|
|
222
|
+
interface GroupWithRoles {
|
|
223
|
+
/** ID for the group */
|
|
224
|
+
Group?: EntityKey;
|
|
225
|
+
/** The name of the group */
|
|
226
|
+
GroupName?: string;
|
|
227
|
+
/** The current version of the profile, can be used for concurrency control during updates. */
|
|
228
|
+
ProfileVersion: number;
|
|
229
|
+
/** The list of roles within the group */
|
|
230
|
+
Roles?: GroupRole[];
|
|
231
|
+
}
|
|
232
|
+
interface InviteToGroupRequest extends IPlayFabRequestCommon {
|
|
233
|
+
/** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */
|
|
234
|
+
AutoAcceptOutstandingApplication?: boolean;
|
|
235
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
236
|
+
CustomTags?: Record<string, string | null>;
|
|
237
|
+
/** The entity to perform this action on. */
|
|
238
|
+
Entity: EntityKey;
|
|
239
|
+
/** The identifier of the group */
|
|
240
|
+
Group: EntityKey;
|
|
241
|
+
/**
|
|
242
|
+
* Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this
|
|
243
|
+
* is not specified. Role IDs must be between 1 and 64 characters long.
|
|
244
|
+
*/
|
|
245
|
+
RoleId?: string;
|
|
246
|
+
}
|
|
247
|
+
interface InviteToGroupResponse extends IPlayFabResultCommon {
|
|
248
|
+
/** When the invitation will expire and be deleted */
|
|
249
|
+
Expires: string;
|
|
250
|
+
/** The group that the entity invited to */
|
|
251
|
+
Group?: EntityKey;
|
|
252
|
+
/** The entity that created the invitation */
|
|
253
|
+
InvitedByEntity?: EntityWithLineage;
|
|
254
|
+
/** The entity that is invited */
|
|
255
|
+
InvitedEntity?: EntityWithLineage;
|
|
256
|
+
/** ID of the role in the group to assign the user to. */
|
|
257
|
+
RoleId?: string;
|
|
258
|
+
}
|
|
259
|
+
interface IsMemberRequest extends IPlayFabRequestCommon {
|
|
260
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
261
|
+
CustomTags?: Record<string, string | null>;
|
|
262
|
+
/** The entity to perform this action on. */
|
|
263
|
+
Entity: EntityKey;
|
|
264
|
+
/** The identifier of the group */
|
|
265
|
+
Group: EntityKey;
|
|
266
|
+
/**
|
|
267
|
+
* Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member
|
|
268
|
+
* of the group in any capacity) if not specified.
|
|
269
|
+
*/
|
|
270
|
+
RoleId?: string;
|
|
271
|
+
}
|
|
272
|
+
interface IsMemberResponse extends IPlayFabResultCommon {
|
|
273
|
+
/** A value indicating whether or not the entity is a member. */
|
|
274
|
+
IsMember: boolean;
|
|
275
|
+
}
|
|
276
|
+
interface ListGroupApplicationsRequest extends IPlayFabRequestCommon {
|
|
277
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
278
|
+
CustomTags?: Record<string, string | null>;
|
|
279
|
+
/** The identifier of the group */
|
|
280
|
+
Group: EntityKey;
|
|
281
|
+
}
|
|
282
|
+
interface ListGroupApplicationsResponse extends IPlayFabResultCommon {
|
|
283
|
+
/** The requested list of applications to the group. */
|
|
284
|
+
Applications?: GroupApplication[];
|
|
285
|
+
}
|
|
286
|
+
interface ListGroupBlocksRequest extends IPlayFabRequestCommon {
|
|
287
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
288
|
+
CustomTags?: Record<string, string | null>;
|
|
289
|
+
/** The identifier of the group */
|
|
290
|
+
Group: EntityKey;
|
|
291
|
+
}
|
|
292
|
+
interface ListGroupBlocksResponse extends IPlayFabResultCommon {
|
|
293
|
+
/** The requested list blocked entities. */
|
|
294
|
+
BlockedEntities?: GroupBlock[];
|
|
295
|
+
}
|
|
296
|
+
interface ListGroupInvitationsRequest extends IPlayFabRequestCommon {
|
|
297
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
298
|
+
CustomTags?: Record<string, string | null>;
|
|
299
|
+
/** The identifier of the group */
|
|
300
|
+
Group: EntityKey;
|
|
301
|
+
}
|
|
302
|
+
interface ListGroupInvitationsResponse extends IPlayFabResultCommon {
|
|
303
|
+
/** The requested list of group invitations. */
|
|
304
|
+
Invitations?: GroupInvitation[];
|
|
305
|
+
}
|
|
306
|
+
interface ListGroupMembersRequest extends IPlayFabRequestCommon {
|
|
307
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
308
|
+
CustomTags?: Record<string, string | null>;
|
|
309
|
+
/** ID of the group to list the members and roles for */
|
|
310
|
+
Group: EntityKey;
|
|
311
|
+
}
|
|
312
|
+
interface ListGroupMembersResponse extends IPlayFabResultCommon {
|
|
313
|
+
/** The requested list of roles and member entity IDs. */
|
|
314
|
+
Members?: EntityMemberRole[];
|
|
315
|
+
}
|
|
316
|
+
interface ListMembershipOpportunitiesRequest extends IPlayFabRequestCommon {
|
|
317
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
318
|
+
CustomTags?: Record<string, string | null>;
|
|
319
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
|
320
|
+
Entity?: EntityKey;
|
|
321
|
+
}
|
|
322
|
+
interface ListMembershipOpportunitiesResponse extends IPlayFabResultCommon {
|
|
323
|
+
/** The requested list of group applications. */
|
|
324
|
+
Applications?: GroupApplication[];
|
|
325
|
+
/** The requested list of group invitations. */
|
|
326
|
+
Invitations?: GroupInvitation[];
|
|
327
|
+
}
|
|
328
|
+
interface ListMembershipRequest extends IPlayFabRequestCommon {
|
|
329
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
330
|
+
CustomTags?: Record<string, string | null>;
|
|
331
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
|
332
|
+
Entity?: EntityKey;
|
|
333
|
+
}
|
|
334
|
+
interface ListMembershipResponse extends IPlayFabResultCommon {
|
|
335
|
+
/** The list of groups */
|
|
336
|
+
Groups?: GroupWithRoles[];
|
|
337
|
+
}
|
|
338
|
+
interface RemoveGroupApplicationRequest extends IPlayFabRequestCommon {
|
|
339
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
340
|
+
CustomTags?: Record<string, string | null>;
|
|
341
|
+
/** The entity to perform this action on. */
|
|
342
|
+
Entity: EntityKey;
|
|
343
|
+
/** The identifier of the group */
|
|
344
|
+
Group: EntityKey;
|
|
345
|
+
}
|
|
346
|
+
interface RemoveGroupInvitationRequest extends IPlayFabRequestCommon {
|
|
347
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
348
|
+
CustomTags?: Record<string, string | null>;
|
|
349
|
+
/** The entity to perform this action on. */
|
|
350
|
+
Entity: EntityKey;
|
|
351
|
+
/** The identifier of the group */
|
|
352
|
+
Group: EntityKey;
|
|
353
|
+
}
|
|
354
|
+
interface RemoveMembersRequest extends IPlayFabRequestCommon {
|
|
355
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
356
|
+
CustomTags?: Record<string, string | null>;
|
|
357
|
+
/** The identifier of the group */
|
|
358
|
+
Group: EntityKey;
|
|
359
|
+
/** List of entities to remove */
|
|
360
|
+
Members: EntityKey[];
|
|
361
|
+
/** The ID of the role to remove the entities from. */
|
|
362
|
+
RoleId?: string;
|
|
363
|
+
}
|
|
364
|
+
interface UnblockEntityRequest extends IPlayFabRequestCommon {
|
|
365
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
366
|
+
CustomTags?: Record<string, string | null>;
|
|
367
|
+
/** The entity to perform this action on. */
|
|
368
|
+
Entity: EntityKey;
|
|
369
|
+
/** The identifier of the group */
|
|
370
|
+
Group: EntityKey;
|
|
371
|
+
}
|
|
372
|
+
interface UpdateGroupRequest extends IPlayFabRequestCommon {
|
|
373
|
+
/** Optional: the ID of an existing role to set as the new administrator role for the group */
|
|
374
|
+
AdminRoleId?: string;
|
|
375
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
376
|
+
CustomTags?: Record<string, string | null>;
|
|
377
|
+
/**
|
|
378
|
+
* Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the
|
|
379
|
+
* GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any
|
|
380
|
+
* other clients since the version you last loaded.
|
|
381
|
+
*/
|
|
382
|
+
ExpectedProfileVersion?: number;
|
|
383
|
+
/** The identifier of the group */
|
|
384
|
+
Group: EntityKey;
|
|
385
|
+
/** Optional: the new name of the group */
|
|
386
|
+
GroupName?: string;
|
|
387
|
+
/** Optional: the ID of an existing role to set as the new member role for the group */
|
|
388
|
+
MemberRoleId?: string;
|
|
389
|
+
}
|
|
390
|
+
interface UpdateGroupResponse extends IPlayFabResultCommon {
|
|
391
|
+
/** Optional reason to explain why the operation was the result that it was. */
|
|
392
|
+
OperationReason?: string;
|
|
393
|
+
/** New version of the group data. */
|
|
394
|
+
ProfileVersion: number;
|
|
395
|
+
/** Indicates which operation was completed, either Created, Updated, Deleted or None. */
|
|
396
|
+
SetResult?: string;
|
|
397
|
+
}
|
|
398
|
+
interface UpdateGroupRoleRequest extends IPlayFabRequestCommon {
|
|
399
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
400
|
+
CustomTags?: Record<string, string | null>;
|
|
401
|
+
/**
|
|
402
|
+
* Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the
|
|
403
|
+
* GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any
|
|
404
|
+
* other clients since the version you last loaded.
|
|
405
|
+
*/
|
|
406
|
+
ExpectedProfileVersion?: number;
|
|
407
|
+
/** The identifier of the group */
|
|
408
|
+
Group: EntityKey;
|
|
409
|
+
/** ID of the role to update. Role IDs must be between 1 and 64 characters long. */
|
|
410
|
+
RoleId?: string;
|
|
411
|
+
/** The new name of the role */
|
|
412
|
+
RoleName: string;
|
|
413
|
+
}
|
|
414
|
+
interface UpdateGroupRoleResponse extends IPlayFabResultCommon {
|
|
415
|
+
/** Optional reason to explain why the operation was the result that it was. */
|
|
416
|
+
OperationReason?: string;
|
|
417
|
+
/** New version of the role data. */
|
|
418
|
+
ProfileVersion: number;
|
|
419
|
+
/** Indicates which operation was completed, either Created, Updated, Deleted or None. */
|
|
420
|
+
SetResult?: string;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
declare class PlayFabGroupsApi extends PlayFabCommon {
|
|
424
|
+
/**
|
|
425
|
+
* Accepts an outstanding invitation to to join a group
|
|
426
|
+
*
|
|
427
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/acceptgroupapplication Microsoft Documentation}
|
|
428
|
+
* @example
|
|
429
|
+
* await groupClient.AcceptGroupApplication({
|
|
430
|
+
* "Group": {
|
|
431
|
+
* "Id": "ABC1234ABC"
|
|
432
|
+
* },
|
|
433
|
+
* "Entity": {
|
|
434
|
+
* "Id": "90901000",
|
|
435
|
+
* "Type": "title_player_account",
|
|
436
|
+
* "TypeString": "title_player_account"
|
|
437
|
+
* }
|
|
438
|
+
* });
|
|
439
|
+
*/
|
|
440
|
+
AcceptGroupApplication(request: AcceptGroupApplicationRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
441
|
+
/**
|
|
442
|
+
* Accepts an invitation to join a group
|
|
443
|
+
*
|
|
444
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/acceptgroupinvitation Microsoft Documentation}
|
|
445
|
+
* @example
|
|
446
|
+
* await groupClient.AcceptGroupInvitation({
|
|
447
|
+
* "Group": {
|
|
448
|
+
* "Id": "ABC1234ABC"
|
|
449
|
+
* }
|
|
450
|
+
* });
|
|
451
|
+
*/
|
|
452
|
+
AcceptGroupInvitation(request: AcceptGroupInvitationRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
453
|
+
/**
|
|
454
|
+
* Adds members to a group or role.
|
|
455
|
+
*
|
|
456
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/addmembers Microsoft Documentation}
|
|
457
|
+
* @example
|
|
458
|
+
* await groupClient.AddMembers({
|
|
459
|
+
* "Group": {
|
|
460
|
+
* "Id": "ABC1234ABC"
|
|
461
|
+
* },
|
|
462
|
+
* "Members": [
|
|
463
|
+
* {
|
|
464
|
+
* "Id": "90901000",
|
|
465
|
+
* "Type": "title_player_account",
|
|
466
|
+
* "TypeString": "title_player_account"
|
|
467
|
+
* }
|
|
468
|
+
* ]
|
|
469
|
+
* });
|
|
470
|
+
*/
|
|
471
|
+
AddMembers(request: AddMembersRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
472
|
+
/**
|
|
473
|
+
* Applies to join a group
|
|
474
|
+
*
|
|
475
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/applytogroup Microsoft Documentation}
|
|
476
|
+
* @example
|
|
477
|
+
* await groupClient.ApplyToGroup({
|
|
478
|
+
* "Group": {
|
|
479
|
+
* "Id": "ABC1234ABC"
|
|
480
|
+
* }
|
|
481
|
+
* });
|
|
482
|
+
*/
|
|
483
|
+
ApplyToGroup(request: ApplyToGroupRequest, extraHeaders?: Record<string, string>): Promise<ApplyToGroupResponse>;
|
|
484
|
+
/**
|
|
485
|
+
* Blocks a list of entities from joining a group.
|
|
486
|
+
*
|
|
487
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/blockentity Microsoft Documentation}
|
|
488
|
+
* @example
|
|
489
|
+
* await groupClient.BlockEntity({
|
|
490
|
+
* "Group": {
|
|
491
|
+
* "Id": "ABC1234ABC"
|
|
492
|
+
* },
|
|
493
|
+
* "Entity": {
|
|
494
|
+
* "Id": "90901000",
|
|
495
|
+
* "Type": "title_player_account",
|
|
496
|
+
* "TypeString": "title_player_account"
|
|
497
|
+
* }
|
|
498
|
+
* });
|
|
499
|
+
*/
|
|
500
|
+
BlockEntity(request: BlockEntityRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
501
|
+
/**
|
|
502
|
+
* Changes the role membership of a list of entities from one role to another.
|
|
503
|
+
*
|
|
504
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/changememberrole Microsoft Documentation}
|
|
505
|
+
* @example
|
|
506
|
+
* await groupClient.ChangeMemberRole({
|
|
507
|
+
* "Group": {
|
|
508
|
+
* "Id": "ABC1234ABC"
|
|
509
|
+
* },
|
|
510
|
+
* "OriginRoleId": "awesomepeople",
|
|
511
|
+
* "DestinationRoleId": "members",
|
|
512
|
+
* "Members": [
|
|
513
|
+
* {
|
|
514
|
+
* "Id": "90901000",
|
|
515
|
+
* "Type": "title_player_account",
|
|
516
|
+
* "TypeString": "title_player_account"
|
|
517
|
+
* }
|
|
518
|
+
* ]
|
|
519
|
+
* });
|
|
520
|
+
*/
|
|
521
|
+
ChangeMemberRole(request: ChangeMemberRoleRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
522
|
+
/**
|
|
523
|
+
* Creates a new group.
|
|
524
|
+
*
|
|
525
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/creategroup Microsoft Documentation}
|
|
526
|
+
* @example
|
|
527
|
+
* await groupClient.CreateGroup({
|
|
528
|
+
* "GroupName": "Example Group"
|
|
529
|
+
* });
|
|
530
|
+
*/
|
|
531
|
+
CreateGroup(request: CreateGroupRequest, extraHeaders?: Record<string, string>): Promise<CreateGroupResponse>;
|
|
532
|
+
/**
|
|
533
|
+
* Creates a new group role.
|
|
534
|
+
*
|
|
535
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/createrole Microsoft Documentation}
|
|
536
|
+
* @example
|
|
537
|
+
* await groupClient.CreateRole({
|
|
538
|
+
* "RoleId": "example",
|
|
539
|
+
* "RoleName": "Example Role",
|
|
540
|
+
* "Group": {
|
|
541
|
+
* "Id": "ABC1234ABC"
|
|
542
|
+
* }
|
|
543
|
+
* });
|
|
544
|
+
*/
|
|
545
|
+
CreateRole(request: CreateGroupRoleRequest, extraHeaders?: Record<string, string>): Promise<CreateGroupRoleResponse>;
|
|
546
|
+
/**
|
|
547
|
+
* Deletes a group and all roles, invitations, join requests, and blocks associated with it.
|
|
548
|
+
*
|
|
549
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/deletegroup Microsoft Documentation}
|
|
550
|
+
* @example
|
|
551
|
+
* await groupClient.DeleteGroup({
|
|
552
|
+
* "Group": {
|
|
553
|
+
* "Id": "ABC1234ABC"
|
|
554
|
+
* }
|
|
555
|
+
* });
|
|
556
|
+
*/
|
|
557
|
+
DeleteGroup(request: DeleteGroupRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
558
|
+
/**
|
|
559
|
+
* Deletes an existing role in a group.
|
|
560
|
+
*
|
|
561
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/deleterole Microsoft Documentation}
|
|
562
|
+
* @example
|
|
563
|
+
* await groupClient.DeleteRole({
|
|
564
|
+
* "Group": {
|
|
565
|
+
* "Id": "ABC1234ABC"
|
|
566
|
+
* },
|
|
567
|
+
* "RoleId": "ABC1234DEF"
|
|
568
|
+
* });
|
|
569
|
+
*/
|
|
570
|
+
DeleteRole(request: DeleteRoleRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
571
|
+
/**
|
|
572
|
+
* Gets information about a group and its roles
|
|
573
|
+
*
|
|
574
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/getgroup Microsoft Documentation}
|
|
575
|
+
* @example
|
|
576
|
+
* await groupClient.GetGroup({
|
|
577
|
+
* "Group": {
|
|
578
|
+
* "Id": "ABC1234ABC"
|
|
579
|
+
* }
|
|
580
|
+
* });
|
|
581
|
+
*/
|
|
582
|
+
GetGroup(request: GetGroupRequest, extraHeaders?: Record<string, string>): Promise<GetGroupResponse>;
|
|
583
|
+
/**
|
|
584
|
+
* Invites a player to join a group
|
|
585
|
+
*
|
|
586
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/invitetogroup Microsoft Documentation}
|
|
587
|
+
* @example
|
|
588
|
+
* await groupClient.InviteToGroup({
|
|
589
|
+
* "Group": {
|
|
590
|
+
* "Id": "ABC1234ABC"
|
|
591
|
+
* },
|
|
592
|
+
* "RoleId": "awesomepeople",
|
|
593
|
+
* "Entity": {
|
|
594
|
+
* "Id": "90901000",
|
|
595
|
+
* "Type": "title_player_account",
|
|
596
|
+
* "TypeString": "title_player_account"
|
|
597
|
+
* }
|
|
598
|
+
* });
|
|
599
|
+
*/
|
|
600
|
+
InviteToGroup(request: InviteToGroupRequest, extraHeaders?: Record<string, string>): Promise<InviteToGroupResponse>;
|
|
601
|
+
/**
|
|
602
|
+
* Checks to see if an entity is a member of a group or role within the group
|
|
603
|
+
*
|
|
604
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/ismember Microsoft Documentation}
|
|
605
|
+
* @example
|
|
606
|
+
* await groupClient.IsMember({
|
|
607
|
+
* "Group": {
|
|
608
|
+
* "Id": "ABC1234ABC"
|
|
609
|
+
* },
|
|
610
|
+
* "RoleId": "ABC1234DEF",
|
|
611
|
+
* "Entity": {
|
|
612
|
+
* "Id": "90901000",
|
|
613
|
+
* "Type": "title_player_account",
|
|
614
|
+
* "TypeString": "title_player_account"
|
|
615
|
+
* }
|
|
616
|
+
* });
|
|
617
|
+
*/
|
|
618
|
+
IsMember(request: IsMemberRequest, extraHeaders?: Record<string, string>): Promise<IsMemberResponse>;
|
|
619
|
+
/**
|
|
620
|
+
* Lists all outstanding requests to join a group
|
|
621
|
+
*
|
|
622
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupapplications Microsoft Documentation}
|
|
623
|
+
* @example
|
|
624
|
+
* await groupClient.ListGroupApplications({
|
|
625
|
+
* "Group": {
|
|
626
|
+
* "Id": "ABC1234ABC"
|
|
627
|
+
* }
|
|
628
|
+
* });
|
|
629
|
+
*/
|
|
630
|
+
ListGroupApplications(request: ListGroupApplicationsRequest, extraHeaders?: Record<string, string>): Promise<ListGroupApplicationsResponse>;
|
|
631
|
+
/**
|
|
632
|
+
* Lists all entities blocked from joining a group
|
|
633
|
+
*
|
|
634
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupblocks Microsoft Documentation}
|
|
635
|
+
* @example
|
|
636
|
+
* await groupClient.ListGroupBlocks({
|
|
637
|
+
* "Group": {
|
|
638
|
+
* "Id": "ABC1234ABC"
|
|
639
|
+
* }
|
|
640
|
+
* });
|
|
641
|
+
*/
|
|
642
|
+
ListGroupBlocks(request: ListGroupBlocksRequest, extraHeaders?: Record<string, string>): Promise<ListGroupBlocksResponse>;
|
|
643
|
+
/**
|
|
644
|
+
* Lists all outstanding invitations for a group
|
|
645
|
+
*
|
|
646
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupinvitations Microsoft Documentation}
|
|
647
|
+
* @example
|
|
648
|
+
* await groupClient.ListGroupInvitations({
|
|
649
|
+
* "Group": {
|
|
650
|
+
* "Id": "ABC1234ABC"
|
|
651
|
+
* }
|
|
652
|
+
* });
|
|
653
|
+
*/
|
|
654
|
+
ListGroupInvitations(request: ListGroupInvitationsRequest, extraHeaders?: Record<string, string>): Promise<ListGroupInvitationsResponse>;
|
|
655
|
+
/**
|
|
656
|
+
* Lists all members for a group
|
|
657
|
+
*
|
|
658
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listgroupmembers Microsoft Documentation}
|
|
659
|
+
* @example
|
|
660
|
+
* await groupClient.ListGroupMembers({
|
|
661
|
+
* "Group": {
|
|
662
|
+
* "Id": "ABC1234ABC"
|
|
663
|
+
* }
|
|
664
|
+
* });
|
|
665
|
+
*/
|
|
666
|
+
ListGroupMembers(request: ListGroupMembersRequest, extraHeaders?: Record<string, string>): Promise<ListGroupMembersResponse>;
|
|
667
|
+
/**
|
|
668
|
+
* Lists all groups and roles for an entity
|
|
669
|
+
*
|
|
670
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listmembership Microsoft Documentation}
|
|
671
|
+
* @example
|
|
672
|
+
* await groupClient.ListMembership({});
|
|
673
|
+
*/
|
|
674
|
+
ListMembership(request: ListMembershipRequest, extraHeaders?: Record<string, string>): Promise<ListMembershipResponse>;
|
|
675
|
+
/**
|
|
676
|
+
* Lists all outstanding invitations and group applications for an entity
|
|
677
|
+
*
|
|
678
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/listmembershipopportunities Microsoft Documentation}
|
|
679
|
+
* @example
|
|
680
|
+
* await groupClient.ListMembershipOpportunities({});
|
|
681
|
+
*/
|
|
682
|
+
ListMembershipOpportunities(request: ListMembershipOpportunitiesRequest, extraHeaders?: Record<string, string>): Promise<ListMembershipOpportunitiesResponse>;
|
|
683
|
+
/**
|
|
684
|
+
* Removes an application to join a group
|
|
685
|
+
*
|
|
686
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removegroupapplication Microsoft Documentation}
|
|
687
|
+
* @example
|
|
688
|
+
* await groupClient.RemoveGroupApplication({
|
|
689
|
+
* "Group": {
|
|
690
|
+
* "Id": "ABC1234ABC"
|
|
691
|
+
* },
|
|
692
|
+
* "Entity": {
|
|
693
|
+
* "Id": "90901000",
|
|
694
|
+
* "Type": "title_player_account",
|
|
695
|
+
* "TypeString": "title_player_account"
|
|
696
|
+
* }
|
|
697
|
+
* });
|
|
698
|
+
*/
|
|
699
|
+
RemoveGroupApplication(request: RemoveGroupApplicationRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
700
|
+
/**
|
|
701
|
+
* Removes an invitation join a group
|
|
702
|
+
*
|
|
703
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removegroupinvitation Microsoft Documentation}
|
|
704
|
+
* @example
|
|
705
|
+
* await groupClient.RemoveGroupInvitation({
|
|
706
|
+
* "Group": {
|
|
707
|
+
* "Id": "ABC1234ABC"
|
|
708
|
+
* },
|
|
709
|
+
* "Entity": {
|
|
710
|
+
* "Id": "90901000",
|
|
711
|
+
* "Type": "title_player_account",
|
|
712
|
+
* "TypeString": "title_player_account"
|
|
713
|
+
* }
|
|
714
|
+
* });
|
|
715
|
+
*/
|
|
716
|
+
RemoveGroupInvitation(request: RemoveGroupInvitationRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
717
|
+
/**
|
|
718
|
+
* Removes members from a group.
|
|
719
|
+
*
|
|
720
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/removemembers Microsoft Documentation}
|
|
721
|
+
* @example
|
|
722
|
+
* await groupClient.RemoveMembers({
|
|
723
|
+
* "Group": {
|
|
724
|
+
* "Id": "ABC1234ABC"
|
|
725
|
+
* },
|
|
726
|
+
* "RoleId": "ABC1234DEF",
|
|
727
|
+
* "Members": [
|
|
728
|
+
* {
|
|
729
|
+
* "Id": "90901000",
|
|
730
|
+
* "Type": "title_player_account",
|
|
731
|
+
* "TypeString": "title_player_account"
|
|
732
|
+
* }
|
|
733
|
+
* ]
|
|
734
|
+
* });
|
|
735
|
+
*/
|
|
736
|
+
RemoveMembers(request: RemoveMembersRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
737
|
+
/**
|
|
738
|
+
* Unblocks a list of entities from joining a group
|
|
739
|
+
*
|
|
740
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/unblockentity Microsoft Documentation}
|
|
741
|
+
* @example
|
|
742
|
+
* await groupClient.UnblockEntity({
|
|
743
|
+
* "Group": {
|
|
744
|
+
* "Id": "ABC1234ABC"
|
|
745
|
+
* },
|
|
746
|
+
* "Entity": {
|
|
747
|
+
* "Id": "90901000",
|
|
748
|
+
* "Type": "title_player_account",
|
|
749
|
+
* "TypeString": "title_player_account"
|
|
750
|
+
* }
|
|
751
|
+
* });
|
|
752
|
+
*/
|
|
753
|
+
UnblockEntity(request: UnblockEntityRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
|
|
754
|
+
/**
|
|
755
|
+
* Updates non-membership data about a group.
|
|
756
|
+
*
|
|
757
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/updategroup Microsoft Documentation}
|
|
758
|
+
* @example
|
|
759
|
+
* await groupClient.UpdateGroup({
|
|
760
|
+
* "Group": {
|
|
761
|
+
* "Id": "ABC1234ABC"
|
|
762
|
+
* },
|
|
763
|
+
* "GroupName": "My New Group Name",
|
|
764
|
+
* "ExpectedProfileVersion": 17
|
|
765
|
+
* });
|
|
766
|
+
*/
|
|
767
|
+
UpdateGroup(request: UpdateGroupRequest, extraHeaders?: Record<string, string>): Promise<UpdateGroupResponse>;
|
|
768
|
+
/**
|
|
769
|
+
* Updates metadata about a role.
|
|
770
|
+
*
|
|
771
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/group/groups/updaterole Microsoft Documentation}
|
|
772
|
+
* @example
|
|
773
|
+
* await groupClient.UpdateRole({
|
|
774
|
+
* "Group": {
|
|
775
|
+
* "Id": "ABC1234ABC"
|
|
776
|
+
* },
|
|
777
|
+
* "RoleId": "ABC1234DEF",
|
|
778
|
+
* "RoleName": "My New Role Name",
|
|
779
|
+
* "ExpectedProfileVersion": 17
|
|
780
|
+
* });
|
|
781
|
+
*/
|
|
782
|
+
UpdateRole(request: UpdateGroupRoleRequest, extraHeaders?: Record<string, string>): Promise<UpdateGroupRoleResponse>;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export { PlayFabGroupsApi as default };
|