@opens/gateways 1.9.1 → 1.9.3

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.
@@ -8,6 +8,7 @@ interface WhatsAppTemplateComponent {
8
8
  format?: string;
9
9
  text?: string;
10
10
  example?: any;
11
+ buttons?: any;
11
12
  }
12
13
  /** WhatsApp payload used when dispatching campaign messages. */
13
14
  interface WhatsAppPayload {
@@ -107,6 +108,9 @@ interface CampaignQueryParams {
107
108
  name?: string;
108
109
  $limit?: number;
109
110
  $skip?: number;
111
+ $sort?: {
112
+ name?: 1 | -1;
113
+ };
110
114
  }
111
115
  /** User entity returned by the Campaigns API. */
112
116
  interface CampaignUser {
@@ -8,6 +8,7 @@ interface WhatsAppTemplateComponent {
8
8
  format?: string;
9
9
  text?: string;
10
10
  example?: any;
11
+ buttons?: any;
11
12
  }
12
13
  /** WhatsApp payload used when dispatching campaign messages. */
13
14
  interface WhatsAppPayload {
@@ -107,6 +108,9 @@ interface CampaignQueryParams {
107
108
  name?: string;
108
109
  $limit?: number;
109
110
  $skip?: number;
111
+ $sort?: {
112
+ name?: 1 | -1;
113
+ };
110
114
  }
111
115
  /** User entity returned by the Campaigns API. */
112
116
  interface CampaignUser {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.9.1",
2
+ "version": "1.9.3",
3
3
  "description": "A simple package to help with some common tasks",
4
4
  "name": "@opens/gateways",
5
5
  "private": false,