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
package/dist/Client.d.ts CHANGED
@@ -1,16 +1,3935 @@
1
+ import { TagAbstract, ClientAbstract } from 'sdkgen-client';
2
+
3
+ /**
4
+ * CommonMetadata automatically generated by SDKgen please do not edit this file manually
5
+ * {@link https://sdkgen.app}
6
+ */
7
+ interface CommonMetadata extends Record<string, string> {
8
+ }
9
+
10
+ /**
11
+ * BackendToken automatically generated by SDKgen please do not edit this file manually
12
+ * {@link https://sdkgen.app}
13
+ */
14
+ interface BackendToken {
15
+ id?: number;
16
+ status?: number;
17
+ name?: string;
18
+ scopes?: Array<string>;
19
+ ip?: string;
20
+ expire?: string;
21
+ date?: string;
22
+ }
23
+
24
+ /**
25
+ * BackendApp automatically generated by SDKgen please do not edit this file manually
26
+ * {@link https://sdkgen.app}
27
+ */
28
+
29
+ interface BackendApp {
30
+ id?: number;
31
+ userId?: number;
32
+ status?: number;
33
+ name?: string;
34
+ url?: string;
35
+ parameters?: string;
36
+ appKey?: string;
37
+ appSecret?: string;
38
+ metadata?: CommonMetadata;
39
+ date?: string;
40
+ scopes?: Array<string>;
41
+ tokens?: Array<BackendToken>;
42
+ }
43
+
44
+ /**
45
+ * BackendUser automatically generated by SDKgen please do not edit this file manually
46
+ * {@link https://sdkgen.app}
47
+ */
48
+
49
+ interface BackendUser {
50
+ id?: number;
51
+ roleId?: number;
52
+ planId?: number;
53
+ status?: number;
54
+ name?: string;
55
+ email?: string;
56
+ points?: number;
57
+ scopes?: Array<string>;
58
+ apps?: Array<BackendApp>;
59
+ metadata?: CommonMetadata;
60
+ date?: string;
61
+ }
62
+
63
+ /**
64
+ * CommonMessage automatically generated by SDKgen please do not edit this file manually
65
+ * {@link https://sdkgen.app}
66
+ */
67
+ interface CommonMessage {
68
+ success?: boolean;
69
+ message?: string;
70
+ id?: string;
71
+ }
72
+
73
+ /**
74
+ * AuthorizationTag automatically generated by SDKgen please do not edit this file manually
75
+ * {@link https://sdkgen.app}
76
+ */
77
+
78
+ declare class AuthorizationTag extends TagAbstract {
79
+ /**
80
+ * @returns {Promise<BackendUser>}
81
+ * @throws {CommonMessageException}
82
+ * @throws {ClientException}
83
+ */
84
+ getWhoami(): Promise<BackendUser>;
85
+ /**
86
+ * @returns {Promise<CommonMessage>}
87
+ * @throws {CommonMessageException}
88
+ * @throws {ClientException}
89
+ */
90
+ revoke(): Promise<CommonMessage>;
91
+ }
92
+
93
+ /**
94
+ * SystemConnectionTag automatically generated by SDKgen please do not edit this file manually
95
+ * {@link https://sdkgen.app}
96
+ */
97
+
98
+ declare class SystemConnectionTag extends TagAbstract {
99
+ /**
100
+ * @returns {Promise<CommonMessage>}
101
+ * @throws {ClientException}
102
+ */
103
+ callback(name: string): Promise<CommonMessage>;
104
+ }
105
+
106
+ /**
107
+ * Passthru automatically generated by SDKgen please do not edit this file manually
108
+ * {@link https://sdkgen.app}
109
+ */
110
+ /**
111
+ * No schema information available
112
+ */
113
+ interface Passthru extends Record<string, any> {
114
+ }
115
+
116
+ /**
117
+ * SystemAboutApps automatically generated by SDKgen please do not edit this file manually
118
+ * {@link https://sdkgen.app}
119
+ */
120
+ interface SystemAboutApps extends Record<string, string> {
121
+ }
122
+
123
+ /**
124
+ * SystemAboutLink automatically generated by SDKgen please do not edit this file manually
125
+ * {@link https://sdkgen.app}
126
+ */
127
+ interface SystemAboutLink {
128
+ rel?: string;
129
+ href?: string;
130
+ }
131
+
132
+ /**
133
+ * SystemAbout automatically generated by SDKgen please do not edit this file manually
134
+ * {@link https://sdkgen.app}
135
+ */
136
+
137
+ interface SystemAbout {
138
+ apiVersion?: string;
139
+ title?: string;
140
+ description?: string;
141
+ termsOfService?: string;
142
+ contactName?: string;
143
+ contactUrl?: string;
144
+ contactEmail?: string;
145
+ licenseName?: string;
146
+ licenseUrl?: string;
147
+ paymentCurrency?: string;
148
+ categories?: Array<string>;
149
+ scopes?: Array<string>;
150
+ apps?: SystemAboutApps;
151
+ links?: Array<SystemAboutLink>;
152
+ }
153
+
154
+ /**
155
+ * SystemHealthCheck automatically generated by SDKgen please do not edit this file manually
156
+ * {@link https://sdkgen.app}
157
+ */
158
+ interface SystemHealthCheck {
159
+ healthy?: boolean;
160
+ error?: string;
161
+ }
162
+
163
+ /**
164
+ * SystemOAuthConfiguration automatically generated by SDKgen please do not edit this file manually
165
+ * {@link https://sdkgen.app}
166
+ */
167
+ interface SystemOAuthConfiguration {
168
+ issuer?: string;
169
+ token_endpoint?: string;
170
+ token_endpoint_auth_methods_supported?: Array<string>;
171
+ userinfo_endpoint?: string;
172
+ scopes_supported?: Array<string>;
173
+ claims_supported?: Array<string>;
174
+ }
175
+
176
+ /**
177
+ * SystemRouteMethod automatically generated by SDKgen please do not edit this file manually
178
+ * {@link https://sdkgen.app}
179
+ */
180
+ interface SystemRouteMethod extends Record<string, string> {
181
+ }
182
+
183
+ /**
184
+ * SystemRoutePath automatically generated by SDKgen please do not edit this file manually
185
+ * {@link https://sdkgen.app}
186
+ */
187
+
188
+ interface SystemRoutePath extends Record<string, SystemRouteMethod> {
189
+ }
190
+
191
+ /**
192
+ * SystemRoute automatically generated by SDKgen please do not edit this file manually
193
+ * {@link https://sdkgen.app}
194
+ */
195
+
196
+ interface SystemRoute {
197
+ routes?: SystemRoutePath;
198
+ }
199
+
200
+ /**
201
+ * SystemSchemaTypeSchema automatically generated by SDKgen please do not edit this file manually
202
+ * {@link https://sdkgen.app}
203
+ */
204
+ interface SystemSchemaTypeSchema extends Record<string, any> {
205
+ }
206
+
207
+ /**
208
+ * SystemSchemaForm automatically generated by SDKgen please do not edit this file manually
209
+ * {@link https://sdkgen.app}
210
+ */
211
+ interface SystemSchemaForm extends Record<string, any> {
212
+ }
213
+
214
+ /**
215
+ * SystemSchema automatically generated by SDKgen please do not edit this file manually
216
+ * {@link https://sdkgen.app}
217
+ */
218
+
219
+ interface SystemSchema {
220
+ schema?: SystemSchemaTypeSchema;
221
+ form?: SystemSchemaForm;
222
+ }
223
+
224
+ /**
225
+ * SystemMetaTag automatically generated by SDKgen please do not edit this file manually
226
+ * {@link https://sdkgen.app}
227
+ */
228
+
229
+ declare class SystemMetaTag extends TagAbstract {
230
+ /**
231
+ * @returns {Promise<SystemSchema>}
232
+ * @throws {CommonMessageException}
233
+ * @throws {ClientException}
234
+ */
235
+ getSchema(name: string): Promise<SystemSchema>;
236
+ /**
237
+ * @returns {Promise<SystemRoute>}
238
+ * @throws {ClientException}
239
+ */
240
+ getRoutes(): Promise<SystemRoute>;
241
+ /**
242
+ * @returns {Promise<SystemOAuthConfiguration>}
243
+ * @throws {ClientException}
244
+ */
245
+ getOAuthConfiguration(): Promise<SystemOAuthConfiguration>;
246
+ /**
247
+ * @returns {Promise<SystemHealthCheck>}
248
+ * @throws {ClientException}
249
+ */
250
+ getHealth(): Promise<SystemHealthCheck>;
251
+ /**
252
+ * @returns {Promise<Passthru>}
253
+ * @throws {ClientException}
254
+ */
255
+ getDebug(payload: Passthru): Promise<Passthru>;
256
+ /**
257
+ * @returns {Promise<SystemAbout>}
258
+ * @throws {ClientException}
259
+ */
260
+ getAbout(): Promise<SystemAbout>;
261
+ }
262
+
263
+ /**
264
+ * SystemPaymentTag automatically generated by SDKgen please do not edit this file manually
265
+ * {@link https://sdkgen.app}
266
+ */
267
+
268
+ declare class SystemPaymentTag extends TagAbstract {
269
+ /**
270
+ * @returns {Promise<CommonMessage>}
271
+ * @throws {CommonMessageException}
272
+ * @throws {ClientException}
273
+ */
274
+ webhook(provider: string): Promise<CommonMessage>;
275
+ }
276
+
277
+ /**
278
+ * SystemTag automatically generated by SDKgen please do not edit this file manually
279
+ * {@link https://sdkgen.app}
280
+ */
281
+
282
+ declare class SystemTag extends TagAbstract {
283
+ payment(): SystemPaymentTag;
284
+ meta(): SystemMetaTag;
285
+ connection(): SystemConnectionTag;
286
+ }
287
+
288
+ /**
289
+ * BackendAccountChangePassword automatically generated by SDKgen please do not edit this file manually
290
+ * {@link https://sdkgen.app}
291
+ */
292
+ interface BackendAccountChangePassword {
293
+ oldPassword?: string;
294
+ newPassword?: string;
295
+ verifyPassword?: string;
296
+ }
297
+
298
+ /**
299
+ * ConsumerScope automatically generated by SDKgen please do not edit this file manually
300
+ * {@link https://sdkgen.app}
301
+ */
302
+
303
+ interface ConsumerScope {
304
+ id?: number;
305
+ name?: string;
306
+ description?: string;
307
+ metadata?: CommonMetadata;
308
+ }
309
+
310
+ /**
311
+ * ConsumerAuthorizeMeta automatically generated by SDKgen please do not edit this file manually
312
+ * {@link https://sdkgen.app}
313
+ */
314
+
315
+ interface ConsumerAuthorizeMeta {
316
+ name?: string;
317
+ url?: string;
318
+ scopes?: Array<ConsumerScope>;
319
+ }
320
+
321
+ /**
322
+ * ConsumerAuthorizeRequest automatically generated by SDKgen please do not edit this file manually
323
+ * {@link https://sdkgen.app}
324
+ */
325
+ interface ConsumerAuthorizeRequest {
326
+ responseType?: string;
327
+ clientId?: string;
328
+ redirectUri?: string;
329
+ scope?: string;
330
+ state?: string;
331
+ allow?: boolean;
332
+ }
333
+
334
+ /**
335
+ * ConsumerAuthorizeResponseToken automatically generated by SDKgen please do not edit this file manually
336
+ * {@link https://sdkgen.app}
337
+ */
338
+ interface ConsumerAuthorizeResponseToken {
339
+ access_token?: string;
340
+ token_type?: string;
341
+ expires_in?: string;
342
+ scope?: string;
343
+ }
344
+
345
+ /**
346
+ * ConsumerAuthorizeResponse automatically generated by SDKgen please do not edit this file manually
347
+ * {@link https://sdkgen.app}
348
+ */
349
+
350
+ interface ConsumerAuthorizeResponse {
351
+ type?: string;
352
+ token?: ConsumerAuthorizeResponseToken;
353
+ code?: string;
354
+ redirectUri?: string;
355
+ }
356
+
357
+ /**
358
+ * ConsumerUserPlan automatically generated by SDKgen please do not edit this file manually
359
+ * {@link https://sdkgen.app}
360
+ */
361
+ interface ConsumerUserPlan {
362
+ id?: number;
363
+ name?: string;
364
+ price?: number;
365
+ points?: number;
366
+ period?: number;
367
+ }
368
+
369
+ /**
370
+ * ConsumerUserAccount automatically generated by SDKgen please do not edit this file manually
371
+ * {@link https://sdkgen.app}
372
+ */
373
+
374
+ interface ConsumerUserAccount {
375
+ id?: number;
376
+ planId?: number;
377
+ status?: number;
378
+ name?: string;
379
+ email?: string;
380
+ points?: number;
381
+ scopes?: Array<string>;
382
+ plans?: Array<ConsumerUserPlan>;
383
+ metadata?: CommonMetadata;
384
+ date?: string;
385
+ }
386
+
387
+ /**
388
+ * ConsumerUserActivate automatically generated by SDKgen please do not edit this file manually
389
+ * {@link https://sdkgen.app}
390
+ */
391
+ interface ConsumerUserActivate {
392
+ token?: string;
393
+ }
394
+
395
+ /**
396
+ * ConsumerUserEmail automatically generated by SDKgen please do not edit this file manually
397
+ * {@link https://sdkgen.app}
398
+ */
399
+ interface ConsumerUserEmail {
400
+ email?: string;
401
+ captcha?: string;
402
+ }
403
+
404
+ /**
405
+ * ConsumerUserJWT automatically generated by SDKgen please do not edit this file manually
406
+ * {@link https://sdkgen.app}
407
+ */
408
+ interface ConsumerUserJWT {
409
+ token?: string;
410
+ expires_in?: number;
411
+ refresh_token?: string;
412
+ scope?: string;
413
+ }
414
+
415
+ /**
416
+ * ConsumerUserLogin automatically generated by SDKgen please do not edit this file manually
417
+ * {@link https://sdkgen.app}
418
+ */
419
+ interface ConsumerUserLogin {
420
+ username?: string;
421
+ password?: string;
422
+ scopes?: Array<string>;
423
+ }
424
+
425
+ /**
426
+ * ConsumerUserPasswordReset automatically generated by SDKgen please do not edit this file manually
427
+ * {@link https://sdkgen.app}
428
+ */
429
+ interface ConsumerUserPasswordReset {
430
+ token?: string;
431
+ newPassword?: string;
432
+ }
433
+
434
+ /**
435
+ * ConsumerUserRefresh automatically generated by SDKgen please do not edit this file manually
436
+ * {@link https://sdkgen.app}
437
+ */
438
+ interface ConsumerUserRefresh {
439
+ refresh_token?: string;
440
+ }
441
+
442
+ /**
443
+ * ConsumerUserRegister automatically generated by SDKgen please do not edit this file manually
444
+ * {@link https://sdkgen.app}
445
+ */
446
+ interface ConsumerUserRegister {
447
+ name?: string;
448
+ email?: string;
449
+ password?: string;
450
+ captcha?: string;
451
+ }
452
+
453
+ /**
454
+ * ConsumerAccountTag automatically generated by SDKgen please do not edit this file manually
455
+ * {@link https://sdkgen.app}
456
+ */
457
+
458
+ declare class ConsumerAccountTag extends TagAbstract {
459
+ /**
460
+ * @returns {Promise<CommonMessage>}
461
+ * @throws {CommonMessageException}
462
+ * @throws {ClientException}
463
+ */
464
+ executePasswordReset(payload: ConsumerUserPasswordReset): Promise<CommonMessage>;
465
+ /**
466
+ * @returns {Promise<CommonMessage>}
467
+ * @throws {CommonMessageException}
468
+ * @throws {ClientException}
469
+ */
470
+ requestPasswordReset(payload: ConsumerUserEmail): Promise<CommonMessage>;
471
+ /**
472
+ * @returns {Promise<CommonMessage>}
473
+ * @throws {CommonMessageException}
474
+ * @throws {ClientException}
475
+ */
476
+ register(payload: ConsumerUserRegister): Promise<CommonMessage>;
477
+ /**
478
+ * @returns {Promise<ConsumerUserJWT>}
479
+ * @throws {CommonMessageException}
480
+ * @throws {ClientException}
481
+ */
482
+ refresh(payload: ConsumerUserRefresh): Promise<ConsumerUserJWT>;
483
+ /**
484
+ * @returns {Promise<ConsumerUserJWT>}
485
+ * @throws {CommonMessageException}
486
+ * @throws {ClientException}
487
+ */
488
+ login(payload: ConsumerUserLogin): Promise<ConsumerUserJWT>;
489
+ /**
490
+ * @returns {Promise<ConsumerAuthorizeResponse>}
491
+ * @throws {CommonMessageException}
492
+ * @throws {ClientException}
493
+ */
494
+ authorize(payload: ConsumerAuthorizeRequest): Promise<ConsumerAuthorizeResponse>;
495
+ /**
496
+ * @returns {Promise<ConsumerAuthorizeMeta>}
497
+ * @throws {CommonMessageException}
498
+ * @throws {ClientException}
499
+ */
500
+ getApp(): Promise<ConsumerAuthorizeMeta>;
501
+ /**
502
+ * @returns {Promise<CommonMessage>}
503
+ * @throws {CommonMessageException}
504
+ * @throws {ClientException}
505
+ */
506
+ activate(payload: ConsumerUserActivate): Promise<CommonMessage>;
507
+ /**
508
+ * @returns {Promise<CommonMessage>}
509
+ * @throws {CommonMessageException}
510
+ * @throws {ClientException}
511
+ */
512
+ changePassword(payload: BackendAccountChangePassword): Promise<CommonMessage>;
513
+ /**
514
+ * @returns {Promise<CommonMessage>}
515
+ * @throws {CommonMessageException}
516
+ * @throws {ClientException}
517
+ */
518
+ update(payload: ConsumerUserAccount): Promise<CommonMessage>;
519
+ /**
520
+ * @returns {Promise<ConsumerUserAccount>}
521
+ * @throws {CommonMessageException}
522
+ * @throws {ClientException}
523
+ */
524
+ get(): Promise<ConsumerUserAccount>;
525
+ }
526
+
527
+ /**
528
+ * ConsumerApp automatically generated by SDKgen please do not edit this file manually
529
+ * {@link https://sdkgen.app}
530
+ */
531
+
532
+ interface ConsumerApp {
533
+ id?: number;
534
+ userId?: number;
535
+ status?: number;
536
+ name?: string;
537
+ url?: string;
538
+ appKey?: string;
539
+ appSecret?: string;
540
+ date?: string;
541
+ scopes?: Array<string>;
542
+ metadata?: CommonMetadata;
543
+ }
544
+
545
+ /**
546
+ * CommonCollection automatically generated by SDKgen please do not edit this file manually
547
+ * {@link https://sdkgen.app}
548
+ */
549
+ interface CommonCollection<T> {
550
+ totalResults?: number;
551
+ startIndex?: number;
552
+ itemsPerPage?: number;
553
+ entry?: Array<T>;
554
+ }
555
+
556
+ /**
557
+ * ConsumerAppCollection automatically generated by SDKgen please do not edit this file manually
558
+ * {@link https://sdkgen.app}
559
+ */
560
+
561
+ interface ConsumerAppCollection extends CommonCollection<ConsumerApp> {
562
+ }
563
+
564
+ /**
565
+ * ConsumerAppCreate automatically generated by SDKgen please do not edit this file manually
566
+ * {@link https://sdkgen.app}
567
+ */
568
+ interface ConsumerAppCreate {
569
+ name?: string;
570
+ url?: string;
571
+ scopes?: Array<string>;
572
+ }
573
+
574
+ /**
575
+ * ConsumerAppUpdate automatically generated by SDKgen please do not edit this file manually
576
+ * {@link https://sdkgen.app}
577
+ */
578
+ interface ConsumerAppUpdate {
579
+ name?: string;
580
+ url?: string;
581
+ scopes?: Array<string>;
582
+ }
583
+
584
+ /**
585
+ * ConsumerAppTag automatically generated by SDKgen please do not edit this file manually
586
+ * {@link https://sdkgen.app}
587
+ */
588
+
589
+ declare class ConsumerAppTag extends TagAbstract {
590
+ /**
591
+ * @returns {Promise<CommonMessage>}
592
+ * @throws {CommonMessageException}
593
+ * @throws {ClientException}
594
+ */
595
+ delete(appId: string): Promise<CommonMessage>;
596
+ /**
597
+ * @returns {Promise<CommonMessage>}
598
+ * @throws {CommonMessageException}
599
+ * @throws {ClientException}
600
+ */
601
+ update(appId: string, payload: ConsumerAppUpdate): Promise<CommonMessage>;
602
+ /**
603
+ * @returns {Promise<ConsumerApp>}
604
+ * @throws {CommonMessageException}
605
+ * @throws {ClientException}
606
+ */
607
+ get(appId: string): Promise<ConsumerApp>;
608
+ /**
609
+ * @returns {Promise<CommonMessage>}
610
+ * @throws {CommonMessageException}
611
+ * @throws {ClientException}
612
+ */
613
+ create(payload: ConsumerAppCreate): Promise<CommonMessage>;
614
+ /**
615
+ * @returns {Promise<ConsumerAppCollection>}
616
+ * @throws {CommonMessageException}
617
+ * @throws {ClientException}
618
+ */
619
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerAppCollection>;
620
+ }
621
+
622
+ /**
623
+ * ConsumerEvent automatically generated by SDKgen please do not edit this file manually
624
+ * {@link https://sdkgen.app}
625
+ */
626
+
627
+ interface ConsumerEvent {
628
+ id?: number;
629
+ name?: string;
630
+ description?: string;
631
+ metadata?: CommonMetadata;
632
+ }
633
+
634
+ /**
635
+ * ConsumerEventCollection automatically generated by SDKgen please do not edit this file manually
636
+ * {@link https://sdkgen.app}
637
+ */
638
+
639
+ interface ConsumerEventCollection extends CommonCollection<ConsumerEvent> {
640
+ }
641
+
642
+ /**
643
+ * ConsumerEventTag automatically generated by SDKgen please do not edit this file manually
644
+ * {@link https://sdkgen.app}
645
+ */
646
+
647
+ declare class ConsumerEventTag extends TagAbstract {
648
+ /**
649
+ * @returns {Promise<ConsumerEventCollection>}
650
+ * @throws {CommonMessageException}
651
+ * @throws {ClientException}
652
+ */
653
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerEventCollection>;
654
+ }
655
+
656
+ /**
657
+ * ConsumerGrant automatically generated by SDKgen please do not edit this file manually
658
+ * {@link https://sdkgen.app}
659
+ */
660
+
661
+ interface ConsumerGrant {
662
+ id?: number;
663
+ app?: ConsumerApp;
664
+ createDate?: string;
665
+ }
666
+
667
+ /**
668
+ * ConsumerGrantCollection automatically generated by SDKgen please do not edit this file manually
669
+ * {@link https://sdkgen.app}
670
+ */
671
+
672
+ interface ConsumerGrantCollection extends CommonCollection<ConsumerGrant> {
673
+ }
674
+
675
+ /**
676
+ * ConsumerGrantTag automatically generated by SDKgen please do not edit this file manually
677
+ * {@link https://sdkgen.app}
678
+ */
679
+
680
+ declare class ConsumerGrantTag extends TagAbstract {
681
+ /**
682
+ * @returns {Promise<CommonMessage>}
683
+ * @throws {CommonMessageException}
684
+ * @throws {ClientException}
685
+ */
686
+ delete(grantId: string): Promise<CommonMessage>;
687
+ /**
688
+ * @returns {Promise<ConsumerGrantCollection>}
689
+ * @throws {CommonMessageException}
690
+ * @throws {ClientException}
691
+ */
692
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerGrantCollection>;
693
+ }
694
+
695
+ /**
696
+ * ConsumerIdentity automatically generated by SDKgen please do not edit this file manually
697
+ * {@link https://sdkgen.app}
698
+ */
699
+ interface ConsumerIdentity {
700
+ id?: number;
701
+ name?: string;
702
+ icon?: string;
703
+ redirect?: string;
704
+ }
705
+
706
+ /**
707
+ * ConsumerIdentityCollection automatically generated by SDKgen please do not edit this file manually
708
+ * {@link https://sdkgen.app}
709
+ */
710
+
711
+ interface ConsumerIdentityCollection extends CommonCollection<ConsumerIdentity> {
712
+ }
713
+
714
+ /**
715
+ * ConsumerIdentityTag automatically generated by SDKgen please do not edit this file manually
716
+ * {@link https://sdkgen.app}
717
+ */
718
+
719
+ declare class ConsumerIdentityTag extends TagAbstract {
720
+ /**
721
+ * @returns {Promise<Passthru>}
722
+ * @throws {CommonMessageException}
723
+ * @throws {ClientException}
724
+ */
725
+ redirect(identity: string): Promise<Passthru>;
726
+ /**
727
+ * @returns {Promise<Passthru>}
728
+ * @throws {CommonMessageException}
729
+ * @throws {ClientException}
730
+ */
731
+ exchange(identity: string): Promise<Passthru>;
732
+ /**
733
+ * @returns {Promise<ConsumerIdentityCollection>}
734
+ * @throws {CommonMessageException}
735
+ * @throws {ClientException}
736
+ */
737
+ getAll(appId?: number, appKey?: string): Promise<ConsumerIdentityCollection>;
738
+ }
739
+
740
+ /**
741
+ * ConsumerLog automatically generated by SDKgen please do not edit this file manually
742
+ * {@link https://sdkgen.app}
743
+ */
744
+ interface ConsumerLog {
745
+ id?: number;
746
+ appId?: number;
747
+ ip?: string;
748
+ userAgent?: string;
749
+ method?: string;
750
+ path?: string;
751
+ header?: string;
752
+ body?: string;
753
+ date?: string;
754
+ }
755
+
756
+ /**
757
+ * ConsumerLogCollection automatically generated by SDKgen please do not edit this file manually
758
+ * {@link https://sdkgen.app}
759
+ */
760
+
761
+ interface ConsumerLogCollection extends CommonCollection<ConsumerLog> {
762
+ }
763
+
764
+ /**
765
+ * ConsumerLogTag automatically generated by SDKgen please do not edit this file manually
766
+ * {@link https://sdkgen.app}
767
+ */
768
+
769
+ declare class ConsumerLogTag extends TagAbstract {
770
+ /**
771
+ * @returns {Promise<ConsumerLog>}
772
+ * @throws {CommonMessageException}
773
+ * @throws {ClientException}
774
+ */
775
+ get(logId: string): Promise<ConsumerLog>;
776
+ /**
777
+ * @returns {Promise<ConsumerLogCollection>}
778
+ * @throws {CommonMessageException}
779
+ * @throws {ClientException}
780
+ */
781
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerLogCollection>;
782
+ }
783
+
784
+ /**
785
+ * ConsumerPage automatically generated by SDKgen please do not edit this file manually
786
+ * {@link https://sdkgen.app}
787
+ */
788
+
789
+ interface ConsumerPage {
790
+ id?: number;
791
+ title?: string;
792
+ slug?: string;
793
+ content?: string;
794
+ metadata?: CommonMetadata;
795
+ }
796
+
797
+ /**
798
+ * ConsumerPageCollection automatically generated by SDKgen please do not edit this file manually
799
+ * {@link https://sdkgen.app}
800
+ */
801
+
802
+ interface ConsumerPageCollection extends CommonCollection<ConsumerPage> {
803
+ }
804
+
805
+ /**
806
+ * ConsumerPageTag automatically generated by SDKgen please do not edit this file manually
807
+ * {@link https://sdkgen.app}
808
+ */
809
+
810
+ declare class ConsumerPageTag extends TagAbstract {
811
+ /**
812
+ * @returns {Promise<ConsumerPage>}
813
+ * @throws {CommonMessageException}
814
+ * @throws {ClientException}
815
+ */
816
+ get(pageId: string): Promise<ConsumerPage>;
817
+ /**
818
+ * @returns {Promise<ConsumerPageCollection>}
819
+ * @throws {CommonMessageException}
820
+ * @throws {ClientException}
821
+ */
822
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerPageCollection>;
823
+ }
824
+
825
+ /**
826
+ * ConsumerPaymentCheckoutRequest automatically generated by SDKgen please do not edit this file manually
827
+ * {@link https://sdkgen.app}
828
+ */
829
+ interface ConsumerPaymentCheckoutRequest {
830
+ planId?: number;
831
+ returnUrl?: string;
832
+ }
833
+
834
+ /**
835
+ * ConsumerPaymentCheckoutResponse automatically generated by SDKgen please do not edit this file manually
836
+ * {@link https://sdkgen.app}
837
+ */
838
+ interface ConsumerPaymentCheckoutResponse {
839
+ approvalUrl?: string;
840
+ }
841
+
842
+ /**
843
+ * ConsumerPaymentPortalRequest automatically generated by SDKgen please do not edit this file manually
844
+ * {@link https://sdkgen.app}
845
+ */
846
+ interface ConsumerPaymentPortalRequest {
847
+ returnUrl?: string;
848
+ }
849
+
850
+ /**
851
+ * ConsumerPaymentPortalResponse automatically generated by SDKgen please do not edit this file manually
852
+ * {@link https://sdkgen.app}
853
+ */
854
+ interface ConsumerPaymentPortalResponse {
855
+ redirectUrl?: string;
856
+ }
857
+
858
+ /**
859
+ * ConsumerPaymentTag automatically generated by SDKgen please do not edit this file manually
860
+ * {@link https://sdkgen.app}
861
+ */
862
+
863
+ declare class ConsumerPaymentTag extends TagAbstract {
864
+ /**
865
+ * @returns {Promise<ConsumerPaymentCheckoutResponse>}
866
+ * @throws {CommonMessageException}
867
+ * @throws {ClientException}
868
+ */
869
+ checkout(provider: string, payload: ConsumerPaymentCheckoutRequest): Promise<ConsumerPaymentCheckoutResponse>;
870
+ /**
871
+ * @returns {Promise<ConsumerPaymentPortalResponse>}
872
+ * @throws {CommonMessageException}
873
+ * @throws {ClientException}
874
+ */
875
+ portal(provider: string, payload: ConsumerPaymentPortalRequest): Promise<ConsumerPaymentPortalResponse>;
876
+ }
877
+
878
+ /**
879
+ * ConsumerPlan automatically generated by SDKgen please do not edit this file manually
880
+ * {@link https://sdkgen.app}
881
+ */
882
+
883
+ interface ConsumerPlan {
884
+ id?: number;
885
+ name?: string;
886
+ description?: string;
887
+ price?: number;
888
+ points?: number;
889
+ period?: number;
890
+ metadata?: CommonMetadata;
891
+ }
892
+
893
+ /**
894
+ * ConsumerPlanCollection automatically generated by SDKgen please do not edit this file manually
895
+ * {@link https://sdkgen.app}
896
+ */
897
+
898
+ interface ConsumerPlanCollection extends CommonCollection<ConsumerPlan> {
899
+ }
900
+
901
+ /**
902
+ * ConsumerPlanTag automatically generated by SDKgen please do not edit this file manually
903
+ * {@link https://sdkgen.app}
904
+ */
905
+
906
+ declare class ConsumerPlanTag extends TagAbstract {
907
+ /**
908
+ * @returns {Promise<ConsumerPlan>}
909
+ * @throws {CommonMessageException}
910
+ * @throws {ClientException}
911
+ */
912
+ get(planId: string): Promise<ConsumerPlan>;
913
+ /**
914
+ * @returns {Promise<ConsumerPlanCollection>}
915
+ * @throws {CommonMessageException}
916
+ * @throws {ClientException}
917
+ */
918
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerPlanCollection>;
919
+ }
920
+
921
+ /**
922
+ * ConsumerScopeCollection automatically generated by SDKgen please do not edit this file manually
923
+ * {@link https://sdkgen.app}
924
+ */
925
+
926
+ interface ConsumerScopeCollection extends CommonCollection<ConsumerScope> {
927
+ }
928
+
929
+ /**
930
+ * ConsumerScopeTag automatically generated by SDKgen please do not edit this file manually
931
+ * {@link https://sdkgen.app}
932
+ */
933
+
934
+ declare class ConsumerScopeTag extends TagAbstract {
935
+ /**
936
+ * @returns {Promise<ConsumerScopeCollection>}
937
+ * @throws {CommonMessageException}
938
+ * @throws {ClientException}
939
+ */
940
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerScopeCollection>;
941
+ }
942
+
943
+ /**
944
+ * ConsumerToken automatically generated by SDKgen please do not edit this file manually
945
+ * {@link https://sdkgen.app}
946
+ */
947
+ interface ConsumerToken {
948
+ id?: number;
949
+ status?: number;
950
+ name?: string;
951
+ scopes?: Array<string>;
952
+ ip?: string;
953
+ expire?: string;
954
+ date?: string;
955
+ }
956
+
957
+ /**
958
+ * ConsumerTokenAccessToken automatically generated by SDKgen please do not edit this file manually
959
+ * {@link https://sdkgen.app}
960
+ */
961
+ interface ConsumerTokenAccessToken {
962
+ access_token?: string;
963
+ token_type?: string;
964
+ expires_in?: number;
965
+ refresh_token?: string;
966
+ scope?: string;
967
+ }
968
+
969
+ /**
970
+ * ConsumerTokenCollection automatically generated by SDKgen please do not edit this file manually
971
+ * {@link https://sdkgen.app}
972
+ */
973
+
974
+ interface ConsumerTokenCollection extends CommonCollection<ConsumerToken> {
975
+ }
976
+
977
+ /**
978
+ * ConsumerTokenCreate automatically generated by SDKgen please do not edit this file manually
979
+ * {@link https://sdkgen.app}
980
+ */
981
+ interface ConsumerTokenCreate {
982
+ name?: string;
983
+ scopes?: Array<string>;
984
+ expire?: string;
985
+ }
986
+
987
+ /**
988
+ * ConsumerTokenUpdate automatically generated by SDKgen please do not edit this file manually
989
+ * {@link https://sdkgen.app}
990
+ */
991
+ interface ConsumerTokenUpdate {
992
+ name?: string;
993
+ expire?: string;
994
+ }
995
+
996
+ /**
997
+ * ConsumerTokenTag automatically generated by SDKgen please do not edit this file manually
998
+ * {@link https://sdkgen.app}
999
+ */
1000
+
1001
+ declare class ConsumerTokenTag extends TagAbstract {
1002
+ /**
1003
+ * @returns {Promise<CommonMessage>}
1004
+ * @throws {CommonMessageException}
1005
+ * @throws {ClientException}
1006
+ */
1007
+ delete(tokenId: string): Promise<CommonMessage>;
1008
+ /**
1009
+ * @returns {Promise<ConsumerTokenAccessToken>}
1010
+ * @throws {CommonMessageException}
1011
+ * @throws {ClientException}
1012
+ */
1013
+ update(tokenId: string, payload: ConsumerTokenUpdate): Promise<ConsumerTokenAccessToken>;
1014
+ /**
1015
+ * @returns {Promise<ConsumerToken>}
1016
+ * @throws {CommonMessageException}
1017
+ * @throws {ClientException}
1018
+ */
1019
+ get(tokenId: string): Promise<ConsumerToken>;
1020
+ /**
1021
+ * @returns {Promise<ConsumerTokenAccessToken>}
1022
+ * @throws {CommonMessageException}
1023
+ * @throws {ClientException}
1024
+ */
1025
+ create(payload: ConsumerTokenCreate): Promise<ConsumerTokenAccessToken>;
1026
+ /**
1027
+ * @returns {Promise<ConsumerTokenCollection>}
1028
+ * @throws {CommonMessageException}
1029
+ * @throws {ClientException}
1030
+ */
1031
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerTokenCollection>;
1032
+ }
1033
+
1034
+ /**
1035
+ * ConsumerTransaction automatically generated by SDKgen please do not edit this file manually
1036
+ * {@link https://sdkgen.app}
1037
+ */
1038
+
1039
+ interface ConsumerTransaction {
1040
+ id?: number;
1041
+ userId?: number;
1042
+ planId?: number;
1043
+ plan?: ConsumerPlan;
1044
+ transactionId?: string;
1045
+ amount?: number;
1046
+ points?: number;
1047
+ periodStart?: string;
1048
+ periodEnd?: string;
1049
+ insertDate?: string;
1050
+ }
1051
+
1052
+ /**
1053
+ * ConsumerTransactionCollection automatically generated by SDKgen please do not edit this file manually
1054
+ * {@link https://sdkgen.app}
1055
+ */
1056
+
1057
+ interface ConsumerTransactionCollection extends CommonCollection<ConsumerTransaction> {
1058
+ }
1059
+
1060
+ /**
1061
+ * ConsumerTransactionTag automatically generated by SDKgen please do not edit this file manually
1062
+ * {@link https://sdkgen.app}
1063
+ */
1064
+
1065
+ declare class ConsumerTransactionTag extends TagAbstract {
1066
+ /**
1067
+ * @returns {Promise<ConsumerTransaction>}
1068
+ * @throws {CommonMessageException}
1069
+ * @throws {ClientException}
1070
+ */
1071
+ get(transactionId: string): Promise<ConsumerTransaction>;
1072
+ /**
1073
+ * @returns {Promise<ConsumerTransactionCollection>}
1074
+ * @throws {CommonMessageException}
1075
+ * @throws {ClientException}
1076
+ */
1077
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerTransactionCollection>;
1078
+ }
1079
+
1080
+ /**
1081
+ * ConsumerWebhookResponse automatically generated by SDKgen please do not edit this file manually
1082
+ * {@link https://sdkgen.app}
1083
+ */
1084
+ interface ConsumerWebhookResponse {
1085
+ status?: number;
1086
+ code?: number;
1087
+ attempts?: string;
1088
+ executeDate?: string;
1089
+ }
1090
+
1091
+ /**
1092
+ * ConsumerWebhook automatically generated by SDKgen please do not edit this file manually
1093
+ * {@link https://sdkgen.app}
1094
+ */
1095
+
1096
+ interface ConsumerWebhook {
1097
+ id?: number;
1098
+ status?: number;
1099
+ event?: string;
1100
+ name?: string;
1101
+ endpoint?: string;
1102
+ responses?: Array<ConsumerWebhookResponse>;
1103
+ }
1104
+
1105
+ /**
1106
+ * ConsumerWebhookCollection automatically generated by SDKgen please do not edit this file manually
1107
+ * {@link https://sdkgen.app}
1108
+ */
1109
+
1110
+ interface ConsumerWebhookCollection extends CommonCollection<ConsumerWebhook> {
1111
+ }
1112
+
1113
+ /**
1114
+ * ConsumerWebhookCreate automatically generated by SDKgen please do not edit this file manually
1115
+ * {@link https://sdkgen.app}
1116
+ */
1117
+ interface ConsumerWebhookCreate {
1118
+ event?: string;
1119
+ name?: string;
1120
+ endpoint?: string;
1121
+ }
1122
+
1123
+ /**
1124
+ * ConsumerWebhookUpdate automatically generated by SDKgen please do not edit this file manually
1125
+ * {@link https://sdkgen.app}
1126
+ */
1127
+ interface ConsumerWebhookUpdate {
1128
+ event?: string;
1129
+ name?: string;
1130
+ endpoint?: string;
1131
+ }
1132
+
1133
+ /**
1134
+ * ConsumerWebhookTag automatically generated by SDKgen please do not edit this file manually
1135
+ * {@link https://sdkgen.app}
1136
+ */
1137
+
1138
+ declare class ConsumerWebhookTag extends TagAbstract {
1139
+ /**
1140
+ * @returns {Promise<CommonMessage>}
1141
+ * @throws {CommonMessageException}
1142
+ * @throws {ClientException}
1143
+ */
1144
+ delete(webhookId: string): Promise<CommonMessage>;
1145
+ /**
1146
+ * @returns {Promise<CommonMessage>}
1147
+ * @throws {CommonMessageException}
1148
+ * @throws {ClientException}
1149
+ */
1150
+ update(webhookId: string, payload: ConsumerWebhookUpdate): Promise<CommonMessage>;
1151
+ /**
1152
+ * @returns {Promise<ConsumerWebhook>}
1153
+ * @throws {CommonMessageException}
1154
+ * @throws {ClientException}
1155
+ */
1156
+ get(webhookId: string): Promise<ConsumerWebhook>;
1157
+ /**
1158
+ * @returns {Promise<CommonMessage>}
1159
+ * @throws {CommonMessageException}
1160
+ * @throws {ClientException}
1161
+ */
1162
+ create(payload: ConsumerWebhookCreate): Promise<CommonMessage>;
1163
+ /**
1164
+ * @returns {Promise<ConsumerWebhookCollection>}
1165
+ * @throws {CommonMessageException}
1166
+ * @throws {ClientException}
1167
+ */
1168
+ getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerWebhookCollection>;
1169
+ }
1170
+
1171
+ /**
1172
+ * ConsumerTag automatically generated by SDKgen please do not edit this file manually
1173
+ * {@link https://sdkgen.app}
1174
+ */
1175
+
1176
+ declare class ConsumerTag extends TagAbstract {
1177
+ identity(): ConsumerIdentityTag;
1178
+ account(): ConsumerAccountTag;
1179
+ transaction(): ConsumerTransactionTag;
1180
+ webhook(): ConsumerWebhookTag;
1181
+ token(): ConsumerTokenTag;
1182
+ scope(): ConsumerScopeTag;
1183
+ plan(): ConsumerPlanTag;
1184
+ payment(): ConsumerPaymentTag;
1185
+ page(): ConsumerPageTag;
1186
+ log(): ConsumerLogTag;
1187
+ grant(): ConsumerGrantTag;
1188
+ event(): ConsumerEventTag;
1189
+ app(): ConsumerAppTag;
1190
+ }
1191
+
1192
+ /**
1193
+ * BackendUserUpdate automatically generated by SDKgen please do not edit this file manually
1194
+ * {@link https://sdkgen.app}
1195
+ */
1196
+
1197
+ interface BackendUserUpdate extends BackendUser {
1198
+ }
1199
+
1200
+ /**
1201
+ * BackendAccountTag automatically generated by SDKgen please do not edit this file manually
1202
+ * {@link https://sdkgen.app}
1203
+ */
1204
+
1205
+ declare class BackendAccountTag extends TagAbstract {
1206
+ /**
1207
+ * @returns {Promise<CommonMessage>}
1208
+ * @throws {CommonMessageException}
1209
+ * @throws {ClientException}
1210
+ */
1211
+ changePassword(payload: BackendAccountChangePassword): Promise<CommonMessage>;
1212
+ /**
1213
+ * @returns {Promise<CommonMessage>}
1214
+ * @throws {CommonMessageException}
1215
+ * @throws {ClientException}
1216
+ */
1217
+ update(payload: BackendUserUpdate): Promise<CommonMessage>;
1218
+ /**
1219
+ * @returns {Promise<BackendUser>}
1220
+ * @throws {CommonMessageException}
1221
+ * @throws {ClientException}
1222
+ */
1223
+ get(): Promise<BackendUser>;
1224
+ }
1225
+
1226
+ /**
1227
+ * BackendActionConfig automatically generated by SDKgen please do not edit this file manually
1228
+ * {@link https://sdkgen.app}
1229
+ */
1230
+ interface BackendActionConfig extends Record<string, any> {
1231
+ }
1232
+
1233
+ /**
1234
+ * BackendAction automatically generated by SDKgen please do not edit this file manually
1235
+ * {@link https://sdkgen.app}
1236
+ */
1237
+
1238
+ interface BackendAction {
1239
+ id?: number;
1240
+ status?: number;
1241
+ name?: string;
1242
+ class?: string;
1243
+ async?: boolean;
1244
+ config?: BackendActionConfig;
1245
+ metadata?: CommonMetadata;
1246
+ }
1247
+
1248
+ /**
1249
+ * BackendActionCollection automatically generated by SDKgen please do not edit this file manually
1250
+ * {@link https://sdkgen.app}
1251
+ */
1252
+
1253
+ interface BackendActionCollection extends CommonCollection<BackendAction> {
1254
+ }
1255
+
1256
+ /**
1257
+ * BackendActionCreate automatically generated by SDKgen please do not edit this file manually
1258
+ * {@link https://sdkgen.app}
1259
+ */
1260
+
1261
+ interface BackendActionCreate extends BackendAction {
1262
+ }
1263
+
1264
+ /**
1265
+ * BackendActionExecuteRequestBody automatically generated by SDKgen please do not edit this file manually
1266
+ * {@link https://sdkgen.app}
1267
+ */
1268
+ interface BackendActionExecuteRequestBody extends Record<string, any> {
1269
+ }
1270
+
1271
+ /**
1272
+ * BackendActionExecuteRequest automatically generated by SDKgen please do not edit this file manually
1273
+ * {@link https://sdkgen.app}
1274
+ */
1275
+
1276
+ interface BackendActionExecuteRequest {
1277
+ method?: string;
1278
+ uriFragments?: string;
1279
+ parameters?: string;
1280
+ headers?: string;
1281
+ body?: BackendActionExecuteRequestBody;
1282
+ }
1283
+
1284
+ /**
1285
+ * BackendActionExecuteResponseHeaders automatically generated by SDKgen please do not edit this file manually
1286
+ * {@link https://sdkgen.app}
1287
+ */
1288
+ interface BackendActionExecuteResponseHeaders extends Record<string, string> {
1289
+ }
1290
+
1291
+ /**
1292
+ * BackendActionExecuteResponseBody automatically generated by SDKgen please do not edit this file manually
1293
+ * {@link https://sdkgen.app}
1294
+ */
1295
+ interface BackendActionExecuteResponseBody extends Record<string, any> {
1296
+ }
1297
+
1298
+ /**
1299
+ * BackendActionExecuteResponse automatically generated by SDKgen please do not edit this file manually
1300
+ * {@link https://sdkgen.app}
1301
+ */
1302
+
1303
+ interface BackendActionExecuteResponse {
1304
+ statusCode?: number;
1305
+ headers?: BackendActionExecuteResponseHeaders;
1306
+ body?: BackendActionExecuteResponseBody;
1307
+ }
1308
+
1309
+ /**
1310
+ * BackendActionIndexEntry automatically generated by SDKgen please do not edit this file manually
1311
+ * {@link https://sdkgen.app}
1312
+ */
1313
+ interface BackendActionIndexEntry {
1314
+ name?: string;
1315
+ class?: string;
1316
+ }
1317
+
1318
+ /**
1319
+ * BackendActionIndex automatically generated by SDKgen please do not edit this file manually
1320
+ * {@link https://sdkgen.app}
1321
+ */
1322
+
1323
+ interface BackendActionIndex {
1324
+ actions?: Array<BackendActionIndexEntry>;
1325
+ }
1326
+
1327
+ /**
1328
+ * BackendActionUpdate automatically generated by SDKgen please do not edit this file manually
1329
+ * {@link https://sdkgen.app}
1330
+ */
1331
+
1332
+ interface BackendActionUpdate extends BackendAction {
1333
+ }
1334
+
1335
+ /**
1336
+ * CommonFormElement automatically generated by SDKgen please do not edit this file manually
1337
+ * {@link https://sdkgen.app}
1338
+ */
1339
+ interface CommonFormElement {
1340
+ type?: string;
1341
+ element?: string;
1342
+ name?: string;
1343
+ title?: string;
1344
+ help?: string;
1345
+ }
1346
+
1347
+ /**
1348
+ * CommonFormContainer automatically generated by SDKgen please do not edit this file manually
1349
+ * {@link https://sdkgen.app}
1350
+ */
1351
+
1352
+ interface CommonFormContainer {
1353
+ element?: Array<CommonFormElement>;
1354
+ }
1355
+
1356
+ /**
1357
+ * BackendActionTag automatically generated by SDKgen please do not edit this file manually
1358
+ * {@link https://sdkgen.app}
1359
+ */
1360
+
1361
+ declare class BackendActionTag extends TagAbstract {
1362
+ /**
1363
+ * @returns {Promise<CommonMessage>}
1364
+ * @throws {CommonMessageException}
1365
+ * @throws {ClientException}
1366
+ */
1367
+ delete(actionId: string): Promise<CommonMessage>;
1368
+ /**
1369
+ * @returns {Promise<CommonMessage>}
1370
+ * @throws {CommonMessageException}
1371
+ * @throws {ClientException}
1372
+ */
1373
+ update(actionId: string, payload: BackendActionUpdate): Promise<CommonMessage>;
1374
+ /**
1375
+ * @returns {Promise<BackendAction>}
1376
+ * @throws {CommonMessageException}
1377
+ * @throws {ClientException}
1378
+ */
1379
+ get(actionId: string): Promise<BackendAction>;
1380
+ /**
1381
+ * @returns {Promise<BackendActionExecuteResponse>}
1382
+ * @throws {CommonMessageException}
1383
+ * @throws {ClientException}
1384
+ */
1385
+ execute(actionId: string, payload: BackendActionExecuteRequest): Promise<BackendActionExecuteResponse>;
1386
+ /**
1387
+ * @returns {Promise<CommonFormContainer>}
1388
+ * @throws {CommonMessageException}
1389
+ * @throws {ClientException}
1390
+ */
1391
+ getForm(_class?: string): Promise<CommonFormContainer>;
1392
+ /**
1393
+ * @returns {Promise<BackendActionIndex>}
1394
+ * @throws {CommonMessageException}
1395
+ * @throws {ClientException}
1396
+ */
1397
+ getClasses(): Promise<BackendActionIndex>;
1398
+ /**
1399
+ * @returns {Promise<CommonMessage>}
1400
+ * @throws {CommonMessageException}
1401
+ * @throws {ClientException}
1402
+ */
1403
+ create(payload: BackendActionCreate): Promise<CommonMessage>;
1404
+ /**
1405
+ * @returns {Promise<BackendActionCollection>}
1406
+ * @throws {CommonMessageException}
1407
+ * @throws {ClientException}
1408
+ */
1409
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendActionCollection>;
1410
+ }
1411
+
1412
+ /**
1413
+ * BackendAppCollection automatically generated by SDKgen please do not edit this file manually
1414
+ * {@link https://sdkgen.app}
1415
+ */
1416
+
1417
+ interface BackendAppCollection extends CommonCollection<BackendApp> {
1418
+ }
1419
+
1420
+ /**
1421
+ * BackendAppCreate automatically generated by SDKgen please do not edit this file manually
1422
+ * {@link https://sdkgen.app}
1423
+ */
1424
+
1425
+ interface BackendAppCreate extends BackendApp {
1426
+ }
1427
+
1428
+ /**
1429
+ * BackendAppUpdate automatically generated by SDKgen please do not edit this file manually
1430
+ * {@link https://sdkgen.app}
1431
+ */
1432
+
1433
+ interface BackendAppUpdate extends BackendApp {
1434
+ }
1435
+
1436
+ /**
1437
+ * BackendAppTag automatically generated by SDKgen please do not edit this file manually
1438
+ * {@link https://sdkgen.app}
1439
+ */
1440
+
1441
+ declare class BackendAppTag extends TagAbstract {
1442
+ /**
1443
+ * @returns {Promise<CommonMessage>}
1444
+ * @throws {CommonMessageException}
1445
+ * @throws {ClientException}
1446
+ */
1447
+ deleteToken(appId: string, tokenId: string): Promise<CommonMessage>;
1448
+ /**
1449
+ * @returns {Promise<CommonMessage>}
1450
+ * @throws {CommonMessageException}
1451
+ * @throws {ClientException}
1452
+ */
1453
+ delete(appId: string): Promise<CommonMessage>;
1454
+ /**
1455
+ * @returns {Promise<CommonMessage>}
1456
+ * @throws {CommonMessageException}
1457
+ * @throws {ClientException}
1458
+ */
1459
+ update(appId: string, payload: BackendAppUpdate): Promise<CommonMessage>;
1460
+ /**
1461
+ * @returns {Promise<BackendApp>}
1462
+ * @throws {CommonMessageException}
1463
+ * @throws {ClientException}
1464
+ */
1465
+ get(appId: string): Promise<BackendApp>;
1466
+ /**
1467
+ * @returns {Promise<CommonMessage>}
1468
+ * @throws {CommonMessageException}
1469
+ * @throws {ClientException}
1470
+ */
1471
+ create(payload: BackendAppCreate): Promise<CommonMessage>;
1472
+ /**
1473
+ * @returns {Promise<BackendAppCollection>}
1474
+ * @throws {CommonMessageException}
1475
+ * @throws {ClientException}
1476
+ */
1477
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendAppCollection>;
1478
+ }
1479
+
1480
+ /**
1481
+ * BackendAuditObject automatically generated by SDKgen please do not edit this file manually
1482
+ * {@link https://sdkgen.app}
1483
+ */
1484
+ /**
1485
+ * A key value object containing the changes
1486
+ */
1487
+ interface BackendAuditObject extends Record<string, any> {
1488
+ }
1489
+
1490
+ /**
1491
+ * BackendAudit automatically generated by SDKgen please do not edit this file manually
1492
+ * {@link https://sdkgen.app}
1493
+ */
1494
+
1495
+ interface BackendAudit {
1496
+ id?: number;
1497
+ app?: BackendApp;
1498
+ user?: BackendUser;
1499
+ event?: string;
1500
+ ip?: string;
1501
+ message?: string;
1502
+ content?: BackendAuditObject;
1503
+ date?: string;
1504
+ }
1505
+
1506
+ /**
1507
+ * BackendAuditCollection automatically generated by SDKgen please do not edit this file manually
1508
+ * {@link https://sdkgen.app}
1509
+ */
1510
+
1511
+ interface BackendAuditCollection extends CommonCollection<BackendAudit> {
1512
+ }
1513
+
1514
+ /**
1515
+ * BackendAuditTag automatically generated by SDKgen please do not edit this file manually
1516
+ * {@link https://sdkgen.app}
1517
+ */
1518
+
1519
+ declare class BackendAuditTag extends TagAbstract {
1520
+ /**
1521
+ * @returns {Promise<BackendAudit>}
1522
+ * @throws {CommonMessageException}
1523
+ * @throws {ClientException}
1524
+ */
1525
+ get(auditId: string): Promise<BackendAudit>;
1526
+ /**
1527
+ * @returns {Promise<BackendAuditCollection>}
1528
+ * @throws {CommonMessageException}
1529
+ * @throws {ClientException}
1530
+ */
1531
+ getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, appId?: number, userId?: number, event?: string, ip?: string, message?: string): Promise<BackendAuditCollection>;
1532
+ }
1533
+
1534
+ /**
1535
+ * BackendBackupExport automatically generated by SDKgen please do not edit this file manually
1536
+ * {@link https://sdkgen.app}
1537
+ */
1538
+ interface BackendBackupExport {
1539
+ export?: string;
1540
+ }
1541
+
1542
+ /**
1543
+ * BackendBackupImport automatically generated by SDKgen please do not edit this file manually
1544
+ * {@link https://sdkgen.app}
1545
+ */
1546
+ interface BackendBackupImport {
1547
+ import?: string;
1548
+ }
1549
+
1550
+ /**
1551
+ * BackendBackupImportResult automatically generated by SDKgen please do not edit this file manually
1552
+ * {@link https://sdkgen.app}
1553
+ */
1554
+ interface BackendBackupImportResult {
1555
+ success?: boolean;
1556
+ message?: string;
1557
+ logs?: Array<string>;
1558
+ }
1559
+
1560
+ /**
1561
+ * BackendBackupTag automatically generated by SDKgen please do not edit this file manually
1562
+ * {@link https://sdkgen.app}
1563
+ */
1564
+
1565
+ declare class BackendBackupTag extends TagAbstract {
1566
+ /**
1567
+ * @returns {Promise<BackendBackupImportResult>}
1568
+ * @throws {CommonMessageException}
1569
+ * @throws {ClientException}
1570
+ */
1571
+ import(payload: BackendBackupImport): Promise<BackendBackupImportResult>;
1572
+ /**
1573
+ * @returns {Promise<BackendBackupExport>}
1574
+ * @throws {CommonMessageException}
1575
+ * @throws {ClientException}
1576
+ */
1577
+ export(): Promise<BackendBackupExport>;
1578
+ }
1579
+
1580
+ /**
1581
+ * BackendCategory automatically generated by SDKgen please do not edit this file manually
1582
+ * {@link https://sdkgen.app}
1583
+ */
1584
+ interface BackendCategory {
1585
+ id?: number;
1586
+ name?: string;
1587
+ }
1588
+
1589
+ /**
1590
+ * BackendCategoryCollection automatically generated by SDKgen please do not edit this file manually
1591
+ * {@link https://sdkgen.app}
1592
+ */
1593
+
1594
+ interface BackendCategoryCollection extends CommonCollection<BackendCategory> {
1595
+ }
1596
+
1597
+ /**
1598
+ * BackendCategoryCreate automatically generated by SDKgen please do not edit this file manually
1599
+ * {@link https://sdkgen.app}
1600
+ */
1601
+
1602
+ interface BackendCategoryCreate extends BackendCategory {
1603
+ }
1604
+
1605
+ /**
1606
+ * BackendCategoryUpdate automatically generated by SDKgen please do not edit this file manually
1607
+ * {@link https://sdkgen.app}
1608
+ */
1609
+
1610
+ interface BackendCategoryUpdate extends BackendCategory {
1611
+ }
1612
+
1613
+ /**
1614
+ * BackendCategoryTag automatically generated by SDKgen please do not edit this file manually
1615
+ * {@link https://sdkgen.app}
1616
+ */
1617
+
1618
+ declare class BackendCategoryTag extends TagAbstract {
1619
+ /**
1620
+ * @returns {Promise<CommonMessage>}
1621
+ * @throws {CommonMessageException}
1622
+ * @throws {ClientException}
1623
+ */
1624
+ delete(categoryId: string): Promise<CommonMessage>;
1625
+ /**
1626
+ * @returns {Promise<CommonMessage>}
1627
+ * @throws {CommonMessageException}
1628
+ * @throws {ClientException}
1629
+ */
1630
+ update(categoryId: string, payload: BackendCategoryUpdate): Promise<CommonMessage>;
1631
+ /**
1632
+ * @returns {Promise<BackendCategory>}
1633
+ * @throws {CommonMessageException}
1634
+ * @throws {ClientException}
1635
+ */
1636
+ get(categoryId: string): Promise<BackendCategory>;
1637
+ /**
1638
+ * @returns {Promise<CommonMessage>}
1639
+ * @throws {CommonMessageException}
1640
+ * @throws {ClientException}
1641
+ */
1642
+ create(payload: BackendCategoryCreate): Promise<CommonMessage>;
1643
+ /**
1644
+ * @returns {Promise<BackendCategoryCollection>}
1645
+ * @throws {CommonMessageException}
1646
+ * @throws {ClientException}
1647
+ */
1648
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendCategoryCollection>;
1649
+ }
1650
+
1651
+ /**
1652
+ * BackendConfig automatically generated by SDKgen please do not edit this file manually
1653
+ * {@link https://sdkgen.app}
1654
+ */
1655
+ interface BackendConfig {
1656
+ id?: number;
1657
+ type?: number;
1658
+ name?: string;
1659
+ description?: string;
1660
+ value?: any;
1661
+ }
1662
+
1663
+ /**
1664
+ * BackendConfigCollection automatically generated by SDKgen please do not edit this file manually
1665
+ * {@link https://sdkgen.app}
1666
+ */
1667
+
1668
+ interface BackendConfigCollection extends CommonCollection<BackendConfig> {
1669
+ }
1670
+
1671
+ /**
1672
+ * BackendConfigUpdate automatically generated by SDKgen please do not edit this file manually
1673
+ * {@link https://sdkgen.app}
1674
+ */
1675
+
1676
+ interface BackendConfigUpdate extends BackendConfig {
1677
+ }
1678
+
1679
+ /**
1680
+ * BackendConfigTag automatically generated by SDKgen please do not edit this file manually
1681
+ * {@link https://sdkgen.app}
1682
+ */
1683
+
1684
+ declare class BackendConfigTag extends TagAbstract {
1685
+ /**
1686
+ * @returns {Promise<CommonMessage>}
1687
+ * @throws {CommonMessageException}
1688
+ * @throws {ClientException}
1689
+ */
1690
+ update(configId: string, payload: BackendConfigUpdate): Promise<CommonMessage>;
1691
+ /**
1692
+ * @returns {Promise<BackendConfig>}
1693
+ * @throws {CommonMessageException}
1694
+ * @throws {ClientException}
1695
+ */
1696
+ get(configId: string): Promise<BackendConfig>;
1697
+ /**
1698
+ * @returns {Promise<BackendConfigCollection>}
1699
+ * @throws {CommonMessageException}
1700
+ * @throws {ClientException}
1701
+ */
1702
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendConfigCollection>;
1703
+ }
1704
+
1705
+ /**
1706
+ * BackendConnectionConfig automatically generated by SDKgen please do not edit this file manually
1707
+ * {@link https://sdkgen.app}
1708
+ */
1709
+ interface BackendConnectionConfig extends Record<string, any> {
1710
+ }
1711
+
1712
+ /**
1713
+ * BackendConnection automatically generated by SDKgen please do not edit this file manually
1714
+ * {@link https://sdkgen.app}
1715
+ */
1716
+
1717
+ interface BackendConnection {
1718
+ id?: number;
1719
+ name?: string;
1720
+ class?: string;
1721
+ oauth2?: boolean;
1722
+ config?: BackendConnectionConfig;
1723
+ metadata?: CommonMetadata;
1724
+ }
1725
+
1726
+ /**
1727
+ * BackendConnectionCollection automatically generated by SDKgen please do not edit this file manually
1728
+ * {@link https://sdkgen.app}
1729
+ */
1730
+
1731
+ interface BackendConnectionCollection extends CommonCollection<BackendConnection> {
1732
+ }
1733
+
1734
+ /**
1735
+ * BackendConnectionCreate automatically generated by SDKgen please do not edit this file manually
1736
+ * {@link https://sdkgen.app}
1737
+ */
1738
+
1739
+ interface BackendConnectionCreate extends BackendConnection {
1740
+ }
1741
+
1742
+ /**
1743
+ * BackendConnectionIndexEntry automatically generated by SDKgen please do not edit this file manually
1744
+ * {@link https://sdkgen.app}
1745
+ */
1746
+ interface BackendConnectionIndexEntry {
1747
+ name?: string;
1748
+ class?: string;
1749
+ }
1750
+
1751
+ /**
1752
+ * BackendConnectionIndex automatically generated by SDKgen please do not edit this file manually
1753
+ * {@link https://sdkgen.app}
1754
+ */
1755
+
1756
+ interface BackendConnectionIndex {
1757
+ connections?: Array<BackendConnectionIndexEntry>;
1758
+ }
1759
+
1760
+ /**
1761
+ * BackendConnectionIntrospectionEntities automatically generated by SDKgen please do not edit this file manually
1762
+ * {@link https://sdkgen.app}
1763
+ */
1764
+ interface BackendConnectionIntrospectionEntities {
1765
+ entities?: Array<string>;
1766
+ }
1767
+
1768
+ /**
1769
+ * BackendConnectionIntrospectionEntityRow automatically generated by SDKgen please do not edit this file manually
1770
+ * {@link https://sdkgen.app}
1771
+ */
1772
+ interface BackendConnectionIntrospectionEntityRow {
1773
+ values?: Array<string>;
1774
+ }
1775
+
1776
+ /**
1777
+ * BackendConnectionIntrospectionEntity automatically generated by SDKgen please do not edit this file manually
1778
+ * {@link https://sdkgen.app}
1779
+ */
1780
+
1781
+ interface BackendConnectionIntrospectionEntity {
1782
+ name?: string;
1783
+ headers?: Array<string>;
1784
+ rows?: Array<BackendConnectionIntrospectionEntityRow>;
1785
+ }
1786
+
1787
+ /**
1788
+ * BackendConnectionRedirectResponse automatically generated by SDKgen please do not edit this file manually
1789
+ * {@link https://sdkgen.app}
1790
+ */
1791
+ interface BackendConnectionRedirectResponse {
1792
+ redirectUri?: string;
1793
+ }
1794
+
1795
+ /**
1796
+ * BackendConnectionUpdate automatically generated by SDKgen please do not edit this file manually
1797
+ * {@link https://sdkgen.app}
1798
+ */
1799
+
1800
+ interface BackendConnectionUpdate extends BackendConnection {
1801
+ }
1802
+
1803
+ /**
1804
+ * BackendConnectionTag automatically generated by SDKgen please do not edit this file manually
1805
+ * {@link https://sdkgen.app}
1806
+ */
1807
+
1808
+ declare class BackendConnectionTag extends TagAbstract {
1809
+ /**
1810
+ * @returns {Promise<BackendConnectionIntrospectionEntity>}
1811
+ * @throws {CommonMessageException}
1812
+ * @throws {ClientException}
1813
+ */
1814
+ getIntrospectionForEntity(connectionId: string, entity: string): Promise<BackendConnectionIntrospectionEntity>;
1815
+ /**
1816
+ * @returns {Promise<BackendConnectionIntrospectionEntities>}
1817
+ * @throws {CommonMessageException}
1818
+ * @throws {ClientException}
1819
+ */
1820
+ getIntrospection(connectionId: string): Promise<BackendConnectionIntrospectionEntities>;
1821
+ /**
1822
+ * @returns {Promise<BackendConnectionRedirectResponse>}
1823
+ * @throws {CommonMessageException}
1824
+ * @throws {ClientException}
1825
+ */
1826
+ getRedirect(connectionId: string): Promise<BackendConnectionRedirectResponse>;
1827
+ /**
1828
+ * @returns {Promise<CommonMessage>}
1829
+ * @throws {CommonMessageException}
1830
+ * @throws {ClientException}
1831
+ */
1832
+ delete(connectionId: string): Promise<CommonMessage>;
1833
+ /**
1834
+ * @returns {Promise<CommonMessage>}
1835
+ * @throws {CommonMessageException}
1836
+ * @throws {ClientException}
1837
+ */
1838
+ update(connectionId: string, payload: BackendConnectionUpdate): Promise<CommonMessage>;
1839
+ /**
1840
+ * @returns {Promise<BackendConnection>}
1841
+ * @throws {CommonMessageException}
1842
+ * @throws {ClientException}
1843
+ */
1844
+ get(connectionId: string): Promise<BackendConnection>;
1845
+ /**
1846
+ * @returns {Promise<CommonFormContainer>}
1847
+ * @throws {CommonMessageException}
1848
+ * @throws {ClientException}
1849
+ */
1850
+ getForm(_class?: string): Promise<CommonFormContainer>;
1851
+ /**
1852
+ * @returns {Promise<BackendConnectionIndex>}
1853
+ * @throws {CommonMessageException}
1854
+ * @throws {ClientException}
1855
+ */
1856
+ getClasses(): Promise<BackendConnectionIndex>;
1857
+ /**
1858
+ * @returns {Promise<CommonMessage>}
1859
+ * @throws {CommonMessageException}
1860
+ * @throws {ClientException}
1861
+ */
1862
+ create(payload: BackendConnectionCreate): Promise<CommonMessage>;
1863
+ /**
1864
+ * @returns {Promise<BackendConnectionCollection>}
1865
+ * @throws {CommonMessageException}
1866
+ * @throws {ClientException}
1867
+ */
1868
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendConnectionCollection>;
1869
+ }
1870
+
1871
+ /**
1872
+ * BackendCronjobError automatically generated by SDKgen please do not edit this file manually
1873
+ * {@link https://sdkgen.app}
1874
+ */
1875
+ interface BackendCronjobError {
1876
+ message?: string;
1877
+ trace?: string;
1878
+ file?: string;
1879
+ line?: number;
1880
+ }
1881
+
1882
+ /**
1883
+ * BackendCronjob automatically generated by SDKgen please do not edit this file manually
1884
+ * {@link https://sdkgen.app}
1885
+ */
1886
+
1887
+ interface BackendCronjob {
1888
+ id?: number;
1889
+ name?: string;
1890
+ cron?: string;
1891
+ action?: string;
1892
+ executeDate?: string;
1893
+ exitCode?: number;
1894
+ metadata?: CommonMetadata;
1895
+ errors?: Array<BackendCronjobError>;
1896
+ }
1897
+
1898
+ /**
1899
+ * BackendCronjobCollection automatically generated by SDKgen please do not edit this file manually
1900
+ * {@link https://sdkgen.app}
1901
+ */
1902
+
1903
+ interface BackendCronjobCollection extends CommonCollection<BackendCronjob> {
1904
+ }
1905
+
1906
+ /**
1907
+ * BackendCronjobCreate automatically generated by SDKgen please do not edit this file manually
1908
+ * {@link https://sdkgen.app}
1909
+ */
1910
+
1911
+ interface BackendCronjobCreate extends BackendCronjob {
1912
+ }
1913
+
1914
+ /**
1915
+ * BackendCronjobUpdate automatically generated by SDKgen please do not edit this file manually
1916
+ * {@link https://sdkgen.app}
1917
+ */
1918
+
1919
+ interface BackendCronjobUpdate extends BackendCronjob {
1920
+ }
1921
+
1922
+ /**
1923
+ * BackendCronjobTag automatically generated by SDKgen please do not edit this file manually
1924
+ * {@link https://sdkgen.app}
1925
+ */
1926
+
1927
+ declare class BackendCronjobTag extends TagAbstract {
1928
+ /**
1929
+ * @returns {Promise<CommonMessage>}
1930
+ * @throws {CommonMessageException}
1931
+ * @throws {ClientException}
1932
+ */
1933
+ delete(cronjobId: string): Promise<CommonMessage>;
1934
+ /**
1935
+ * @returns {Promise<CommonMessage>}
1936
+ * @throws {CommonMessageException}
1937
+ * @throws {ClientException}
1938
+ */
1939
+ update(cronjobId: string, payload: BackendCronjobUpdate): Promise<CommonMessage>;
1940
+ /**
1941
+ * @returns {Promise<BackendCronjob>}
1942
+ * @throws {CommonMessageException}
1943
+ * @throws {ClientException}
1944
+ */
1945
+ get(cronjobId: string): Promise<BackendCronjob>;
1946
+ /**
1947
+ * @returns {Promise<CommonMessage>}
1948
+ * @throws {CommonMessageException}
1949
+ * @throws {ClientException}
1950
+ */
1951
+ create(payload: BackendCronjobCreate): Promise<CommonMessage>;
1952
+ /**
1953
+ * @returns {Promise<BackendCronjobCollection>}
1954
+ * @throws {CommonMessageException}
1955
+ * @throws {ClientException}
1956
+ */
1957
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendCronjobCollection>;
1958
+ }
1959
+
1960
+ /**
1961
+ * BackendStatisticChartData automatically generated by SDKgen please do not edit this file manually
1962
+ * {@link https://sdkgen.app}
1963
+ */
1964
+ interface BackendStatisticChartData extends Record<string, any> {
1965
+ }
1966
+
1967
+ /**
1968
+ * BackendStatisticChart automatically generated by SDKgen please do not edit this file manually
1969
+ * {@link https://sdkgen.app}
1970
+ */
1971
+
1972
+ interface BackendStatisticChart {
1973
+ labels?: Array<string>;
1974
+ data?: Array<BackendStatisticChartData>;
1975
+ series?: Array<string>;
1976
+ }
1977
+
1978
+ /**
1979
+ * BackendDashboard automatically generated by SDKgen please do not edit this file manually
1980
+ * {@link https://sdkgen.app}
1981
+ */
1982
+
1983
+ interface BackendDashboard {
1984
+ errorsPerOperation?: BackendStatisticChart;
1985
+ incomingRequests?: BackendStatisticChart;
1986
+ incomingTransactions?: BackendStatisticChart;
1987
+ mostUsedOperations?: BackendStatisticChart;
1988
+ timePerOperation?: BackendStatisticChart;
1989
+ testCoverage?: BackendStatisticChart;
1990
+ mostUsedActivities?: BackendStatisticChart;
1991
+ activitiesPerUser?: BackendStatisticChart;
1992
+ userRegistrations?: BackendStatisticChart;
1993
+ }
1994
+
1995
+ /**
1996
+ * BackendDashboardTag automatically generated by SDKgen please do not edit this file manually
1997
+ * {@link https://sdkgen.app}
1998
+ */
1999
+
2000
+ declare class BackendDashboardTag extends TagAbstract {
2001
+ /**
2002
+ * @returns {Promise<BackendDashboard>}
2003
+ * @throws {CommonMessageException}
2004
+ * @throws {ClientException}
2005
+ */
2006
+ getAll(): Promise<BackendDashboard>;
2007
+ }
2008
+
2009
+ /**
2010
+ * BackendDatabaseConnections automatically generated by SDKgen please do not edit this file manually
2011
+ * {@link https://sdkgen.app}
2012
+ */
2013
+ interface BackendDatabaseConnections {
2014
+ connections?: Array<string>;
2015
+ }
2016
+
2017
+ /**
2018
+ * BackendDatabaseRow automatically generated by SDKgen please do not edit this file manually
2019
+ * {@link https://sdkgen.app}
2020
+ */
2021
+ interface BackendDatabaseRow extends Record<string, any> {
2022
+ }
2023
+
2024
+ /**
2025
+ * BackendDatabaseRows automatically generated by SDKgen please do not edit this file manually
2026
+ * {@link https://sdkgen.app}
2027
+ */
2028
+
2029
+ interface BackendDatabaseRows extends CommonCollection<BackendDatabaseRow> {
2030
+ }
2031
+
2032
+ /**
2033
+ * BackendDatabaseTableColumn automatically generated by SDKgen please do not edit this file manually
2034
+ * {@link https://sdkgen.app}
2035
+ */
2036
+ interface BackendDatabaseTableColumn {
2037
+ name?: string;
2038
+ type?: string;
2039
+ length?: number;
2040
+ precision?: number;
2041
+ scale?: number;
2042
+ unsigned?: boolean;
2043
+ fixed?: boolean;
2044
+ notNull?: boolean;
2045
+ autoIncrement?: boolean;
2046
+ default?: any;
2047
+ comment?: string;
2048
+ }
2049
+
2050
+ /**
2051
+ * BackendDatabaseTableIndex automatically generated by SDKgen please do not edit this file manually
2052
+ * {@link https://sdkgen.app}
2053
+ */
2054
+ interface BackendDatabaseTableIndex {
2055
+ name?: string;
2056
+ unique?: boolean;
2057
+ columns?: Array<string>;
2058
+ }
2059
+
2060
+ /**
2061
+ * BackendDatabaseTableForeignKeyConstraint automatically generated by SDKgen please do not edit this file manually
2062
+ * {@link https://sdkgen.app}
2063
+ */
2064
+ interface BackendDatabaseTableForeignKeyConstraint {
2065
+ name?: string;
2066
+ foreignTable?: string;
2067
+ localColumnNames?: Array<string>;
2068
+ foreignColumnNames?: Array<string>;
2069
+ }
2070
+
2071
+ /**
2072
+ * BackendDatabaseTable automatically generated by SDKgen please do not edit this file manually
2073
+ * {@link https://sdkgen.app}
2074
+ */
2075
+
2076
+ interface BackendDatabaseTable {
2077
+ name?: string;
2078
+ columns?: Array<BackendDatabaseTableColumn>;
2079
+ primaryKey?: string;
2080
+ indexes?: Array<BackendDatabaseTableIndex>;
2081
+ foreignKeys?: Array<BackendDatabaseTableForeignKeyConstraint>;
2082
+ }
2083
+
2084
+ /**
2085
+ * BackendDatabaseTables automatically generated by SDKgen please do not edit this file manually
2086
+ * {@link https://sdkgen.app}
2087
+ */
2088
+ interface BackendDatabaseTables {
2089
+ tables?: Array<string>;
2090
+ }
2091
+
2092
+ /**
2093
+ * BackendDatabaseTag automatically generated by SDKgen please do not edit this file manually
2094
+ * {@link https://sdkgen.app}
2095
+ */
2096
+
2097
+ declare class BackendDatabaseTag extends TagAbstract {
2098
+ /**
2099
+ * @returns {Promise<CommonMessage>}
2100
+ * @throws {CommonMessageException}
2101
+ * @throws {ClientException}
2102
+ */
2103
+ deleteRow(connectionId: string, tableName: string, id: string): Promise<CommonMessage>;
2104
+ /**
2105
+ * @returns {Promise<CommonMessage>}
2106
+ * @throws {CommonMessageException}
2107
+ * @throws {ClientException}
2108
+ */
2109
+ updateRow(connectionId: string, tableName: string, id: string, payload: BackendDatabaseRow): Promise<CommonMessage>;
2110
+ /**
2111
+ * @returns {Promise<CommonMessage>}
2112
+ * @throws {CommonMessageException}
2113
+ * @throws {ClientException}
2114
+ */
2115
+ createRow(connectionId: string, tableName: string, payload: BackendDatabaseRow): Promise<CommonMessage>;
2116
+ /**
2117
+ * @returns {Promise<BackendDatabaseRow>}
2118
+ * @throws {CommonMessageException}
2119
+ * @throws {ClientException}
2120
+ */
2121
+ getRow(connectionId: string, tableName: string, id: string): Promise<BackendDatabaseRow>;
2122
+ /**
2123
+ * @returns {Promise<BackendDatabaseRows>}
2124
+ * @throws {CommonMessageException}
2125
+ * @throws {ClientException}
2126
+ */
2127
+ getRows(connectionId: string, tableName: string, startIndex?: number, count?: number, filterBy?: string, filterOp?: string, filterValue?: string, sortBy?: string, sortOrder?: string, columns?: string): Promise<BackendDatabaseRows>;
2128
+ /**
2129
+ * @returns {Promise<CommonMessage>}
2130
+ * @throws {CommonMessageException}
2131
+ * @throws {ClientException}
2132
+ */
2133
+ deleteTable(connectionId: string, tableName: string): Promise<CommonMessage>;
2134
+ /**
2135
+ * @returns {Promise<CommonMessage>}
2136
+ * @throws {CommonMessageException}
2137
+ * @throws {ClientException}
2138
+ */
2139
+ updateTable(connectionId: string, tableName: string, payload: BackendDatabaseTable): Promise<CommonMessage>;
2140
+ /**
2141
+ * @returns {Promise<CommonMessage>}
2142
+ * @throws {CommonMessageException}
2143
+ * @throws {ClientException}
2144
+ */
2145
+ createTable(connectionId: string, payload: BackendDatabaseTable): Promise<CommonMessage>;
2146
+ /**
2147
+ * @returns {Promise<BackendDatabaseTable>}
2148
+ * @throws {CommonMessageException}
2149
+ * @throws {ClientException}
2150
+ */
2151
+ getTable(connectionId: string, tableName: string): Promise<BackendDatabaseTable>;
2152
+ /**
2153
+ * @returns {Promise<BackendDatabaseTables>}
2154
+ * @throws {CommonMessageException}
2155
+ * @throws {ClientException}
2156
+ */
2157
+ getTables(connectionId: string): Promise<BackendDatabaseTables>;
2158
+ /**
2159
+ * @returns {Promise<BackendDatabaseConnections>}
2160
+ * @throws {CommonMessageException}
2161
+ * @throws {ClientException}
2162
+ */
2163
+ getConnections(): Promise<BackendDatabaseConnections>;
2164
+ }
2165
+
2166
+ /**
2167
+ * BackendEvent automatically generated by SDKgen please do not edit this file manually
2168
+ * {@link https://sdkgen.app}
2169
+ */
2170
+
2171
+ interface BackendEvent {
2172
+ id?: number;
2173
+ name?: string;
2174
+ description?: string;
2175
+ schema?: string;
2176
+ metadata?: CommonMetadata;
2177
+ }
2178
+
2179
+ /**
2180
+ * BackendEventCollection automatically generated by SDKgen please do not edit this file manually
2181
+ * {@link https://sdkgen.app}
2182
+ */
2183
+
2184
+ interface BackendEventCollection extends CommonCollection<BackendEvent> {
2185
+ }
2186
+
2187
+ /**
2188
+ * BackendEventCreate automatically generated by SDKgen please do not edit this file manually
2189
+ * {@link https://sdkgen.app}
2190
+ */
2191
+
2192
+ interface BackendEventCreate extends BackendEvent {
2193
+ }
2194
+
2195
+ /**
2196
+ * BackendEventUpdate automatically generated by SDKgen please do not edit this file manually
2197
+ * {@link https://sdkgen.app}
2198
+ */
2199
+
2200
+ interface BackendEventUpdate extends BackendEvent {
2201
+ }
2202
+
2203
+ /**
2204
+ * BackendEventTag automatically generated by SDKgen please do not edit this file manually
2205
+ * {@link https://sdkgen.app}
2206
+ */
2207
+
2208
+ declare class BackendEventTag extends TagAbstract {
2209
+ /**
2210
+ * @returns {Promise<CommonMessage>}
2211
+ * @throws {CommonMessageException}
2212
+ * @throws {ClientException}
2213
+ */
2214
+ delete(eventId: string): Promise<CommonMessage>;
2215
+ /**
2216
+ * @returns {Promise<CommonMessage>}
2217
+ * @throws {CommonMessageException}
2218
+ * @throws {ClientException}
2219
+ */
2220
+ update(eventId: string, payload: BackendEventUpdate): Promise<CommonMessage>;
2221
+ /**
2222
+ * @returns {Promise<BackendEvent>}
2223
+ * @throws {CommonMessageException}
2224
+ * @throws {ClientException}
2225
+ */
2226
+ get(eventId: string): Promise<BackendEvent>;
2227
+ /**
2228
+ * @returns {Promise<CommonMessage>}
2229
+ * @throws {CommonMessageException}
2230
+ * @throws {ClientException}
2231
+ */
2232
+ create(payload: BackendEventCreate): Promise<CommonMessage>;
2233
+ /**
2234
+ * @returns {Promise<BackendEventCollection>}
2235
+ * @throws {CommonMessageException}
2236
+ * @throws {ClientException}
2237
+ */
2238
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendEventCollection>;
2239
+ }
2240
+
2241
+ /**
2242
+ * BackendGeneratorIndexProvider automatically generated by SDKgen please do not edit this file manually
2243
+ * {@link https://sdkgen.app}
2244
+ */
2245
+ interface BackendGeneratorIndexProvider {
2246
+ name?: string;
2247
+ class?: string;
2248
+ }
2249
+
2250
+ /**
2251
+ * BackendGeneratorIndexProviders automatically generated by SDKgen please do not edit this file manually
2252
+ * {@link https://sdkgen.app}
2253
+ */
2254
+
2255
+ interface BackendGeneratorIndexProviders {
2256
+ providers?: Array<BackendGeneratorIndexProvider>;
2257
+ }
2258
+
2259
+ /**
2260
+ * BackendGeneratorProviderConfig automatically generated by SDKgen please do not edit this file manually
2261
+ * {@link https://sdkgen.app}
2262
+ */
2263
+ interface BackendGeneratorProviderConfig extends Record<string, any> {
2264
+ }
2265
+
2266
+ /**
2267
+ * BackendGeneratorProvider automatically generated by SDKgen please do not edit this file manually
2268
+ * {@link https://sdkgen.app}
2269
+ */
2270
+
2271
+ interface BackendGeneratorProvider {
2272
+ path?: string;
2273
+ scopes?: Array<string>;
2274
+ public?: boolean;
2275
+ config?: BackendGeneratorProviderConfig;
2276
+ }
2277
+
2278
+ /**
2279
+ * BackendSchemaSource automatically generated by SDKgen please do not edit this file manually
2280
+ * {@link https://sdkgen.app}
2281
+ */
2282
+ /**
2283
+ * Contains the TypeSchema specification
2284
+ */
2285
+ interface BackendSchemaSource extends Record<string, any> {
2286
+ }
2287
+
2288
+ /**
2289
+ * BackendSchemaForm automatically generated by SDKgen please do not edit this file manually
2290
+ * {@link https://sdkgen.app}
2291
+ */
2292
+ /**
2293
+ * Contains a UI vocabulary to describe the UI of the schema
2294
+ */
2295
+ interface BackendSchemaForm extends Record<string, any> {
2296
+ }
2297
+
2298
+ /**
2299
+ * BackendSchema automatically generated by SDKgen please do not edit this file manually
2300
+ * {@link https://sdkgen.app}
2301
+ */
2302
+
2303
+ interface BackendSchema {
2304
+ id?: number;
2305
+ status?: number;
2306
+ name?: string;
2307
+ source?: BackendSchemaSource;
2308
+ form?: BackendSchemaForm;
2309
+ metadata?: CommonMetadata;
2310
+ }
2311
+
2312
+ /**
2313
+ * BackendOperationSchema automatically generated by SDKgen please do not edit this file manually
2314
+ * {@link https://sdkgen.app}
2315
+ */
2316
+ interface BackendOperationSchema {
2317
+ description?: string;
2318
+ type?: string;
2319
+ format?: string;
2320
+ enum?: string;
2321
+ }
2322
+
2323
+ /**
2324
+ * BackendOperationParameters automatically generated by SDKgen please do not edit this file manually
2325
+ * {@link https://sdkgen.app}
2326
+ */
2327
+
2328
+ interface BackendOperationParameters extends Record<string, BackendOperationSchema> {
2329
+ }
2330
+
2331
+ /**
2332
+ * BackendOperationThrows automatically generated by SDKgen please do not edit this file manually
2333
+ * {@link https://sdkgen.app}
2334
+ */
2335
+ interface BackendOperationThrows extends Record<string, string> {
2336
+ }
2337
+
2338
+ /**
2339
+ * BackendOperation automatically generated by SDKgen please do not edit this file manually
2340
+ * {@link https://sdkgen.app}
2341
+ */
2342
+
2343
+ interface BackendOperation {
2344
+ id?: number;
2345
+ status?: number;
2346
+ active?: boolean;
2347
+ public?: boolean;
2348
+ stability?: number;
2349
+ description?: string;
2350
+ httpMethod?: string;
2351
+ httpPath?: string;
2352
+ httpCode?: number;
2353
+ name?: string;
2354
+ parameters?: BackendOperationParameters;
2355
+ incoming?: string;
2356
+ outgoing?: string;
2357
+ throws?: BackendOperationThrows;
2358
+ action?: string;
2359
+ costs?: number;
2360
+ scopes?: Array<string>;
2361
+ metadata?: CommonMetadata;
2362
+ }
2363
+
2364
+ /**
2365
+ * BackendGeneratorProviderChangelog automatically generated by SDKgen please do not edit this file manually
2366
+ * {@link https://sdkgen.app}
2367
+ */
2368
+
2369
+ interface BackendGeneratorProviderChangelog {
2370
+ schemas?: Array<BackendSchema>;
2371
+ actions?: Array<BackendAction>;
2372
+ operations?: Array<BackendOperation>;
2373
+ }
2374
+
2375
+ /**
2376
+ * BackendGeneratorTag automatically generated by SDKgen please do not edit this file manually
2377
+ * {@link https://sdkgen.app}
2378
+ */
2379
+
2380
+ declare class BackendGeneratorTag extends TagAbstract {
2381
+ /**
2382
+ * @returns {Promise<BackendGeneratorProviderChangelog>}
2383
+ * @throws {CommonMessageException}
2384
+ * @throws {ClientException}
2385
+ */
2386
+ getChangelog(provider: string, payload: BackendGeneratorProviderConfig): Promise<BackendGeneratorProviderChangelog>;
2387
+ /**
2388
+ * @returns {Promise<CommonMessage>}
2389
+ * @throws {CommonMessageException}
2390
+ * @throws {ClientException}
2391
+ */
2392
+ executeProvider(provider: string, payload: BackendGeneratorProvider): Promise<CommonMessage>;
2393
+ /**
2394
+ * @returns {Promise<CommonFormContainer>}
2395
+ * @throws {CommonMessageException}
2396
+ * @throws {ClientException}
2397
+ */
2398
+ getForm(provider: string): Promise<CommonFormContainer>;
2399
+ /**
2400
+ * @returns {Promise<BackendGeneratorIndexProviders>}
2401
+ * @throws {CommonMessageException}
2402
+ * @throws {ClientException}
2403
+ */
2404
+ getClasses(): Promise<BackendGeneratorIndexProviders>;
2405
+ }
2406
+
2407
+ /**
2408
+ * BackendIdentityConfig automatically generated by SDKgen please do not edit this file manually
2409
+ * {@link https://sdkgen.app}
2410
+ */
2411
+ interface BackendIdentityConfig extends Record<string, any> {
2412
+ }
2413
+
2414
+ /**
2415
+ * BackendIdentity automatically generated by SDKgen please do not edit this file manually
2416
+ * {@link https://sdkgen.app}
2417
+ */
2418
+
2419
+ interface BackendIdentity {
2420
+ id?: number;
2421
+ appId?: number;
2422
+ roleId?: number;
2423
+ name?: string;
2424
+ icon?: string;
2425
+ class?: string;
2426
+ config?: BackendIdentityConfig;
2427
+ allowCreate?: boolean;
2428
+ }
2429
+
2430
+ /**
2431
+ * BackendIdentityCollection automatically generated by SDKgen please do not edit this file manually
2432
+ * {@link https://sdkgen.app}
2433
+ */
2434
+
2435
+ interface BackendIdentityCollection extends CommonCollection<BackendIdentity> {
2436
+ }
2437
+
2438
+ /**
2439
+ * BackendIdentityCreate automatically generated by SDKgen please do not edit this file manually
2440
+ * {@link https://sdkgen.app}
2441
+ */
2442
+
2443
+ interface BackendIdentityCreate extends BackendIdentity {
2444
+ }
2445
+
2446
+ /**
2447
+ * BackendIdentityIndexEntry automatically generated by SDKgen please do not edit this file manually
2448
+ * {@link https://sdkgen.app}
2449
+ */
2450
+ interface BackendIdentityIndexEntry {
2451
+ name?: string;
2452
+ class?: string;
2453
+ }
2454
+
2455
+ /**
2456
+ * BackendIdentityIndex automatically generated by SDKgen please do not edit this file manually
2457
+ * {@link https://sdkgen.app}
2458
+ */
2459
+
2460
+ interface BackendIdentityIndex {
2461
+ providers?: Array<BackendIdentityIndexEntry>;
2462
+ }
2463
+
2464
+ /**
2465
+ * BackendIdentityUpdate automatically generated by SDKgen please do not edit this file manually
2466
+ * {@link https://sdkgen.app}
2467
+ */
2468
+
2469
+ interface BackendIdentityUpdate extends BackendIdentity {
2470
+ }
2471
+
2472
+ /**
2473
+ * BackendIdentityTag automatically generated by SDKgen please do not edit this file manually
2474
+ * {@link https://sdkgen.app}
2475
+ */
2476
+
2477
+ declare class BackendIdentityTag extends TagAbstract {
2478
+ /**
2479
+ * @returns {Promise<CommonMessage>}
2480
+ * @throws {CommonMessageException}
2481
+ * @throws {ClientException}
2482
+ */
2483
+ delete(identityId: string): Promise<CommonMessage>;
2484
+ /**
2485
+ * @returns {Promise<CommonMessage>}
2486
+ * @throws {CommonMessageException}
2487
+ * @throws {ClientException}
2488
+ */
2489
+ update(identityId: string, payload: BackendIdentityUpdate): Promise<CommonMessage>;
2490
+ /**
2491
+ * @returns {Promise<BackendIdentity>}
2492
+ * @throws {CommonMessageException}
2493
+ * @throws {ClientException}
2494
+ */
2495
+ get(identityId: string): Promise<BackendIdentity>;
2496
+ /**
2497
+ * @returns {Promise<CommonFormContainer>}
2498
+ * @throws {CommonMessageException}
2499
+ * @throws {ClientException}
2500
+ */
2501
+ getForm(_class?: string): Promise<CommonFormContainer>;
2502
+ /**
2503
+ * @returns {Promise<BackendIdentityIndex>}
2504
+ * @throws {CommonMessageException}
2505
+ * @throws {ClientException}
2506
+ */
2507
+ getClasses(): Promise<BackendIdentityIndex>;
2508
+ /**
2509
+ * @returns {Promise<CommonMessage>}
2510
+ * @throws {CommonMessageException}
2511
+ * @throws {ClientException}
2512
+ */
2513
+ create(payload: BackendIdentityCreate): Promise<CommonMessage>;
2514
+ /**
2515
+ * @returns {Promise<BackendIdentityCollection>}
2516
+ * @throws {CommonMessageException}
2517
+ * @throws {ClientException}
2518
+ */
2519
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendIdentityCollection>;
2520
+ }
2521
+
2522
+ /**
2523
+ * BackendLogError automatically generated by SDKgen please do not edit this file manually
2524
+ * {@link https://sdkgen.app}
2525
+ */
2526
+ interface BackendLogError {
2527
+ id?: number;
2528
+ message?: number;
2529
+ trace?: string;
2530
+ file?: string;
2531
+ line?: number;
2532
+ }
2533
+
2534
+ /**
2535
+ * BackendLog automatically generated by SDKgen please do not edit this file manually
2536
+ * {@link https://sdkgen.app}
2537
+ */
2538
+
2539
+ interface BackendLog {
2540
+ id?: number;
2541
+ ip?: string;
2542
+ userAgent?: string;
2543
+ method?: string;
2544
+ path?: string;
2545
+ header?: string;
2546
+ body?: string;
2547
+ date?: string;
2548
+ errors?: Array<BackendLogError>;
2549
+ }
2550
+
2551
+ /**
2552
+ * BackendLogCollection automatically generated by SDKgen please do not edit this file manually
2553
+ * {@link https://sdkgen.app}
2554
+ */
2555
+
2556
+ interface BackendLogCollection extends CommonCollection<BackendLog> {
2557
+ }
2558
+
2559
+ /**
2560
+ * BackendLogErrorCollection automatically generated by SDKgen please do not edit this file manually
2561
+ * {@link https://sdkgen.app}
2562
+ */
2563
+
2564
+ interface BackendLogErrorCollection extends CommonCollection<BackendLogError> {
2565
+ }
2566
+
2567
+ /**
2568
+ * BackendLogTag automatically generated by SDKgen please do not edit this file manually
2569
+ * {@link https://sdkgen.app}
2570
+ */
2571
+
2572
+ declare class BackendLogTag extends TagAbstract {
2573
+ /**
2574
+ * @returns {Promise<BackendLog>}
2575
+ * @throws {CommonMessageException}
2576
+ * @throws {ClientException}
2577
+ */
2578
+ get(logId: string): Promise<BackendLog>;
2579
+ /**
2580
+ * @returns {Promise<BackendLogCollection>}
2581
+ * @throws {CommonMessageException}
2582
+ * @throws {ClientException}
2583
+ */
2584
+ getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, routeId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendLogCollection>;
2585
+ /**
2586
+ * @returns {Promise<BackendLogError>}
2587
+ * @throws {CommonMessageException}
2588
+ * @throws {ClientException}
2589
+ */
2590
+ getError(errorId: string): Promise<BackendLogError>;
2591
+ /**
2592
+ * @returns {Promise<BackendLogErrorCollection>}
2593
+ * @throws {CommonMessageException}
2594
+ * @throws {ClientException}
2595
+ */
2596
+ getAllErrors(startIndex?: number, count?: number, search?: string): Promise<BackendLogErrorCollection>;
2597
+ }
2598
+
2599
+ /**
2600
+ * MarketplaceUser automatically generated by SDKgen please do not edit this file manually
2601
+ * {@link https://sdkgen.app}
2602
+ */
2603
+ interface MarketplaceUser {
2604
+ id?: number;
2605
+ name?: string;
2606
+ verified?: boolean;
2607
+ }
2608
+
2609
+ /**
2610
+ * MarketplaceObject automatically generated by SDKgen please do not edit this file manually
2611
+ * {@link https://sdkgen.app}
2612
+ */
2613
+
2614
+ /**
2615
+ * Base class of all objects on the marketplace
2616
+ */
2617
+ interface MarketplaceObject {
2618
+ id?: number;
2619
+ name?: string;
2620
+ author?: MarketplaceUser;
2621
+ version?: string;
2622
+ icon?: string;
2623
+ summary?: string;
2624
+ description?: string;
2625
+ cost?: number;
2626
+ updateDate?: string;
2627
+ insertDate?: string;
2628
+ }
2629
+
2630
+ /**
2631
+ * MarketplaceActionConfig automatically generated by SDKgen please do not edit this file manually
2632
+ * {@link https://sdkgen.app}
2633
+ */
2634
+ interface MarketplaceActionConfig extends Record<string, any> {
2635
+ }
2636
+
2637
+ /**
2638
+ * MarketplaceAction automatically generated by SDKgen please do not edit this file manually
2639
+ * {@link https://sdkgen.app}
2640
+ */
2641
+
2642
+ interface MarketplaceAction extends MarketplaceObject {
2643
+ class?: string;
2644
+ config?: MarketplaceActionConfig;
2645
+ }
2646
+
2647
+ /**
2648
+ * MarketplaceCollection automatically generated by SDKgen please do not edit this file manually
2649
+ * {@link https://sdkgen.app}
2650
+ */
2651
+ interface MarketplaceCollection<T> {
2652
+ totalResults?: number;
2653
+ startIndex?: number;
2654
+ itemsPerPage?: number;
2655
+ entry?: Array<T>;
2656
+ }
2657
+
2658
+ /**
2659
+ * MarketplaceActionCollection automatically generated by SDKgen please do not edit this file manually
2660
+ * {@link https://sdkgen.app}
2661
+ */
2662
+
2663
+ interface MarketplaceActionCollection extends MarketplaceCollection<MarketplaceAction> {
2664
+ }
2665
+
2666
+ /**
2667
+ * MarketplaceInstall automatically generated by SDKgen please do not edit this file manually
2668
+ * {@link https://sdkgen.app}
2669
+ */
2670
+ /**
2671
+ * Installs an object from the marketplace
2672
+ */
2673
+ interface MarketplaceInstall {
2674
+ name?: string;
2675
+ }
2676
+
2677
+ /**
2678
+ * MarketplaceMessage automatically generated by SDKgen please do not edit this file manually
2679
+ * {@link https://sdkgen.app}
2680
+ */
2681
+ interface MarketplaceMessage {
2682
+ success?: boolean;
2683
+ message?: string;
2684
+ }
2685
+
2686
+ /**
2687
+ * BackendMarketplaceActionTag automatically generated by SDKgen please do not edit this file manually
2688
+ * {@link https://sdkgen.app}
2689
+ */
2690
+
2691
+ declare class BackendMarketplaceActionTag extends TagAbstract {
2692
+ /**
2693
+ * @returns {Promise<CommonMessage>}
2694
+ * @throws {CommonMessageException}
2695
+ * @throws {ClientException}
2696
+ */
2697
+ upgrade(user: string, name: string): Promise<CommonMessage>;
2698
+ /**
2699
+ * @returns {Promise<MarketplaceAction>}
2700
+ * @throws {MarketplaceMessageException}
2701
+ * @throws {ClientException}
2702
+ */
2703
+ get(user: string, name: string): Promise<MarketplaceAction>;
2704
+ /**
2705
+ * @returns {Promise<MarketplaceMessage>}
2706
+ * @throws {MarketplaceMessageException}
2707
+ * @throws {ClientException}
2708
+ */
2709
+ install(payload: MarketplaceInstall): Promise<MarketplaceMessage>;
2710
+ /**
2711
+ * @returns {Promise<MarketplaceActionCollection>}
2712
+ * @throws {MarketplaceMessageException}
2713
+ * @throws {ClientException}
2714
+ */
2715
+ getAll(startIndex?: number, query?: string): Promise<MarketplaceActionCollection>;
2716
+ }
2717
+
2718
+ /**
2719
+ * MarketplaceApp automatically generated by SDKgen please do not edit this file manually
2720
+ * {@link https://sdkgen.app}
2721
+ */
2722
+
2723
+ interface MarketplaceApp extends MarketplaceObject {
2724
+ scopes?: Array<string>;
2725
+ downloadUrl?: string;
2726
+ hash?: string;
2727
+ }
2728
+
2729
+ /**
2730
+ * MarketplaceAppCollection automatically generated by SDKgen please do not edit this file manually
2731
+ * {@link https://sdkgen.app}
2732
+ */
2733
+
2734
+ interface MarketplaceAppCollection extends MarketplaceCollection<MarketplaceApp> {
2735
+ }
2736
+
2737
+ /**
2738
+ * BackendMarketplaceAppTag automatically generated by SDKgen please do not edit this file manually
2739
+ * {@link https://sdkgen.app}
2740
+ */
2741
+
2742
+ declare class BackendMarketplaceAppTag extends TagAbstract {
2743
+ /**
2744
+ * @returns {Promise<MarketplaceMessage>}
2745
+ * @throws {MarketplaceMessageException}
2746
+ * @throws {ClientException}
2747
+ */
2748
+ upgrade(user: string, name: string): Promise<MarketplaceMessage>;
2749
+ /**
2750
+ * @returns {Promise<MarketplaceApp>}
2751
+ * @throws {MarketplaceMessageException}
2752
+ * @throws {ClientException}
2753
+ */
2754
+ get(user: string, name: string): Promise<MarketplaceApp>;
2755
+ /**
2756
+ * @returns {Promise<MarketplaceMessage>}
2757
+ * @throws {MarketplaceMessageException}
2758
+ * @throws {ClientException}
2759
+ */
2760
+ install(payload: MarketplaceInstall): Promise<MarketplaceMessage>;
2761
+ /**
2762
+ * @returns {Promise<MarketplaceAppCollection>}
2763
+ * @throws {MarketplaceMessageException}
2764
+ * @throws {ClientException}
2765
+ */
2766
+ getAll(startIndex?: number, query?: string): Promise<MarketplaceAppCollection>;
2767
+ }
2768
+
2769
+ /**
2770
+ * BackendMarketplaceTag automatically generated by SDKgen please do not edit this file manually
2771
+ * {@link https://sdkgen.app}
2772
+ */
2773
+
2774
+ declare class BackendMarketplaceTag extends TagAbstract {
2775
+ app(): BackendMarketplaceAppTag;
2776
+ action(): BackendMarketplaceActionTag;
2777
+ }
2778
+
2779
+ /**
2780
+ * BackendOperationCollection automatically generated by SDKgen please do not edit this file manually
2781
+ * {@link https://sdkgen.app}
2782
+ */
2783
+
2784
+ interface BackendOperationCollection extends CommonCollection<BackendOperation> {
2785
+ }
2786
+
2787
+ /**
2788
+ * BackendOperationCreate automatically generated by SDKgen please do not edit this file manually
2789
+ * {@link https://sdkgen.app}
2790
+ */
2791
+
2792
+ interface BackendOperationCreate extends BackendOperation {
2793
+ }
2794
+
2795
+ /**
2796
+ * BackendOperationUpdate automatically generated by SDKgen please do not edit this file manually
2797
+ * {@link https://sdkgen.app}
2798
+ */
2799
+
2800
+ interface BackendOperationUpdate extends BackendOperation {
2801
+ }
2802
+
2803
+ /**
2804
+ * BackendOperationTag automatically generated by SDKgen please do not edit this file manually
2805
+ * {@link https://sdkgen.app}
2806
+ */
2807
+
2808
+ declare class BackendOperationTag extends TagAbstract {
2809
+ /**
2810
+ * @returns {Promise<CommonMessage>}
2811
+ * @throws {CommonMessageException}
2812
+ * @throws {ClientException}
2813
+ */
2814
+ delete(operationId: string): Promise<CommonMessage>;
2815
+ /**
2816
+ * @returns {Promise<CommonMessage>}
2817
+ * @throws {CommonMessageException}
2818
+ * @throws {ClientException}
2819
+ */
2820
+ update(operationId: string, payload: BackendOperationUpdate): Promise<CommonMessage>;
2821
+ /**
2822
+ * @returns {Promise<BackendOperation>}
2823
+ * @throws {CommonMessageException}
2824
+ * @throws {ClientException}
2825
+ */
2826
+ get(operationId: string): Promise<BackendOperation>;
2827
+ /**
2828
+ * @returns {Promise<CommonMessage>}
2829
+ * @throws {CommonMessageException}
2830
+ * @throws {ClientException}
2831
+ */
2832
+ create(payload: BackendOperationCreate): Promise<CommonMessage>;
2833
+ /**
2834
+ * @returns {Promise<BackendOperationCollection>}
2835
+ * @throws {CommonMessageException}
2836
+ * @throws {ClientException}
2837
+ */
2838
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendOperationCollection>;
2839
+ }
2840
+
2841
+ /**
2842
+ * BackendPage automatically generated by SDKgen please do not edit this file manually
2843
+ * {@link https://sdkgen.app}
2844
+ */
2845
+
2846
+ interface BackendPage {
2847
+ id?: number;
2848
+ status?: number;
2849
+ title?: string;
2850
+ slug?: string;
2851
+ content?: string;
2852
+ metadata?: CommonMetadata;
2853
+ }
2854
+
2855
+ /**
2856
+ * BackendPageCollection automatically generated by SDKgen please do not edit this file manually
2857
+ * {@link https://sdkgen.app}
2858
+ */
2859
+
2860
+ interface BackendPageCollection extends CommonCollection<BackendPage> {
2861
+ }
2862
+
2863
+ /**
2864
+ * BackendPageCreate automatically generated by SDKgen please do not edit this file manually
2865
+ * {@link https://sdkgen.app}
2866
+ */
2867
+
2868
+ interface BackendPageCreate extends BackendPage {
2869
+ }
2870
+
2871
+ /**
2872
+ * BackendPageUpdate automatically generated by SDKgen please do not edit this file manually
2873
+ * {@link https://sdkgen.app}
2874
+ */
2875
+
2876
+ interface BackendPageUpdate extends BackendPage {
2877
+ }
2878
+
2879
+ /**
2880
+ * BackendPageTag automatically generated by SDKgen please do not edit this file manually
2881
+ * {@link https://sdkgen.app}
2882
+ */
2883
+
2884
+ declare class BackendPageTag extends TagAbstract {
2885
+ /**
2886
+ * @returns {Promise<CommonMessage>}
2887
+ * @throws {CommonMessageException}
2888
+ * @throws {ClientException}
2889
+ */
2890
+ delete(pageId: string): Promise<CommonMessage>;
2891
+ /**
2892
+ * @returns {Promise<CommonMessage>}
2893
+ * @throws {CommonMessageException}
2894
+ * @throws {ClientException}
2895
+ */
2896
+ update(pageId: string, payload: BackendPageUpdate): Promise<CommonMessage>;
2897
+ /**
2898
+ * @returns {Promise<BackendPage>}
2899
+ * @throws {CommonMessageException}
2900
+ * @throws {ClientException}
2901
+ */
2902
+ get(pageId: string): Promise<BackendPage>;
2903
+ /**
2904
+ * @returns {Promise<CommonMessage>}
2905
+ * @throws {CommonMessageException}
2906
+ * @throws {ClientException}
2907
+ */
2908
+ create(payload: BackendPageCreate): Promise<CommonMessage>;
2909
+ /**
2910
+ * @returns {Promise<BackendPageCollection>}
2911
+ * @throws {CommonMessageException}
2912
+ * @throws {ClientException}
2913
+ */
2914
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendPageCollection>;
2915
+ }
2916
+
2917
+ /**
2918
+ * BackendPlan automatically generated by SDKgen please do not edit this file manually
2919
+ * {@link https://sdkgen.app}
2920
+ */
2921
+
2922
+ interface BackendPlan {
2923
+ id?: number;
2924
+ name?: string;
2925
+ description?: string;
2926
+ price?: number;
2927
+ points?: number;
2928
+ period?: number;
2929
+ externalId?: string;
2930
+ scopes?: Array<string>;
2931
+ metadata?: CommonMetadata;
2932
+ }
2933
+
2934
+ /**
2935
+ * BackendPlanCollection automatically generated by SDKgen please do not edit this file manually
2936
+ * {@link https://sdkgen.app}
2937
+ */
2938
+
2939
+ interface BackendPlanCollection extends CommonCollection<BackendPlan> {
2940
+ }
2941
+
2942
+ /**
2943
+ * BackendPlanCreate automatically generated by SDKgen please do not edit this file manually
2944
+ * {@link https://sdkgen.app}
2945
+ */
2946
+
2947
+ interface BackendPlanCreate extends BackendPlan {
2948
+ }
2949
+
2950
+ /**
2951
+ * BackendPlanUpdate automatically generated by SDKgen please do not edit this file manually
2952
+ * {@link https://sdkgen.app}
2953
+ */
2954
+
2955
+ interface BackendPlanUpdate extends BackendPlan {
2956
+ }
2957
+
2958
+ /**
2959
+ * BackendPlanTag automatically generated by SDKgen please do not edit this file manually
2960
+ * {@link https://sdkgen.app}
2961
+ */
2962
+
2963
+ declare class BackendPlanTag extends TagAbstract {
2964
+ /**
2965
+ * @returns {Promise<CommonMessage>}
2966
+ * @throws {CommonMessageException}
2967
+ * @throws {ClientException}
2968
+ */
2969
+ delete(planId: string): Promise<CommonMessage>;
2970
+ /**
2971
+ * @returns {Promise<CommonMessage>}
2972
+ * @throws {CommonMessageException}
2973
+ * @throws {ClientException}
2974
+ */
2975
+ update(planId: string, payload: BackendPlanUpdate): Promise<CommonMessage>;
2976
+ /**
2977
+ * @returns {Promise<BackendPlan>}
2978
+ * @throws {CommonMessageException}
2979
+ * @throws {ClientException}
2980
+ */
2981
+ get(planId: string): Promise<BackendPlan>;
2982
+ /**
2983
+ * @returns {Promise<CommonMessage>}
2984
+ * @throws {CommonMessageException}
2985
+ * @throws {ClientException}
2986
+ */
2987
+ create(payload: BackendPlanCreate): Promise<CommonMessage>;
2988
+ /**
2989
+ * @returns {Promise<BackendPlanCollection>}
2990
+ * @throws {CommonMessageException}
2991
+ * @throws {ClientException}
2992
+ */
2993
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendPlanCollection>;
2994
+ }
2995
+
2996
+ /**
2997
+ * BackendRateAllocation automatically generated by SDKgen please do not edit this file manually
2998
+ * {@link https://sdkgen.app}
2999
+ */
3000
+ interface BackendRateAllocation {
3001
+ id?: number;
3002
+ operationId?: number;
3003
+ userId?: number;
3004
+ planId?: number;
3005
+ appId?: number;
3006
+ authenticated?: boolean;
3007
+ }
3008
+
3009
+ /**
3010
+ * BackendRate automatically generated by SDKgen please do not edit this file manually
3011
+ * {@link https://sdkgen.app}
3012
+ */
3013
+
3014
+ interface BackendRate {
3015
+ id?: number;
3016
+ priority?: number;
3017
+ name?: string;
3018
+ rateLimit?: number;
3019
+ timespan?: string;
3020
+ allocation?: Array<BackendRateAllocation>;
3021
+ metadata?: CommonMetadata;
3022
+ }
3023
+
3024
+ /**
3025
+ * BackendRateCollection automatically generated by SDKgen please do not edit this file manually
3026
+ * {@link https://sdkgen.app}
3027
+ */
3028
+
3029
+ interface BackendRateCollection extends CommonCollection<BackendRate> {
3030
+ }
3031
+
3032
+ /**
3033
+ * BackendRateCreate automatically generated by SDKgen please do not edit this file manually
3034
+ * {@link https://sdkgen.app}
3035
+ */
3036
+
3037
+ interface BackendRateCreate extends BackendRate {
3038
+ }
3039
+
3040
+ /**
3041
+ * BackendRateUpdate automatically generated by SDKgen please do not edit this file manually
3042
+ * {@link https://sdkgen.app}
3043
+ */
3044
+
3045
+ interface BackendRateUpdate extends BackendRate {
3046
+ }
3047
+
3048
+ /**
3049
+ * BackendRateTag automatically generated by SDKgen please do not edit this file manually
3050
+ * {@link https://sdkgen.app}
3051
+ */
3052
+
3053
+ declare class BackendRateTag extends TagAbstract {
3054
+ /**
3055
+ * @returns {Promise<CommonMessage>}
3056
+ * @throws {CommonMessageException}
3057
+ * @throws {ClientException}
3058
+ */
3059
+ delete(rateId: string): Promise<CommonMessage>;
3060
+ /**
3061
+ * @returns {Promise<CommonMessage>}
3062
+ * @throws {CommonMessageException}
3063
+ * @throws {ClientException}
3064
+ */
3065
+ update(rateId: string, payload: BackendRateUpdate): Promise<CommonMessage>;
3066
+ /**
3067
+ * @returns {Promise<BackendRate>}
3068
+ * @throws {CommonMessageException}
3069
+ * @throws {ClientException}
3070
+ */
3071
+ get(rateId: string): Promise<BackendRate>;
3072
+ /**
3073
+ * @returns {Promise<CommonMessage>}
3074
+ * @throws {CommonMessageException}
3075
+ * @throws {ClientException}
3076
+ */
3077
+ create(payload: BackendRateCreate): Promise<CommonMessage>;
3078
+ /**
3079
+ * @returns {Promise<BackendRateCollection>}
3080
+ * @throws {CommonMessageException}
3081
+ * @throws {ClientException}
3082
+ */
3083
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendRateCollection>;
3084
+ }
3085
+
3086
+ /**
3087
+ * BackendRole automatically generated by SDKgen please do not edit this file manually
3088
+ * {@link https://sdkgen.app}
3089
+ */
3090
+ interface BackendRole {
3091
+ id?: number;
3092
+ categoryId?: number;
3093
+ name?: string;
3094
+ scopes?: Array<string>;
3095
+ }
3096
+
3097
+ /**
3098
+ * BackendRoleCollection automatically generated by SDKgen please do not edit this file manually
3099
+ * {@link https://sdkgen.app}
3100
+ */
3101
+
3102
+ interface BackendRoleCollection extends CommonCollection<BackendRole> {
3103
+ }
3104
+
3105
+ /**
3106
+ * BackendRoleCreate automatically generated by SDKgen please do not edit this file manually
3107
+ * {@link https://sdkgen.app}
3108
+ */
3109
+
3110
+ interface BackendRoleCreate extends BackendRole {
3111
+ }
3112
+
3113
+ /**
3114
+ * BackendRoleUpdate automatically generated by SDKgen please do not edit this file manually
3115
+ * {@link https://sdkgen.app}
3116
+ */
3117
+
3118
+ interface BackendRoleUpdate extends BackendRole {
3119
+ }
3120
+
3121
+ /**
3122
+ * BackendRoleTag automatically generated by SDKgen please do not edit this file manually
3123
+ * {@link https://sdkgen.app}
3124
+ */
3125
+
3126
+ declare class BackendRoleTag extends TagAbstract {
3127
+ /**
3128
+ * @returns {Promise<CommonMessage>}
3129
+ * @throws {CommonMessageException}
3130
+ * @throws {ClientException}
3131
+ */
3132
+ delete(roleId: string): Promise<CommonMessage>;
3133
+ /**
3134
+ * @returns {Promise<CommonMessage>}
3135
+ * @throws {CommonMessageException}
3136
+ * @throws {ClientException}
3137
+ */
3138
+ update(roleId: string, payload: BackendRoleUpdate): Promise<CommonMessage>;
3139
+ /**
3140
+ * @returns {Promise<BackendRole>}
3141
+ * @throws {CommonMessageException}
3142
+ * @throws {ClientException}
3143
+ */
3144
+ get(roleId: string): Promise<BackendRole>;
3145
+ /**
3146
+ * @returns {Promise<CommonMessage>}
3147
+ * @throws {CommonMessageException}
3148
+ * @throws {ClientException}
3149
+ */
3150
+ create(payload: BackendRoleCreate): Promise<CommonMessage>;
3151
+ /**
3152
+ * @returns {Promise<BackendRoleCollection>}
3153
+ * @throws {CommonMessageException}
3154
+ * @throws {ClientException}
3155
+ */
3156
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendRoleCollection>;
3157
+ }
3158
+
3159
+ /**
3160
+ * BackendSchemaCollection automatically generated by SDKgen please do not edit this file manually
3161
+ * {@link https://sdkgen.app}
3162
+ */
3163
+
3164
+ interface BackendSchemaCollection extends CommonCollection<BackendSchema> {
3165
+ }
3166
+
3167
+ /**
3168
+ * BackendSchemaCreate automatically generated by SDKgen please do not edit this file manually
3169
+ * {@link https://sdkgen.app}
3170
+ */
3171
+
3172
+ interface BackendSchemaCreate extends BackendSchema {
3173
+ }
3174
+
3175
+ /**
3176
+ * BackendSchemaPreviewResponse automatically generated by SDKgen please do not edit this file manually
3177
+ * {@link https://sdkgen.app}
3178
+ */
3179
+ interface BackendSchemaPreviewResponse {
3180
+ preview?: string;
3181
+ }
3182
+
3183
+ /**
3184
+ * BackendSchemaUpdate automatically generated by SDKgen please do not edit this file manually
3185
+ * {@link https://sdkgen.app}
3186
+ */
3187
+
3188
+ interface BackendSchemaUpdate extends BackendSchema {
3189
+ }
3190
+
3191
+ /**
3192
+ * BackendSchemaTag automatically generated by SDKgen please do not edit this file manually
3193
+ * {@link https://sdkgen.app}
3194
+ */
3195
+
3196
+ declare class BackendSchemaTag extends TagAbstract {
3197
+ /**
3198
+ * @returns {Promise<CommonMessage>}
3199
+ * @throws {CommonMessageException}
3200
+ * @throws {ClientException}
3201
+ */
3202
+ delete(schemaId: string): Promise<CommonMessage>;
3203
+ /**
3204
+ * @returns {Promise<CommonMessage>}
3205
+ * @throws {CommonMessageException}
3206
+ * @throws {ClientException}
3207
+ */
3208
+ update(schemaId: string, payload: BackendSchemaUpdate): Promise<CommonMessage>;
3209
+ /**
3210
+ * @returns {Promise<BackendSchema>}
3211
+ * @throws {CommonMessageException}
3212
+ * @throws {ClientException}
3213
+ */
3214
+ get(schemaId: string): Promise<BackendSchema>;
3215
+ /**
3216
+ * @returns {Promise<CommonMessage>}
3217
+ * @throws {CommonMessageException}
3218
+ * @throws {ClientException}
3219
+ */
3220
+ updateForm(schemaId: string, payload: BackendSchemaForm): Promise<CommonMessage>;
3221
+ /**
3222
+ * @returns {Promise<BackendSchemaPreviewResponse>}
3223
+ * @throws {CommonMessageException}
3224
+ * @throws {ClientException}
3225
+ */
3226
+ getPreview(schemaId: string): Promise<BackendSchemaPreviewResponse>;
3227
+ /**
3228
+ * @returns {Promise<CommonMessage>}
3229
+ * @throws {CommonMessageException}
3230
+ * @throws {ClientException}
3231
+ */
3232
+ create(payload: BackendSchemaCreate): Promise<CommonMessage>;
3233
+ /**
3234
+ * @returns {Promise<BackendSchemaCollection>}
3235
+ * @throws {CommonMessageException}
3236
+ * @throws {ClientException}
3237
+ */
3238
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendSchemaCollection>;
3239
+ }
3240
+
3241
+ /**
3242
+ * BackendScopeOperation automatically generated by SDKgen please do not edit this file manually
3243
+ * {@link https://sdkgen.app}
3244
+ */
3245
+ interface BackendScopeOperation {
3246
+ operationId?: number;
3247
+ allow?: boolean;
3248
+ }
3249
+
3250
+ /**
3251
+ * BackendScope automatically generated by SDKgen please do not edit this file manually
3252
+ * {@link https://sdkgen.app}
3253
+ */
3254
+
3255
+ interface BackendScope {
3256
+ id?: number;
3257
+ name?: string;
3258
+ description?: string;
3259
+ operations?: Array<BackendScopeOperation>;
3260
+ metadata?: CommonMetadata;
3261
+ }
3262
+
3263
+ /**
3264
+ * BackendScopeCategoryScope automatically generated by SDKgen please do not edit this file manually
3265
+ * {@link https://sdkgen.app}
3266
+ */
3267
+ interface BackendScopeCategoryScope {
3268
+ id?: number;
3269
+ name?: string;
3270
+ description?: string;
3271
+ }
3272
+
3273
+ /**
3274
+ * BackendScopeCategory automatically generated by SDKgen please do not edit this file manually
3275
+ * {@link https://sdkgen.app}
3276
+ */
3277
+
3278
+ interface BackendScopeCategory {
3279
+ id?: number;
3280
+ name?: string;
3281
+ scopes?: Array<BackendScopeCategoryScope>;
3282
+ }
3283
+
3284
+ /**
3285
+ * BackendScopeCategories automatically generated by SDKgen please do not edit this file manually
3286
+ * {@link https://sdkgen.app}
3287
+ */
3288
+
3289
+ interface BackendScopeCategories {
3290
+ categories?: Array<BackendScopeCategory>;
3291
+ }
3292
+
3293
+ /**
3294
+ * BackendScopeCollection automatically generated by SDKgen please do not edit this file manually
3295
+ * {@link https://sdkgen.app}
3296
+ */
3297
+
3298
+ interface BackendScopeCollection extends CommonCollection<BackendScope> {
3299
+ }
3300
+
3301
+ /**
3302
+ * BackendScopeCreate automatically generated by SDKgen please do not edit this file manually
3303
+ * {@link https://sdkgen.app}
3304
+ */
3305
+
3306
+ interface BackendScopeCreate extends BackendScope {
3307
+ }
3308
+
3309
+ /**
3310
+ * BackendScopeUpdate automatically generated by SDKgen please do not edit this file manually
3311
+ * {@link https://sdkgen.app}
3312
+ */
3313
+
3314
+ interface BackendScopeUpdate extends BackendScope {
3315
+ }
3316
+
3317
+ /**
3318
+ * BackendScopeTag automatically generated by SDKgen please do not edit this file manually
3319
+ * {@link https://sdkgen.app}
3320
+ */
3321
+
3322
+ declare class BackendScopeTag extends TagAbstract {
3323
+ /**
3324
+ * @returns {Promise<CommonMessage>}
3325
+ * @throws {CommonMessageException}
3326
+ * @throws {ClientException}
3327
+ */
3328
+ delete(scopeId: string): Promise<CommonMessage>;
3329
+ /**
3330
+ * @returns {Promise<CommonMessage>}
3331
+ * @throws {CommonMessageException}
3332
+ * @throws {ClientException}
3333
+ */
3334
+ update(scopeId: string, payload: BackendScopeUpdate): Promise<CommonMessage>;
3335
+ /**
3336
+ * @returns {Promise<BackendScope>}
3337
+ * @throws {CommonMessageException}
3338
+ * @throws {ClientException}
3339
+ */
3340
+ get(scopeId: string): Promise<BackendScope>;
3341
+ /**
3342
+ * @returns {Promise<BackendScopeCategories>}
3343
+ * @throws {CommonMessageException}
3344
+ * @throws {ClientException}
3345
+ */
3346
+ getCategories(): Promise<BackendScopeCategories>;
3347
+ /**
3348
+ * @returns {Promise<CommonMessage>}
3349
+ * @throws {CommonMessageException}
3350
+ * @throws {ClientException}
3351
+ */
3352
+ create(payload: BackendScopeCreate): Promise<CommonMessage>;
3353
+ /**
3354
+ * @returns {Promise<BackendScopeCollection>}
3355
+ * @throws {CommonMessageException}
3356
+ * @throws {ClientException}
3357
+ */
3358
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendScopeCollection>;
3359
+ }
3360
+
3361
+ /**
3362
+ * BackendSdkGenerate automatically generated by SDKgen please do not edit this file manually
3363
+ * {@link https://sdkgen.app}
3364
+ */
3365
+ interface BackendSdkGenerate {
3366
+ format?: string;
3367
+ config?: string;
3368
+ }
3369
+
3370
+ /**
3371
+ * BackendSdkMessage automatically generated by SDKgen please do not edit this file manually
3372
+ * {@link https://sdkgen.app}
3373
+ */
3374
+ interface BackendSdkMessage {
3375
+ success?: boolean;
3376
+ message?: string;
3377
+ link?: string;
3378
+ }
3379
+
3380
+ /**
3381
+ * BackendSdkTypes automatically generated by SDKgen please do not edit this file manually
3382
+ * {@link https://sdkgen.app}
3383
+ */
3384
+ interface BackendSdkTypes extends Record<string, string> {
3385
+ }
3386
+
3387
+ /**
3388
+ * BackendSdkResponse automatically generated by SDKgen please do not edit this file manually
3389
+ * {@link https://sdkgen.app}
3390
+ */
3391
+
3392
+ interface BackendSdkResponse {
3393
+ types?: BackendSdkTypes;
3394
+ }
3395
+
3396
+ /**
3397
+ * BackendSdkTag automatically generated by SDKgen please do not edit this file manually
3398
+ * {@link https://sdkgen.app}
3399
+ */
3400
+
3401
+ declare class BackendSdkTag extends TagAbstract {
3402
+ /**
3403
+ * @returns {Promise<BackendSdkMessage>}
3404
+ * @throws {CommonMessageException}
3405
+ * @throws {ClientException}
3406
+ */
3407
+ generate(payload: BackendSdkGenerate): Promise<BackendSdkMessage>;
3408
+ /**
3409
+ * @returns {Promise<BackendSdkResponse>}
3410
+ * @throws {CommonMessageException}
3411
+ * @throws {ClientException}
3412
+ */
3413
+ getAll(): Promise<BackendSdkResponse>;
3414
+ }
3415
+
3416
+ /**
3417
+ * BackendStatisticCount automatically generated by SDKgen please do not edit this file manually
3418
+ * {@link https://sdkgen.app}
3419
+ */
3420
+ interface BackendStatisticCount {
3421
+ count?: number;
3422
+ from?: string;
3423
+ to?: string;
3424
+ }
3425
+
3426
+ /**
3427
+ * BackendStatisticTag automatically generated by SDKgen please do not edit this file manually
3428
+ * {@link https://sdkgen.app}
3429
+ */
3430
+
3431
+ declare class BackendStatisticTag extends TagAbstract {
3432
+ /**
3433
+ * @returns {Promise<BackendStatisticChart>}
3434
+ * @throws {CommonMessageException}
3435
+ * @throws {ClientException}
3436
+ */
3437
+ getUserRegistrations(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3438
+ /**
3439
+ * @returns {Promise<BackendStatisticChart>}
3440
+ * @throws {CommonMessageException}
3441
+ * @throws {ClientException}
3442
+ */
3443
+ getUsedPoints(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3444
+ /**
3445
+ * @returns {Promise<BackendStatisticChart>}
3446
+ * @throws {CommonMessageException}
3447
+ * @throws {ClientException}
3448
+ */
3449
+ getTimePerOperation(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3450
+ /**
3451
+ * @returns {Promise<BackendStatisticChart>}
3452
+ * @throws {CommonMessageException}
3453
+ * @throws {ClientException}
3454
+ */
3455
+ getTimeAverage(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3456
+ /**
3457
+ * @returns {Promise<BackendStatisticChart>}
3458
+ * @throws {CommonMessageException}
3459
+ * @throws {ClientException}
3460
+ */
3461
+ getTestCoverage(): Promise<BackendStatisticChart>;
3462
+ /**
3463
+ * @returns {Promise<BackendStatisticChart>}
3464
+ * @throws {CommonMessageException}
3465
+ * @throws {ClientException}
3466
+ */
3467
+ getMostUsedOperations(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3468
+ /**
3469
+ * @returns {Promise<BackendStatisticChart>}
3470
+ * @throws {CommonMessageException}
3471
+ * @throws {ClientException}
3472
+ */
3473
+ getMostUsedApps(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3474
+ /**
3475
+ * @returns {Promise<BackendStatisticChart>}
3476
+ * @throws {CommonMessageException}
3477
+ * @throws {ClientException}
3478
+ */
3479
+ getMostUsedActivities(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3480
+ /**
3481
+ * @returns {Promise<BackendStatisticChart>}
3482
+ * @throws {CommonMessageException}
3483
+ * @throws {ClientException}
3484
+ */
3485
+ getIssuedTokens(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3486
+ /**
3487
+ * @returns {Promise<BackendStatisticChart>}
3488
+ * @throws {CommonMessageException}
3489
+ * @throws {ClientException}
3490
+ */
3491
+ getIncomingTransactions(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3492
+ /**
3493
+ * @returns {Promise<BackendStatisticChart>}
3494
+ * @throws {CommonMessageException}
3495
+ * @throws {ClientException}
3496
+ */
3497
+ getIncomingRequests(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3498
+ /**
3499
+ * @returns {Promise<BackendStatisticChart>}
3500
+ * @throws {CommonMessageException}
3501
+ * @throws {ClientException}
3502
+ */
3503
+ getErrorsPerOperation(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3504
+ /**
3505
+ * @returns {Promise<BackendStatisticCount>}
3506
+ * @throws {CommonMessageException}
3507
+ * @throws {ClientException}
3508
+ */
3509
+ getCountRequests(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticCount>;
3510
+ /**
3511
+ * @returns {Promise<BackendStatisticChart>}
3512
+ * @throws {CommonMessageException}
3513
+ * @throws {ClientException}
3514
+ */
3515
+ getActivitiesPerUser(startIndex?: number, count?: number, search?: string, from?: string, to?: string, operationId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<BackendStatisticChart>;
3516
+ }
3517
+
3518
+ /**
3519
+ * BackendTenantTag automatically generated by SDKgen please do not edit this file manually
3520
+ * {@link https://sdkgen.app}
3521
+ */
3522
+
3523
+ declare class BackendTenantTag extends TagAbstract {
3524
+ /**
3525
+ * @returns {Promise<CommonMessage>}
3526
+ * @throws {CommonMessageException}
3527
+ * @throws {ClientException}
3528
+ */
3529
+ remove(tenantId: string): Promise<CommonMessage>;
3530
+ /**
3531
+ * @returns {Promise<CommonMessage>}
3532
+ * @throws {CommonMessageException}
3533
+ * @throws {ClientException}
3534
+ */
3535
+ setup(tenantId: string): Promise<CommonMessage>;
3536
+ }
3537
+
3538
+ /**
3539
+ * BackendTestConfig automatically generated by SDKgen please do not edit this file manually
3540
+ * {@link https://sdkgen.app}
3541
+ */
3542
+
3543
+ interface BackendTestConfig extends BackendActionExecuteRequest {
3544
+ }
3545
+
3546
+ /**
3547
+ * BackendTest automatically generated by SDKgen please do not edit this file manually
3548
+ * {@link https://sdkgen.app}
3549
+ */
3550
+
3551
+ interface BackendTest {
3552
+ id?: number;
3553
+ status?: number;
3554
+ operationName?: string;
3555
+ message?: string;
3556
+ response?: string;
3557
+ config?: BackendTestConfig;
3558
+ }
3559
+
3560
+ /**
3561
+ * BackendTestCollection automatically generated by SDKgen please do not edit this file manually
3562
+ * {@link https://sdkgen.app}
3563
+ */
3564
+
3565
+ interface BackendTestCollection extends CommonCollection<BackendTest> {
3566
+ }
3567
+
3568
+ /**
3569
+ * BackendTestTag automatically generated by SDKgen please do not edit this file manually
3570
+ * {@link https://sdkgen.app}
3571
+ */
3572
+
3573
+ declare class BackendTestTag extends TagAbstract {
3574
+ /**
3575
+ * @returns {Promise<CommonMessage>}
3576
+ * @throws {CommonMessageException}
3577
+ * @throws {ClientException}
3578
+ */
3579
+ update(testId: string, payload: BackendTest): Promise<CommonMessage>;
3580
+ /**
3581
+ * @returns {Promise<CommonMessage>}
3582
+ * @throws {CommonMessageException}
3583
+ * @throws {ClientException}
3584
+ */
3585
+ run(): Promise<CommonMessage>;
3586
+ /**
3587
+ * @returns {Promise<CommonMessage>}
3588
+ * @throws {CommonMessageException}
3589
+ * @throws {ClientException}
3590
+ */
3591
+ refresh(): Promise<CommonMessage>;
3592
+ /**
3593
+ * @returns {Promise<BackendTest>}
3594
+ * @throws {CommonMessageException}
3595
+ * @throws {ClientException}
3596
+ */
3597
+ get(testId: string): Promise<BackendTest>;
3598
+ /**
3599
+ * @returns {Promise<BackendTestCollection>}
3600
+ * @throws {CommonMessageException}
3601
+ * @throws {ClientException}
3602
+ */
3603
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendTestCollection>;
3604
+ }
3605
+
3606
+ /**
3607
+ * BackendTokenCollection automatically generated by SDKgen please do not edit this file manually
3608
+ * {@link https://sdkgen.app}
3609
+ */
3610
+
3611
+ interface BackendTokenCollection extends CommonCollection<BackendToken> {
3612
+ }
3613
+
3614
+ /**
3615
+ * BackendTokenTag automatically generated by SDKgen please do not edit this file manually
3616
+ * {@link https://sdkgen.app}
3617
+ */
3618
+
3619
+ declare class BackendTokenTag extends TagAbstract {
3620
+ /**
3621
+ * @returns {Promise<BackendToken>}
3622
+ * @throws {CommonMessageException}
3623
+ * @throws {ClientException}
3624
+ */
3625
+ get(tokenId: string): Promise<BackendToken>;
3626
+ /**
3627
+ * @returns {Promise<BackendTokenCollection>}
3628
+ * @throws {CommonMessageException}
3629
+ * @throws {ClientException}
3630
+ */
3631
+ getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, appId?: number, userId?: number, status?: number, scope?: string, ip?: string): Promise<BackendTokenCollection>;
3632
+ }
3633
+
3634
+ /**
3635
+ * BackendTransaction automatically generated by SDKgen please do not edit this file manually
3636
+ * {@link https://sdkgen.app}
3637
+ */
3638
+ interface BackendTransaction {
3639
+ id?: number;
3640
+ userId?: number;
3641
+ planId?: number;
3642
+ transactionId?: string;
3643
+ amount?: number;
3644
+ points?: number;
3645
+ periodStart?: string;
3646
+ periodEnd?: string;
3647
+ insertDate?: string;
3648
+ }
3649
+
3650
+ /**
3651
+ * BackendTransactionCollection automatically generated by SDKgen please do not edit this file manually
3652
+ * {@link https://sdkgen.app}
3653
+ */
3654
+
3655
+ interface BackendTransactionCollection extends CommonCollection<BackendTransaction> {
3656
+ }
3657
+
3658
+ /**
3659
+ * BackendTransactionTag automatically generated by SDKgen please do not edit this file manually
3660
+ * {@link https://sdkgen.app}
3661
+ */
3662
+
3663
+ declare class BackendTransactionTag extends TagAbstract {
3664
+ /**
3665
+ * @returns {Promise<BackendTransaction>}
3666
+ * @throws {CommonMessageException}
3667
+ * @throws {ClientException}
3668
+ */
3669
+ get(transactionId: string): Promise<BackendTransaction>;
3670
+ /**
3671
+ * @returns {Promise<BackendTransactionCollection>}
3672
+ * @throws {CommonMessageException}
3673
+ * @throws {ClientException}
3674
+ */
3675
+ getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, planId?: number, userId?: number, appId?: number, status?: string, provider?: string): Promise<BackendTransactionCollection>;
3676
+ }
3677
+
3678
+ /**
3679
+ * BackendTrashData automatically generated by SDKgen please do not edit this file manually
3680
+ * {@link https://sdkgen.app}
3681
+ */
3682
+ interface BackendTrashData {
3683
+ id?: number;
3684
+ status?: number;
3685
+ name?: string;
3686
+ }
3687
+
3688
+ /**
3689
+ * BackendTrashDataCollection automatically generated by SDKgen please do not edit this file manually
3690
+ * {@link https://sdkgen.app}
3691
+ */
3692
+
3693
+ interface BackendTrashDataCollection extends CommonCollection<BackendTrashData> {
3694
+ }
3695
+
3696
+ /**
3697
+ * BackendTrashRestore automatically generated by SDKgen please do not edit this file manually
3698
+ * {@link https://sdkgen.app}
3699
+ */
3700
+ interface BackendTrashRestore {
3701
+ id?: number;
3702
+ }
3703
+
3704
+ /**
3705
+ * BackendTrashTypes automatically generated by SDKgen please do not edit this file manually
3706
+ * {@link https://sdkgen.app}
3707
+ */
3708
+ interface BackendTrashTypes {
3709
+ types?: Array<string>;
3710
+ }
3711
+
3712
+ /**
3713
+ * BackendTrashTag automatically generated by SDKgen please do not edit this file manually
3714
+ * {@link https://sdkgen.app}
3715
+ */
3716
+
3717
+ declare class BackendTrashTag extends TagAbstract {
3718
+ /**
3719
+ * @returns {Promise<CommonMessage>}
3720
+ * @throws {CommonMessageException}
3721
+ * @throws {ClientException}
3722
+ */
3723
+ restore(type: string, payload: BackendTrashRestore): Promise<CommonMessage>;
3724
+ /**
3725
+ * @returns {Promise<BackendTrashDataCollection>}
3726
+ * @throws {CommonMessageException}
3727
+ * @throws {ClientException}
3728
+ */
3729
+ getAllByType(type: string, startIndex?: number, count?: number, search?: string): Promise<BackendTrashDataCollection>;
3730
+ /**
3731
+ * @returns {Promise<BackendTrashTypes>}
3732
+ * @throws {CommonMessageException}
3733
+ * @throws {ClientException}
3734
+ */
3735
+ getTypes(): Promise<BackendTrashTypes>;
3736
+ }
3737
+
3738
+ /**
3739
+ * BackendUserCollection automatically generated by SDKgen please do not edit this file manually
3740
+ * {@link https://sdkgen.app}
3741
+ */
3742
+
3743
+ interface BackendUserCollection extends CommonCollection<BackendUser> {
3744
+ }
3745
+
3746
+ /**
3747
+ * BackendUserCreate automatically generated by SDKgen please do not edit this file manually
3748
+ * {@link https://sdkgen.app}
3749
+ */
3750
+
3751
+ interface BackendUserCreate extends BackendUser {
3752
+ password?: string;
3753
+ }
3754
+
3755
+ /**
3756
+ * BackendUserTag automatically generated by SDKgen please do not edit this file manually
3757
+ * {@link https://sdkgen.app}
3758
+ */
3759
+
3760
+ declare class BackendUserTag extends TagAbstract {
3761
+ /**
3762
+ * @returns {Promise<CommonMessage>}
3763
+ * @throws {CommonMessageException}
3764
+ * @throws {ClientException}
3765
+ */
3766
+ delete(userId: string): Promise<CommonMessage>;
3767
+ /**
3768
+ * @returns {Promise<CommonMessage>}
3769
+ * @throws {CommonMessageException}
3770
+ * @throws {ClientException}
3771
+ */
3772
+ update(userId: string, payload: BackendUserUpdate): Promise<CommonMessage>;
3773
+ /**
3774
+ * @returns {Promise<BackendUser>}
3775
+ * @throws {CommonMessageException}
3776
+ * @throws {ClientException}
3777
+ */
3778
+ get(userId: string): Promise<BackendUser>;
3779
+ /**
3780
+ * @returns {Promise<CommonMessage>}
3781
+ * @throws {CommonMessageException}
3782
+ * @throws {ClientException}
3783
+ */
3784
+ create(payload: BackendUserCreate): Promise<CommonMessage>;
3785
+ /**
3786
+ * @returns {Promise<BackendUserCollection>}
3787
+ * @throws {CommonMessageException}
3788
+ * @throws {ClientException}
3789
+ */
3790
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendUserCollection>;
3791
+ }
3792
+
3793
+ /**
3794
+ * BackendWebhookResponse automatically generated by SDKgen please do not edit this file manually
3795
+ * {@link https://sdkgen.app}
3796
+ */
3797
+ interface BackendWebhookResponse {
3798
+ id?: number;
3799
+ status?: number;
3800
+ code?: number;
3801
+ attempts?: number;
3802
+ error?: string;
3803
+ executeDate?: string;
3804
+ }
3805
+
3806
+ /**
3807
+ * BackendWebhook automatically generated by SDKgen please do not edit this file manually
3808
+ * {@link https://sdkgen.app}
3809
+ */
3810
+
3811
+ interface BackendWebhook {
3812
+ id?: number;
3813
+ eventId?: number;
3814
+ userId?: number;
3815
+ name?: string;
3816
+ endpoint?: string;
3817
+ responses?: Array<BackendWebhookResponse>;
3818
+ }
3819
+
3820
+ /**
3821
+ * BackendWebhookCollection automatically generated by SDKgen please do not edit this file manually
3822
+ * {@link https://sdkgen.app}
3823
+ */
3824
+
3825
+ interface BackendWebhookCollection extends CommonCollection<BackendWebhook> {
3826
+ }
3827
+
3828
+ /**
3829
+ * BackendWebhookCreate automatically generated by SDKgen please do not edit this file manually
3830
+ * {@link https://sdkgen.app}
3831
+ */
3832
+
3833
+ interface BackendWebhookCreate extends BackendWebhook {
3834
+ }
3835
+
3836
+ /**
3837
+ * BackendWebhookUpdate automatically generated by SDKgen please do not edit this file manually
3838
+ * {@link https://sdkgen.app}
3839
+ */
3840
+
3841
+ interface BackendWebhookUpdate extends BackendWebhook {
3842
+ }
3843
+
3844
+ /**
3845
+ * BackendWebhookTag automatically generated by SDKgen please do not edit this file manually
3846
+ * {@link https://sdkgen.app}
3847
+ */
3848
+
3849
+ declare class BackendWebhookTag extends TagAbstract {
3850
+ /**
3851
+ * @returns {Promise<CommonMessage>}
3852
+ * @throws {CommonMessageException}
3853
+ * @throws {ClientException}
3854
+ */
3855
+ delete(webhookId: string): Promise<CommonMessage>;
3856
+ /**
3857
+ * @returns {Promise<CommonMessage>}
3858
+ * @throws {CommonMessageException}
3859
+ * @throws {ClientException}
3860
+ */
3861
+ update(webhookId: string, payload: BackendWebhookUpdate): Promise<CommonMessage>;
3862
+ /**
3863
+ * @returns {Promise<BackendWebhook>}
3864
+ * @throws {CommonMessageException}
3865
+ * @throws {ClientException}
3866
+ */
3867
+ get(webhookId: string): Promise<BackendWebhook>;
3868
+ /**
3869
+ * @returns {Promise<CommonMessage>}
3870
+ * @throws {CommonMessageException}
3871
+ * @throws {ClientException}
3872
+ */
3873
+ create(payload: BackendWebhookCreate): Promise<CommonMessage>;
3874
+ /**
3875
+ * @returns {Promise<BackendWebhookCollection>}
3876
+ * @throws {CommonMessageException}
3877
+ * @throws {ClientException}
3878
+ */
3879
+ getAll(startIndex?: number, count?: number, search?: string): Promise<BackendWebhookCollection>;
3880
+ }
3881
+
3882
+ /**
3883
+ * BackendTag automatically generated by SDKgen please do not edit this file manually
3884
+ * {@link https://sdkgen.app}
3885
+ */
3886
+
3887
+ declare class BackendTag extends TagAbstract {
3888
+ webhook(): BackendWebhookTag;
3889
+ user(): BackendUserTag;
3890
+ trash(): BackendTrashTag;
3891
+ transaction(): BackendTransactionTag;
3892
+ token(): BackendTokenTag;
3893
+ test(): BackendTestTag;
3894
+ tenant(): BackendTenantTag;
3895
+ statistic(): BackendStatisticTag;
3896
+ sdk(): BackendSdkTag;
3897
+ scope(): BackendScopeTag;
3898
+ schema(): BackendSchemaTag;
3899
+ operation(): BackendOperationTag;
3900
+ role(): BackendRoleTag;
3901
+ rate(): BackendRateTag;
3902
+ plan(): BackendPlanTag;
3903
+ page(): BackendPageTag;
3904
+ marketplace(): BackendMarketplaceTag;
3905
+ log(): BackendLogTag;
3906
+ identity(): BackendIdentityTag;
3907
+ generator(): BackendGeneratorTag;
3908
+ backup(): BackendBackupTag;
3909
+ event(): BackendEventTag;
3910
+ database(): BackendDatabaseTag;
3911
+ dashboard(): BackendDashboardTag;
3912
+ cronjob(): BackendCronjobTag;
3913
+ connection(): BackendConnectionTag;
3914
+ config(): BackendConfigTag;
3915
+ category(): BackendCategoryTag;
3916
+ audit(): BackendAuditTag;
3917
+ app(): BackendAppTag;
3918
+ action(): BackendActionTag;
3919
+ account(): BackendAccountTag;
3920
+ }
3921
+
1
3922
  /**
2
3923
  * Client automatically generated by SDKgen please do not edit this file manually
3
3924
  * {@link https://sdkgen.app}
4
3925
  */
5
- import { ClientAbstract } from "sdkgen-client";
6
- import { AuthorizationTag } from "./AuthorizationTag";
7
- import { SystemTag } from "./SystemTag";
8
- import { ConsumerTag } from "./ConsumerTag";
9
- import { BackendTag } from "./BackendTag";
10
- export declare class Client extends ClientAbstract {
3926
+
3927
+ declare class Client extends ClientAbstract {
11
3928
  authorization(): AuthorizationTag;
12
3929
  system(): SystemTag;
13
3930
  consumer(): ConsumerTag;
14
3931
  backend(): BackendTag;
15
- static build(baseUrl: string): Client;
3932
+ static buildAnonymous(baseUrl: string): Client;
16
3933
  }
3934
+
3935
+ export { Client };