fusio-sdk 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/dist/index.js +2 -18
  2. package/dist/src/Client.js +8 -14
  3. package/dist/src/Util.js +1 -4
  4. package/dist/src/generated/backend/Account_ChangePassword.js +1 -2
  5. package/dist/src/generated/backend/Action.js +1 -2
  6. package/dist/src/generated/backend/Action_Collection.js +1 -2
  7. package/dist/src/generated/backend/Action_Config.js +1 -2
  8. package/dist/src/generated/backend/Action_Create.js +1 -2
  9. package/dist/src/generated/backend/Action_Execute_Request.js +1 -2
  10. package/dist/src/generated/backend/Action_Execute_Request_Body.js +1 -2
  11. package/dist/src/generated/backend/Action_Execute_Response.js +1 -2
  12. package/dist/src/generated/backend/Action_Execute_Response_Body.js +1 -2
  13. package/dist/src/generated/backend/Action_Execute_Response_Headers.js +1 -2
  14. package/dist/src/generated/backend/Action_Index.js +1 -2
  15. package/dist/src/generated/backend/Action_Index_Entry.js +1 -2
  16. package/dist/src/generated/backend/Action_Update.js +1 -2
  17. package/dist/src/generated/backend/App.js +1 -2
  18. package/dist/src/generated/backend/App_Collection.js +1 -2
  19. package/dist/src/generated/backend/App_Create.js +1 -2
  20. package/dist/src/generated/backend/App_Token.js +1 -2
  21. package/dist/src/generated/backend/App_Token_Collection.js +1 -2
  22. package/dist/src/generated/backend/App_Token_Collection_Query.js +1 -2
  23. package/dist/src/generated/backend/App_Update.js +1 -2
  24. package/dist/src/generated/backend/Audit.js +1 -2
  25. package/dist/src/generated/backend/Audit_Collection.js +1 -2
  26. package/dist/src/generated/backend/Audit_Collection_Query.js +1 -2
  27. package/dist/src/generated/backend/Audit_Object.js +1 -2
  28. package/dist/src/generated/backend/BackendAccountChangePasswordResource.js +2 -5
  29. package/dist/src/generated/backend/BackendAccountGroup.js +6 -12
  30. package/dist/src/generated/backend/BackendAccountResource.js +2 -5
  31. package/dist/src/generated/backend/BackendActionByActionIdResource.js +2 -5
  32. package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.js +2 -5
  33. package/dist/src/generated/backend/BackendActionFormResource.js +2 -5
  34. package/dist/src/generated/backend/BackendActionGroup.js +12 -18
  35. package/dist/src/generated/backend/BackendActionListResource.js +2 -5
  36. package/dist/src/generated/backend/BackendActionResource.js +2 -5
  37. package/dist/src/generated/backend/BackendAppByAppIdResource.js +2 -5
  38. package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.js +2 -5
  39. package/dist/src/generated/backend/BackendAppGroup.js +12 -18
  40. package/dist/src/generated/backend/BackendAppResource.js +2 -5
  41. package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.js +2 -5
  42. package/dist/src/generated/backend/BackendAppTokenResource.js +2 -5
  43. package/dist/src/generated/backend/BackendAuditByAuditIdResource.js +2 -5
  44. package/dist/src/generated/backend/BackendAuditGroup.js +6 -12
  45. package/dist/src/generated/backend/BackendAuditResource.js +2 -5
  46. package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.js +2 -5
  47. package/dist/src/generated/backend/BackendCategoryGroup.js +6 -12
  48. package/dist/src/generated/backend/BackendCategoryResource.js +2 -5
  49. package/dist/src/generated/backend/BackendConfigByConfigIdResource.js +2 -5
  50. package/dist/src/generated/backend/BackendConfigGroup.js +6 -12
  51. package/dist/src/generated/backend/BackendConfigResource.js +2 -5
  52. package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.js +2 -5
  53. package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.js +2 -5
  54. package/dist/src/generated/backend/BackendConnectionFormResource.js +2 -5
  55. package/dist/src/generated/backend/BackendConnectionGroup.js +12 -18
  56. package/dist/src/generated/backend/BackendConnectionListResource.js +2 -5
  57. package/dist/src/generated/backend/BackendConnectionResource.js +2 -5
  58. package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.js +2 -5
  59. package/dist/src/generated/backend/BackendCronjobGroup.js +6 -12
  60. package/dist/src/generated/backend/BackendCronjobResource.js +2 -5
  61. package/dist/src/generated/backend/BackendDashboardGroup.js +4 -10
  62. package/dist/src/generated/backend/BackendDashboardResource.js +2 -5
  63. package/dist/src/generated/backend/BackendEventByEventIdResource.js +2 -5
  64. package/dist/src/generated/backend/BackendEventGroup.js +10 -16
  65. package/dist/src/generated/backend/BackendEventResource.js +2 -5
  66. package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.js +2 -5
  67. package/dist/src/generated/backend/BackendEventSubscriptionResource.js +2 -5
  68. package/dist/src/generated/backend/BackendLogByLogIdResource.js +2 -5
  69. package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.js +2 -5
  70. package/dist/src/generated/backend/BackendLogErrorResource.js +2 -5
  71. package/dist/src/generated/backend/BackendLogGroup.js +10 -16
  72. package/dist/src/generated/backend/BackendLogResource.js +2 -5
  73. package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.js +2 -5
  74. package/dist/src/generated/backend/BackendMarketplaceGroup.js +6 -12
  75. package/dist/src/generated/backend/BackendMarketplaceResource.js +2 -5
  76. package/dist/src/generated/backend/BackendPageByPageIdResource.js +2 -5
  77. package/dist/src/generated/backend/BackendPageGroup.js +6 -12
  78. package/dist/src/generated/backend/BackendPageResource.js +2 -5
  79. package/dist/src/generated/backend/BackendPlanByPlanIdResource.js +2 -5
  80. package/dist/src/generated/backend/BackendPlanGroup.js +6 -12
  81. package/dist/src/generated/backend/BackendPlanResource.js +2 -5
  82. package/dist/src/generated/backend/BackendRateByRateIdResource.js +2 -5
  83. package/dist/src/generated/backend/BackendRateGroup.js +6 -12
  84. package/dist/src/generated/backend/BackendRateResource.js +2 -5
  85. package/dist/src/generated/backend/BackendRoleByRoleIdResource.js +2 -5
  86. package/dist/src/generated/backend/BackendRoleGroup.js +6 -12
  87. package/dist/src/generated/backend/BackendRoleResource.js +2 -5
  88. package/dist/src/generated/backend/BackendRouteGroup.js +10 -16
  89. package/dist/src/generated/backend/BackendRoutesByRouteIdResource.js +2 -5
  90. package/dist/src/generated/backend/BackendRoutesProviderByProviderResource.js +2 -5
  91. package/dist/src/generated/backend/BackendRoutesProviderResource.js +2 -5
  92. package/dist/src/generated/backend/BackendRoutesResource.js +2 -5
  93. package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.js +2 -5
  94. package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.js +2 -5
  95. package/dist/src/generated/backend/BackendSchemaGroup.js +10 -16
  96. package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.js +2 -5
  97. package/dist/src/generated/backend/BackendSchemaResource.js +2 -5
  98. package/dist/src/generated/backend/BackendScopeByScopeIdResource.js +2 -5
  99. package/dist/src/generated/backend/BackendScopeCategoriesResource.js +2 -5
  100. package/dist/src/generated/backend/BackendScopeGroup.js +8 -14
  101. package/dist/src/generated/backend/BackendScopeResource.js +2 -5
  102. package/dist/src/generated/backend/BackendSdkGroup.js +4 -10
  103. package/dist/src/generated/backend/BackendSdkResource.js +2 -5
  104. package/dist/src/generated/backend/BackendStatisticCountRequestsResource.js +2 -5
  105. package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.js +2 -5
  106. package/dist/src/generated/backend/BackendStatisticGroup.js +22 -28
  107. package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.js +2 -5
  108. package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.js +2 -5
  109. package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.js +2 -5
  110. package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.js +2 -5
  111. package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.js +2 -5
  112. package/dist/src/generated/backend/BackendStatisticTimeAverageResource.js +2 -5
  113. package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.js +2 -5
  114. package/dist/src/generated/backend/BackendStatisticUsedPointsResource.js +2 -5
  115. package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.js +2 -5
  116. package/dist/src/generated/backend/BackendTransactionGroup.js +6 -12
  117. package/dist/src/generated/backend/BackendTransactionResource.js +2 -5
  118. package/dist/src/generated/backend/BackendTrashByTypeResource.js +2 -5
  119. package/dist/src/generated/backend/BackendTrashGroup.js +6 -12
  120. package/dist/src/generated/backend/BackendTrashResource.js +2 -5
  121. package/dist/src/generated/backend/BackendUserByUserIdResource.js +2 -5
  122. package/dist/src/generated/backend/BackendUserGroup.js +6 -12
  123. package/dist/src/generated/backend/BackendUserResource.js +2 -5
  124. package/dist/src/generated/backend/Backend_App_Token_Collection_Query.js +1 -2
  125. package/dist/src/generated/backend/Backend_Audit_Collection_Query.js +1 -2
  126. package/dist/src/generated/backend/Backend_Log_Collection_Query.js +1 -2
  127. package/dist/src/generated/backend/Backend_Plan_Usage_Collection_Query.js +1 -2
  128. package/dist/src/generated/backend/Backend_Transaction_Collection_Query.js +1 -2
  129. package/dist/src/generated/backend/Category.js +1 -2
  130. package/dist/src/generated/backend/Category_Collection.js +1 -2
  131. package/dist/src/generated/backend/Category_Create.js +1 -2
  132. package/dist/src/generated/backend/Category_Update.js +1 -2
  133. package/dist/src/generated/backend/Client.js +50 -56
  134. package/dist/src/generated/backend/Collection.js +1 -2
  135. package/dist/src/generated/backend/Collection_Category_Query.js +1 -2
  136. package/dist/src/generated/backend/Collection_Query.js +1 -2
  137. package/dist/src/generated/backend/Config.js +1 -2
  138. package/dist/src/generated/backend/Config_Collection.js +1 -2
  139. package/dist/src/generated/backend/Config_Update.js +1 -2
  140. package/dist/src/generated/backend/Connection.js +1 -2
  141. package/dist/src/generated/backend/Connection_Collection.js +1 -2
  142. package/dist/src/generated/backend/Connection_Config.js +1 -2
  143. package/dist/src/generated/backend/Connection_Create.js +1 -2
  144. package/dist/src/generated/backend/Connection_Index.js +1 -2
  145. package/dist/src/generated/backend/Connection_Index_Entry.js +1 -2
  146. package/dist/src/generated/backend/Connection_Update.js +1 -2
  147. package/dist/src/generated/backend/Cronjob.js +1 -2
  148. package/dist/src/generated/backend/Cronjob_Collection.js +1 -2
  149. package/dist/src/generated/backend/Cronjob_Create.js +1 -2
  150. package/dist/src/generated/backend/Cronjob_Error.js +1 -2
  151. package/dist/src/generated/backend/Cronjob_Update.js +1 -2
  152. package/dist/src/generated/backend/Dashboard.js +1 -2
  153. package/dist/src/generated/backend/Dashboard_App.js +1 -2
  154. package/dist/src/generated/backend/Dashboard_Apps.js +1 -2
  155. package/dist/src/generated/backend/Dashboard_Request.js +1 -2
  156. package/dist/src/generated/backend/Dashboard_Requests.js +1 -2
  157. package/dist/src/generated/backend/Dashboard_Transaction.js +1 -2
  158. package/dist/src/generated/backend/Dashboard_Transactions.js +1 -2
  159. package/dist/src/generated/backend/Dashboard_User.js +1 -2
  160. package/dist/src/generated/backend/Dashboard_Users.js +1 -2
  161. package/dist/src/generated/backend/Event.js +1 -2
  162. package/dist/src/generated/backend/Event_Collection.js +1 -2
  163. package/dist/src/generated/backend/Event_Create.js +1 -2
  164. package/dist/src/generated/backend/Event_Subscription.js +1 -2
  165. package/dist/src/generated/backend/Event_Subscription_Collection.js +1 -2
  166. package/dist/src/generated/backend/Event_Subscription_Create.js +1 -2
  167. package/dist/src/generated/backend/Event_Subscription_Update.js +1 -2
  168. package/dist/src/generated/backend/Event_Update.js +1 -2
  169. package/dist/src/generated/backend/Form_Container.js +1 -2
  170. package/dist/src/generated/backend/Form_Element.js +1 -2
  171. package/dist/src/generated/backend/Form_Element_Input.js +1 -2
  172. package/dist/src/generated/backend/Form_Element_Select.js +1 -2
  173. package/dist/src/generated/backend/Form_Element_Select_Option.js +1 -2
  174. package/dist/src/generated/backend/Form_Element_Tag.js +1 -2
  175. package/dist/src/generated/backend/Form_Element_TextArea.js +1 -2
  176. package/dist/src/generated/backend/Form_Query.js +1 -2
  177. package/dist/src/generated/backend/Log.js +1 -2
  178. package/dist/src/generated/backend/Log_Collection.js +1 -2
  179. package/dist/src/generated/backend/Log_Collection_Query.js +1 -2
  180. package/dist/src/generated/backend/Log_Error.js +1 -2
  181. package/dist/src/generated/backend/Log_Error_Collection.js +1 -2
  182. package/dist/src/generated/backend/Marketplace_App.js +1 -2
  183. package/dist/src/generated/backend/Marketplace_Collection.js +1 -2
  184. package/dist/src/generated/backend/Marketplace_Collection_Apps.js +1 -2
  185. package/dist/src/generated/backend/Marketplace_Install.js +1 -2
  186. package/dist/src/generated/backend/Marketplace_Local_App.js +1 -2
  187. package/dist/src/generated/backend/Marketplace_Remote_App.js +1 -2
  188. package/dist/src/generated/backend/Message.js +1 -2
  189. package/dist/src/generated/backend/Page.js +1 -2
  190. package/dist/src/generated/backend/Page_Collection.js +1 -2
  191. package/dist/src/generated/backend/Page_Create.js +1 -2
  192. package/dist/src/generated/backend/Page_Update.js +1 -2
  193. package/dist/src/generated/backend/Plan.js +1 -2
  194. package/dist/src/generated/backend/Plan_Collection.js +1 -2
  195. package/dist/src/generated/backend/Plan_Create.js +1 -2
  196. package/dist/src/generated/backend/Plan_Update.js +1 -2
  197. package/dist/src/generated/backend/Plan_Usage_Collection_Query.js +1 -2
  198. package/dist/src/generated/backend/Rate.js +1 -2
  199. package/dist/src/generated/backend/Rate_Allocation.js +1 -2
  200. package/dist/src/generated/backend/Rate_Collection.js +1 -2
  201. package/dist/src/generated/backend/Rate_Create.js +1 -2
  202. package/dist/src/generated/backend/Rate_Update.js +1 -2
  203. package/dist/src/generated/backend/Role.js +1 -2
  204. package/dist/src/generated/backend/Role_Collection.js +1 -2
  205. package/dist/src/generated/backend/Role_Create.js +1 -2
  206. package/dist/src/generated/backend/Role_Update.js +1 -2
  207. package/dist/src/generated/backend/Route.js +1 -2
  208. package/dist/src/generated/backend/Route_Collection.js +1 -2
  209. package/dist/src/generated/backend/Route_Create.js +1 -2
  210. package/dist/src/generated/backend/Route_Index_Providers.js +1 -2
  211. package/dist/src/generated/backend/Route_Method.js +1 -2
  212. package/dist/src/generated/backend/Route_Method_Responses.js +1 -2
  213. package/dist/src/generated/backend/Route_Methods.js +1 -2
  214. package/dist/src/generated/backend/Route_Provider.js +1 -2
  215. package/dist/src/generated/backend/Route_Provider_Changelog.js +1 -2
  216. package/dist/src/generated/backend/Route_Provider_Config.js +1 -2
  217. package/dist/src/generated/backend/Route_Update.js +1 -2
  218. package/dist/src/generated/backend/Route_Version.js +1 -2
  219. package/dist/src/generated/backend/Schema.js +1 -2
  220. package/dist/src/generated/backend/Schema_Collection.js +1 -2
  221. package/dist/src/generated/backend/Schema_Create.js +1 -2
  222. package/dist/src/generated/backend/Schema_Form.js +1 -2
  223. package/dist/src/generated/backend/Schema_Preview_Response.js +1 -2
  224. package/dist/src/generated/backend/Schema_Source.js +1 -2
  225. package/dist/src/generated/backend/Schema_Update.js +1 -2
  226. package/dist/src/generated/backend/Scope.js +1 -2
  227. package/dist/src/generated/backend/Scope_Categories.js +1 -2
  228. package/dist/src/generated/backend/Scope_Category.js +1 -2
  229. package/dist/src/generated/backend/Scope_Category_Scope.js +1 -2
  230. package/dist/src/generated/backend/Scope_Collection.js +1 -2
  231. package/dist/src/generated/backend/Scope_Create.js +1 -2
  232. package/dist/src/generated/backend/Scope_Route.js +1 -2
  233. package/dist/src/generated/backend/Scope_Update.js +1 -2
  234. package/dist/src/generated/backend/Sdk_Generate.js +1 -2
  235. package/dist/src/generated/backend/Sdk_Response.js +1 -2
  236. package/dist/src/generated/backend/Sdk_Types.js +1 -2
  237. package/dist/src/generated/backend/Statistic_Chart.js +1 -2
  238. package/dist/src/generated/backend/Statistic_Chart_Data.js +1 -2
  239. package/dist/src/generated/backend/Statistic_Count.js +1 -2
  240. package/dist/src/generated/backend/Transaction.js +1 -2
  241. package/dist/src/generated/backend/Transaction_Collection.js +1 -2
  242. package/dist/src/generated/backend/Transaction_Collection_Query.js +1 -2
  243. package/dist/src/generated/backend/Trash_Data.js +1 -2
  244. package/dist/src/generated/backend/Trash_Data_Collection.js +1 -2
  245. package/dist/src/generated/backend/Trash_Types.js +1 -2
  246. package/dist/src/generated/backend/User.js +1 -2
  247. package/dist/src/generated/backend/User_Attributes.js +1 -2
  248. package/dist/src/generated/backend/User_Collection.js +1 -2
  249. package/dist/src/generated/backend/User_Create.js +1 -2
  250. package/dist/src/generated/backend/User_Update.js +1 -2
  251. package/dist/src/generated/consumer/Account_ChangePassword.js +1 -2
  252. package/dist/src/generated/consumer/App.js +1 -2
  253. package/dist/src/generated/consumer/App_Collection.js +1 -2
  254. package/dist/src/generated/consumer/App_Create.js +1 -2
  255. package/dist/src/generated/consumer/App_Update.js +1 -2
  256. package/dist/src/generated/consumer/Authorize_Meta.js +1 -2
  257. package/dist/src/generated/consumer/Authorize_Request.js +1 -2
  258. package/dist/src/generated/consumer/Authorize_Response.js +1 -2
  259. package/dist/src/generated/consumer/Authorize_Response_Token.js +1 -2
  260. package/dist/src/generated/consumer/Client.js +24 -30
  261. package/dist/src/generated/consumer/Collection.js +1 -2
  262. package/dist/src/generated/consumer/Collection_Query.js +1 -2
  263. package/dist/src/generated/consumer/ConsumerAccountChangePasswordResource.js +2 -5
  264. package/dist/src/generated/consumer/ConsumerAccountResource.js +2 -5
  265. package/dist/src/generated/consumer/ConsumerActivateResource.js +2 -5
  266. package/dist/src/generated/consumer/ConsumerAppByAppIdResource.js +2 -5
  267. package/dist/src/generated/consumer/ConsumerAppGroup.js +6 -12
  268. package/dist/src/generated/consumer/ConsumerAppResource.js +2 -5
  269. package/dist/src/generated/consumer/ConsumerAuthorizeResource.js +2 -5
  270. package/dist/src/generated/consumer/ConsumerEventGroup.js +4 -10
  271. package/dist/src/generated/consumer/ConsumerEventResource.js +2 -5
  272. package/dist/src/generated/consumer/ConsumerGrantByGrantIdResource.js +2 -5
  273. package/dist/src/generated/consumer/ConsumerGrantGroup.js +6 -12
  274. package/dist/src/generated/consumer/ConsumerGrantResource.js +2 -5
  275. package/dist/src/generated/consumer/ConsumerLogByLogIdResource.js +2 -5
  276. package/dist/src/generated/consumer/ConsumerLogGroup.js +6 -12
  277. package/dist/src/generated/consumer/ConsumerLogResource.js +2 -5
  278. package/dist/src/generated/consumer/ConsumerLoginResource.js +2 -5
  279. package/dist/src/generated/consumer/ConsumerPageByPageIdResource.js +2 -5
  280. package/dist/src/generated/consumer/ConsumerPageGroup.js +6 -12
  281. package/dist/src/generated/consumer/ConsumerPageResource.js +2 -5
  282. package/dist/src/generated/consumer/ConsumerPasswordResetResource.js +2 -5
  283. package/dist/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.js +2 -5
  284. package/dist/src/generated/consumer/ConsumerPaymentByProviderPortalResource.js +2 -5
  285. package/dist/src/generated/consumer/ConsumerPaymentGroup.js +6 -12
  286. package/dist/src/generated/consumer/ConsumerPlanByPlanIdResource.js +2 -5
  287. package/dist/src/generated/consumer/ConsumerPlanGroup.js +6 -12
  288. package/dist/src/generated/consumer/ConsumerPlanResource.js +2 -5
  289. package/dist/src/generated/consumer/ConsumerProviderByProviderResource.js +2 -5
  290. package/dist/src/generated/consumer/ConsumerRegisterResource.js +2 -5
  291. package/dist/src/generated/consumer/ConsumerScopeGroup.js +4 -10
  292. package/dist/src/generated/consumer/ConsumerScopeResource.js +2 -5
  293. package/dist/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.js +2 -5
  294. package/dist/src/generated/consumer/ConsumerSubscriptionGroup.js +6 -12
  295. package/dist/src/generated/consumer/ConsumerSubscriptionResource.js +2 -5
  296. package/dist/src/generated/consumer/ConsumerTransactionByTransactionIdResource.js +2 -5
  297. package/dist/src/generated/consumer/ConsumerTransactionGroup.js +6 -12
  298. package/dist/src/generated/consumer/ConsumerTransactionResource.js +2 -5
  299. package/dist/src/generated/consumer/ConsumerUserGroup.js +18 -24
  300. package/dist/src/generated/consumer/Event.js +1 -2
  301. package/dist/src/generated/consumer/Event_Collection.js +1 -2
  302. package/dist/src/generated/consumer/Event_Subscription.js +1 -2
  303. package/dist/src/generated/consumer/Event_Subscription_Collection.js +1 -2
  304. package/dist/src/generated/consumer/Event_Subscription_Create.js +1 -2
  305. package/dist/src/generated/consumer/Event_Subscription_Response.js +1 -2
  306. package/dist/src/generated/consumer/Event_Subscription_Update.js +1 -2
  307. package/dist/src/generated/consumer/Grant.js +1 -2
  308. package/dist/src/generated/consumer/Grant_Collection.js +1 -2
  309. package/dist/src/generated/consumer/Log.js +1 -2
  310. package/dist/src/generated/consumer/Log_Collection.js +1 -2
  311. package/dist/src/generated/consumer/Message.js +1 -2
  312. package/dist/src/generated/consumer/Page.js +1 -2
  313. package/dist/src/generated/consumer/Page_Collection.js +1 -2
  314. package/dist/src/generated/consumer/Payment_Checkout_Request.js +1 -2
  315. package/dist/src/generated/consumer/Payment_Checkout_Response.js +1 -2
  316. package/dist/src/generated/consumer/Payment_Portal_Response.js +1 -2
  317. package/dist/src/generated/consumer/Plan.js +1 -2
  318. package/dist/src/generated/consumer/Plan_Collection.js +1 -2
  319. package/dist/src/generated/consumer/Scope.js +1 -2
  320. package/dist/src/generated/consumer/Scope_Collection.js +1 -2
  321. package/dist/src/generated/consumer/Transaction.js +1 -2
  322. package/dist/src/generated/consumer/Transaction_Collection.js +1 -2
  323. package/dist/src/generated/consumer/User_Account.js +1 -2
  324. package/dist/src/generated/consumer/User_Activate.js +1 -2
  325. package/dist/src/generated/consumer/User_Attributes.js +1 -2
  326. package/dist/src/generated/consumer/User_Email.js +1 -2
  327. package/dist/src/generated/consumer/User_JWT.js +1 -2
  328. package/dist/src/generated/consumer/User_Login.js +1 -2
  329. package/dist/src/generated/consumer/User_PasswordReset.js +1 -2
  330. package/dist/src/generated/consumer/User_Provider.js +1 -2
  331. package/dist/src/generated/consumer/User_Refresh.js +1 -2
  332. package/dist/src/generated/consumer/User_Register.js +1 -2
  333. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,18 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/Client"), exports);
18
- __exportStar(require("./src/Util"), exports);
1
+ export * from './src/Client';
2
+ export * from './src/Util';
@@ -1,29 +1,23 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const Client_1 = __importDefault(require("./generated/backend/Client"));
7
- const Client_2 = __importDefault(require("./generated/consumer/Client"));
8
- const sdkgen_client_1 = require("sdkgen-client");
9
- class Client {
1
+ import ClientBackend from './generated/backend/Client';
2
+ import ClientConsumer from './generated/consumer/Client';
3
+ import { ClientCredentials, MemoryTokenStore } from "sdkgen-client";
4
+ export default class Client {
10
5
  constructor(baseUrl, clientId, clientSecret, scopes, tokenStore) {
11
6
  this.baseUrl = baseUrl;
12
7
  this.credentials = this.newCredentials(clientId, clientSecret);
13
8
  this.scopes = scopes || [];
14
- this.tokenStore = tokenStore || new sdkgen_client_1.MemoryTokenStore();
9
+ this.tokenStore = tokenStore || new MemoryTokenStore();
15
10
  }
16
11
  backend() {
17
- return new Client_1.default(this.baseUrl, this.credentials, this.tokenStore, this.scopes);
12
+ return new ClientBackend(this.baseUrl, this.credentials, this.tokenStore, this.scopes);
18
13
  }
19
14
  consumer() {
20
- return new Client_2.default(this.baseUrl, this.credentials, this.tokenStore, this.scopes);
15
+ return new ClientConsumer(this.baseUrl, this.credentials, this.tokenStore, this.scopes);
21
16
  }
22
17
  getTokenStore() {
23
18
  return this.tokenStore;
24
19
  }
25
20
  newCredentials(clientId, clientSecret) {
26
- return new sdkgen_client_1.ClientCredentials(clientId, clientSecret, this.baseUrl + '/authorization/token', '');
21
+ return new ClientCredentials(clientId, clientSecret, this.baseUrl + '/authorization/token', '');
27
22
  }
28
23
  }
29
- exports.default = Client;
package/dist/src/Util.js CHANGED
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class Util {
1
+ export default class Util {
4
2
  static normalizeBaseUrl(baseUrl) {
5
3
  if (baseUrl.charAt(baseUrl.length - 1) == '/') {
6
4
  return baseUrl.substr(0, baseUrl.length - 1);
@@ -10,4 +8,3 @@ class Util {
10
8
  }
11
9
  }
12
10
  }
13
- exports.default = Util;
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Account_ChangePassword generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Collection generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Config generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Create generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Execute_Request generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Execute_Request_Body generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Execute_Response generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Execute_Response_Body generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Execute_Response_Headers generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Index generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Index_Entry generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Action_Update generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App_Collection generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App_Create generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App_Token generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App_Token_Collection generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App_Token_Collection_Query generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * App_Update generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Audit generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Audit_Collection generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Audit_Collection_Query generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,6 +1,5 @@
1
- "use strict";
2
1
  /**
3
2
  * Audit_Object generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
5
+ export {};
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendAccountChangePasswordResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendAccountChangePasswordResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendAccountChangePasswordResource extends ResourceAbstract {
9
7
  constructor(baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.url = baseUrl + "/backend/account/change_password";
@@ -21,4 +19,3 @@ class BackendAccountChangePasswordResource extends sdkgen_client_1.ResourceAbstr
21
19
  return this.httpClient.put(this.url, data, params);
22
20
  }
23
21
  }
24
- exports.default = BackendAccountChangePasswordResource;
@@ -1,27 +1,21 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendAccountGroup generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- const sdkgen_client_1 = require("sdkgen-client");
11
- const BackendAccountChangePasswordResource_1 = __importDefault(require("./BackendAccountChangePasswordResource"));
12
- const BackendAccountResource_1 = __importDefault(require("./BackendAccountResource"));
13
- class BackendAccountGroup extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ import BackendAccountChangePasswordResource from "./BackendAccountChangePasswordResource";
7
+ import BackendAccountResource from "./BackendAccountResource";
8
+ export default class BackendAccountGroup extends ResourceAbstract {
14
9
  /**
15
10
  * Endpoint: /backend/account/change_password
16
11
  */
17
12
  getBackendAccountChangePassword() {
18
- return new BackendAccountChangePasswordResource_1.default(this.baseUrl, this.httpClient);
13
+ return new BackendAccountChangePasswordResource(this.baseUrl, this.httpClient);
19
14
  }
20
15
  /**
21
16
  * Endpoint: /backend/account
22
17
  */
23
18
  getBackendAccount() {
24
- return new BackendAccountResource_1.default(this.baseUrl, this.httpClient);
19
+ return new BackendAccountResource(this.baseUrl, this.httpClient);
25
20
  }
26
21
  }
27
- exports.default = BackendAccountGroup;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendAccountResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendAccountResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendAccountResource extends ResourceAbstract {
9
7
  constructor(baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.url = baseUrl + "/backend/account";
@@ -30,4 +28,3 @@ class BackendAccountResource extends sdkgen_client_1.ResourceAbstract {
30
28
  return this.httpClient.put(this.url, data, params);
31
29
  }
32
30
  }
33
- exports.default = BackendAccountResource;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendActionByActionIdResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendActionByActionIdResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendActionByActionIdResource extends ResourceAbstract {
9
7
  constructor(action_id, baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.action_id = action_id;
@@ -40,4 +38,3 @@ class BackendActionByActionIdResource extends sdkgen_client_1.ResourceAbstract {
40
38
  return this.httpClient.delete(this.url, params);
41
39
  }
42
40
  }
43
- exports.default = BackendActionByActionIdResource;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendActionExecuteByActionIdResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendActionExecuteByActionIdResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendActionExecuteByActionIdResource extends ResourceAbstract {
9
7
  constructor(action_id, baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.action_id = action_id;
@@ -22,4 +20,3 @@ class BackendActionExecuteByActionIdResource extends sdkgen_client_1.ResourceAbs
22
20
  return this.httpClient.post(this.url, data, params);
23
21
  }
24
22
  }
25
- exports.default = BackendActionExecuteByActionIdResource;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendActionFormResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendActionFormResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendActionFormResource extends ResourceAbstract {
9
7
  constructor(baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.url = baseUrl + "/backend/action/form";
@@ -22,4 +20,3 @@ class BackendActionFormResource extends sdkgen_client_1.ResourceAbstract {
22
20
  return this.httpClient.get(this.url, params);
23
21
  }
24
22
  }
25
- exports.default = BackendActionFormResource;
@@ -1,48 +1,42 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendActionGroup generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- const sdkgen_client_1 = require("sdkgen-client");
11
- const BackendActionByActionIdResource_1 = __importDefault(require("./BackendActionByActionIdResource"));
12
- const BackendActionExecuteByActionIdResource_1 = __importDefault(require("./BackendActionExecuteByActionIdResource"));
13
- const BackendActionFormResource_1 = __importDefault(require("./BackendActionFormResource"));
14
- const BackendActionListResource_1 = __importDefault(require("./BackendActionListResource"));
15
- const BackendActionResource_1 = __importDefault(require("./BackendActionResource"));
16
- class BackendActionGroup extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ import BackendActionByActionIdResource from "./BackendActionByActionIdResource";
7
+ import BackendActionExecuteByActionIdResource from "./BackendActionExecuteByActionIdResource";
8
+ import BackendActionFormResource from "./BackendActionFormResource";
9
+ import BackendActionListResource from "./BackendActionListResource";
10
+ import BackendActionResource from "./BackendActionResource";
11
+ export default class BackendActionGroup extends ResourceAbstract {
17
12
  /**
18
13
  * Endpoint: /backend/action/$action_id<[0-9]+|^~>
19
14
  */
20
15
  getBackendActionByActionId(action_id) {
21
- return new BackendActionByActionIdResource_1.default(action_id, this.baseUrl, this.httpClient);
16
+ return new BackendActionByActionIdResource(action_id, this.baseUrl, this.httpClient);
22
17
  }
23
18
  /**
24
19
  * Endpoint: /backend/action/execute/:action_id
25
20
  */
26
21
  getBackendActionExecuteByActionId(action_id) {
27
- return new BackendActionExecuteByActionIdResource_1.default(action_id, this.baseUrl, this.httpClient);
22
+ return new BackendActionExecuteByActionIdResource(action_id, this.baseUrl, this.httpClient);
28
23
  }
29
24
  /**
30
25
  * Endpoint: /backend/action/form
31
26
  */
32
27
  getBackendActionForm() {
33
- return new BackendActionFormResource_1.default(this.baseUrl, this.httpClient);
28
+ return new BackendActionFormResource(this.baseUrl, this.httpClient);
34
29
  }
35
30
  /**
36
31
  * Endpoint: /backend/action/list
37
32
  */
38
33
  getBackendActionList() {
39
- return new BackendActionListResource_1.default(this.baseUrl, this.httpClient);
34
+ return new BackendActionListResource(this.baseUrl, this.httpClient);
40
35
  }
41
36
  /**
42
37
  * Endpoint: /backend/action
43
38
  */
44
39
  getBackendAction() {
45
- return new BackendActionResource_1.default(this.baseUrl, this.httpClient);
40
+ return new BackendActionResource(this.baseUrl, this.httpClient);
46
41
  }
47
42
  }
48
- exports.default = BackendActionGroup;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendActionListResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendActionListResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendActionListResource extends ResourceAbstract {
9
7
  constructor(baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.url = baseUrl + "/backend/action/list";
@@ -20,4 +18,3 @@ class BackendActionListResource extends sdkgen_client_1.ResourceAbstract {
20
18
  return this.httpClient.get(this.url, params);
21
19
  }
22
20
  }
23
- exports.default = BackendActionListResource;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendActionResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendActionResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendActionResource extends ResourceAbstract {
9
7
  constructor(baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.url = baseUrl + "/backend/action";
@@ -32,4 +30,3 @@ class BackendActionResource extends sdkgen_client_1.ResourceAbstract {
32
30
  return this.httpClient.post(this.url, data, params);
33
31
  }
34
32
  }
35
- exports.default = BackendActionResource;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendAppByAppIdResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendAppByAppIdResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendAppByAppIdResource extends ResourceAbstract {
9
7
  constructor(app_id, baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.app_id = app_id;
@@ -40,4 +38,3 @@ class BackendAppByAppIdResource extends sdkgen_client_1.ResourceAbstract {
40
38
  return this.httpClient.delete(this.url, params);
41
39
  }
42
40
  }
43
- exports.default = BackendAppByAppIdResource;
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendAppByAppIdTokenAndTokenIdResource generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const sdkgen_client_1 = require("sdkgen-client");
8
- class BackendAppByAppIdTokenAndTokenIdResource extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ export default class BackendAppByAppIdTokenAndTokenIdResource extends ResourceAbstract {
9
7
  constructor(app_id, token_id, baseUrl, httpClient) {
10
8
  super(baseUrl, httpClient);
11
9
  this.app_id = app_id;
@@ -22,4 +20,3 @@ class BackendAppByAppIdTokenAndTokenIdResource extends sdkgen_client_1.ResourceA
22
20
  return this.httpClient.delete(this.url, params);
23
21
  }
24
22
  }
25
- exports.default = BackendAppByAppIdTokenAndTokenIdResource;
@@ -1,48 +1,42 @@
1
- "use strict";
2
1
  /**
3
2
  * BackendAppGroup generated on 2022-06-25
4
3
  * {@link https://sdkgen.app}
5
4
  */
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- const sdkgen_client_1 = require("sdkgen-client");
11
- const BackendAppByAppIdTokenAndTokenIdResource_1 = __importDefault(require("./BackendAppByAppIdTokenAndTokenIdResource"));
12
- const BackendAppByAppIdResource_1 = __importDefault(require("./BackendAppByAppIdResource"));
13
- const BackendAppResource_1 = __importDefault(require("./BackendAppResource"));
14
- const BackendAppTokenByTokenIdResource_1 = __importDefault(require("./BackendAppTokenByTokenIdResource"));
15
- const BackendAppTokenResource_1 = __importDefault(require("./BackendAppTokenResource"));
16
- class BackendAppGroup extends sdkgen_client_1.ResourceAbstract {
5
+ import { ResourceAbstract } from "sdkgen-client";
6
+ import BackendAppByAppIdTokenAndTokenIdResource from "./BackendAppByAppIdTokenAndTokenIdResource";
7
+ import BackendAppByAppIdResource from "./BackendAppByAppIdResource";
8
+ import BackendAppResource from "./BackendAppResource";
9
+ import BackendAppTokenByTokenIdResource from "./BackendAppTokenByTokenIdResource";
10
+ import BackendAppTokenResource from "./BackendAppTokenResource";
11
+ export default class BackendAppGroup extends ResourceAbstract {
17
12
  /**
18
13
  * Endpoint: /backend/app/$app_id<[0-9]+>/token/:token_id
19
14
  */
20
15
  getBackendAppByAppIdTokenAndTokenId(app_id, token_id) {
21
- return new BackendAppByAppIdTokenAndTokenIdResource_1.default(app_id, token_id, this.baseUrl, this.httpClient);
16
+ return new BackendAppByAppIdTokenAndTokenIdResource(app_id, token_id, this.baseUrl, this.httpClient);
22
17
  }
23
18
  /**
24
19
  * Endpoint: /backend/app/$app_id<[0-9]+>
25
20
  */
26
21
  getBackendAppByAppId(app_id) {
27
- return new BackendAppByAppIdResource_1.default(app_id, this.baseUrl, this.httpClient);
22
+ return new BackendAppByAppIdResource(app_id, this.baseUrl, this.httpClient);
28
23
  }
29
24
  /**
30
25
  * Endpoint: /backend/app
31
26
  */
32
27
  getBackendApp() {
33
- return new BackendAppResource_1.default(this.baseUrl, this.httpClient);
28
+ return new BackendAppResource(this.baseUrl, this.httpClient);
34
29
  }
35
30
  /**
36
31
  * Endpoint: /backend/app/token/$token_id<[0-9]+>
37
32
  */
38
33
  getBackendAppTokenByTokenId(token_id) {
39
- return new BackendAppTokenByTokenIdResource_1.default(token_id, this.baseUrl, this.httpClient);
34
+ return new BackendAppTokenByTokenIdResource(token_id, this.baseUrl, this.httpClient);
40
35
  }
41
36
  /**
42
37
  * Endpoint: /backend/app/token
43
38
  */
44
39
  getBackendAppToken() {
45
- return new BackendAppTokenResource_1.default(this.baseUrl, this.httpClient);
40
+ return new BackendAppTokenResource(this.baseUrl, this.httpClient);
46
41
  }
47
42
  }
48
- exports.default = BackendAppGroup;