@community-fabs/playfab-web-sdk 1.193.250606-1 → 1.193.250606-2
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/Admin.d.ts +117 -83
- package/dist/Authentication.d.ts +4 -2
- package/dist/Client.d.ts +51 -32
- package/dist/CloudScript.d.ts +15 -8
- package/dist/Data.d.ts +2 -1
- package/dist/Economy.d.ts +24 -16
- package/dist/Events.d.ts +5 -3
- package/dist/Experimentation.d.ts +8 -5
- package/dist/Groups.d.ts +3 -2
- package/dist/Matchmaker.d.ts +3 -2
- package/dist/Multiplayer.d.ts +60 -45
- package/dist/Profiles.d.ts +6 -4
- package/dist/Progression.d.ts +8 -4
- package/dist/Server.d.ts +55 -35
- package/package.json +6 -5
package/dist/Economy.d.ts
CHANGED
|
@@ -249,7 +249,7 @@ interface CatalogView {
|
|
|
249
249
|
* The format to use when exporting the view file. Supported file formats are: Json, JsonLines, GZippedJson,
|
|
250
250
|
* GZippedJsonLines
|
|
251
251
|
*/
|
|
252
|
-
FileFormat?:
|
|
252
|
+
FileFormat?: ViewFileFormat;
|
|
253
253
|
/** An OData filter used to refine the search query. */
|
|
254
254
|
Filter?: string;
|
|
255
255
|
/** An optional alternate friendly ID associated with this view. */
|
|
@@ -282,8 +282,9 @@ interface CatalogViewDiagnostics {
|
|
|
282
282
|
/** The last size of the view in bytes. */
|
|
283
283
|
SizeInBytes?: number;
|
|
284
284
|
/** The last status of the view. */
|
|
285
|
-
Status?:
|
|
285
|
+
Status?: CatalogViewStatus;
|
|
286
286
|
}
|
|
287
|
+
type CatalogViewStatus = "Unknown" | "Success" | "FileSizeExceeded" | "Error" | "StoreDoesNotExist" | "TransientError" | "PartialSuccess" | "Pending";
|
|
287
288
|
interface CategoryRatingConfig {
|
|
288
289
|
/** Name of the category. */
|
|
289
290
|
Name?: string;
|
|
@@ -298,6 +299,7 @@ interface CompleteVersionedCatalogUploadResponse extends IPlayFabResultCommon {
|
|
|
298
299
|
/** Version of the catalog. */
|
|
299
300
|
Version?: string;
|
|
300
301
|
}
|
|
302
|
+
type ConcernCategory = "None" | "OffensiveContent" | "ChildExploitation" | "MalwareOrVirus" | "PrivacyConcerns" | "MisleadingApp" | "PoorPerformance" | "ReviewResponse" | "SpamAdvertising" | "Profanity";
|
|
301
303
|
interface Content {
|
|
302
304
|
/** The content unique ID. */
|
|
303
305
|
Id?: string;
|
|
@@ -321,6 +323,7 @@ interface Content {
|
|
|
321
323
|
/** The Azure CDN URL for retrieval of the catalog item binary content. */
|
|
322
324
|
Url?: string;
|
|
323
325
|
}
|
|
326
|
+
type CountryCode = "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | "Unknown";
|
|
324
327
|
interface CreateDraftItemRequest extends IPlayFabRequestCommon {
|
|
325
328
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
326
329
|
CustomTags?: Record<string, string | null>;
|
|
@@ -467,8 +470,9 @@ interface DisplayPropertyIndexInfo {
|
|
|
467
470
|
/** The property name in the 'DisplayProperties' property to be indexed. */
|
|
468
471
|
Name?: string;
|
|
469
472
|
/** The type of the property to be indexed. */
|
|
470
|
-
Type?:
|
|
473
|
+
Type?: DisplayPropertyType;
|
|
471
474
|
}
|
|
475
|
+
type DisplayPropertyType = "None" | "QueryDateTime" | "QueryDouble" | "QueryString" | "SearchString";
|
|
472
476
|
interface EntityKey {
|
|
473
477
|
/** Unique ID of the entity. */
|
|
474
478
|
Id: string;
|
|
@@ -779,7 +783,7 @@ interface GetItemPublishStatusRequest extends IPlayFabRequestCommon {
|
|
|
779
783
|
}
|
|
780
784
|
interface GetItemPublishStatusResponse extends IPlayFabResultCommon {
|
|
781
785
|
/** High level status of the published item. */
|
|
782
|
-
Result?:
|
|
786
|
+
Result?: PublishResult;
|
|
783
787
|
/** Descriptive message about the current status of the publish. */
|
|
784
788
|
StatusMessage?: string;
|
|
785
789
|
}
|
|
@@ -957,6 +961,7 @@ interface GooglePlayProductPurchase {
|
|
|
957
961
|
/** The token provided to the player's device when the product was purchased */
|
|
958
962
|
Token?: string;
|
|
959
963
|
}
|
|
964
|
+
type HelpfulnessVote = "None" | "UnHelpful" | "Helpful";
|
|
960
965
|
interface IActionResult extends IPlayFabResultCommon {
|
|
961
966
|
}
|
|
962
967
|
interface Image {
|
|
@@ -1040,8 +1045,9 @@ interface ModerationState {
|
|
|
1040
1045
|
/** The current stated reason for the associated item being moderated. */
|
|
1041
1046
|
Reason?: string;
|
|
1042
1047
|
/** The current moderation status for the associated item. */
|
|
1043
|
-
Status?:
|
|
1048
|
+
Status?: ModerationStatus;
|
|
1044
1049
|
}
|
|
1050
|
+
type ModerationStatus = "Unknown" | "AwaitingModeration" | "Approved" | "Rejected";
|
|
1045
1051
|
interface Permissions {
|
|
1046
1052
|
/**
|
|
1047
1053
|
* The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player
|
|
@@ -1067,6 +1073,7 @@ interface PublishDraftItemRequest extends IPlayFabRequestCommon {
|
|
|
1067
1073
|
}
|
|
1068
1074
|
interface PublishDraftItemResponse extends IPlayFabResultCommon {
|
|
1069
1075
|
}
|
|
1076
|
+
type PublishResult = "Unknown" | "Pending" | "Succeeded" | "Failed" | "Canceled";
|
|
1070
1077
|
interface PurchaseInventoryItemsOperation {
|
|
1071
1078
|
/** The amount to purchase. */
|
|
1072
1079
|
Amount?: number;
|
|
@@ -1187,7 +1194,7 @@ interface RedeemAppleAppStoreInventoryItemsRequest extends IPlayFabRequestCommon
|
|
|
1187
1194
|
/** The id of the entity's collection to perform this action on. (Default="default") */
|
|
1188
1195
|
CollectionId?: string;
|
|
1189
1196
|
/** The country code of the real money transaction. */
|
|
1190
|
-
CountryCode?:
|
|
1197
|
+
CountryCode?: CountryCode;
|
|
1191
1198
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1192
1199
|
CustomTags?: Record<string, string | null>;
|
|
1193
1200
|
/** The entity to perform this action on. */
|
|
@@ -1212,7 +1219,7 @@ interface RedeemGooglePlayInventoryItemsRequest extends IPlayFabRequestCommon {
|
|
|
1212
1219
|
/** The id of the entity's collection to perform this action on. (Default="default") */
|
|
1213
1220
|
CollectionId?: string;
|
|
1214
1221
|
/** The country code of the real money transaction. */
|
|
1215
|
-
CountryCode?:
|
|
1222
|
+
CountryCode?: CountryCode;
|
|
1216
1223
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1217
1224
|
CustomTags?: Record<string, string | null>;
|
|
1218
1225
|
/** The entity to perform this action on. */
|
|
@@ -1239,7 +1246,7 @@ interface RedeemMicrosoftStoreInventoryItemsRequest extends IPlayFabRequestCommo
|
|
|
1239
1246
|
/** The OneStore Collections Id Key used for AAD authentication. */
|
|
1240
1247
|
CollectionsIdKey?: string;
|
|
1241
1248
|
/** The country code of the real money transaction. */
|
|
1242
|
-
CountryCode?:
|
|
1249
|
+
CountryCode?: CountryCode;
|
|
1243
1250
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1244
1251
|
CustomTags?: Record<string, string | null>;
|
|
1245
1252
|
/** The entity to perform this action on. */
|
|
@@ -1267,7 +1274,7 @@ interface RedeemNintendoEShopInventoryItemsRequest extends IPlayFabRequestCommon
|
|
|
1267
1274
|
/** The id of the entity's collection to perform this action on. (Default="default") */
|
|
1268
1275
|
CollectionId?: string;
|
|
1269
1276
|
/** The country code of the real money transaction. */
|
|
1270
|
-
CountryCode?:
|
|
1277
|
+
CountryCode?: CountryCode;
|
|
1271
1278
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1272
1279
|
CustomTags?: Record<string, string | null>;
|
|
1273
1280
|
/** The entity to perform this action on. */
|
|
@@ -1294,7 +1301,7 @@ interface RedeemPlayStationStoreInventoryItemsRequest extends IPlayFabRequestCom
|
|
|
1294
1301
|
/** The id of the entity's collection to perform this action on. (Default="default") */
|
|
1295
1302
|
CollectionId?: string;
|
|
1296
1303
|
/** The country code of the real money transaction. */
|
|
1297
|
-
CountryCode?:
|
|
1304
|
+
CountryCode?: CountryCode;
|
|
1298
1305
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1299
1306
|
CustomTags?: Record<string, string | null>;
|
|
1300
1307
|
/** The entity to perform this action on. */
|
|
@@ -1321,7 +1328,7 @@ interface RedeemSteamInventoryItemsRequest extends IPlayFabRequestCommon {
|
|
|
1321
1328
|
/** The id of the entity's collection to perform this action on. (Default="default") */
|
|
1322
1329
|
CollectionId?: string;
|
|
1323
1330
|
/** The country code of the real money transaction. */
|
|
1324
|
-
CountryCode?:
|
|
1331
|
+
CountryCode?: CountryCode;
|
|
1325
1332
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1326
1333
|
CustomTags?: Record<string, string | null>;
|
|
1327
1334
|
/** The entity to perform this action on. */
|
|
@@ -1362,7 +1369,7 @@ interface ReportItemRequest extends IPlayFabRequestCommon {
|
|
|
1362
1369
|
/** An alternate ID associated with this item. */
|
|
1363
1370
|
AlternateId?: CatalogAlternateId;
|
|
1364
1371
|
/** Category of concern for this report. */
|
|
1365
|
-
ConcernCategory?:
|
|
1372
|
+
ConcernCategory?: ConcernCategory;
|
|
1366
1373
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1367
1374
|
CustomTags?: Record<string, string | null>;
|
|
1368
1375
|
/** The entity to perform this action on. */
|
|
@@ -1378,7 +1385,7 @@ interface ReportItemReviewRequest extends IPlayFabRequestCommon {
|
|
|
1378
1385
|
/** An alternate ID of the item associated with the review. */
|
|
1379
1386
|
AlternateId?: CatalogAlternateId;
|
|
1380
1387
|
/** The reason this review is being reported. */
|
|
1381
|
-
ConcernCategory?:
|
|
1388
|
+
ConcernCategory?: ConcernCategory;
|
|
1382
1389
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1383
1390
|
CustomTags?: Record<string, string | null>;
|
|
1384
1391
|
/** The entity to perform this action on. */
|
|
@@ -1490,7 +1497,7 @@ interface SetItemModerationStateRequest extends IPlayFabRequestCommon {
|
|
|
1490
1497
|
/** The reason for the moderation state change for the associated item. */
|
|
1491
1498
|
Reason?: string;
|
|
1492
1499
|
/** The status to set for the associated item. */
|
|
1493
|
-
Status?:
|
|
1500
|
+
Status?: ModerationStatus;
|
|
1494
1501
|
}
|
|
1495
1502
|
interface SetItemModerationStateResponse extends IPlayFabResultCommon {
|
|
1496
1503
|
}
|
|
@@ -1520,7 +1527,7 @@ interface SubmitItemReviewVoteRequest extends IPlayFabRequestCommon {
|
|
|
1520
1527
|
/** The ID of the review to submit a helpfulness vote for. */
|
|
1521
1528
|
ReviewId?: string;
|
|
1522
1529
|
/** The helpfulness vote of the review. */
|
|
1523
|
-
Vote?:
|
|
1530
|
+
Vote?: HelpfulnessVote;
|
|
1524
1531
|
}
|
|
1525
1532
|
interface SubmitItemReviewVoteResponse extends IPlayFabResultCommon {
|
|
1526
1533
|
}
|
|
@@ -1594,7 +1601,7 @@ interface Transaction {
|
|
|
1594
1601
|
/** Additional details about the transaction. Null if it was not a clawback operation. */
|
|
1595
1602
|
ClawbackDetails?: TransactionClawbackDetails;
|
|
1596
1603
|
/** The country of the caller of the operation. */
|
|
1597
|
-
CountryCode?:
|
|
1604
|
+
CountryCode?: CountryCode;
|
|
1598
1605
|
/** The type of item that the the operation occurred on. */
|
|
1599
1606
|
ItemType?: string;
|
|
1600
1607
|
/** The operations that occurred. */
|
|
@@ -1983,6 +1990,7 @@ interface VersionedCatalogItemStoreDetails {
|
|
|
1983
1990
|
/** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */
|
|
1984
1991
|
PricesOverride?: VersionedCatalogItemPricesOverride;
|
|
1985
1992
|
}
|
|
1993
|
+
type ViewFileFormat = "Unknown" | "Json" | "JsonLines" | "GZippedJson" | "GZippedJsonLines";
|
|
1986
1994
|
|
|
1987
1995
|
declare class PlayFabEconomyApi extends PlayFabCommon {
|
|
1988
1996
|
/**
|
package/dist/Events.d.ts
CHANGED
|
@@ -38,8 +38,9 @@ interface DataConnectionDetails {
|
|
|
38
38
|
/** Current status of the data connection, if any. */
|
|
39
39
|
Status?: DataConnectionStatusDetails;
|
|
40
40
|
/** The type of data connection. */
|
|
41
|
-
Type:
|
|
41
|
+
Type: DataConnectionType;
|
|
42
42
|
}
|
|
43
|
+
type DataConnectionErrorState = "OK" | "Error";
|
|
43
44
|
interface DataConnectionFabricKQLSettings {
|
|
44
45
|
/** The URI of the Fabric cluster. */
|
|
45
46
|
ClusterUri?: string;
|
|
@@ -64,8 +65,9 @@ interface DataConnectionStatusDetails {
|
|
|
64
65
|
/** The most recent time of the error affecting the data connection, if any. */
|
|
65
66
|
MostRecentErrorTime?: string;
|
|
66
67
|
/** Indicates if the connection is in a normal state or error state. */
|
|
67
|
-
State?:
|
|
68
|
+
State?: DataConnectionErrorState;
|
|
68
69
|
}
|
|
70
|
+
type DataConnectionType = "AzureBlobStorage" | "AzureDataExplorer" | "FabricKQL";
|
|
69
71
|
interface DeleteDataConnectionRequest extends IPlayFabRequestCommon {
|
|
70
72
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
71
73
|
CustomTags?: Record<string, string | null>;
|
|
@@ -235,7 +237,7 @@ interface SetDataConnectionRequest extends IPlayFabRequestCommon {
|
|
|
235
237
|
/** The name of the data connection to update or create. */
|
|
236
238
|
Name: string;
|
|
237
239
|
/** The type of data connection. */
|
|
238
|
-
Type:
|
|
240
|
+
Type: DataConnectionType;
|
|
239
241
|
}
|
|
240
242
|
interface SetDataConnectionResponse extends IPlayFabResultCommon {
|
|
241
243
|
/** The details of the Data Connection to be created or updated. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon, E as EmptyResponse } from './PlayFabCommon-Dnp_xHg5.js';
|
|
2
2
|
|
|
3
|
+
type AnalysisTaskState = "Waiting" | "ReadyForSubmission" | "SubmittingToPipeline" | "Running" | "Completed" | "Failed" | "Canceled";
|
|
3
4
|
interface CreateExclusionGroupRequest extends IPlayFabRequestCommon {
|
|
4
5
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
5
6
|
CustomTags?: Record<string, string | null>;
|
|
@@ -29,7 +30,7 @@ interface CreateExperimentRequest extends IPlayFabRequestCommon {
|
|
|
29
30
|
/** Percentage of exclusion group traffic that will see this experiment. */
|
|
30
31
|
ExclusionGroupTrafficAllocation?: number;
|
|
31
32
|
/** Type of experiment. */
|
|
32
|
-
ExperimentType?:
|
|
33
|
+
ExperimentType?: ExperimentType;
|
|
33
34
|
/** Friendly name of the experiment. */
|
|
34
35
|
Name: string;
|
|
35
36
|
/** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */
|
|
@@ -92,7 +93,7 @@ interface Experiment {
|
|
|
92
93
|
/** Percentage of exclusion group traffic that will see this experiment. */
|
|
93
94
|
ExclusionGroupTrafficAllocation?: number;
|
|
94
95
|
/** Type of experiment. */
|
|
95
|
-
ExperimentType?:
|
|
96
|
+
ExperimentType?: ExperimentType;
|
|
96
97
|
/** Id of the experiment. */
|
|
97
98
|
Id?: string;
|
|
98
99
|
/** Friendly name of the experiment. */
|
|
@@ -102,7 +103,7 @@ interface Experiment {
|
|
|
102
103
|
/** When experiment should start/was started. */
|
|
103
104
|
StartDate: string;
|
|
104
105
|
/** State experiment is currently in. */
|
|
105
|
-
State?:
|
|
106
|
+
State?: ExperimentState;
|
|
106
107
|
/**
|
|
107
108
|
* List of title player account IDs that automatically receive treatments in the experiment, but are not included when
|
|
108
109
|
* calculating experiment metrics.
|
|
@@ -119,6 +120,8 @@ interface ExperimentExclusionGroup {
|
|
|
119
120
|
/** Friendly name of the exclusion group. */
|
|
120
121
|
Name?: string;
|
|
121
122
|
}
|
|
123
|
+
type ExperimentState = "New" | "Started" | "Stopped" | "Deleted";
|
|
124
|
+
type ExperimentType = "Active" | "Snapshot";
|
|
122
125
|
interface GetExclusionGroupsRequest extends IPlayFabRequestCommon {
|
|
123
126
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
124
127
|
CustomTags?: Record<string, string | null>;
|
|
@@ -205,7 +208,7 @@ interface Scorecard {
|
|
|
205
208
|
/** Friendly name of the experiment. */
|
|
206
209
|
ExperimentName?: string;
|
|
207
210
|
/** Represents the latest compute job status. */
|
|
208
|
-
LatestJobStatus?:
|
|
211
|
+
LatestJobStatus?: AnalysisTaskState;
|
|
209
212
|
/** Represents the presence of a sample ratio mismatch in the scorecard data. */
|
|
210
213
|
SampleRatioMismatch: boolean;
|
|
211
214
|
/** Scorecard containing list of analysis. */
|
|
@@ -266,7 +269,7 @@ interface UpdateExperimentRequest extends IPlayFabRequestCommon {
|
|
|
266
269
|
/** Percentage of exclusion group traffic that will see this experiment. */
|
|
267
270
|
ExclusionGroupTrafficAllocation?: number;
|
|
268
271
|
/** Type of experiment. */
|
|
269
|
-
ExperimentType?:
|
|
272
|
+
ExperimentType?: ExperimentType;
|
|
270
273
|
/** Id of the experiment. */
|
|
271
274
|
Id: string;
|
|
272
275
|
/** Friendly name of the experiment. */
|
package/dist/Groups.d.ts
CHANGED
|
@@ -335,6 +335,7 @@ interface ListMembershipResponse extends IPlayFabResultCommon {
|
|
|
335
335
|
/** The list of groups */
|
|
336
336
|
Groups?: GroupWithRoles[];
|
|
337
337
|
}
|
|
338
|
+
type OperationTypes = "Created" | "Updated" | "Deleted" | "None";
|
|
338
339
|
interface RemoveGroupApplicationRequest extends IPlayFabRequestCommon {
|
|
339
340
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
340
341
|
CustomTags?: Record<string, string | null>;
|
|
@@ -393,7 +394,7 @@ interface UpdateGroupResponse extends IPlayFabResultCommon {
|
|
|
393
394
|
/** New version of the group data. */
|
|
394
395
|
ProfileVersion: number;
|
|
395
396
|
/** Indicates which operation was completed, either Created, Updated, Deleted or None. */
|
|
396
|
-
SetResult?:
|
|
397
|
+
SetResult?: OperationTypes;
|
|
397
398
|
}
|
|
398
399
|
interface UpdateGroupRoleRequest extends IPlayFabRequestCommon {
|
|
399
400
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
@@ -417,7 +418,7 @@ interface UpdateGroupRoleResponse extends IPlayFabResultCommon {
|
|
|
417
418
|
/** New version of the role data. */
|
|
418
419
|
ProfileVersion: number;
|
|
419
420
|
/** Indicates which operation was completed, either Created, Updated, Deleted or None. */
|
|
420
|
-
SetResult?:
|
|
421
|
+
SetResult?: OperationTypes;
|
|
421
422
|
}
|
|
422
423
|
|
|
423
424
|
declare class PlayFabGroupsApi extends PlayFabCommon {
|
package/dist/Matchmaker.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ interface PlayerLeftRequest extends IPlayFabRequestCommon {
|
|
|
91
91
|
/** @deprecated Do not use */
|
|
92
92
|
interface PlayerLeftResponse extends IPlayFabResultCommon {
|
|
93
93
|
}
|
|
94
|
+
type Region = "USCentral" | "USEast" | "EUWest" | "Singapore" | "Japan" | "Brazil" | "Australia";
|
|
94
95
|
/** @deprecated Do not use */
|
|
95
96
|
interface RegisterGameRequest extends IPlayFabRequestCommon {
|
|
96
97
|
/** Unique identifier of the build running on the Game Server Instance. */
|
|
@@ -108,7 +109,7 @@ interface RegisterGameRequest extends IPlayFabRequestCommon {
|
|
|
108
109
|
* Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS
|
|
109
110
|
* region and use Tags (below) to specify your custom region.
|
|
110
111
|
*/
|
|
111
|
-
Region:
|
|
112
|
+
Region: Region;
|
|
112
113
|
/**
|
|
113
114
|
* IPV4 address of the Game Server Instance.
|
|
114
115
|
* @deprecated Please use ServerIPV4Address instead.
|
|
@@ -150,7 +151,7 @@ interface StartGameRequest extends IPlayFabRequestCommon {
|
|
|
150
151
|
/** Game mode for this Game Server Instance. */
|
|
151
152
|
GameMode: string;
|
|
152
153
|
/** Region with which to associate the server, for filtering. */
|
|
153
|
-
Region:
|
|
154
|
+
Region: Region;
|
|
154
155
|
}
|
|
155
156
|
/** @deprecated Do not use */
|
|
156
157
|
interface StartGameResponse extends IPlayFabResultCommon {
|