View Source Glific.Saas.Queries (Glific v5.1.6)

Lets keep all the onboarding queries and validation here

Link to this section Summary

Functions

Reset selected data of an organization which could potentially be considered test data

Seed data for organization

Main function to setup the organization entity in Glific

Seed data for organization

Validate all the input elements

Link to this section Functions

Link to this function

reset(reset_organization_id)

View Source
@spec reset(non_neg_integer()) :: {:ok | :error, String.t()}

Reset selected data of an organization which could potentially be considered test data

@spec seed_data(map()) :: map()

Seed data for organization

@spec setup(map(), map()) :: map()

Main function to setup the organization entity in Glific

@spec sync_templates(map()) :: map()

Seed data for organization

Link to this function

validate(result, params)

View Source
@spec validate(map(), map()) :: map()

Validate all the input elements