@nubea-ecomm/wapo-sdk 0.3.0 → 0.5.0

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.
@@ -14,6 +14,7 @@ export declare class WapoAuthClient extends Transport {
14
14
  name: string;
15
15
  email: string;
16
16
  password: string;
17
+ language?: ConsoleUser['language'];
17
18
  }): Promise<unknown>;
18
19
  confirm(token: string): Promise<unknown>;
19
20
  resendConfirmation(email: string): Promise<unknown>;
package/dist/types.d.ts CHANGED
@@ -108,6 +108,8 @@ export interface Conversation {
108
108
  updated_at: string;
109
109
  service_window_open?: boolean;
110
110
  service_window_expires_at?: string;
111
+ has_unread?: boolean;
112
+ last_inbound_message_id?: string;
111
113
  }
112
114
  export interface Webhook {
113
115
  id: string;
@@ -190,6 +192,7 @@ export interface ConsoleUser {
190
192
  export interface WhatsAppSettings {
191
193
  onboarding_ready: boolean;
192
194
  public_url: string;
195
+ callback_url?: string;
193
196
  graph_version: string;
194
197
  public_https: boolean;
195
198
  credentials: Record<'META_APP_ID' | 'META_APP_SECRET' | 'META_EMBEDDED_SIGNUP_CONFIG_ID' | 'META_VERIFY_TOKEN', boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubea-ecomm/wapo-sdk",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Typed JavaScript and TypeScript client for the Wapo messaging API",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",