@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,225 @@
|
|
|
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
|
+
ListRolesResult,
|
|
19
|
+
RoleEntity,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
ListRolesResultFromJSON,
|
|
23
|
+
ListRolesResultToJSON,
|
|
24
|
+
RoleEntityFromJSON,
|
|
25
|
+
RoleEntityToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface GetRoleRequest {
|
|
29
|
+
roleId: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface ListRolesRequest {
|
|
33
|
+
filter?: string;
|
|
34
|
+
skip?: string;
|
|
35
|
+
take?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface UpdateRoleRequest {
|
|
39
|
+
roleId: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export class RoleApi extends runtime.BaseAPI {
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* ロールを1件登録する。
|
|
49
|
+
*/
|
|
50
|
+
async createRoleRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RoleEntity>> {
|
|
51
|
+
const queryParameters: any = {};
|
|
52
|
+
|
|
53
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
54
|
+
|
|
55
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
56
|
+
const token = this.configuration.accessToken;
|
|
57
|
+
const tokenString = await token("Authorization", []);
|
|
58
|
+
|
|
59
|
+
if (tokenString) {
|
|
60
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
64
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const response = await this.request({
|
|
68
|
+
path: `/api/v1/roles`,
|
|
69
|
+
method: 'POST',
|
|
70
|
+
headers: headerParameters,
|
|
71
|
+
query: queryParameters,
|
|
72
|
+
}, initOverrides);
|
|
73
|
+
|
|
74
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleEntityFromJSON(jsonValue));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* ロールを1件登録する。
|
|
79
|
+
*/
|
|
80
|
+
async createRole(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RoleEntity> {
|
|
81
|
+
const response = await this.createRoleRaw(initOverrides);
|
|
82
|
+
return await response.value();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* ロールを1件取得する。
|
|
87
|
+
*/
|
|
88
|
+
async getRoleRaw(requestParameters: GetRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RoleEntity>> {
|
|
89
|
+
if (requestParameters['roleId'] == null) {
|
|
90
|
+
throw new runtime.RequiredError(
|
|
91
|
+
'roleId',
|
|
92
|
+
'Required parameter "roleId" was null or undefined when calling getRole().'
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const queryParameters: any = {};
|
|
97
|
+
|
|
98
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
99
|
+
|
|
100
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
101
|
+
const token = this.configuration.accessToken;
|
|
102
|
+
const tokenString = await token("Authorization", []);
|
|
103
|
+
|
|
104
|
+
if (tokenString) {
|
|
105
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
109
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const response = await this.request({
|
|
113
|
+
path: `/api/v1/roles/{roleId}`.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId']))),
|
|
114
|
+
method: 'GET',
|
|
115
|
+
headers: headerParameters,
|
|
116
|
+
query: queryParameters,
|
|
117
|
+
}, initOverrides);
|
|
118
|
+
|
|
119
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleEntityFromJSON(jsonValue));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* ロールを1件取得する。
|
|
124
|
+
*/
|
|
125
|
+
async getRole(requestParameters: GetRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RoleEntity> {
|
|
126
|
+
const response = await this.getRoleRaw(requestParameters, initOverrides);
|
|
127
|
+
return await response.value();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* ロール一覧を取得する。
|
|
132
|
+
*/
|
|
133
|
+
async listRolesRaw(requestParameters: ListRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListRolesResult>> {
|
|
134
|
+
const queryParameters: any = {};
|
|
135
|
+
|
|
136
|
+
if (requestParameters['filter'] != null) {
|
|
137
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (requestParameters['skip'] != null) {
|
|
141
|
+
queryParameters['skip'] = requestParameters['skip'];
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (requestParameters['take'] != null) {
|
|
145
|
+
queryParameters['take'] = requestParameters['take'];
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
149
|
+
|
|
150
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
151
|
+
const token = this.configuration.accessToken;
|
|
152
|
+
const tokenString = await token("Authorization", []);
|
|
153
|
+
|
|
154
|
+
if (tokenString) {
|
|
155
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
159
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
const response = await this.request({
|
|
163
|
+
path: `/api/v1/roles`,
|
|
164
|
+
method: 'GET',
|
|
165
|
+
headers: headerParameters,
|
|
166
|
+
query: queryParameters,
|
|
167
|
+
}, initOverrides);
|
|
168
|
+
|
|
169
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListRolesResultFromJSON(jsonValue));
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* ロール一覧を取得する。
|
|
174
|
+
*/
|
|
175
|
+
async listRoles(requestParameters: ListRolesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListRolesResult> {
|
|
176
|
+
const response = await this.listRolesRaw(requestParameters, initOverrides);
|
|
177
|
+
return await response.value();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* ロールを1件更新する。
|
|
182
|
+
*/
|
|
183
|
+
async updateRoleRaw(requestParameters: UpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RoleEntity>> {
|
|
184
|
+
if (requestParameters['roleId'] == null) {
|
|
185
|
+
throw new runtime.RequiredError(
|
|
186
|
+
'roleId',
|
|
187
|
+
'Required parameter "roleId" was null or undefined when calling updateRole().'
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
const queryParameters: any = {};
|
|
192
|
+
|
|
193
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
194
|
+
|
|
195
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
196
|
+
const token = this.configuration.accessToken;
|
|
197
|
+
const tokenString = await token("Authorization", []);
|
|
198
|
+
|
|
199
|
+
if (tokenString) {
|
|
200
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
204
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
const response = await this.request({
|
|
208
|
+
path: `/api/v1/roles/{roleId}`.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId']))),
|
|
209
|
+
method: 'PUT',
|
|
210
|
+
headers: headerParameters,
|
|
211
|
+
query: queryParameters,
|
|
212
|
+
}, initOverrides);
|
|
213
|
+
|
|
214
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleEntityFromJSON(jsonValue));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* ロールを1件更新する。
|
|
219
|
+
*/
|
|
220
|
+
async updateRole(requestParameters: UpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RoleEntity> {
|
|
221
|
+
const response = await this.updateRoleRaw(requestParameters, initOverrides);
|
|
222
|
+
return await response.value();
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
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
|
+
SettingEntity,
|
|
19
|
+
} from '../models/index';
|
|
20
|
+
import {
|
|
21
|
+
SettingEntityFromJSON,
|
|
22
|
+
SettingEntityToJSON,
|
|
23
|
+
} from '../models/index';
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class SettingApi extends runtime.BaseAPI {
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 設定を1件登録する。
|
|
32
|
+
*/
|
|
33
|
+
async createSettingRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingEntity>> {
|
|
34
|
+
const queryParameters: any = {};
|
|
35
|
+
|
|
36
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
37
|
+
|
|
38
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
39
|
+
const token = this.configuration.accessToken;
|
|
40
|
+
const tokenString = await token("Authorization", []);
|
|
41
|
+
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
47
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const response = await this.request({
|
|
51
|
+
path: `/api/v1/settings`,
|
|
52
|
+
method: 'POST',
|
|
53
|
+
headers: headerParameters,
|
|
54
|
+
query: queryParameters,
|
|
55
|
+
}, initOverrides);
|
|
56
|
+
|
|
57
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SettingEntityFromJSON(jsonValue));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* 設定を1件登録する。
|
|
62
|
+
*/
|
|
63
|
+
async createSetting(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingEntity> {
|
|
64
|
+
const response = await this.createSettingRaw(initOverrides);
|
|
65
|
+
return await response.value();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* テナントに紐づく設定一覧を取得する。
|
|
70
|
+
*/
|
|
71
|
+
async listSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SettingEntity>>> {
|
|
72
|
+
const queryParameters: any = {};
|
|
73
|
+
|
|
74
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
75
|
+
|
|
76
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
77
|
+
const token = this.configuration.accessToken;
|
|
78
|
+
const tokenString = await token("Authorization", []);
|
|
79
|
+
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
85
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const response = await this.request({
|
|
89
|
+
path: `/api/v1/settings`,
|
|
90
|
+
method: 'GET',
|
|
91
|
+
headers: headerParameters,
|
|
92
|
+
query: queryParameters,
|
|
93
|
+
}, initOverrides);
|
|
94
|
+
|
|
95
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SettingEntityFromJSON));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* テナントに紐づく設定一覧を取得する。
|
|
100
|
+
*/
|
|
101
|
+
async listSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SettingEntity>> {
|
|
102
|
+
const response = await this.listSettingsRaw(initOverrides);
|
|
103
|
+
return await response.value();
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 設定を1件更新する。
|
|
108
|
+
*/
|
|
109
|
+
async updateSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingEntity>> {
|
|
110
|
+
const queryParameters: any = {};
|
|
111
|
+
|
|
112
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
113
|
+
|
|
114
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
115
|
+
const token = this.configuration.accessToken;
|
|
116
|
+
const tokenString = await token("Authorization", []);
|
|
117
|
+
|
|
118
|
+
if (tokenString) {
|
|
119
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
123
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
const response = await this.request({
|
|
127
|
+
path: `/api/v1/settings`,
|
|
128
|
+
method: 'PUT',
|
|
129
|
+
headers: headerParameters,
|
|
130
|
+
query: queryParameters,
|
|
131
|
+
}, initOverrides);
|
|
132
|
+
|
|
133
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SettingEntityFromJSON(jsonValue));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* 設定を1件更新する。
|
|
138
|
+
*/
|
|
139
|
+
async updateSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingEntity> {
|
|
140
|
+
const response = await this.updateSettingsRaw(initOverrides);
|
|
141
|
+
return await response.value();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
}
|
|
@@ -0,0 +1,314 @@
|
|
|
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
|
+
SlackChannelEntity,
|
|
19
|
+
SlackConnectivityResponse,
|
|
20
|
+
SlackEntity,
|
|
21
|
+
} from '../models/index';
|
|
22
|
+
import {
|
|
23
|
+
SlackChannelEntityFromJSON,
|
|
24
|
+
SlackChannelEntityToJSON,
|
|
25
|
+
SlackConnectivityResponseFromJSON,
|
|
26
|
+
SlackConnectivityResponseToJSON,
|
|
27
|
+
SlackEntityFromJSON,
|
|
28
|
+
SlackEntityToJSON,
|
|
29
|
+
} from '../models/index';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export class SlackApi extends runtime.BaseAPI {
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Slack通知のテストを行う。
|
|
38
|
+
*/
|
|
39
|
+
async connectivityTestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SlackConnectivityResponse>> {
|
|
40
|
+
const queryParameters: any = {};
|
|
41
|
+
|
|
42
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
43
|
+
|
|
44
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
45
|
+
const token = this.configuration.accessToken;
|
|
46
|
+
const tokenString = await token("Authorization", []);
|
|
47
|
+
|
|
48
|
+
if (tokenString) {
|
|
49
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
53
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const response = await this.request({
|
|
57
|
+
path: `/api/v1/slack/connectivityTest`,
|
|
58
|
+
method: 'POST',
|
|
59
|
+
headers: headerParameters,
|
|
60
|
+
query: queryParameters,
|
|
61
|
+
}, initOverrides);
|
|
62
|
+
|
|
63
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SlackConnectivityResponseFromJSON(jsonValue));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Slack通知のテストを行う。
|
|
68
|
+
*/
|
|
69
|
+
async connectivityTest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SlackConnectivityResponse> {
|
|
70
|
+
const response = await this.connectivityTestRaw(initOverrides);
|
|
71
|
+
return await response.value();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Slackのチャンネル一覧を取得する。
|
|
76
|
+
*/
|
|
77
|
+
async getChannelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SlackChannelEntity>>> {
|
|
78
|
+
const queryParameters: any = {};
|
|
79
|
+
|
|
80
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
81
|
+
|
|
82
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
83
|
+
const token = this.configuration.accessToken;
|
|
84
|
+
const tokenString = await token("Authorization", []);
|
|
85
|
+
|
|
86
|
+
if (tokenString) {
|
|
87
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
91
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const response = await this.request({
|
|
95
|
+
path: `/api/v1/slack/channels`,
|
|
96
|
+
method: 'GET',
|
|
97
|
+
headers: headerParameters,
|
|
98
|
+
query: queryParameters,
|
|
99
|
+
}, initOverrides);
|
|
100
|
+
|
|
101
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SlackChannelEntityFromJSON));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Slackのチャンネル一覧を取得する。
|
|
106
|
+
*/
|
|
107
|
+
async getChannels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SlackChannelEntity>> {
|
|
108
|
+
const response = await this.getChannelsRaw(initOverrides);
|
|
109
|
+
return await response.value();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Slackレコードを1件取得する。
|
|
114
|
+
*/
|
|
115
|
+
async getSlackRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SlackEntity>> {
|
|
116
|
+
const queryParameters: any = {};
|
|
117
|
+
|
|
118
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
119
|
+
|
|
120
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
121
|
+
const token = this.configuration.accessToken;
|
|
122
|
+
const tokenString = await token("Authorization", []);
|
|
123
|
+
|
|
124
|
+
if (tokenString) {
|
|
125
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
129
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const response = await this.request({
|
|
133
|
+
path: `/api/v1/slack`,
|
|
134
|
+
method: 'GET',
|
|
135
|
+
headers: headerParameters,
|
|
136
|
+
query: queryParameters,
|
|
137
|
+
}, initOverrides);
|
|
138
|
+
|
|
139
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SlackEntityFromJSON(jsonValue));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Slackレコードを1件取得する。
|
|
144
|
+
*/
|
|
145
|
+
async getSlack(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SlackEntity> {
|
|
146
|
+
const response = await this.getSlackRaw(initOverrides);
|
|
147
|
+
return await response.value();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Slackアクセストークンの保存有無をチェックする
|
|
152
|
+
*/
|
|
153
|
+
async hasAccessTokenRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>> {
|
|
154
|
+
const queryParameters: any = {};
|
|
155
|
+
|
|
156
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
157
|
+
|
|
158
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
159
|
+
const token = this.configuration.accessToken;
|
|
160
|
+
const tokenString = await token("Authorization", []);
|
|
161
|
+
|
|
162
|
+
if (tokenString) {
|
|
163
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
167
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
const response = await this.request({
|
|
171
|
+
path: `/api/v1/slack/hasAccessToken`,
|
|
172
|
+
method: 'GET',
|
|
173
|
+
headers: headerParameters,
|
|
174
|
+
query: queryParameters,
|
|
175
|
+
}, initOverrides);
|
|
176
|
+
|
|
177
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
178
|
+
return new runtime.JSONApiResponse<boolean>(response);
|
|
179
|
+
} else {
|
|
180
|
+
return new runtime.TextApiResponse(response) as any;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Slackアクセストークンの保存有無をチェックする
|
|
186
|
+
*/
|
|
187
|
+
async hasAccessToken(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean> {
|
|
188
|
+
const response = await this.hasAccessTokenRaw(initOverrides);
|
|
189
|
+
return await response.value();
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Slack OAuth 2.0
|
|
194
|
+
*/
|
|
195
|
+
async installSlackAppRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>> {
|
|
196
|
+
const queryParameters: any = {};
|
|
197
|
+
|
|
198
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
199
|
+
|
|
200
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
201
|
+
const token = this.configuration.accessToken;
|
|
202
|
+
const tokenString = await token("Authorization", []);
|
|
203
|
+
|
|
204
|
+
if (tokenString) {
|
|
205
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
209
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
const response = await this.request({
|
|
213
|
+
path: `/api/v1/slack/install`,
|
|
214
|
+
method: 'POST',
|
|
215
|
+
headers: headerParameters,
|
|
216
|
+
query: queryParameters,
|
|
217
|
+
}, initOverrides);
|
|
218
|
+
|
|
219
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
220
|
+
return new runtime.JSONApiResponse<boolean>(response);
|
|
221
|
+
} else {
|
|
222
|
+
return new runtime.TextApiResponse(response) as any;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Slack OAuth 2.0
|
|
228
|
+
*/
|
|
229
|
+
async installSlackApp(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean> {
|
|
230
|
+
const response = await this.installSlackAppRaw(initOverrides);
|
|
231
|
+
return await response.value();
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Slackアクセストークンを取り消す
|
|
236
|
+
*/
|
|
237
|
+
async revokeAccessTokenRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<boolean>> {
|
|
238
|
+
const queryParameters: any = {};
|
|
239
|
+
|
|
240
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
241
|
+
|
|
242
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
243
|
+
const token = this.configuration.accessToken;
|
|
244
|
+
const tokenString = await token("Authorization", []);
|
|
245
|
+
|
|
246
|
+
if (tokenString) {
|
|
247
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
251
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
const response = await this.request({
|
|
255
|
+
path: `/api/v1/slack/revoke`,
|
|
256
|
+
method: 'POST',
|
|
257
|
+
headers: headerParameters,
|
|
258
|
+
query: queryParameters,
|
|
259
|
+
}, initOverrides);
|
|
260
|
+
|
|
261
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
262
|
+
return new runtime.JSONApiResponse<boolean>(response);
|
|
263
|
+
} else {
|
|
264
|
+
return new runtime.TextApiResponse(response) as any;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Slackアクセストークンを取り消す
|
|
270
|
+
*/
|
|
271
|
+
async revokeAccessToken(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<boolean> {
|
|
272
|
+
const response = await this.revokeAccessTokenRaw(initOverrides);
|
|
273
|
+
return await response.value();
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Slackレコードを1件更新する。
|
|
278
|
+
*/
|
|
279
|
+
async updateSlackRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SlackEntity>> {
|
|
280
|
+
const queryParameters: any = {};
|
|
281
|
+
|
|
282
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
283
|
+
|
|
284
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
285
|
+
const token = this.configuration.accessToken;
|
|
286
|
+
const tokenString = await token("Authorization", []);
|
|
287
|
+
|
|
288
|
+
if (tokenString) {
|
|
289
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
293
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
const response = await this.request({
|
|
297
|
+
path: `/api/v1/slack`,
|
|
298
|
+
method: 'PUT',
|
|
299
|
+
headers: headerParameters,
|
|
300
|
+
query: queryParameters,
|
|
301
|
+
}, initOverrides);
|
|
302
|
+
|
|
303
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SlackEntityFromJSON(jsonValue));
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Slackレコードを1件更新する。
|
|
308
|
+
*/
|
|
309
|
+
async updateSlack(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SlackEntity> {
|
|
310
|
+
const response = await this.updateSlackRaw(initOverrides);
|
|
311
|
+
return await response.value();
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
}
|