@opens/gateways 1.9.0 → 1.9.2

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.
@@ -5,10 +5,10 @@ type CampaignProvider = 'whatsapp';
5
5
  /** WhatsApp template component structure. */
6
6
  interface WhatsAppTemplateComponent {
7
7
  type: string;
8
- parameters: {
9
- type: string;
10
- text?: string;
11
- }[];
8
+ format?: string;
9
+ text?: string;
10
+ example?: any;
11
+ buttons?: any;
12
12
  }
13
13
  /** WhatsApp payload used when dispatching campaign messages. */
14
14
  interface WhatsAppPayload {
@@ -5,10 +5,10 @@ type CampaignProvider = 'whatsapp';
5
5
  /** WhatsApp template component structure. */
6
6
  interface WhatsAppTemplateComponent {
7
7
  type: string;
8
- parameters: {
9
- type: string;
10
- text?: string;
11
- }[];
8
+ format?: string;
9
+ text?: string;
10
+ example?: any;
11
+ buttons?: any;
12
12
  }
13
13
  /** WhatsApp payload used when dispatching campaign messages. */
14
14
  interface WhatsAppPayload {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.9.0",
2
+ "version": "1.9.2",
3
3
  "description": "A simple package to help with some common tasks",
4
4
  "name": "@opens/gateways",
5
5
  "private": false,