async-playfab-web-sdk 1.192.250526-4 → 1.192.250526-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/Addon.d.ts +178 -38
  2. package/dist/Addon.js +2 -2
  3. package/dist/Admin.d.ts +2385 -194
  4. package/dist/Admin.js +2 -2
  5. package/dist/Authentication.d.ts +31 -4
  6. package/dist/Authentication.js +2 -2
  7. package/dist/Client.d.ts +2234 -320
  8. package/dist/Client.js +2 -2
  9. package/dist/CloudScript.d.ts +198 -30
  10. package/dist/CloudScript.js +2 -2
  11. package/dist/Data.d.ts +136 -17
  12. package/dist/Data.js +2 -2
  13. package/dist/Economy.d.ts +1145 -106
  14. package/dist/Economy.js +2 -2
  15. package/dist/Events.d.ts +199 -12
  16. package/dist/Events.js +2 -2
  17. package/dist/Experimentation.d.ts +163 -16
  18. package/dist/Experimentation.js +2 -2
  19. package/dist/Groups.d.ts +266 -27
  20. package/dist/Groups.js +2 -2
  21. package/dist/Insights.d.ts +32 -6
  22. package/dist/Insights.js +2 -2
  23. package/dist/Localization.d.ts +4 -1
  24. package/dist/Localization.js +2 -2
  25. package/dist/Matchmaker.d.ts +271 -0
  26. package/dist/Matchmaker.js +8 -0
  27. package/dist/Matchmaker.js.map +1 -0
  28. package/dist/Multiplayer.d.ts +2696 -168
  29. package/dist/Multiplayer.js +2 -2
  30. package/dist/Profiles.d.ts +162 -18
  31. package/dist/Profiles.js +2 -2
  32. package/dist/Progression.d.ts +286 -34
  33. package/dist/Progression.js +2 -2
  34. package/dist/Server.d.ts +1903 -241
  35. package/dist/Server.js +2 -2
  36. package/dist/chunk-3I6ONUUQ.js +237 -0
  37. package/dist/chunk-3I6ONUUQ.js.map +1 -0
  38. package/dist/chunk-3O5QT4SL.js +2477 -0
  39. package/dist/chunk-3O5QT4SL.js.map +1 -0
  40. package/dist/chunk-3OBHYLBF.js +2673 -0
  41. package/dist/chunk-3OBHYLBF.js.map +1 -0
  42. package/dist/chunk-57KYHGBO.js +421 -0
  43. package/dist/chunk-57KYHGBO.js.map +1 -0
  44. package/dist/{chunk-CLMINF57.js → chunk-5CWZN75H.js} +6 -3
  45. package/dist/chunk-5CWZN75H.js.map +1 -0
  46. package/dist/chunk-73SVDH45.js +197 -0
  47. package/dist/chunk-73SVDH45.js.map +1 -0
  48. package/dist/chunk-ADHTNFTN.js +175 -0
  49. package/dist/chunk-ADHTNFTN.js.map +1 -0
  50. package/dist/chunk-C7U2JQNZ.js +76 -0
  51. package/dist/chunk-C7U2JQNZ.js.map +1 -0
  52. package/dist/{chunk-PXPOK2QU.js → chunk-GAZYZIK2.js} +34 -8
  53. package/dist/chunk-GAZYZIK2.js.map +1 -0
  54. package/dist/chunk-J54WY4UN.js +413 -0
  55. package/dist/chunk-J54WY4UN.js.map +1 -0
  56. package/dist/chunk-NFWQ4MMZ.js +1048 -0
  57. package/dist/chunk-NFWQ4MMZ.js.map +1 -0
  58. package/dist/{chunk-7UQYMDJQ.js → chunk-P7UVG26J.js} +167 -32
  59. package/dist/chunk-P7UVG26J.js.map +1 -0
  60. package/dist/chunk-PFXZB4UN.js +2387 -0
  61. package/dist/chunk-PFXZB4UN.js.map +1 -0
  62. package/dist/{chunk-RJPMKD7P.js → chunk-QNGQW3YB.js} +28 -6
  63. package/dist/chunk-QNGQW3YB.js.map +1 -0
  64. package/dist/chunk-SQWILU5T.js +270 -0
  65. package/dist/chunk-SQWILU5T.js.map +1 -0
  66. package/dist/{chunk-FEEE3PRD.js → chunk-SR2RIRLX.js} +1482 -175
  67. package/dist/chunk-SR2RIRLX.js.map +1 -0
  68. package/dist/{chunk-6TH6EJYH.js → chunk-XVDYM74A.js} +4 -4
  69. package/dist/chunk-XVDYM74A.js.map +1 -0
  70. package/dist/chunk-ZW4TJ3MQ.js +225 -0
  71. package/dist/chunk-ZW4TJ3MQ.js.map +1 -0
  72. package/dist/index.d.ts +6 -5
  73. package/dist/index.js +29 -25
  74. package/package.json +2 -2
  75. package/dist/chunk-2IBLMNAQ.js +0 -882
  76. package/dist/chunk-2IBLMNAQ.js.map +0 -1
  77. package/dist/chunk-3TRLETD6.js +0 -119
  78. package/dist/chunk-3TRLETD6.js.map +0 -1
  79. package/dist/chunk-4LT3OUQD.js +0 -632
  80. package/dist/chunk-4LT3OUQD.js.map +0 -1
  81. package/dist/chunk-6TH6EJYH.js.map +0 -1
  82. package/dist/chunk-7UQYMDJQ.js.map +0 -1
  83. package/dist/chunk-CLMINF57.js.map +0 -1
  84. package/dist/chunk-F5NRBD4O.js +0 -174
  85. package/dist/chunk-F5NRBD4O.js.map +0 -1
  86. package/dist/chunk-FEEE3PRD.js.map +0 -1
  87. package/dist/chunk-HKZJ4H4O.js +0 -97
  88. package/dist/chunk-HKZJ4H4O.js.map +0 -1
  89. package/dist/chunk-NJQCK4TL.js +0 -61
  90. package/dist/chunk-NJQCK4TL.js.map +0 -1
  91. package/dist/chunk-ONCBQLGS.js +0 -1147
  92. package/dist/chunk-ONCBQLGS.js.map +0 -1
  93. package/dist/chunk-PXPOK2QU.js.map +0 -1
  94. package/dist/chunk-Q22JHX4G.js +0 -76
  95. package/dist/chunk-Q22JHX4G.js.map +0 -1
  96. package/dist/chunk-RJPMKD7P.js.map +0 -1
  97. package/dist/chunk-WROXLFDZ.js +0 -103
  98. package/dist/chunk-WROXLFDZ.js.map +0 -1
  99. package/dist/chunk-XAI5IWL4.js +0 -187
  100. package/dist/chunk-XAI5IWL4.js.map +0 -1
  101. package/dist/chunk-XM26BUTO.js +0 -384
  102. package/dist/chunk-XM26BUTO.js.map +0 -1
@@ -1,187 +0,0 @@
1
- import {
2
- PlayFabCommon
3
- } from "./chunk-6TH6EJYH.js";
4
-
5
- // src/apis/PlayFabGroupsApi.ts
6
- var PlayFabGroupsApi = class extends PlayFabCommon {
7
- /**
8
- * Accepts an outstanding invitation to to join a group
9
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupapplication
10
- */
11
- AcceptGroupApplication(request, extraHeaders) {
12
- return this.ExecuteRequestWrapper("/Group/AcceptGroupApplication", request, "X-EntityToken", extraHeaders);
13
- }
14
- /**
15
- * Accepts an invitation to join a group
16
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupinvitation
17
- */
18
- AcceptGroupInvitation(request, extraHeaders) {
19
- return this.ExecuteRequestWrapper("/Group/AcceptGroupInvitation", request, "X-EntityToken", extraHeaders);
20
- }
21
- /**
22
- * Adds members to a group or role.
23
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/addmembers
24
- */
25
- AddMembers(request, extraHeaders) {
26
- return this.ExecuteRequestWrapper("/Group/AddMembers", request, "X-EntityToken", extraHeaders);
27
- }
28
- /**
29
- * Applies to join a group
30
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/applytogroup
31
- */
32
- ApplyToGroup(request, extraHeaders) {
33
- return this.ExecuteRequestWrapper("/Group/ApplyToGroup", request, "X-EntityToken", extraHeaders);
34
- }
35
- /**
36
- * Blocks a list of entities from joining a group.
37
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/blockentity
38
- */
39
- BlockEntity(request, extraHeaders) {
40
- return this.ExecuteRequestWrapper("/Group/BlockEntity", request, "X-EntityToken", extraHeaders);
41
- }
42
- /**
43
- * Changes the role membership of a list of entities from one role to another.
44
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/changememberrole
45
- */
46
- ChangeMemberRole(request, extraHeaders) {
47
- return this.ExecuteRequestWrapper("/Group/ChangeMemberRole", request, "X-EntityToken", extraHeaders);
48
- }
49
- /**
50
- * Creates a new group.
51
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/creategroup
52
- */
53
- CreateGroup(request, extraHeaders) {
54
- return this.ExecuteRequestWrapper("/Group/CreateGroup", request, "X-EntityToken", extraHeaders);
55
- }
56
- /**
57
- * Creates a new group role.
58
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/createrole
59
- */
60
- CreateRole(request, extraHeaders) {
61
- return this.ExecuteRequestWrapper("/Group/CreateRole", request, "X-EntityToken", extraHeaders);
62
- }
63
- /**
64
- * Deletes a group and all roles, invitations, join requests, and blocks associated with it.
65
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/deletegroup
66
- */
67
- DeleteGroup(request, extraHeaders) {
68
- return this.ExecuteRequestWrapper("/Group/DeleteGroup", request, "X-EntityToken", extraHeaders);
69
- }
70
- /**
71
- * Deletes an existing role in a group.
72
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/deleterole
73
- */
74
- DeleteRole(request, extraHeaders) {
75
- return this.ExecuteRequestWrapper("/Group/DeleteRole", request, "X-EntityToken", extraHeaders);
76
- }
77
- /**
78
- * Gets information about a group and its roles
79
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/getgroup
80
- */
81
- GetGroup(request, extraHeaders) {
82
- return this.ExecuteRequestWrapper("/Group/GetGroup", request, "X-EntityToken", extraHeaders);
83
- }
84
- /**
85
- * Invites a player to join a group
86
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/invitetogroup
87
- */
88
- InviteToGroup(request, extraHeaders) {
89
- return this.ExecuteRequestWrapper("/Group/InviteToGroup", request, "X-EntityToken", extraHeaders);
90
- }
91
- /**
92
- * Checks to see if an entity is a member of a group or role within the group
93
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/ismember
94
- */
95
- IsMember(request, extraHeaders) {
96
- return this.ExecuteRequestWrapper("/Group/IsMember", request, "X-EntityToken", extraHeaders);
97
- }
98
- /**
99
- * Lists all outstanding requests to join a group
100
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupapplications
101
- */
102
- ListGroupApplications(request, extraHeaders) {
103
- return this.ExecuteRequestWrapper("/Group/ListGroupApplications", request, "X-EntityToken", extraHeaders);
104
- }
105
- /**
106
- * Lists all entities blocked from joining a group
107
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupblocks
108
- */
109
- ListGroupBlocks(request, extraHeaders) {
110
- return this.ExecuteRequestWrapper("/Group/ListGroupBlocks", request, "X-EntityToken", extraHeaders);
111
- }
112
- /**
113
- * Lists all outstanding invitations for a group
114
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupinvitations
115
- */
116
- ListGroupInvitations(request, extraHeaders) {
117
- return this.ExecuteRequestWrapper("/Group/ListGroupInvitations", request, "X-EntityToken", extraHeaders);
118
- }
119
- /**
120
- * Lists all members for a group
121
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupmembers
122
- */
123
- ListGroupMembers(request, extraHeaders) {
124
- return this.ExecuteRequestWrapper("/Group/ListGroupMembers", request, "X-EntityToken", extraHeaders);
125
- }
126
- /**
127
- * Lists all groups and roles for an entity
128
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembership
129
- */
130
- ListMembership(request, extraHeaders) {
131
- return this.ExecuteRequestWrapper("/Group/ListMembership", request, "X-EntityToken", extraHeaders);
132
- }
133
- /**
134
- * Lists all outstanding invitations and group applications for an entity
135
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembershipopportunities
136
- */
137
- ListMembershipOpportunities(request, extraHeaders) {
138
- return this.ExecuteRequestWrapper("/Group/ListMembershipOpportunities", request, "X-EntityToken", extraHeaders);
139
- }
140
- /**
141
- * Removes an application to join a group
142
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupapplication
143
- */
144
- RemoveGroupApplication(request, extraHeaders) {
145
- return this.ExecuteRequestWrapper("/Group/RemoveGroupApplication", request, "X-EntityToken", extraHeaders);
146
- }
147
- /**
148
- * Removes an invitation join a group
149
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupinvitation
150
- */
151
- RemoveGroupInvitation(request, extraHeaders) {
152
- return this.ExecuteRequestWrapper("/Group/RemoveGroupInvitation", request, "X-EntityToken", extraHeaders);
153
- }
154
- /**
155
- * Removes members from a group.
156
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/removemembers
157
- */
158
- RemoveMembers(request, extraHeaders) {
159
- return this.ExecuteRequestWrapper("/Group/RemoveMembers", request, "X-EntityToken", extraHeaders);
160
- }
161
- /**
162
- * Unblocks a list of entities from joining a group
163
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/unblockentity
164
- */
165
- UnblockEntity(request, extraHeaders) {
166
- return this.ExecuteRequestWrapper("/Group/UnblockEntity", request, "X-EntityToken", extraHeaders);
167
- }
168
- /**
169
- * Updates non-membership data about a group.
170
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/updategroup
171
- */
172
- UpdateGroup(request, extraHeaders) {
173
- return this.ExecuteRequestWrapper("/Group/UpdateGroup", request, "X-EntityToken", extraHeaders);
174
- }
175
- /**
176
- * Updates metadata about a role.
177
- * https://docs.microsoft.com/rest/api/playfab/groups/groups/updaterole
178
- */
179
- UpdateRole(request, extraHeaders) {
180
- return this.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", extraHeaders);
181
- }
182
- };
183
-
184
- export {
185
- PlayFabGroupsApi
186
- };
187
- //# sourceMappingURL=chunk-XAI5IWL4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/apis/PlayFabGroupsApi.ts"],"sourcesContent":["import type { EmptyResponse } from \"../types/PlayFab\";\nimport type {\n AcceptGroupApplicationRequest,\n AcceptGroupInvitationRequest,\n AddMembersRequest,\n ApplyToGroupRequest,\n BlockEntityRequest,\n ChangeMemberRoleRequest,\n CreateGroupRequest,\n CreateGroupRoleRequest,\n DeleteGroupRequest,\n DeleteRoleRequest,\n GetGroupRequest,\n InviteToGroupRequest,\n IsMemberRequest,\n ListGroupApplicationsRequest,\n ListGroupBlocksRequest,\n ListGroupInvitationsRequest,\n ListGroupMembersRequest,\n ListMembershipRequest,\n ListMembershipOpportunitiesRequest,\n RemoveGroupApplicationRequest,\n RemoveGroupInvitationRequest,\n RemoveMembersRequest,\n UnblockEntityRequest,\n UpdateGroupRequest,\n UpdateGroupRoleRequest,\n ApplyToGroupResponse,\n CreateGroupResponse,\n CreateGroupRoleResponse,\n GetGroupResponse,\n InviteToGroupResponse,\n IsMemberResponse,\n ListGroupApplicationsResponse,\n ListGroupBlocksResponse,\n ListGroupInvitationsResponse,\n ListGroupMembersResponse,\n ListMembershipResponse,\n ListMembershipOpportunitiesResponse,\n UpdateGroupResponse,\n UpdateGroupRoleResponse,\n} from \"../types/PlayFabGroupsApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabGroupsApi extends PlayFabCommon {\n\n /**\n * Accepts an outstanding invitation to to join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupapplication\n */\n AcceptGroupApplication (request: AcceptGroupApplicationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/AcceptGroupApplication\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Accepts an invitation to join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupinvitation\n */\n AcceptGroupInvitation (request: AcceptGroupInvitationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/AcceptGroupInvitation\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Adds members to a group or role.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/addmembers\n */\n AddMembers (request: AddMembersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/AddMembers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Applies to join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/applytogroup\n */\n ApplyToGroup (request: ApplyToGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ApplyToGroupResponse>(\"/Group/ApplyToGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Blocks a list of entities from joining a group.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/blockentity\n */\n BlockEntity (request: BlockEntityRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/BlockEntity\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Changes the role membership of a list of entities from one role to another.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/changememberrole\n */\n ChangeMemberRole (request: ChangeMemberRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/ChangeMemberRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates a new group.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/creategroup\n */\n CreateGroup (request: CreateGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateGroupResponse>(\"/Group/CreateGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates a new group role.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/createrole\n */\n CreateRole (request: CreateGroupRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateGroupRoleResponse>(\"/Group/CreateRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a group and all roles, invitations, join requests, and blocks associated with it.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/deletegroup\n */\n DeleteGroup (request: DeleteGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/DeleteGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes an existing role in a group.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/deleterole\n */\n DeleteRole (request: DeleteRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/DeleteRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information about a group and its roles\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/getgroup\n */\n GetGroup (request: GetGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGroupResponse>(\"/Group/GetGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Invites a player to join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/invitetogroup\n */\n InviteToGroup (request: InviteToGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<InviteToGroupResponse>(\"/Group/InviteToGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Checks to see if an entity is a member of a group or role within the group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/ismember\n */\n IsMember (request: IsMemberRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<IsMemberResponse>(\"/Group/IsMember\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all outstanding requests to join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupapplications\n */\n ListGroupApplications (request: ListGroupApplicationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupApplicationsResponse>(\"/Group/ListGroupApplications\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all entities blocked from joining a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupblocks\n */\n ListGroupBlocks (request: ListGroupBlocksRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupBlocksResponse>(\"/Group/ListGroupBlocks\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all outstanding invitations for a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupinvitations\n */\n ListGroupInvitations (request: ListGroupInvitationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupInvitationsResponse>(\"/Group/ListGroupInvitations\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all members for a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupmembers\n */\n ListGroupMembers (request: ListGroupMembersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListGroupMembersResponse>(\"/Group/ListGroupMembers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all groups and roles for an entity\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembership\n */\n ListMembership (request: ListMembershipRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMembershipResponse>(\"/Group/ListMembership\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Lists all outstanding invitations and group applications for an entity\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembershipopportunities\n */\n ListMembershipOpportunities (request: ListMembershipOpportunitiesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMembershipOpportunitiesResponse>(\"/Group/ListMembershipOpportunities\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes an application to join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupapplication\n */\n RemoveGroupApplication (request: RemoveGroupApplicationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/RemoveGroupApplication\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes an invitation join a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupinvitation\n */\n RemoveGroupInvitation (request: RemoveGroupInvitationRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/RemoveGroupInvitation\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes members from a group.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/removemembers\n */\n RemoveMembers (request: RemoveMembersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/RemoveMembers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Unblocks a list of entities from joining a group\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/unblockentity\n */\n UnblockEntity (request: UnblockEntityRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/Group/UnblockEntity\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates non-membership data about a group.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/updategroup\n */\n UpdateGroup (request: UpdateGroupRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateGroupResponse>(\"/Group/UpdateGroup\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates metadata about a role.\n * https://docs.microsoft.com/rest/api/playfab/groups/groups/updaterole\n */\n UpdateRole (request: UpdateGroupRoleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateGroupRoleResponse>(\"/Group/UpdateRole\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":"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","names":[]}
@@ -1,384 +0,0 @@
1
- import {
2
- PlayFabCommon
3
- } from "./chunk-6TH6EJYH.js";
4
-
5
- // src/apis/PlayFabEconomyApi.ts
6
- var PlayFabEconomyApi = class extends PlayFabCommon {
7
- /**
8
- * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped.
9
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems
10
- */
11
- AddInventoryItems(request, extraHeaders) {
12
- return this.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", extraHeaders);
13
- }
14
- /**
15
- * Creates a new item in the working catalog using provided metadata. Note: SAS tokens provided are valid for 1 hour.
16
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem
17
- */
18
- CreateDraftItem(request, extraHeaders) {
19
- return this.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", extraHeaders);
20
- }
21
- /**
22
- * Creates one or more upload URLs which can be used by the client to upload raw file data. Content URls and uploaded
23
- * content will be garbage collected after 24 hours if not attached to a draft or published item. Detailed pricing info
24
- * around uploading content can be found here:
25
- * https://learn.microsoft.com/en-us/gaming/playfab/features/pricing/meters/catalog-meters
26
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls
27
- */
28
- CreateUploadUrls(request, extraHeaders) {
29
- return this.ExecuteRequestWrapper("/Catalog/CreateUploadUrls", request, "X-EntityToken", extraHeaders);
30
- }
31
- /**
32
- * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified.
33
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews
34
- */
35
- DeleteEntityItemReviews(request, extraHeaders) {
36
- return this.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", extraHeaders);
37
- }
38
- /**
39
- * Delete an Inventory Collection. More information about Inventory Collections can be found here:
40
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/collections
41
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection
42
- */
43
- DeleteInventoryCollection(request, extraHeaders) {
44
- return this.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", extraHeaders);
45
- }
46
- /**
47
- * Delete inventory items
48
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems
49
- */
50
- DeleteInventoryItems(request, extraHeaders) {
51
- return this.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", extraHeaders);
52
- }
53
- /**
54
- * Removes an item from working catalog and all published versions from the public catalog.
55
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem
56
- */
57
- DeleteItem(request, extraHeaders) {
58
- return this.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", extraHeaders);
59
- }
60
- /**
61
- * Execute a list of Inventory Operations. A maximum list of 50 operations can be performed by a single request. There is
62
- * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items
63
- * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced
64
- * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds.
65
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations
66
- */
67
- ExecuteInventoryOperations(request, extraHeaders) {
68
- return this.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", extraHeaders);
69
- }
70
- /**
71
- * Transfer a list of inventory items. A maximum list of 50 operations can be performed by a single request. When the
72
- * response code is 202, one or more operations did not complete within the timeframe of the request. You can identify the
73
- * pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime
74
- * within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API.
75
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executetransferoperations
76
- */
77
- ExecuteTransferOperations(request, extraHeaders) {
78
- return this.ExecuteRequestWrapper("/Inventory/ExecuteTransferOperations", request, "X-EntityToken", extraHeaders);
79
- }
80
- /**
81
- * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10
82
- * seconds for this API. More information about the Catalog Config can be found here:
83
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings
84
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig
85
- */
86
- GetCatalogConfig(request, extraHeaders) {
87
- return this.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", extraHeaders);
88
- }
89
- /**
90
- * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem
91
- * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note
92
- * that item references data is cached and may take a few moments for changes to propagate. Note: SAS tokens provided are
93
- * valid for 1 hour.
94
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem
95
- */
96
- GetDraftItem(request, extraHeaders) {
97
- return this.ExecuteRequestWrapper("/Catalog/GetDraftItem", request, "X-EntityToken", extraHeaders);
98
- }
99
- /**
100
- * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request.
101
- * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note:
102
- * SAS tokens provided are valid for 1 hour.
103
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems
104
- */
105
- GetDraftItems(request, extraHeaders) {
106
- return this.ExecuteRequestWrapper("/Catalog/GetDraftItems", request, "X-EntityToken", extraHeaders);
107
- }
108
- /**
109
- * Retrieves a paginated list of the items from the draft catalog created by the Entity. Up to 50 items can be returned at
110
- * once. You can use continuation tokens to paginate through results that return greater than the limit.
111
- * GetEntityDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates.
112
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems
113
- */
114
- GetEntityDraftItems(request, extraHeaders) {
115
- return this.ExecuteRequestWrapper("/Catalog/GetEntityDraftItems", request, "X-EntityToken", extraHeaders);
116
- }
117
- /**
118
- * Gets the submitted review for the specified item by the authenticated entity. Individual ratings and reviews data update
119
- * in near real time with delays within a few seconds.
120
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview
121
- */
122
- GetEntityItemReview(request, extraHeaders) {
123
- return this.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", extraHeaders);
124
- }
125
- /**
126
- * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can
127
- * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for
128
- * new collection Ids to show up.
129
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids
130
- */
131
- GetInventoryCollectionIds(request, extraHeaders) {
132
- return this.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", extraHeaders);
133
- }
134
- /**
135
- * Get current inventory items.
136
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems
137
- */
138
- GetInventoryItems(request, extraHeaders) {
139
- return this.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", extraHeaders);
140
- }
141
- /**
142
- * Get the status of an inventory operation using an OperationToken. You can check on the operation status at anytime
143
- * within 1 day of the request by passing the TransactionToken to the this API.
144
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryoperationstatus
145
- */
146
- GetInventoryOperationStatus(request, extraHeaders) {
147
- return this.ExecuteRequestWrapper("/Inventory/GetInventoryOperationStatus", request, "X-EntityToken", extraHeaders);
148
- }
149
- /**
150
- * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when
151
- * trying to get recent item updates. However, please note that item references data is cached and may take a few moments
152
- * for changes to propagate.
153
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem
154
- */
155
- GetItem(request, extraHeaders) {
156
- return this.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", extraHeaders);
157
- }
158
- /**
159
- * Search for a given item and return a set of bundles and stores containing the item. Up to 50 items can be returned at
160
- * once. You can use continuation tokens to paginate through results that return greater than the limit. This API is
161
- * intended for tooling/automation scenarios and has a reduced RPS with Player Entities limited to 30 requests in 300
162
- * seconds and Title Entities limited to 100 requests in 10 seconds.
163
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers
164
- */
165
- GetItemContainers(request, extraHeaders) {
166
- return this.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", extraHeaders);
167
- }
168
- /**
169
- * Gets the moderation state for an item, including the concern category and string reason. More information about
170
- * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation
171
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate
172
- */
173
- GetItemModerationState(request, extraHeaders) {
174
- return this.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", extraHeaders);
175
- }
176
- /**
177
- * Gets the status of a publish of an item.
178
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus
179
- */
180
- GetItemPublishStatus(request, extraHeaders) {
181
- return this.ExecuteRequestWrapper("/Catalog/GetItemPublishStatus", request, "X-EntityToken", extraHeaders);
182
- }
183
- /**
184
- * Get a paginated set of reviews associated with the specified item. Individual ratings and reviews data update in near
185
- * real time with delays within a few seconds.
186
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews
187
- */
188
- GetItemReviews(request, extraHeaders) {
189
- return this.ExecuteRequestWrapper("/Catalog/GetItemReviews", request, "X-EntityToken", extraHeaders);
190
- }
191
- /**
192
- * Get a summary of all ratings and reviews associated with the specified item. Summary ratings data is cached with update
193
- * data coming within 15 minutes.
194
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary
195
- */
196
- GetItemReviewSummary(request, extraHeaders) {
197
- return this.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", extraHeaders);
198
- }
199
- /**
200
- * Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of
201
- * the Catalog and should be used when trying to get recent item updates. However, please note that item references data is
202
- * cached and may take a few moments for changes to propagate.
203
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems
204
- */
205
- GetItems(request, extraHeaders) {
206
- return this.ExecuteRequestWrapper("/Catalog/GetItems", request, "X-EntityToken", extraHeaders);
207
- }
208
- /**
209
- * Gets the access tokens.
210
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens
211
- */
212
- GetMicrosoftStoreAccessTokens(request, extraHeaders) {
213
- return this.ExecuteRequestWrapper("/Inventory/GetMicrosoftStoreAccessTokens", request, "X-EntityToken", extraHeaders);
214
- }
215
- /**
216
- * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to
217
- * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than
218
- * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.
219
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory
220
- */
221
- GetTransactionHistory(request, extraHeaders) {
222
- return this.ExecuteRequestWrapper("/Inventory/GetTransactionHistory", request, "X-EntityToken", extraHeaders);
223
- }
224
- /**
225
- * Initiates a publish of an item from the working catalog to the public catalog. You can use the GetItemPublishStatus API
226
- * to track the state of the item publish.
227
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem
228
- */
229
- PublishDraftItem(request, extraHeaders) {
230
- return this.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", extraHeaders);
231
- }
232
- /**
233
- * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is
234
- * uncapped.
235
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems
236
- */
237
- PurchaseInventoryItems(request, extraHeaders) {
238
- return this.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", extraHeaders);
239
- }
240
- /**
241
- * Redeem items.
242
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems
243
- */
244
- RedeemAppleAppStoreInventoryItems(request, extraHeaders) {
245
- return this.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", extraHeaders);
246
- }
247
- /**
248
- * Redeem items.
249
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems
250
- */
251
- RedeemGooglePlayInventoryItems(request, extraHeaders) {
252
- return this.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", extraHeaders);
253
- }
254
- /**
255
- * Redeem items.
256
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems
257
- */
258
- RedeemMicrosoftStoreInventoryItems(request, extraHeaders) {
259
- return this.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", extraHeaders);
260
- }
261
- /**
262
- * Redeem items.
263
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems
264
- */
265
- RedeemNintendoEShopInventoryItems(request, extraHeaders) {
266
- return this.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", extraHeaders);
267
- }
268
- /**
269
- * Redeem items.
270
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems
271
- */
272
- RedeemPlayStationStoreInventoryItems(request, extraHeaders) {
273
- return this.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", extraHeaders);
274
- }
275
- /**
276
- * Redeem items.
277
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems
278
- */
279
- RedeemSteamInventoryItems(request, extraHeaders) {
280
- return this.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", extraHeaders);
281
- }
282
- /**
283
- * Submit a report for an item, indicating in what way the item is inappropriate.
284
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem
285
- */
286
- ReportItem(request, extraHeaders) {
287
- return this.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", extraHeaders);
288
- }
289
- /**
290
- * Submit a report for a review
291
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview
292
- */
293
- ReportItemReview(request, extraHeaders) {
294
- return this.ExecuteRequestWrapper("/Catalog/ReportItemReview", request, "X-EntityToken", extraHeaders);
295
- }
296
- /**
297
- * Creates or updates a review for the specified item. More information around the caching surrounding item ratings and
298
- * reviews can be found here:
299
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/ratings#ratings-design-and-caching
300
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem
301
- */
302
- ReviewItem(request, extraHeaders) {
303
- return this.ExecuteRequestWrapper("/Catalog/ReviewItem", request, "X-EntityToken", extraHeaders);
304
- }
305
- /**
306
- * Executes a search against the public catalog using the provided search parameters and returns a set of paginated
307
- * results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should
308
- * use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be
309
- * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search
310
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems
311
- */
312
- SearchItems(request, extraHeaders) {
313
- return this.ExecuteRequestWrapper("/Catalog/SearchItems", request, "X-EntityToken", extraHeaders);
314
- }
315
- /**
316
- * Sets the moderation state for an item, including the concern category and string reason. More information about
317
- * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation
318
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate
319
- */
320
- SetItemModerationState(request, extraHeaders) {
321
- return this.ExecuteRequestWrapper("/Catalog/SetItemModerationState", request, "X-EntityToken", extraHeaders);
322
- }
323
- /**
324
- * Submit a vote for a review, indicating whether the review was helpful or unhelpful.
325
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote
326
- */
327
- SubmitItemReviewVote(request, extraHeaders) {
328
- return this.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", extraHeaders);
329
- }
330
- /**
331
- * Subtract inventory items.
332
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems
333
- */
334
- SubtractInventoryItems(request, extraHeaders) {
335
- return this.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", extraHeaders);
336
- }
337
- /**
338
- * Submit a request to takedown one or more reviews.
339
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews
340
- */
341
- TakedownItemReviews(request, extraHeaders) {
342
- return this.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", extraHeaders);
343
- }
344
- /**
345
- * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not
346
- * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus =
347
- * 'InProgress'. You can check on the operation status at anytime within 1 day of the request by passing the
348
- * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found
349
- * here:
350
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items
351
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems
352
- */
353
- TransferInventoryItems(request, extraHeaders) {
354
- return this.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", extraHeaders);
355
- }
356
- /**
357
- * Updates the configuration for the catalog. Only Title Entities can call this API. There is a limit of 10 requests in 10
358
- * seconds for this API. More information about the Catalog Config can be found here:
359
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings
360
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig
361
- */
362
- UpdateCatalogConfig(request, extraHeaders) {
363
- return this.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", extraHeaders);
364
- }
365
- /**
366
- * Update the metadata for an item in the working catalog. Note: SAS tokens provided are valid for 1 hour.
367
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem
368
- */
369
- UpdateDraftItem(request, extraHeaders) {
370
- return this.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", extraHeaders);
371
- }
372
- /**
373
- * Update inventory items
374
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems
375
- */
376
- UpdateInventoryItems(request, extraHeaders) {
377
- return this.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", extraHeaders);
378
- }
379
- };
380
-
381
- export {
382
- PlayFabEconomyApi
383
- };
384
- //# sourceMappingURL=chunk-XM26BUTO.js.map