fusio-sdk 5.1.7 → 5.1.9

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 (559) hide show
  1. package/dist/Client.cjs +9372 -0
  2. package/dist/Client.cjs.map +1 -0
  3. package/dist/Client.d.cts +3935 -0
  4. package/dist/Client.d.ts +3926 -7
  5. package/dist/Client.js +9330 -20
  6. package/dist/Client.js.map +1 -0
  7. package/package.json +21 -7
  8. package/dist/AuthorizationTag.d.ts +0 -21
  9. package/dist/AuthorizationTag.js +0 -78
  10. package/dist/BackendAccountChangePassword.d.ts +0 -9
  11. package/dist/BackendAccountChangePassword.js +0 -5
  12. package/dist/BackendAccountTag.d.ts +0 -29
  13. package/dist/BackendAccountTag.js +0 -121
  14. package/dist/BackendAction.d.ts +0 -15
  15. package/dist/BackendAction.js +0 -5
  16. package/dist/BackendActionCollection.d.ts +0 -7
  17. package/dist/BackendActionCollection.js +0 -5
  18. package/dist/BackendActionConfig.d.ts +0 -5
  19. package/dist/BackendActionConfig.js +0 -5
  20. package/dist/BackendActionCreate.d.ts +0 -7
  21. package/dist/BackendActionCreate.js +0 -5
  22. package/dist/BackendActionExecuteRequest.d.ts +0 -12
  23. package/dist/BackendActionExecuteRequest.js +0 -5
  24. package/dist/BackendActionExecuteRequestBody.d.ts +0 -5
  25. package/dist/BackendActionExecuteRequestBody.js +0 -5
  26. package/dist/BackendActionExecuteResponse.d.ts +0 -11
  27. package/dist/BackendActionExecuteResponse.js +0 -5
  28. package/dist/BackendActionExecuteResponseBody.d.ts +0 -5
  29. package/dist/BackendActionExecuteResponseBody.js +0 -5
  30. package/dist/BackendActionExecuteResponseHeaders.d.ts +0 -5
  31. package/dist/BackendActionExecuteResponseHeaders.js +0 -5
  32. package/dist/BackendActionIndex.d.ts +0 -8
  33. package/dist/BackendActionIndex.js +0 -5
  34. package/dist/BackendActionIndexEntry.d.ts +0 -8
  35. package/dist/BackendActionIndexEntry.js +0 -5
  36. package/dist/BackendActionTag.d.ts +0 -64
  37. package/dist/BackendActionTag.js +0 -323
  38. package/dist/BackendActionUpdate.d.ts +0 -7
  39. package/dist/BackendActionUpdate.js +0 -5
  40. package/dist/BackendApp.d.ts +0 -20
  41. package/dist/BackendApp.js +0 -5
  42. package/dist/BackendAppCollection.d.ts +0 -7
  43. package/dist/BackendAppCollection.js +0 -5
  44. package/dist/BackendAppCreate.d.ts +0 -7
  45. package/dist/BackendAppCreate.js +0 -5
  46. package/dist/BackendAppTag.d.ts +0 -48
  47. package/dist/BackendAppTag.js +0 -255
  48. package/dist/BackendAppUpdate.d.ts +0 -7
  49. package/dist/BackendAppUpdate.js +0 -5
  50. package/dist/BackendAudit.d.ts +0 -17
  51. package/dist/BackendAudit.js +0 -5
  52. package/dist/BackendAuditCollection.d.ts +0 -7
  53. package/dist/BackendAuditCollection.js +0 -5
  54. package/dist/BackendAuditObject.d.ts +0 -8
  55. package/dist/BackendAuditObject.js +0 -5
  56. package/dist/BackendAuditTag.d.ts +0 -21
  57. package/dist/BackendAuditTag.js +0 -97
  58. package/dist/BackendBackupExport.d.ts +0 -7
  59. package/dist/BackendBackupExport.js +0 -5
  60. package/dist/BackendBackupImport.d.ts +0 -7
  61. package/dist/BackendBackupImport.js +0 -5
  62. package/dist/BackendBackupImportResult.d.ts +0 -9
  63. package/dist/BackendBackupImportResult.js +0 -5
  64. package/dist/BackendBackupTag.d.ts +0 -22
  65. package/dist/BackendBackupTag.js +0 -81
  66. package/dist/BackendCategory.d.ts +0 -8
  67. package/dist/BackendCategory.js +0 -5
  68. package/dist/BackendCategoryCollection.d.ts +0 -7
  69. package/dist/BackendCategoryCollection.js +0 -5
  70. package/dist/BackendCategoryCreate.d.ts +0 -7
  71. package/dist/BackendCategoryCreate.js +0 -5
  72. package/dist/BackendCategoryTag.d.ts +0 -42
  73. package/dist/BackendCategoryTag.js +0 -213
  74. package/dist/BackendCategoryUpdate.d.ts +0 -7
  75. package/dist/BackendCategoryUpdate.js +0 -5
  76. package/dist/BackendConfig.d.ts +0 -11
  77. package/dist/BackendConfig.js +0 -5
  78. package/dist/BackendConfigCollection.d.ts +0 -7
  79. package/dist/BackendConfigCollection.js +0 -5
  80. package/dist/BackendConfigTag.d.ts +0 -29
  81. package/dist/BackendConfigTag.js +0 -134
  82. package/dist/BackendConfigUpdate.d.ts +0 -7
  83. package/dist/BackendConfigUpdate.js +0 -5
  84. package/dist/BackendConnection.d.ts +0 -14
  85. package/dist/BackendConnection.js +0 -5
  86. package/dist/BackendConnectionCollection.d.ts +0 -7
  87. package/dist/BackendConnectionCollection.js +0 -5
  88. package/dist/BackendConnectionConfig.d.ts +0 -5
  89. package/dist/BackendConnectionConfig.js +0 -5
  90. package/dist/BackendConnectionCreate.d.ts +0 -7
  91. package/dist/BackendConnectionCreate.js +0 -5
  92. package/dist/BackendConnectionIndex.d.ts +0 -8
  93. package/dist/BackendConnectionIndex.js +0 -5
  94. package/dist/BackendConnectionIndexEntry.d.ts +0 -8
  95. package/dist/BackendConnectionIndexEntry.js +0 -5
  96. package/dist/BackendConnectionIntrospectionEntities.d.ts +0 -7
  97. package/dist/BackendConnectionIntrospectionEntities.js +0 -5
  98. package/dist/BackendConnectionIntrospectionEntity.d.ts +0 -10
  99. package/dist/BackendConnectionIntrospectionEntity.js +0 -5
  100. package/dist/BackendConnectionIntrospectionEntityRow.d.ts +0 -7
  101. package/dist/BackendConnectionIntrospectionEntityRow.js +0 -5
  102. package/dist/BackendConnectionRedirectResponse.d.ts +0 -7
  103. package/dist/BackendConnectionRedirectResponse.js +0 -5
  104. package/dist/BackendConnectionTag.d.ts +0 -77
  105. package/dist/BackendConnectionTag.js +0 -401
  106. package/dist/BackendConnectionUpdate.d.ts +0 -7
  107. package/dist/BackendConnectionUpdate.js +0 -5
  108. package/dist/BackendCronjob.d.ts +0 -16
  109. package/dist/BackendCronjob.js +0 -5
  110. package/dist/BackendCronjobCollection.d.ts +0 -7
  111. package/dist/BackendCronjobCollection.js +0 -5
  112. package/dist/BackendCronjobCreate.d.ts +0 -7
  113. package/dist/BackendCronjobCreate.js +0 -5
  114. package/dist/BackendCronjobError.d.ts +0 -10
  115. package/dist/BackendCronjobError.js +0 -5
  116. package/dist/BackendCronjobTag.d.ts +0 -42
  117. package/dist/BackendCronjobTag.js +0 -213
  118. package/dist/BackendCronjobUpdate.d.ts +0 -7
  119. package/dist/BackendCronjobUpdate.js +0 -5
  120. package/dist/BackendDashboard.d.ts +0 -16
  121. package/dist/BackendDashboard.js +0 -5
  122. package/dist/BackendDashboardTag.d.ts +0 -14
  123. package/dist/BackendDashboardTag.js +0 -45
  124. package/dist/BackendDatabaseConnections.d.ts +0 -7
  125. package/dist/BackendDatabaseConnections.js +0 -5
  126. package/dist/BackendDatabaseRow.d.ts +0 -5
  127. package/dist/BackendDatabaseRow.js +0 -5
  128. package/dist/BackendDatabaseRows.d.ts +0 -7
  129. package/dist/BackendDatabaseRows.js +0 -5
  130. package/dist/BackendDatabaseTable.d.ts +0 -14
  131. package/dist/BackendDatabaseTable.js +0 -5
  132. package/dist/BackendDatabaseTableColumn.d.ts +0 -17
  133. package/dist/BackendDatabaseTableColumn.js +0 -5
  134. package/dist/BackendDatabaseTableForeignKeyConstraint.d.ts +0 -10
  135. package/dist/BackendDatabaseTableForeignKeyConstraint.js +0 -5
  136. package/dist/BackendDatabaseTableIndex.d.ts +0 -9
  137. package/dist/BackendDatabaseTableIndex.js +0 -5
  138. package/dist/BackendDatabaseTables.d.ts +0 -7
  139. package/dist/BackendDatabaseTables.js +0 -5
  140. package/dist/BackendDatabaseTag.d.ts +0 -79
  141. package/dist/BackendDatabaseTag.js +0 -471
  142. package/dist/BackendEvent.d.ts +0 -12
  143. package/dist/BackendEvent.js +0 -5
  144. package/dist/BackendEventCollection.d.ts +0 -7
  145. package/dist/BackendEventCollection.js +0 -5
  146. package/dist/BackendEventCreate.d.ts +0 -7
  147. package/dist/BackendEventCreate.js +0 -5
  148. package/dist/BackendEventTag.d.ts +0 -42
  149. package/dist/BackendEventTag.js +0 -213
  150. package/dist/BackendEventUpdate.d.ts +0 -7
  151. package/dist/BackendEventUpdate.js +0 -5
  152. package/dist/BackendGeneratorIndexProvider.d.ts +0 -8
  153. package/dist/BackendGeneratorIndexProvider.js +0 -5
  154. package/dist/BackendGeneratorIndexProviders.d.ts +0 -8
  155. package/dist/BackendGeneratorIndexProviders.js +0 -5
  156. package/dist/BackendGeneratorProvider.d.ts +0 -11
  157. package/dist/BackendGeneratorProvider.js +0 -5
  158. package/dist/BackendGeneratorProviderChangelog.d.ts +0 -12
  159. package/dist/BackendGeneratorProviderChangelog.js +0 -5
  160. package/dist/BackendGeneratorProviderConfig.d.ts +0 -5
  161. package/dist/BackendGeneratorProviderConfig.js +0 -5
  162. package/dist/BackendGeneratorTag.d.ts +0 -37
  163. package/dist/BackendGeneratorTag.js +0 -164
  164. package/dist/BackendIdentity.d.ts +0 -15
  165. package/dist/BackendIdentity.js +0 -5
  166. package/dist/BackendIdentityCollection.d.ts +0 -7
  167. package/dist/BackendIdentityCollection.js +0 -5
  168. package/dist/BackendIdentityConfig.d.ts +0 -5
  169. package/dist/BackendIdentityConfig.js +0 -5
  170. package/dist/BackendIdentityCreate.d.ts +0 -7
  171. package/dist/BackendIdentityCreate.js +0 -5
  172. package/dist/BackendIdentityIndex.d.ts +0 -8
  173. package/dist/BackendIdentityIndex.js +0 -5
  174. package/dist/BackendIdentityIndexEntry.d.ts +0 -8
  175. package/dist/BackendIdentityIndexEntry.js +0 -5
  176. package/dist/BackendIdentityTag.d.ts +0 -56
  177. package/dist/BackendIdentityTag.js +0 -285
  178. package/dist/BackendIdentityUpdate.d.ts +0 -7
  179. package/dist/BackendIdentityUpdate.js +0 -5
  180. package/dist/BackendLog.d.ts +0 -16
  181. package/dist/BackendLog.js +0 -5
  182. package/dist/BackendLogCollection.d.ts +0 -7
  183. package/dist/BackendLogCollection.js +0 -5
  184. package/dist/BackendLogError.d.ts +0 -11
  185. package/dist/BackendLogError.js +0 -5
  186. package/dist/BackendLogErrorCollection.d.ts +0 -7
  187. package/dist/BackendLogErrorCollection.js +0 -5
  188. package/dist/BackendLogTag.d.ts +0 -35
  189. package/dist/BackendLogTag.js +0 -177
  190. package/dist/BackendMarketplaceActionTag.d.ts +0 -36
  191. package/dist/BackendMarketplaceActionTag.js +0 -173
  192. package/dist/BackendMarketplaceAppTag.d.ts +0 -35
  193. package/dist/BackendMarketplaceAppTag.js +0 -172
  194. package/dist/BackendMarketplaceTag.d.ts +0 -11
  195. package/dist/BackendMarketplaceTag.js +0 -15
  196. package/dist/BackendOperation.d.ts +0 -27
  197. package/dist/BackendOperation.js +0 -5
  198. package/dist/BackendOperationCollection.d.ts +0 -7
  199. package/dist/BackendOperationCollection.js +0 -5
  200. package/dist/BackendOperationCreate.d.ts +0 -7
  201. package/dist/BackendOperationCreate.js +0 -5
  202. package/dist/BackendOperationParameters.d.ts +0 -6
  203. package/dist/BackendOperationParameters.js +0 -5
  204. package/dist/BackendOperationSchema.d.ts +0 -10
  205. package/dist/BackendOperationSchema.js +0 -5
  206. package/dist/BackendOperationTag.d.ts +0 -42
  207. package/dist/BackendOperationTag.js +0 -213
  208. package/dist/BackendOperationThrows.d.ts +0 -5
  209. package/dist/BackendOperationThrows.js +0 -5
  210. package/dist/BackendOperationUpdate.d.ts +0 -7
  211. package/dist/BackendOperationUpdate.js +0 -5
  212. package/dist/BackendPage.d.ts +0 -13
  213. package/dist/BackendPage.js +0 -5
  214. package/dist/BackendPageCollection.d.ts +0 -7
  215. package/dist/BackendPageCollection.js +0 -5
  216. package/dist/BackendPageCreate.d.ts +0 -7
  217. package/dist/BackendPageCreate.js +0 -5
  218. package/dist/BackendPageTag.d.ts +0 -42
  219. package/dist/BackendPageTag.js +0 -213
  220. package/dist/BackendPageUpdate.d.ts +0 -7
  221. package/dist/BackendPageUpdate.js +0 -5
  222. package/dist/BackendPlan.d.ts +0 -16
  223. package/dist/BackendPlan.js +0 -5
  224. package/dist/BackendPlanCollection.d.ts +0 -7
  225. package/dist/BackendPlanCollection.js +0 -5
  226. package/dist/BackendPlanCreate.d.ts +0 -7
  227. package/dist/BackendPlanCreate.js +0 -5
  228. package/dist/BackendPlanTag.d.ts +0 -42
  229. package/dist/BackendPlanTag.js +0 -213
  230. package/dist/BackendPlanUpdate.d.ts +0 -7
  231. package/dist/BackendPlanUpdate.js +0 -5
  232. package/dist/BackendRate.d.ts +0 -15
  233. package/dist/BackendRate.js +0 -5
  234. package/dist/BackendRateAllocation.d.ts +0 -12
  235. package/dist/BackendRateAllocation.js +0 -5
  236. package/dist/BackendRateCollection.d.ts +0 -7
  237. package/dist/BackendRateCollection.js +0 -5
  238. package/dist/BackendRateCreate.d.ts +0 -7
  239. package/dist/BackendRateCreate.js +0 -5
  240. package/dist/BackendRateTag.d.ts +0 -42
  241. package/dist/BackendRateTag.js +0 -213
  242. package/dist/BackendRateUpdate.d.ts +0 -7
  243. package/dist/BackendRateUpdate.js +0 -5
  244. package/dist/BackendRole.d.ts +0 -10
  245. package/dist/BackendRole.js +0 -5
  246. package/dist/BackendRoleCollection.d.ts +0 -7
  247. package/dist/BackendRoleCollection.js +0 -5
  248. package/dist/BackendRoleCreate.d.ts +0 -7
  249. package/dist/BackendRoleCreate.js +0 -5
  250. package/dist/BackendRoleTag.d.ts +0 -42
  251. package/dist/BackendRoleTag.js +0 -213
  252. package/dist/BackendRoleUpdate.d.ts +0 -7
  253. package/dist/BackendRoleUpdate.js +0 -5
  254. package/dist/BackendSchema.d.ts +0 -15
  255. package/dist/BackendSchema.js +0 -5
  256. package/dist/BackendSchemaCollection.d.ts +0 -7
  257. package/dist/BackendSchemaCollection.js +0 -5
  258. package/dist/BackendSchemaCreate.d.ts +0 -7
  259. package/dist/BackendSchemaCreate.js +0 -5
  260. package/dist/BackendSchemaForm.d.ts +0 -8
  261. package/dist/BackendSchemaForm.js +0 -5
  262. package/dist/BackendSchemaPreviewResponse.d.ts +0 -7
  263. package/dist/BackendSchemaPreviewResponse.js +0 -5
  264. package/dist/BackendSchemaSource.d.ts +0 -8
  265. package/dist/BackendSchemaSource.js +0 -5
  266. package/dist/BackendSchemaTag.d.ts +0 -56
  267. package/dist/BackendSchemaTag.js +0 -294
  268. package/dist/BackendSchemaUpdate.d.ts +0 -7
  269. package/dist/BackendSchemaUpdate.js +0 -5
  270. package/dist/BackendScope.d.ts +0 -13
  271. package/dist/BackendScope.js +0 -5
  272. package/dist/BackendScopeCategories.d.ts +0 -8
  273. package/dist/BackendScopeCategories.js +0 -5
  274. package/dist/BackendScopeCategory.d.ts +0 -10
  275. package/dist/BackendScopeCategory.js +0 -5
  276. package/dist/BackendScopeCategoryScope.d.ts +0 -9
  277. package/dist/BackendScopeCategoryScope.js +0 -5
  278. package/dist/BackendScopeCollection.d.ts +0 -7
  279. package/dist/BackendScopeCollection.js +0 -5
  280. package/dist/BackendScopeCreate.d.ts +0 -7
  281. package/dist/BackendScopeCreate.js +0 -5
  282. package/dist/BackendScopeOperation.d.ts +0 -8
  283. package/dist/BackendScopeOperation.js +0 -5
  284. package/dist/BackendScopeTag.d.ts +0 -49
  285. package/dist/BackendScopeTag.js +0 -250
  286. package/dist/BackendScopeUpdate.d.ts +0 -7
  287. package/dist/BackendScopeUpdate.js +0 -5
  288. package/dist/BackendSdkGenerate.d.ts +0 -8
  289. package/dist/BackendSdkGenerate.js +0 -5
  290. package/dist/BackendSdkMessage.d.ts +0 -9
  291. package/dist/BackendSdkMessage.js +0 -5
  292. package/dist/BackendSdkResponse.d.ts +0 -8
  293. package/dist/BackendSdkResponse.js +0 -5
  294. package/dist/BackendSdkTag.d.ts +0 -22
  295. package/dist/BackendSdkTag.js +0 -83
  296. package/dist/BackendSdkTypes.d.ts +0 -5
  297. package/dist/BackendSdkTypes.js +0 -5
  298. package/dist/BackendStatisticChart.d.ts +0 -10
  299. package/dist/BackendStatisticChart.js +0 -5
  300. package/dist/BackendStatisticChartData.d.ts +0 -5
  301. package/dist/BackendStatisticChartData.js +0 -5
  302. package/dist/BackendStatisticCount.d.ts +0 -9
  303. package/dist/BackendStatisticCount.js +0 -5
  304. package/dist/BackendStatisticTag.d.ts +0 -93
  305. package/dist/BackendStatisticTag.js +0 -695
  306. package/dist/BackendTag.d.ts +0 -71
  307. package/dist/BackendTag.js +0 -135
  308. package/dist/BackendTenantTag.d.ts +0 -20
  309. package/dist/BackendTenantTag.js +0 -92
  310. package/dist/BackendTest.d.ts +0 -13
  311. package/dist/BackendTest.js +0 -5
  312. package/dist/BackendTestCollection.d.ts +0 -7
  313. package/dist/BackendTestCollection.js +0 -5
  314. package/dist/BackendTestConfig.d.ts +0 -7
  315. package/dist/BackendTestConfig.js +0 -5
  316. package/dist/BackendTestTag.d.ts +0 -41
  317. package/dist/BackendTestTag.js +0 -216
  318. package/dist/BackendToken.d.ts +0 -13
  319. package/dist/BackendToken.js +0 -5
  320. package/dist/BackendTokenCollection.d.ts +0 -7
  321. package/dist/BackendTokenCollection.js +0 -5
  322. package/dist/BackendTokenTag.d.ts +0 -21
  323. package/dist/BackendTokenTag.js +0 -95
  324. package/dist/BackendTransaction.d.ts +0 -15
  325. package/dist/BackendTransaction.js +0 -5
  326. package/dist/BackendTransactionCollection.d.ts +0 -7
  327. package/dist/BackendTransactionCollection.js +0 -5
  328. package/dist/BackendTransactionTag.d.ts +0 -21
  329. package/dist/BackendTransactionTag.js +0 -97
  330. package/dist/BackendTrashData.d.ts +0 -9
  331. package/dist/BackendTrashData.js +0 -5
  332. package/dist/BackendTrashDataCollection.d.ts +0 -7
  333. package/dist/BackendTrashDataCollection.js +0 -5
  334. package/dist/BackendTrashRestore.d.ts +0 -7
  335. package/dist/BackendTrashRestore.js +0 -5
  336. package/dist/BackendTrashTag.d.ts +0 -29
  337. package/dist/BackendTrashTag.js +0 -126
  338. package/dist/BackendTrashTypes.d.ts +0 -7
  339. package/dist/BackendTrashTypes.js +0 -5
  340. package/dist/BackendUser.d.ts +0 -19
  341. package/dist/BackendUser.js +0 -5
  342. package/dist/BackendUserCollection.d.ts +0 -7
  343. package/dist/BackendUserCollection.js +0 -5
  344. package/dist/BackendUserCreate.d.ts +0 -8
  345. package/dist/BackendUserCreate.js +0 -5
  346. package/dist/BackendUserTag.d.ts +0 -42
  347. package/dist/BackendUserTag.js +0 -213
  348. package/dist/BackendUserUpdate.d.ts +0 -7
  349. package/dist/BackendUserUpdate.js +0 -5
  350. package/dist/BackendWebhook.d.ts +0 -13
  351. package/dist/BackendWebhook.js +0 -5
  352. package/dist/BackendWebhookCollection.d.ts +0 -7
  353. package/dist/BackendWebhookCollection.js +0 -5
  354. package/dist/BackendWebhookCreate.d.ts +0 -7
  355. package/dist/BackendWebhookCreate.js +0 -5
  356. package/dist/BackendWebhookResponse.d.ts +0 -12
  357. package/dist/BackendWebhookResponse.js +0 -5
  358. package/dist/BackendWebhookTag.d.ts +0 -42
  359. package/dist/BackendWebhookTag.js +0 -211
  360. package/dist/BackendWebhookUpdate.d.ts +0 -7
  361. package/dist/BackendWebhookUpdate.js +0 -5
  362. package/dist/CommonCollection.d.ts +0 -10
  363. package/dist/CommonCollection.js +0 -5
  364. package/dist/CommonFormContainer.d.ts +0 -11
  365. package/dist/CommonFormContainer.js +0 -5
  366. package/dist/CommonFormElement.d.ts +0 -10
  367. package/dist/CommonFormElement.js +0 -5
  368. package/dist/CommonFormElementInput.d.ts +0 -8
  369. package/dist/CommonFormElementInput.js +0 -5
  370. package/dist/CommonFormElementSelect.d.ts +0 -9
  371. package/dist/CommonFormElementSelect.js +0 -5
  372. package/dist/CommonFormElementSelectOption.d.ts +0 -8
  373. package/dist/CommonFormElementSelectOption.js +0 -5
  374. package/dist/CommonFormElementTag.d.ts +0 -7
  375. package/dist/CommonFormElementTag.js +0 -5
  376. package/dist/CommonFormElementTextArea.d.ts +0 -8
  377. package/dist/CommonFormElementTextArea.js +0 -5
  378. package/dist/CommonMessage.d.ts +0 -9
  379. package/dist/CommonMessage.js +0 -5
  380. package/dist/CommonMessageException.d.ts +0 -11
  381. package/dist/CommonMessageException.js +0 -14
  382. package/dist/CommonMetadata.d.ts +0 -5
  383. package/dist/CommonMetadata.js +0 -5
  384. package/dist/ConsumerAccountTag.d.ts +0 -86
  385. package/dist/ConsumerAccountTag.js +0 -426
  386. package/dist/ConsumerApp.d.ts +0 -17
  387. package/dist/ConsumerApp.js +0 -5
  388. package/dist/ConsumerAppCollection.d.ts +0 -7
  389. package/dist/ConsumerAppCollection.js +0 -5
  390. package/dist/ConsumerAppCreate.d.ts +0 -9
  391. package/dist/ConsumerAppCreate.js +0 -5
  392. package/dist/ConsumerAppTag.d.ts +0 -42
  393. package/dist/ConsumerAppTag.js +0 -213
  394. package/dist/ConsumerAppUpdate.d.ts +0 -9
  395. package/dist/ConsumerAppUpdate.js +0 -5
  396. package/dist/ConsumerAuthorizeMeta.d.ts +0 -10
  397. package/dist/ConsumerAuthorizeMeta.js +0 -5
  398. package/dist/ConsumerAuthorizeRequest.d.ts +0 -12
  399. package/dist/ConsumerAuthorizeRequest.js +0 -5
  400. package/dist/ConsumerAuthorizeResponse.d.ts +0 -11
  401. package/dist/ConsumerAuthorizeResponse.js +0 -5
  402. package/dist/ConsumerAuthorizeResponseToken.d.ts +0 -10
  403. package/dist/ConsumerAuthorizeResponseToken.js +0 -5
  404. package/dist/ConsumerEvent.d.ts +0 -11
  405. package/dist/ConsumerEvent.js +0 -5
  406. package/dist/ConsumerEventCollection.d.ts +0 -7
  407. package/dist/ConsumerEventCollection.js +0 -5
  408. package/dist/ConsumerEventTag.d.ts +0 -14
  409. package/dist/ConsumerEventTag.js +0 -49
  410. package/dist/ConsumerGrant.d.ts +0 -10
  411. package/dist/ConsumerGrant.js +0 -5
  412. package/dist/ConsumerGrantCollection.d.ts +0 -7
  413. package/dist/ConsumerGrantCollection.js +0 -5
  414. package/dist/ConsumerGrantTag.d.ts +0 -21
  415. package/dist/ConsumerGrantTag.js +0 -90
  416. package/dist/ConsumerIdentity.d.ts +0 -10
  417. package/dist/ConsumerIdentity.js +0 -5
  418. package/dist/ConsumerIdentityCollection.d.ts +0 -7
  419. package/dist/ConsumerIdentityCollection.js +0 -5
  420. package/dist/ConsumerIdentityTag.d.ts +0 -27
  421. package/dist/ConsumerIdentityTag.js +0 -122
  422. package/dist/ConsumerLog.d.ts +0 -15
  423. package/dist/ConsumerLog.js +0 -5
  424. package/dist/ConsumerLogCollection.d.ts +0 -7
  425. package/dist/ConsumerLogCollection.js +0 -5
  426. package/dist/ConsumerLogTag.d.ts +0 -21
  427. package/dist/ConsumerLogTag.js +0 -90
  428. package/dist/ConsumerPage.d.ts +0 -12
  429. package/dist/ConsumerPage.js +0 -5
  430. package/dist/ConsumerPageCollection.d.ts +0 -7
  431. package/dist/ConsumerPageCollection.js +0 -5
  432. package/dist/ConsumerPageTag.d.ts +0 -21
  433. package/dist/ConsumerPageTag.js +0 -90
  434. package/dist/ConsumerPaymentCheckoutRequest.d.ts +0 -8
  435. package/dist/ConsumerPaymentCheckoutRequest.js +0 -5
  436. package/dist/ConsumerPaymentCheckoutResponse.d.ts +0 -7
  437. package/dist/ConsumerPaymentCheckoutResponse.js +0 -5
  438. package/dist/ConsumerPaymentPortalRequest.d.ts +0 -7
  439. package/dist/ConsumerPaymentPortalRequest.js +0 -5
  440. package/dist/ConsumerPaymentPortalResponse.d.ts +0 -7
  441. package/dist/ConsumerPaymentPortalResponse.js +0 -5
  442. package/dist/ConsumerPaymentTag.d.ts +0 -23
  443. package/dist/ConsumerPaymentTag.js +0 -86
  444. package/dist/ConsumerPlan.d.ts +0 -14
  445. package/dist/ConsumerPlan.js +0 -5
  446. package/dist/ConsumerPlanCollection.d.ts +0 -7
  447. package/dist/ConsumerPlanCollection.js +0 -5
  448. package/dist/ConsumerPlanTag.d.ts +0 -21
  449. package/dist/ConsumerPlanTag.js +0 -90
  450. package/dist/ConsumerScope.d.ts +0 -11
  451. package/dist/ConsumerScope.js +0 -5
  452. package/dist/ConsumerScopeCollection.d.ts +0 -7
  453. package/dist/ConsumerScopeCollection.js +0 -5
  454. package/dist/ConsumerScopeTag.d.ts +0 -14
  455. package/dist/ConsumerScopeTag.js +0 -49
  456. package/dist/ConsumerTag.d.ts +0 -33
  457. package/dist/ConsumerTag.js +0 -59
  458. package/dist/ConsumerToken.d.ts +0 -13
  459. package/dist/ConsumerToken.js +0 -5
  460. package/dist/ConsumerTokenAccessToken.d.ts +0 -11
  461. package/dist/ConsumerTokenAccessToken.js +0 -5
  462. package/dist/ConsumerTokenCollection.d.ts +0 -7
  463. package/dist/ConsumerTokenCollection.js +0 -5
  464. package/dist/ConsumerTokenCreate.d.ts +0 -9
  465. package/dist/ConsumerTokenCreate.js +0 -5
  466. package/dist/ConsumerTokenTag.d.ts +0 -43
  467. package/dist/ConsumerTokenTag.js +0 -213
  468. package/dist/ConsumerTokenUpdate.d.ts +0 -8
  469. package/dist/ConsumerTokenUpdate.js +0 -5
  470. package/dist/ConsumerTransaction.d.ts +0 -17
  471. package/dist/ConsumerTransaction.js +0 -5
  472. package/dist/ConsumerTransactionCollection.d.ts +0 -7
  473. package/dist/ConsumerTransactionCollection.js +0 -5
  474. package/dist/ConsumerTransactionTag.d.ts +0 -21
  475. package/dist/ConsumerTransactionTag.js +0 -90
  476. package/dist/ConsumerUserAccount.d.ts +0 -18
  477. package/dist/ConsumerUserAccount.js +0 -5
  478. package/dist/ConsumerUserActivate.d.ts +0 -7
  479. package/dist/ConsumerUserActivate.js +0 -5
  480. package/dist/ConsumerUserEmail.d.ts +0 -8
  481. package/dist/ConsumerUserEmail.js +0 -5
  482. package/dist/ConsumerUserJWT.d.ts +0 -10
  483. package/dist/ConsumerUserJWT.js +0 -5
  484. package/dist/ConsumerUserLogin.d.ts +0 -9
  485. package/dist/ConsumerUserLogin.js +0 -5
  486. package/dist/ConsumerUserPasswordReset.d.ts +0 -8
  487. package/dist/ConsumerUserPasswordReset.js +0 -5
  488. package/dist/ConsumerUserPlan.d.ts +0 -11
  489. package/dist/ConsumerUserPlan.js +0 -5
  490. package/dist/ConsumerUserRefresh.d.ts +0 -7
  491. package/dist/ConsumerUserRefresh.js +0 -5
  492. package/dist/ConsumerUserRegister.d.ts +0 -10
  493. package/dist/ConsumerUserRegister.js +0 -5
  494. package/dist/ConsumerWebhook.d.ts +0 -13
  495. package/dist/ConsumerWebhook.js +0 -5
  496. package/dist/ConsumerWebhookCollection.d.ts +0 -7
  497. package/dist/ConsumerWebhookCollection.js +0 -5
  498. package/dist/ConsumerWebhookCreate.d.ts +0 -9
  499. package/dist/ConsumerWebhookCreate.js +0 -5
  500. package/dist/ConsumerWebhookResponse.d.ts +0 -10
  501. package/dist/ConsumerWebhookResponse.js +0 -5
  502. package/dist/ConsumerWebhookTag.d.ts +0 -42
  503. package/dist/ConsumerWebhookTag.js +0 -213
  504. package/dist/ConsumerWebhookUpdate.d.ts +0 -9
  505. package/dist/ConsumerWebhookUpdate.js +0 -5
  506. package/dist/MarketplaceAction.d.ts +0 -10
  507. package/dist/MarketplaceAction.js +0 -5
  508. package/dist/MarketplaceActionCollection.d.ts +0 -7
  509. package/dist/MarketplaceActionCollection.js +0 -5
  510. package/dist/MarketplaceActionConfig.d.ts +0 -5
  511. package/dist/MarketplaceActionConfig.js +0 -5
  512. package/dist/MarketplaceApp.d.ts +0 -10
  513. package/dist/MarketplaceApp.js +0 -5
  514. package/dist/MarketplaceAppCollection.d.ts +0 -7
  515. package/dist/MarketplaceAppCollection.js +0 -5
  516. package/dist/MarketplaceCollection.d.ts +0 -10
  517. package/dist/MarketplaceCollection.js +0 -5
  518. package/dist/MarketplaceInstall.d.ts +0 -7
  519. package/dist/MarketplaceInstall.js +0 -5
  520. package/dist/MarketplaceMessage.d.ts +0 -8
  521. package/dist/MarketplaceMessage.js +0 -5
  522. package/dist/MarketplaceMessageException.d.ts +0 -11
  523. package/dist/MarketplaceMessageException.js +0 -14
  524. package/dist/MarketplaceObject.d.ts +0 -17
  525. package/dist/MarketplaceObject.js +0 -5
  526. package/dist/MarketplaceUser.d.ts +0 -9
  527. package/dist/MarketplaceUser.js +0 -5
  528. package/dist/Passthru.d.ts +0 -8
  529. package/dist/Passthru.js +0 -5
  530. package/dist/SystemAbout.d.ts +0 -22
  531. package/dist/SystemAbout.js +0 -5
  532. package/dist/SystemAboutApps.d.ts +0 -5
  533. package/dist/SystemAboutApps.js +0 -5
  534. package/dist/SystemAboutLink.d.ts +0 -8
  535. package/dist/SystemAboutLink.js +0 -5
  536. package/dist/SystemConnectionTag.d.ts +0 -13
  537. package/dist/SystemConnectionTag.js +0 -41
  538. package/dist/SystemHealthCheck.d.ts +0 -8
  539. package/dist/SystemHealthCheck.js +0 -5
  540. package/dist/SystemMetaTag.d.ts +0 -44
  541. package/dist/SystemMetaTag.js +0 -200
  542. package/dist/SystemOAuthConfiguration.d.ts +0 -12
  543. package/dist/SystemOAuthConfiguration.js +0 -5
  544. package/dist/SystemPaymentTag.d.ts +0 -14
  545. package/dist/SystemPaymentTag.js +0 -45
  546. package/dist/SystemRoute.d.ts +0 -8
  547. package/dist/SystemRoute.js +0 -5
  548. package/dist/SystemRouteMethod.d.ts +0 -5
  549. package/dist/SystemRouteMethod.js +0 -5
  550. package/dist/SystemRoutePath.d.ts +0 -6
  551. package/dist/SystemRoutePath.js +0 -5
  552. package/dist/SystemSchema.d.ts +0 -10
  553. package/dist/SystemSchema.js +0 -5
  554. package/dist/SystemSchemaForm.d.ts +0 -5
  555. package/dist/SystemSchemaForm.js +0 -5
  556. package/dist/SystemSchemaTypeSchema.d.ts +0 -5
  557. package/dist/SystemSchemaTypeSchema.js +0 -5
  558. package/dist/SystemTag.d.ts +0 -13
  559. package/dist/SystemTag.js +0 -19
@@ -1,5 +0,0 @@
1
- /**
2
- * CommonFormElementSelectOption automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,7 +0,0 @@
1
- /**
2
- * CommonFormElementTag automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { CommonFormElement } from "./CommonFormElement";
6
- export interface CommonFormElementTag extends CommonFormElement {
7
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * CommonFormElementTag automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,8 +0,0 @@
1
- /**
2
- * CommonFormElementTextArea automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { CommonFormElement } from "./CommonFormElement";
6
- export interface CommonFormElementTextArea extends CommonFormElement {
7
- mode?: string;
8
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * CommonFormElementTextArea automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,9 +0,0 @@
1
- /**
2
- * CommonMessage automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export interface CommonMessage {
6
- success?: boolean;
7
- message?: string;
8
- id?: string;
9
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * CommonMessage automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,11 +0,0 @@
1
- /**
2
- * CommonMessageException automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { KnownStatusCodeException } from "sdkgen-client";
6
- import { CommonMessage } from "./CommonMessage";
7
- export declare class CommonMessageException extends KnownStatusCodeException {
8
- private payload;
9
- constructor(payload: CommonMessage);
10
- getPayload(): CommonMessage;
11
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * CommonMessageException automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { KnownStatusCodeException } from "sdkgen-client";
6
- export class CommonMessageException extends KnownStatusCodeException {
7
- constructor(payload) {
8
- super('The server returned an error');
9
- this.payload = payload;
10
- }
11
- getPayload() {
12
- return this.payload;
13
- }
14
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * CommonMetadata automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export type CommonMetadata = Record<string, string>;
@@ -1,5 +0,0 @@
1
- /**
2
- * CommonMetadata automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,86 +0,0 @@
1
- /**
2
- * ConsumerAccountTag automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { TagAbstract } from "sdkgen-client";
6
- import { BackendAccountChangePassword } from "./BackendAccountChangePassword";
7
- import { CommonMessage } from "./CommonMessage";
8
- import { ConsumerAuthorizeMeta } from "./ConsumerAuthorizeMeta";
9
- import { ConsumerAuthorizeRequest } from "./ConsumerAuthorizeRequest";
10
- import { ConsumerAuthorizeResponse } from "./ConsumerAuthorizeResponse";
11
- import { ConsumerUserAccount } from "./ConsumerUserAccount";
12
- import { ConsumerUserActivate } from "./ConsumerUserActivate";
13
- import { ConsumerUserEmail } from "./ConsumerUserEmail";
14
- import { ConsumerUserJWT } from "./ConsumerUserJWT";
15
- import { ConsumerUserLogin } from "./ConsumerUserLogin";
16
- import { ConsumerUserPasswordReset } from "./ConsumerUserPasswordReset";
17
- import { ConsumerUserRefresh } from "./ConsumerUserRefresh";
18
- import { ConsumerUserRegister } from "./ConsumerUserRegister";
19
- export declare class ConsumerAccountTag extends TagAbstract {
20
- /**
21
- * @returns {Promise<CommonMessage>}
22
- * @throws {CommonMessageExceptionException}
23
- * @throws {ClientException}
24
- */
25
- executePasswordReset(payload: ConsumerUserPasswordReset): Promise<CommonMessage>;
26
- /**
27
- * @returns {Promise<CommonMessage>}
28
- * @throws {CommonMessageExceptionException}
29
- * @throws {ClientException}
30
- */
31
- requestPasswordReset(payload: ConsumerUserEmail): Promise<CommonMessage>;
32
- /**
33
- * @returns {Promise<CommonMessage>}
34
- * @throws {CommonMessageExceptionException}
35
- * @throws {ClientException}
36
- */
37
- register(payload: ConsumerUserRegister): Promise<CommonMessage>;
38
- /**
39
- * @returns {Promise<ConsumerUserJWT>}
40
- * @throws {CommonMessageExceptionException}
41
- * @throws {ClientException}
42
- */
43
- refresh(payload: ConsumerUserRefresh): Promise<ConsumerUserJWT>;
44
- /**
45
- * @returns {Promise<ConsumerUserJWT>}
46
- * @throws {CommonMessageExceptionException}
47
- * @throws {ClientException}
48
- */
49
- login(payload: ConsumerUserLogin): Promise<ConsumerUserJWT>;
50
- /**
51
- * @returns {Promise<ConsumerAuthorizeResponse>}
52
- * @throws {CommonMessageExceptionException}
53
- * @throws {ClientException}
54
- */
55
- authorize(payload: ConsumerAuthorizeRequest): Promise<ConsumerAuthorizeResponse>;
56
- /**
57
- * @returns {Promise<ConsumerAuthorizeMeta>}
58
- * @throws {CommonMessageExceptionException}
59
- * @throws {ClientException}
60
- */
61
- getApp(): Promise<ConsumerAuthorizeMeta>;
62
- /**
63
- * @returns {Promise<CommonMessage>}
64
- * @throws {CommonMessageExceptionException}
65
- * @throws {ClientException}
66
- */
67
- activate(payload: ConsumerUserActivate): Promise<CommonMessage>;
68
- /**
69
- * @returns {Promise<CommonMessage>}
70
- * @throws {CommonMessageExceptionException}
71
- * @throws {ClientException}
72
- */
73
- changePassword(payload: BackendAccountChangePassword): Promise<CommonMessage>;
74
- /**
75
- * @returns {Promise<CommonMessage>}
76
- * @throws {CommonMessageExceptionException}
77
- * @throws {ClientException}
78
- */
79
- update(payload: ConsumerUserAccount): Promise<CommonMessage>;
80
- /**
81
- * @returns {Promise<ConsumerUserAccount>}
82
- * @throws {CommonMessageExceptionException}
83
- * @throws {ClientException}
84
- */
85
- get(): Promise<ConsumerUserAccount>;
86
- }
@@ -1,426 +0,0 @@
1
- /**
2
- * ConsumerAccountTag automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import axios from "axios";
6
- import { TagAbstract } from "sdkgen-client";
7
- import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
8
- import { CommonMessageException } from "./CommonMessageException";
9
- export class ConsumerAccountTag extends TagAbstract {
10
- /**
11
- * @returns {Promise<CommonMessage>}
12
- * @throws {CommonMessageExceptionException}
13
- * @throws {ClientException}
14
- */
15
- async executePasswordReset(payload) {
16
- const url = this.parser.url('/consumer/password_reset', {});
17
- let params = {
18
- url: url,
19
- method: 'PUT',
20
- params: this.parser.query({}, []),
21
- data: payload
22
- };
23
- try {
24
- const response = await this.httpClient.request(params);
25
- return response.data;
26
- }
27
- catch (error) {
28
- if (error instanceof ClientException) {
29
- throw error;
30
- }
31
- else if (axios.isAxiosError(error) && error.response) {
32
- switch (error.response.status) {
33
- case 400:
34
- throw new CommonMessageException(error.response.data);
35
- case 404:
36
- throw new CommonMessageException(error.response.data);
37
- case 500:
38
- throw new CommonMessageException(error.response.data);
39
- default:
40
- throw new UnknownStatusCodeException('The server returned an unknown status code');
41
- }
42
- }
43
- else {
44
- throw new ClientException('An unknown error occurred: ' + String(error));
45
- }
46
- }
47
- }
48
- /**
49
- * @returns {Promise<CommonMessage>}
50
- * @throws {CommonMessageExceptionException}
51
- * @throws {ClientException}
52
- */
53
- async requestPasswordReset(payload) {
54
- const url = this.parser.url('/consumer/password_reset', {});
55
- let params = {
56
- url: url,
57
- method: 'POST',
58
- params: this.parser.query({}, []),
59
- data: payload
60
- };
61
- try {
62
- const response = await this.httpClient.request(params);
63
- return response.data;
64
- }
65
- catch (error) {
66
- if (error instanceof ClientException) {
67
- throw error;
68
- }
69
- else if (axios.isAxiosError(error) && error.response) {
70
- switch (error.response.status) {
71
- case 400:
72
- throw new CommonMessageException(error.response.data);
73
- case 404:
74
- throw new CommonMessageException(error.response.data);
75
- case 500:
76
- throw new CommonMessageException(error.response.data);
77
- default:
78
- throw new UnknownStatusCodeException('The server returned an unknown status code');
79
- }
80
- }
81
- else {
82
- throw new ClientException('An unknown error occurred: ' + String(error));
83
- }
84
- }
85
- }
86
- /**
87
- * @returns {Promise<CommonMessage>}
88
- * @throws {CommonMessageExceptionException}
89
- * @throws {ClientException}
90
- */
91
- async register(payload) {
92
- const url = this.parser.url('/consumer/register', {});
93
- let params = {
94
- url: url,
95
- method: 'POST',
96
- params: this.parser.query({}, []),
97
- data: payload
98
- };
99
- try {
100
- const response = await this.httpClient.request(params);
101
- return response.data;
102
- }
103
- catch (error) {
104
- if (error instanceof ClientException) {
105
- throw error;
106
- }
107
- else if (axios.isAxiosError(error) && error.response) {
108
- switch (error.response.status) {
109
- case 400:
110
- throw new CommonMessageException(error.response.data);
111
- case 500:
112
- throw new CommonMessageException(error.response.data);
113
- default:
114
- throw new UnknownStatusCodeException('The server returned an unknown status code');
115
- }
116
- }
117
- else {
118
- throw new ClientException('An unknown error occurred: ' + String(error));
119
- }
120
- }
121
- }
122
- /**
123
- * @returns {Promise<ConsumerUserJWT>}
124
- * @throws {CommonMessageExceptionException}
125
- * @throws {ClientException}
126
- */
127
- async refresh(payload) {
128
- const url = this.parser.url('/consumer/login', {});
129
- let params = {
130
- url: url,
131
- method: 'PUT',
132
- params: this.parser.query({}, []),
133
- data: payload
134
- };
135
- try {
136
- const response = await this.httpClient.request(params);
137
- return response.data;
138
- }
139
- catch (error) {
140
- if (error instanceof ClientException) {
141
- throw error;
142
- }
143
- else if (axios.isAxiosError(error) && error.response) {
144
- switch (error.response.status) {
145
- case 400:
146
- throw new CommonMessageException(error.response.data);
147
- case 500:
148
- throw new CommonMessageException(error.response.data);
149
- default:
150
- throw new UnknownStatusCodeException('The server returned an unknown status code');
151
- }
152
- }
153
- else {
154
- throw new ClientException('An unknown error occurred: ' + String(error));
155
- }
156
- }
157
- }
158
- /**
159
- * @returns {Promise<ConsumerUserJWT>}
160
- * @throws {CommonMessageExceptionException}
161
- * @throws {ClientException}
162
- */
163
- async login(payload) {
164
- const url = this.parser.url('/consumer/login', {});
165
- let params = {
166
- url: url,
167
- method: 'POST',
168
- params: this.parser.query({}, []),
169
- data: payload
170
- };
171
- try {
172
- const response = await this.httpClient.request(params);
173
- return response.data;
174
- }
175
- catch (error) {
176
- if (error instanceof ClientException) {
177
- throw error;
178
- }
179
- else if (axios.isAxiosError(error) && error.response) {
180
- switch (error.response.status) {
181
- case 400:
182
- throw new CommonMessageException(error.response.data);
183
- case 401:
184
- throw new CommonMessageException(error.response.data);
185
- case 500:
186
- throw new CommonMessageException(error.response.data);
187
- default:
188
- throw new UnknownStatusCodeException('The server returned an unknown status code');
189
- }
190
- }
191
- else {
192
- throw new ClientException('An unknown error occurred: ' + String(error));
193
- }
194
- }
195
- }
196
- /**
197
- * @returns {Promise<ConsumerAuthorizeResponse>}
198
- * @throws {CommonMessageExceptionException}
199
- * @throws {ClientException}
200
- */
201
- async authorize(payload) {
202
- const url = this.parser.url('/consumer/authorize', {});
203
- let params = {
204
- url: url,
205
- method: 'POST',
206
- params: this.parser.query({}, []),
207
- data: payload
208
- };
209
- try {
210
- const response = await this.httpClient.request(params);
211
- return response.data;
212
- }
213
- catch (error) {
214
- if (error instanceof ClientException) {
215
- throw error;
216
- }
217
- else if (axios.isAxiosError(error) && error.response) {
218
- switch (error.response.status) {
219
- case 400:
220
- throw new CommonMessageException(error.response.data);
221
- case 401:
222
- throw new CommonMessageException(error.response.data);
223
- case 500:
224
- throw new CommonMessageException(error.response.data);
225
- default:
226
- throw new UnknownStatusCodeException('The server returned an unknown status code');
227
- }
228
- }
229
- else {
230
- throw new ClientException('An unknown error occurred: ' + String(error));
231
- }
232
- }
233
- }
234
- /**
235
- * @returns {Promise<ConsumerAuthorizeMeta>}
236
- * @throws {CommonMessageExceptionException}
237
- * @throws {ClientException}
238
- */
239
- async getApp() {
240
- const url = this.parser.url('/consumer/authorize', {});
241
- let params = {
242
- url: url,
243
- method: 'GET',
244
- params: this.parser.query({}, []),
245
- };
246
- try {
247
- const response = await this.httpClient.request(params);
248
- return response.data;
249
- }
250
- catch (error) {
251
- if (error instanceof ClientException) {
252
- throw error;
253
- }
254
- else if (axios.isAxiosError(error) && error.response) {
255
- switch (error.response.status) {
256
- case 401:
257
- throw new CommonMessageException(error.response.data);
258
- case 410:
259
- throw new CommonMessageException(error.response.data);
260
- case 500:
261
- throw new CommonMessageException(error.response.data);
262
- default:
263
- throw new UnknownStatusCodeException('The server returned an unknown status code');
264
- }
265
- }
266
- else {
267
- throw new ClientException('An unknown error occurred: ' + String(error));
268
- }
269
- }
270
- }
271
- /**
272
- * @returns {Promise<CommonMessage>}
273
- * @throws {CommonMessageExceptionException}
274
- * @throws {ClientException}
275
- */
276
- async activate(payload) {
277
- const url = this.parser.url('/consumer/activate', {});
278
- let params = {
279
- url: url,
280
- method: 'POST',
281
- params: this.parser.query({}, []),
282
- data: payload
283
- };
284
- try {
285
- const response = await this.httpClient.request(params);
286
- return response.data;
287
- }
288
- catch (error) {
289
- if (error instanceof ClientException) {
290
- throw error;
291
- }
292
- else if (axios.isAxiosError(error) && error.response) {
293
- switch (error.response.status) {
294
- case 400:
295
- throw new CommonMessageException(error.response.data);
296
- case 500:
297
- throw new CommonMessageException(error.response.data);
298
- default:
299
- throw new UnknownStatusCodeException('The server returned an unknown status code');
300
- }
301
- }
302
- else {
303
- throw new ClientException('An unknown error occurred: ' + String(error));
304
- }
305
- }
306
- }
307
- /**
308
- * @returns {Promise<CommonMessage>}
309
- * @throws {CommonMessageExceptionException}
310
- * @throws {ClientException}
311
- */
312
- async changePassword(payload) {
313
- const url = this.parser.url('/consumer/account/change_password', {});
314
- let params = {
315
- url: url,
316
- method: 'PUT',
317
- params: this.parser.query({}, []),
318
- data: payload
319
- };
320
- try {
321
- const response = await this.httpClient.request(params);
322
- return response.data;
323
- }
324
- catch (error) {
325
- if (error instanceof ClientException) {
326
- throw error;
327
- }
328
- else if (axios.isAxiosError(error) && error.response) {
329
- switch (error.response.status) {
330
- case 400:
331
- throw new CommonMessageException(error.response.data);
332
- case 401:
333
- throw new CommonMessageException(error.response.data);
334
- case 500:
335
- throw new CommonMessageException(error.response.data);
336
- default:
337
- throw new UnknownStatusCodeException('The server returned an unknown status code');
338
- }
339
- }
340
- else {
341
- throw new ClientException('An unknown error occurred: ' + String(error));
342
- }
343
- }
344
- }
345
- /**
346
- * @returns {Promise<CommonMessage>}
347
- * @throws {CommonMessageExceptionException}
348
- * @throws {ClientException}
349
- */
350
- async update(payload) {
351
- const url = this.parser.url('/consumer/account', {});
352
- let params = {
353
- url: url,
354
- method: 'PUT',
355
- params: this.parser.query({}, []),
356
- data: payload
357
- };
358
- try {
359
- const response = await this.httpClient.request(params);
360
- return response.data;
361
- }
362
- catch (error) {
363
- if (error instanceof ClientException) {
364
- throw error;
365
- }
366
- else if (axios.isAxiosError(error) && error.response) {
367
- switch (error.response.status) {
368
- case 400:
369
- throw new CommonMessageException(error.response.data);
370
- case 401:
371
- throw new CommonMessageException(error.response.data);
372
- case 404:
373
- throw new CommonMessageException(error.response.data);
374
- case 410:
375
- throw new CommonMessageException(error.response.data);
376
- case 500:
377
- throw new CommonMessageException(error.response.data);
378
- default:
379
- throw new UnknownStatusCodeException('The server returned an unknown status code');
380
- }
381
- }
382
- else {
383
- throw new ClientException('An unknown error occurred: ' + String(error));
384
- }
385
- }
386
- }
387
- /**
388
- * @returns {Promise<ConsumerUserAccount>}
389
- * @throws {CommonMessageExceptionException}
390
- * @throws {ClientException}
391
- */
392
- async get() {
393
- const url = this.parser.url('/consumer/account', {});
394
- let params = {
395
- url: url,
396
- method: 'GET',
397
- params: this.parser.query({}, []),
398
- };
399
- try {
400
- const response = await this.httpClient.request(params);
401
- return response.data;
402
- }
403
- catch (error) {
404
- if (error instanceof ClientException) {
405
- throw error;
406
- }
407
- else if (axios.isAxiosError(error) && error.response) {
408
- switch (error.response.status) {
409
- case 401:
410
- throw new CommonMessageException(error.response.data);
411
- case 404:
412
- throw new CommonMessageException(error.response.data);
413
- case 410:
414
- throw new CommonMessageException(error.response.data);
415
- case 500:
416
- throw new CommonMessageException(error.response.data);
417
- default:
418
- throw new UnknownStatusCodeException('The server returned an unknown status code');
419
- }
420
- }
421
- else {
422
- throw new ClientException('An unknown error occurred: ' + String(error));
423
- }
424
- }
425
- }
426
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * ConsumerApp automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { CommonMetadata } from "./CommonMetadata";
6
- export interface ConsumerApp {
7
- id?: number;
8
- userId?: number;
9
- status?: number;
10
- name?: string;
11
- url?: string;
12
- appKey?: string;
13
- appSecret?: string;
14
- date?: string;
15
- scopes?: Array<string>;
16
- metadata?: CommonMetadata;
17
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * ConsumerApp automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,7 +0,0 @@
1
- /**
2
- * ConsumerAppCollection automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { CommonCollection } from "./CommonCollection";
6
- import { ConsumerApp } from "./ConsumerApp";
7
- export type ConsumerAppCollection = CommonCollection<ConsumerApp>;
@@ -1,5 +0,0 @@
1
- /**
2
- * ConsumerAppCollection automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};
@@ -1,9 +0,0 @@
1
- /**
2
- * ConsumerAppCreate automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export interface ConsumerAppCreate {
6
- name: string;
7
- url: string;
8
- scopes: Array<string>;
9
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * ConsumerAppCreate automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- export {};