View Source Glific.Providers.GupshupEnterprise.Template (Glific v5.1.6)
Module for handling template operations specific to Gupshup
Link to this section Summary
Functions
Bulk apply templates from CSV when BSP is GupshupEnterprise
Delete template from the gupshup
Import pre approved templates when BSP is GupshupEnterprise
Submitting HSM template for approval
Updating HSM templates for an organization
Link to this section Functions
@spec bulk_apply_templates(non_neg_integer(), String.t()) :: {:ok, any()}
Bulk apply templates from CSV when BSP is GupshupEnterprise
@spec delete(non_neg_integer(), map()) :: {:ok, any()} | {:error, any()}
Delete template from the gupshup
@spec import_templates(non_neg_integer(), String.t()) :: {:ok, any()}
Import pre approved templates when BSP is GupshupEnterprise
Submitting HSM template for approval
@spec update_hsm_templates(non_neg_integer()) :: :ok | {:error, String.t()}
Updating HSM templates for an organization