com.xmobitea.changx.gn-unity 2.0.2 → 2.3.0

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 (112) hide show
  1. package/Editor/GNServerSettingsEditor.cs +42 -322
  2. package/Runtime/Common/GNArray.cs +120 -35
  3. package/Runtime/Common/GNData.cs +19 -6
  4. package/Runtime/Common/GNHashtable.cs +174 -11
  5. package/Runtime/Common/IGNData.cs +11 -2
  6. package/Runtime/Config/GNServerSettings.cs +136 -92
  7. package/Runtime/Constant/Commands.cs +82 -19
  8. package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
  9. package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
  10. package/Runtime/Constant/EnumType/ItemType.cs +5 -5
  11. package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
  12. package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
  13. package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
  14. package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
  15. package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
  16. package/Runtime/Constant/EnumType/RequestType.cs +1 -0
  17. package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
  18. package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
  19. package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
  20. package/Runtime/Constant/EventCode.cs +29 -2
  21. package/Runtime/Constant/OperationCode.cs +249 -211
  22. package/Runtime/Constant/ParameterCode/GNParameterCode.cs +610 -466
  23. package/Runtime/Constant/ReturnCode.cs +50 -2
  24. package/Runtime/Entity/DataMember.cs +221 -3
  25. package/Runtime/Entity/GNMetadata.cs +46 -1
  26. package/Runtime/Entity/InvalidMember.cs +24 -5
  27. package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
  28. package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
  29. package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
  30. package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
  31. package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
  32. package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
  33. package/Runtime/Entity/Models/CloudScriptModels.cs +185 -0
  34. package/Runtime/Entity/Models/CloudScriptModels.cs.meta +11 -0
  35. package/Runtime/Entity/Models/CloudScriptRequestModels.cs +134 -0
  36. package/Runtime/Entity/Models/CloudScriptRequestModels.cs.meta +11 -0
  37. package/Runtime/Entity/Models/CloudScriptResponseModels.cs +34 -0
  38. package/Runtime/Entity/Models/CloudScriptResponseModels.cs.meta +11 -0
  39. package/Runtime/Entity/Models/ContentModels.cs +150 -153
  40. package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
  41. package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
  42. package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
  43. package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
  44. package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
  45. package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
  46. package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
  47. package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
  48. package/Runtime/Entity/Models/GenericModels.cs +102 -102
  49. package/Runtime/Entity/Models/GroupModels.cs +812 -676
  50. package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
  51. package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
  52. package/Runtime/Entity/Models/InventoryModels.cs +667 -558
  53. package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
  54. package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
  55. package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
  56. package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
  57. package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
  58. package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
  59. package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
  60. package/Runtime/Entity/Models/MultiplayerResponseModels.cs +10 -0
  61. package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
  62. package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
  63. package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
  64. package/Runtime/Entity/OperationEvent.cs +43 -7
  65. package/Runtime/Entity/OperationHelper.cs +18 -2
  66. package/Runtime/Entity/OperationRequest.cs +80 -37
  67. package/Runtime/Entity/OperationResponse.cs +111 -63
  68. package/Runtime/Entity/Request/CustomOperationRequest.cs +53 -2
  69. package/Runtime/Entity/Response/CustomOperationResponse.cs +25 -4
  70. package/Runtime/GNNetwork.cs +333 -21
  71. package/Runtime/GNNetworkApi.cs +25 -13
  72. package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
  73. package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
  74. package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
  75. package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
  76. package/Runtime/GNNetworkContentApi.cs +238 -132
  77. package/Runtime/GNNetworkDashboardApi.cs +278 -117
  78. package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
  79. package/Runtime/GNNetworkGroupApi.cs +1228 -582
  80. package/Runtime/GNNetworkInventoryApi.cs +1048 -507
  81. package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
  82. package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
  83. package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
  84. package/Runtime/Helper/CodeHelper.cs +45 -3
  85. package/Runtime/Helper/ConverterService.cs +240 -85
  86. package/Runtime/Logger/GNDebug.cs +46 -3
  87. package/Runtime/Networking/AuthenticateStatus.cs +30 -8
  88. package/Runtime/Networking/Handler/IServerEventHandler.cs +8 -8
  89. package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +31 -2
  90. package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +24 -3
  91. package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +24 -2
  92. package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +24 -2
  93. package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +21 -2
  94. package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +20 -2
  95. package/Runtime/Networking/Http/HttpPeer.cs +68 -25
  96. package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +44 -4
  97. package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +63 -40
  98. package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +43 -13
  99. package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +72 -39
  100. package/Runtime/Networking/IPeer.cs +24 -2
  101. package/Runtime/Networking/NetworkingPeer.cs +64 -10
  102. package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
  103. package/Runtime/Networking/OperationPending.cs +79 -15
  104. package/Runtime/Networking/PeerBase.cs +86 -23
  105. package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +57 -18
  106. package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +70 -10
  107. package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
  108. package/Runtime/Networking/Socket/SocketPeer.cs +63 -12
  109. package/Runtime/Unity/ServiceCoroutine.cs +10 -0
  110. package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
  111. package/Runtime/Unity/ServiceUpdate.cs +14 -1
  112. package/package.json +1 -1
@@ -1,166 +1,392 @@
1
1
  namespace XmobiTea.GN
2
2
  {
3
- using System;
4
- using XmobiTea.GN.Common;
5
- using XmobiTea.GN.Entity;
6
- using XmobiTea.GN.Entity.Models;
7
-
8
- public class StoreInventoryApi
9
- {
10
- public ServerApi server { get; } = new ServerApi();
11
-
12
- public AdminApi admin { get; } = new AdminApi();
13
-
14
- public void buyStoreItem(StoreInventoryModels.BuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
15
- {
16
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
17
- }
18
-
19
- public void getStoreItemInformation(StoreInventoryModels.GetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
20
- {
21
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
22
- }
23
-
24
- public void getStoreItemsWithTag(StoreInventoryModels.GetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
25
- {
26
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
27
- }
28
-
29
- public void grantStoreItem(StoreInventoryModels.GrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
30
- {
31
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
32
- }
33
-
34
- public void setRemoveStatus(StoreInventoryModels.SetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
35
- {
36
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
37
- }
38
-
39
- public void setStoreItemInformation(StoreInventoryModels.SetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
40
- {
41
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
42
- }
43
-
44
- public void validateAppleAppStoreReceipt(StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
45
- {
46
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
47
- }
48
-
49
- public void validateFacebookStoreReceipt(StoreInventoryModels.ValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
50
- {
51
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
52
- }
53
-
54
- public void validateGooglePlayStoreReceipt(StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
55
- {
56
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
57
- }
58
-
59
-
60
- public class ServerApi
61
- {
62
- public void buyStoreItem(StoreInventoryModels.ServerBuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
63
- {
64
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
65
- }
66
-
67
- public void getStoreItemInformation(StoreInventoryModels.ServerGetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
68
- {
69
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
70
- }
71
-
72
- public void getStoreItemsWithTag(StoreInventoryModels.ServerGetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
73
- {
74
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
75
- }
76
-
77
- public void grantStoreItem(StoreInventoryModels.ServerGrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
78
- {
79
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
80
- }
81
-
82
- public void setRemoveStatus(StoreInventoryModels.ServerSetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
83
- {
84
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
85
- }
86
-
87
- public void setStoreItemInformation(StoreInventoryModels.ServerSetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
88
- {
89
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
90
- }
91
-
92
- public void validateAppleAppStoreReceipt(StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
93
- {
94
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
95
- }
96
-
97
- public void validateFacebookStoreReceipt(StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
98
- {
99
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
100
- }
101
-
102
- public void validateGooglePlayStoreReceipt(StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
103
- {
104
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
105
- }
106
-
107
- }
108
-
109
- public class AdminApi
110
- {
111
- public void buyStoreItem(StoreInventoryModels.AdminBuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
112
- {
113
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
114
- }
115
-
116
- public void getStoreItemInformation(StoreInventoryModels.AdminGetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
117
- {
118
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
119
- }
120
-
121
- public void getStoreItemsWithTag(StoreInventoryModels.AdminGetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
122
- {
123
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
124
- }
125
-
126
- public void grantStoreItem(StoreInventoryModels.AdminGrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
127
- {
128
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
129
- }
130
-
131
- public void setRemoveStatus(StoreInventoryModels.AdminSetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
132
- {
133
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
134
- }
135
-
136
- public void setStoreItemInformation(StoreInventoryModels.AdminSetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
137
- {
138
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
139
- }
140
-
141
- public void validateAppleAppStoreReceipt(StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
142
- {
143
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
144
- }
145
-
146
- public void validateFacebookStoreReceipt(StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
147
- {
148
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
149
- }
150
-
151
- public void validateGooglePlayStoreReceipt(StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
152
- {
153
- GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
154
- }
155
-
156
- }
157
-
158
- }
159
-
160
- public static partial class GNNetwork
161
- {
162
-
163
- public static StoreInventoryApi storeInventory { get; }
164
- }
3
+ using System;
4
+ using System.Threading.Tasks;
5
+ using XmobiTea.GN.Common;
6
+ using XmobiTea.GN.Entity;
7
+ using XmobiTea.GN.Entity.Models;
8
+
9
+ public class StoreInventoryApi
10
+ {
11
+ public ServerApi server { get; } = new ServerApi();
12
+
13
+ public AdminApi admin { get; } = new AdminApi();
14
+
15
+ public void buyStoreItem(StoreInventoryModels.BuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
16
+ {
17
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
18
+ }
19
+
20
+ public Task<StoreInventoryResponseModels.BuyStoreItemOperationResponse> buyStoreItemAsync(StoreInventoryModels.BuyStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
21
+ {
22
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.BuyStoreItemOperationRequest, StoreInventoryResponseModels.BuyStoreItemOperationResponse>(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
23
+ }
24
+
25
+ public void getStoreItemInformation(StoreInventoryModels.GetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
26
+ {
27
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
28
+ }
29
+
30
+ public Task<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> getStoreItemInformationAsync(StoreInventoryModels.GetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
31
+ {
32
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetStoreItemInformationOperationRequest, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
33
+ }
34
+
35
+ public void getStoreItemsWithTag(StoreInventoryModels.GetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
36
+ {
37
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
38
+ }
39
+
40
+ public Task<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> getStoreItemsWithTagAsync(StoreInventoryModels.GetStoreItemsWithTagRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
41
+ {
42
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
43
+ }
44
+
45
+ public void grantStoreItem(StoreInventoryModels.GrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
46
+ {
47
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
48
+ }
49
+
50
+ public Task<StoreInventoryResponseModels.GrantStoreItemOperationResponse> grantStoreItemAsync(StoreInventoryModels.GrantStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
51
+ {
52
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GrantStoreItemOperationRequest, StoreInventoryResponseModels.GrantStoreItemOperationResponse>(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
53
+ }
54
+
55
+ public void setRemoveStatus(StoreInventoryModels.SetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
56
+ {
57
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
58
+ }
59
+
60
+ public Task<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> setRemoveStatusAsync(StoreInventoryModels.SetRemoveStatusRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
61
+ {
62
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.SetRemoveStatusOperationRequest, StoreInventoryResponseModels.SetRemoveStatusOperationResponse>(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
63
+ }
64
+
65
+ public void setStoreItemInformation(StoreInventoryModels.SetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
66
+ {
67
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
68
+ }
69
+
70
+ public Task<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> setStoreItemInformationAsync(StoreInventoryModels.SetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
71
+ {
72
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.SetStoreItemInformationOperationRequest, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
73
+ }
74
+
75
+ public void validateAppleAppStoreReceipt(StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
76
+ {
77
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
78
+ }
79
+
80
+ public Task<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> validateAppleAppStoreReceiptAsync(StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
81
+ {
82
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
83
+ }
84
+
85
+ public void validateFacebookStoreReceipt(StoreInventoryModels.ValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
86
+ {
87
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
88
+ }
89
+
90
+ public Task<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> validateFacebookStoreReceiptAsync(StoreInventoryModels.ValidateFacebookStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
91
+ {
92
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
93
+ }
94
+
95
+ public void validateGooglePlayStoreReceipt(StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
96
+ {
97
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
98
+ }
99
+
100
+ public Task<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> validateGooglePlayStoreReceiptAsync(StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
101
+ {
102
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
103
+ }
104
+
105
+ public void getCreateLeaderboard(StoreInventoryModels.GetCreateLeaderboardRequestData requestData, Action<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
106
+ {
107
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
108
+ }
109
+
110
+ public Task<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> getCreateLeaderboardAsync(StoreInventoryModels.GetCreateLeaderboardRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
111
+ {
112
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>(new StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
113
+ }
114
+
115
+ public void presentStoreItem(StoreInventoryModels.PresentStoreItemRequestData requestData, Action<StoreInventoryResponseModels.PresentStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
116
+ {
117
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
118
+ }
119
+
120
+ public Task<StoreInventoryResponseModels.PresentStoreItemOperationResponse> presentStoreItemAsync(StoreInventoryModels.PresentStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
121
+ {
122
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.PresentStoreItemOperationRequest, StoreInventoryResponseModels.PresentStoreItemOperationResponse>(new StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
123
+ }
124
+
125
+ public void getStoreLog(StoreInventoryModels.GetStoreLogRequestData requestData, Action<StoreInventoryResponseModels.GetStoreLogOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
126
+ {
127
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
128
+ }
129
+
130
+ public Task<StoreInventoryResponseModels.GetStoreLogOperationResponse> getStoreLogAsync(StoreInventoryModels.GetStoreLogRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
131
+ {
132
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetStoreLogOperationRequest, StoreInventoryResponseModels.GetStoreLogOperationResponse>(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
133
+ }
134
+
135
+
136
+ public class ServerApi
137
+ {
138
+ public void buyStoreItem(StoreInventoryModels.ServerBuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
139
+ {
140
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
141
+ }
142
+
143
+ public Task<StoreInventoryResponseModels.BuyStoreItemOperationResponse> buyStoreItemAsync(StoreInventoryModels.ServerBuyStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
144
+ {
145
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest, StoreInventoryResponseModels.BuyStoreItemOperationResponse>(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
146
+ }
147
+
148
+ public void getStoreItemInformation(StoreInventoryModels.ServerGetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
149
+ {
150
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
151
+ }
152
+
153
+ public Task<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> getStoreItemInformationAsync(StoreInventoryModels.ServerGetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
154
+ {
155
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
156
+ }
157
+
158
+ public void getStoreItemsWithTag(StoreInventoryModels.ServerGetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
159
+ {
160
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
161
+ }
162
+
163
+ public Task<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> getStoreItemsWithTagAsync(StoreInventoryModels.ServerGetStoreItemsWithTagRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
164
+ {
165
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
166
+ }
167
+
168
+ public void grantStoreItem(StoreInventoryModels.ServerGrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
169
+ {
170
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
171
+ }
172
+
173
+ public Task<StoreInventoryResponseModels.GrantStoreItemOperationResponse> grantStoreItemAsync(StoreInventoryModels.ServerGrantStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
174
+ {
175
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest, StoreInventoryResponseModels.GrantStoreItemOperationResponse>(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
176
+ }
177
+
178
+ public void setRemoveStatus(StoreInventoryModels.ServerSetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
179
+ {
180
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
181
+ }
182
+
183
+ public Task<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> setRemoveStatusAsync(StoreInventoryModels.ServerSetRemoveStatusRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
184
+ {
185
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest, StoreInventoryResponseModels.SetRemoveStatusOperationResponse>(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
186
+ }
187
+
188
+ public void setStoreItemInformation(StoreInventoryModels.ServerSetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
189
+ {
190
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
191
+ }
192
+
193
+ public Task<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> setStoreItemInformationAsync(StoreInventoryModels.ServerSetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
194
+ {
195
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
196
+ }
197
+
198
+ public void validateAppleAppStoreReceipt(StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
199
+ {
200
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
201
+ }
202
+
203
+ public Task<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> validateAppleAppStoreReceiptAsync(StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
204
+ {
205
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
206
+ }
207
+
208
+ public void validateFacebookStoreReceipt(StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
209
+ {
210
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
211
+ }
212
+
213
+ public Task<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> validateFacebookStoreReceiptAsync(StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
214
+ {
215
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
216
+ }
217
+
218
+ public void validateGooglePlayStoreReceipt(StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
219
+ {
220
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
221
+ }
222
+
223
+ public Task<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> validateGooglePlayStoreReceiptAsync(StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
224
+ {
225
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
226
+ }
227
+
228
+ public void getCreateLeaderboard(StoreInventoryModels.ServerGetCreateLeaderboardRequestData requestData, Action<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
229
+ {
230
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
231
+ }
232
+
233
+ public Task<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> getCreateLeaderboardAsync(StoreInventoryModels.ServerGetCreateLeaderboardRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
234
+ {
235
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>(new StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
236
+ }
237
+
238
+ public void presentStoreItem(StoreInventoryModels.ServerPresentStoreItemRequestData requestData, Action<StoreInventoryResponseModels.PresentStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
239
+ {
240
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
241
+ }
242
+
243
+ public Task<StoreInventoryResponseModels.PresentStoreItemOperationResponse> presentStoreItemAsync(StoreInventoryModels.ServerPresentStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
244
+ {
245
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest, StoreInventoryResponseModels.PresentStoreItemOperationResponse>(new StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
246
+ }
247
+
248
+ public void getStoreLog(StoreInventoryModels.ServerGetStoreLogRequestData requestData, Action<StoreInventoryResponseModels.GetStoreLogOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
249
+ {
250
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
251
+ }
252
+
253
+ public Task<StoreInventoryResponseModels.GetStoreLogOperationResponse> getStoreLogAsync(StoreInventoryModels.ServerGetStoreLogRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
254
+ {
255
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetStoreLogOperationRequest, StoreInventoryResponseModels.GetStoreLogOperationResponse>(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
256
+ }
257
+
258
+ }
259
+
260
+ public class AdminApi
261
+ {
262
+ public void buyStoreItem(StoreInventoryModels.AdminBuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
263
+ {
264
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
265
+ }
266
+
267
+ public Task<StoreInventoryResponseModels.BuyStoreItemOperationResponse> buyStoreItemAsync(StoreInventoryModels.AdminBuyStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
268
+ {
269
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest, StoreInventoryResponseModels.BuyStoreItemOperationResponse>(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
270
+ }
271
+
272
+ public void getStoreItemInformation(StoreInventoryModels.AdminGetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
273
+ {
274
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
275
+ }
276
+
277
+ public Task<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> getStoreItemInformationAsync(StoreInventoryModels.AdminGetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
278
+ {
279
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
280
+ }
281
+
282
+ public void getStoreItemsWithTag(StoreInventoryModels.AdminGetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
283
+ {
284
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
285
+ }
286
+
287
+ public Task<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> getStoreItemsWithTagAsync(StoreInventoryModels.AdminGetStoreItemsWithTagRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
288
+ {
289
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
290
+ }
291
+
292
+ public void grantStoreItem(StoreInventoryModels.AdminGrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
293
+ {
294
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
295
+ }
296
+
297
+ public Task<StoreInventoryResponseModels.GrantStoreItemOperationResponse> grantStoreItemAsync(StoreInventoryModels.AdminGrantStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
298
+ {
299
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest, StoreInventoryResponseModels.GrantStoreItemOperationResponse>(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
300
+ }
301
+
302
+ public void setRemoveStatus(StoreInventoryModels.AdminSetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
303
+ {
304
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
305
+ }
306
+
307
+ public Task<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> setRemoveStatusAsync(StoreInventoryModels.AdminSetRemoveStatusRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
308
+ {
309
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest, StoreInventoryResponseModels.SetRemoveStatusOperationResponse>(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
310
+ }
311
+
312
+ public void setStoreItemInformation(StoreInventoryModels.AdminSetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
313
+ {
314
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
315
+ }
316
+
317
+ public Task<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> setStoreItemInformationAsync(StoreInventoryModels.AdminSetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
318
+ {
319
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
320
+ }
321
+
322
+ public void validateAppleAppStoreReceipt(StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
323
+ {
324
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
325
+ }
326
+
327
+ public Task<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> validateAppleAppStoreReceiptAsync(StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
328
+ {
329
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
330
+ }
331
+
332
+ public void validateFacebookStoreReceipt(StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
333
+ {
334
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
335
+ }
336
+
337
+ public Task<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> validateFacebookStoreReceiptAsync(StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
338
+ {
339
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
340
+ }
341
+
342
+ public void validateGooglePlayStoreReceipt(StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
343
+ {
344
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
345
+ }
346
+
347
+ public Task<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> validateGooglePlayStoreReceiptAsync(StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
348
+ {
349
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
350
+ }
351
+
352
+ public void getCreateLeaderboard(StoreInventoryModels.AdminGetCreateLeaderboardRequestData requestData, Action<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
353
+ {
354
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
355
+ }
356
+
357
+ public Task<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> getCreateLeaderboardAsync(StoreInventoryModels.AdminGetCreateLeaderboardRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
358
+ {
359
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>(new StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
360
+ }
361
+
362
+ public void presentStoreItem(StoreInventoryModels.AdminPresentStoreItemRequestData requestData, Action<StoreInventoryResponseModels.PresentStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
363
+ {
364
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
365
+ }
366
+
367
+ public Task<StoreInventoryResponseModels.PresentStoreItemOperationResponse> presentStoreItemAsync(StoreInventoryModels.AdminPresentStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
368
+ {
369
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest, StoreInventoryResponseModels.PresentStoreItemOperationResponse>(new StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
370
+ }
371
+
372
+ public void getStoreLog(StoreInventoryModels.AdminGetStoreLogRequestData requestData, Action<StoreInventoryResponseModels.GetStoreLogOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
373
+ {
374
+ GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
375
+ }
376
+
377
+ public Task<StoreInventoryResponseModels.GetStoreLogOperationResponse> getStoreLogAsync(StoreInventoryModels.AdminGetStoreLogRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
378
+ {
379
+ return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetStoreLogOperationRequest, StoreInventoryResponseModels.GetStoreLogOperationResponse>(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
380
+ }
381
+
382
+ }
383
+
384
+ }
385
+
386
+ public static partial class GNNetwork
387
+ {
388
+
389
+ public static StoreInventoryApi storeInventory { get; }
390
+ }
165
391
 
166
392
  }