gs2 1.3.107 → 1.3.113

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 (563) hide show
  1. package/account/request/CreateTakeOverRequest.d.ts +4 -0
  2. package/account/request/CreateTakeOverRequest.js +12 -0
  3. package/account/request/CreateTakeOverRequest.js.map +1 -1
  4. package/account/request/CreateTakeOverRequest.ts +15 -0
  5. package/account/request/DeleteTakeOverRequest.d.ts +4 -0
  6. package/account/request/DeleteTakeOverRequest.js +12 -0
  7. package/account/request/DeleteTakeOverRequest.js.map +1 -1
  8. package/account/request/DeleteTakeOverRequest.ts +15 -0
  9. package/account/request/UpdateTakeOverRequest.d.ts +4 -0
  10. package/account/request/UpdateTakeOverRequest.js +12 -0
  11. package/account/request/UpdateTakeOverRequest.js.map +1 -1
  12. package/account/request/UpdateTakeOverRequest.ts +15 -0
  13. package/account/rest.js +21 -12
  14. package/account/rest.js.map +1 -1
  15. package/account/rest.ts +9 -0
  16. package/chat/request/CreateRoomFromBackendRequest.d.ts +4 -0
  17. package/chat/request/CreateRoomFromBackendRequest.js +12 -0
  18. package/chat/request/CreateRoomFromBackendRequest.js.map +1 -1
  19. package/chat/request/CreateRoomFromBackendRequest.ts +15 -0
  20. package/chat/request/CreateRoomRequest.d.ts +4 -0
  21. package/chat/request/CreateRoomRequest.js +12 -0
  22. package/chat/request/CreateRoomRequest.js.map +1 -1
  23. package/chat/request/CreateRoomRequest.ts +15 -0
  24. package/chat/request/DeleteMessageRequest.d.ts +4 -0
  25. package/chat/request/DeleteMessageRequest.js +12 -0
  26. package/chat/request/DeleteMessageRequest.js.map +1 -1
  27. package/chat/request/DeleteMessageRequest.ts +15 -0
  28. package/chat/request/DeleteRoomFromBackendRequest.d.ts +4 -0
  29. package/chat/request/DeleteRoomFromBackendRequest.js +12 -0
  30. package/chat/request/DeleteRoomFromBackendRequest.js.map +1 -1
  31. package/chat/request/DeleteRoomFromBackendRequest.ts +15 -0
  32. package/chat/request/DeleteRoomRequest.d.ts +4 -0
  33. package/chat/request/DeleteRoomRequest.js +12 -0
  34. package/chat/request/DeleteRoomRequest.js.map +1 -1
  35. package/chat/request/DeleteRoomRequest.ts +15 -0
  36. package/chat/request/PostRequest.d.ts +4 -0
  37. package/chat/request/PostRequest.js +12 -0
  38. package/chat/request/PostRequest.js.map +1 -1
  39. package/chat/request/PostRequest.ts +15 -0
  40. package/chat/request/SubscribeRequest.d.ts +4 -0
  41. package/chat/request/SubscribeRequest.js +12 -0
  42. package/chat/request/SubscribeRequest.js.map +1 -1
  43. package/chat/request/SubscribeRequest.ts +15 -0
  44. package/chat/request/UnsubscribeRequest.d.ts +4 -0
  45. package/chat/request/UnsubscribeRequest.js +12 -0
  46. package/chat/request/UnsubscribeRequest.js.map +1 -1
  47. package/chat/request/UnsubscribeRequest.ts +15 -0
  48. package/chat/request/UpdateNotificationTypeRequest.d.ts +4 -0
  49. package/chat/request/UpdateNotificationTypeRequest.js +12 -0
  50. package/chat/request/UpdateNotificationTypeRequest.js.map +1 -1
  51. package/chat/request/UpdateNotificationTypeRequest.ts +15 -0
  52. package/chat/request/UpdateRoomFromBackendRequest.d.ts +4 -0
  53. package/chat/request/UpdateRoomFromBackendRequest.js +12 -0
  54. package/chat/request/UpdateRoomFromBackendRequest.js.map +1 -1
  55. package/chat/request/UpdateRoomFromBackendRequest.ts +15 -0
  56. package/chat/request/UpdateRoomRequest.d.ts +4 -0
  57. package/chat/request/UpdateRoomRequest.js +12 -0
  58. package/chat/request/UpdateRoomRequest.js.map +1 -1
  59. package/chat/request/UpdateRoomRequest.ts +15 -0
  60. package/chat/rest.js +78 -45
  61. package/chat/rest.js.map +1 -1
  62. package/chat/rest.ts +33 -0
  63. package/datastore/request/DeleteDataObjectRequest.d.ts +4 -0
  64. package/datastore/request/DeleteDataObjectRequest.js +12 -0
  65. package/datastore/request/DeleteDataObjectRequest.js.map +1 -1
  66. package/datastore/request/DeleteDataObjectRequest.ts +15 -0
  67. package/datastore/request/DoneUploadRequest.d.ts +4 -0
  68. package/datastore/request/DoneUploadRequest.js +12 -0
  69. package/datastore/request/DoneUploadRequest.js.map +1 -1
  70. package/datastore/request/DoneUploadRequest.ts +15 -0
  71. package/datastore/request/PrepareDownloadByGenerationRequest.d.ts +4 -0
  72. package/datastore/request/PrepareDownloadByGenerationRequest.js +12 -0
  73. package/datastore/request/PrepareDownloadByGenerationRequest.js.map +1 -1
  74. package/datastore/request/PrepareDownloadByGenerationRequest.ts +15 -0
  75. package/datastore/request/PrepareDownloadOwnDataByGenerationRequest.d.ts +4 -0
  76. package/datastore/request/PrepareDownloadOwnDataByGenerationRequest.js +12 -0
  77. package/datastore/request/PrepareDownloadOwnDataByGenerationRequest.js.map +1 -1
  78. package/datastore/request/PrepareDownloadOwnDataByGenerationRequest.ts +15 -0
  79. package/datastore/request/PrepareDownloadOwnDataRequest.d.ts +4 -0
  80. package/datastore/request/PrepareDownloadOwnDataRequest.js +12 -0
  81. package/datastore/request/PrepareDownloadOwnDataRequest.js.map +1 -1
  82. package/datastore/request/PrepareDownloadOwnDataRequest.ts +15 -0
  83. package/datastore/request/PrepareDownloadRequest.d.ts +4 -0
  84. package/datastore/request/PrepareDownloadRequest.js +12 -0
  85. package/datastore/request/PrepareDownloadRequest.js.map +1 -1
  86. package/datastore/request/PrepareDownloadRequest.ts +15 -0
  87. package/datastore/request/PrepareReUploadRequest.d.ts +4 -0
  88. package/datastore/request/PrepareReUploadRequest.js +12 -0
  89. package/datastore/request/PrepareReUploadRequest.js.map +1 -1
  90. package/datastore/request/PrepareReUploadRequest.ts +15 -0
  91. package/datastore/request/PrepareUploadRequest.d.ts +4 -0
  92. package/datastore/request/PrepareUploadRequest.js +12 -0
  93. package/datastore/request/PrepareUploadRequest.js.map +1 -1
  94. package/datastore/request/PrepareUploadRequest.ts +15 -0
  95. package/datastore/request/UpdateDataObjectRequest.d.ts +4 -0
  96. package/datastore/request/UpdateDataObjectRequest.js +12 -0
  97. package/datastore/request/UpdateDataObjectRequest.js.map +1 -1
  98. package/datastore/request/UpdateDataObjectRequest.ts +15 -0
  99. package/datastore/rest.js +55 -28
  100. package/datastore/rest.js.map +1 -1
  101. package/datastore/rest.ts +27 -0
  102. package/deploy/model/Event.js +1 -1
  103. package/deploy/model/Event.js.map +1 -1
  104. package/deploy/model/Event.ts +1 -1
  105. package/deploy/model/Output.js +1 -1
  106. package/deploy/model/Output.js.map +1 -1
  107. package/deploy/model/Output.ts +1 -1
  108. package/deploy/model/Resource.js +1 -1
  109. package/deploy/model/Resource.js.map +1 -1
  110. package/deploy/model/Resource.ts +1 -1
  111. package/deploy/model/Stack.js +1 -1
  112. package/deploy/model/Stack.js.map +1 -1
  113. package/deploy/model/Stack.ts +1 -1
  114. package/enhance/model/Progress.d.ts +1 -3
  115. package/enhance/model/Progress.js +7 -49
  116. package/enhance/model/Progress.js.map +1 -1
  117. package/enhance/model/Progress.ts +2 -50
  118. package/enhance/request/DeleteProgressByUserIdRequest.d.ts +0 -8
  119. package/enhance/request/DeleteProgressByUserIdRequest.js +1 -29
  120. package/enhance/request/DeleteProgressByUserIdRequest.js.map +1 -1
  121. package/enhance/request/DeleteProgressByUserIdRequest.ts +1 -29
  122. package/enhance/request/DeleteProgressRequest.d.ts +4 -8
  123. package/enhance/request/DeleteProgressRequest.js +8 -24
  124. package/enhance/request/DeleteProgressRequest.js.map +1 -1
  125. package/enhance/request/DeleteProgressRequest.ts +11 -24
  126. package/enhance/request/DirectEnhanceRequest.d.ts +4 -0
  127. package/enhance/request/DirectEnhanceRequest.js +12 -0
  128. package/enhance/request/DirectEnhanceRequest.js.map +1 -1
  129. package/enhance/request/DirectEnhanceRequest.ts +15 -0
  130. package/enhance/request/EndByUserIdRequest.d.ts +0 -8
  131. package/enhance/request/EndByUserIdRequest.js +0 -28
  132. package/enhance/request/EndByUserIdRequest.js.map +1 -1
  133. package/enhance/request/EndByUserIdRequest.ts +0 -28
  134. package/enhance/request/EndRequest.d.ts +4 -8
  135. package/enhance/request/EndRequest.js +12 -28
  136. package/enhance/request/EndRequest.js.map +1 -1
  137. package/enhance/request/EndRequest.ts +15 -28
  138. package/enhance/request/GetProgressByUserIdRequest.d.ts +0 -8
  139. package/enhance/request/GetProgressByUserIdRequest.js +1 -29
  140. package/enhance/request/GetProgressByUserIdRequest.js.map +1 -1
  141. package/enhance/request/GetProgressByUserIdRequest.ts +1 -29
  142. package/enhance/request/GetProgressRequest.d.ts +0 -8
  143. package/enhance/request/GetProgressRequest.js +1 -29
  144. package/enhance/request/GetProgressRequest.js.map +1 -1
  145. package/enhance/request/GetProgressRequest.ts +1 -29
  146. package/enhance/request/StartRequest.d.ts +4 -0
  147. package/enhance/request/StartRequest.js +12 -0
  148. package/enhance/request/StartRequest.js.map +1 -1
  149. package/enhance/request/StartRequest.ts +15 -0
  150. package/enhance/request/index.d.ts +1 -2
  151. package/enhance/request/index.js +1 -3
  152. package/enhance/request/index.js.map +1 -1
  153. package/enhance/request/index.ts +0 -2
  154. package/enhance/rest.d.ts +0 -1
  155. package/enhance/rest.js +54 -79
  156. package/enhance/rest.js.map +1 -1
  157. package/enhance/rest.ts +24 -53
  158. package/enhance/result/GetProgressByUserIdResult.d.ts +0 -4
  159. package/enhance/result/GetProgressByUserIdResult.js +2 -16
  160. package/enhance/result/GetProgressByUserIdResult.js.map +1 -1
  161. package/enhance/result/GetProgressByUserIdResult.ts +1 -18
  162. package/enhance/result/GetProgressResult.d.ts +0 -4
  163. package/enhance/result/GetProgressResult.js +2 -16
  164. package/enhance/result/GetProgressResult.js.map +1 -1
  165. package/enhance/result/GetProgressResult.ts +1 -18
  166. package/enhance/result/index.d.ts +1 -2
  167. package/enhance/result/index.js +1 -3
  168. package/enhance/result/index.js.map +1 -1
  169. package/enhance/result/index.ts +0 -2
  170. package/exchange/request/AcquireRequest.d.ts +4 -0
  171. package/exchange/request/AcquireRequest.js +12 -0
  172. package/exchange/request/AcquireRequest.js.map +1 -1
  173. package/exchange/request/AcquireRequest.ts +15 -0
  174. package/exchange/request/DeleteAwaitRequest.d.ts +4 -0
  175. package/exchange/request/DeleteAwaitRequest.js +12 -0
  176. package/exchange/request/DeleteAwaitRequest.js.map +1 -1
  177. package/exchange/request/DeleteAwaitRequest.ts +15 -0
  178. package/exchange/request/ExchangeRequest.d.ts +4 -0
  179. package/exchange/request/ExchangeRequest.js +12 -0
  180. package/exchange/request/ExchangeRequest.js.map +1 -1
  181. package/exchange/request/ExchangeRequest.ts +15 -0
  182. package/exchange/request/SkipRequest.d.ts +4 -0
  183. package/exchange/request/SkipRequest.js +12 -0
  184. package/exchange/request/SkipRequest.js.map +1 -1
  185. package/exchange/request/SkipRequest.ts +15 -0
  186. package/exchange/rest.js +24 -12
  187. package/exchange/rest.js.map +1 -1
  188. package/exchange/rest.ts +12 -0
  189. package/formation/request/DeleteFormRequest.d.ts +4 -0
  190. package/formation/request/DeleteFormRequest.js +12 -0
  191. package/formation/request/DeleteFormRequest.js.map +1 -1
  192. package/formation/request/DeleteFormRequest.ts +15 -0
  193. package/formation/request/DeleteMoldRequest.d.ts +4 -0
  194. package/formation/request/DeleteMoldRequest.js +12 -0
  195. package/formation/request/DeleteMoldRequest.js.map +1 -1
  196. package/formation/request/DeleteMoldRequest.ts +15 -0
  197. package/formation/request/DeletePropertyFormRequest.d.ts +4 -0
  198. package/formation/request/DeletePropertyFormRequest.js +12 -0
  199. package/formation/request/DeletePropertyFormRequest.js.map +1 -1
  200. package/formation/request/DeletePropertyFormRequest.ts +15 -0
  201. package/formation/request/SetFormWithSignatureRequest.d.ts +4 -0
  202. package/formation/request/SetFormWithSignatureRequest.js +12 -0
  203. package/formation/request/SetFormWithSignatureRequest.js.map +1 -1
  204. package/formation/request/SetFormWithSignatureRequest.ts +15 -0
  205. package/formation/request/SetPropertyFormWithSignatureRequest.d.ts +4 -0
  206. package/formation/request/SetPropertyFormWithSignatureRequest.js +12 -0
  207. package/formation/request/SetPropertyFormWithSignatureRequest.js.map +1 -1
  208. package/formation/request/SetPropertyFormWithSignatureRequest.ts +15 -0
  209. package/formation/rest.js +29 -14
  210. package/formation/rest.js.map +1 -1
  211. package/formation/rest.ts +15 -0
  212. package/friend/request/AcceptRequestRequest.d.ts +4 -0
  213. package/friend/request/AcceptRequestRequest.js +12 -0
  214. package/friend/request/AcceptRequestRequest.js.map +1 -1
  215. package/friend/request/AcceptRequestRequest.ts +15 -0
  216. package/friend/request/DeleteFriendRequest.d.ts +4 -0
  217. package/friend/request/DeleteFriendRequest.js +12 -0
  218. package/friend/request/DeleteFriendRequest.js.map +1 -1
  219. package/friend/request/DeleteFriendRequest.ts +15 -0
  220. package/friend/request/DeleteRequestRequest.d.ts +4 -0
  221. package/friend/request/DeleteRequestRequest.js +12 -0
  222. package/friend/request/DeleteRequestRequest.js.map +1 -1
  223. package/friend/request/DeleteRequestRequest.ts +15 -0
  224. package/friend/request/FollowRequest.d.ts +4 -0
  225. package/friend/request/FollowRequest.js +12 -0
  226. package/friend/request/FollowRequest.js.map +1 -1
  227. package/friend/request/FollowRequest.ts +15 -0
  228. package/friend/request/RegisterBlackListRequest.d.ts +4 -0
  229. package/friend/request/RegisterBlackListRequest.js +12 -0
  230. package/friend/request/RegisterBlackListRequest.js.map +1 -1
  231. package/friend/request/RegisterBlackListRequest.ts +15 -0
  232. package/friend/request/RejectRequestRequest.d.ts +4 -0
  233. package/friend/request/RejectRequestRequest.js +12 -0
  234. package/friend/request/RejectRequestRequest.js.map +1 -1
  235. package/friend/request/RejectRequestRequest.ts +15 -0
  236. package/friend/request/SendRequestRequest.d.ts +4 -0
  237. package/friend/request/SendRequestRequest.js +12 -0
  238. package/friend/request/SendRequestRequest.js.map +1 -1
  239. package/friend/request/SendRequestRequest.ts +15 -0
  240. package/friend/request/UnfollowRequest.d.ts +4 -0
  241. package/friend/request/UnfollowRequest.js +12 -0
  242. package/friend/request/UnfollowRequest.js.map +1 -1
  243. package/friend/request/UnfollowRequest.ts +15 -0
  244. package/friend/request/UnregisterBlackListRequest.d.ts +4 -0
  245. package/friend/request/UnregisterBlackListRequest.js +12 -0
  246. package/friend/request/UnregisterBlackListRequest.js.map +1 -1
  247. package/friend/request/UnregisterBlackListRequest.ts +15 -0
  248. package/friend/request/UpdateProfileRequest.d.ts +4 -0
  249. package/friend/request/UpdateProfileRequest.js +12 -0
  250. package/friend/request/UpdateProfileRequest.js.map +1 -1
  251. package/friend/request/UpdateProfileRequest.ts +15 -0
  252. package/friend/rest.js +53 -23
  253. package/friend/rest.js.map +1 -1
  254. package/friend/rest.ts +30 -0
  255. package/gateway/request/DeleteFirebaseTokenRequest.d.ts +4 -0
  256. package/gateway/request/DeleteFirebaseTokenRequest.js +12 -0
  257. package/gateway/request/DeleteFirebaseTokenRequest.js.map +1 -1
  258. package/gateway/request/DeleteFirebaseTokenRequest.ts +15 -0
  259. package/gateway/request/SetFirebaseTokenRequest.d.ts +4 -0
  260. package/gateway/request/SetFirebaseTokenRequest.js +12 -0
  261. package/gateway/request/SetFirebaseTokenRequest.js.map +1 -1
  262. package/gateway/request/SetFirebaseTokenRequest.ts +15 -0
  263. package/gateway/request/SetUserIdRequest.d.ts +4 -0
  264. package/gateway/request/SetUserIdRequest.js +12 -0
  265. package/gateway/request/SetUserIdRequest.js.map +1 -1
  266. package/gateway/request/SetUserIdRequest.ts +15 -0
  267. package/gateway/rest.js +17 -8
  268. package/gateway/rest.js.map +1 -1
  269. package/gateway/rest.ts +9 -0
  270. package/inbox/request/DeleteMessageRequest.d.ts +4 -0
  271. package/inbox/request/DeleteMessageRequest.js +12 -0
  272. package/inbox/request/DeleteMessageRequest.js.map +1 -1
  273. package/inbox/request/DeleteMessageRequest.ts +15 -0
  274. package/inbox/request/OpenMessageRequest.d.ts +4 -0
  275. package/inbox/request/OpenMessageRequest.js +12 -0
  276. package/inbox/request/OpenMessageRequest.js.map +1 -1
  277. package/inbox/request/OpenMessageRequest.ts +15 -0
  278. package/inbox/request/ReadMessageRequest.d.ts +4 -0
  279. package/inbox/request/ReadMessageRequest.js +12 -0
  280. package/inbox/request/ReadMessageRequest.js.map +1 -1
  281. package/inbox/request/ReadMessageRequest.ts +15 -0
  282. package/inbox/request/ReceiveGlobalMessageRequest.d.ts +4 -0
  283. package/inbox/request/ReceiveGlobalMessageRequest.js +12 -0
  284. package/inbox/request/ReceiveGlobalMessageRequest.js.map +1 -1
  285. package/inbox/request/ReceiveGlobalMessageRequest.ts +15 -0
  286. package/inbox/rest.js +21 -9
  287. package/inbox/rest.js.map +1 -1
  288. package/inbox/rest.ts +12 -0
  289. package/inventory/request/AddReferenceOfRequest.d.ts +4 -0
  290. package/inventory/request/AddReferenceOfRequest.js +12 -0
  291. package/inventory/request/AddReferenceOfRequest.js.map +1 -1
  292. package/inventory/request/AddReferenceOfRequest.ts +15 -0
  293. package/inventory/request/ConsumeItemSetRequest.d.ts +4 -0
  294. package/inventory/request/ConsumeItemSetRequest.js +12 -0
  295. package/inventory/request/ConsumeItemSetRequest.js.map +1 -1
  296. package/inventory/request/ConsumeItemSetRequest.ts +15 -0
  297. package/inventory/request/DeleteReferenceOfRequest.d.ts +4 -0
  298. package/inventory/request/DeleteReferenceOfRequest.js +12 -0
  299. package/inventory/request/DeleteReferenceOfRequest.js.map +1 -1
  300. package/inventory/request/DeleteReferenceOfRequest.ts +15 -0
  301. package/inventory/request/VerifyReferenceOfRequest.d.ts +4 -0
  302. package/inventory/request/VerifyReferenceOfRequest.js +12 -0
  303. package/inventory/request/VerifyReferenceOfRequest.js.map +1 -1
  304. package/inventory/request/VerifyReferenceOfRequest.ts +15 -0
  305. package/inventory/rest.js +23 -11
  306. package/inventory/rest.js.map +1 -1
  307. package/inventory/rest.ts +12 -0
  308. package/jobQueue/request/RunRequest.d.ts +4 -0
  309. package/jobQueue/request/RunRequest.js +12 -0
  310. package/jobQueue/request/RunRequest.js.map +1 -1
  311. package/jobQueue/request/RunRequest.ts +15 -0
  312. package/jobQueue/rest.js +5 -2
  313. package/jobQueue/rest.js.map +1 -1
  314. package/jobQueue/rest.ts +3 -0
  315. package/limit/request/CountUpRequest.d.ts +4 -0
  316. package/limit/request/CountUpRequest.js +12 -0
  317. package/limit/request/CountUpRequest.js.map +1 -1
  318. package/limit/request/CountUpRequest.ts +15 -0
  319. package/limit/rest.js +7 -4
  320. package/limit/rest.js.map +1 -1
  321. package/limit/rest.ts +3 -0
  322. package/lock/request/LockRequest.d.ts +4 -0
  323. package/lock/request/LockRequest.js +12 -0
  324. package/lock/request/LockRequest.js.map +1 -1
  325. package/lock/request/LockRequest.ts +15 -0
  326. package/lock/request/UnlockRequest.d.ts +4 -0
  327. package/lock/request/UnlockRequest.js +12 -0
  328. package/lock/request/UnlockRequest.js.map +1 -1
  329. package/lock/request/UnlockRequest.ts +15 -0
  330. package/lock/rest.js +13 -7
  331. package/lock/rest.js.map +1 -1
  332. package/lock/rest.ts +6 -0
  333. package/log/request/QueryAccessLogRequest.d.ts +4 -0
  334. package/log/request/QueryAccessLogRequest.js +12 -0
  335. package/log/request/QueryAccessLogRequest.js.map +1 -1
  336. package/log/request/QueryAccessLogRequest.ts +15 -0
  337. package/log/request/QueryExecuteStampSheetLogRequest.d.ts +4 -0
  338. package/log/request/QueryExecuteStampSheetLogRequest.js +12 -0
  339. package/log/request/QueryExecuteStampSheetLogRequest.js.map +1 -1
  340. package/log/request/QueryExecuteStampSheetLogRequest.ts +15 -0
  341. package/log/request/QueryExecuteStampTaskLogRequest.d.ts +4 -0
  342. package/log/request/QueryExecuteStampTaskLogRequest.js +12 -0
  343. package/log/request/QueryExecuteStampTaskLogRequest.js.map +1 -1
  344. package/log/request/QueryExecuteStampTaskLogRequest.ts +15 -0
  345. package/log/request/QueryIssueStampSheetLogRequest.d.ts +4 -0
  346. package/log/request/QueryIssueStampSheetLogRequest.js +12 -0
  347. package/log/request/QueryIssueStampSheetLogRequest.js.map +1 -1
  348. package/log/request/QueryIssueStampSheetLogRequest.ts +15 -0
  349. package/log/rest.js +55 -43
  350. package/log/rest.js.map +1 -1
  351. package/log/rest.ts +12 -0
  352. package/lottery/model/index.d.ts +1 -2
  353. package/lottery/model/index.js +1 -3
  354. package/lottery/model/index.js.map +1 -1
  355. package/lottery/model/index.ts +0 -2
  356. package/lottery/request/ResetBoxRequest.d.ts +4 -0
  357. package/lottery/request/ResetBoxRequest.js +12 -0
  358. package/lottery/request/ResetBoxRequest.js.map +1 -1
  359. package/lottery/request/ResetBoxRequest.ts +15 -0
  360. package/lottery/rest.js +5 -2
  361. package/lottery/rest.js.map +1 -1
  362. package/lottery/rest.ts +3 -0
  363. package/lottery/result/DescribeBoxesByUserIdResult.d.ts +3 -3
  364. package/lottery/result/DescribeBoxesByUserIdResult.js +1 -1
  365. package/lottery/result/DescribeBoxesByUserIdResult.js.map +1 -1
  366. package/lottery/result/DescribeBoxesByUserIdResult.ts +6 -6
  367. package/lottery/result/DescribeBoxesResult.d.ts +3 -3
  368. package/lottery/result/DescribeBoxesResult.js +1 -1
  369. package/lottery/result/DescribeBoxesResult.js.map +1 -1
  370. package/lottery/result/DescribeBoxesResult.ts +6 -6
  371. package/matchmaking/request/CancelMatchmakingRequest.d.ts +4 -0
  372. package/matchmaking/request/CancelMatchmakingRequest.js +12 -0
  373. package/matchmaking/request/CancelMatchmakingRequest.js.map +1 -1
  374. package/matchmaking/request/CancelMatchmakingRequest.ts +15 -0
  375. package/matchmaking/request/CreateGatheringRequest.d.ts +4 -0
  376. package/matchmaking/request/CreateGatheringRequest.js +12 -0
  377. package/matchmaking/request/CreateGatheringRequest.js.map +1 -1
  378. package/matchmaking/request/CreateGatheringRequest.ts +15 -0
  379. package/matchmaking/request/DoMatchmakingRequest.d.ts +4 -0
  380. package/matchmaking/request/DoMatchmakingRequest.js +12 -0
  381. package/matchmaking/request/DoMatchmakingRequest.js.map +1 -1
  382. package/matchmaking/request/DoMatchmakingRequest.ts +15 -0
  383. package/matchmaking/request/UpdateGatheringRequest.d.ts +4 -0
  384. package/matchmaking/request/UpdateGatheringRequest.js +12 -0
  385. package/matchmaking/request/UpdateGatheringRequest.js.map +1 -1
  386. package/matchmaking/request/UpdateGatheringRequest.ts +15 -0
  387. package/matchmaking/rest.js +29 -17
  388. package/matchmaking/rest.js.map +1 -1
  389. package/matchmaking/rest.ts +12 -0
  390. package/megaField/request/ActionRequest.d.ts +4 -0
  391. package/megaField/request/ActionRequest.js +12 -0
  392. package/megaField/request/ActionRequest.js.map +1 -1
  393. package/megaField/request/ActionRequest.ts +15 -0
  394. package/megaField/request/FetchPositionRequest.d.ts +4 -0
  395. package/megaField/request/FetchPositionRequest.js +12 -0
  396. package/megaField/request/FetchPositionRequest.js.map +1 -1
  397. package/megaField/request/FetchPositionRequest.ts +15 -0
  398. package/megaField/request/NearUserIdsRequest.d.ts +4 -0
  399. package/megaField/request/NearUserIdsRequest.js +12 -0
  400. package/megaField/request/NearUserIdsRequest.js.map +1 -1
  401. package/megaField/request/NearUserIdsRequest.ts +15 -0
  402. package/megaField/request/PutPositionRequest.d.ts +4 -0
  403. package/megaField/request/PutPositionRequest.js +12 -0
  404. package/megaField/request/PutPositionRequest.js.map +1 -1
  405. package/megaField/request/PutPositionRequest.ts +15 -0
  406. package/megaField/rest.js +29 -17
  407. package/megaField/rest.js.map +1 -1
  408. package/megaField/rest.ts +12 -0
  409. package/mission/request/CompleteRequest.d.ts +4 -0
  410. package/mission/request/CompleteRequest.js +12 -0
  411. package/mission/request/CompleteRequest.js.map +1 -1
  412. package/mission/request/CompleteRequest.ts +15 -0
  413. package/mission/rest.js +6 -3
  414. package/mission/rest.js.map +1 -1
  415. package/mission/rest.ts +3 -0
  416. package/money/request/WithdrawRequest.d.ts +4 -0
  417. package/money/request/WithdrawRequest.js +12 -0
  418. package/money/request/WithdrawRequest.js.map +1 -1
  419. package/money/request/WithdrawRequest.ts +15 -0
  420. package/money/rest.js +7 -4
  421. package/money/rest.js.map +1 -1
  422. package/money/rest.ts +3 -0
  423. package/package.json +1 -2
  424. package/quest/request/DeleteProgressRequest.d.ts +4 -0
  425. package/quest/request/DeleteProgressRequest.js +12 -0
  426. package/quest/request/DeleteProgressRequest.js.map +1 -1
  427. package/quest/request/DeleteProgressRequest.ts +15 -0
  428. package/quest/request/EndRequest.d.ts +4 -0
  429. package/quest/request/EndRequest.js +12 -0
  430. package/quest/request/EndRequest.js.map +1 -1
  431. package/quest/request/EndRequest.ts +15 -0
  432. package/quest/request/StartRequest.d.ts +4 -0
  433. package/quest/request/StartRequest.js +12 -0
  434. package/quest/request/StartRequest.js.map +1 -1
  435. package/quest/request/StartRequest.ts +15 -0
  436. package/quest/rest.js +21 -12
  437. package/quest/rest.js.map +1 -1
  438. package/quest/rest.ts +9 -0
  439. package/ranking/model/Ranking.d.ts +4 -0
  440. package/ranking/model/Ranking.js +14 -0
  441. package/ranking/model/Ranking.js.map +1 -1
  442. package/ranking/model/Ranking.ts +14 -0
  443. package/ranking/request/PutScoreRequest.d.ts +4 -0
  444. package/ranking/request/PutScoreRequest.js +12 -0
  445. package/ranking/request/PutScoreRequest.js.map +1 -1
  446. package/ranking/request/PutScoreRequest.ts +15 -0
  447. package/ranking/request/SubscribeRequest.d.ts +4 -0
  448. package/ranking/request/SubscribeRequest.js +12 -0
  449. package/ranking/request/SubscribeRequest.js.map +1 -1
  450. package/ranking/request/SubscribeRequest.ts +15 -0
  451. package/ranking/request/UnsubscribeRequest.d.ts +4 -0
  452. package/ranking/request/UnsubscribeRequest.js +12 -0
  453. package/ranking/request/UnsubscribeRequest.js.map +1 -1
  454. package/ranking/request/UnsubscribeRequest.ts +15 -0
  455. package/ranking/rest.js +17 -8
  456. package/ranking/rest.js.map +1 -1
  457. package/ranking/rest.ts +9 -0
  458. package/schedule/request/DeleteTriggerRequest.d.ts +4 -0
  459. package/schedule/request/DeleteTriggerRequest.js +12 -0
  460. package/schedule/request/DeleteTriggerRequest.js.map +1 -1
  461. package/schedule/request/DeleteTriggerRequest.ts +15 -0
  462. package/schedule/rest.js +5 -2
  463. package/schedule/rest.js.map +1 -1
  464. package/schedule/rest.ts +3 -0
  465. package/script/request/InvokeScriptRequest.d.ts +4 -0
  466. package/script/request/InvokeScriptRequest.js +14 -0
  467. package/script/request/InvokeScriptRequest.js.map +1 -1
  468. package/script/request/InvokeScriptRequest.ts +14 -0
  469. package/script/rest.js +3 -2
  470. package/script/rest.js.map +1 -1
  471. package/script/rest.ts +1 -0
  472. package/serialKey/request/UseRequest.d.ts +4 -0
  473. package/serialKey/request/UseRequest.js +12 -0
  474. package/serialKey/request/UseRequest.js.map +1 -1
  475. package/serialKey/request/UseRequest.ts +15 -0
  476. package/serialKey/rest.js +6 -3
  477. package/serialKey/rest.js.map +1 -1
  478. package/serialKey/rest.ts +3 -0
  479. package/showcase/request/BuyRequest.d.ts +4 -0
  480. package/showcase/request/BuyRequest.js +12 -0
  481. package/showcase/request/BuyRequest.js.map +1 -1
  482. package/showcase/request/BuyRequest.ts +15 -0
  483. package/showcase/rest.js +7 -4
  484. package/showcase/rest.js.map +1 -1
  485. package/showcase/rest.ts +3 -0
  486. package/stamina/request/ConsumeStaminaRequest.d.ts +4 -0
  487. package/stamina/request/ConsumeStaminaRequest.js +12 -0
  488. package/stamina/request/ConsumeStaminaRequest.js.map +1 -1
  489. package/stamina/request/ConsumeStaminaRequest.ts +15 -0
  490. package/stamina/request/SetMaxValueByStatusRequest.d.ts +4 -0
  491. package/stamina/request/SetMaxValueByStatusRequest.js +12 -0
  492. package/stamina/request/SetMaxValueByStatusRequest.js.map +1 -1
  493. package/stamina/request/SetMaxValueByStatusRequest.ts +15 -0
  494. package/stamina/request/SetRecoverIntervalByStatusRequest.d.ts +4 -0
  495. package/stamina/request/SetRecoverIntervalByStatusRequest.js +12 -0
  496. package/stamina/request/SetRecoverIntervalByStatusRequest.js.map +1 -1
  497. package/stamina/request/SetRecoverIntervalByStatusRequest.ts +15 -0
  498. package/stamina/request/SetRecoverValueByStatusRequest.d.ts +4 -0
  499. package/stamina/request/SetRecoverValueByStatusRequest.js +12 -0
  500. package/stamina/request/SetRecoverValueByStatusRequest.js.map +1 -1
  501. package/stamina/request/SetRecoverValueByStatusRequest.ts +15 -0
  502. package/stamina/rest.js +30 -18
  503. package/stamina/rest.js.map +1 -1
  504. package/stamina/rest.ts +12 -0
  505. package/version/request/AcceptRequest.d.ts +4 -0
  506. package/version/request/AcceptRequest.js +12 -0
  507. package/version/request/AcceptRequest.js.map +1 -1
  508. package/version/request/AcceptRequest.ts +15 -0
  509. package/version/request/CheckVersionRequest.d.ts +4 -0
  510. package/version/request/CheckVersionRequest.js +12 -0
  511. package/version/request/CheckVersionRequest.js.map +1 -1
  512. package/version/request/CheckVersionRequest.ts +15 -0
  513. package/version/request/DeleteAcceptVersionRequest.d.ts +4 -0
  514. package/version/request/DeleteAcceptVersionRequest.js +12 -0
  515. package/version/request/DeleteAcceptVersionRequest.js.map +1 -1
  516. package/version/request/DeleteAcceptVersionRequest.ts +15 -0
  517. package/version/rest.js +17 -8
  518. package/version/rest.js.map +1 -1
  519. package/version/rest.ts +9 -0
  520. package/watch/model/Chart.d.ts +12 -14
  521. package/watch/model/Chart.js +33 -34
  522. package/watch/model/Chart.js.map +1 -1
  523. package/watch/model/Chart.ts +35 -37
  524. package/watch/model/Distribution.d.ts +21 -0
  525. package/watch/model/Distribution.js +82 -0
  526. package/watch/model/Distribution.js.map +1 -0
  527. package/watch/model/Distribution.ts +82 -0
  528. package/watch/model/Filter.d.ts +17 -0
  529. package/watch/model/Filter.js +62 -0
  530. package/watch/model/Filter.js.map +1 -0
  531. package/watch/model/Filter.ts +60 -0
  532. package/watch/model/index.d.ts +3 -1
  533. package/watch/model/index.js +5 -1
  534. package/watch/model/index.js.map +1 -1
  535. package/watch/model/index.ts +4 -0
  536. package/watch/request/GetChartRequest.d.ts +37 -36
  537. package/watch/request/GetChartRequest.js +91 -83
  538. package/watch/request/GetChartRequest.js.map +1 -1
  539. package/watch/request/GetChartRequest.ts +91 -83
  540. package/watch/request/GetDistributionRequest.d.ts +50 -0
  541. package/watch/request/GetDistributionRequest.js +181 -0
  542. package/watch/request/GetDistributionRequest.js.map +1 -0
  543. package/watch/request/GetDistributionRequest.ts +190 -0
  544. package/watch/request/index.d.ts +2 -1
  545. package/watch/request/index.js +3 -1
  546. package/watch/request/index.js.map +1 -1
  547. package/watch/request/index.ts +2 -0
  548. package/watch/rest.d.ts +1 -0
  549. package/watch/rest.js +44 -11
  550. package/watch/rest.js.map +1 -1
  551. package/watch/rest.ts +47 -10
  552. package/watch/result/GetChartResult.d.ts +8 -4
  553. package/watch/result/GetChartResult.js +29 -10
  554. package/watch/result/GetChartResult.js.map +1 -1
  555. package/watch/result/GetChartResult.ts +34 -9
  556. package/watch/result/GetDistributionResult.d.ts +18 -0
  557. package/watch/result/GetDistributionResult.js +67 -0
  558. package/watch/result/GetDistributionResult.js.map +1 -0
  559. package/watch/result/GetDistributionResult.ts +73 -0
  560. package/watch/result/index.d.ts +2 -1
  561. package/watch/result/index.js +3 -1
  562. package/watch/result/index.js.map +1 -1
  563. package/watch/result/index.ts +2 -0
@@ -15,20 +15,22 @@ express or implied. See the License for the specific language governing
15
15
  permissions and limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ var tslib_1 = require("tslib");
19
+ var Gs2Watch = tslib_1.__importStar(require("../model"));
18
20
  var GetChartRequest = /** @class */ (function () {
19
21
  function GetChartRequest() {
20
22
  this.requestId = null;
21
23
  this.contextStack = null;
22
- this.metrics = null;
24
+ this.measure = null;
23
25
  this.grn = null;
24
- this.queries = null;
25
- this.by = null;
26
- this.timeframe = null;
27
- this.size = null;
28
- this.format = null;
29
- this.aggregator = null;
30
- this.style = null;
31
- this.title = null;
26
+ this.round = null;
27
+ this.filters = null;
28
+ this.groupBys = null;
29
+ this.countBy = null;
30
+ this.begin = null;
31
+ this.end = null;
32
+ this.pageToken = null;
33
+ this.limit = null;
32
34
  }
33
35
  GetChartRequest.prototype.getRequestId = function () {
34
36
  return this.requestId;
@@ -52,15 +54,15 @@ var GetChartRequest = /** @class */ (function () {
52
54
  this.contextStack = contextStack;
53
55
  return this;
54
56
  };
55
- GetChartRequest.prototype.getMetrics = function () {
56
- return this.metrics;
57
+ GetChartRequest.prototype.getMeasure = function () {
58
+ return this.measure;
57
59
  };
58
- GetChartRequest.prototype.setMetrics = function (metrics) {
59
- this.metrics = metrics;
60
+ GetChartRequest.prototype.setMeasure = function (measure) {
61
+ this.measure = measure;
60
62
  return this;
61
63
  };
62
- GetChartRequest.prototype.withMetrics = function (metrics) {
63
- this.metrics = metrics;
64
+ GetChartRequest.prototype.withMeasure = function (measure) {
65
+ this.measure = measure;
64
66
  return this;
65
67
  };
66
68
  GetChartRequest.prototype.getGrn = function () {
@@ -74,125 +76,131 @@ var GetChartRequest = /** @class */ (function () {
74
76
  this.grn = grn;
75
77
  return this;
76
78
  };
77
- GetChartRequest.prototype.getQueries = function () {
78
- return this.queries;
79
+ GetChartRequest.prototype.getRound = function () {
80
+ return this.round;
79
81
  };
80
- GetChartRequest.prototype.setQueries = function (queries) {
81
- this.queries = queries;
82
+ GetChartRequest.prototype.setRound = function (round) {
83
+ this.round = round;
82
84
  return this;
83
85
  };
84
- GetChartRequest.prototype.withQueries = function (queries) {
85
- this.queries = queries;
86
+ GetChartRequest.prototype.withRound = function (round) {
87
+ this.round = round;
86
88
  return this;
87
89
  };
88
- GetChartRequest.prototype.getBy = function () {
89
- return this.by;
90
+ GetChartRequest.prototype.getFilters = function () {
91
+ return this.filters;
90
92
  };
91
- GetChartRequest.prototype.setBy = function (by) {
92
- this.by = by;
93
+ GetChartRequest.prototype.setFilters = function (filters) {
94
+ this.filters = filters;
93
95
  return this;
94
96
  };
95
- GetChartRequest.prototype.withBy = function (by) {
96
- this.by = by;
97
+ GetChartRequest.prototype.withFilters = function (filters) {
98
+ this.filters = filters;
97
99
  return this;
98
100
  };
99
- GetChartRequest.prototype.getTimeframe = function () {
100
- return this.timeframe;
101
+ GetChartRequest.prototype.getGroupBys = function () {
102
+ return this.groupBys;
101
103
  };
102
- GetChartRequest.prototype.setTimeframe = function (timeframe) {
103
- this.timeframe = timeframe;
104
+ GetChartRequest.prototype.setGroupBys = function (groupBys) {
105
+ this.groupBys = groupBys;
104
106
  return this;
105
107
  };
106
- GetChartRequest.prototype.withTimeframe = function (timeframe) {
107
- this.timeframe = timeframe;
108
+ GetChartRequest.prototype.withGroupBys = function (groupBys) {
109
+ this.groupBys = groupBys;
108
110
  return this;
109
111
  };
110
- GetChartRequest.prototype.getSize = function () {
111
- return this.size;
112
+ GetChartRequest.prototype.getCountBy = function () {
113
+ return this.countBy;
112
114
  };
113
- GetChartRequest.prototype.setSize = function (size) {
114
- this.size = size;
115
+ GetChartRequest.prototype.setCountBy = function (countBy) {
116
+ this.countBy = countBy;
115
117
  return this;
116
118
  };
117
- GetChartRequest.prototype.withSize = function (size) {
118
- this.size = size;
119
+ GetChartRequest.prototype.withCountBy = function (countBy) {
120
+ this.countBy = countBy;
119
121
  return this;
120
122
  };
121
- GetChartRequest.prototype.getFormat = function () {
122
- return this.format;
123
+ GetChartRequest.prototype.getBegin = function () {
124
+ return this.begin;
123
125
  };
124
- GetChartRequest.prototype.setFormat = function (format) {
125
- this.format = format;
126
+ GetChartRequest.prototype.setBegin = function (begin) {
127
+ this.begin = begin;
126
128
  return this;
127
129
  };
128
- GetChartRequest.prototype.withFormat = function (format) {
129
- this.format = format;
130
+ GetChartRequest.prototype.withBegin = function (begin) {
131
+ this.begin = begin;
130
132
  return this;
131
133
  };
132
- GetChartRequest.prototype.getAggregator = function () {
133
- return this.aggregator;
134
+ GetChartRequest.prototype.getEnd = function () {
135
+ return this.end;
134
136
  };
135
- GetChartRequest.prototype.setAggregator = function (aggregator) {
136
- this.aggregator = aggregator;
137
+ GetChartRequest.prototype.setEnd = function (end) {
138
+ this.end = end;
137
139
  return this;
138
140
  };
139
- GetChartRequest.prototype.withAggregator = function (aggregator) {
140
- this.aggregator = aggregator;
141
+ GetChartRequest.prototype.withEnd = function (end) {
142
+ this.end = end;
141
143
  return this;
142
144
  };
143
- GetChartRequest.prototype.getStyle = function () {
144
- return this.style;
145
+ GetChartRequest.prototype.getPageToken = function () {
146
+ return this.pageToken;
145
147
  };
146
- GetChartRequest.prototype.setStyle = function (style) {
147
- this.style = style;
148
+ GetChartRequest.prototype.setPageToken = function (pageToken) {
149
+ this.pageToken = pageToken;
148
150
  return this;
149
151
  };
150
- GetChartRequest.prototype.withStyle = function (style) {
151
- this.style = style;
152
+ GetChartRequest.prototype.withPageToken = function (pageToken) {
153
+ this.pageToken = pageToken;
152
154
  return this;
153
155
  };
154
- GetChartRequest.prototype.getTitle = function () {
155
- return this.title;
156
+ GetChartRequest.prototype.getLimit = function () {
157
+ return this.limit;
156
158
  };
157
- GetChartRequest.prototype.setTitle = function (title) {
158
- this.title = title;
159
+ GetChartRequest.prototype.setLimit = function (limit) {
160
+ this.limit = limit;
159
161
  return this;
160
162
  };
161
- GetChartRequest.prototype.withTitle = function (title) {
162
- this.title = title;
163
+ GetChartRequest.prototype.withLimit = function (limit) {
164
+ this.limit = limit;
163
165
  return this;
164
166
  };
165
167
  GetChartRequest.fromDict = function (data) {
166
168
  return new GetChartRequest()
167
- .withMetrics(data["metrics"])
169
+ .withMeasure(data["measure"])
168
170
  .withGrn(data["grn"])
169
- .withQueries(data.queries ?
170
- data.queries.map(function (item) {
171
+ .withRound(data["round"])
172
+ .withFilters(data.filters ?
173
+ data.filters.map(function (item) {
174
+ return Gs2Watch.Filter.fromDict(item);
175
+ }) : [])
176
+ .withGroupBys(data.groupBys ?
177
+ data.groupBys.map(function (item) {
171
178
  return item;
172
179
  }) : [])
173
- .withBy(data["by"])
174
- .withTimeframe(data["timeframe"])
175
- .withSize(data["size"])
176
- .withFormat(data["format"])
177
- .withAggregator(data["aggregator"])
178
- .withStyle(data["style"])
179
- .withTitle(data["title"]);
180
+ .withCountBy(data["countBy"])
181
+ .withBegin(data["begin"])
182
+ .withEnd(data["end"])
183
+ .withPageToken(data["pageToken"])
184
+ .withLimit(data["limit"]);
180
185
  };
181
186
  GetChartRequest.prototype.toDict = function () {
182
187
  return {
183
- "metrics": this.getMetrics(),
188
+ "measure": this.getMeasure(),
184
189
  "grn": this.getGrn(),
185
- "queries": this.getQueries() ?
186
- this.getQueries().map(function (item) {
190
+ "round": this.getRound(),
191
+ "filters": this.getFilters() ?
192
+ this.getFilters().map(function (item) {
193
+ return item.toDict();
194
+ }) : [],
195
+ "groupBys": this.getGroupBys() ?
196
+ this.getGroupBys().map(function (item) {
187
197
  return item;
188
198
  }) : [],
189
- "by": this.getBy(),
190
- "timeframe": this.getTimeframe(),
191
- "size": this.getSize(),
192
- "format": this.getFormat(),
193
- "aggregator": this.getAggregator(),
194
- "style": this.getStyle(),
195
- "title": this.getTitle(),
199
+ "countBy": this.getCountBy(),
200
+ "begin": this.getBegin(),
201
+ "end": this.getEnd(),
202
+ "pageToken": this.getPageToken(),
203
+ "limit": this.getLimit(),
196
204
  };
197
205
  };
198
206
  return GetChartRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"GetChartRequest.js","sourceRoot":"","sources":["GetChartRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,YAAO,GAAgB,IAAI,CAAC;QAC5B,QAAG,GAAgB,IAAI,CAAC;QACxB,YAAO,GAAkB,IAAI,CAAC;QAC9B,OAAE,GAAgB,IAAI,CAAC;QACvB,cAAS,GAAgB,IAAI,CAAC;QAC9B,SAAI,GAAgB,IAAI,CAAC;QACzB,WAAM,GAAgB,IAAI,CAAC;QAC3B,eAAU,GAAgB,IAAI,CAAC;QAC/B,UAAK,GAAgB,IAAI,CAAC;QAC1B,UAAK,GAAgB,IAAI,CAAC;IAgLtC,CAAC;IA9KU,sCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,sCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAa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,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;gBAC5B,IAAI,CAAC,WAAW,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBACjC,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;YAC5B,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,sBAAC;AAAD,CAAC,AArMD,IAqMC"}
@@ -22,16 +22,16 @@ export default class GetChartRequest implements IRequest {
22
22
 
23
23
  private requestId: string|null = null;
24
24
  private contextStack: string|null = null;
25
- private metrics: string|null = null;
25
+ private measure: string|null = null;
26
26
  private grn: string|null = null;
27
- private queries: string[]|null = null;
28
- private by: string|null = null;
29
- private timeframe: string|null = null;
30
- private size: string|null = null;
31
- private format: string|null = null;
32
- private aggregator: string|null = null;
33
- private style: string|null = null;
34
- private title: string|null = null;
27
+ private round: string|null = null;
28
+ private filters: Gs2Watch.Filter[]|null = null;
29
+ private groupBys: string[]|null = null;
30
+ private countBy: string|null = null;
31
+ private begin: number|null = null;
32
+ private end: number|null = null;
33
+ private pageToken: string|null = null;
34
+ private limit: number|null = null;
35
35
 
36
36
  public getRequestId(): string|null {
37
37
  return this.requestId;
@@ -60,15 +60,15 @@ export default class GetChartRequest implements IRequest {
60
60
  this.contextStack = contextStack;
61
61
  return this;
62
62
  }
63
- public getMetrics(): string|null {
64
- return this.metrics;
63
+ public getMeasure(): string|null {
64
+ return this.measure;
65
65
  }
66
- public setMetrics(metrics: string|null) {
67
- this.metrics = metrics;
66
+ public setMeasure(measure: string|null) {
67
+ this.measure = measure;
68
68
  return this;
69
69
  }
70
- public withMetrics(metrics: string|null): this {
71
- this.metrics = metrics;
70
+ public withMeasure(measure: string|null): this {
71
+ this.measure = measure;
72
72
  return this;
73
73
  }
74
74
  public getGrn(): string|null {
@@ -82,129 +82,137 @@ export default class GetChartRequest implements IRequest {
82
82
  this.grn = grn;
83
83
  return this;
84
84
  }
85
- public getQueries(): string[]|null {
86
- return this.queries;
85
+ public getRound(): string|null {
86
+ return this.round;
87
87
  }
88
- public setQueries(queries: string[]|null) {
89
- this.queries = queries;
88
+ public setRound(round: string|null) {
89
+ this.round = round;
90
90
  return this;
91
91
  }
92
- public withQueries(queries: string[]|null): this {
93
- this.queries = queries;
92
+ public withRound(round: string|null): this {
93
+ this.round = round;
94
94
  return this;
95
95
  }
96
- public getBy(): string|null {
97
- return this.by;
96
+ public getFilters(): Gs2Watch.Filter[]|null {
97
+ return this.filters;
98
98
  }
99
- public setBy(by: string|null) {
100
- this.by = by;
99
+ public setFilters(filters: Gs2Watch.Filter[]|null) {
100
+ this.filters = filters;
101
101
  return this;
102
102
  }
103
- public withBy(by: string|null): this {
104
- this.by = by;
103
+ public withFilters(filters: Gs2Watch.Filter[]|null): this {
104
+ this.filters = filters;
105
105
  return this;
106
106
  }
107
- public getTimeframe(): string|null {
108
- return this.timeframe;
107
+ public getGroupBys(): string[]|null {
108
+ return this.groupBys;
109
109
  }
110
- public setTimeframe(timeframe: string|null) {
111
- this.timeframe = timeframe;
110
+ public setGroupBys(groupBys: string[]|null) {
111
+ this.groupBys = groupBys;
112
112
  return this;
113
113
  }
114
- public withTimeframe(timeframe: string|null): this {
115
- this.timeframe = timeframe;
114
+ public withGroupBys(groupBys: string[]|null): this {
115
+ this.groupBys = groupBys;
116
116
  return this;
117
117
  }
118
- public getSize(): string|null {
119
- return this.size;
118
+ public getCountBy(): string|null {
119
+ return this.countBy;
120
120
  }
121
- public setSize(size: string|null) {
122
- this.size = size;
121
+ public setCountBy(countBy: string|null) {
122
+ this.countBy = countBy;
123
123
  return this;
124
124
  }
125
- public withSize(size: string|null): this {
126
- this.size = size;
125
+ public withCountBy(countBy: string|null): this {
126
+ this.countBy = countBy;
127
127
  return this;
128
128
  }
129
- public getFormat(): string|null {
130
- return this.format;
129
+ public getBegin(): number|null {
130
+ return this.begin;
131
131
  }
132
- public setFormat(format: string|null) {
133
- this.format = format;
132
+ public setBegin(begin: number|null) {
133
+ this.begin = begin;
134
134
  return this;
135
135
  }
136
- public withFormat(format: string|null): this {
137
- this.format = format;
136
+ public withBegin(begin: number|null): this {
137
+ this.begin = begin;
138
138
  return this;
139
139
  }
140
- public getAggregator(): string|null {
141
- return this.aggregator;
140
+ public getEnd(): number|null {
141
+ return this.end;
142
142
  }
143
- public setAggregator(aggregator: string|null) {
144
- this.aggregator = aggregator;
143
+ public setEnd(end: number|null) {
144
+ this.end = end;
145
145
  return this;
146
146
  }
147
- public withAggregator(aggregator: string|null): this {
148
- this.aggregator = aggregator;
147
+ public withEnd(end: number|null): this {
148
+ this.end = end;
149
149
  return this;
150
150
  }
151
- public getStyle(): string|null {
152
- return this.style;
151
+ public getPageToken(): string|null {
152
+ return this.pageToken;
153
153
  }
154
- public setStyle(style: string|null) {
155
- this.style = style;
154
+ public setPageToken(pageToken: string|null) {
155
+ this.pageToken = pageToken;
156
156
  return this;
157
157
  }
158
- public withStyle(style: string|null): this {
159
- this.style = style;
158
+ public withPageToken(pageToken: string|null): this {
159
+ this.pageToken = pageToken;
160
160
  return this;
161
161
  }
162
- public getTitle(): string|null {
163
- return this.title;
162
+ public getLimit(): number|null {
163
+ return this.limit;
164
164
  }
165
- public setTitle(title: string|null) {
166
- this.title = title;
165
+ public setLimit(limit: number|null) {
166
+ this.limit = limit;
167
167
  return this;
168
168
  }
169
- public withTitle(title: string|null): this {
170
- this.title = title;
169
+ public withLimit(limit: number|null): this {
170
+ this.limit = limit;
171
171
  return this;
172
172
  }
173
173
 
174
174
  public static fromDict(data: {[key: string]: any}): GetChartRequest {
175
175
  return new GetChartRequest()
176
- .withMetrics(data["metrics"])
176
+ .withMeasure(data["measure"])
177
177
  .withGrn(data["grn"])
178
- .withQueries(data.queries ?
179
- data.queries.map((item: {[key: string]: any}) => {
178
+ .withRound(data["round"])
179
+ .withFilters(data.filters ?
180
+ data.filters.map((item: {[key: string]: any}) => {
181
+ return Gs2Watch.Filter.fromDict(item);
182
+ }
183
+ ) : [])
184
+ .withGroupBys(data.groupBys ?
185
+ data.groupBys.map((item: {[key: string]: any}) => {
180
186
  return item;
181
187
  }
182
188
  ) : [])
183
- .withBy(data["by"])
184
- .withTimeframe(data["timeframe"])
185
- .withSize(data["size"])
186
- .withFormat(data["format"])
187
- .withAggregator(data["aggregator"])
188
- .withStyle(data["style"])
189
- .withTitle(data["title"]);
189
+ .withCountBy(data["countBy"])
190
+ .withBegin(data["begin"])
191
+ .withEnd(data["end"])
192
+ .withPageToken(data["pageToken"])
193
+ .withLimit(data["limit"]);
190
194
  }
191
195
 
192
196
  public toDict(): {[key: string]: any} {
193
197
  return {
194
- "metrics": this.getMetrics(),
198
+ "measure": this.getMeasure(),
195
199
  "grn": this.getGrn(),
196
- "queries": this.getQueries() ?
197
- this.getQueries()!.map((item: string) => {
200
+ "round": this.getRound(),
201
+ "filters": this.getFilters() ?
202
+ this.getFilters()!.map((item: Gs2Watch.Filter) => {
203
+ return item.toDict();
204
+ }
205
+ ) : [],
206
+ "groupBys": this.getGroupBys() ?
207
+ this.getGroupBys()!.map((item: string) => {
198
208
  return item;
199
209
  }
200
210
  ) : [],
201
- "by": this.getBy(),
202
- "timeframe": this.getTimeframe(),
203
- "size": this.getSize(),
204
- "format": this.getFormat(),
205
- "aggregator": this.getAggregator(),
206
- "style": this.getStyle(),
207
- "title": this.getTitle(),
211
+ "countBy": this.getCountBy(),
212
+ "begin": this.getBegin(),
213
+ "end": this.getEnd(),
214
+ "pageToken": this.getPageToken(),
215
+ "limit": this.getLimit(),
208
216
  };
209
217
  }
210
218
  }
@@ -0,0 +1,50 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ import * as Gs2Watch from '../model';
3
+ export default class GetDistributionRequest implements IRequest {
4
+ private requestId;
5
+ private contextStack;
6
+ private measure;
7
+ private grn;
8
+ private filters;
9
+ private groupBys;
10
+ private begin;
11
+ private end;
12
+ private pageToken;
13
+ private limit;
14
+ getRequestId(): string | null;
15
+ setRequestId(requestId: string | null): this;
16
+ withRequestId(requestId: string | null): this;
17
+ getContextStack(): string | null;
18
+ setContextStack(contextStack: string | null): this;
19
+ withContextStack(contextStack: string | null): this;
20
+ getMeasure(): string | null;
21
+ setMeasure(measure: string | null): this;
22
+ withMeasure(measure: string | null): this;
23
+ getGrn(): string | null;
24
+ setGrn(grn: string | null): this;
25
+ withGrn(grn: string | null): this;
26
+ getFilters(): Gs2Watch.Filter[] | null;
27
+ setFilters(filters: Gs2Watch.Filter[] | null): this;
28
+ withFilters(filters: Gs2Watch.Filter[] | null): this;
29
+ getGroupBys(): string[] | null;
30
+ setGroupBys(groupBys: string[] | null): this;
31
+ withGroupBys(groupBys: string[] | null): this;
32
+ getBegin(): number | null;
33
+ setBegin(begin: number | null): this;
34
+ withBegin(begin: number | null): this;
35
+ getEnd(): number | null;
36
+ setEnd(end: number | null): this;
37
+ withEnd(end: number | null): this;
38
+ getPageToken(): string | null;
39
+ setPageToken(pageToken: string | null): this;
40
+ withPageToken(pageToken: string | null): this;
41
+ getLimit(): number | null;
42
+ setLimit(limit: number | null): this;
43
+ withLimit(limit: number | null): this;
44
+ static fromDict(data: {
45
+ [key: string]: any;
46
+ }): GetDistributionRequest;
47
+ toDict(): {
48
+ [key: string]: any;
49
+ };
50
+ }