telnyx 7.21.0 → 7.22.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 (259) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +7 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +7 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +2 -2
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +2 -2
  14. package/resources/ai/ai.d.ts.map +1 -1
  15. package/resources/ai/ai.js.map +1 -1
  16. package/resources/ai/ai.mjs.map +1 -1
  17. package/resources/ai/assistants/assistants.d.mts +152 -1
  18. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  19. package/resources/ai/assistants/assistants.d.ts +152 -1
  20. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  21. package/resources/ai/assistants/assistants.js.map +1 -1
  22. package/resources/ai/assistants/assistants.mjs.map +1 -1
  23. package/resources/ai/assistants/index.d.mts +1 -1
  24. package/resources/ai/assistants/index.d.mts.map +1 -1
  25. package/resources/ai/assistants/index.d.ts +1 -1
  26. package/resources/ai/assistants/index.d.ts.map +1 -1
  27. package/resources/ai/assistants/index.js.map +1 -1
  28. package/resources/ai/assistants/index.mjs.map +1 -1
  29. package/resources/ai/assistants/versions.d.mts +25 -0
  30. package/resources/ai/assistants/versions.d.mts.map +1 -1
  31. package/resources/ai/assistants/versions.d.ts +25 -0
  32. package/resources/ai/assistants/versions.d.ts.map +1 -1
  33. package/resources/ai/chat.d.mts +61 -22
  34. package/resources/ai/chat.d.mts.map +1 -1
  35. package/resources/ai/chat.d.ts +61 -22
  36. package/resources/ai/chat.d.ts.map +1 -1
  37. package/resources/ai/index.d.mts +1 -1
  38. package/resources/ai/index.d.mts.map +1 -1
  39. package/resources/ai/index.d.ts +1 -1
  40. package/resources/ai/index.d.ts.map +1 -1
  41. package/resources/ai/index.js.map +1 -1
  42. package/resources/ai/index.mjs.map +1 -1
  43. package/resources/ai/openai/chat.d.mts +61 -22
  44. package/resources/ai/openai/chat.d.mts.map +1 -1
  45. package/resources/ai/openai/chat.d.ts +61 -22
  46. package/resources/ai/openai/chat.d.ts.map +1 -1
  47. package/resources/compute/compute.d.mts +10 -0
  48. package/resources/compute/compute.d.mts.map +1 -0
  49. package/resources/compute/compute.d.ts +10 -0
  50. package/resources/compute/compute.d.ts.map +1 -0
  51. package/resources/compute/compute.js +17 -0
  52. package/resources/compute/compute.js.map +1 -0
  53. package/resources/compute/compute.mjs +12 -0
  54. package/resources/compute/compute.mjs.map +1 -0
  55. package/resources/compute/funcs.d.mts +179 -0
  56. package/resources/compute/funcs.d.mts.map +1 -0
  57. package/resources/compute/funcs.d.ts +179 -0
  58. package/resources/compute/funcs.d.ts.map +1 -0
  59. package/resources/compute/funcs.js +41 -0
  60. package/resources/compute/funcs.js.map +1 -0
  61. package/resources/compute/funcs.mjs +37 -0
  62. package/resources/compute/funcs.mjs.map +1 -0
  63. package/resources/compute/index.d.mts +3 -0
  64. package/resources/compute/index.d.mts.map +1 -0
  65. package/resources/compute/index.d.ts +3 -0
  66. package/resources/compute/index.d.ts.map +1 -0
  67. package/resources/compute/index.js +9 -0
  68. package/resources/compute/index.js.map +1 -0
  69. package/resources/compute/index.mjs +4 -0
  70. package/resources/compute/index.mjs.map +1 -0
  71. package/resources/compute.d.mts +2 -0
  72. package/resources/compute.d.mts.map +1 -0
  73. package/resources/compute.d.ts +2 -0
  74. package/resources/compute.d.ts.map +1 -0
  75. package/resources/compute.js +6 -0
  76. package/resources/compute.js.map +1 -0
  77. package/resources/compute.mjs +3 -0
  78. package/resources/compute.mjs.map +1 -0
  79. package/resources/credential-connections/credential-connections.d.mts +4 -1
  80. package/resources/credential-connections/credential-connections.d.mts.map +1 -1
  81. package/resources/credential-connections/credential-connections.d.ts +4 -1
  82. package/resources/credential-connections/credential-connections.d.ts.map +1 -1
  83. package/resources/credential-connections/credential-connections.js.map +1 -1
  84. package/resources/credential-connections/credential-connections.mjs.map +1 -1
  85. package/resources/email-inboxes/drafts.d.mts +7 -0
  86. package/resources/email-inboxes/drafts.d.mts.map +1 -1
  87. package/resources/email-inboxes/drafts.d.ts +7 -0
  88. package/resources/email-inboxes/drafts.d.ts.map +1 -1
  89. package/resources/email-messages/email-messages.d.mts +7 -3
  90. package/resources/email-messages/email-messages.d.mts.map +1 -1
  91. package/resources/email-messages/email-messages.d.ts +7 -3
  92. package/resources/email-messages/email-messages.d.ts.map +1 -1
  93. package/resources/email-messages/email-messages.js +3 -1
  94. package/resources/email-messages/email-messages.js.map +1 -1
  95. package/resources/email-messages/email-messages.mjs +3 -1
  96. package/resources/email-messages/email-messages.mjs.map +1 -1
  97. package/resources/fqdn-connections/fqdn-authentication.d.mts +4 -1
  98. package/resources/fqdn-connections/fqdn-authentication.d.mts.map +1 -1
  99. package/resources/fqdn-connections/fqdn-authentication.d.ts +4 -1
  100. package/resources/fqdn-connections/fqdn-authentication.d.ts.map +1 -1
  101. package/resources/fqdn-connections/fqdn-connections.d.mts +4 -1
  102. package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
  103. package/resources/fqdn-connections/fqdn-connections.d.ts +4 -1
  104. package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
  105. package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
  106. package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
  107. package/resources/index.d.mts +3 -2
  108. package/resources/index.d.mts.map +1 -1
  109. package/resources/index.d.ts +3 -2
  110. package/resources/index.d.ts.map +1 -1
  111. package/resources/index.js +6 -4
  112. package/resources/index.js.map +1 -1
  113. package/resources/index.mjs +1 -0
  114. package/resources/index.mjs.map +1 -1
  115. package/resources/messages/messages.d.mts +79 -6
  116. package/resources/messages/messages.d.mts.map +1 -1
  117. package/resources/messages/messages.d.ts +79 -6
  118. package/resources/messages/messages.d.ts.map +1 -1
  119. package/resources/messages/messages.js.map +1 -1
  120. package/resources/messages/messages.mjs.map +1 -1
  121. package/resources/messaging-profiles/index.d.mts +1 -1
  122. package/resources/messaging-profiles/index.d.mts.map +1 -1
  123. package/resources/messaging-profiles/index.d.ts +1 -1
  124. package/resources/messaging-profiles/index.d.ts.map +1 -1
  125. package/resources/messaging-profiles/index.js.map +1 -1
  126. package/resources/messaging-profiles/index.mjs.map +1 -1
  127. package/resources/messaging-profiles/messaging-profiles.d.mts +34 -1
  128. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  129. package/resources/messaging-profiles/messaging-profiles.d.ts +34 -1
  130. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  131. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  132. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  133. package/resources/uac-connections/uac-connections.d.mts +9 -2
  134. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  135. package/resources/uac-connections/uac-connections.d.ts +9 -2
  136. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  137. package/resources/uac-connections/uac-connections.js.map +1 -1
  138. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  139. package/resources/webhooks.d.mts +129 -3
  140. package/resources/webhooks.d.mts.map +1 -1
  141. package/resources/webhooks.d.ts +129 -3
  142. package/resources/webhooks.d.ts.map +1 -1
  143. package/resources/whatsapp/business-accounts/phone-numbers.d.mts +33 -0
  144. package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
  145. package/resources/whatsapp/business-accounts/phone-numbers.d.ts +33 -0
  146. package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
  147. package/resources/whatsapp/index.d.mts +1 -1
  148. package/resources/whatsapp/index.d.mts.map +1 -1
  149. package/resources/whatsapp/index.d.ts +1 -1
  150. package/resources/whatsapp/index.d.ts.map +1 -1
  151. package/resources/whatsapp/index.js.map +1 -1
  152. package/resources/whatsapp/index.mjs.map +1 -1
  153. package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
  154. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  155. package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
  156. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  157. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  158. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  159. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +147 -1
  160. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  161. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +147 -1
  162. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  163. package/resources/whatsapp/phone-numbers/phone-numbers.js +16 -0
  164. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  165. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +16 -0
  166. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  167. package/resources/whatsapp/whatsapp.d.mts +2 -2
  168. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  169. package/resources/whatsapp/whatsapp.d.ts +2 -2
  170. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  171. package/resources/whatsapp/whatsapp.js.map +1 -1
  172. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  173. package/resources/x402/credit-account/credit-account.d.mts +226 -0
  174. package/resources/x402/credit-account/credit-account.d.mts.map +1 -0
  175. package/resources/x402/credit-account/credit-account.d.ts +226 -0
  176. package/resources/x402/credit-account/credit-account.d.ts.map +1 -0
  177. package/resources/x402/credit-account/credit-account.js +66 -0
  178. package/resources/x402/credit-account/credit-account.js.map +1 -0
  179. package/resources/x402/credit-account/credit-account.mjs +61 -0
  180. package/resources/x402/credit-account/credit-account.mjs.map +1 -0
  181. package/resources/x402/credit-account/index.d.mts +3 -0
  182. package/resources/x402/credit-account/index.d.mts.map +1 -0
  183. package/resources/x402/credit-account/index.d.ts +3 -0
  184. package/resources/x402/credit-account/index.d.ts.map +1 -0
  185. package/resources/x402/credit-account/index.js +9 -0
  186. package/resources/x402/credit-account/index.js.map +1 -0
  187. package/resources/x402/credit-account/index.mjs +4 -0
  188. package/resources/x402/credit-account/index.mjs.map +1 -0
  189. package/resources/x402/credit-account/payments.d.mts +90 -0
  190. package/resources/x402/credit-account/payments.d.mts.map +1 -0
  191. package/resources/x402/credit-account/payments.d.ts +90 -0
  192. package/resources/x402/credit-account/payments.d.ts.map +1 -0
  193. package/resources/x402/credit-account/payments.js +47 -0
  194. package/resources/x402/credit-account/payments.js.map +1 -0
  195. package/resources/x402/credit-account/payments.mjs +43 -0
  196. package/resources/x402/credit-account/payments.mjs.map +1 -0
  197. package/resources/x402/credit-account.d.mts +1 -221
  198. package/resources/x402/credit-account.d.mts.map +1 -1
  199. package/resources/x402/credit-account.d.ts +1 -221
  200. package/resources/x402/credit-account.d.ts.map +1 -1
  201. package/resources/x402/credit-account.js +2 -54
  202. package/resources/x402/credit-account.js.map +1 -1
  203. package/resources/x402/credit-account.mjs +1 -52
  204. package/resources/x402/credit-account.mjs.map +1 -1
  205. package/resources/x402/index.d.mts +1 -1
  206. package/resources/x402/index.d.mts.map +1 -1
  207. package/resources/x402/index.d.ts +1 -1
  208. package/resources/x402/index.d.ts.map +1 -1
  209. package/resources/x402/index.js +2 -2
  210. package/resources/x402/index.js.map +1 -1
  211. package/resources/x402/index.mjs +1 -1
  212. package/resources/x402/index.mjs.map +1 -1
  213. package/resources/x402/x402.d.mts +2 -2
  214. package/resources/x402/x402.d.mts.map +1 -1
  215. package/resources/x402/x402.d.ts +2 -2
  216. package/resources/x402/x402.d.ts.map +1 -1
  217. package/resources/x402/x402.js +2 -2
  218. package/resources/x402/x402.js.map +1 -1
  219. package/resources/x402/x402.mjs +2 -2
  220. package/resources/x402/x402.mjs.map +1 -1
  221. package/src/client.ts +11 -0
  222. package/src/resources/ai/ai.ts +2 -0
  223. package/src/resources/ai/assistants/assistants.ts +173 -0
  224. package/src/resources/ai/assistants/index.ts +1 -0
  225. package/src/resources/ai/assistants/versions.ts +27 -0
  226. package/src/resources/ai/chat.ts +69 -23
  227. package/src/resources/ai/index.ts +1 -0
  228. package/src/resources/ai/openai/chat.ts +69 -23
  229. package/src/resources/compute/compute.ts +37 -0
  230. package/src/resources/compute/funcs.ts +298 -0
  231. package/src/resources/compute/index.ts +15 -0
  232. package/src/resources/compute.ts +3 -0
  233. package/src/resources/credential-connections/credential-connections.ts +4 -1
  234. package/src/resources/email-inboxes/drafts.ts +8 -0
  235. package/src/resources/email-messages/email-messages.ts +7 -2
  236. package/src/resources/fqdn-connections/fqdn-authentication.ts +4 -1
  237. package/src/resources/fqdn-connections/fqdn-connections.ts +4 -1
  238. package/src/resources/index.ts +4 -0
  239. package/src/resources/messages/messages.ts +89 -6
  240. package/src/resources/messaging-profiles/index.ts +1 -0
  241. package/src/resources/messaging-profiles/messaging-profiles.ts +39 -0
  242. package/src/resources/uac-connections/uac-connections.ts +9 -2
  243. package/src/resources/webhooks.ts +177 -2
  244. package/src/resources/whatsapp/business-accounts/phone-numbers.ts +52 -0
  245. package/src/resources/whatsapp/index.ts +1 -0
  246. package/src/resources/whatsapp/phone-numbers/index.ts +1 -0
  247. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +222 -0
  248. package/src/resources/whatsapp/whatsapp.ts +2 -0
  249. package/src/resources/x402/credit-account/credit-account.ts +312 -0
  250. package/src/resources/x402/credit-account/index.ts +16 -0
  251. package/src/resources/x402/credit-account/payments.ts +126 -0
  252. package/src/resources/x402/credit-account.ts +1 -290
  253. package/src/resources/x402/index.ts +1 -1
  254. package/src/resources/x402/x402.ts +2 -2
  255. package/src/version.ts +1 -1
  256. package/version.d.mts +1 -1
  257. package/version.d.ts +1 -1
  258. package/version.js +1 -1
  259. package/version.mjs +1 -1
@@ -39,9 +39,19 @@ export declare class PhoneNumbers extends APIResource {
39
39
  export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
40
40
  export interface PhoneNumberListResponse {
41
41
  calling_enabled?: boolean;
42
+ /**
43
+ * Current lifecycle state for a coexistence number. This is null for a standard
44
+ * Cloud API number.
45
+ */
46
+ coexistence_state?: 'pending_onboarding' | 'sync_pending' | 'syncing' | 'sync_complete' | 'active' | 'history_declined' | 'sync_deadline_expired' | 'offboarded' | 'disconnected' | null;
42
47
  created_at?: string;
43
48
  display_name?: string;
44
49
  enabled?: boolean;
50
+ /**
51
+ * Indicates whether the number is connected to both the WhatsApp Business app and
52
+ * Cloud API through WhatsApp Coexistence.
53
+ */
54
+ is_on_biz_app?: boolean;
45
55
  /**
46
56
  * Phone number in E164 format
47
57
  */
@@ -56,6 +66,16 @@ export interface PhoneNumberListResponse {
56
66
  quality_rating?: string;
57
67
  record_type?: string;
58
68
  status?: string;
69
+ /**
70
+ * Deadline for initiating the current coexistence synchronization cycle. This is
71
+ * null when no deadline applies.
72
+ */
73
+ sync_deadline?: string | null;
74
+ /**
75
+ * Synchronization progress. This object is returned only while a coexistence
76
+ * number is synchronizing.
77
+ */
78
+ sync_progress?: PhoneNumberListResponse.SyncProgress | null;
59
79
  /**
60
80
  * User ID
61
81
  */
@@ -65,6 +85,19 @@ export interface PhoneNumberListResponse {
65
85
  */
66
86
  waba_id?: string;
67
87
  }
88
+ export declare namespace PhoneNumberListResponse {
89
+ /**
90
+ * Synchronization progress. This object is returned only while a coexistence
91
+ * number is synchronizing.
92
+ */
93
+ interface SyncProgress {
94
+ contacts_status?: string;
95
+ history_chunk_order?: number | null;
96
+ history_phase?: number | null;
97
+ history_progress?: number | null;
98
+ history_status?: string;
99
+ }
100
+ }
68
101
  export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
69
102
  }
70
103
  export interface PhoneNumberInitializeVerificationParams {
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accoun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uCAAuC;IACtD,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
1
+ {"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,qCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;;;;;;;;;;OAgBG;IACH,sBAAsB,CACpB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,MAAM,6CAA6C,GAAG,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;AAE3G,MAAM,WAAW,uBAAuB;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,iBAAiB,CAAC,EACd,oBAAoB,GACpB,cAAc,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,OAAO,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
@@ -39,9 +39,19 @@ export declare class PhoneNumbers extends APIResource {
39
39
  export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
40
40
  export interface PhoneNumberListResponse {
41
41
  calling_enabled?: boolean;
42
+ /**
43
+ * Current lifecycle state for a coexistence number. This is null for a standard
44
+ * Cloud API number.
45
+ */
46
+ coexistence_state?: 'pending_onboarding' | 'sync_pending' | 'syncing' | 'sync_complete' | 'active' | 'history_declined' | 'sync_deadline_expired' | 'offboarded' | 'disconnected' | null;
42
47
  created_at?: string;
43
48
  display_name?: string;
44
49
  enabled?: boolean;
50
+ /**
51
+ * Indicates whether the number is connected to both the WhatsApp Business app and
52
+ * Cloud API through WhatsApp Coexistence.
53
+ */
54
+ is_on_biz_app?: boolean;
45
55
  /**
46
56
  * Phone number in E164 format
47
57
  */
@@ -56,6 +66,16 @@ export interface PhoneNumberListResponse {
56
66
  quality_rating?: string;
57
67
  record_type?: string;
58
68
  status?: string;
69
+ /**
70
+ * Deadline for initiating the current coexistence synchronization cycle. This is
71
+ * null when no deadline applies.
72
+ */
73
+ sync_deadline?: string | null;
74
+ /**
75
+ * Synchronization progress. This object is returned only while a coexistence
76
+ * number is synchronizing.
77
+ */
78
+ sync_progress?: PhoneNumberListResponse.SyncProgress | null;
59
79
  /**
60
80
  * User ID
61
81
  */
@@ -65,6 +85,19 @@ export interface PhoneNumberListResponse {
65
85
  */
66
86
  waba_id?: string;
67
87
  }
88
+ export declare namespace PhoneNumberListResponse {
89
+ /**
90
+ * Synchronization progress. This object is returned only while a coexistence
91
+ * number is synchronizing.
92
+ */
93
+ interface SyncProgress {
94
+ contacts_status?: string;
95
+ history_chunk_order?: number | null;
96
+ history_phase?: number | null;
97
+ history_progress?: number | null;
98
+ history_status?: string;
99
+ }
100
+ }
68
101
  export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
69
102
  }
70
103
  export interface PhoneNumberInitializeVerificationParams {
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,oCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;;;;;;;;;;OAgBG;IACH,sBAAsB,CACpB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,MAAM,6CAA6C,GAAG,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;AAE3G,MAAM,WAAW,uBAAuB;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,uCAAuC;IACtD,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
1
+ {"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,oCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;;;;;;;;;;OAgBG;IACH,sBAAsB,CACpB,EAAE,EAAE,MAAM,EACV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AAM,GAAG,IAAI,CAAC;QAEjC,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB;CACF;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,uCAAuC;IACtD,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
@@ -1,5 +1,5 @@
1
1
  export { BusinessAccounts, type BusinessAccountRetrieveResponse, type BusinessAccountListResponse, type BusinessAccountListParams, type BusinessAccountListResponsesDefaultFlatPagination, } from "./business-accounts/index.mjs";
2
- export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers/index.mjs";
2
+ export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers/index.mjs";
3
3
  export { Templates, type WhatsappTemplateBodyComponent, type WhatsappTemplateButtonsComponent, type WhatsappTemplateCarouselComponent, type WhatsappTemplateFooterComponent, type WhatsappTemplateHeaderComponent, type TemplateCreateResponse, type TemplateListParams, type TemplateCreateParams, } from "./templates.mjs";
4
4
  export { UserData, type WhatsappUserData, type UserDataRetrieveResponse, type UserDataUpdateResponse, type UserDataUpdateParams, } from "./user-data.mjs";
5
5
  export { Whatsapp } from "./whatsapp.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,sCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,kCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,sCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,sCAAsC,EAC3C,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,kCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
@@ -1,5 +1,5 @@
1
1
  export { BusinessAccounts, type BusinessAccountRetrieveResponse, type BusinessAccountListResponse, type BusinessAccountListParams, type BusinessAccountListResponsesDefaultFlatPagination, } from "./business-accounts/index.js";
2
- export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers/index.js";
2
+ export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers/index.js";
3
3
  export { Templates, type WhatsappTemplateBodyComponent, type WhatsappTemplateButtonsComponent, type WhatsappTemplateCarouselComponent, type WhatsappTemplateFooterComponent, type WhatsappTemplateHeaderComponent, type TemplateCreateResponse, type TemplateListParams, type TemplateCreateParams, } from "./templates.js";
4
4
  export { UserData, type WhatsappUserData, type UserDataRetrieveResponse, type UserDataUpdateResponse, type UserDataUpdateParams, } from "./user-data.js";
5
5
  export { Whatsapp } from "./whatsapp.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,qCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,iCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,sBAAmB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,qCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,sCAAsC,EAC3C,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,iCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,sBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAMmC;AALjC,yGAAA,gBAAgB,OAAA;AAMlB,kDAW+B;AAV7B,qGAAA,YAAY,OAAA;AAWd,4CAUqB;AATnB,sGAAA,SAAS,OAAA;AAUX,4CAMqB;AALnB,qGAAA,QAAQ,OAAA;AAMV,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAMmC;AALjC,yGAAA,gBAAgB,OAAA;AAMlB,kDAY+B;AAX7B,qGAAA,YAAY,OAAA;AAYd,4CAUqB;AATnB,sGAAA,SAAS,OAAA;AAUX,4CAMqB;AALnB,qGAAA,QAAQ,OAAA;AAMV,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,gBAAgB,GAKjB,sCAAkC;AACnC,OAAO,EACL,YAAY,GAUb,kCAA8B;AAC/B,OAAO,EACL,SAAS,GASV,wBAAoB;AACrB,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,gBAAgB,GAKjB,sCAAkC;AACnC,OAAO,EACL,YAAY,GAWb,kCAA8B;AAC/B,OAAO,EACL,SAAS,GASV,wBAAoB;AACrB,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
@@ -1,5 +1,5 @@
1
1
  export { CallingSettings, type WhatsappCallingSettingsData, type CallingSettingRetrieveResponse, type CallingSettingUpdateResponse, type CallingSettingUpdateParams, } from "./calling-settings.mjs";
2
2
  export { ConversationalComponents, type WhatsappConversationalComponent, type ConversationalComponentListResponse, type ConversationalComponentPatchAllResponse, type ConversationalComponentPatchAllParams, } from "./conversational-components.mjs";
3
- export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.mjs";
3
+ export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.mjs";
4
4
  export { Profile, type WhatsappProfileData, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileUpdateParams, } from "./profile/index.mjs";
5
5
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,+BAA2B;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C,wCAAoC;AACrC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,4BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,4BAAwB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,+BAA2B;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C,wCAAoC;AACrC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,sCAAsC,EAC3C,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,4BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,4BAAwB"}
@@ -1,5 +1,5 @@
1
1
  export { CallingSettings, type WhatsappCallingSettingsData, type CallingSettingRetrieveResponse, type CallingSettingUpdateResponse, type CallingSettingUpdateParams, } from "./calling-settings.js";
2
2
  export { ConversationalComponents, type WhatsappConversationalComponent, type ConversationalComponentListResponse, type ConversationalComponentPatchAllResponse, type ConversationalComponentPatchAllParams, } from "./conversational-components.js";
3
- export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.js";
3
+ export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.js";
4
4
  export { Profile, type WhatsappProfileData, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileUpdateParams, } from "./profile/index.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,8BAA2B;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C,uCAAoC;AACrC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,2BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,2BAAwB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,8BAA2B;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C,uCAAoC;AACrC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,6CAA6C,EAClD,KAAK,sCAAsC,EAC3C,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,oBAAoB,EACzB,KAAK,6CAA6C,GACnD,2BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,2BAAwB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,4EAMqC;AALnC,qIAAA,wBAAwB,OAAA;AAM1B,oDAWyB;AAVvB,6GAAA,YAAY,OAAA;AAWd,4CAMyB;AALvB,gGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,4EAMqC;AALnC,qIAAA,wBAAwB,OAAA;AAM1B,oDAYyB;AAXvB,6GAAA,YAAY,OAAA;AAYd,4CAMyB;AALvB,gGAAA,OAAO,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,eAAe,GAKhB,+BAA2B;AAC5B,OAAO,EACL,wBAAwB,GAKzB,wCAAoC;AACrC,OAAO,EACL,YAAY,GAUb,4BAAwB;AACzB,OAAO,EACL,OAAO,GAKR,4BAAwB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,eAAe,GAKhB,+BAA2B;AAC5B,OAAO,EACL,wBAAwB,GAKzB,wCAAoC;AACrC,OAAO,EACL,YAAY,GAWb,4BAAwB;AACzB,OAAO,EACL,OAAO,GAKR,4BAAwB"}
@@ -85,13 +85,37 @@ export declare class PhoneNumbers extends APIResource {
85
85
  * ```
86
86
  */
87
87
  get(query?: PhoneNumberGetParams | null | undefined, options?: RequestOptions): APIPromise<PhoneNumberGetResponse>;
88
+ /**
89
+ * Returns one WhatsApp phone number linked to the authenticated Telnyx account.
90
+ * For a coexistence number in the `syncing` state, the response includes
91
+ * `sync_progress`.
92
+ *
93
+ * @example
94
+ * ```ts
95
+ * const response =
96
+ * await client.whatsapp.phoneNumbers.retrievePhoneNumber(
97
+ * 'phone_number',
98
+ * );
99
+ * ```
100
+ */
101
+ retrievePhoneNumber(phoneNumber: string, options?: RequestOptions): APIPromise<PhoneNumberRetrievePhoneNumberResponse>;
88
102
  }
89
103
  export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
90
104
  export interface PhoneNumberListResponse {
91
105
  calling_enabled?: boolean;
106
+ /**
107
+ * Current lifecycle state for a coexistence number. This is null for a standard
108
+ * Cloud API number.
109
+ */
110
+ coexistence_state?: 'pending_onboarding' | 'sync_pending' | 'syncing' | 'sync_complete' | 'active' | 'history_declined' | 'sync_deadline_expired' | 'offboarded' | 'disconnected' | null;
92
111
  created_at?: string;
93
112
  display_name?: string;
94
113
  enabled?: boolean;
114
+ /**
115
+ * Indicates whether the number is connected to both the WhatsApp Business app and
116
+ * Cloud API through WhatsApp Coexistence.
117
+ */
118
+ is_on_biz_app?: boolean;
95
119
  /**
96
120
  * Phone number in E164 format
97
121
  */
@@ -106,6 +130,16 @@ export interface PhoneNumberListResponse {
106
130
  quality_rating?: string;
107
131
  record_type?: string;
108
132
  status?: string;
133
+ /**
134
+ * Deadline for initiating the current coexistence synchronization cycle. This is
135
+ * null when no deadline applies.
136
+ */
137
+ sync_deadline?: string | null;
138
+ /**
139
+ * Synchronization progress. This object is returned only while a coexistence
140
+ * number is synchronizing.
141
+ */
142
+ sync_progress?: PhoneNumberListResponse.SyncProgress | null;
109
143
  /**
110
144
  * User ID
111
145
  */
@@ -115,6 +149,19 @@ export interface PhoneNumberListResponse {
115
149
  */
116
150
  waba_id?: string;
117
151
  }
152
+ export declare namespace PhoneNumberListResponse {
153
+ /**
154
+ * Synchronization progress. This object is returned only while a coexistence
155
+ * number is synchronizing.
156
+ */
157
+ interface SyncProgress {
158
+ contacts_status?: string;
159
+ history_chunk_order?: number | null;
160
+ history_phase?: number | null;
161
+ history_progress?: number | null;
162
+ history_status?: string;
163
+ }
164
+ }
118
165
  export interface PhoneNumberGetResponse {
119
166
  data?: Array<PhoneNumberGetResponse.Data>;
120
167
  meta?: Shared.MessagingPaginationMeta;
@@ -122,9 +169,19 @@ export interface PhoneNumberGetResponse {
122
169
  export declare namespace PhoneNumberGetResponse {
123
170
  interface Data {
124
171
  calling_enabled?: boolean;
172
+ /**
173
+ * Current lifecycle state for a coexistence number. This is null for a standard
174
+ * Cloud API number.
175
+ */
176
+ coexistence_state?: 'pending_onboarding' | 'sync_pending' | 'syncing' | 'sync_complete' | 'active' | 'history_declined' | 'sync_deadline_expired' | 'offboarded' | 'disconnected' | null;
125
177
  created_at?: string;
126
178
  display_name?: string;
127
179
  enabled?: boolean;
180
+ /**
181
+ * Indicates whether the number is connected to both the WhatsApp Business app and
182
+ * Cloud API through WhatsApp Coexistence.
183
+ */
184
+ is_on_biz_app?: boolean;
128
185
  /**
129
186
  * Phone number in E164 format
130
187
  */
@@ -139,6 +196,16 @@ export declare namespace PhoneNumberGetResponse {
139
196
  quality_rating?: string;
140
197
  record_type?: string;
141
198
  status?: string;
199
+ /**
200
+ * Deadline for initiating the current coexistence synchronization cycle. This is
201
+ * null when no deadline applies.
202
+ */
203
+ sync_deadline?: string | null;
204
+ /**
205
+ * Synchronization progress. This object is returned only while a coexistence
206
+ * number is synchronizing.
207
+ */
208
+ sync_progress?: Data.SyncProgress | null;
142
209
  /**
143
210
  * User ID
144
211
  */
@@ -148,6 +215,19 @@ export declare namespace PhoneNumberGetResponse {
148
215
  */
149
216
  waba_id?: string;
150
217
  }
218
+ namespace Data {
219
+ /**
220
+ * Synchronization progress. This object is returned only while a coexistence
221
+ * number is synchronizing.
222
+ */
223
+ interface SyncProgress {
224
+ contacts_status?: string;
225
+ history_chunk_order?: number | null;
226
+ history_phase?: number | null;
227
+ history_progress?: number | null;
228
+ history_status?: string;
229
+ }
230
+ }
151
231
  }
152
232
  export interface PhoneNumberRetrieveConversationWindowResponse {
153
233
  data?: PhoneNumberRetrieveConversationWindowResponse.Data;
@@ -172,6 +252,72 @@ export declare namespace PhoneNumberRetrieveConversationWindowResponse {
172
252
  window_type?: string;
173
253
  }
174
254
  }
255
+ export interface PhoneNumberRetrievePhoneNumberResponse {
256
+ data: PhoneNumberRetrievePhoneNumberResponse.Data;
257
+ }
258
+ export declare namespace PhoneNumberRetrievePhoneNumberResponse {
259
+ interface Data {
260
+ calling_enabled?: boolean;
261
+ /**
262
+ * Current lifecycle state for a coexistence number. This is null for a standard
263
+ * Cloud API number.
264
+ */
265
+ coexistence_state?: 'pending_onboarding' | 'sync_pending' | 'syncing' | 'sync_complete' | 'active' | 'history_declined' | 'sync_deadline_expired' | 'offboarded' | 'disconnected' | null;
266
+ created_at?: string;
267
+ display_name?: string;
268
+ enabled?: boolean;
269
+ /**
270
+ * Indicates whether the number is connected to both the WhatsApp Business app and
271
+ * Cloud API through WhatsApp Coexistence.
272
+ */
273
+ is_on_biz_app?: boolean;
274
+ /**
275
+ * Phone number in E164 format
276
+ */
277
+ phone_number?: string;
278
+ /**
279
+ * Whatsapp phone number ID
280
+ */
281
+ phone_number_id?: string;
282
+ /**
283
+ * Whatsapp quality rating
284
+ */
285
+ quality_rating?: string;
286
+ record_type?: string;
287
+ status?: string;
288
+ /**
289
+ * Deadline for initiating the current coexistence synchronization cycle. This is
290
+ * null when no deadline applies.
291
+ */
292
+ sync_deadline?: string | null;
293
+ /**
294
+ * Synchronization progress. This object is returned only while a coexistence
295
+ * number is synchronizing.
296
+ */
297
+ sync_progress?: Data.SyncProgress | null;
298
+ /**
299
+ * User ID
300
+ */
301
+ user_id?: string;
302
+ /**
303
+ * WABA ID of Whatsapp business account
304
+ */
305
+ waba_id?: string;
306
+ }
307
+ namespace Data {
308
+ /**
309
+ * Synchronization progress. This object is returned only while a coexistence
310
+ * number is synchronizing.
311
+ */
312
+ interface SyncProgress {
313
+ contacts_status?: string;
314
+ history_chunk_order?: number | null;
315
+ history_phase?: number | null;
316
+ history_progress?: number | null;
317
+ history_status?: string;
318
+ }
319
+ }
320
+ }
175
321
  export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
176
322
  }
177
323
  export interface PhoneNumberResendVerificationParams {
@@ -191,7 +337,7 @@ export interface PhoneNumberGetParams {
191
337
  'page[size]'?: number;
192
338
  }
193
339
  export declare namespace PhoneNumbers {
194
- export { type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberGetResponse as PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse as PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams as PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams as PhoneNumberGetParams, };
340
+ export { type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberGetResponse as PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse as PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse as PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams as PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams as PhoneNumberGetParams, };
195
341
  export { CallingSettings as CallingSettings, type WhatsappCallingSettingsData as WhatsappCallingSettingsData, type CallingSettingRetrieveResponse as CallingSettingRetrieveResponse, type CallingSettingUpdateResponse as CallingSettingUpdateResponse, type CallingSettingUpdateParams as CallingSettingUpdateParams, };
196
342
  export { Profile as Profile, type WhatsappProfileData as WhatsappProfileData, type ProfileRetrieveResponse as ProfileRetrieveResponse, type ProfileUpdateResponse as ProfileUpdateResponse, type ProfileUpdateParams as ProfileUpdateParams, };
197
343
  export { ConversationalComponents as ConversationalComponents, type WhatsappConversationalComponent as WhatsappConversationalComponent, type ConversationalComponentListResponse as ConversationalComponentListResponse, type ConversationalComponentPatchAllResponse as ConversationalComponentPatchAllResponse, type ConversationalComponentPatchAllParams as ConversationalComponentPatchAllParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,+BAA2B;AAC5B,OAAO,KAAK,2BAA2B,wCAAoC;AAC3E,OAAO,EACL,mCAAmC,EACnC,qCAAqC,EACrC,uCAAuC,EACvC,wBAAwB,EACxB,+BAA+B,EAChC,wCAAoC;AACrC,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,OAAO,EACP,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACpB,8BAA0B;AAC3B,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,qCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,eAAe,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B,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,wBAAwB,IAAI,wBAAwB,EACpD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
1
+ {"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,+BAA2B;AAC5B,OAAO,KAAK,2BAA2B,wCAAoC;AAC3E,OAAO,EACL,mCAAmC,EACnC,qCAAqC,EACrC,uCAAuC,EACvC,wBAAwB,EACxB,+BAA+B,EAChC,wCAAoC;AACrC,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,OAAO,EACP,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACpB,8BAA0B;AAC3B,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,qCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAC3G,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,wBAAwB,EAAE,2BAA2B,CAAC,wBAAwB,CACL;IAEzE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,E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