@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.
- package/dist/src/acomo.d.ts +9 -0
- package/dist/src/acomo.js +4 -0
- package/dist/src/acomo.js.map +1 -0
- package/dist/src/client/apis/AccountApi.d.ts +85 -0
- package/dist/src/client/apis/AccountApi.js +607 -0
- package/dist/src/client/apis/AccountApi.js.map +1 -0
- package/dist/src/client/apis/ActionApi.d.ts +47 -0
- package/dist/src/client/apis/ActionApi.js +146 -0
- package/dist/src/client/apis/ActionApi.js.map +1 -0
- package/dist/src/client/apis/AiApi.d.ts +19 -0
- package/dist/src/client/apis/AiApi.js +93 -0
- package/dist/src/client/apis/AiApi.js.map +1 -0
- package/dist/src/client/apis/AuthApi.d.ts +24 -0
- package/dist/src/client/apis/AuthApi.js +202 -0
- package/dist/src/client/apis/AuthApi.js.map +1 -0
- package/dist/src/client/apis/AuthConfigApi.d.ts +26 -0
- package/dist/src/client/apis/AuthConfigApi.js +144 -0
- package/dist/src/client/apis/AuthConfigApi.js.map +1 -0
- package/dist/src/client/apis/CorsApi.d.ts +32 -0
- package/dist/src/client/apis/CorsApi.js +158 -0
- package/dist/src/client/apis/CorsApi.js.map +1 -0
- package/dist/src/client/apis/DevelopmentApi.d.ts +5 -0
- package/dist/src/client/apis/DevelopmentApi.js +28 -0
- package/dist/src/client/apis/DevelopmentApi.js.map +1 -0
- package/dist/src/client/apis/EngineApi.d.ts +65 -0
- package/dist/src/client/apis/EngineApi.js +330 -0
- package/dist/src/client/apis/EngineApi.js.map +1 -0
- package/dist/src/client/apis/GroupApi.d.ts +26 -0
- package/dist/src/client/apis/GroupApi.js +151 -0
- package/dist/src/client/apis/GroupApi.js.map +1 -0
- package/dist/src/client/apis/ModelApi.d.ts +57 -0
- package/dist/src/client/apis/ModelApi.js +296 -0
- package/dist/src/client/apis/ModelApi.js.map +1 -0
- package/dist/src/client/apis/MyActionApi.d.ts +6 -0
- package/dist/src/client/apis/MyActionApi.js +30 -0
- package/dist/src/client/apis/MyActionApi.js.map +1 -0
- package/dist/src/client/apis/MyModelApi.d.ts +26 -0
- package/dist/src/client/apis/MyModelApi.js +113 -0
- package/dist/src/client/apis/MyModelApi.js.map +1 -0
- package/dist/src/client/apis/MyProcessApi.d.ts +87 -0
- package/dist/src/client/apis/MyProcessApi.js +402 -0
- package/dist/src/client/apis/MyProcessApi.js.map +1 -0
- package/dist/src/client/apis/ProcessApi.d.ts +55 -0
- package/dist/src/client/apis/ProcessApi.js +295 -0
- package/dist/src/client/apis/ProcessApi.js.map +1 -0
- package/dist/src/client/apis/ProfileApi.d.ts +7 -0
- package/dist/src/client/apis/ProfileApi.js +52 -0
- package/dist/src/client/apis/ProfileApi.js.map +1 -0
- package/dist/src/client/apis/RoleApi.d.ts +23 -0
- package/dist/src/client/apis/RoleApi.js +120 -0
- package/dist/src/client/apis/RoleApi.js.map +1 -0
- package/dist/src/client/apis/SettingApi.d.ts +10 -0
- package/dist/src/client/apis/SettingApi.js +80 -0
- package/dist/src/client/apis/SettingApi.js.map +1 -0
- package/dist/src/client/apis/SlackApi.d.ts +18 -0
- package/dist/src/client/apis/SlackApi.js +195 -0
- package/dist/src/client/apis/SlackApi.js.map +1 -0
- package/dist/src/client/apis/UsersApi.d.ts +44 -0
- package/dist/src/client/apis/UsersApi.js +222 -0
- package/dist/src/client/apis/UsersApi.js.map +1 -0
- package/dist/src/client/apis/index.d.ts +19 -0
- package/dist/src/client/apis/index.js +20 -0
- package/dist/src/client/apis/index.js.map +1 -0
- package/dist/src/client/index.d.ts +3 -0
- package/dist/src/client/index.js +4 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/models/AccountEntity.d.ts +10 -0
- package/dist/src/client/models/AccountEntity.js +36 -0
- package/dist/src/client/models/AccountEntity.js.map +1 -0
- package/dist/src/client/models/AskAiForDataSchemaDto.d.ts +9 -0
- package/dist/src/client/models/AskAiForDataSchemaDto.js +32 -0
- package/dist/src/client/models/AskAiForDataSchemaDto.js.map +1 -0
- package/dist/src/client/models/AskAiForDefintionDto.d.ts +8 -0
- package/dist/src/client/models/AskAiForDefintionDto.js +28 -0
- package/dist/src/client/models/AskAiForDefintionDto.js.map +1 -0
- package/dist/src/client/models/AuthConfigEntity.d.ts +15 -0
- package/dist/src/client/models/AuthConfigEntity.js +53 -0
- package/dist/src/client/models/AuthConfigEntity.js.map +1 -0
- package/dist/src/client/models/ChatAiDto.d.ts +9 -0
- package/dist/src/client/models/ChatAiDto.js +32 -0
- package/dist/src/client/models/ChatAiDto.js.map +1 -0
- package/dist/src/client/models/ChatAiResponseEntity.d.ts +12 -0
- package/dist/src/client/models/ChatAiResponseEntity.js +38 -0
- package/dist/src/client/models/ChatAiResponseEntity.js.map +1 -0
- package/dist/src/client/models/CorsAllowedOriginEntity.d.ts +10 -0
- package/dist/src/client/models/CorsAllowedOriginEntity.js +36 -0
- package/dist/src/client/models/CorsAllowedOriginEntity.js.map +1 -0
- package/dist/src/client/models/CreateCorsAllowedOriginDto.d.ts +9 -0
- package/dist/src/client/models/CreateCorsAllowedOriginDto.js +32 -0
- package/dist/src/client/models/CreateCorsAllowedOriginDto.js.map +1 -0
- package/dist/src/client/models/CreateModelDto.d.ts +12 -0
- package/dist/src/client/models/CreateModelDto.js +42 -0
- package/dist/src/client/models/CreateModelDto.js.map +1 -0
- package/dist/src/client/models/CreateOrUpdateIdentityProviderDto.d.ts +22 -0
- package/dist/src/client/models/CreateOrUpdateIdentityProviderDto.js +53 -0
- package/dist/src/client/models/CreateOrUpdateIdentityProviderDto.js.map +1 -0
- package/dist/src/client/models/CreateProcessFileDto.d.ts +9 -0
- package/dist/src/client/models/CreateProcessFileDto.js +32 -0
- package/dist/src/client/models/CreateProcessFileDto.js.map +1 -0
- package/dist/src/client/models/CreateTenantDto.d.ts +9 -0
- package/dist/src/client/models/CreateTenantDto.js +32 -0
- package/dist/src/client/models/CreateTenantDto.js.map +1 -0
- package/dist/src/client/models/CrudSystemActionSubject.d.ts +18 -0
- package/dist/src/client/models/CrudSystemActionSubject.js +35 -0
- package/dist/src/client/models/CrudSystemActionSubject.js.map +1 -0
- package/dist/src/client/models/CrudSystemActionType.d.ts +12 -0
- package/dist/src/client/models/CrudSystemActionType.js +29 -0
- package/dist/src/client/models/CrudSystemActionType.js.map +1 -0
- package/dist/src/client/models/CustomerPortalDto.d.ts +8 -0
- package/dist/src/client/models/CustomerPortalDto.js +28 -0
- package/dist/src/client/models/CustomerPortalDto.js.map +1 -0
- package/dist/src/client/models/ExecutionSystemActionSubject.d.ts +10 -0
- package/dist/src/client/models/ExecutionSystemActionSubject.js +27 -0
- package/dist/src/client/models/ExecutionSystemActionSubject.js.map +1 -0
- package/dist/src/client/models/ExecutionSystemActionType.d.ts +10 -0
- package/dist/src/client/models/ExecutionSystemActionType.js +27 -0
- package/dist/src/client/models/ExecutionSystemActionType.js.map +1 -0
- package/dist/src/client/models/GroupEntity.d.ts +16 -0
- package/dist/src/client/models/GroupEntity.js +57 -0
- package/dist/src/client/models/GroupEntity.js.map +1 -0
- package/dist/src/client/models/IdentityProviderEntity.d.ts +19 -0
- package/dist/src/client/models/IdentityProviderEntity.js +48 -0
- package/dist/src/client/models/IdentityProviderEntity.js.map +1 -0
- package/dist/src/client/models/ListCorsAllowedOriginResult.d.ts +10 -0
- package/dist/src/client/models/ListCorsAllowedOriginResult.js +33 -0
- package/dist/src/client/models/ListCorsAllowedOriginResult.js.map +1 -0
- package/dist/src/client/models/ListGroupsResult.d.ts +10 -0
- package/dist/src/client/models/ListGroupsResult.js +33 -0
- package/dist/src/client/models/ListGroupsResult.js.map +1 -0
- package/dist/src/client/models/ListRolesResult.d.ts +10 -0
- package/dist/src/client/models/ListRolesResult.js +33 -0
- package/dist/src/client/models/ListRolesResult.js.map +1 -0
- package/dist/src/client/models/ListUsersResult.d.ts +10 -0
- package/dist/src/client/models/ListUsersResult.js +33 -0
- package/dist/src/client/models/ListUsersResult.js.map +1 -0
- package/dist/src/client/models/ListWorkflowModelsResult.d.ts +10 -0
- package/dist/src/client/models/ListWorkflowModelsResult.js +33 -0
- package/dist/src/client/models/ListWorkflowModelsResult.js.map +1 -0
- package/dist/src/client/models/ListWorkflowProcessesResult.d.ts +10 -0
- package/dist/src/client/models/ListWorkflowProcessesResult.js +33 -0
- package/dist/src/client/models/ListWorkflowProcessesResult.js.map +1 -0
- package/dist/src/client/models/ModelWithNodeActionsEntity.d.ts +11 -0
- package/dist/src/client/models/ModelWithNodeActionsEntity.js +34 -0
- package/dist/src/client/models/ModelWithNodeActionsEntity.js.map +1 -0
- package/dist/src/client/models/NodeActionsEntity.d.ts +19 -0
- package/dist/src/client/models/NodeActionsEntity.js +41 -0
- package/dist/src/client/models/NodeActionsEntity.js.map +1 -0
- package/dist/src/client/models/OrganizationEntity.d.ts +12 -0
- package/dist/src/client/models/OrganizationEntity.js +40 -0
- package/dist/src/client/models/OrganizationEntity.js.map +1 -0
- package/dist/src/client/models/PresetSystemActionSubject.d.ts +9 -0
- package/dist/src/client/models/PresetSystemActionSubject.js +26 -0
- package/dist/src/client/models/PresetSystemActionSubject.js.map +1 -0
- package/dist/src/client/models/PresetSystemActionType.d.ts +12 -0
- package/dist/src/client/models/PresetSystemActionType.js +29 -0
- package/dist/src/client/models/PresetSystemActionType.js.map +1 -0
- package/dist/src/client/models/ProcessHistoryDiffEntity.d.ts +14 -0
- package/dist/src/client/models/ProcessHistoryDiffEntity.js +52 -0
- package/dist/src/client/models/ProcessHistoryDiffEntity.js.map +1 -0
- package/dist/src/client/models/ProcessTokenEntity.d.ts +12 -0
- package/dist/src/client/models/ProcessTokenEntity.js +44 -0
- package/dist/src/client/models/ProcessTokenEntity.js.map +1 -0
- package/dist/src/client/models/ProcessWithNodeActionsEntity.d.ts +11 -0
- package/dist/src/client/models/ProcessWithNodeActionsEntity.js +34 -0
- package/dist/src/client/models/ProcessWithNodeActionsEntity.js.map +1 -0
- package/dist/src/client/models/RoleEntity.d.ts +17 -0
- package/dist/src/client/models/RoleEntity.js +61 -0
- package/dist/src/client/models/RoleEntity.js.map +1 -0
- package/dist/src/client/models/SessionEntity.d.ts +12 -0
- package/dist/src/client/models/SessionEntity.js +40 -0
- package/dist/src/client/models/SessionEntity.js.map +1 -0
- package/dist/src/client/models/SettingEntity.d.ts +16 -0
- package/dist/src/client/models/SettingEntity.js +57 -0
- package/dist/src/client/models/SettingEntity.js.map +1 -0
- package/dist/src/client/models/SignInDto.d.ts +10 -0
- package/dist/src/client/models/SignInDto.js +36 -0
- package/dist/src/client/models/SignInDto.js.map +1 -0
- package/dist/src/client/models/SignInMethodEntity.d.ts +18 -0
- package/dist/src/client/models/SignInMethodEntity.js +49 -0
- package/dist/src/client/models/SignInMethodEntity.js.map +1 -0
- package/dist/src/client/models/SlackChannelEntity.d.ts +11 -0
- package/dist/src/client/models/SlackChannelEntity.js +40 -0
- package/dist/src/client/models/SlackChannelEntity.js.map +1 -0
- package/dist/src/client/models/SlackConnectivityResponse.d.ts +12 -0
- package/dist/src/client/models/SlackConnectivityResponse.js +44 -0
- package/dist/src/client/models/SlackConnectivityResponse.js.map +1 -0
- package/dist/src/client/models/SlackEntity.d.ts +15 -0
- package/dist/src/client/models/SlackEntity.js +53 -0
- package/dist/src/client/models/SlackEntity.js.map +1 -0
- package/dist/src/client/models/SubscribeDto.d.ts +13 -0
- package/dist/src/client/models/SubscribeDto.js +48 -0
- package/dist/src/client/models/SubscribeDto.js.map +1 -0
- package/dist/src/client/models/SubscriptionEntity.d.ts +20 -0
- package/dist/src/client/models/SubscriptionEntity.js +76 -0
- package/dist/src/client/models/SubscriptionEntity.js.map +1 -0
- package/dist/src/client/models/SystemActionPoliciesEntity.d.ts +11 -0
- package/dist/src/client/models/SystemActionPoliciesEntity.js +34 -0
- package/dist/src/client/models/SystemActionPoliciesEntity.js.map +1 -0
- package/dist/src/client/models/SystemActionPoliciesEntitySubject.d.ts +8 -0
- package/dist/src/client/models/SystemActionPoliciesEntitySubject.js +40 -0
- package/dist/src/client/models/SystemActionPoliciesEntitySubject.js.map +1 -0
- package/dist/src/client/models/SystemActionPoliciesEntityType.d.ts +8 -0
- package/dist/src/client/models/SystemActionPoliciesEntityType.js +40 -0
- package/dist/src/client/models/SystemActionPoliciesEntityType.js.map +1 -0
- package/dist/src/client/models/SystemActionPoliciesSubjectEnumWrapper.d.ts +19 -0
- package/dist/src/client/models/SystemActionPoliciesSubjectEnumWrapper.js +54 -0
- package/dist/src/client/models/SystemActionPoliciesSubjectEnumWrapper.js.map +1 -0
- package/dist/src/client/models/TenantEntity.d.ts +16 -0
- package/dist/src/client/models/TenantEntity.js +57 -0
- package/dist/src/client/models/TenantEntity.js.map +1 -0
- package/dist/src/client/models/TenantIdentityProviderEntity.d.ts +11 -0
- package/dist/src/client/models/TenantIdentityProviderEntity.js +40 -0
- package/dist/src/client/models/TenantIdentityProviderEntity.js.map +1 -0
- package/dist/src/client/models/TenantPlanStatusEntity.d.ts +13 -0
- package/dist/src/client/models/TenantPlanStatusEntity.js +42 -0
- package/dist/src/client/models/TenantPlanStatusEntity.js.map +1 -0
- package/dist/src/client/models/TenantWithSignInMethodEntity.d.ts +13 -0
- package/dist/src/client/models/TenantWithSignInMethodEntity.js +39 -0
- package/dist/src/client/models/TenantWithSignInMethodEntity.js.map +1 -0
- package/dist/src/client/models/UpdateCorsAllowedOriginDto.d.ts +9 -0
- package/dist/src/client/models/UpdateCorsAllowedOriginDto.js +32 -0
- package/dist/src/client/models/UpdateCorsAllowedOriginDto.js.map +1 -0
- package/dist/src/client/models/UpdateModelDto.d.ts +12 -0
- package/dist/src/client/models/UpdateModelDto.js +42 -0
- package/dist/src/client/models/UpdateModelDto.js.map +1 -0
- package/dist/src/client/models/UpdateOrganizationDto.d.ts +8 -0
- package/dist/src/client/models/UpdateOrganizationDto.js +28 -0
- package/dist/src/client/models/UpdateOrganizationDto.js.map +1 -0
- package/dist/src/client/models/UpdateProcessDto.d.ts +9 -0
- package/dist/src/client/models/UpdateProcessDto.js +28 -0
- package/dist/src/client/models/UpdateProcessDto.js.map +1 -0
- package/dist/src/client/models/UpdateTenantDto.d.ts +8 -0
- package/dist/src/client/models/UpdateTenantDto.js +28 -0
- package/dist/src/client/models/UpdateTenantDto.js.map +1 -0
- package/dist/src/client/models/UrlEntity.d.ts +8 -0
- package/dist/src/client/models/UrlEntity.js +28 -0
- package/dist/src/client/models/UrlEntity.js.map +1 -0
- package/dist/src/client/models/UserAuthInfoEntity.d.ts +13 -0
- package/dist/src/client/models/UserAuthInfoEntity.js +45 -0
- package/dist/src/client/models/UserAuthInfoEntity.js.map +1 -0
- package/dist/src/client/models/UserEntity.d.ts +29 -0
- package/dist/src/client/models/UserEntity.js +87 -0
- package/dist/src/client/models/UserEntity.js.map +1 -0
- package/dist/src/client/models/WorkflowModelEntity.d.ts +29 -0
- package/dist/src/client/models/WorkflowModelEntity.js +87 -0
- package/dist/src/client/models/WorkflowModelEntity.js.map +1 -0
- package/dist/src/client/models/WorkflowProcessEntity.d.ts +22 -0
- package/dist/src/client/models/WorkflowProcessEntity.js +78 -0
- package/dist/src/client/models/WorkflowProcessEntity.js.map +1 -0
- package/dist/src/client/models/index.d.ts +61 -0
- package/dist/src/client/models/index.js +62 -0
- package/dist/src/client/models/index.js.map +1 -0
- package/dist/src/client/runtime.d.ts +154 -0
- package/dist/src/client/runtime.js +297 -0
- package/dist/src/client/runtime.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/useFilter.d.ts +5 -0
- package/dist/src/useFilter.js +27 -0
- package/dist/src/useFilter.js.map +1 -0
- package/package.json +1 -1
- package/src/client/apis/AccountApi.ts +1059 -0
- package/src/client/apis/ActionApi.ts +276 -0
- package/src/client/apis/AiApi.ts +193 -0
- package/src/client/apis/AuthApi.ts +338 -0
- package/src/client/apis/AuthConfigApi.ts +274 -0
- package/src/client/apis/CorsApi.ts +305 -0
- package/src/client/apis/DevelopmentApi.ts +60 -0
- package/src/client/apis/EngineApi.ts +626 -0
- package/src/client/apis/GroupApi.ts +275 -0
- package/src/client/apis/ModelApi.ts +548 -0
- package/src/client/apis/MyActionApi.ts +68 -0
- package/src/client/apis/MyModelApi.ts +216 -0
- package/src/client/apis/MyProcessApi.ts +736 -0
- package/src/client/apis/ProcessApi.ts +551 -0
- package/src/client/apis/ProfileApi.ts +97 -0
- package/src/client/apis/RoleApi.ts +225 -0
- package/src/client/apis/SettingApi.ts +144 -0
- package/src/client/apis/SlackApi.ts +314 -0
- package/src/client/apis/UsersApi.ts +411 -0
- package/src/client/apis/index.ts +21 -0
- package/src/client/index.ts +5 -0
- package/src/client/models/AccountEntity.ts +85 -0
- package/src/client/models/AskAiForDataSchemaDto.ts +78 -0
- package/src/client/models/AskAiForDefintionDto.ts +66 -0
- package/src/client/models/AuthConfigEntity.ts +129 -0
- package/src/client/models/ChatAiDto.ts +75 -0
- package/src/client/models/ChatAiResponseEntity.ts +104 -0
- package/src/client/models/CorsAllowedOriginEntity.ts +84 -0
- package/src/client/models/CreateCorsAllowedOriginDto.ts +75 -0
- package/src/client/models/CreateModelDto.ts +101 -0
- package/src/client/models/CreateOrUpdateIdentityProviderDto.ts +131 -0
- package/src/client/models/CreateProcessFileDto.ts +75 -0
- package/src/client/models/CreateTenantDto.ts +75 -0
- package/src/client/models/CrudSystemActionSubject.ts +61 -0
- package/src/client/models/CrudSystemActionType.ts +55 -0
- package/src/client/models/CustomerPortalDto.ts +66 -0
- package/src/client/models/ExecutionSystemActionSubject.ts +53 -0
- package/src/client/models/ExecutionSystemActionType.ts +53 -0
- package/src/client/models/GroupEntity.ts +138 -0
- package/src/client/models/IdentityProviderEntity.ts +127 -0
- package/src/client/models/ListCorsAllowedOriginResult.ts +83 -0
- package/src/client/models/ListGroupsResult.ts +83 -0
- package/src/client/models/ListRolesResult.ts +83 -0
- package/src/client/models/ListUsersResult.ts +83 -0
- package/src/client/models/ListWorkflowModelsResult.ts +83 -0
- package/src/client/models/ListWorkflowProcessesResult.ts +83 -0
- package/src/client/models/ModelWithNodeActionsEntity.ts +90 -0
- package/src/client/models/NodeActionsEntity.ts +91 -0
- package/src/client/models/OrganizationEntity.ts +100 -0
- package/src/client/models/PresetSystemActionSubject.ts +52 -0
- package/src/client/models/PresetSystemActionType.ts +55 -0
- package/src/client/models/ProcessHistoryDiffEntity.ts +120 -0
- package/src/client/models/ProcessTokenEntity.ts +102 -0
- package/src/client/models/ProcessWithNodeActionsEntity.ts +90 -0
- package/src/client/models/RoleEntity.ts +147 -0
- package/src/client/models/SessionEntity.ts +100 -0
- package/src/client/models/SettingEntity.ts +137 -0
- package/src/client/models/SignInDto.ts +84 -0
- package/src/client/models/SignInMethodEntity.ts +115 -0
- package/src/client/models/SlackChannelEntity.ts +95 -0
- package/src/client/models/SlackConnectivityResponse.ts +104 -0
- package/src/client/models/SlackEntity.ts +129 -0
- package/src/client/models/SubscribeDto.ts +111 -0
- package/src/client/models/SubscriptionEntity.ts +174 -0
- package/src/client/models/SystemActionPoliciesEntity.ts +90 -0
- package/src/client/models/SystemActionPoliciesEntitySubject.ts +86 -0
- package/src/client/models/SystemActionPoliciesEntityType.ts +86 -0
- package/src/client/models/SystemActionPoliciesSubjectEnumWrapper.ts +156 -0
- package/src/client/models/TenantEntity.ts +138 -0
- package/src/client/models/TenantIdentityProviderEntity.ts +93 -0
- package/src/client/models/TenantPlanStatusEntity.ts +108 -0
- package/src/client/models/TenantWithSignInMethodEntity.ts +106 -0
- package/src/client/models/UpdateCorsAllowedOriginDto.ts +75 -0
- package/src/client/models/UpdateModelDto.ts +101 -0
- package/src/client/models/UpdateOrganizationDto.ts +66 -0
- package/src/client/models/UpdateProcessDto.ts +73 -0
- package/src/client/models/UpdateTenantDto.ts +66 -0
- package/src/client/models/UrlEntity.ts +66 -0
- package/src/client/models/UserAuthInfoEntity.ts +110 -0
- package/src/client/models/UserEntity.ts +216 -0
- package/src/client/models/WorkflowModelEntity.ts +205 -0
- package/src/client/models/WorkflowProcessEntity.ts +191 -0
- package/src/client/models/index.ts +63 -0
- package/src/client/runtime.ts +431 -0
|
@@ -0,0 +1,551 @@
|
|
|
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
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
CreateProcessFileDto,
|
|
19
|
+
ListWorkflowProcessesResult,
|
|
20
|
+
ProcessHistoryDiffEntity,
|
|
21
|
+
UpdateProcessDto,
|
|
22
|
+
WorkflowProcessEntity,
|
|
23
|
+
} from '../models/index';
|
|
24
|
+
import {
|
|
25
|
+
CreateProcessFileDtoFromJSON,
|
|
26
|
+
CreateProcessFileDtoToJSON,
|
|
27
|
+
ListWorkflowProcessesResultFromJSON,
|
|
28
|
+
ListWorkflowProcessesResultToJSON,
|
|
29
|
+
ProcessHistoryDiffEntityFromJSON,
|
|
30
|
+
ProcessHistoryDiffEntityToJSON,
|
|
31
|
+
UpdateProcessDtoFromJSON,
|
|
32
|
+
UpdateProcessDtoToJSON,
|
|
33
|
+
WorkflowProcessEntityFromJSON,
|
|
34
|
+
WorkflowProcessEntityToJSON,
|
|
35
|
+
} from '../models/index';
|
|
36
|
+
|
|
37
|
+
export interface DeleteProcessDataFileRequest {
|
|
38
|
+
processId: string;
|
|
39
|
+
createProcessFileDto: CreateProcessFileDto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface DeleteWorkflowProcessRequest {
|
|
43
|
+
processId: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface GetDiffsRequest {
|
|
47
|
+
processId: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface GetProcessDataFileDownloadUrlRequest {
|
|
51
|
+
processId: string;
|
|
52
|
+
createProcessFileDto: CreateProcessFileDto;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface GetWorkflowProcessRequest {
|
|
56
|
+
processId: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ListWorkflowProcessHistoriesRequest {
|
|
60
|
+
processId: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface ListWorkflowProcessesRequest {
|
|
64
|
+
filter?: string;
|
|
65
|
+
skip?: string;
|
|
66
|
+
take?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface UpdateWorkflowProcessRequest {
|
|
70
|
+
processId: string;
|
|
71
|
+
updateProcessDto: UpdateProcessDto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface UploadProcessDataFileRequest {
|
|
75
|
+
processId: string;
|
|
76
|
+
createProcessFileDto: CreateProcessFileDto;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export class ProcessApi extends runtime.BaseAPI {
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* 業務管理者向けプロセスファイル削除API
|
|
86
|
+
* プロセスデータに紐づいた指定のファイルを削除する
|
|
87
|
+
*/
|
|
88
|
+
async deleteProcessDataFileRaw(requestParameters: DeleteProcessDataFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
|
|
89
|
+
if (requestParameters['processId'] == null) {
|
|
90
|
+
throw new runtime.RequiredError(
|
|
91
|
+
'processId',
|
|
92
|
+
'Required parameter "processId" was null or undefined when calling deleteProcessDataFile().'
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (requestParameters['createProcessFileDto'] == null) {
|
|
97
|
+
throw new runtime.RequiredError(
|
|
98
|
+
'createProcessFileDto',
|
|
99
|
+
'Required parameter "createProcessFileDto" was null or undefined when calling deleteProcessDataFile().'
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const queryParameters: any = {};
|
|
104
|
+
|
|
105
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
106
|
+
|
|
107
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
108
|
+
|
|
109
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
110
|
+
const token = this.configuration.accessToken;
|
|
111
|
+
const tokenString = await token("Authorization", []);
|
|
112
|
+
|
|
113
|
+
if (tokenString) {
|
|
114
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
118
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
const response = await this.request({
|
|
122
|
+
path: `/api/v1/processes/{processId}/files/delete`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
123
|
+
method: 'POST',
|
|
124
|
+
headers: headerParameters,
|
|
125
|
+
query: queryParameters,
|
|
126
|
+
body: CreateProcessFileDtoToJSON(requestParameters['createProcessFileDto']),
|
|
127
|
+
}, initOverrides);
|
|
128
|
+
|
|
129
|
+
return new runtime.JSONApiResponse<any>(response);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 業務管理者向けプロセスファイル削除API
|
|
134
|
+
* プロセスデータに紐づいた指定のファイルを削除する
|
|
135
|
+
*/
|
|
136
|
+
async deleteProcessDataFile(requestParameters: DeleteProcessDataFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
|
|
137
|
+
const response = await this.deleteProcessDataFileRaw(requestParameters, initOverrides);
|
|
138
|
+
return await response.value();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* ワークフロープロセスを1件削除する。
|
|
143
|
+
*/
|
|
144
|
+
async deleteWorkflowProcessRaw(requestParameters: DeleteWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowProcessEntity>> {
|
|
145
|
+
if (requestParameters['processId'] == null) {
|
|
146
|
+
throw new runtime.RequiredError(
|
|
147
|
+
'processId',
|
|
148
|
+
'Required parameter "processId" was null or undefined when calling deleteWorkflowProcess().'
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const queryParameters: any = {};
|
|
153
|
+
|
|
154
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
155
|
+
|
|
156
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
157
|
+
const token = this.configuration.accessToken;
|
|
158
|
+
const tokenString = await token("Authorization", []);
|
|
159
|
+
|
|
160
|
+
if (tokenString) {
|
|
161
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
165
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
const response = await this.request({
|
|
169
|
+
path: `/api/v1/processes/{processId}`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
170
|
+
method: 'DELETE',
|
|
171
|
+
headers: headerParameters,
|
|
172
|
+
query: queryParameters,
|
|
173
|
+
}, initOverrides);
|
|
174
|
+
|
|
175
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowProcessEntityFromJSON(jsonValue));
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* ワークフロープロセスを1件削除する。
|
|
180
|
+
*/
|
|
181
|
+
async deleteWorkflowProcess(requestParameters: DeleteWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowProcessEntity> {
|
|
182
|
+
const response = await this.deleteWorkflowProcessRaw(requestParameters, initOverrides);
|
|
183
|
+
return await response.value();
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* 指定したIDのワークフロープロセスに関連する履歴の差分を取得する。
|
|
188
|
+
*/
|
|
189
|
+
async getDiffsRaw(requestParameters: GetDiffsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProcessHistoryDiffEntity>>> {
|
|
190
|
+
if (requestParameters['processId'] == null) {
|
|
191
|
+
throw new runtime.RequiredError(
|
|
192
|
+
'processId',
|
|
193
|
+
'Required parameter "processId" was null or undefined when calling getDiffs().'
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
const queryParameters: any = {};
|
|
198
|
+
|
|
199
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
200
|
+
|
|
201
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
202
|
+
const token = this.configuration.accessToken;
|
|
203
|
+
const tokenString = await token("Authorization", []);
|
|
204
|
+
|
|
205
|
+
if (tokenString) {
|
|
206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
210
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const response = await this.request({
|
|
214
|
+
path: `/api/v1/processes/{processId}/diffs`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
215
|
+
method: 'GET',
|
|
216
|
+
headers: headerParameters,
|
|
217
|
+
query: queryParameters,
|
|
218
|
+
}, initOverrides);
|
|
219
|
+
|
|
220
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ProcessHistoryDiffEntityFromJSON));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* 指定したIDのワークフロープロセスに関連する履歴の差分を取得する。
|
|
225
|
+
*/
|
|
226
|
+
async getDiffs(requestParameters: GetDiffsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProcessHistoryDiffEntity>> {
|
|
227
|
+
const response = await this.getDiffsRaw(requestParameters, initOverrides);
|
|
228
|
+
return await response.value();
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* 業務管理者向けプロセスファイルダウンロードAPI
|
|
233
|
+
* 指定したファイルの一時ダウンロードURLを発行する(有効期限15分)
|
|
234
|
+
*/
|
|
235
|
+
async getProcessDataFileDownloadUrlRaw(requestParameters: GetProcessDataFileDownloadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
236
|
+
if (requestParameters['processId'] == null) {
|
|
237
|
+
throw new runtime.RequiredError(
|
|
238
|
+
'processId',
|
|
239
|
+
'Required parameter "processId" was null or undefined when calling getProcessDataFileDownloadUrl().'
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (requestParameters['createProcessFileDto'] == null) {
|
|
244
|
+
throw new runtime.RequiredError(
|
|
245
|
+
'createProcessFileDto',
|
|
246
|
+
'Required parameter "createProcessFileDto" was null or undefined when calling getProcessDataFileDownloadUrl().'
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
const queryParameters: any = {};
|
|
251
|
+
|
|
252
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
253
|
+
|
|
254
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
255
|
+
|
|
256
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
257
|
+
const token = this.configuration.accessToken;
|
|
258
|
+
const tokenString = await token("Authorization", []);
|
|
259
|
+
|
|
260
|
+
if (tokenString) {
|
|
261
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
265
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
const response = await this.request({
|
|
269
|
+
path: `/api/v1/processes/{processId}/files/getDownloadUrl`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
270
|
+
method: 'POST',
|
|
271
|
+
headers: headerParameters,
|
|
272
|
+
query: queryParameters,
|
|
273
|
+
body: CreateProcessFileDtoToJSON(requestParameters['createProcessFileDto']),
|
|
274
|
+
}, initOverrides);
|
|
275
|
+
|
|
276
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
277
|
+
return new runtime.JSONApiResponse<string>(response);
|
|
278
|
+
} else {
|
|
279
|
+
return new runtime.TextApiResponse(response) as any;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* 業務管理者向けプロセスファイルダウンロードAPI
|
|
285
|
+
* 指定したファイルの一時ダウンロードURLを発行する(有効期限15分)
|
|
286
|
+
*/
|
|
287
|
+
async getProcessDataFileDownloadUrl(requestParameters: GetProcessDataFileDownloadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string | null | undefined > {
|
|
288
|
+
const response = await this.getProcessDataFileDownloadUrlRaw(requestParameters, initOverrides);
|
|
289
|
+
switch (response.raw.status) {
|
|
290
|
+
case 200:
|
|
291
|
+
return await response.value();
|
|
292
|
+
case 201:
|
|
293
|
+
return null;
|
|
294
|
+
default:
|
|
295
|
+
return await response.value();
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* ワークフロープロセスを1件取得する。
|
|
301
|
+
*/
|
|
302
|
+
async getWorkflowProcessRaw(requestParameters: GetWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowProcessEntity>> {
|
|
303
|
+
if (requestParameters['processId'] == null) {
|
|
304
|
+
throw new runtime.RequiredError(
|
|
305
|
+
'processId',
|
|
306
|
+
'Required parameter "processId" was null or undefined when calling getWorkflowProcess().'
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
const queryParameters: any = {};
|
|
311
|
+
|
|
312
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
313
|
+
|
|
314
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
315
|
+
const token = this.configuration.accessToken;
|
|
316
|
+
const tokenString = await token("Authorization", []);
|
|
317
|
+
|
|
318
|
+
if (tokenString) {
|
|
319
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
323
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
const response = await this.request({
|
|
327
|
+
path: `/api/v1/processes/{processId}`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
328
|
+
method: 'GET',
|
|
329
|
+
headers: headerParameters,
|
|
330
|
+
query: queryParameters,
|
|
331
|
+
}, initOverrides);
|
|
332
|
+
|
|
333
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowProcessEntityFromJSON(jsonValue));
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* ワークフロープロセスを1件取得する。
|
|
338
|
+
*/
|
|
339
|
+
async getWorkflowProcess(requestParameters: GetWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowProcessEntity> {
|
|
340
|
+
const response = await this.getWorkflowProcessRaw(requestParameters, initOverrides);
|
|
341
|
+
return await response.value();
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* 指定したIDのワークフロープロセスに関連するワークフロープロセス履歴一覧を取得する。
|
|
346
|
+
*/
|
|
347
|
+
async listWorkflowProcessHistoriesRaw(requestParameters: ListWorkflowProcessHistoriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<WorkflowProcessEntity>>> {
|
|
348
|
+
if (requestParameters['processId'] == null) {
|
|
349
|
+
throw new runtime.RequiredError(
|
|
350
|
+
'processId',
|
|
351
|
+
'Required parameter "processId" was null or undefined when calling listWorkflowProcessHistories().'
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
const queryParameters: any = {};
|
|
356
|
+
|
|
357
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
358
|
+
|
|
359
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
360
|
+
const token = this.configuration.accessToken;
|
|
361
|
+
const tokenString = await token("Authorization", []);
|
|
362
|
+
|
|
363
|
+
if (tokenString) {
|
|
364
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
368
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
const response = await this.request({
|
|
372
|
+
path: `/api/v1/processes/{processId}/histories`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
373
|
+
method: 'GET',
|
|
374
|
+
headers: headerParameters,
|
|
375
|
+
query: queryParameters,
|
|
376
|
+
}, initOverrides);
|
|
377
|
+
|
|
378
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(WorkflowProcessEntityFromJSON));
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* 指定したIDのワークフロープロセスに関連するワークフロープロセス履歴一覧を取得する。
|
|
383
|
+
*/
|
|
384
|
+
async listWorkflowProcessHistories(requestParameters: ListWorkflowProcessHistoriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<WorkflowProcessEntity>> {
|
|
385
|
+
const response = await this.listWorkflowProcessHistoriesRaw(requestParameters, initOverrides);
|
|
386
|
+
return await response.value();
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* ワークフロープロセス一覧を取得する。
|
|
391
|
+
*/
|
|
392
|
+
async listWorkflowProcessesRaw(requestParameters: ListWorkflowProcessesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListWorkflowProcessesResult>> {
|
|
393
|
+
const queryParameters: any = {};
|
|
394
|
+
|
|
395
|
+
if (requestParameters['filter'] != null) {
|
|
396
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
if (requestParameters['skip'] != null) {
|
|
400
|
+
queryParameters['skip'] = requestParameters['skip'];
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
if (requestParameters['take'] != null) {
|
|
404
|
+
queryParameters['take'] = requestParameters['take'];
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
408
|
+
|
|
409
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
410
|
+
const token = this.configuration.accessToken;
|
|
411
|
+
const tokenString = await token("Authorization", []);
|
|
412
|
+
|
|
413
|
+
if (tokenString) {
|
|
414
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
418
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
const response = await this.request({
|
|
422
|
+
path: `/api/v1/processes`,
|
|
423
|
+
method: 'GET',
|
|
424
|
+
headers: headerParameters,
|
|
425
|
+
query: queryParameters,
|
|
426
|
+
}, initOverrides);
|
|
427
|
+
|
|
428
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListWorkflowProcessesResultFromJSON(jsonValue));
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* ワークフロープロセス一覧を取得する。
|
|
433
|
+
*/
|
|
434
|
+
async listWorkflowProcesses(requestParameters: ListWorkflowProcessesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListWorkflowProcessesResult> {
|
|
435
|
+
const response = await this.listWorkflowProcessesRaw(requestParameters, initOverrides);
|
|
436
|
+
return await response.value();
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* ワークフロープロセスを1件保存する。
|
|
441
|
+
*/
|
|
442
|
+
async updateWorkflowProcessRaw(requestParameters: UpdateWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowProcessEntity>> {
|
|
443
|
+
if (requestParameters['processId'] == null) {
|
|
444
|
+
throw new runtime.RequiredError(
|
|
445
|
+
'processId',
|
|
446
|
+
'Required parameter "processId" was null or undefined when calling updateWorkflowProcess().'
|
|
447
|
+
);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (requestParameters['updateProcessDto'] == null) {
|
|
451
|
+
throw new runtime.RequiredError(
|
|
452
|
+
'updateProcessDto',
|
|
453
|
+
'Required parameter "updateProcessDto" was null or undefined when calling updateWorkflowProcess().'
|
|
454
|
+
);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
const queryParameters: any = {};
|
|
458
|
+
|
|
459
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
460
|
+
|
|
461
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
462
|
+
|
|
463
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
464
|
+
const token = this.configuration.accessToken;
|
|
465
|
+
const tokenString = await token("Authorization", []);
|
|
466
|
+
|
|
467
|
+
if (tokenString) {
|
|
468
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
472
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
const response = await this.request({
|
|
476
|
+
path: `/api/v1/processes/{processId}`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
477
|
+
method: 'PUT',
|
|
478
|
+
headers: headerParameters,
|
|
479
|
+
query: queryParameters,
|
|
480
|
+
body: UpdateProcessDtoToJSON(requestParameters['updateProcessDto']),
|
|
481
|
+
}, initOverrides);
|
|
482
|
+
|
|
483
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowProcessEntityFromJSON(jsonValue));
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* ワークフロープロセスを1件保存する。
|
|
488
|
+
*/
|
|
489
|
+
async updateWorkflowProcess(requestParameters: UpdateWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowProcessEntity> {
|
|
490
|
+
const response = await this.updateWorkflowProcessRaw(requestParameters, initOverrides);
|
|
491
|
+
return await response.value();
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 業務管理者向けプロセスファイルアップロードAPI
|
|
496
|
+
* プロセスデータに紐づいたファイルをアップロードする
|
|
497
|
+
*/
|
|
498
|
+
async uploadProcessDataFileRaw(requestParameters: UploadProcessDataFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
|
|
499
|
+
if (requestParameters['processId'] == null) {
|
|
500
|
+
throw new runtime.RequiredError(
|
|
501
|
+
'processId',
|
|
502
|
+
'Required parameter "processId" was null or undefined when calling uploadProcessDataFile().'
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
if (requestParameters['createProcessFileDto'] == null) {
|
|
507
|
+
throw new runtime.RequiredError(
|
|
508
|
+
'createProcessFileDto',
|
|
509
|
+
'Required parameter "createProcessFileDto" was null or undefined when calling uploadProcessDataFile().'
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
const queryParameters: any = {};
|
|
514
|
+
|
|
515
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
516
|
+
|
|
517
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
518
|
+
|
|
519
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
520
|
+
const token = this.configuration.accessToken;
|
|
521
|
+
const tokenString = await token("Authorization", []);
|
|
522
|
+
|
|
523
|
+
if (tokenString) {
|
|
524
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
528
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
const response = await this.request({
|
|
532
|
+
path: `/api/v1/processes/{processId}/files/upload`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters['processId']))),
|
|
533
|
+
method: 'POST',
|
|
534
|
+
headers: headerParameters,
|
|
535
|
+
query: queryParameters,
|
|
536
|
+
body: CreateProcessFileDtoToJSON(requestParameters['createProcessFileDto']),
|
|
537
|
+
}, initOverrides);
|
|
538
|
+
|
|
539
|
+
return new runtime.JSONApiResponse<any>(response);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* 業務管理者向けプロセスファイルアップロードAPI
|
|
544
|
+
* プロセスデータに紐づいたファイルをアップロードする
|
|
545
|
+
*/
|
|
546
|
+
async uploadProcessDataFile(requestParameters: UploadProcessDataFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
|
|
547
|
+
const response = await this.uploadProcessDataFileRaw(requestParameters, initOverrides);
|
|
548
|
+
return await response.value();
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
import * as runtime from '../runtime';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export class ProfileApi extends runtime.BaseAPI {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 自分自身がいまサインインしているテナント情報を取得する。
|
|
25
|
+
*/
|
|
26
|
+
async getCurrentTenantRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
27
|
+
const queryParameters: any = {};
|
|
28
|
+
|
|
29
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
30
|
+
|
|
31
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
32
|
+
const token = this.configuration.accessToken;
|
|
33
|
+
const tokenString = await token("Authorization", []);
|
|
34
|
+
|
|
35
|
+
if (tokenString) {
|
|
36
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
40
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const response = await this.request({
|
|
44
|
+
path: `/api/v1/profile/tenant`,
|
|
45
|
+
method: 'GET',
|
|
46
|
+
headers: headerParameters,
|
|
47
|
+
query: queryParameters,
|
|
48
|
+
}, initOverrides);
|
|
49
|
+
|
|
50
|
+
return new runtime.VoidApiResponse(response);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 自分自身がいまサインインしているテナント情報を取得する。
|
|
55
|
+
*/
|
|
56
|
+
async getCurrentTenant(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
57
|
+
await this.getCurrentTenantRaw(initOverrides);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* 自分自身のユーザー情報を取得する。
|
|
62
|
+
*/
|
|
63
|
+
async getCurrentUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
64
|
+
const queryParameters: any = {};
|
|
65
|
+
|
|
66
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
67
|
+
|
|
68
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
69
|
+
const token = this.configuration.accessToken;
|
|
70
|
+
const tokenString = await token("Authorization", []);
|
|
71
|
+
|
|
72
|
+
if (tokenString) {
|
|
73
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
77
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const response = await this.request({
|
|
81
|
+
path: `/api/v1/profile/user`,
|
|
82
|
+
method: 'GET',
|
|
83
|
+
headers: headerParameters,
|
|
84
|
+
query: queryParameters,
|
|
85
|
+
}, initOverrides);
|
|
86
|
+
|
|
87
|
+
return new runtime.VoidApiResponse(response);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* 自分自身のユーザー情報を取得する。
|
|
92
|
+
*/
|
|
93
|
+
async getCurrentUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
94
|
+
await this.getCurrentUserRaw(initOverrides);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
}
|