@acomo/client 1.0.130 → 1.0.132

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 (346) hide show
  1. package/dist/src/acomo.d.ts +9 -0
  2. package/dist/src/acomo.js +4 -0
  3. package/dist/src/acomo.js.map +1 -0
  4. package/dist/src/client/apis/AccountApi.d.ts +85 -0
  5. package/dist/src/client/apis/AccountApi.js +607 -0
  6. package/dist/src/client/apis/AccountApi.js.map +1 -0
  7. package/dist/src/client/apis/ActionApi.d.ts +47 -0
  8. package/dist/src/client/apis/ActionApi.js +146 -0
  9. package/dist/src/client/apis/ActionApi.js.map +1 -0
  10. package/dist/src/client/apis/AiApi.d.ts +19 -0
  11. package/dist/src/client/apis/AiApi.js +93 -0
  12. package/dist/src/client/apis/AiApi.js.map +1 -0
  13. package/dist/src/client/apis/AuthApi.d.ts +24 -0
  14. package/dist/src/client/apis/AuthApi.js +202 -0
  15. package/dist/src/client/apis/AuthApi.js.map +1 -0
  16. package/dist/src/client/apis/AuthConfigApi.d.ts +26 -0
  17. package/dist/src/client/apis/AuthConfigApi.js +144 -0
  18. package/dist/src/client/apis/AuthConfigApi.js.map +1 -0
  19. package/dist/src/client/apis/CorsApi.d.ts +32 -0
  20. package/dist/src/client/apis/CorsApi.js +158 -0
  21. package/dist/src/client/apis/CorsApi.js.map +1 -0
  22. package/dist/src/client/apis/DevelopmentApi.d.ts +5 -0
  23. package/dist/src/client/apis/DevelopmentApi.js +28 -0
  24. package/dist/src/client/apis/DevelopmentApi.js.map +1 -0
  25. package/dist/src/client/apis/EngineApi.d.ts +65 -0
  26. package/dist/src/client/apis/EngineApi.js +330 -0
  27. package/dist/src/client/apis/EngineApi.js.map +1 -0
  28. package/dist/src/client/apis/GroupApi.d.ts +26 -0
  29. package/dist/src/client/apis/GroupApi.js +151 -0
  30. package/dist/src/client/apis/GroupApi.js.map +1 -0
  31. package/dist/src/client/apis/ModelApi.d.ts +57 -0
  32. package/dist/src/client/apis/ModelApi.js +296 -0
  33. package/dist/src/client/apis/ModelApi.js.map +1 -0
  34. package/dist/src/client/apis/MyActionApi.d.ts +6 -0
  35. package/dist/src/client/apis/MyActionApi.js +30 -0
  36. package/dist/src/client/apis/MyActionApi.js.map +1 -0
  37. package/dist/src/client/apis/MyModelApi.d.ts +26 -0
  38. package/dist/src/client/apis/MyModelApi.js +113 -0
  39. package/dist/src/client/apis/MyModelApi.js.map +1 -0
  40. package/dist/src/client/apis/MyProcessApi.d.ts +87 -0
  41. package/dist/src/client/apis/MyProcessApi.js +402 -0
  42. package/dist/src/client/apis/MyProcessApi.js.map +1 -0
  43. package/dist/src/client/apis/ProcessApi.d.ts +55 -0
  44. package/dist/src/client/apis/ProcessApi.js +295 -0
  45. package/dist/src/client/apis/ProcessApi.js.map +1 -0
  46. package/dist/src/client/apis/ProfileApi.d.ts +7 -0
  47. package/dist/src/client/apis/ProfileApi.js +52 -0
  48. package/dist/src/client/apis/ProfileApi.js.map +1 -0
  49. package/dist/src/client/apis/RoleApi.d.ts +23 -0
  50. package/dist/src/client/apis/RoleApi.js +120 -0
  51. package/dist/src/client/apis/RoleApi.js.map +1 -0
  52. package/dist/src/client/apis/SettingApi.d.ts +10 -0
  53. package/dist/src/client/apis/SettingApi.js +80 -0
  54. package/dist/src/client/apis/SettingApi.js.map +1 -0
  55. package/dist/src/client/apis/SlackApi.d.ts +18 -0
  56. package/dist/src/client/apis/SlackApi.js +195 -0
  57. package/dist/src/client/apis/SlackApi.js.map +1 -0
  58. package/dist/src/client/apis/UsersApi.d.ts +44 -0
  59. package/dist/src/client/apis/UsersApi.js +222 -0
  60. package/dist/src/client/apis/UsersApi.js.map +1 -0
  61. package/dist/src/client/apis/index.d.ts +19 -0
  62. package/dist/src/client/apis/index.js +20 -0
  63. package/dist/src/client/apis/index.js.map +1 -0
  64. package/dist/src/client/index.d.ts +3 -0
  65. package/dist/src/client/index.js +4 -0
  66. package/dist/src/client/index.js.map +1 -0
  67. package/dist/src/client/models/AccountEntity.d.ts +10 -0
  68. package/dist/src/client/models/AccountEntity.js +36 -0
  69. package/dist/src/client/models/AccountEntity.js.map +1 -0
  70. package/dist/src/client/models/AskAiForDataSchemaDto.d.ts +9 -0
  71. package/dist/src/client/models/AskAiForDataSchemaDto.js +32 -0
  72. package/dist/src/client/models/AskAiForDataSchemaDto.js.map +1 -0
  73. package/dist/src/client/models/AskAiForDefintionDto.d.ts +8 -0
  74. package/dist/src/client/models/AskAiForDefintionDto.js +28 -0
  75. package/dist/src/client/models/AskAiForDefintionDto.js.map +1 -0
  76. package/dist/src/client/models/AuthConfigEntity.d.ts +15 -0
  77. package/dist/src/client/models/AuthConfigEntity.js +53 -0
  78. package/dist/src/client/models/AuthConfigEntity.js.map +1 -0
  79. package/dist/src/client/models/ChatAiDto.d.ts +9 -0
  80. package/dist/src/client/models/ChatAiDto.js +32 -0
  81. package/dist/src/client/models/ChatAiDto.js.map +1 -0
  82. package/dist/src/client/models/ChatAiResponseEntity.d.ts +12 -0
  83. package/dist/src/client/models/ChatAiResponseEntity.js +38 -0
  84. package/dist/src/client/models/ChatAiResponseEntity.js.map +1 -0
  85. package/dist/src/client/models/CorsAllowedOriginEntity.d.ts +10 -0
  86. package/dist/src/client/models/CorsAllowedOriginEntity.js +36 -0
  87. package/dist/src/client/models/CorsAllowedOriginEntity.js.map +1 -0
  88. package/dist/src/client/models/CreateCorsAllowedOriginDto.d.ts +9 -0
  89. package/dist/src/client/models/CreateCorsAllowedOriginDto.js +32 -0
  90. package/dist/src/client/models/CreateCorsAllowedOriginDto.js.map +1 -0
  91. package/dist/src/client/models/CreateModelDto.d.ts +12 -0
  92. package/dist/src/client/models/CreateModelDto.js +42 -0
  93. package/dist/src/client/models/CreateModelDto.js.map +1 -0
  94. package/dist/src/client/models/CreateOrUpdateIdentityProviderDto.d.ts +22 -0
  95. package/dist/src/client/models/CreateOrUpdateIdentityProviderDto.js +53 -0
  96. package/dist/src/client/models/CreateOrUpdateIdentityProviderDto.js.map +1 -0
  97. package/dist/src/client/models/CreateProcessFileDto.d.ts +9 -0
  98. package/dist/src/client/models/CreateProcessFileDto.js +32 -0
  99. package/dist/src/client/models/CreateProcessFileDto.js.map +1 -0
  100. package/dist/src/client/models/CreateTenantDto.d.ts +9 -0
  101. package/dist/src/client/models/CreateTenantDto.js +32 -0
  102. package/dist/src/client/models/CreateTenantDto.js.map +1 -0
  103. package/dist/src/client/models/CrudSystemActionSubject.d.ts +18 -0
  104. package/dist/src/client/models/CrudSystemActionSubject.js +35 -0
  105. package/dist/src/client/models/CrudSystemActionSubject.js.map +1 -0
  106. package/dist/src/client/models/CrudSystemActionType.d.ts +12 -0
  107. package/dist/src/client/models/CrudSystemActionType.js +29 -0
  108. package/dist/src/client/models/CrudSystemActionType.js.map +1 -0
  109. package/dist/src/client/models/CustomerPortalDto.d.ts +8 -0
  110. package/dist/src/client/models/CustomerPortalDto.js +28 -0
  111. package/dist/src/client/models/CustomerPortalDto.js.map +1 -0
  112. package/dist/src/client/models/ExecutionSystemActionSubject.d.ts +10 -0
  113. package/dist/src/client/models/ExecutionSystemActionSubject.js +27 -0
  114. package/dist/src/client/models/ExecutionSystemActionSubject.js.map +1 -0
  115. package/dist/src/client/models/ExecutionSystemActionType.d.ts +10 -0
  116. package/dist/src/client/models/ExecutionSystemActionType.js +27 -0
  117. package/dist/src/client/models/ExecutionSystemActionType.js.map +1 -0
  118. package/dist/src/client/models/GroupEntity.d.ts +16 -0
  119. package/dist/src/client/models/GroupEntity.js +57 -0
  120. package/dist/src/client/models/GroupEntity.js.map +1 -0
  121. package/dist/src/client/models/IdentityProviderEntity.d.ts +19 -0
  122. package/dist/src/client/models/IdentityProviderEntity.js +48 -0
  123. package/dist/src/client/models/IdentityProviderEntity.js.map +1 -0
  124. package/dist/src/client/models/ListCorsAllowedOriginResult.d.ts +10 -0
  125. package/dist/src/client/models/ListCorsAllowedOriginResult.js +33 -0
  126. package/dist/src/client/models/ListCorsAllowedOriginResult.js.map +1 -0
  127. package/dist/src/client/models/ListGroupsResult.d.ts +10 -0
  128. package/dist/src/client/models/ListGroupsResult.js +33 -0
  129. package/dist/src/client/models/ListGroupsResult.js.map +1 -0
  130. package/dist/src/client/models/ListRolesResult.d.ts +10 -0
  131. package/dist/src/client/models/ListRolesResult.js +33 -0
  132. package/dist/src/client/models/ListRolesResult.js.map +1 -0
  133. package/dist/src/client/models/ListUsersResult.d.ts +10 -0
  134. package/dist/src/client/models/ListUsersResult.js +33 -0
  135. package/dist/src/client/models/ListUsersResult.js.map +1 -0
  136. package/dist/src/client/models/ListWorkflowModelsResult.d.ts +10 -0
  137. package/dist/src/client/models/ListWorkflowModelsResult.js +33 -0
  138. package/dist/src/client/models/ListWorkflowModelsResult.js.map +1 -0
  139. package/dist/src/client/models/ListWorkflowProcessesResult.d.ts +10 -0
  140. package/dist/src/client/models/ListWorkflowProcessesResult.js +33 -0
  141. package/dist/src/client/models/ListWorkflowProcessesResult.js.map +1 -0
  142. package/dist/src/client/models/ModelWithNodeActionsEntity.d.ts +11 -0
  143. package/dist/src/client/models/ModelWithNodeActionsEntity.js +34 -0
  144. package/dist/src/client/models/ModelWithNodeActionsEntity.js.map +1 -0
  145. package/dist/src/client/models/NodeActionsEntity.d.ts +19 -0
  146. package/dist/src/client/models/NodeActionsEntity.js +41 -0
  147. package/dist/src/client/models/NodeActionsEntity.js.map +1 -0
  148. package/dist/src/client/models/OrganizationEntity.d.ts +12 -0
  149. package/dist/src/client/models/OrganizationEntity.js +40 -0
  150. package/dist/src/client/models/OrganizationEntity.js.map +1 -0
  151. package/dist/src/client/models/PresetSystemActionSubject.d.ts +9 -0
  152. package/dist/src/client/models/PresetSystemActionSubject.js +26 -0
  153. package/dist/src/client/models/PresetSystemActionSubject.js.map +1 -0
  154. package/dist/src/client/models/PresetSystemActionType.d.ts +12 -0
  155. package/dist/src/client/models/PresetSystemActionType.js +29 -0
  156. package/dist/src/client/models/PresetSystemActionType.js.map +1 -0
  157. package/dist/src/client/models/ProcessHistoryDiffEntity.d.ts +14 -0
  158. package/dist/src/client/models/ProcessHistoryDiffEntity.js +52 -0
  159. package/dist/src/client/models/ProcessHistoryDiffEntity.js.map +1 -0
  160. package/dist/src/client/models/ProcessTokenEntity.d.ts +12 -0
  161. package/dist/src/client/models/ProcessTokenEntity.js +44 -0
  162. package/dist/src/client/models/ProcessTokenEntity.js.map +1 -0
  163. package/dist/src/client/models/ProcessWithNodeActionsEntity.d.ts +11 -0
  164. package/dist/src/client/models/ProcessWithNodeActionsEntity.js +34 -0
  165. package/dist/src/client/models/ProcessWithNodeActionsEntity.js.map +1 -0
  166. package/dist/src/client/models/RoleEntity.d.ts +17 -0
  167. package/dist/src/client/models/RoleEntity.js +61 -0
  168. package/dist/src/client/models/RoleEntity.js.map +1 -0
  169. package/dist/src/client/models/SessionEntity.d.ts +12 -0
  170. package/dist/src/client/models/SessionEntity.js +40 -0
  171. package/dist/src/client/models/SessionEntity.js.map +1 -0
  172. package/dist/src/client/models/SettingEntity.d.ts +16 -0
  173. package/dist/src/client/models/SettingEntity.js +57 -0
  174. package/dist/src/client/models/SettingEntity.js.map +1 -0
  175. package/dist/src/client/models/SignInDto.d.ts +10 -0
  176. package/dist/src/client/models/SignInDto.js +36 -0
  177. package/dist/src/client/models/SignInDto.js.map +1 -0
  178. package/dist/src/client/models/SignInMethodEntity.d.ts +18 -0
  179. package/dist/src/client/models/SignInMethodEntity.js +49 -0
  180. package/dist/src/client/models/SignInMethodEntity.js.map +1 -0
  181. package/dist/src/client/models/SlackChannelEntity.d.ts +11 -0
  182. package/dist/src/client/models/SlackChannelEntity.js +40 -0
  183. package/dist/src/client/models/SlackChannelEntity.js.map +1 -0
  184. package/dist/src/client/models/SlackConnectivityResponse.d.ts +12 -0
  185. package/dist/src/client/models/SlackConnectivityResponse.js +44 -0
  186. package/dist/src/client/models/SlackConnectivityResponse.js.map +1 -0
  187. package/dist/src/client/models/SlackEntity.d.ts +15 -0
  188. package/dist/src/client/models/SlackEntity.js +53 -0
  189. package/dist/src/client/models/SlackEntity.js.map +1 -0
  190. package/dist/src/client/models/SubscribeDto.d.ts +13 -0
  191. package/dist/src/client/models/SubscribeDto.js +48 -0
  192. package/dist/src/client/models/SubscribeDto.js.map +1 -0
  193. package/dist/src/client/models/SubscriptionEntity.d.ts +20 -0
  194. package/dist/src/client/models/SubscriptionEntity.js +76 -0
  195. package/dist/src/client/models/SubscriptionEntity.js.map +1 -0
  196. package/dist/src/client/models/SystemActionPoliciesEntity.d.ts +11 -0
  197. package/dist/src/client/models/SystemActionPoliciesEntity.js +34 -0
  198. package/dist/src/client/models/SystemActionPoliciesEntity.js.map +1 -0
  199. package/dist/src/client/models/SystemActionPoliciesEntitySubject.d.ts +8 -0
  200. package/dist/src/client/models/SystemActionPoliciesEntitySubject.js +40 -0
  201. package/dist/src/client/models/SystemActionPoliciesEntitySubject.js.map +1 -0
  202. package/dist/src/client/models/SystemActionPoliciesEntityType.d.ts +8 -0
  203. package/dist/src/client/models/SystemActionPoliciesEntityType.js +40 -0
  204. package/dist/src/client/models/SystemActionPoliciesEntityType.js.map +1 -0
  205. package/dist/src/client/models/SystemActionPoliciesSubjectEnumWrapper.d.ts +19 -0
  206. package/dist/src/client/models/SystemActionPoliciesSubjectEnumWrapper.js +54 -0
  207. package/dist/src/client/models/SystemActionPoliciesSubjectEnumWrapper.js.map +1 -0
  208. package/dist/src/client/models/TenantEntity.d.ts +16 -0
  209. package/dist/src/client/models/TenantEntity.js +57 -0
  210. package/dist/src/client/models/TenantEntity.js.map +1 -0
  211. package/dist/src/client/models/TenantIdentityProviderEntity.d.ts +11 -0
  212. package/dist/src/client/models/TenantIdentityProviderEntity.js +40 -0
  213. package/dist/src/client/models/TenantIdentityProviderEntity.js.map +1 -0
  214. package/dist/src/client/models/TenantPlanStatusEntity.d.ts +13 -0
  215. package/dist/src/client/models/TenantPlanStatusEntity.js +42 -0
  216. package/dist/src/client/models/TenantPlanStatusEntity.js.map +1 -0
  217. package/dist/src/client/models/TenantWithSignInMethodEntity.d.ts +13 -0
  218. package/dist/src/client/models/TenantWithSignInMethodEntity.js +39 -0
  219. package/dist/src/client/models/TenantWithSignInMethodEntity.js.map +1 -0
  220. package/dist/src/client/models/UpdateCorsAllowedOriginDto.d.ts +9 -0
  221. package/dist/src/client/models/UpdateCorsAllowedOriginDto.js +32 -0
  222. package/dist/src/client/models/UpdateCorsAllowedOriginDto.js.map +1 -0
  223. package/dist/src/client/models/UpdateModelDto.d.ts +12 -0
  224. package/dist/src/client/models/UpdateModelDto.js +42 -0
  225. package/dist/src/client/models/UpdateModelDto.js.map +1 -0
  226. package/dist/src/client/models/UpdateOrganizationDto.d.ts +8 -0
  227. package/dist/src/client/models/UpdateOrganizationDto.js +28 -0
  228. package/dist/src/client/models/UpdateOrganizationDto.js.map +1 -0
  229. package/dist/src/client/models/UpdateProcessDto.d.ts +9 -0
  230. package/dist/src/client/models/UpdateProcessDto.js +28 -0
  231. package/dist/src/client/models/UpdateProcessDto.js.map +1 -0
  232. package/dist/src/client/models/UpdateTenantDto.d.ts +8 -0
  233. package/dist/src/client/models/UpdateTenantDto.js +28 -0
  234. package/dist/src/client/models/UpdateTenantDto.js.map +1 -0
  235. package/dist/src/client/models/UrlEntity.d.ts +8 -0
  236. package/dist/src/client/models/UrlEntity.js +28 -0
  237. package/dist/src/client/models/UrlEntity.js.map +1 -0
  238. package/dist/src/client/models/UserAuthInfoEntity.d.ts +13 -0
  239. package/dist/src/client/models/UserAuthInfoEntity.js +45 -0
  240. package/dist/src/client/models/UserAuthInfoEntity.js.map +1 -0
  241. package/dist/src/client/models/UserEntity.d.ts +29 -0
  242. package/dist/src/client/models/UserEntity.js +87 -0
  243. package/dist/src/client/models/UserEntity.js.map +1 -0
  244. package/dist/src/client/models/WorkflowModelEntity.d.ts +29 -0
  245. package/dist/src/client/models/WorkflowModelEntity.js +87 -0
  246. package/dist/src/client/models/WorkflowModelEntity.js.map +1 -0
  247. package/dist/src/client/models/WorkflowProcessEntity.d.ts +22 -0
  248. package/dist/src/client/models/WorkflowProcessEntity.js +78 -0
  249. package/dist/src/client/models/WorkflowProcessEntity.js.map +1 -0
  250. package/dist/src/client/models/index.d.ts +61 -0
  251. package/dist/src/client/models/index.js +62 -0
  252. package/dist/src/client/models/index.js.map +1 -0
  253. package/dist/src/client/runtime.d.ts +154 -0
  254. package/dist/src/client/runtime.js +297 -0
  255. package/dist/src/client/runtime.js.map +1 -0
  256. package/dist/src/index.d.ts +3 -0
  257. package/dist/src/index.js +4 -0
  258. package/dist/src/index.js.map +1 -0
  259. package/dist/src/useFilter.d.ts +5 -0
  260. package/dist/src/useFilter.js +27 -0
  261. package/dist/src/useFilter.js.map +1 -0
  262. package/package.json +1 -1
  263. package/src/client/apis/AccountApi.ts +1059 -0
  264. package/src/client/apis/ActionApi.ts +276 -0
  265. package/src/client/apis/AiApi.ts +193 -0
  266. package/src/client/apis/AuthApi.ts +338 -0
  267. package/src/client/apis/AuthConfigApi.ts +274 -0
  268. package/src/client/apis/CorsApi.ts +305 -0
  269. package/src/client/apis/DevelopmentApi.ts +60 -0
  270. package/src/client/apis/EngineApi.ts +626 -0
  271. package/src/client/apis/GroupApi.ts +275 -0
  272. package/src/client/apis/ModelApi.ts +548 -0
  273. package/src/client/apis/MyActionApi.ts +68 -0
  274. package/src/client/apis/MyModelApi.ts +216 -0
  275. package/src/client/apis/MyProcessApi.ts +736 -0
  276. package/src/client/apis/ProcessApi.ts +551 -0
  277. package/src/client/apis/ProfileApi.ts +97 -0
  278. package/src/client/apis/RoleApi.ts +225 -0
  279. package/src/client/apis/SettingApi.ts +144 -0
  280. package/src/client/apis/SlackApi.ts +314 -0
  281. package/src/client/apis/UsersApi.ts +411 -0
  282. package/src/client/apis/index.ts +21 -0
  283. package/src/client/index.ts +5 -0
  284. package/src/client/models/AccountEntity.ts +85 -0
  285. package/src/client/models/AskAiForDataSchemaDto.ts +78 -0
  286. package/src/client/models/AskAiForDefintionDto.ts +66 -0
  287. package/src/client/models/AuthConfigEntity.ts +129 -0
  288. package/src/client/models/ChatAiDto.ts +75 -0
  289. package/src/client/models/ChatAiResponseEntity.ts +104 -0
  290. package/src/client/models/CorsAllowedOriginEntity.ts +84 -0
  291. package/src/client/models/CreateCorsAllowedOriginDto.ts +75 -0
  292. package/src/client/models/CreateModelDto.ts +101 -0
  293. package/src/client/models/CreateOrUpdateIdentityProviderDto.ts +131 -0
  294. package/src/client/models/CreateProcessFileDto.ts +75 -0
  295. package/src/client/models/CreateTenantDto.ts +75 -0
  296. package/src/client/models/CrudSystemActionSubject.ts +61 -0
  297. package/src/client/models/CrudSystemActionType.ts +55 -0
  298. package/src/client/models/CustomerPortalDto.ts +66 -0
  299. package/src/client/models/ExecutionSystemActionSubject.ts +53 -0
  300. package/src/client/models/ExecutionSystemActionType.ts +53 -0
  301. package/src/client/models/GroupEntity.ts +138 -0
  302. package/src/client/models/IdentityProviderEntity.ts +127 -0
  303. package/src/client/models/ListCorsAllowedOriginResult.ts +83 -0
  304. package/src/client/models/ListGroupsResult.ts +83 -0
  305. package/src/client/models/ListRolesResult.ts +83 -0
  306. package/src/client/models/ListUsersResult.ts +83 -0
  307. package/src/client/models/ListWorkflowModelsResult.ts +83 -0
  308. package/src/client/models/ListWorkflowProcessesResult.ts +83 -0
  309. package/src/client/models/ModelWithNodeActionsEntity.ts +90 -0
  310. package/src/client/models/NodeActionsEntity.ts +91 -0
  311. package/src/client/models/OrganizationEntity.ts +100 -0
  312. package/src/client/models/PresetSystemActionSubject.ts +52 -0
  313. package/src/client/models/PresetSystemActionType.ts +55 -0
  314. package/src/client/models/ProcessHistoryDiffEntity.ts +120 -0
  315. package/src/client/models/ProcessTokenEntity.ts +102 -0
  316. package/src/client/models/ProcessWithNodeActionsEntity.ts +90 -0
  317. package/src/client/models/RoleEntity.ts +147 -0
  318. package/src/client/models/SessionEntity.ts +100 -0
  319. package/src/client/models/SettingEntity.ts +137 -0
  320. package/src/client/models/SignInDto.ts +84 -0
  321. package/src/client/models/SignInMethodEntity.ts +115 -0
  322. package/src/client/models/SlackChannelEntity.ts +95 -0
  323. package/src/client/models/SlackConnectivityResponse.ts +104 -0
  324. package/src/client/models/SlackEntity.ts +129 -0
  325. package/src/client/models/SubscribeDto.ts +111 -0
  326. package/src/client/models/SubscriptionEntity.ts +174 -0
  327. package/src/client/models/SystemActionPoliciesEntity.ts +90 -0
  328. package/src/client/models/SystemActionPoliciesEntitySubject.ts +86 -0
  329. package/src/client/models/SystemActionPoliciesEntityType.ts +86 -0
  330. package/src/client/models/SystemActionPoliciesSubjectEnumWrapper.ts +156 -0
  331. package/src/client/models/TenantEntity.ts +138 -0
  332. package/src/client/models/TenantIdentityProviderEntity.ts +93 -0
  333. package/src/client/models/TenantPlanStatusEntity.ts +108 -0
  334. package/src/client/models/TenantWithSignInMethodEntity.ts +106 -0
  335. package/src/client/models/UpdateCorsAllowedOriginDto.ts +75 -0
  336. package/src/client/models/UpdateModelDto.ts +101 -0
  337. package/src/client/models/UpdateOrganizationDto.ts +66 -0
  338. package/src/client/models/UpdateProcessDto.ts +73 -0
  339. package/src/client/models/UpdateTenantDto.ts +66 -0
  340. package/src/client/models/UrlEntity.ts +66 -0
  341. package/src/client/models/UserAuthInfoEntity.ts +110 -0
  342. package/src/client/models/UserEntity.ts +216 -0
  343. package/src/client/models/WorkflowModelEntity.ts +205 -0
  344. package/src/client/models/WorkflowProcessEntity.ts +191 -0
  345. package/src/client/models/index.ts +63 -0
  346. package/src/client/runtime.ts +431 -0
@@ -0,0 +1,100 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface OrganizationEntity
20
+ */
21
+ export interface OrganizationEntity {
22
+ /**
23
+ * 組織ID
24
+ * @type {string}
25
+ * @memberof OrganizationEntity
26
+ */
27
+ id: string;
28
+ /**
29
+ * 組織名
30
+ * @type {string}
31
+ * @memberof OrganizationEntity
32
+ */
33
+ name?: string;
34
+ /**
35
+ * 顧客ID
36
+ * @type {string}
37
+ * @memberof OrganizationEntity
38
+ */
39
+ customerId?: string;
40
+ /**
41
+ * 作成日時
42
+ * @type {Date}
43
+ * @memberof OrganizationEntity
44
+ */
45
+ createdAt: Date;
46
+ /**
47
+ * 最終更新日時
48
+ * @type {Date}
49
+ * @memberof OrganizationEntity
50
+ */
51
+ updatedAt: Date;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the OrganizationEntity interface.
56
+ */
57
+ export function instanceOfOrganizationEntity(value: object): value is OrganizationEntity {
58
+ if (!('id' in value) || value['id'] === undefined) return false;
59
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
60
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
61
+ return true;
62
+ }
63
+
64
+ export function OrganizationEntityFromJSON(json: any): OrganizationEntity {
65
+ return OrganizationEntityFromJSONTyped(json, false);
66
+ }
67
+
68
+ export function OrganizationEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationEntity {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+
74
+ 'id': json['id'],
75
+ 'name': json['name'] == null ? undefined : json['name'],
76
+ 'customerId': json['customerId'] == null ? undefined : json['customerId'],
77
+ 'createdAt': (new Date(json['createdAt'])),
78
+ 'updatedAt': (new Date(json['updatedAt'])),
79
+ };
80
+ }
81
+
82
+ export function OrganizationEntityToJSON(json: any): OrganizationEntity {
83
+ return OrganizationEntityToJSONTyped(json, false);
84
+ }
85
+
86
+ export function OrganizationEntityToJSONTyped(value?: OrganizationEntity | null, ignoreDiscriminator: boolean = false): any {
87
+ if (value == null) {
88
+ return value;
89
+ }
90
+
91
+ return {
92
+
93
+ 'id': value['id'],
94
+ 'name': value['name'],
95
+ 'customerId': value['customerId'],
96
+ 'createdAt': ((value['createdAt']).toISOString()),
97
+ 'updatedAt': ((value['updatedAt']).toISOString()),
98
+ };
99
+ }
100
+
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const PresetSystemActionSubject = {
21
+ Preset: 'Preset'
22
+ } as const;
23
+ export type PresetSystemActionSubject = typeof PresetSystemActionSubject[keyof typeof PresetSystemActionSubject];
24
+
25
+
26
+ export function instanceOfPresetSystemActionSubject(value: any): boolean {
27
+ for (const key in PresetSystemActionSubject) {
28
+ if (Object.prototype.hasOwnProperty.call(PresetSystemActionSubject, key)) {
29
+ if (PresetSystemActionSubject[key as keyof typeof PresetSystemActionSubject] === value) {
30
+ return true;
31
+ }
32
+ }
33
+ }
34
+ return false;
35
+ }
36
+
37
+ export function PresetSystemActionSubjectFromJSON(json: any): PresetSystemActionSubject {
38
+ return PresetSystemActionSubjectFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function PresetSystemActionSubjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresetSystemActionSubject {
42
+ return json as PresetSystemActionSubject;
43
+ }
44
+
45
+ export function PresetSystemActionSubjectToJSON(value?: PresetSystemActionSubject | null): any {
46
+ return value as any;
47
+ }
48
+
49
+ export function PresetSystemActionSubjectToJSONTyped(value: any, ignoreDiscriminator: boolean): PresetSystemActionSubject {
50
+ return value as PresetSystemActionSubject;
51
+ }
52
+
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const PresetSystemActionType = {
21
+ Administrate: 'administrate',
22
+ Manage: 'manage',
23
+ Use: 'use',
24
+ Develop: 'develop'
25
+ } as const;
26
+ export type PresetSystemActionType = typeof PresetSystemActionType[keyof typeof PresetSystemActionType];
27
+
28
+
29
+ export function instanceOfPresetSystemActionType(value: any): boolean {
30
+ for (const key in PresetSystemActionType) {
31
+ if (Object.prototype.hasOwnProperty.call(PresetSystemActionType, key)) {
32
+ if (PresetSystemActionType[key as keyof typeof PresetSystemActionType] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+
40
+ export function PresetSystemActionTypeFromJSON(json: any): PresetSystemActionType {
41
+ return PresetSystemActionTypeFromJSONTyped(json, false);
42
+ }
43
+
44
+ export function PresetSystemActionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresetSystemActionType {
45
+ return json as PresetSystemActionType;
46
+ }
47
+
48
+ export function PresetSystemActionTypeToJSON(value?: PresetSystemActionType | null): any {
49
+ return value as any;
50
+ }
51
+
52
+ export function PresetSystemActionTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): PresetSystemActionType {
53
+ return value as PresetSystemActionType;
54
+ }
55
+
@@ -0,0 +1,120 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ProcessHistoryDiffEntity
20
+ */
21
+ export interface ProcessHistoryDiffEntity {
22
+ /**
23
+ * 直前に行った操作
24
+ * @type {string}
25
+ * @memberof ProcessHistoryDiffEntity
26
+ */
27
+ type: string;
28
+ /**
29
+ * データ差分
30
+ * @type {object}
31
+ * @memberof ProcessHistoryDiffEntity
32
+ */
33
+ dataDiffs: object;
34
+ /**
35
+ * 更新日時
36
+ * @type {Date}
37
+ * @memberof ProcessHistoryDiffEntity
38
+ */
39
+ updatedAt: Date;
40
+ /**
41
+ * プロセスステータス
42
+ * @type {string}
43
+ * @memberof ProcessHistoryDiffEntity
44
+ */
45
+ status: string;
46
+ /**
47
+ * 操作するノード
48
+ * @type {object}
49
+ * @memberof ProcessHistoryDiffEntity
50
+ */
51
+ actionFromNode: object;
52
+ /**
53
+ * 操作して変化したノード
54
+ * @type {Array<object>}
55
+ * @memberof ProcessHistoryDiffEntity
56
+ */
57
+ actionToNodes: Array<object>;
58
+ /**
59
+ * 現在のノード
60
+ * @type {Array<object>}
61
+ * @memberof ProcessHistoryDiffEntity
62
+ */
63
+ currentNodes: Array<object>;
64
+ }
65
+
66
+ /**
67
+ * Check if a given object implements the ProcessHistoryDiffEntity interface.
68
+ */
69
+ export function instanceOfProcessHistoryDiffEntity(value: object): value is ProcessHistoryDiffEntity {
70
+ if (!('type' in value) || value['type'] === undefined) return false;
71
+ if (!('dataDiffs' in value) || value['dataDiffs'] === undefined) return false;
72
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
73
+ if (!('status' in value) || value['status'] === undefined) return false;
74
+ if (!('actionFromNode' in value) || value['actionFromNode'] === undefined) return false;
75
+ if (!('actionToNodes' in value) || value['actionToNodes'] === undefined) return false;
76
+ if (!('currentNodes' in value) || value['currentNodes'] === undefined) return false;
77
+ return true;
78
+ }
79
+
80
+ export function ProcessHistoryDiffEntityFromJSON(json: any): ProcessHistoryDiffEntity {
81
+ return ProcessHistoryDiffEntityFromJSONTyped(json, false);
82
+ }
83
+
84
+ export function ProcessHistoryDiffEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessHistoryDiffEntity {
85
+ if (json == null) {
86
+ return json;
87
+ }
88
+ return {
89
+
90
+ 'type': json['type'],
91
+ 'dataDiffs': json['dataDiffs'],
92
+ 'updatedAt': (new Date(json['updatedAt'])),
93
+ 'status': json['status'],
94
+ 'actionFromNode': json['actionFromNode'],
95
+ 'actionToNodes': json['actionToNodes'],
96
+ 'currentNodes': json['currentNodes'],
97
+ };
98
+ }
99
+
100
+ export function ProcessHistoryDiffEntityToJSON(json: any): ProcessHistoryDiffEntity {
101
+ return ProcessHistoryDiffEntityToJSONTyped(json, false);
102
+ }
103
+
104
+ export function ProcessHistoryDiffEntityToJSONTyped(value?: ProcessHistoryDiffEntity | null, ignoreDiscriminator: boolean = false): any {
105
+ if (value == null) {
106
+ return value;
107
+ }
108
+
109
+ return {
110
+
111
+ 'type': value['type'],
112
+ 'dataDiffs': value['dataDiffs'],
113
+ 'updatedAt': ((value['updatedAt']).toISOString()),
114
+ 'status': value['status'],
115
+ 'actionFromNode': value['actionFromNode'],
116
+ 'actionToNodes': value['actionToNodes'],
117
+ 'currentNodes': value['currentNodes'],
118
+ };
119
+ }
120
+
@@ -0,0 +1,102 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ProcessTokenEntity
20
+ */
21
+ export interface ProcessTokenEntity {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ProcessTokenEntity
26
+ */
27
+ nodeId: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ProcessTokenEntity
32
+ */
33
+ prevNodeId: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ProcessTokenEntity
38
+ */
39
+ prevAction: string;
40
+ /**
41
+ *
42
+ * @type {Array<ProcessTokenEntity>}
43
+ * @memberof ProcessTokenEntity
44
+ */
45
+ childProcessTokens: Array<ProcessTokenEntity>;
46
+ /**
47
+ *
48
+ * @type {object}
49
+ * @memberof ProcessTokenEntity
50
+ */
51
+ currentNodeIds: object;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the ProcessTokenEntity interface.
56
+ */
57
+ export function instanceOfProcessTokenEntity(value: object): value is ProcessTokenEntity {
58
+ if (!('nodeId' in value) || value['nodeId'] === undefined) return false;
59
+ if (!('prevNodeId' in value) || value['prevNodeId'] === undefined) return false;
60
+ if (!('prevAction' in value) || value['prevAction'] === undefined) return false;
61
+ if (!('childProcessTokens' in value) || value['childProcessTokens'] === undefined) return false;
62
+ if (!('currentNodeIds' in value) || value['currentNodeIds'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ProcessTokenEntityFromJSON(json: any): ProcessTokenEntity {
67
+ return ProcessTokenEntityFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ProcessTokenEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessTokenEntity {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'nodeId': json['nodeId'],
77
+ 'prevNodeId': json['prevNodeId'],
78
+ 'prevAction': json['prevAction'],
79
+ 'childProcessTokens': ((json['childProcessTokens'] as Array<any>).map(ProcessTokenEntityFromJSON)),
80
+ 'currentNodeIds': json['currentNodeIds'],
81
+ };
82
+ }
83
+
84
+ export function ProcessTokenEntityToJSON(json: any): ProcessTokenEntity {
85
+ return ProcessTokenEntityToJSONTyped(json, false);
86
+ }
87
+
88
+ export function ProcessTokenEntityToJSONTyped(value?: ProcessTokenEntity | null, ignoreDiscriminator: boolean = false): any {
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+
93
+ return {
94
+
95
+ 'nodeId': value['nodeId'],
96
+ 'prevNodeId': value['prevNodeId'],
97
+ 'prevAction': value['prevAction'],
98
+ 'childProcessTokens': ((value['childProcessTokens'] as Array<any>).map(ProcessTokenEntityToJSON)),
99
+ 'currentNodeIds': value['currentNodeIds'],
100
+ };
101
+ }
102
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { NodeActionsEntity } from './NodeActionsEntity';
17
+ import {
18
+ NodeActionsEntityFromJSON,
19
+ NodeActionsEntityFromJSONTyped,
20
+ NodeActionsEntityToJSON,
21
+ NodeActionsEntityToJSONTyped,
22
+ } from './NodeActionsEntity';
23
+ import type { WorkflowProcessEntity } from './WorkflowProcessEntity';
24
+ import {
25
+ WorkflowProcessEntityFromJSON,
26
+ WorkflowProcessEntityFromJSONTyped,
27
+ WorkflowProcessEntityToJSON,
28
+ WorkflowProcessEntityToJSONTyped,
29
+ } from './WorkflowProcessEntity';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface ProcessWithNodeActionsEntity
35
+ */
36
+ export interface ProcessWithNodeActionsEntity {
37
+ /**
38
+ * プロセス
39
+ * @type {WorkflowProcessEntity}
40
+ * @memberof ProcessWithNodeActionsEntity
41
+ */
42
+ process: WorkflowProcessEntity;
43
+ /**
44
+ * 権限を持っているノードと権限を持っているアクションの組み合わせ
45
+ * @type {Array<NodeActionsEntity>}
46
+ * @memberof ProcessWithNodeActionsEntity
47
+ */
48
+ nodeActions: Array<NodeActionsEntity>;
49
+ }
50
+
51
+ /**
52
+ * Check if a given object implements the ProcessWithNodeActionsEntity interface.
53
+ */
54
+ export function instanceOfProcessWithNodeActionsEntity(value: object): value is ProcessWithNodeActionsEntity {
55
+ if (!('process' in value) || value['process'] === undefined) return false;
56
+ if (!('nodeActions' in value) || value['nodeActions'] === undefined) return false;
57
+ return true;
58
+ }
59
+
60
+ export function ProcessWithNodeActionsEntityFromJSON(json: any): ProcessWithNodeActionsEntity {
61
+ return ProcessWithNodeActionsEntityFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function ProcessWithNodeActionsEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessWithNodeActionsEntity {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'process': WorkflowProcessEntityFromJSON(json['process']),
71
+ 'nodeActions': ((json['nodeActions'] as Array<any>).map(NodeActionsEntityFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function ProcessWithNodeActionsEntityToJSON(json: any): ProcessWithNodeActionsEntity {
76
+ return ProcessWithNodeActionsEntityToJSONTyped(json, false);
77
+ }
78
+
79
+ export function ProcessWithNodeActionsEntityToJSONTyped(value?: ProcessWithNodeActionsEntity | null, ignoreDiscriminator: boolean = false): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+
84
+ return {
85
+
86
+ 'process': WorkflowProcessEntityToJSON(value['process']),
87
+ 'nodeActions': ((value['nodeActions'] as Array<any>).map(NodeActionsEntityToJSON)),
88
+ };
89
+ }
90
+
@@ -0,0 +1,147 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * acomo API docs
5
+ * acomoのAPI仕様書です。
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { UserEntity } from './UserEntity';
17
+ import {
18
+ UserEntityFromJSON,
19
+ UserEntityFromJSONTyped,
20
+ UserEntityToJSON,
21
+ UserEntityToJSONTyped,
22
+ } from './UserEntity';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface RoleEntity
28
+ */
29
+ export interface RoleEntity {
30
+ /**
31
+ * ロールID
32
+ * @type {string}
33
+ * @memberof RoleEntity
34
+ */
35
+ id: string;
36
+ /**
37
+ * テナントID
38
+ * @type {string}
39
+ * @memberof RoleEntity
40
+ */
41
+ tenantId: string;
42
+ /**
43
+ * ロール名
44
+ * @type {string}
45
+ * @memberof RoleEntity
46
+ */
47
+ name: string;
48
+ /**
49
+ * ロール種別
50
+ * 'custom'または'preset'
51
+ * @type {string}
52
+ * @memberof RoleEntity
53
+ */
54
+ type: string;
55
+ /**
56
+ * システム実行ポリシー
57
+ * @type {Array<object>}
58
+ * @memberof RoleEntity
59
+ */
60
+ systemActionPolicies: Array<object>;
61
+ /**
62
+ * 作成日時
63
+ * @type {Date}
64
+ * @memberof RoleEntity
65
+ */
66
+ createdAt: Date;
67
+ /**
68
+ * 最終更新日時
69
+ * @type {Date}
70
+ * @memberof RoleEntity
71
+ */
72
+ updatedAt: Date;
73
+ /**
74
+ * 作成ユーザー
75
+ * @type {UserEntity}
76
+ * @memberof RoleEntity
77
+ */
78
+ createdBy: UserEntity;
79
+ /**
80
+ * 最終更新ユーザー
81
+ * @type {UserEntity}
82
+ * @memberof RoleEntity
83
+ */
84
+ updatedBy: UserEntity;
85
+ }
86
+
87
+ /**
88
+ * Check if a given object implements the RoleEntity interface.
89
+ */
90
+ export function instanceOfRoleEntity(value: object): value is RoleEntity {
91
+ if (!('id' in value) || value['id'] === undefined) return false;
92
+ if (!('tenantId' in value) || value['tenantId'] === undefined) return false;
93
+ if (!('name' in value) || value['name'] === undefined) return false;
94
+ if (!('type' in value) || value['type'] === undefined) return false;
95
+ if (!('systemActionPolicies' in value) || value['systemActionPolicies'] === undefined) return false;
96
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
97
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
98
+ if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
99
+ if (!('updatedBy' in value) || value['updatedBy'] === undefined) return false;
100
+ return true;
101
+ }
102
+
103
+ export function RoleEntityFromJSON(json: any): RoleEntity {
104
+ return RoleEntityFromJSONTyped(json, false);
105
+ }
106
+
107
+ export function RoleEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleEntity {
108
+ if (json == null) {
109
+ return json;
110
+ }
111
+ return {
112
+
113
+ 'id': json['id'],
114
+ 'tenantId': json['tenantId'],
115
+ 'name': json['name'],
116
+ 'type': json['type'],
117
+ 'systemActionPolicies': json['systemActionPolicies'],
118
+ 'createdAt': (new Date(json['createdAt'])),
119
+ 'updatedAt': (new Date(json['updatedAt'])),
120
+ 'createdBy': UserEntityFromJSON(json['createdBy']),
121
+ 'updatedBy': UserEntityFromJSON(json['updatedBy']),
122
+ };
123
+ }
124
+
125
+ export function RoleEntityToJSON(json: any): RoleEntity {
126
+ return RoleEntityToJSONTyped(json, false);
127
+ }
128
+
129
+ export function RoleEntityToJSONTyped(value?: RoleEntity | null, ignoreDiscriminator: boolean = false): any {
130
+ if (value == null) {
131
+ return value;
132
+ }
133
+
134
+ return {
135
+
136
+ 'id': value['id'],
137
+ 'tenantId': value['tenantId'],
138
+ 'name': value['name'],
139
+ 'type': value['type'],
140
+ 'systemActionPolicies': value['systemActionPolicies'],
141
+ 'createdAt': ((value['createdAt']).toISOString()),
142
+ 'updatedAt': ((value['updatedAt']).toISOString()),
143
+ 'createdBy': UserEntityToJSON(value['createdBy']),
144
+ 'updatedBy': UserEntityToJSON(value['updatedBy']),
145
+ };
146
+ }
147
+