View Source GlificWeb.Resolvers.Extensions (Glific v5.1.6)
Extensions Resolver which sits between the GraphQL schema and Glific Extensions API.
Link to this section Summary
Functions
Create extension
Delete consulting hour
Get a specific extension by id
Update extension
Update organization extension
Link to this section Functions
@spec create_extension(Absinthe.Resolution.t(), %{input: map()}, %{context: map()}) :: {:ok, any()} | {:error, any()}
Create extension
@spec delete_extension(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, any()} | {:error, any()}
Delete consulting hour
@spec extension(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, any()} | {:error, any()}
Get a specific extension by id
@spec update_extension(Absinthe.Resolution.t(), %{id: integer(), input: map()}, %{ context: map() }) :: {:ok, any()} | {:error, any()}
Update extension
@spec update_organization_extension(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, any()} | {:error, any()}
Update organization extension