@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,338 @@
|
|
|
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
|
+
SessionEntity,
|
|
19
|
+
SignInDto,
|
|
20
|
+
UserAuthInfoEntity,
|
|
21
|
+
} from '../models/index';
|
|
22
|
+
import {
|
|
23
|
+
SessionEntityFromJSON,
|
|
24
|
+
SessionEntityToJSON,
|
|
25
|
+
SignInDtoFromJSON,
|
|
26
|
+
SignInDtoToJSON,
|
|
27
|
+
UserAuthInfoEntityFromJSON,
|
|
28
|
+
UserAuthInfoEntityToJSON,
|
|
29
|
+
} from '../models/index';
|
|
30
|
+
|
|
31
|
+
export interface SendInitializePasswordEmailRequest {
|
|
32
|
+
email: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface SignInWithEmailAndPasswordRequest {
|
|
36
|
+
signInDto: SignInDto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export class AuthApi extends runtime.BaseAPI {
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* パスワードをリセットする。
|
|
46
|
+
*/
|
|
47
|
+
async createResetPasswordLinkRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
48
|
+
const queryParameters: any = {};
|
|
49
|
+
|
|
50
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
51
|
+
|
|
52
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
53
|
+
const token = this.configuration.accessToken;
|
|
54
|
+
const tokenString = await token("Authorization", []);
|
|
55
|
+
|
|
56
|
+
if (tokenString) {
|
|
57
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
61
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const response = await this.request({
|
|
65
|
+
path: `/api/v1/authentication/createResetPasswordLink`,
|
|
66
|
+
method: 'POST',
|
|
67
|
+
headers: headerParameters,
|
|
68
|
+
query: queryParameters,
|
|
69
|
+
}, initOverrides);
|
|
70
|
+
|
|
71
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
72
|
+
return new runtime.JSONApiResponse<string>(response);
|
|
73
|
+
} else {
|
|
74
|
+
return new runtime.TextApiResponse(response) as any;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* パスワードをリセットする。
|
|
80
|
+
*/
|
|
81
|
+
async createResetPasswordLink(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
82
|
+
const response = await this.createResetPasswordLinkRaw(initOverrides);
|
|
83
|
+
return await response.value();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 自分自身のユーザー認証情報を取得する。
|
|
88
|
+
*/
|
|
89
|
+
async getMyUserAuthInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserAuthInfoEntity>> {
|
|
90
|
+
const queryParameters: any = {};
|
|
91
|
+
|
|
92
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
93
|
+
|
|
94
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
95
|
+
const token = this.configuration.accessToken;
|
|
96
|
+
const tokenString = await token("Authorization", []);
|
|
97
|
+
|
|
98
|
+
if (tokenString) {
|
|
99
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
103
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const response = await this.request({
|
|
107
|
+
path: `/api/v1/authentication/userAuthInfo`,
|
|
108
|
+
method: 'GET',
|
|
109
|
+
headers: headerParameters,
|
|
110
|
+
query: queryParameters,
|
|
111
|
+
}, initOverrides);
|
|
112
|
+
|
|
113
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserAuthInfoEntityFromJSON(jsonValue));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 自分自身のユーザー認証情報を取得する。
|
|
118
|
+
*/
|
|
119
|
+
async getMyUserAuthInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserAuthInfoEntity> {
|
|
120
|
+
const response = await this.getMyUserAuthInfoRaw(initOverrides);
|
|
121
|
+
return await response.value();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* 現在サインイン中のセッション情報を取得する。
|
|
126
|
+
*/
|
|
127
|
+
async getSessionRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SessionEntity>> {
|
|
128
|
+
const queryParameters: any = {};
|
|
129
|
+
|
|
130
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
131
|
+
|
|
132
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
133
|
+
const token = this.configuration.accessToken;
|
|
134
|
+
const tokenString = await token("Authorization", []);
|
|
135
|
+
|
|
136
|
+
if (tokenString) {
|
|
137
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
141
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
const response = await this.request({
|
|
145
|
+
path: `/api/v1/authentication/session`,
|
|
146
|
+
method: 'GET',
|
|
147
|
+
headers: headerParameters,
|
|
148
|
+
query: queryParameters,
|
|
149
|
+
}, initOverrides);
|
|
150
|
+
|
|
151
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SessionEntityFromJSON(jsonValue));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* 現在サインイン中のセッション情報を取得する。
|
|
156
|
+
*/
|
|
157
|
+
async getSession(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionEntity> {
|
|
158
|
+
const response = await this.getSessionRaw(initOverrides);
|
|
159
|
+
return await response.value();
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* 自身のパスワードログインアカウントを作成し、初期パスワードをメールで送信する。
|
|
164
|
+
*/
|
|
165
|
+
async sendInitializeMyPasswordEmailRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
166
|
+
const queryParameters: any = {};
|
|
167
|
+
|
|
168
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
169
|
+
|
|
170
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
171
|
+
const token = this.configuration.accessToken;
|
|
172
|
+
const tokenString = await token("Authorization", []);
|
|
173
|
+
|
|
174
|
+
if (tokenString) {
|
|
175
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
179
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
const response = await this.request({
|
|
183
|
+
path: `/api/v1/authentication/sendInitializePasswordEmail`,
|
|
184
|
+
method: 'POST',
|
|
185
|
+
headers: headerParameters,
|
|
186
|
+
query: queryParameters,
|
|
187
|
+
}, initOverrides);
|
|
188
|
+
|
|
189
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
190
|
+
return new runtime.JSONApiResponse<string>(response);
|
|
191
|
+
} else {
|
|
192
|
+
return new runtime.TextApiResponse(response) as any;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* 自身のパスワードログインアカウントを作成し、初期パスワードをメールで送信する。
|
|
198
|
+
*/
|
|
199
|
+
async sendInitializeMyPasswordEmail(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
200
|
+
const response = await this.sendInitializeMyPasswordEmailRaw(initOverrides);
|
|
201
|
+
return await response.value();
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* パスワードログインを設定していないユーザーのアカウントを作成し、初期パスワードをメールで送信する。
|
|
206
|
+
*/
|
|
207
|
+
async sendInitializePasswordEmailRaw(requestParameters: SendInitializePasswordEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
208
|
+
if (requestParameters['email'] == null) {
|
|
209
|
+
throw new runtime.RequiredError(
|
|
210
|
+
'email',
|
|
211
|
+
'Required parameter "email" was null or undefined when calling sendInitializePasswordEmail().'
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const queryParameters: any = {};
|
|
216
|
+
|
|
217
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
218
|
+
|
|
219
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
220
|
+
const token = this.configuration.accessToken;
|
|
221
|
+
const tokenString = await token("Authorization", []);
|
|
222
|
+
|
|
223
|
+
if (tokenString) {
|
|
224
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
228
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
const response = await this.request({
|
|
232
|
+
path: `/api/v1/authentication/sendInitializePasswordEmail/{email}`.replace(`{${"email"}}`, encodeURIComponent(String(requestParameters['email']))),
|
|
233
|
+
method: 'POST',
|
|
234
|
+
headers: headerParameters,
|
|
235
|
+
query: queryParameters,
|
|
236
|
+
}, initOverrides);
|
|
237
|
+
|
|
238
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
239
|
+
return new runtime.JSONApiResponse<string>(response);
|
|
240
|
+
} else {
|
|
241
|
+
return new runtime.TextApiResponse(response) as any;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* パスワードログインを設定していないユーザーのアカウントを作成し、初期パスワードをメールで送信する。
|
|
247
|
+
*/
|
|
248
|
+
async sendInitializePasswordEmail(requestParameters: SendInitializePasswordEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
249
|
+
const response = await this.sendInitializePasswordEmailRaw(requestParameters, initOverrides);
|
|
250
|
+
return await response.value();
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* メールアドレスとパスワードでサインインする。
|
|
255
|
+
*/
|
|
256
|
+
async signInWithEmailAndPasswordRaw(requestParameters: SignInWithEmailAndPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SessionEntity>> {
|
|
257
|
+
if (requestParameters['signInDto'] == null) {
|
|
258
|
+
throw new runtime.RequiredError(
|
|
259
|
+
'signInDto',
|
|
260
|
+
'Required parameter "signInDto" was null or undefined when calling signInWithEmailAndPassword().'
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
const queryParameters: any = {};
|
|
265
|
+
|
|
266
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
267
|
+
|
|
268
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
269
|
+
|
|
270
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
271
|
+
const token = this.configuration.accessToken;
|
|
272
|
+
const tokenString = await token("Authorization", []);
|
|
273
|
+
|
|
274
|
+
if (tokenString) {
|
|
275
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
279
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
const response = await this.request({
|
|
283
|
+
path: `/api/v1/authentication/signin`,
|
|
284
|
+
method: 'POST',
|
|
285
|
+
headers: headerParameters,
|
|
286
|
+
query: queryParameters,
|
|
287
|
+
body: SignInDtoToJSON(requestParameters['signInDto']),
|
|
288
|
+
}, initOverrides);
|
|
289
|
+
|
|
290
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SessionEntityFromJSON(jsonValue));
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* メールアドレスとパスワードでサインインする。
|
|
295
|
+
*/
|
|
296
|
+
async signInWithEmailAndPassword(requestParameters: SignInWithEmailAndPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionEntity> {
|
|
297
|
+
const response = await this.signInWithEmailAndPasswordRaw(requestParameters, initOverrides);
|
|
298
|
+
return await response.value();
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* サインアウトする(現在のセッションを破棄する)。
|
|
303
|
+
*/
|
|
304
|
+
async signOutRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
305
|
+
const queryParameters: any = {};
|
|
306
|
+
|
|
307
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
308
|
+
|
|
309
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
310
|
+
const token = this.configuration.accessToken;
|
|
311
|
+
const tokenString = await token("Authorization", []);
|
|
312
|
+
|
|
313
|
+
if (tokenString) {
|
|
314
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
318
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
const response = await this.request({
|
|
322
|
+
path: `/api/v1/authentication/signout`,
|
|
323
|
+
method: 'POST',
|
|
324
|
+
headers: headerParameters,
|
|
325
|
+
query: queryParameters,
|
|
326
|
+
}, initOverrides);
|
|
327
|
+
|
|
328
|
+
return new runtime.VoidApiResponse(response);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* サインアウトする(現在のセッションを破棄する)。
|
|
333
|
+
*/
|
|
334
|
+
async signOut(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
335
|
+
await this.signOutRaw(initOverrides);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
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
|
+
AuthConfigEntity,
|
|
19
|
+
CreateOrUpdateIdentityProviderDto,
|
|
20
|
+
TenantIdentityProviderEntity,
|
|
21
|
+
} from '../models/index';
|
|
22
|
+
import {
|
|
23
|
+
AuthConfigEntityFromJSON,
|
|
24
|
+
AuthConfigEntityToJSON,
|
|
25
|
+
CreateOrUpdateIdentityProviderDtoFromJSON,
|
|
26
|
+
CreateOrUpdateIdentityProviderDtoToJSON,
|
|
27
|
+
TenantIdentityProviderEntityFromJSON,
|
|
28
|
+
TenantIdentityProviderEntityToJSON,
|
|
29
|
+
} from '../models/index';
|
|
30
|
+
|
|
31
|
+
export interface CreateOrUpdateAuthConfigsIdentityProviderRequest {
|
|
32
|
+
createOrUpdateIdentityProviderDto: CreateOrUpdateIdentityProviderDto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface DeleteAuthConfigsIdentityProviderRequest {
|
|
36
|
+
thirdPartyId: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface GetIdentityProviderRequest {
|
|
40
|
+
thirdPartyId: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface GetIdentityProvidersRequest {
|
|
44
|
+
authTenantId: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export class AuthConfigApi extends runtime.BaseAPI {
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* テナントの認証設定にカスタム認証プロバイダーを登録・更新する。
|
|
54
|
+
*/
|
|
55
|
+
async createOrUpdateAuthConfigsIdentityProviderRaw(requestParameters: CreateOrUpdateAuthConfigsIdentityProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
56
|
+
if (requestParameters['createOrUpdateIdentityProviderDto'] == null) {
|
|
57
|
+
throw new runtime.RequiredError(
|
|
58
|
+
'createOrUpdateIdentityProviderDto',
|
|
59
|
+
'Required parameter "createOrUpdateIdentityProviderDto" was null or undefined when calling createOrUpdateAuthConfigsIdentityProvider().'
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const queryParameters: any = {};
|
|
64
|
+
|
|
65
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
66
|
+
|
|
67
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
68
|
+
|
|
69
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
70
|
+
const token = this.configuration.accessToken;
|
|
71
|
+
const tokenString = await token("Authorization", []);
|
|
72
|
+
|
|
73
|
+
if (tokenString) {
|
|
74
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
78
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const response = await this.request({
|
|
82
|
+
path: `/api/v1/authConfig/identityProviders`,
|
|
83
|
+
method: 'PUT',
|
|
84
|
+
headers: headerParameters,
|
|
85
|
+
query: queryParameters,
|
|
86
|
+
body: CreateOrUpdateIdentityProviderDtoToJSON(requestParameters['createOrUpdateIdentityProviderDto']),
|
|
87
|
+
}, initOverrides);
|
|
88
|
+
|
|
89
|
+
return new runtime.VoidApiResponse(response);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* テナントの認証設定にカスタム認証プロバイダーを登録・更新する。
|
|
94
|
+
*/
|
|
95
|
+
async createOrUpdateAuthConfigsIdentityProvider(requestParameters: CreateOrUpdateAuthConfigsIdentityProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
96
|
+
await this.createOrUpdateAuthConfigsIdentityProviderRaw(requestParameters, initOverrides);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* テナントの認証設定から指定したカスタム認証プロバイダーを削除する。
|
|
101
|
+
*/
|
|
102
|
+
async deleteAuthConfigsIdentityProviderRaw(requestParameters: DeleteAuthConfigsIdentityProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
103
|
+
if (requestParameters['thirdPartyId'] == null) {
|
|
104
|
+
throw new runtime.RequiredError(
|
|
105
|
+
'thirdPartyId',
|
|
106
|
+
'Required parameter "thirdPartyId" was null or undefined when calling deleteAuthConfigsIdentityProvider().'
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
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/authConfig/identityProviders/{thirdPartyId}`.replace(`{${"thirdPartyId"}}`, encodeURIComponent(String(requestParameters['thirdPartyId']))),
|
|
128
|
+
method: 'DELETE',
|
|
129
|
+
headers: headerParameters,
|
|
130
|
+
query: queryParameters,
|
|
131
|
+
}, initOverrides);
|
|
132
|
+
|
|
133
|
+
return new runtime.VoidApiResponse(response);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* テナントの認証設定から指定したカスタム認証プロバイダーを削除する。
|
|
138
|
+
*/
|
|
139
|
+
async deleteAuthConfigsIdentityProvider(requestParameters: DeleteAuthConfigsIdentityProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
140
|
+
await this.deleteAuthConfigsIdentityProviderRaw(requestParameters, initOverrides);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* テナントの認証設定情報を取得する。
|
|
145
|
+
*/
|
|
146
|
+
async getAuthConfigRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthConfigEntity>> {
|
|
147
|
+
const queryParameters: any = {};
|
|
148
|
+
|
|
149
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
150
|
+
|
|
151
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
152
|
+
const token = this.configuration.accessToken;
|
|
153
|
+
const tokenString = await token("Authorization", []);
|
|
154
|
+
|
|
155
|
+
if (tokenString) {
|
|
156
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
160
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
const response = await this.request({
|
|
164
|
+
path: `/api/v1/authConfig`,
|
|
165
|
+
method: 'GET',
|
|
166
|
+
headers: headerParameters,
|
|
167
|
+
query: queryParameters,
|
|
168
|
+
}, initOverrides);
|
|
169
|
+
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuthConfigEntityFromJSON(jsonValue));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* テナントの認証設定情報を取得する。
|
|
175
|
+
*/
|
|
176
|
+
async getAuthConfig(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthConfigEntity> {
|
|
177
|
+
const response = await this.getAuthConfigRaw(initOverrides);
|
|
178
|
+
return await response.value();
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* テナントの認証設定から指定したカスタム認証プロバイダーを返却する。
|
|
183
|
+
*/
|
|
184
|
+
async getIdentityProviderRaw(requestParameters: GetIdentityProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
185
|
+
if (requestParameters['thirdPartyId'] == null) {
|
|
186
|
+
throw new runtime.RequiredError(
|
|
187
|
+
'thirdPartyId',
|
|
188
|
+
'Required parameter "thirdPartyId" was null or undefined when calling getIdentityProvider().'
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
const queryParameters: any = {};
|
|
193
|
+
|
|
194
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
195
|
+
|
|
196
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
197
|
+
const token = this.configuration.accessToken;
|
|
198
|
+
const tokenString = await token("Authorization", []);
|
|
199
|
+
|
|
200
|
+
if (tokenString) {
|
|
201
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
205
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const response = await this.request({
|
|
209
|
+
path: `/api/v1/authConfig/identityProviders/{thirdPartyId}`.replace(`{${"thirdPartyId"}}`, encodeURIComponent(String(requestParameters['thirdPartyId']))),
|
|
210
|
+
method: 'GET',
|
|
211
|
+
headers: headerParameters,
|
|
212
|
+
query: queryParameters,
|
|
213
|
+
}, initOverrides);
|
|
214
|
+
|
|
215
|
+
return new runtime.VoidApiResponse(response);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* テナントの認証設定から指定したカスタム認証プロバイダーを返却する。
|
|
220
|
+
*/
|
|
221
|
+
async getIdentityProvider(requestParameters: GetIdentityProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
222
|
+
await this.getIdentityProviderRaw(requestParameters, initOverrides);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* テナントの認証プロバイダー情報を取得する。
|
|
227
|
+
*/
|
|
228
|
+
async getIdentityProvidersRaw(requestParameters: GetIdentityProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TenantIdentityProviderEntity>>> {
|
|
229
|
+
if (requestParameters['authTenantId'] == null) {
|
|
230
|
+
throw new runtime.RequiredError(
|
|
231
|
+
'authTenantId',
|
|
232
|
+
'Required parameter "authTenantId" was null or undefined when calling getIdentityProviders().'
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
const queryParameters: any = {};
|
|
237
|
+
|
|
238
|
+
if (requestParameters['authTenantId'] != null) {
|
|
239
|
+
queryParameters['authTenantId'] = requestParameters['authTenantId'];
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
243
|
+
|
|
244
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
245
|
+
const token = this.configuration.accessToken;
|
|
246
|
+
const tokenString = await token("Authorization", []);
|
|
247
|
+
|
|
248
|
+
if (tokenString) {
|
|
249
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
253
|
+
headerParameters["x-tenant-id"] = await this.configuration.apiKey("x-tenant-id"); // Tenant authentication
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const response = await this.request({
|
|
257
|
+
path: `/api/v1/authConfig/identityProviders`,
|
|
258
|
+
method: 'GET',
|
|
259
|
+
headers: headerParameters,
|
|
260
|
+
query: queryParameters,
|
|
261
|
+
}, initOverrides);
|
|
262
|
+
|
|
263
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TenantIdentityProviderEntityFromJSON));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* テナントの認証プロバイダー情報を取得する。
|
|
268
|
+
*/
|
|
269
|
+
async getIdentityProviders(requestParameters: GetIdentityProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TenantIdentityProviderEntity>> {
|
|
270
|
+
const response = await this.getIdentityProvidersRaw(requestParameters, initOverrides);
|
|
271
|
+
return await response.value();
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
}
|