async-playfab-web-sdk 1.192.250526 → 1.193.250606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/{Addon.d.mts → Addon.d.ts} +213 -73
  2. package/dist/Addon.js +8 -0
  3. package/dist/Addon.js.map +1 -1
  4. package/dist/{Admin.d.mts → Admin.d.ts} +2547 -356
  5. package/dist/Admin.js +8 -0
  6. package/dist/Admin.js.map +1 -1
  7. package/dist/{Authentication.d.mts → Authentication.d.ts} +36 -9
  8. package/dist/Authentication.js +8 -0
  9. package/dist/Authentication.js.map +1 -1
  10. package/dist/{Client.d.mts → Client.d.ts} +2473 -557
  11. package/dist/Client.js +8 -0
  12. package/dist/Client.js.map +1 -1
  13. package/dist/{CloudScript.d.mts → CloudScript.d.ts} +214 -46
  14. package/dist/CloudScript.js +8 -0
  15. package/dist/CloudScript.js.map +1 -1
  16. package/dist/{Data.d.mts → Data.d.ts} +144 -25
  17. package/dist/Data.js +8 -0
  18. package/dist/Data.js.map +1 -1
  19. package/dist/{Economy.d.mts → Economy.d.ts} +1218 -173
  20. package/dist/Economy.js +8 -0
  21. package/dist/Economy.js.map +1 -1
  22. package/dist/{Events.d.mts → Events.d.ts} +212 -25
  23. package/dist/Events.js +8 -0
  24. package/dist/Events.js.map +1 -1
  25. package/dist/{Experimentation.d.mts → Experimentation.d.ts} +177 -30
  26. package/dist/Experimentation.js +8 -0
  27. package/dist/Experimentation.js.map +1 -1
  28. package/dist/{Groups.d.mts → Groups.d.ts} +306 -67
  29. package/dist/Groups.js +8 -0
  30. package/dist/Groups.js.map +1 -1
  31. package/dist/{Insights.d.mts → Insights.d.ts} +39 -13
  32. package/dist/Insights.js +8 -0
  33. package/dist/Insights.js.map +1 -1
  34. package/dist/{Localization.d.mts → Localization.d.ts} +6 -3
  35. package/dist/Localization.js +8 -0
  36. package/dist/Localization.js.map +1 -1
  37. package/dist/Matchmaker.d.ts +271 -0
  38. package/dist/Matchmaker.js +8 -0
  39. package/dist/Matchmaker.js.map +1 -0
  40. package/dist/{Multiplayer.d.mts → Multiplayer.d.ts} +2829 -301
  41. package/dist/Multiplayer.js +8 -0
  42. package/dist/Multiplayer.js.map +1 -1
  43. package/dist/{PlayFabCommon-BUv4zqXf.d.mts → PlayFabCommon-Dnp_xHg5.d.ts} +6 -10
  44. package/dist/{Profiles.d.mts → Profiles.d.ts} +172 -28
  45. package/dist/Profiles.js +8 -0
  46. package/dist/Profiles.js.map +1 -1
  47. package/dist/{Progression.d.mts → Progression.d.ts} +337 -73
  48. package/dist/Progression.js +8 -0
  49. package/dist/Progression.js.map +1 -1
  50. package/dist/{Server.d.mts → Server.d.ts} +2120 -458
  51. package/dist/Server.js +8 -0
  52. package/dist/Server.js.map +1 -1
  53. package/dist/chunk-5LPKBU65.js +2970 -0
  54. package/dist/chunk-5LPKBU65.js.map +1 -0
  55. package/dist/chunk-ABEEDFKP.js +175 -0
  56. package/dist/chunk-ABEEDFKP.js.map +1 -0
  57. package/dist/chunk-AGNOI6QW.js +2477 -0
  58. package/dist/chunk-AGNOI6QW.js.map +1 -0
  59. package/dist/chunk-B4NQUOWG.js +1048 -0
  60. package/dist/chunk-B4NQUOWG.js.map +1 -0
  61. package/dist/chunk-GERGPHQM.js +76 -0
  62. package/dist/chunk-GERGPHQM.js.map +1 -0
  63. package/dist/chunk-GOZV2MOC.js +2673 -0
  64. package/dist/chunk-GOZV2MOC.js.map +1 -0
  65. package/dist/chunk-GXP64DCJ.js +82 -0
  66. package/dist/chunk-GXP64DCJ.js.map +1 -0
  67. package/dist/chunk-HUS6GF7X.js +270 -0
  68. package/dist/chunk-HUS6GF7X.js.map +1 -0
  69. package/dist/chunk-JIEFHAFU.js +197 -0
  70. package/dist/chunk-JIEFHAFU.js.map +1 -0
  71. package/dist/chunk-LCCANUCE.js +2387 -0
  72. package/dist/chunk-LCCANUCE.js.map +1 -0
  73. package/dist/chunk-MNQCGRC6.js +357 -0
  74. package/dist/chunk-MNQCGRC6.js.map +1 -0
  75. package/dist/chunk-N4R6Y2MM.js +225 -0
  76. package/dist/chunk-N4R6Y2MM.js.map +1 -0
  77. package/dist/{Localization.mjs → chunk-N7LC7KNB.js} +43 -94
  78. package/dist/chunk-N7LC7KNB.js.map +1 -0
  79. package/dist/chunk-NPTN4F4Z.js +22 -0
  80. package/dist/chunk-NPTN4F4Z.js.map +1 -0
  81. package/dist/chunk-QHGWL3NW.js +237 -0
  82. package/dist/chunk-QHGWL3NW.js.map +1 -0
  83. package/dist/chunk-RKXM4KV5.js +421 -0
  84. package/dist/chunk-RKXM4KV5.js.map +1 -0
  85. package/dist/chunk-UDM2ZVXN.js +421 -0
  86. package/dist/chunk-UDM2ZVXN.js.map +1 -0
  87. package/dist/chunk-ZEBSOOZG.js +82 -0
  88. package/dist/chunk-ZEBSOOZG.js.map +1 -0
  89. package/dist/index.d.ts +18 -0
  90. package/dist/index.js +72 -0
  91. package/dist/index.js.map +1 -1
  92. package/package.json +2 -1
  93. package/dist/Addon.mjs +0 -452
  94. package/dist/Addon.mjs.map +0 -1
  95. package/dist/Admin.mjs +0 -1112
  96. package/dist/Admin.mjs.map +0 -1
  97. package/dist/Authentication.mjs +0 -290
  98. package/dist/Authentication.mjs.map +0 -1
  99. package/dist/Client.mjs +0 -1893
  100. package/dist/Client.mjs.map +0 -1
  101. package/dist/CloudScript.mjs +0 -349
  102. package/dist/CloudScript.mjs.map +0 -1
  103. package/dist/Data.mjs +0 -291
  104. package/dist/Data.mjs.map +0 -1
  105. package/dist/Economy.mjs +0 -614
  106. package/dist/Economy.mjs.map +0 -1
  107. package/dist/Events.mjs +0 -327
  108. package/dist/Events.mjs.map +0 -1
  109. package/dist/Experimentation.mjs +0 -333
  110. package/dist/Experimentation.mjs.map +0 -1
  111. package/dist/Groups.mjs +0 -417
  112. package/dist/Groups.mjs.map +0 -1
  113. package/dist/Insights.mjs +0 -286
  114. package/dist/Insights.mjs.map +0 -1
  115. package/dist/Localization.mjs.map +0 -1
  116. package/dist/Multiplayer.mjs +0 -862
  117. package/dist/Multiplayer.mjs.map +0 -1
  118. package/dist/Profiles.mjs +0 -306
  119. package/dist/Profiles.mjs.map +0 -1
  120. package/dist/Progression.mjs +0 -404
  121. package/dist/Progression.mjs.map +0 -1
  122. package/dist/Server.mjs +0 -1377
  123. package/dist/Server.mjs.map +0 -1
  124. package/dist/index.d.mts +0 -17
  125. package/dist/index.mjs +0 -6007
  126. package/dist/index.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon } from './PlayFabCommon-BUv4zqXf.mjs';
1
+ import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon, E as EmptyResponse } from './PlayFabCommon-Dnp_xHg5.js';
2
2
 
3
3
  interface AddInventoryItemsOperation {
4
4
  /** The amount to add to the current item amount. */
@@ -14,7 +14,7 @@ interface AddInventoryItemsRequest extends IPlayFabRequestCommon {
14
14
  /** The amount to add for the current item. */
15
15
  Amount?: number;
16
16
  /**
17
- * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
17
+ * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
18
18
  * unlimited.
19
19
  */
20
20
  CollectionId?: string;
@@ -95,7 +95,7 @@ interface CatalogConfig {
95
95
  }
96
96
  interface CatalogItem {
97
97
  /**
98
- * The alternate IDs associated with this item. An alternate ID can be set to 'FriendlyId' or any of the supported
98
+ * The alternate IDs associated with this item. An alternate ID can be set to 'FriendlyId' or any of the supported
99
99
  * marketplace names.
100
100
  */
101
101
  AlternateIds?: CatalogAlternateId[];
@@ -111,8 +111,8 @@ interface CatalogItem {
111
111
  DeepLinks?: DeepLink[];
112
112
  /**
113
113
  * The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. This
114
- * DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null,
115
- * Inventory's default stack id will be used.
114
+ * DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null,
115
+ * Inventory's default stack id will be used.
116
116
  */
117
117
  DefaultStackId?: string;
118
118
  /**
@@ -200,6 +200,8 @@ interface CatalogPriceAmount {
200
200
  Amount: number;
201
201
  /** The Item Id of the price. */
202
202
  ItemId?: string;
203
+ /** Stack Id the client expects to use to purchase the item. */
204
+ StackId?: string;
203
205
  }
204
206
  interface CatalogPriceAmountOverride {
205
207
  /** The exact value that should be utilized in the override. */
@@ -236,10 +238,66 @@ interface CatalogSpecificConfig {
236
238
  */
237
239
  Tags?: string[];
238
240
  }
241
+ interface CatalogView {
242
+ /** Number of items to retrieve. If null, all applicable items are returned. */
243
+ Count?: number;
244
+ /** The date and time when this view was created. */
245
+ CreationDate?: string;
246
+ /** The current ETag value that can be used for optimistic concurrency. */
247
+ ETag?: string;
248
+ /**
249
+ * The format to use when exporting the view file. Supported file formats are: Json, JsonLines, GZippedJson,
250
+ * GZippedJsonLines
251
+ */
252
+ FileFormat?: string;
253
+ /** An OData filter used to refine the search query. */
254
+ Filter?: string;
255
+ /** An optional alternate friendly ID associated with this view. */
256
+ FriendlyId?: string;
257
+ /** The unique ID of the view. */
258
+ Id?: string;
259
+ /** Indicates whether the view should be generated for title use or for public use. */
260
+ IsTitleView?: boolean;
261
+ /** The localized languages to query and retreive, separated by commas (,). */
262
+ Language?: string;
263
+ /** The date and time this view was last updated. */
264
+ LastModifiedDate?: string;
265
+ /** Diagnostic information from the last time the view was generated. */
266
+ LastViewDiagnostics?: CatalogViewDiagnostics;
267
+ /**
268
+ * An OData select query option used to augment the search results. If not defined, the default search result metadata will
269
+ * be returned.
270
+ */
271
+ Select?: string;
272
+ /** The store to restrict the search request to. */
273
+ Store?: string;
274
+ /** The URL of the view file. */
275
+ Url?: string;
276
+ }
277
+ interface CatalogViewDiagnostics {
278
+ /** The last date and time when this view was generated. */
279
+ GeneratedDate?: string;
280
+ /** The last count of items included in the view. */
281
+ ItemCount?: number;
282
+ /** The last size of the view in bytes. */
283
+ SizeInBytes?: number;
284
+ /** The last status of the view. */
285
+ Status?: string;
286
+ }
239
287
  interface CategoryRatingConfig {
240
288
  /** Name of the category. */
241
289
  Name?: string;
242
290
  }
291
+ interface CompleteVersionedCatalogUploadRequest extends IPlayFabRequestCommon {
292
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
293
+ CustomTags?: Record<string, string | null>;
294
+ /** Version of the catalog. */
295
+ Version?: string;
296
+ }
297
+ interface CompleteVersionedCatalogUploadResponse extends IPlayFabResultCommon {
298
+ /** Version of the catalog. */
299
+ Version?: string;
300
+ }
243
301
  interface Content {
244
302
  /** The content unique ID. */
245
303
  Id?: string;
@@ -285,6 +343,28 @@ interface CreateUploadUrlsResponse extends IPlayFabResultCommon {
285
343
  /** List of URLs metadata for the files to be uploaded by the client. */
286
344
  UploadUrls?: UploadUrlMetadata[];
287
345
  }
346
+ interface CreateVersionedCatalogUploadURLRequest 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
+ /** Version of the catalog. */
350
+ Version?: string;
351
+ }
352
+ interface CreateVersionedCatalogUploadURLResponse extends IPlayFabResultCommon {
353
+ /** Write-only Url for uploading the versioned catalog. */
354
+ Url?: string;
355
+ /** Version of the catalog. */
356
+ Version?: string;
357
+ }
358
+ interface CreateViewRequest extends IPlayFabRequestCommon {
359
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
360
+ CustomTags?: Record<string, string | null>;
361
+ /** Metadata describing the new catalog view to be created. */
362
+ View?: CatalogView;
363
+ }
364
+ interface CreateViewResponse extends IPlayFabResultCommon {
365
+ /** Updated metadata describing the catalog view just created. */
366
+ View?: CatalogView;
367
+ }
288
368
  interface DeepLink {
289
369
  /** Target platform for this deep link. */
290
370
  Platform?: string;
@@ -292,7 +372,7 @@ interface DeepLink {
292
372
  Url?: string;
293
373
  }
294
374
  interface DeepLinkFormat {
295
- /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */
375
+ /** The format of the deep link to return. The format should contain &#39;{id}&#39; to represent where the item ID should be placed. */
296
376
  Format?: string;
297
377
  /** The target platform for the deep link. */
298
378
  Platform?: string;
@@ -326,7 +406,7 @@ interface DeleteInventoryItemsOperation {
326
406
  }
327
407
  interface DeleteInventoryItemsRequest extends IPlayFabRequestCommon {
328
408
  /**
329
- * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
409
+ * The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;). The number of inventory collections is
330
410
  * unlimited.
331
411
  */
332
412
  CollectionId?: string;
@@ -367,8 +447,24 @@ interface DeleteItemRequest extends IPlayFabRequestCommon {
367
447
  }
368
448
  interface DeleteItemResponse extends IPlayFabResultCommon {
369
449
  }
450
+ interface DeleteVersionedCatalogRequest extends IPlayFabRequestCommon {
451
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
452
+ CustomTags?: Record<string, string | null>;
453
+ /** Version of the catalog. */
454
+ Version?: string;
455
+ }
456
+ interface DeleteViewRequest extends IPlayFabRequestCommon {
457
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
458
+ CustomTags?: Record<string, string | null>;
459
+ /** Friendly ID associated with the view. Mutually exclusive with Id. */
460
+ FriendlyId?: string;
461
+ /** The unique ID of the item. Mutually exclusive with FriendlyId. */
462
+ Id?: string;
463
+ }
464
+ interface DeleteViewResponse extends IPlayFabResultCommon {
465
+ }
370
466
  interface DisplayPropertyIndexInfo {
371
- /** The property name in the 'DisplayProperties' property to be indexed. */
467
+ /** The property name in the &#39;DisplayProperties&#39; property to be indexed. */
372
468
  Name?: string;
373
469
  /** The type of the property to be indexed. */
374
470
  Type?: string;
@@ -378,10 +474,15 @@ interface EntityKey {
378
474
  Id: string;
379
475
  /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
380
476
  Type?: string;
477
+ /**
478
+ * Alternate name for Type.
479
+ * @deprecated Please use Type instead.
480
+ */
481
+ TypeString?: string;
381
482
  }
382
483
  interface ExecuteInventoryOperationsRequest extends IPlayFabRequestCommon {
383
484
  /**
384
- * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
485
+ * The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;). The number of inventory collections is
385
486
  * unlimited.
386
487
  */
387
488
  CollectionId?: string;
@@ -419,7 +520,7 @@ interface ExecuteInventoryOperationsResponse extends IPlayFabResultCommon {
419
520
  interface ExecuteTransferOperationsRequest extends IPlayFabRequestCommon {
420
521
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
421
522
  CustomTags?: Record<string, string | null>;
422
- /** The inventory collection id the request is transferring from. (Default="default") */
523
+ /** The inventory collection id the request is transferring from. (Default=&quot;default&quot;) */
423
524
  GivingCollectionId?: string;
424
525
  /** The entity the request is transferring from. Set to the caller by default. */
425
526
  GivingEntity?: EntityKey;
@@ -435,7 +536,7 @@ interface ExecuteTransferOperationsRequest extends IPlayFabRequestCommon {
435
536
  * or fail as a batch. Up to 50 operations can be added.
436
537
  */
437
538
  Operations?: TransferInventoryItemsOperation[];
438
- /** The inventory collection id the request is transferring to. (Default="default") */
539
+ /** The inventory collection id the request is transferring to. (Default=&quot;default&quot;) */
439
540
  ReceivingCollectionId?: string;
440
541
  /** The entity the request is transferring to. Set to the caller by default. */
441
542
  ReceivingEntity?: EntityKey;
@@ -447,18 +548,18 @@ interface ExecuteTransferOperationsResponse extends IPlayFabResultCommon {
447
548
  * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags
448
549
  */
449
550
  GivingETag?: string;
450
- /** The ids of transactions that occurred as a result of the request's giving action. */
551
+ /** The ids of transactions that occurred as a result of the request&#39;s giving action. */
451
552
  GivingTransactionIds?: string[];
452
553
  /** The Idempotency ID for this request. */
453
554
  IdempotencyId?: string;
454
555
  /**
455
- * The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the
556
+ * The transfer operation status. Possible values are &#39;InProgress&#39; or &#39;Completed&#39;. If the operation has completed, the
456
557
  * response code will be 200. Otherwise, it will be 202.
457
558
  */
458
559
  OperationStatus?: string;
459
560
  /**
460
561
  * The token that can be used to get the status of the transfer operation. This will only have a value if OperationStatus
461
- * is 'InProgress'.
562
+ * is &#39;InProgress&#39;.
462
563
  */
463
564
  OperationToken?: string;
464
565
  /**
@@ -466,9 +567,15 @@ interface ExecuteTransferOperationsResponse extends IPlayFabResultCommon {
466
567
  * the operation has not completed yet.
467
568
  */
468
569
  ReceivingETag?: string;
469
- /** The ids of transactions that occurred as a result of the request's receiving action. */
570
+ /** The ids of transactions that occurred as a result of the request&#39;s receiving action. */
470
571
  ReceivingTransactionIds?: string[];
471
572
  }
573
+ interface ExportVersionedCatalogRequest extends IPlayFabRequestCommon {
574
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
575
+ CustomTags?: Record<string, string | null>;
576
+ /** Version of the catalog. */
577
+ Version?: string;
578
+ }
472
579
  interface FileConfig {
473
580
  /**
474
581
  * The set of content types that will be used for validation. Each content type can have a maximum character length of 40
@@ -483,11 +590,11 @@ interface FileConfig {
483
590
  }
484
591
  interface FilterOptions {
485
592
  /**
486
- * The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. More info about Filter Complexity limits can be
593
+ * The OData filter utilized. Mutually exclusive with &#39;IncludeAllItems&#39;. More info about Filter Complexity limits can be
487
594
  * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits
488
595
  */
489
596
  Filter?: string;
490
- /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */
597
+ /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with &#39;Filter&#39;. */
491
598
  IncludeAllItems?: boolean;
492
599
  }
493
600
  interface GetCatalogConfigRequest extends IPlayFabRequestCommon {
@@ -541,8 +648,8 @@ interface GetEntityDraftItemsRequest extends IPlayFabRequestCommon {
541
648
  /** The entity to perform this action on. */
542
649
  Entity?: EntityKey;
543
650
  /**
544
- * OData Filter to refine the items returned. CatalogItem properties 'type' can be used in the filter. For example: "type
545
- * eq 'ugc'"
651
+ * OData Filter to refine the items returned. CatalogItem properties &#39;type&#39; can be used in the filter. For example: &quot;type
652
+ * eq &#39;ugc&#39;&quot;
546
653
  */
547
654
  Filter?: string;
548
655
  }
@@ -583,7 +690,7 @@ interface GetInventoryCollectionIdsResponse extends IPlayFabResultCommon {
583
690
  ContinuationToken?: string;
584
691
  }
585
692
  interface GetInventoryItemsRequest extends IPlayFabRequestCommon {
586
- /** The id of the entity's collection to perform this action on. (Default="default") */
693
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
587
694
  CollectionId?: string;
588
695
  /**
589
696
  * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on
@@ -597,8 +704,8 @@ interface GetInventoryItemsRequest extends IPlayFabRequestCommon {
597
704
  /** The entity to perform this action on. */
598
705
  Entity?: EntityKey;
599
706
  /**
600
- * OData Filter to refine the items returned. InventoryItem properties 'type', 'id', and 'stackId' can be used in the
601
- * filter. For example: "type eq 'currency'"
707
+ * OData Filter to refine the items returned. InventoryItem properties &#39;type&#39;, &#39;id&#39;, and &#39;stackId&#39; can be used in the
708
+ * filter. For example: &quot;type eq &#39;currency&#39;&quot;
602
709
  */
603
710
  Filter?: string;
604
711
  }
@@ -614,7 +721,7 @@ interface GetInventoryItemsResponse extends IPlayFabResultCommon {
614
721
  Items?: InventoryItem[];
615
722
  }
616
723
  interface GetInventoryOperationStatusRequest extends IPlayFabRequestCommon {
617
- /** The id of the entity's collection to perform this action on. (Default="default") */
724
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
618
725
  CollectionId?: string;
619
726
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
620
727
  CustomTags?: Record<string, string | null>;
@@ -703,7 +810,7 @@ interface GetItemReviewsRequest extends IPlayFabRequestCommon {
703
810
  Id?: string;
704
811
  /**
705
812
  * An OData orderBy used to order the results of the query. Possible values are Helpfulness, Rating, and Submitted (For
706
- * example: "Submitted desc")
813
+ * example: &quot;Submitted desc&quot;)
707
814
  */
708
815
  OrderBy?: string;
709
816
  }
@@ -759,7 +866,7 @@ interface GetMicrosoftStoreAccessTokensResponse extends IPlayFabResultCommon {
759
866
  CollectionsAccessTokenExpirationDate: string;
760
867
  }
761
868
  interface GetTransactionHistoryRequest extends IPlayFabRequestCommon {
762
- /** The id of the entity's collection to perform this action on. (Default="default") */
869
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
763
870
  CollectionId?: string;
764
871
  /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */
765
872
  ContinuationToken?: string;
@@ -770,16 +877,16 @@ interface GetTransactionHistoryRequest extends IPlayFabRequestCommon {
770
877
  /** The entity to perform this action on. */
771
878
  Entity?: EntityKey;
772
879
  /**
773
- * An OData filter used to refine the TransactionHistory. Transaction properties 'timestamp', 'transactionid', 'apiname'
774
- * and 'operationtype' can be used in the filter. Properties 'transactionid', 'apiname', and 'operationtype' cannot be used
775
- * together in a single request. The 'timestamp' property can be combined with 'apiname' or 'operationtype' in a single
776
- * request. For example: "timestamp ge 2023-06-20T23:30Z" or "transactionid eq '10'" or "(timestamp ge 2023-06-20T23:30Z)
777
- * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used.
880
+ * An OData filter used to refine the TransactionHistory. Transaction properties &#39;timestamp&#39;, &#39;transactionid&#39;, &#39;apiname&#39;
881
+ * and &#39;operationtype&#39; can be used in the filter. Properties &#39;transactionid&#39;, &#39;apiname&#39;, and &#39;operationtype&#39; cannot be used
882
+ * together in a single request. The &#39;timestamp&#39; property can be combined with &#39;apiname&#39; or &#39;operationtype&#39; in a single
883
+ * request. For example: &quot;timestamp ge 2023-06-20T23:30Z&quot; or &quot;transactionid eq &#39;10&#39;&quot; or &quot;(timestamp ge 2023-06-20T23:30Z)
884
+ * and (apiname eq &#39;AddInventoryItems&#39;)&quot;. By default, a 6 month timespan from the current date is used.
778
885
  */
779
886
  Filter?: string;
780
887
  /**
781
- * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'.
782
- * Default orderby is 'timestamp asc'
888
+ * An OData orderby to order TransactionHistory results. The only supported values are &#39;timestamp asc&#39; or &#39;timestamp desc&#39;.
889
+ * Default orderby is &#39;timestamp asc&#39;
783
890
  */
784
891
  OrderBy?: string;
785
892
  }
@@ -789,12 +896,69 @@ interface GetTransactionHistoryResponse extends IPlayFabResultCommon {
789
896
  /** The requested inventory transactions. */
790
897
  Transactions?: Transaction[];
791
898
  }
899
+ interface GetVersionedCatalogItemRequest extends IPlayFabRequestCommon {
900
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
901
+ CustomTags?: Record<string, string | null>;
902
+ /** Id of the item. */
903
+ Id?: string;
904
+ /** Version of the catalog. */
905
+ Version?: string;
906
+ }
907
+ interface GetVersionedCatalogItemResponse extends IPlayFabResultCommon {
908
+ /** The versioned catalog item. */
909
+ Item?: VersionedCatalogItem;
910
+ }
911
+ interface GetVersionedCatalogUploadStatusRequest extends IPlayFabRequestCommon {
912
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
913
+ CustomTags?: Record<string, string | null>;
914
+ /** Version of the catalog. */
915
+ Version?: string;
916
+ }
917
+ interface GetVersionedCatalogUploadStatusResponse extends IPlayFabResultCommon {
918
+ /** Status of the upload. */
919
+ Status?: string;
920
+ }
921
+ interface GetViewRequest extends IPlayFabRequestCommon {
922
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
923
+ CustomTags?: Record<string, string | null>;
924
+ /** The entity to perform this action on. */
925
+ Entity?: EntityKey;
926
+ /** Friendly ID associated with the view. Mutually exclusive with Id. */
927
+ FriendlyId?: string;
928
+ /** The unique ID of the view. Mutually exclusive with FriendlyId. */
929
+ Id?: string;
930
+ }
931
+ interface GetViewResponse extends IPlayFabResultCommon {
932
+ /** Metadata defining the view. */
933
+ View?: CatalogView;
934
+ }
935
+ interface GetViewsRequest extends IPlayFabRequestCommon {
936
+ /**
937
+ * An opaque token used to retrieve the next page of views created by the caller, if any are available. Should be null on
938
+ * initial request.
939
+ */
940
+ ContinuationToken?: string;
941
+ /** Number of views to retrieve. This value is optional. Default value is 10. */
942
+ Count?: number;
943
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
944
+ CustomTags?: Record<string, string | null>;
945
+ /** The entity to perform this action on. */
946
+ Entity?: EntityKey;
947
+ }
948
+ interface GetViewsResponse extends IPlayFabResultCommon {
949
+ /** An opaque token used to retrieve the next page of items, if any are available. */
950
+ ContinuationToken?: string;
951
+ /** List of metadata defining the views. */
952
+ Views?: CatalogView[];
953
+ }
792
954
  interface GooglePlayProductPurchase {
793
955
  /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */
794
956
  ProductId?: string;
795
- /** The token provided to the player's device when the product was purchased */
957
+ /** The token provided to the player&#39;s device when the product was purchased */
796
958
  Token?: string;
797
959
  }
960
+ interface IActionResult extends IPlayFabResultCommon {
961
+ }
798
962
  interface Image {
799
963
  /** The image unique ID. */
800
964
  Id?: string;
@@ -803,7 +967,7 @@ interface Image {
803
967
  * images
804
968
  */
805
969
  Tag?: string;
806
- /** Images can be defined as either a "thumbnail" or "screenshot". There can only be one "thumbnail" image per item. */
970
+ /** Images can be defined as either a &quot;thumbnail&quot; or &quot;screenshot&quot;. There can only be one &quot;thumbnail&quot; image per item. */
807
971
  Type?: string;
808
972
  /** The URL for retrieval of the image. */
809
973
  Url?: string;
@@ -841,7 +1005,7 @@ interface InventoryItemReference {
841
1005
  AlternateId?: AlternateId;
842
1006
  /** The inventory item id the request applies to. */
843
1007
  Id?: string;
844
- /** The inventory stack id the request should redeem to. (Default="default") */
1008
+ /** The inventory stack id the request should redeem to. (Default=&quot;default&quot;) */
845
1009
  StackId?: string;
846
1010
  }
847
1011
  interface InventoryOperation {
@@ -862,6 +1026,14 @@ interface KeywordSet {
862
1026
  /** A list of localized keywords. */
863
1027
  Values?: string[];
864
1028
  }
1029
+ interface ListVersionedCatalogsRequest extends IPlayFabRequestCommon {
1030
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1031
+ CustomTags?: Record<string, string | null>;
1032
+ }
1033
+ interface ListVersionedCatalogsResponse extends IPlayFabResultCommon {
1034
+ /** The list of versioned catalogs. */
1035
+ VersionedCatalogs?: VersionedCatalog[];
1036
+ }
865
1037
  interface ModerationState {
866
1038
  /** The date and time this moderation state was last updated. */
867
1039
  LastModifiedDate?: string;
@@ -921,7 +1093,7 @@ interface PurchaseInventoryItemsRequest extends IPlayFabRequestCommon {
921
1093
  /** The amount to purchase. */
922
1094
  Amount?: number;
923
1095
  /**
924
- * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
1096
+ * The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;). The number of inventory collections is
925
1097
  * unlimited.
926
1098
  */
927
1099
  CollectionId?: string;
@@ -955,6 +1127,8 @@ interface PurchaseInventoryItemsRequest extends IPlayFabRequestCommon {
955
1127
  * specified Store.
956
1128
  */
957
1129
  PriceAmounts?: PurchasePriceAmount[];
1130
+ /** Details the overrides used in a purchase operation. */
1131
+ PurchaseOverrides?: PurchaseOverridesInfo;
958
1132
  /** The id of the Store to purchase the item from. */
959
1133
  StoreId?: string;
960
1134
  }
@@ -969,12 +1143,14 @@ interface PurchaseInventoryItemsResponse extends IPlayFabResultCommon {
969
1143
  /** The ids of transactions that occurred as a result of the request. */
970
1144
  TransactionIds?: string[];
971
1145
  }
1146
+ interface PurchaseOverridesInfo {
1147
+ }
972
1148
  interface PurchasePriceAmount {
973
1149
  /** The amount of the inventory item to use in the purchase . */
974
1150
  Amount: number;
975
1151
  /** The inventory item id to use in the purchase . */
976
1152
  ItemId?: string;
977
- /** The inventory stack id the to use in the purchase. Set to "default" by default */
1153
+ /** The inventory stack id the to use in the purchase. Set to &quot;default&quot; by default */
978
1154
  StackId?: string;
979
1155
  }
980
1156
  interface Rating {
@@ -994,26 +1170,33 @@ interface Rating {
994
1170
  TotalCount?: number;
995
1171
  }
996
1172
  interface RealMoneyPriceDetails {
997
- /** The 'AppleAppStore' price amount per CurrencyCode. 'USD' supported only. */
1173
+ /** The &#39;AppleAppStore&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
998
1174
  AppleAppStorePrices?: Record<string, number>;
999
- /** The 'GooglePlay' price amount per CurrencyCode. 'USD' supported only. */
1175
+ /** The &#39;GooglePlay&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1000
1176
  GooglePlayPrices?: Record<string, number>;
1001
- /** The 'MicrosoftStore' price amount per CurrencyCode. 'USD' supported only. */
1177
+ /** The &#39;MicrosoftStore&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1002
1178
  MicrosoftStorePrices?: Record<string, number>;
1003
- /** The 'NintendoEShop' price amount per CurrencyCode. 'USD' supported only. */
1179
+ /** The &#39;NintendoEShop&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1004
1180
  NintendoEShopPrices?: Record<string, number>;
1005
- /** The 'PlayStationStore' price amount per CurrencyCode. 'USD' supported only. */
1181
+ /** The &#39;PlayStationStore&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1006
1182
  PlayStationStorePrices?: Record<string, number>;
1007
- /** The 'Steam' price amount per CurrencyCode. 'USD' supported only. */
1183
+ /** The &#39;Steam&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1008
1184
  SteamPrices?: Record<string, number>;
1009
1185
  }
1010
1186
  interface RedeemAppleAppStoreInventoryItemsRequest extends IPlayFabRequestCommon {
1011
- /** The id of the entity's collection to perform this action on. (Default="default") */
1187
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
1012
1188
  CollectionId?: string;
1189
+ /** The country code of the real money transaction. */
1190
+ CountryCode?: string;
1013
1191
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1014
1192
  CustomTags?: Record<string, string | null>;
1015
1193
  /** The entity to perform this action on. */
1016
1194
  Entity?: EntityKey;
1195
+ /**
1196
+ * The inventory items to redeem. These items are required to have an alternate id that corresponds to the marketplace to
1197
+ * redeem from.
1198
+ */
1199
+ Items?: InventoryItemReference[];
1017
1200
  /** The receipt provided by the Apple marketplace upon successful purchase. */
1018
1201
  Receipt?: string;
1019
1202
  }
@@ -1026,12 +1209,19 @@ interface RedeemAppleAppStoreInventoryItemsResponse extends IPlayFabResultCommon
1026
1209
  TransactionIds?: string[];
1027
1210
  }
1028
1211
  interface RedeemGooglePlayInventoryItemsRequest extends IPlayFabRequestCommon {
1029
- /** The id of the entity's collection to perform this action on. (Default="default") */
1212
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
1030
1213
  CollectionId?: string;
1214
+ /** The country code of the real money transaction. */
1215
+ CountryCode?: string;
1031
1216
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1032
1217
  CustomTags?: Record<string, string | null>;
1033
1218
  /** The entity to perform this action on. */
1034
1219
  Entity?: EntityKey;
1220
+ /**
1221
+ * The inventory items to redeem. These items are required to have an alternate id that corresponds to the marketplace to
1222
+ * redeem from.
1223
+ */
1224
+ Items?: InventoryItemReference[];
1035
1225
  /** The list of purchases to redeem */
1036
1226
  Purchases?: GooglePlayProductPurchase[];
1037
1227
  }
@@ -1044,17 +1234,24 @@ interface RedeemGooglePlayInventoryItemsResponse extends IPlayFabResultCommon {
1044
1234
  TransactionIds?: string[];
1045
1235
  }
1046
1236
  interface RedeemMicrosoftStoreInventoryItemsRequest extends IPlayFabRequestCommon {
1047
- /** The id of the entity's collection to perform this action on. (Default="default") */
1237
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
1048
1238
  CollectionId?: string;
1049
1239
  /** The OneStore Collections Id Key used for AAD authentication. */
1050
1240
  CollectionsIdKey?: string;
1241
+ /** The country code of the real money transaction. */
1242
+ CountryCode?: string;
1051
1243
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1052
1244
  CustomTags?: Record<string, string | null>;
1053
1245
  /** The entity to perform this action on. */
1054
1246
  Entity?: EntityKey;
1247
+ /**
1248
+ * The inventory items to redeem. These items are required to have an alternate id that corresponds to the marketplace to
1249
+ * redeem from.
1250
+ */
1251
+ Items?: InventoryItemReference[];
1055
1252
  /**
1056
1253
  * Xbox Token used for delegated business partner authentication. Token provided by the Xbox Live SDK method
1057
- * GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", "").
1254
+ * GetTokenAndSignatureAsync(&quot;POST&quot;, &quot;https://playfabapi.com/&quot;, &quot;&quot;).
1058
1255
  */
1059
1256
  XboxToken?: string;
1060
1257
  }
@@ -1067,12 +1264,19 @@ interface RedeemMicrosoftStoreInventoryItemsResponse extends IPlayFabResultCommo
1067
1264
  TransactionIds?: string[];
1068
1265
  }
1069
1266
  interface RedeemNintendoEShopInventoryItemsRequest extends IPlayFabRequestCommon {
1070
- /** The id of the entity's collection to perform this action on. (Default="default") */
1267
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
1071
1268
  CollectionId?: string;
1269
+ /** The country code of the real money transaction. */
1270
+ CountryCode?: string;
1072
1271
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1073
1272
  CustomTags?: Record<string, string | null>;
1074
1273
  /** The entity to perform this action on. */
1075
1274
  Entity?: EntityKey;
1275
+ /**
1276
+ * The inventory items to redeem. These items are required to have an alternate id that corresponds to the marketplace to
1277
+ * redeem from.
1278
+ */
1279
+ Items?: InventoryItemReference[];
1076
1280
  /** The Nintendo provided token authorizing redemption */
1077
1281
  NintendoServiceAccountIdToken?: string;
1078
1282
  }
@@ -1087,12 +1291,19 @@ interface RedeemNintendoEShopInventoryItemsResponse extends IPlayFabResultCommon
1087
1291
  interface RedeemPlayStationStoreInventoryItemsRequest extends IPlayFabRequestCommon {
1088
1292
  /** Auth code returned by PlayStation :tm: Network OAuth system. */
1089
1293
  AuthorizationCode?: string;
1090
- /** The id of the entity's collection to perform this action on. (Default="default") */
1294
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
1091
1295
  CollectionId?: string;
1296
+ /** The country code of the real money transaction. */
1297
+ CountryCode?: string;
1092
1298
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1093
1299
  CustomTags?: Record<string, string | null>;
1094
1300
  /** The entity to perform this action on. */
1095
1301
  Entity?: EntityKey;
1302
+ /**
1303
+ * The inventory items to redeem. These items are required to have an alternate id that corresponds to the marketplace to
1304
+ * redeem from.
1305
+ */
1306
+ Items?: InventoryItemReference[];
1096
1307
  /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code. */
1097
1308
  RedirectUri?: string;
1098
1309
  /** Optional Service Label to pass into the request. */
@@ -1107,12 +1318,19 @@ interface RedeemPlayStationStoreInventoryItemsResponse extends IPlayFabResultCom
1107
1318
  TransactionIds?: string[];
1108
1319
  }
1109
1320
  interface RedeemSteamInventoryItemsRequest extends IPlayFabRequestCommon {
1110
- /** The id of the entity's collection to perform this action on. (Default="default") */
1321
+ /** The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;) */
1111
1322
  CollectionId?: string;
1323
+ /** The country code of the real money transaction. */
1324
+ CountryCode?: string;
1112
1325
  /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1113
1326
  CustomTags?: Record<string, string | null>;
1114
1327
  /** The entity to perform this action on. */
1115
1328
  Entity?: EntityKey;
1329
+ /**
1330
+ * The inventory items to redeem. These items are required to have an alternate id that corresponds to the marketplace to
1331
+ * redeem from.
1332
+ */
1333
+ Items?: InventoryItemReference[];
1116
1334
  }
1117
1335
  interface RedeemSteamInventoryItemsResponse extends IPlayFabResultCommon {
1118
1336
  /** The list of failed redemptions from the external marketplace. */
@@ -1238,13 +1456,13 @@ interface SearchItemsRequest extends IPlayFabRequestCommon {
1238
1456
  /** The entity to perform this action on. */
1239
1457
  Entity?: EntityKey;
1240
1458
  /**
1241
- * An OData filter used to refine the search query (For example: "type eq 'ugc'"). More info about Filter Complexity limits
1459
+ * An OData filter used to refine the search query (For example: &quot;type eq &#39;ugc&#39;&quot;). More info about Filter Complexity limits
1242
1460
  * can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits
1243
1461
  */
1244
1462
  Filter?: string;
1245
1463
  /** The locale to be returned in the result. */
1246
1464
  Language?: string;
1247
- /** An OData orderBy used to order the results of the search query. For example: "rating/average asc" */
1465
+ /** An OData orderBy used to order the results of the search query. For example: &quot;rating/average asc&quot; */
1248
1466
  OrderBy?: string;
1249
1467
  /** The text to search for. */
1250
1468
  Search?: string;
@@ -1323,7 +1541,7 @@ interface SubtractInventoryItemsRequest extends IPlayFabRequestCommon {
1323
1541
  /** The amount to subtract for the current item. */
1324
1542
  Amount?: number;
1325
1543
  /**
1326
- * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
1544
+ * The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;). The number of inventory collections is
1327
1545
  * unlimited.
1328
1546
  */
1329
1547
  CollectionId?: string;
@@ -1373,6 +1591,10 @@ interface TakedownItemReviewsResponse extends IPlayFabResultCommon {
1373
1591
  interface Transaction {
1374
1592
  /** The API call that caused this transaction. */
1375
1593
  ApiName?: string;
1594
+ /** Additional details about the transaction. Null if it was not a clawback operation. */
1595
+ ClawbackDetails?: TransactionClawbackDetails;
1596
+ /** The country of the caller of the operation. */
1597
+ CountryCode?: string;
1376
1598
  /** The type of item that the the operation occurred on. */
1377
1599
  ItemType?: string;
1378
1600
  /** The operations that occurred. */
@@ -1390,6 +1612,10 @@ interface Transaction {
1390
1612
  /** Additional details about the transaction. Null if it was not a transfer operation. */
1391
1613
  TransferDetails?: TransactionTransferDetails;
1392
1614
  }
1615
+ interface TransactionClawbackDetails {
1616
+ /** The id of the clawed back operation. */
1617
+ TransactionIdClawedback?: string;
1618
+ }
1393
1619
  interface TransactionOperation {
1394
1620
  /** The amount of items in this transaction. */
1395
1621
  Amount?: number;
@@ -1457,7 +1683,7 @@ interface TransferInventoryItemsRequest extends IPlayFabRequestCommon {
1457
1683
  * false)
1458
1684
  */
1459
1685
  DeleteEmptyStacks: boolean;
1460
- /** The inventory collection id the request is transferring from. (Default="default") */
1686
+ /** The inventory collection id the request is transferring from. (Default=&quot;default&quot;) */
1461
1687
  GivingCollectionId?: string;
1462
1688
  /** The entity the request is transferring from. Set to the caller by default. */
1463
1689
  GivingEntity?: EntityKey;
@@ -1472,7 +1698,7 @@ interface TransferInventoryItemsRequest extends IPlayFabRequestCommon {
1472
1698
  IdempotencyId?: string;
1473
1699
  /** The values to apply to a stack newly created by this request. */
1474
1700
  NewStackValues?: InitialValues;
1475
- /** The inventory collection id the request is transferring to. (Default="default") */
1701
+ /** The inventory collection id the request is transferring to. (Default=&quot;default&quot;) */
1476
1702
  ReceivingCollectionId?: string;
1477
1703
  /** The entity the request is transferring to. Set to the caller by default. */
1478
1704
  ReceivingEntity?: EntityKey;
@@ -1485,21 +1711,21 @@ interface TransferInventoryItemsResponse extends IPlayFabResultCommon {
1485
1711
  * ETags can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags
1486
1712
  */
1487
1713
  GivingETag?: string;
1488
- /** The ids of transactions that occurred as a result of the request's giving action. */
1714
+ /** The ids of transactions that occurred as a result of the request&#39;s giving action. */
1489
1715
  GivingTransactionIds?: string[];
1490
1716
  /** The idempotency id for the request. */
1491
1717
  IdempotencyId?: string;
1492
1718
  /**
1493
- * The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the
1719
+ * The transfer operation status. Possible values are &#39;InProgress&#39; or &#39;Completed&#39;. If the operation has completed, the
1494
1720
  * response code will be 200. Otherwise, it will be 202.
1495
1721
  */
1496
1722
  OperationStatus?: string;
1497
1723
  /**
1498
1724
  * The token that can be used to get the status of the transfer operation. This will only have a value if OperationStatus
1499
- * is 'InProgress'.
1725
+ * is &#39;InProgress&#39;.
1500
1726
  */
1501
1727
  OperationToken?: string;
1502
- /** The ids of transactions that occurred as a result of the request's receiving action. */
1728
+ /** The ids of transactions that occurred as a result of the request&#39;s receiving action. */
1503
1729
  ReceivingTransactionIds?: string[];
1504
1730
  }
1505
1731
  interface UpdateCatalogConfigRequest extends IPlayFabRequestCommon {
@@ -1528,7 +1754,7 @@ interface UpdateInventoryItemsOperation {
1528
1754
  }
1529
1755
  interface UpdateInventoryItemsRequest extends IPlayFabRequestCommon {
1530
1756
  /**
1531
- * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is
1757
+ * The id of the entity&#39;s collection to perform this action on. (Default=&quot;default&quot;). The number of inventory collections is
1532
1758
  * unlimited.
1533
1759
  */
1534
1760
  CollectionId?: string;
@@ -1560,6 +1786,16 @@ interface UpdateInventoryItemsResponse extends IPlayFabResultCommon {
1560
1786
  /** The ids of transactions that occurred as a result of the request. */
1561
1787
  TransactionIds?: string[];
1562
1788
  }
1789
+ interface UpdateViewRequest extends IPlayFabRequestCommon {
1790
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
1791
+ CustomTags?: Record<string, string | null>;
1792
+ /** Updated metadata describing the catalog view to be updated. */
1793
+ View?: CatalogView;
1794
+ }
1795
+ interface UpdateViewResponse extends IPlayFabResultCommon {
1796
+ /** Updated metadata describing the catalog view just updated */
1797
+ View?: CatalogView;
1798
+ }
1563
1799
  interface UploadInfo {
1564
1800
  /** Name of the file to be uploaded. */
1565
1801
  FileName?: string;
@@ -1578,261 +1814,921 @@ interface UserGeneratedContentSpecificConfig {
1578
1814
  /** The set of tags that will be used for validation. */
1579
1815
  Tags?: string[];
1580
1816
  }
1817
+ interface VersionedCatalog {
1818
+ /** Version of the catalog. */
1819
+ Version?: string;
1820
+ }
1821
+ interface VersionedCatalogItem {
1822
+ /** A list of alternate ids for this item. */
1823
+ AlternateIds?: VersionedCatalogItemAlternateId[];
1824
+ /** The content type of the item. */
1825
+ ContentType?: string;
1826
+ /** The creation date of the item. */
1827
+ CreationDate?: string;
1828
+ /** The creator entity of the item. */
1829
+ CreatorEntity?: VersionedCatalogItemCreatorEntity;
1830
+ /** The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. */
1831
+ DefaultStackId?: string;
1832
+ /** The description of the item. */
1833
+ Description?: Record<string, string | null>;
1834
+ /** The end date of the item. */
1835
+ EndDate?: string;
1836
+ /** The friendly id of the item. */
1837
+ FriendlyId?: string;
1838
+ /** The id identifying the item. */
1839
+ Id?: string;
1840
+ /** Indicates if the item is hidden. */
1841
+ IsHidden?: boolean;
1842
+ /** Indicates if the item is for testing. */
1843
+ IsTest?: boolean;
1844
+ /** The item references associated with this item. */
1845
+ ItemReferences?: VersionedCatalogItemReference[];
1846
+ /** The keywords of the item. */
1847
+ Keywords?: Record<string, VersionedCatalogItemKeywordSet>;
1848
+ /** The last modified date of the item. */
1849
+ LastModifiedDate?: string;
1850
+ /** The payout information of the payee. */
1851
+ PayoutInfo?: VersionedCatalogItemPayoutInfo;
1852
+ /** The platforms of the item. */
1853
+ Platforms?: string[];
1854
+ /** The prices the item can be purchased for. */
1855
+ Price?: VersionedCatalogItemPrice;
1856
+ /** The real price the item was purchased for per marketplace. */
1857
+ RealMoneyPriceDetails?: VersionedCatalogItemRealMoneyPriceDetails;
1858
+ /** The start date of the item. */
1859
+ StartDate?: string;
1860
+ /** Optional details for stores items. */
1861
+ StoreDetails?: VersionedCatalogItemStoreDetails;
1862
+ /** The tags of the item. */
1863
+ Tags?: string[];
1864
+ /** The title of the item. */
1865
+ Title?: Record<string, string | null>;
1866
+ /** Whether a non-title entity can interact with the item. */
1867
+ TitleExclusive?: boolean;
1868
+ /** The service defined type of the item. */
1869
+ Type?: string;
1870
+ }
1871
+ interface VersionedCatalogItemAlternateId {
1872
+ /** Type of the Alternate Id. */
1873
+ Type?: string;
1874
+ /** Value of the Alternate Id. */
1875
+ Value?: string;
1876
+ }
1877
+ interface VersionedCatalogItemCreatorEntity {
1878
+ /** The id of the creator entity. */
1879
+ Id?: string;
1880
+ /** The type of the creator entity. */
1881
+ Type?: string;
1882
+ }
1883
+ interface VersionedCatalogItemFilterOptions {
1884
+ /** The OData filter utilized. Mutually exclusive with &#39;IncludeAllItems&#39;. */
1885
+ Filter?: string;
1886
+ /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with &#39;Filter&#39;. */
1887
+ IncludeAllItems?: boolean;
1888
+ }
1889
+ interface VersionedCatalogItemKeywordSet {
1890
+ /** A list of localized keywords. */
1891
+ Values?: string[];
1892
+ }
1893
+ interface VersionedCatalogItemOverride {
1894
+ /** The exact value that should be utilized in the override. */
1895
+ FixedValue?: number;
1896
+ /** The id of the item this override should utilize. */
1897
+ ItemId?: string;
1898
+ /**
1899
+ * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the
1900
+ * override.
1901
+ */
1902
+ Multiplier?: number;
1903
+ }
1904
+ interface VersionedCatalogItemPayoutInfo {
1905
+ /** The Dev Center account id of the payee. */
1906
+ AccountSellerId?: string;
1907
+ /** The tax code for payout calculations. */
1908
+ TaxCode?: string;
1909
+ /** The Universal account id of the payee. */
1910
+ Uaid?: string;
1911
+ }
1912
+ interface VersionedCatalogItemPermissions {
1913
+ /** The list of ids of Segments that the a player can be in to purchase from the store. */
1914
+ SegmentIds?: string[];
1915
+ }
1916
+ interface VersionedCatalogItemPrice {
1917
+ /** The amount the payee will receive. */
1918
+ PayoutAmount?: number;
1919
+ /** Prices of the catalog item. */
1920
+ Prices?: VersionedCatalogItemPriceInstance[];
1921
+ /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */
1922
+ Sort?: number;
1923
+ }
1924
+ interface VersionedCatalogItemPriceAmount {
1925
+ /** The amount of the price. */
1926
+ Amount?: number;
1927
+ /** Indicates whether the item this price references is defined at the namespace level or not. */
1928
+ IsFromNamespace?: boolean;
1929
+ /** The Item Id of the price. */
1930
+ ItemId?: string;
1931
+ /** Stack Id the client expects to use to purchase the item. */
1932
+ StackId?: string;
1933
+ }
1934
+ interface VersionedCatalogItemPriceInstance {
1935
+ /** The amounts of the catalog item price. Each price can have up to 15 item amounts. */
1936
+ Amounts?: VersionedCatalogItemPriceAmount[];
1937
+ /** The per-unit amount this price can be used to purchase. */
1938
+ UnitAmount?: number;
1939
+ /** The per-unit duration this price can be used to purchase. The maximum duration is 100 years. */
1940
+ UnitDurationInSeconds?: number;
1941
+ }
1942
+ interface VersionedCatalogItemPriceOverride {
1943
+ /** The currency amounts utilized in the override for a singular price. */
1944
+ Amounts?: VersionedCatalogItemOverride[];
1945
+ }
1946
+ interface VersionedCatalogItemPricesOverride {
1947
+ /** The payout amount utilized in the override. */
1948
+ PayoutAmount?: VersionedCatalogItemOverride;
1949
+ /** The prices utilized in the override. */
1950
+ Prices?: VersionedCatalogItemPriceOverride[];
1951
+ }
1952
+ interface VersionedCatalogItemRealMoneyPriceDetails {
1953
+ /** The &#39;AppleAppStore&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1954
+ AppleAppStorePrices?: Record<string, number>;
1955
+ /** The &#39;GooglePlay&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1956
+ GooglePlayPrices?: Record<string, number>;
1957
+ /** The &#39;MicrosoftStore&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1958
+ MicrosoftStorePrices?: Record<string, number>;
1959
+ /** The &#39;NintendoEShop&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1960
+ NintendoEShopPrices?: Record<string, number>;
1961
+ /** The &#39;PlayStationStore&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1962
+ PlayStationStorePrices?: Record<string, number>;
1963
+ /** The &#39;Steam&#39; price amount per CurrencyCode. &#39;USD&#39; supported only. */
1964
+ SteamPrices?: Record<string, number>;
1965
+ }
1966
+ interface VersionedCatalogItemReference {
1967
+ /** The amount of the catalog item. */
1968
+ Amount?: number;
1969
+ /** The duration in seconds of the catalog item. */
1970
+ DurationInSeconds?: number;
1971
+ /** The unique id of the catalog item. */
1972
+ Id?: string;
1973
+ /** Indicates whether the item this reference represents is defined at the namespace level or not. */
1974
+ IsFromNamespace?: boolean;
1975
+ /** The prices the catalog item can be purchased for. */
1976
+ Price?: VersionedCatalogItemPrice;
1977
+ }
1978
+ interface VersionedCatalogItemStoreDetails {
1979
+ /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */
1980
+ FilterOptions?: VersionedCatalogItemFilterOptions;
1981
+ /** The permissions that control which players can purchase from the store. */
1982
+ Permissions?: VersionedCatalogItemPermissions;
1983
+ /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */
1984
+ PricesOverride?: VersionedCatalogItemPricesOverride;
1985
+ }
1581
1986
 
1582
1987
  declare class PlayFabEconomyApi extends PlayFabCommon {
1583
1988
  /**
1584
1989
  * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped.
1585
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems
1586
- */
1587
- AddInventoryItems(request: AddInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<AddInventoryItemsResponse>;
1990
+ *
1991
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/addinventoryitems Microsoft Documentation}
1992
+ * @example
1993
+ * await inventoryClient.AddInventoryItems({
1994
+ * "Item": {
1995
+ * "Id": "11111111-1111-1111-1111-111111111111"
1996
+ * },
1997
+ * "Amount": 3,
1998
+ * "ReturnInventory": false
1999
+ * });
2000
+ */
2001
+ AddInventoryItems(request: AddInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<AddInventoryItemsResponse>;
2002
+ /**
2003
+ * Given an existing Versioned Catalog, begin the process of validating the uploaded JSON and creating the described items.
2004
+ *
2005
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/completeversionedcatalogupload Microsoft Documentation}
2006
+ * @example
2007
+ * await versionedcatalogClient.CompleteVersionedCatalogUpload({});
2008
+ */
2009
+ CompleteVersionedCatalogUpload(request: CompleteVersionedCatalogUploadRequest, extraHeaders?: Record<string, string>): Promise<CompleteVersionedCatalogUploadResponse>;
1588
2010
  /**
1589
2011
  * Creates a new item in the working catalog using provided metadata. Note: SAS tokens provided are valid for 1 hour.
1590
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem
1591
- */
1592
- CreateDraftItem(request: CreateDraftItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<CreateDraftItemResponse>;
2012
+ *
2013
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/createdraftitem Microsoft Documentation}
2014
+ * @example
2015
+ * await catalogClient.CreateDraftItem({
2016
+ * "Item": {
2017
+ * "Type": "ugc",
2018
+ * "Title": {
2019
+ * "NEUTRAL": "Neutral title",
2020
+ * "en-US": "US English title"
2021
+ * },
2022
+ * "Description": {
2023
+ * "NEUTRAL": "Neutral description",
2024
+ * "en-US": "US English description"
2025
+ * },
2026
+ * "Keywords": {
2027
+ * "NEUTRAL": {
2028
+ * "Values": [
2029
+ * "Keyword_1",
2030
+ * "Keyword_2"
2031
+ * ]
2032
+ * }
2033
+ * },
2034
+ * "ContentType": "example item",
2035
+ * "CreatorEntity": {
2036
+ * "Id": "someId",
2037
+ * "Type": "title_player_account",
2038
+ * "TypeString": "title_player_account"
2039
+ * },
2040
+ * "IsHidden": false,
2041
+ * "Tags": [
2042
+ * "pirates",
2043
+ * "holiday"
2044
+ * ],
2045
+ * "DisplayVersion": "1.0.0",
2046
+ * "CreationDate": "2018-08-17T22:32:10.472Z",
2047
+ * "Contents": [
2048
+ * {
2049
+ * "Id": "00000000-0000-0000-0000-000000000001",
2050
+ * "Url": "https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000001/textures.zip",
2051
+ * "MaxClientVersion": "2.4.1",
2052
+ * "MinClientVersion": "2.0.0"
2053
+ * }
2054
+ * ],
2055
+ * "Images": [
2056
+ * {
2057
+ * "Id": "00000000-0000-0000-0000-000000000003",
2058
+ * "Type": "Thumbnail",
2059
+ * "Url": "https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000003/splashscreen_thumb.jpg"
2060
+ * }
2061
+ * ],
2062
+ * "DisplayProperties": {
2063
+ * "mapDetails": {
2064
+ * "mapType": "desertIsland",
2065
+ * "gameMode": "capture",
2066
+ * "maxPlayers": 16
2067
+ * },
2068
+ * "averageMatchLengthInSeconds": 947
2069
+ * },
2070
+ * "DefaultStackId": "Static_Default_Stack_Id"
2071
+ * },
2072
+ * "Publish": false
2073
+ * });
2074
+ */
2075
+ CreateDraftItem(request: CreateDraftItemRequest, extraHeaders?: Record<string, string>): Promise<CreateDraftItemResponse>;
1593
2076
  /**
1594
2077
  * Creates one or more upload URLs which can be used by the client to upload raw file data. Content URls and uploaded
1595
2078
  * content will be garbage collected after 24 hours if not attached to a draft or published item. Detailed pricing info
1596
2079
  * around uploading content can be found here:
1597
2080
  * https://learn.microsoft.com/en-us/gaming/playfab/features/pricing/meters/catalog-meters
1598
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls
1599
- */
1600
- CreateUploadUrls(request: CreateUploadUrlsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<CreateUploadUrlsResponse>;
2081
+ *
2082
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/createuploadurls Microsoft Documentation}
2083
+ * @example
2084
+ * await catalogClient.CreateUploadUrls({
2085
+ * "Files": [
2086
+ * {
2087
+ * "FileName": "textures.zip"
2088
+ * },
2089
+ * {
2090
+ * "FileName": "sprites.png"
2091
+ * }
2092
+ * ]
2093
+ * });
2094
+ */
2095
+ CreateUploadUrls(request: CreateUploadUrlsRequest, extraHeaders?: Record<string, string>): Promise<CreateUploadUrlsResponse>;
2096
+ /**
2097
+ * Given an existing Catalog Version, create an URL location where titles can upload a JSON schema of a catalog, if the
2098
+ * catalog is empty.
2099
+ *
2100
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/createversionedcataloguploadurl Microsoft Documentation}
2101
+ * @example
2102
+ * await versionedcatalogClient.CreateVersionedCatalogUploadURL({});
2103
+ */
2104
+ CreateVersionedCatalogUploadURL(request: CreateVersionedCatalogUploadURLRequest, extraHeaders?: Record<string, string>): Promise<CreateVersionedCatalogUploadURLResponse>;
2105
+ /**
2106
+ * Creates a new view in the catalog using provided metadata.
2107
+ *
2108
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/createview Microsoft Documentation}
2109
+ * @example
2110
+ * await catalogClient.CreateView({
2111
+ * "View": {
2112
+ * "FriendlyId": "exampleView",
2113
+ * "IsTitleView": false,
2114
+ * "Count": 10,
2115
+ * "Filter": "tags/any(t:t eq 'desert') and contentType eq 'map'",
2116
+ * "Language": "en-US",
2117
+ * "FileFormat": "JsonLines"
2118
+ * }
2119
+ * });
2120
+ */
2121
+ CreateView(request: CreateViewRequest, extraHeaders?: Record<string, string>): Promise<CreateViewResponse>;
1601
2122
  /**
1602
2123
  * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified.
1603
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews
1604
- */
1605
- DeleteEntityItemReviews(request: DeleteEntityItemReviewsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<DeleteEntityItemReviewsResponse>;
2124
+ *
2125
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/deleteentityitemreviews Microsoft Documentation}
2126
+ * @example
2127
+ * await catalogClient.DeleteEntityItemReviews({
2128
+ * "Entity": {
2129
+ * "Id": "ABC123",
2130
+ * "Type": "title_player_account",
2131
+ * "TypeString": "title_player_account"
2132
+ * }
2133
+ * });
2134
+ */
2135
+ DeleteEntityItemReviews(request: DeleteEntityItemReviewsRequest, extraHeaders?: Record<string, string>): Promise<DeleteEntityItemReviewsResponse>;
1606
2136
  /**
1607
2137
  * Delete an Inventory Collection. More information about Inventory Collections can be found here:
1608
2138
  * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/collections
1609
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection
2139
+ *
2140
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/deleteinventorycollection Microsoft Documentation}
2141
+ * @example
2142
+ * await inventoryClient.DeleteInventoryCollection({
2143
+ * "CollectionId": "backpack"
2144
+ * });
1610
2145
  */
1611
- DeleteInventoryCollection(request: DeleteInventoryCollectionRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<DeleteInventoryCollectionResponse>;
2146
+ DeleteInventoryCollection(request: DeleteInventoryCollectionRequest, extraHeaders?: Record<string, string>): Promise<DeleteInventoryCollectionResponse>;
1612
2147
  /**
1613
2148
  * Delete inventory items
1614
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems
2149
+ *
2150
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/deleteinventoryitems Microsoft Documentation}
2151
+ * @example
2152
+ * await inventoryClient.DeleteInventoryItems({
2153
+ * "Item": {
2154
+ * "Id": "11111111-1111-1111-1111-111111111111"
2155
+ * }
2156
+ * });
1615
2157
  */
1616
- DeleteInventoryItems(request: DeleteInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<DeleteInventoryItemsResponse>;
2158
+ DeleteInventoryItems(request: DeleteInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<DeleteInventoryItemsResponse>;
1617
2159
  /**
1618
2160
  * Removes an item from working catalog and all published versions from the public catalog.
1619
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem
2161
+ *
2162
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/deleteitem Microsoft Documentation}
2163
+ * @example
2164
+ * await catalogClient.DeleteItem({
2165
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2166
+ * });
1620
2167
  */
1621
- DeleteItem(request: DeleteItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<DeleteItemResponse>;
2168
+ DeleteItem(request: DeleteItemRequest, extraHeaders?: Record<string, string>): Promise<DeleteItemResponse>;
2169
+ /**
2170
+ * Delete versioned catalog.
2171
+ *
2172
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/deleteversionedcatalog Microsoft Documentation}
2173
+ * @example
2174
+ * await versionedcatalogClient.DeleteVersionedCatalog({});
2175
+ */
2176
+ DeleteVersionedCatalog(request: DeleteVersionedCatalogRequest, extraHeaders?: Record<string, string>): Promise<EmptyResponse>;
2177
+ /**
2178
+ * Deletes a catalog view and the associated blob.
2179
+ *
2180
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/deleteview Microsoft Documentation}
2181
+ * @example
2182
+ * await catalogClient.DeleteView({
2183
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2184
+ * });
2185
+ */
2186
+ DeleteView(request: DeleteViewRequest, extraHeaders?: Record<string, string>): Promise<DeleteViewResponse>;
1622
2187
  /**
1623
2188
  * Execute a list of Inventory Operations. A maximum list of 50 operations can be performed by a single request. There is
1624
2189
  * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items
1625
2190
  * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced
1626
2191
  * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds.
1627
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations
1628
- */
1629
- ExecuteInventoryOperations(request: ExecuteInventoryOperationsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ExecuteInventoryOperationsResponse>;
2192
+ *
2193
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/executeinventoryoperations Microsoft Documentation}
2194
+ * @example
2195
+ * await inventoryClient.ExecuteInventoryOperations({
2196
+ * "Operations": [
2197
+ * {
2198
+ * "Add": {
2199
+ * "Item": {
2200
+ * "Id": "11111111-1111-1111-1111-111111111111"
2201
+ * },
2202
+ * "Amount": 3
2203
+ * }
2204
+ * },
2205
+ * {
2206
+ * "Subtract": {
2207
+ * "Item": {
2208
+ * "Id": "11111111-1111-1111-1111-111111111111"
2209
+ * },
2210
+ * "Amount": 3,
2211
+ * "DeleteEmptyStacks": false
2212
+ * }
2213
+ * }
2214
+ * ]
2215
+ * });
2216
+ */
2217
+ ExecuteInventoryOperations(request: ExecuteInventoryOperationsRequest, extraHeaders?: Record<string, string>): Promise<ExecuteInventoryOperationsResponse>;
1630
2218
  /**
1631
2219
  * Transfer a list of inventory items. A maximum list of 50 operations can be performed by a single request. When the
1632
2220
  * response code is 202, one or more operations did not complete within the timeframe of the request. You can identify the
1633
2221
  * pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime
1634
2222
  * within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API.
1635
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executetransferoperations
1636
- */
1637
- ExecuteTransferOperations(request: ExecuteTransferOperationsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ExecuteTransferOperationsResponse>;
2223
+ *
2224
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/executetransferoperations Microsoft Documentation}
2225
+ * @example
2226
+ * await inventoryClient.ExecuteTransferOperations({
2227
+ * "Operations": [
2228
+ * {
2229
+ * "GivingItem": {
2230
+ * "Id": "11111111-1111-1111-1111-111111111111",
2231
+ * "StackId": "default"
2232
+ * },
2233
+ * "ReceivingItem": {
2234
+ * "Id": "11111111-1111-1111-1111-111111111111",
2235
+ * "StackId": "default"
2236
+ * },
2237
+ * "Amount": 1,
2238
+ * "DeleteEmptyStacks": false
2239
+ * }
2240
+ * ],
2241
+ * "GivingEntity": {
2242
+ * "Id": "someId1",
2243
+ * "Type": "title_player_account",
2244
+ * "TypeString": "title_player_account"
2245
+ * },
2246
+ * "ReceivingEntity": {
2247
+ * "Id": "someId2",
2248
+ * "Type": "title_player_account",
2249
+ * "TypeString": "title_player_account"
2250
+ * },
2251
+ * "GivingCollectionId": "default",
2252
+ * "ReceivingCollectionId": "backpack"
2253
+ * });
2254
+ */
2255
+ ExecuteTransferOperations(request: ExecuteTransferOperationsRequest, extraHeaders?: Record<string, string>): Promise<ExecuteTransferOperationsResponse>;
2256
+ /**
2257
+ * Export versioned catalog.
2258
+ *
2259
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/exportversionedcatalog Microsoft Documentation}
2260
+ * @example
2261
+ * await versionedcatalogClient.ExportVersionedCatalog({});
2262
+ */
2263
+ ExportVersionedCatalog(request: ExportVersionedCatalogRequest, extraHeaders?: Record<string, string>): Promise<IActionResult>;
1638
2264
  /**
1639
2265
  * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10
1640
2266
  * seconds for this API. More information about the Catalog Config can be found here:
1641
2267
  * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings
1642
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig
2268
+ *
2269
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getcatalogconfig Microsoft Documentation}
2270
+ * @example
2271
+ * await catalogClient.GetCatalogConfig({});
1643
2272
  */
1644
- GetCatalogConfig(request: GetCatalogConfigRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetCatalogConfigResponse>;
2273
+ GetCatalogConfig(request: GetCatalogConfigRequest, extraHeaders?: Record<string, string>): Promise<GetCatalogConfigResponse>;
1645
2274
  /**
1646
2275
  * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem
1647
2276
  * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note
1648
2277
  * that item references data is cached and may take a few moments for changes to propagate. Note: SAS tokens provided are
1649
2278
  * valid for 1 hour.
1650
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem
2279
+ *
2280
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getdraftitem Microsoft Documentation}
2281
+ * @example
2282
+ * await catalogClient.GetDraftItem({
2283
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2284
+ * });
1651
2285
  */
1652
- GetDraftItem(request: GetDraftItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetDraftItemResponse>;
2286
+ GetDraftItem(request: GetDraftItemRequest, extraHeaders?: Record<string, string>): Promise<GetDraftItemResponse>;
1653
2287
  /**
1654
2288
  * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request.
1655
2289
  * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note:
1656
2290
  * SAS tokens provided are valid for 1 hour.
1657
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems
1658
- */
1659
- GetDraftItems(request: GetDraftItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetDraftItemsResponse>;
2291
+ *
2292
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getdraftitems Microsoft Documentation}
2293
+ * @example
2294
+ * await catalogClient.GetDraftItems({
2295
+ * "Ids": [
2296
+ * "dddddddd-dddd-dddd-dddd-dddddddddddd",
2297
+ * "eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee"
2298
+ * ]
2299
+ * });
2300
+ */
2301
+ GetDraftItems(request: GetDraftItemsRequest, extraHeaders?: Record<string, string>): Promise<GetDraftItemsResponse>;
1660
2302
  /**
1661
2303
  * Retrieves a paginated list of the items from the draft catalog created by the Entity. Up to 50 items can be returned at
1662
2304
  * once. You can use continuation tokens to paginate through results that return greater than the limit.
1663
2305
  * GetEntityDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates.
1664
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems
1665
- */
1666
- GetEntityDraftItems(request: GetEntityDraftItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetEntityDraftItemsResponse>;
2306
+ *
2307
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getentitydraftitems Microsoft Documentation}
2308
+ * @example
2309
+ * await catalogClient.GetEntityDraftItems({
2310
+ * "Count": 2,
2311
+ * "Entity": {
2312
+ * "Id": "someId",
2313
+ * "Type": "title_player_account",
2314
+ * "TypeString": "title_player_account"
2315
+ * }
2316
+ * });
2317
+ */
2318
+ GetEntityDraftItems(request: GetEntityDraftItemsRequest, extraHeaders?: Record<string, string>): Promise<GetEntityDraftItemsResponse>;
1667
2319
  /**
1668
2320
  * Gets the submitted review for the specified item by the authenticated entity. Individual ratings and reviews data update
1669
2321
  * in near real time with delays within a few seconds.
1670
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview
2322
+ *
2323
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getentityitemreview Microsoft Documentation}
2324
+ * @example
2325
+ * await catalogClient.GetEntityItemReview({
2326
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2327
+ * });
1671
2328
  */
1672
- GetEntityItemReview(request: GetEntityItemReviewRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetEntityItemReviewResponse>;
2329
+ GetEntityItemReview(request: GetEntityItemReviewRequest, extraHeaders?: Record<string, string>): Promise<GetEntityItemReviewResponse>;
1673
2330
  /**
1674
2331
  * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can
1675
2332
  * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for
1676
2333
  * new collection Ids to show up.
1677
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids
2334
+ *
2335
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getinventorycollectionids Microsoft Documentation}
2336
+ * @example
2337
+ * await inventoryClient.GetInventoryCollectionIds({
2338
+ * "Count": 5
2339
+ * });
1678
2340
  */
1679
- GetInventoryCollectionIds(request: GetInventoryCollectionIdsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetInventoryCollectionIdsResponse>;
2341
+ GetInventoryCollectionIds(request: GetInventoryCollectionIdsRequest, extraHeaders?: Record<string, string>): Promise<GetInventoryCollectionIdsResponse>;
1680
2342
  /**
1681
2343
  * Get current inventory items.
1682
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems
2344
+ *
2345
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getinventoryitems Microsoft Documentation}
2346
+ * @example
2347
+ * await inventoryClient.GetInventoryItems({
2348
+ * "Count": 5
2349
+ * });
1683
2350
  */
1684
- GetInventoryItems(request: GetInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetInventoryItemsResponse>;
2351
+ GetInventoryItems(request: GetInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<GetInventoryItemsResponse>;
1685
2352
  /**
1686
2353
  * Get the status of an inventory operation using an OperationToken. You can check on the operation status at anytime
1687
2354
  * within 1 day of the request by passing the TransactionToken to the this API.
1688
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryoperationstatus
2355
+ *
2356
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getinventoryoperationstatus Microsoft Documentation}
2357
+ * @example
2358
+ * await inventoryClient.GetInventoryOperationStatus({});
1689
2359
  */
1690
- GetInventoryOperationStatus(request: GetInventoryOperationStatusRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetInventoryOperationStatusResponse>;
2360
+ GetInventoryOperationStatus(request: GetInventoryOperationStatusRequest, extraHeaders?: Record<string, string>): Promise<GetInventoryOperationStatusResponse>;
1691
2361
  /**
1692
2362
  * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when
1693
2363
  * trying to get recent item updates. However, please note that item references data is cached and may take a few moments
1694
2364
  * for changes to propagate.
1695
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem
2365
+ *
2366
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitem Microsoft Documentation}
2367
+ * @example
2368
+ * await catalogClient.GetItem({
2369
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2370
+ * });
1696
2371
  */
1697
- GetItem(request: GetItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemResponse>;
2372
+ GetItem(request: GetItemRequest, extraHeaders?: Record<string, string>): Promise<GetItemResponse>;
1698
2373
  /**
1699
2374
  * Search for a given item and return a set of bundles and stores containing the item. Up to 50 items can be returned at
1700
2375
  * once. You can use continuation tokens to paginate through results that return greater than the limit. This API is
1701
2376
  * intended for tooling/automation scenarios and has a reduced RPS with Player Entities limited to 30 requests in 300
1702
2377
  * seconds and Title Entities limited to 100 requests in 10 seconds.
1703
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers
2378
+ *
2379
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemcontainers Microsoft Documentation}
2380
+ * @example
2381
+ * await catalogClient.GetItemContainers({
2382
+ * "Count": 5,
2383
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2384
+ * });
1704
2385
  */
1705
- GetItemContainers(request: GetItemContainersRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemContainersResponse>;
2386
+ GetItemContainers(request: GetItemContainersRequest, extraHeaders?: Record<string, string>): Promise<GetItemContainersResponse>;
1706
2387
  /**
1707
2388
  * Gets the moderation state for an item, including the concern category and string reason. More information about
1708
2389
  * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation
1709
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate
2390
+ *
2391
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemmoderationstate Microsoft Documentation}
2392
+ * @example
2393
+ * await catalogClient.GetItemModerationState({
2394
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2395
+ * });
1710
2396
  */
1711
- GetItemModerationState(request: GetItemModerationStateRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemModerationStateResponse>;
2397
+ GetItemModerationState(request: GetItemModerationStateRequest, extraHeaders?: Record<string, string>): Promise<GetItemModerationStateResponse>;
1712
2398
  /**
1713
2399
  * Gets the status of a publish of an item.
1714
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus
2400
+ *
2401
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitempublishstatus Microsoft Documentation}
2402
+ * @example
2403
+ * await catalogClient.GetItemPublishStatus({
2404
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2405
+ * });
1715
2406
  */
1716
- GetItemPublishStatus(request: GetItemPublishStatusRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemPublishStatusResponse>;
2407
+ GetItemPublishStatus(request: GetItemPublishStatusRequest, extraHeaders?: Record<string, string>): Promise<GetItemPublishStatusResponse>;
1717
2408
  /**
1718
2409
  * Get a paginated set of reviews associated with the specified item. Individual ratings and reviews data update in near
1719
2410
  * real time with delays within a few seconds.
1720
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews
2411
+ *
2412
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemreviews Microsoft Documentation}
2413
+ * @example
2414
+ * await catalogClient.GetItemReviews({
2415
+ * "Count": 2,
2416
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2417
+ * });
1721
2418
  */
1722
- GetItemReviews(request: GetItemReviewsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemReviewsResponse>;
2419
+ GetItemReviews(request: GetItemReviewsRequest, extraHeaders?: Record<string, string>): Promise<GetItemReviewsResponse>;
1723
2420
  /**
1724
2421
  * Get a summary of all ratings and reviews associated with the specified item. Summary ratings data is cached with update
1725
2422
  * data coming within 15 minutes.
1726
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary
2423
+ *
2424
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemreviewsummary Microsoft Documentation}
2425
+ * @example
2426
+ * await catalogClient.GetItemReviewSummary({
2427
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2428
+ * });
1727
2429
  */
1728
- GetItemReviewSummary(request: GetItemReviewSummaryRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemReviewSummaryResponse>;
2430
+ GetItemReviewSummary(request: GetItemReviewSummaryRequest, extraHeaders?: Record<string, string>): Promise<GetItemReviewSummaryResponse>;
1729
2431
  /**
1730
2432
  * Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of
1731
2433
  * the Catalog and should be used when trying to get recent item updates. However, please note that item references data is
1732
2434
  * cached and may take a few moments for changes to propagate.
1733
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems
1734
- */
1735
- GetItems(request: GetItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetItemsResponse>;
2435
+ *
2436
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitems Microsoft Documentation}
2437
+ * @example
2438
+ * await catalogClient.GetItems({
2439
+ * "Ids": [
2440
+ * "dddddddd-dddd-dddd-dddd-dddddddddddd",
2441
+ * "eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee"
2442
+ * ]
2443
+ * });
2444
+ */
2445
+ GetItems(request: GetItemsRequest, extraHeaders?: Record<string, string>): Promise<GetItemsResponse>;
1736
2446
  /**
1737
2447
  * Gets the access tokens.
1738
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens
2448
+ *
2449
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getmicrosoftstoreaccesstokens Microsoft Documentation}
2450
+ * @example
2451
+ * await inventoryClient.GetMicrosoftStoreAccessTokens({});
1739
2452
  */
1740
- GetMicrosoftStoreAccessTokens(request: GetMicrosoftStoreAccessTokensRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetMicrosoftStoreAccessTokensResponse>;
2453
+ GetMicrosoftStoreAccessTokens(request: GetMicrosoftStoreAccessTokensRequest, extraHeaders?: Record<string, string>): Promise<GetMicrosoftStoreAccessTokensResponse>;
1741
2454
  /**
1742
2455
  * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to
1743
2456
  * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than
1744
2457
  * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.
1745
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory
1746
- */
1747
- GetTransactionHistory(request: GetTransactionHistoryRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<GetTransactionHistoryResponse>;
2458
+ *
2459
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/gettransactionhistory Microsoft Documentation}
2460
+ * @example
2461
+ * await inventoryClient.GetTransactionHistory({
2462
+ * "Count": 10,
2463
+ * "CollectionId": "default"
2464
+ * });
2465
+ */
2466
+ GetTransactionHistory(request: GetTransactionHistoryRequest, extraHeaders?: Record<string, string>): Promise<GetTransactionHistoryResponse>;
2467
+ /**
2468
+ * Get versioned catalog item.
2469
+ *
2470
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/getversionedcatalogitem Microsoft Documentation}
2471
+ * @example
2472
+ * await versionedcatalogClient.GetVersionedCatalogItem({});
2473
+ */
2474
+ GetVersionedCatalogItem(request: GetVersionedCatalogItemRequest, extraHeaders?: Record<string, string>): Promise<GetVersionedCatalogItemResponse>;
2475
+ /**
2476
+ * Returns the current status of a Versioned Catalog upload.
2477
+ *
2478
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/getversionedcataloguploadstatus Microsoft Documentation}
2479
+ * @example
2480
+ * await versionedcatalogClient.GetVersionedCatalogUploadStatus({});
2481
+ */
2482
+ GetVersionedCatalogUploadStatus(request: GetVersionedCatalogUploadStatusRequest, extraHeaders?: Record<string, string>): Promise<GetVersionedCatalogUploadStatusResponse>;
2483
+ /**
2484
+ * Retrieves a specific catalog view.
2485
+ *
2486
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getview Microsoft Documentation}
2487
+ * @example
2488
+ * await catalogClient.GetView({
2489
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2490
+ * });
2491
+ */
2492
+ GetView(request: GetViewRequest, extraHeaders?: Record<string, string>): Promise<GetViewResponse>;
2493
+ /**
2494
+ * Retrieves a paginated list of the catalog views.
2495
+ *
2496
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getviews Microsoft Documentation}
2497
+ * @example
2498
+ * await catalogClient.GetViews({
2499
+ * "Count": 5,
2500
+ * "Entity": {
2501
+ * "Id": "someId",
2502
+ * "Type": "title_player_account",
2503
+ * "TypeString": "title_player_account"
2504
+ * }
2505
+ * });
2506
+ */
2507
+ GetViews(request: GetViewsRequest, extraHeaders?: Record<string, string>): Promise<GetViewsResponse>;
2508
+ /**
2509
+ * List versioned catalogs.
2510
+ *
2511
+ * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/listversionedcatalogs Microsoft Documentation}
2512
+ * @example
2513
+ * await versionedcatalogClient.ListVersionedCatalogs({});
2514
+ */
2515
+ ListVersionedCatalogs(request: ListVersionedCatalogsRequest, extraHeaders?: Record<string, string>): Promise<ListVersionedCatalogsResponse>;
1748
2516
  /**
1749
2517
  * Initiates a publish of an item from the working catalog to the public catalog. You can use the GetItemPublishStatus API
1750
2518
  * to track the state of the item publish.
1751
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem
2519
+ *
2520
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/publishdraftitem Microsoft Documentation}
2521
+ * @example
2522
+ * await catalogClient.PublishDraftItem({
2523
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2524
+ * });
1752
2525
  */
1753
- PublishDraftItem(request: PublishDraftItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<PublishDraftItemResponse>;
2526
+ PublishDraftItem(request: PublishDraftItemRequest, extraHeaders?: Record<string, string>): Promise<PublishDraftItemResponse>;
1754
2527
  /**
1755
2528
  * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is
1756
2529
  * uncapped.
1757
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems
1758
- */
1759
- PurchaseInventoryItems(request: PurchaseInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<PurchaseInventoryItemsResponse>;
2530
+ *
2531
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/purchaseinventoryitems Microsoft Documentation}
2532
+ * @example
2533
+ * await inventoryClient.PurchaseInventoryItems({
2534
+ * "Item": {
2535
+ * "Id": "11111111-1111-1111-1111-111111111111"
2536
+ * },
2537
+ * "Amount": 1,
2538
+ * "PriceAmounts": [
2539
+ * {
2540
+ * "ItemId": "cccccccc-cccc-cccc-cccc-cccccccccccc",
2541
+ * "Amount": 15
2542
+ * }
2543
+ * ],
2544
+ * "DeleteEmptyStacks": false
2545
+ * });
2546
+ */
2547
+ PurchaseInventoryItems(request: PurchaseInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<PurchaseInventoryItemsResponse>;
1760
2548
  /**
1761
2549
  * Redeem items.
1762
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems
2550
+ *
2551
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemappleappstoreinventoryitems Microsoft Documentation}
2552
+ * @example
2553
+ * await inventoryClient.RedeemAppleAppStoreInventoryItems({
2554
+ * "Receipt": "receipt"
2555
+ * });
1763
2556
  */
1764
- RedeemAppleAppStoreInventoryItems(request: RedeemAppleAppStoreInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<RedeemAppleAppStoreInventoryItemsResponse>;
2557
+ RedeemAppleAppStoreInventoryItems(request: RedeemAppleAppStoreInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<RedeemAppleAppStoreInventoryItemsResponse>;
1765
2558
  /**
1766
2559
  * Redeem items.
1767
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems
1768
- */
1769
- RedeemGooglePlayInventoryItems(request: RedeemGooglePlayInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<RedeemGooglePlayInventoryItemsResponse>;
2560
+ *
2561
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemgoogleplayinventoryitems Microsoft Documentation}
2562
+ * @example
2563
+ * await inventoryClient.RedeemGooglePlayInventoryItems({
2564
+ * "Purchases": [
2565
+ * {
2566
+ * "ProductId": "productId",
2567
+ * "Token": "token"
2568
+ * }
2569
+ * ]
2570
+ * });
2571
+ */
2572
+ RedeemGooglePlayInventoryItems(request: RedeemGooglePlayInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<RedeemGooglePlayInventoryItemsResponse>;
1770
2573
  /**
1771
2574
  * Redeem items.
1772
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems
2575
+ *
2576
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemmicrosoftstoreinventoryitems Microsoft Documentation}
2577
+ * @example
2578
+ * await inventoryClient.RedeemMicrosoftStoreInventoryItems({
2579
+ * "CollectionsIdKey": "collectionsIdKey"
2580
+ * });
1773
2581
  */
1774
- RedeemMicrosoftStoreInventoryItems(request: RedeemMicrosoftStoreInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<RedeemMicrosoftStoreInventoryItemsResponse>;
2582
+ RedeemMicrosoftStoreInventoryItems(request: RedeemMicrosoftStoreInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<RedeemMicrosoftStoreInventoryItemsResponse>;
1775
2583
  /**
1776
2584
  * Redeem items.
1777
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems
2585
+ *
2586
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemnintendoeshopinventoryitems Microsoft Documentation}
2587
+ * @example
2588
+ * await inventoryClient.RedeemNintendoEShopInventoryItems({
2589
+ * "NintendoServiceAccountIdToken": "nsaIdToken"
2590
+ * });
1778
2591
  */
1779
- RedeemNintendoEShopInventoryItems(request: RedeemNintendoEShopInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<RedeemNintendoEShopInventoryItemsResponse>;
2592
+ RedeemNintendoEShopInventoryItems(request: RedeemNintendoEShopInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<RedeemNintendoEShopInventoryItemsResponse>;
1780
2593
  /**
1781
2594
  * Redeem items.
1782
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems
2595
+ *
2596
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemplaystationstoreinventoryitems Microsoft Documentation}
2597
+ * @example
2598
+ * await inventoryClient.RedeemPlayStationStoreInventoryItems({
2599
+ * "AuthorizationCode": "authorizationCode",
2600
+ * "RedirectUri": "orbis://games",
2601
+ * "ServiceLabel": "0"
2602
+ * });
1783
2603
  */
1784
- RedeemPlayStationStoreInventoryItems(request: RedeemPlayStationStoreInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<RedeemPlayStationStoreInventoryItemsResponse>;
2604
+ RedeemPlayStationStoreInventoryItems(request: RedeemPlayStationStoreInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<RedeemPlayStationStoreInventoryItemsResponse>;
1785
2605
  /**
1786
2606
  * Redeem items.
1787
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems
2607
+ *
2608
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemsteaminventoryitems Microsoft Documentation}
2609
+ * @example
2610
+ * await inventoryClient.RedeemSteamInventoryItems({});
1788
2611
  */
1789
- RedeemSteamInventoryItems(request: RedeemSteamInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<RedeemSteamInventoryItemsResponse>;
2612
+ RedeemSteamInventoryItems(request: RedeemSteamInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<RedeemSteamInventoryItemsResponse>;
1790
2613
  /**
1791
2614
  * Submit a report for an item, indicating in what way the item is inappropriate.
1792
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem
2615
+ *
2616
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/reportitem Microsoft Documentation}
2617
+ * @example
2618
+ * await catalogClient.ReportItem({
2619
+ * "ConcernCategory": "Profanity",
2620
+ * "Reason": "There was swearing in the description.",
2621
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2622
+ * });
1793
2623
  */
1794
- ReportItem(request: ReportItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ReportItemResponse>;
2624
+ ReportItem(request: ReportItemRequest, extraHeaders?: Record<string, string>): Promise<ReportItemResponse>;
1795
2625
  /**
1796
2626
  * Submit a report for a review
1797
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview
1798
- */
1799
- ReportItemReview(request: ReportItemReviewRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ReportItemReviewResponse>;
2627
+ *
2628
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/reportitemreview Microsoft Documentation}
2629
+ * @example
2630
+ * await catalogClient.ReportItemReview({
2631
+ * "ReviewId": "dddddddd-dddd-dddd-dddd-dddddddddddd",
2632
+ * "ItemId": "eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee",
2633
+ * "ConcernCategory": "OffensiveContent",
2634
+ * "Reason": "Foul language."
2635
+ * });
2636
+ */
2637
+ ReportItemReview(request: ReportItemReviewRequest, extraHeaders?: Record<string, string>): Promise<ReportItemReviewResponse>;
1800
2638
  /**
1801
2639
  * Creates or updates a review for the specified item. More information around the caching surrounding item ratings and
1802
2640
  * reviews can be found here:
1803
2641
  * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/ratings#ratings-design-and-caching
1804
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem
1805
- */
1806
- ReviewItem(request: ReviewItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<ReviewItemResponse>;
2642
+ *
2643
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/reviewitem Microsoft Documentation}
2644
+ * @example
2645
+ * await catalogClient.ReviewItem({
2646
+ * "Review": {
2647
+ * "ItemVersion": "2.4.1",
2648
+ * "Title": "Best Game Ever",
2649
+ * "ReviewText": "I play this game every day. It's my favorite game yet.",
2650
+ * "Rating": 5,
2651
+ * "IsInstalled": true,
2652
+ * "HelpfulPositive": 0,
2653
+ * "HelpfulNegative": 0,
2654
+ * "Submitted": "0001-01-01T00:00:00Z"
2655
+ * },
2656
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2657
+ * });
2658
+ */
2659
+ ReviewItem(request: ReviewItemRequest, extraHeaders?: Record<string, string>): Promise<ReviewItemResponse>;
1807
2660
  /**
1808
2661
  * Executes a search against the public catalog using the provided search parameters and returns a set of paginated
1809
2662
  * results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should
1810
2663
  * use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be
1811
2664
  * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search
1812
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems
1813
- */
1814
- SearchItems(request: SearchItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<SearchItemsResponse>;
2665
+ *
2666
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/searchitems Microsoft Documentation}
2667
+ * @example
2668
+ * await catalogClient.SearchItems({
2669
+ * "Search": "Pirates",
2670
+ * "Filter": "tags/any(t:t eq 'desert') and contentType eq 'map'",
2671
+ * "OrderBy": "lastModifiedDate asc",
2672
+ * "ContinuationToken": "abc=",
2673
+ * "Count": 2
2674
+ * });
2675
+ */
2676
+ SearchItems(request: SearchItemsRequest, extraHeaders?: Record<string, string>): Promise<SearchItemsResponse>;
1815
2677
  /**
1816
2678
  * Sets the moderation state for an item, including the concern category and string reason. More information about
1817
2679
  * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation
1818
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate
2680
+ *
2681
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/setitemmoderationstate Microsoft Documentation}
2682
+ * @example
2683
+ * await catalogClient.SetItemModerationState({
2684
+ * "Status": "AwaitingModeration",
2685
+ * "Reason": "User reports over threshold",
2686
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2687
+ * });
1819
2688
  */
1820
- SetItemModerationState(request: SetItemModerationStateRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<SetItemModerationStateResponse>;
2689
+ SetItemModerationState(request: SetItemModerationStateRequest, extraHeaders?: Record<string, string>): Promise<SetItemModerationStateResponse>;
1821
2690
  /**
1822
2691
  * Submit a vote for a review, indicating whether the review was helpful or unhelpful.
1823
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote
2692
+ *
2693
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/submititemreviewvote Microsoft Documentation}
2694
+ * @example
2695
+ * await catalogClient.SubmitItemReviewVote({
2696
+ * "ReviewId": "dddddddd-dddd-dddd-dddd-dddddddddddd",
2697
+ * "ItemId": "eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee",
2698
+ * "Vote": "Helpful"
2699
+ * });
1824
2700
  */
1825
- SubmitItemReviewVote(request: SubmitItemReviewVoteRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<SubmitItemReviewVoteResponse>;
2701
+ SubmitItemReviewVote(request: SubmitItemReviewVoteRequest, extraHeaders?: Record<string, string>): Promise<SubmitItemReviewVoteResponse>;
1826
2702
  /**
1827
2703
  * Subtract inventory items.
1828
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems
1829
- */
1830
- SubtractInventoryItems(request: SubtractInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<SubtractInventoryItemsResponse>;
2704
+ *
2705
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/subtractinventoryitems Microsoft Documentation}
2706
+ * @example
2707
+ * await inventoryClient.SubtractInventoryItems({
2708
+ * "Item": {
2709
+ * "Id": "11111111-1111-1111-1111-111111111111"
2710
+ * },
2711
+ * "Amount": 3,
2712
+ * "DeleteEmptyStacks": false,
2713
+ * "ReturnInventory": false
2714
+ * });
2715
+ */
2716
+ SubtractInventoryItems(request: SubtractInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<SubtractInventoryItemsResponse>;
1831
2717
  /**
1832
2718
  * Submit a request to takedown one or more reviews.
1833
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews
1834
- */
1835
- TakedownItemReviews(request: TakedownItemReviewsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<TakedownItemReviewsResponse>;
2719
+ *
2720
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/takedownitemreviews Microsoft Documentation}
2721
+ * @example
2722
+ * await catalogClient.TakedownItemReviews({
2723
+ * "Reviews": [
2724
+ * {
2725
+ * "ItemId": "00000000-0000-0000-0000-000000000003",
2726
+ * "ReviewId": "dddddddd-dddd-dddd-dddd-dddddddddddd"
2727
+ * }
2728
+ * ]
2729
+ * });
2730
+ */
2731
+ TakedownItemReviews(request: TakedownItemReviewsRequest, extraHeaders?: Record<string, string>): Promise<TakedownItemReviewsResponse>;
1836
2732
  /**
1837
2733
  * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not
1838
2734
  * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus =
@@ -1840,26 +2736,175 @@ declare class PlayFabEconomyApi extends PlayFabCommon {
1840
2736
  * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found
1841
2737
  * here:
1842
2738
  * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items
1843
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems
1844
- */
1845
- TransferInventoryItems(request: TransferInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<TransferInventoryItemsResponse>;
2739
+ *
2740
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/transferinventoryitems Microsoft Documentation}
2741
+ * @example
2742
+ * await inventoryClient.TransferInventoryItems({
2743
+ * "GivingItem": {
2744
+ * "Id": "11111111-1111-1111-1111-111111111111"
2745
+ * },
2746
+ * "ReceivingItem": {
2747
+ * "Id": "11111111-1111-1111-1111-111111111111"
2748
+ * },
2749
+ * "Amount": 1,
2750
+ * "DeleteEmptyStacks": false,
2751
+ * "GivingCollectionId": "default",
2752
+ * "ReceivingCollectionId": "backpack"
2753
+ * });
2754
+ */
2755
+ TransferInventoryItems(request: TransferInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<TransferInventoryItemsResponse>;
1846
2756
  /**
1847
2757
  * Updates the configuration for the catalog. Only Title Entities can call this API. There is a limit of 10 requests in 10
1848
2758
  * seconds for this API. More information about the Catalog Config can be found here:
1849
2759
  * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings
1850
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig
1851
- */
1852
- UpdateCatalogConfig(request: UpdateCatalogConfigRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<UpdateCatalogConfigResponse>;
2760
+ *
2761
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/updatecatalogconfig Microsoft Documentation}
2762
+ * @example
2763
+ * await catalogClient.UpdateCatalogConfig({
2764
+ * "Config": {
2765
+ * "IsCatalogEnabled": true,
2766
+ * "AdminEntities": [
2767
+ * {
2768
+ * "Id": "ABC123",
2769
+ * "Type": "title_player_account",
2770
+ * "TypeString": "title_player_account"
2771
+ * }
2772
+ * ],
2773
+ * "DisplayPropertyIndexInfos": [
2774
+ * {
2775
+ * "Name": "damage",
2776
+ * "Type": "QueryDouble"
2777
+ * }
2778
+ * ],
2779
+ * "ReviewerEntities": [
2780
+ * {
2781
+ * "Id": "ABC123",
2782
+ * "Type": "title_player_account",
2783
+ * "TypeString": "title_player_account"
2784
+ * }
2785
+ * ],
2786
+ * "UserGeneratedContent": {
2787
+ * "ContentTypes": [
2788
+ * "skin",
2789
+ * "map",
2790
+ * "example item"
2791
+ * ],
2792
+ * "Tags": [
2793
+ * "pirate",
2794
+ * "holiday"
2795
+ * ]
2796
+ * }
2797
+ * }
2798
+ * });
2799
+ */
2800
+ UpdateCatalogConfig(request: UpdateCatalogConfigRequest, extraHeaders?: Record<string, string>): Promise<UpdateCatalogConfigResponse>;
1853
2801
  /**
1854
2802
  * Update the metadata for an item in the working catalog. Note: SAS tokens provided are valid for 1 hour.
1855
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem
1856
- */
1857
- UpdateDraftItem(request: UpdateDraftItemRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<UpdateDraftItemResponse>;
2803
+ *
2804
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/updatedraftitem Microsoft Documentation}
2805
+ * @example
2806
+ * await catalogClient.UpdateDraftItem({
2807
+ * "Item": {
2808
+ * "Id": "qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq",
2809
+ * "Type": "ugc",
2810
+ * "Title": {
2811
+ * "NEUTRAL": "Neutral title",
2812
+ * "en-US": "US English title"
2813
+ * },
2814
+ * "Description": {
2815
+ * "NEUTRAL": "Neutral description",
2816
+ * "en-US": "US English description"
2817
+ * },
2818
+ * "Keywords": {
2819
+ * "NEUTRAL": {
2820
+ * "Values": [
2821
+ * "Keyword_1",
2822
+ * "Keyword_2"
2823
+ * ]
2824
+ * }
2825
+ * },
2826
+ * "ContentType": "example item",
2827
+ * "CreatorEntity": {
2828
+ * "Id": "someId",
2829
+ * "Type": "title_player_account",
2830
+ * "TypeString": "title_player_account"
2831
+ * },
2832
+ * "IsHidden": false,
2833
+ * "Tags": [
2834
+ * "pirates",
2835
+ * "holiday"
2836
+ * ],
2837
+ * "DisplayVersion": "1.0.0",
2838
+ * "CreationDate": "2018-08-17T22:32:10.472Z",
2839
+ * "Contents": [
2840
+ * {
2841
+ * "Id": "00000000-0000-0000-0000-000000000001",
2842
+ * "Url": "https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000001/textures.zip",
2843
+ * "MaxClientVersion": "2.4.1",
2844
+ * "MinClientVersion": "2.0.0"
2845
+ * }
2846
+ * ],
2847
+ * "Images": [
2848
+ * {
2849
+ * "Id": "00000000-0000-0000-0000-000000000003",
2850
+ * "Type": "Thumbnail",
2851
+ * "Url": "https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000003/splashscreen_thumb.jpg"
2852
+ * }
2853
+ * ],
2854
+ * "DisplayProperties": {
2855
+ * "mapDetails": {
2856
+ * "mapType": "desertIsland",
2857
+ * "gameMode": "capture",
2858
+ * "maxPlayers": 16
2859
+ * },
2860
+ * "averageMatchLengthInSeconds": 947
2861
+ * },
2862
+ * "DefaultStackId": "Static_Default_Stack_Id"
2863
+ * },
2864
+ * "Publish": false
2865
+ * });
2866
+ */
2867
+ UpdateDraftItem(request: UpdateDraftItemRequest, extraHeaders?: Record<string, string>): Promise<UpdateDraftItemResponse>;
1858
2868
  /**
1859
2869
  * Update inventory items
1860
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems
1861
- */
1862
- UpdateInventoryItems(request: UpdateInventoryItemsRequest, customData?: any, extraHeaders?: Record<string, string>): Promise<UpdateInventoryItemsResponse>;
2870
+ *
2871
+ * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/updateinventoryitems Microsoft Documentation}
2872
+ * @example
2873
+ * await inventoryClient.UpdateInventoryItems({
2874
+ * "Item": {
2875
+ * "Id": "11111111-1111-1111-1111-111111111111",
2876
+ * "Amount": 3
2877
+ * },
2878
+ * "ReturnInventory": false
2879
+ * });
2880
+ */
2881
+ UpdateInventoryItems(request: UpdateInventoryItemsRequest, extraHeaders?: Record<string, string>): Promise<UpdateInventoryItemsResponse>;
2882
+ /**
2883
+ * Updates an existing view in the catalog using provided metadata.
2884
+ *
2885
+ * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/updateview Microsoft Documentation}
2886
+ * @example
2887
+ * await catalogClient.UpdateView({
2888
+ * "View": {
2889
+ * "Id": "dddddddd-dddd-dddd-dddd-dddddddddddd",
2890
+ * "FriendlyId": "exampleView",
2891
+ * "IsTitleView": false,
2892
+ * "Count": 10,
2893
+ * "Filter": "tags/any(t:t eq 'desert') and contentType eq 'map'",
2894
+ * "Language": "en-US",
2895
+ * "FileFormat": "JsonLines",
2896
+ * "Url": "https://views.prod.catalog.playfab.com/title-identifier/dddddddd-dddd-dddd-dddd-dddddddddddd.json",
2897
+ * "LastModifiedDate": "2023-08-17T22:32:31.911Z",
2898
+ * "CreationDate": "2023-08-17T22:32:10.472Z",
2899
+ * "LastViewDiagnostics": {
2900
+ * "GeneratedDate": "2023-08-18T23:32:10.322Z",
2901
+ * "Status": "Unknown"
2902
+ * },
2903
+ * "ETag": "opaqueString"
2904
+ * }
2905
+ * });
2906
+ */
2907
+ UpdateView(request: UpdateViewRequest, extraHeaders?: Record<string, string>): Promise<UpdateViewResponse>;
1863
2908
  }
1864
2909
 
1865
2910
  export { PlayFabEconomyApi as default };