@zavudev/sdk 0.22.0 → 0.24.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts.map +1 -1
  5. package/client.js +3 -2
  6. package/client.js.map +1 -1
  7. package/client.mjs +3 -2
  8. package/client.mjs.map +1 -1
  9. package/internal/parse.d.mts.map +1 -1
  10. package/internal/parse.d.ts.map +1 -1
  11. package/internal/parse.js +5 -0
  12. package/internal/parse.js.map +1 -1
  13. package/internal/parse.mjs +5 -0
  14. package/internal/parse.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/broadcasts/broadcasts.d.mts +1 -1
  17. package/resources/broadcasts/broadcasts.d.mts.map +1 -1
  18. package/resources/broadcasts/broadcasts.d.ts +1 -1
  19. package/resources/broadcasts/broadcasts.d.ts.map +1 -1
  20. package/resources/contacts.d.mts +90 -13
  21. package/resources/contacts.d.mts.map +1 -1
  22. package/resources/contacts.d.ts +90 -13
  23. package/resources/contacts.d.ts.map +1 -1
  24. package/resources/contacts.js +1 -1
  25. package/resources/contacts.mjs +1 -1
  26. package/resources/messages.d.mts +6 -1
  27. package/resources/messages.d.mts.map +1 -1
  28. package/resources/messages.d.ts +6 -1
  29. package/resources/messages.d.ts.map +1 -1
  30. package/resources/messages.js +5 -0
  31. package/resources/messages.js.map +1 -1
  32. package/resources/messages.mjs +5 -0
  33. package/resources/messages.mjs.map +1 -1
  34. package/src/client.ts +3 -2
  35. package/src/internal/parse.ts +6 -0
  36. package/src/resources/broadcasts/broadcasts.ts +1 -1
  37. package/src/resources/contacts.ts +109 -12
  38. package/src/resources/messages.ts +6 -1
  39. package/src/version.ts +1 -1
  40. package/version.d.mts +1 -1
  41. package/version.d.ts +1 -1
  42. package/version.js +1 -1
  43. package/version.mjs +1 -1
@@ -82,6 +82,11 @@ export class Messages extends APIResource {
82
82
  * - Window opens when the user messages you first
83
83
  * - Use template messages to initiate conversations outside the window
84
84
  *
85
+ * **Email requirements:**
86
+ *
87
+ * - Email channel requires KYC verification. Complete identity verification in the
88
+ * dashboard before sending emails.
89
+ *
85
90
  * @example
86
91
  * ```ts
87
92
  * const messageResponse = await client.messages.send({
@@ -108,7 +113,7 @@ export type MessagesCursor = Cursor<Message>;
108
113
  /**
109
114
  * Delivery channel. Use 'auto' for intelligent routing.
110
115
  */
111
- export type Channel = 'auto' | 'sms' | 'whatsapp' | 'telegram' | 'email';
116
+ export type Channel = 'auto' | 'sms' | 'whatsapp' | 'telegram' | 'email' | 'instagram' | 'voice';
112
117
 
113
118
  export interface Message {
114
119
  id: string;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.22.0'; // x-release-please-version
1
+ export const VERSION = '0.24.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.22.0";
1
+ export declare const VERSION = "0.24.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.22.0";
1
+ export declare const VERSION = "0.24.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.22.0'; // x-release-please-version
4
+ exports.VERSION = '0.24.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.22.0'; // x-release-please-version
1
+ export const VERSION = '0.24.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map