telnyx 7.20.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 (278) hide show
  1. package/CHANGELOG.md +14 -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/anthropic/v1.d.mts +16 -0
  18. package/resources/ai/anthropic/v1.d.mts.map +1 -1
  19. package/resources/ai/anthropic/v1.d.ts +16 -0
  20. package/resources/ai/anthropic/v1.d.ts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.mts +152 -1
  22. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  23. package/resources/ai/assistants/assistants.d.ts +152 -1
  24. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  25. package/resources/ai/assistants/assistants.js.map +1 -1
  26. package/resources/ai/assistants/assistants.mjs.map +1 -1
  27. package/resources/ai/assistants/index.d.mts +1 -1
  28. package/resources/ai/assistants/index.d.mts.map +1 -1
  29. package/resources/ai/assistants/index.d.ts +1 -1
  30. package/resources/ai/assistants/index.d.ts.map +1 -1
  31. package/resources/ai/assistants/index.js.map +1 -1
  32. package/resources/ai/assistants/index.mjs.map +1 -1
  33. package/resources/ai/assistants/versions.d.mts +25 -0
  34. package/resources/ai/assistants/versions.d.mts.map +1 -1
  35. package/resources/ai/assistants/versions.d.ts +25 -0
  36. package/resources/ai/assistants/versions.d.ts.map +1 -1
  37. package/resources/ai/chat.d.mts +77 -22
  38. package/resources/ai/chat.d.mts.map +1 -1
  39. package/resources/ai/chat.d.ts +77 -22
  40. package/resources/ai/chat.d.ts.map +1 -1
  41. package/resources/ai/index.d.mts +1 -1
  42. package/resources/ai/index.d.mts.map +1 -1
  43. package/resources/ai/index.d.ts +1 -1
  44. package/resources/ai/index.d.ts.map +1 -1
  45. package/resources/ai/index.js.map +1 -1
  46. package/resources/ai/index.mjs.map +1 -1
  47. package/resources/ai/openai/chat.d.mts +77 -22
  48. package/resources/ai/openai/chat.d.mts.map +1 -1
  49. package/resources/ai/openai/chat.d.ts +77 -22
  50. package/resources/ai/openai/chat.d.ts.map +1 -1
  51. package/resources/ai/openai/openai.d.mts +16 -0
  52. package/resources/ai/openai/openai.d.mts.map +1 -1
  53. package/resources/ai/openai/openai.d.ts +16 -0
  54. package/resources/ai/openai/openai.d.ts.map +1 -1
  55. package/resources/ai/openai/openai.js.map +1 -1
  56. package/resources/ai/openai/openai.mjs.map +1 -1
  57. package/resources/compute/compute.d.mts +10 -0
  58. package/resources/compute/compute.d.mts.map +1 -0
  59. package/resources/compute/compute.d.ts +10 -0
  60. package/resources/compute/compute.d.ts.map +1 -0
  61. package/resources/compute/compute.js +17 -0
  62. package/resources/compute/compute.js.map +1 -0
  63. package/resources/compute/compute.mjs +12 -0
  64. package/resources/compute/compute.mjs.map +1 -0
  65. package/resources/compute/funcs.d.mts +179 -0
  66. package/resources/compute/funcs.d.mts.map +1 -0
  67. package/resources/compute/funcs.d.ts +179 -0
  68. package/resources/compute/funcs.d.ts.map +1 -0
  69. package/resources/compute/funcs.js +41 -0
  70. package/resources/compute/funcs.js.map +1 -0
  71. package/resources/compute/funcs.mjs +37 -0
  72. package/resources/compute/funcs.mjs.map +1 -0
  73. package/resources/compute/index.d.mts +3 -0
  74. package/resources/compute/index.d.mts.map +1 -0
  75. package/resources/compute/index.d.ts +3 -0
  76. package/resources/compute/index.d.ts.map +1 -0
  77. package/resources/compute/index.js +9 -0
  78. package/resources/compute/index.js.map +1 -0
  79. package/resources/compute/index.mjs +4 -0
  80. package/resources/compute/index.mjs.map +1 -0
  81. package/resources/compute.d.mts +2 -0
  82. package/resources/compute.d.mts.map +1 -0
  83. package/resources/compute.d.ts +2 -0
  84. package/resources/compute.d.ts.map +1 -0
  85. package/resources/compute.js +6 -0
  86. package/resources/compute.js.map +1 -0
  87. package/resources/compute.mjs +3 -0
  88. package/resources/compute.mjs.map +1 -0
  89. package/resources/credential-connections/credential-connections.d.mts +4 -1
  90. package/resources/credential-connections/credential-connections.d.mts.map +1 -1
  91. package/resources/credential-connections/credential-connections.d.ts +4 -1
  92. package/resources/credential-connections/credential-connections.d.ts.map +1 -1
  93. package/resources/credential-connections/credential-connections.js.map +1 -1
  94. package/resources/credential-connections/credential-connections.mjs.map +1 -1
  95. package/resources/email-inboxes/drafts.d.mts +7 -0
  96. package/resources/email-inboxes/drafts.d.mts.map +1 -1
  97. package/resources/email-inboxes/drafts.d.ts +7 -0
  98. package/resources/email-inboxes/drafts.d.ts.map +1 -1
  99. package/resources/email-messages/email-messages.d.mts +7 -3
  100. package/resources/email-messages/email-messages.d.mts.map +1 -1
  101. package/resources/email-messages/email-messages.d.ts +7 -3
  102. package/resources/email-messages/email-messages.d.ts.map +1 -1
  103. package/resources/email-messages/email-messages.js +3 -1
  104. package/resources/email-messages/email-messages.js.map +1 -1
  105. package/resources/email-messages/email-messages.mjs +3 -1
  106. package/resources/email-messages/email-messages.mjs.map +1 -1
  107. package/resources/fqdn-connections/fqdn-authentication.d.mts +4 -1
  108. package/resources/fqdn-connections/fqdn-authentication.d.mts.map +1 -1
  109. package/resources/fqdn-connections/fqdn-authentication.d.ts +4 -1
  110. package/resources/fqdn-connections/fqdn-authentication.d.ts.map +1 -1
  111. package/resources/fqdn-connections/fqdn-connections.d.mts +4 -1
  112. package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
  113. package/resources/fqdn-connections/fqdn-connections.d.ts +4 -1
  114. package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
  115. package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
  116. package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
  117. package/resources/index.d.mts +3 -2
  118. package/resources/index.d.mts.map +1 -1
  119. package/resources/index.d.ts +3 -2
  120. package/resources/index.d.ts.map +1 -1
  121. package/resources/index.js +6 -4
  122. package/resources/index.js.map +1 -1
  123. package/resources/index.mjs +1 -0
  124. package/resources/index.mjs.map +1 -1
  125. package/resources/messages/messages.d.mts +79 -6
  126. package/resources/messages/messages.d.mts.map +1 -1
  127. package/resources/messages/messages.d.ts +79 -6
  128. package/resources/messages/messages.d.ts.map +1 -1
  129. package/resources/messages/messages.js.map +1 -1
  130. package/resources/messages/messages.mjs.map +1 -1
  131. package/resources/messaging-profiles/actions.d.mts +1 -1
  132. package/resources/messaging-profiles/actions.d.mts.map +1 -1
  133. package/resources/messaging-profiles/actions.d.ts +1 -1
  134. package/resources/messaging-profiles/actions.d.ts.map +1 -1
  135. package/resources/messaging-profiles/index.d.mts +1 -1
  136. package/resources/messaging-profiles/index.d.mts.map +1 -1
  137. package/resources/messaging-profiles/index.d.ts +1 -1
  138. package/resources/messaging-profiles/index.d.ts.map +1 -1
  139. package/resources/messaging-profiles/index.js.map +1 -1
  140. package/resources/messaging-profiles/index.mjs.map +1 -1
  141. package/resources/messaging-profiles/messaging-profiles.d.mts +185 -8
  142. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  143. package/resources/messaging-profiles/messaging-profiles.d.ts +185 -8
  144. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  145. package/resources/messaging-profiles/messaging-profiles.js +1 -1
  146. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  147. package/resources/messaging-profiles/messaging-profiles.mjs +1 -1
  148. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  149. package/resources/uac-connections/uac-connections.d.mts +9 -2
  150. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  151. package/resources/uac-connections/uac-connections.d.ts +9 -2
  152. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  153. package/resources/uac-connections/uac-connections.js.map +1 -1
  154. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  155. package/resources/webhooks.d.mts +129 -3
  156. package/resources/webhooks.d.mts.map +1 -1
  157. package/resources/webhooks.d.ts +129 -3
  158. package/resources/webhooks.d.ts.map +1 -1
  159. package/resources/whatsapp/business-accounts/phone-numbers.d.mts +33 -0
  160. package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
  161. package/resources/whatsapp/business-accounts/phone-numbers.d.ts +33 -0
  162. package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
  163. package/resources/whatsapp/index.d.mts +1 -1
  164. package/resources/whatsapp/index.d.mts.map +1 -1
  165. package/resources/whatsapp/index.d.ts +1 -1
  166. package/resources/whatsapp/index.d.ts.map +1 -1
  167. package/resources/whatsapp/index.js.map +1 -1
  168. package/resources/whatsapp/index.mjs.map +1 -1
  169. package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
  170. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  171. package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
  172. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  173. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  174. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  175. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +147 -1
  176. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  177. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +147 -1
  178. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  179. package/resources/whatsapp/phone-numbers/phone-numbers.js +16 -0
  180. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  181. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +16 -0
  182. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  183. package/resources/whatsapp/whatsapp.d.mts +2 -2
  184. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  185. package/resources/whatsapp/whatsapp.d.ts +2 -2
  186. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  187. package/resources/whatsapp/whatsapp.js.map +1 -1
  188. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  189. package/resources/x402/credit-account/credit-account.d.mts +226 -0
  190. package/resources/x402/credit-account/credit-account.d.mts.map +1 -0
  191. package/resources/x402/credit-account/credit-account.d.ts +226 -0
  192. package/resources/x402/credit-account/credit-account.d.ts.map +1 -0
  193. package/resources/x402/credit-account/credit-account.js +66 -0
  194. package/resources/x402/credit-account/credit-account.js.map +1 -0
  195. package/resources/x402/credit-account/credit-account.mjs +61 -0
  196. package/resources/x402/credit-account/credit-account.mjs.map +1 -0
  197. package/resources/x402/credit-account/index.d.mts +3 -0
  198. package/resources/x402/credit-account/index.d.mts.map +1 -0
  199. package/resources/x402/credit-account/index.d.ts +3 -0
  200. package/resources/x402/credit-account/index.d.ts.map +1 -0
  201. package/resources/x402/credit-account/index.js +9 -0
  202. package/resources/x402/credit-account/index.js.map +1 -0
  203. package/resources/x402/credit-account/index.mjs +4 -0
  204. package/resources/x402/credit-account/index.mjs.map +1 -0
  205. package/resources/x402/credit-account/payments.d.mts +90 -0
  206. package/resources/x402/credit-account/payments.d.mts.map +1 -0
  207. package/resources/x402/credit-account/payments.d.ts +90 -0
  208. package/resources/x402/credit-account/payments.d.ts.map +1 -0
  209. package/resources/x402/credit-account/payments.js +47 -0
  210. package/resources/x402/credit-account/payments.js.map +1 -0
  211. package/resources/x402/credit-account/payments.mjs +43 -0
  212. package/resources/x402/credit-account/payments.mjs.map +1 -0
  213. package/resources/x402/credit-account.d.mts +1 -221
  214. package/resources/x402/credit-account.d.mts.map +1 -1
  215. package/resources/x402/credit-account.d.ts +1 -221
  216. package/resources/x402/credit-account.d.ts.map +1 -1
  217. package/resources/x402/credit-account.js +2 -54
  218. package/resources/x402/credit-account.js.map +1 -1
  219. package/resources/x402/credit-account.mjs +1 -52
  220. package/resources/x402/credit-account.mjs.map +1 -1
  221. package/resources/x402/index.d.mts +1 -1
  222. package/resources/x402/index.d.mts.map +1 -1
  223. package/resources/x402/index.d.ts +1 -1
  224. package/resources/x402/index.d.ts.map +1 -1
  225. package/resources/x402/index.js +2 -2
  226. package/resources/x402/index.js.map +1 -1
  227. package/resources/x402/index.mjs +1 -1
  228. package/resources/x402/index.mjs.map +1 -1
  229. package/resources/x402/x402.d.mts +2 -2
  230. package/resources/x402/x402.d.mts.map +1 -1
  231. package/resources/x402/x402.d.ts +2 -2
  232. package/resources/x402/x402.d.ts.map +1 -1
  233. package/resources/x402/x402.js +2 -2
  234. package/resources/x402/x402.js.map +1 -1
  235. package/resources/x402/x402.mjs +2 -2
  236. package/resources/x402/x402.mjs.map +1 -1
  237. package/src/client.ts +15 -2
  238. package/src/resources/ai/ai.ts +2 -0
  239. package/src/resources/ai/anthropic/v1.ts +18 -0
  240. package/src/resources/ai/assistants/assistants.ts +173 -0
  241. package/src/resources/ai/assistants/index.ts +1 -0
  242. package/src/resources/ai/assistants/versions.ts +27 -0
  243. package/src/resources/ai/chat.ts +87 -23
  244. package/src/resources/ai/index.ts +1 -0
  245. package/src/resources/ai/openai/chat.ts +87 -23
  246. package/src/resources/ai/openai/openai.ts +18 -0
  247. package/src/resources/compute/compute.ts +37 -0
  248. package/src/resources/compute/funcs.ts +298 -0
  249. package/src/resources/compute/index.ts +15 -0
  250. package/src/resources/compute.ts +3 -0
  251. package/src/resources/credential-connections/credential-connections.ts +4 -1
  252. package/src/resources/email-inboxes/drafts.ts +8 -0
  253. package/src/resources/email-messages/email-messages.ts +7 -2
  254. package/src/resources/fqdn-connections/fqdn-authentication.ts +4 -1
  255. package/src/resources/fqdn-connections/fqdn-connections.ts +4 -1
  256. package/src/resources/index.ts +6 -1
  257. package/src/resources/messages/messages.ts +89 -6
  258. package/src/resources/messaging-profiles/actions.ts +1 -1
  259. package/src/resources/messaging-profiles/index.ts +3 -1
  260. package/src/resources/messaging-profiles/messaging-profiles.ts +222 -9
  261. package/src/resources/uac-connections/uac-connections.ts +9 -2
  262. package/src/resources/webhooks.ts +177 -2
  263. package/src/resources/whatsapp/business-accounts/phone-numbers.ts +52 -0
  264. package/src/resources/whatsapp/index.ts +1 -0
  265. package/src/resources/whatsapp/phone-numbers/index.ts +1 -0
  266. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +222 -0
  267. package/src/resources/whatsapp/whatsapp.ts +2 -0
  268. package/src/resources/x402/credit-account/credit-account.ts +312 -0
  269. package/src/resources/x402/credit-account/index.ts +16 -0
  270. package/src/resources/x402/credit-account/payments.ts +126 -0
  271. package/src/resources/x402/credit-account.ts +1 -290
  272. package/src/resources/x402/index.ts +1 -1
  273. package/src/resources/x402/x402.ts +2 -2
  274. package/src/version.ts +1 -1
  275. package/version.d.mts +1 -1
  276. package/version.d.ts +1 -1
  277. package/version.js +1 -1
  278. package/version.mjs +1 -1
@@ -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.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,O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AK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,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.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,8BAA2B;AAC5B,OAAO,KAAK,2BAA2B,uCAA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sBAAsB,IAAI,sBAAsB,EACrD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,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"}
@@ -118,6 +118,22 @@ class PhoneNumbers extends resource_1.APIResource {
118
118
  get(query = {}, options) {
119
119
  return this._client.get('/whatsapp/phone_numbers', { query, ...options });
120
120
  }
121
+ /**
122
+ * Returns one WhatsApp phone number linked to the authenticated Telnyx account.
123
+ * For a coexistence number in the `syncing` state, the response includes
124
+ * `sync_progress`.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * const response =
129
+ * await client.whatsapp.phoneNumbers.retrievePhoneNumber(
130
+ * 'phone_number',
131
+ * );
132
+ * ```
133
+ */
134
+ retrievePhoneNumber(phoneNumber, options) {
135
+ return this._client.get((0, path_1.path) `/whatsapp/phone_numbers/${phoneNumber}`, options);
136
+ }
121
137
  }
122
138
  exports.PhoneNumbers = PhoneNumbers;
123
139
  PhoneNumbers.CallingSettings = calling_settings_1.CallingSettings;
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,kFAAyD;AACzD,4DAM4B;AAC5B,oGAA2E;AAC3E,8EAMqC;AACrC,yEAAgD;AAChD,kDAM2B;AAE3B,4DAIkC;AAClC,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,6BAAwB,GACtB,IAAI,2BAA2B,CAAC,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwH3E,CAAC;IAtHC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,4BAA4B,EAC5B,CAAA,kCAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,WAAmB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,EAAE,EAAE;YAC1E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,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OAAO,GAAG,iBAAO,CAAC;AAC/B,YAAY,CAAC,wBAAwB,GAAG,oDAAwB,CAAC"}
1
+ {"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,kFAAyD;AACzD,4DAM4B;AAC5B,oGAA2E;AAC3E,8EAMqC;AACrC,yEAAgD;AAChD,kDAM2B;AAE3B,4DAIkC;AAClC,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,6BAAwB,GACtB,IAAI,2BAA2B,CAAC,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4I3E,CAAC;IA1IC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,4BAA4B,EAC5B,CAAA,kCAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,WAAmB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,EAAE,EAAE;YAC1E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,WAAmB,EACn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D,oCAgJC;AAsVD,YAAY,CAAC,eAAe,GAAG,kCAAe,CAAC;AAC/C,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC/B,YAAY,CAAC,wBAAwB,GAAG,oDAAwB,CAAC"}
@@ -114,6 +114,22 @@ export class PhoneNumbers extends APIResource {
114
114
  get(query = {}, options) {
115
115
  return this._client.get('/whatsapp/phone_numbers', { query, ...options });
116
116
  }
117
+ /**
118
+ * Returns one WhatsApp phone number linked to the authenticated Telnyx account.
119
+ * For a coexistence number in the `syncing` state, the response includes
120
+ * `sync_progress`.
121
+ *
122
+ * @example
123
+ * ```ts
124
+ * const response =
125
+ * await client.whatsapp.phoneNumbers.retrievePhoneNumber(
126
+ * 'phone_number',
127
+ * );
128
+ * ```
129
+ */
130
+ retrievePhoneNumber(phoneNumber, options) {
131
+ return this._client.get(path `/whatsapp/phone_numbers/${phoneNumber}`, options);
132
+ }
117
133
  }
118
134
  PhoneNumbers.CallingSettings = CallingSettings;
119
135
  PhoneNumbers.Profile = Profile;
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAIL,eAAe,GAEhB,+BAA2B;AAC5B,OAAO,KAAK,2BAA2B,wCAAoC;AAC3E,OAAO,EAIL,wBAAwB,GAEzB,wCAAoC;AACrC,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,OAAO,GAKR,8BAA0B;AAE3B,OAAO,EACL,qBAAqB,GAGtB,qCAAiC;AAClC,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,oBAAe,GAAuC,IAAI,kB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/E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,0BAA0B,CACxB,WAAmB,EACnB,KAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CACD,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF;AA6ID,YAAY,CAAC,eAAe,GAAG,eAAe,CAAC;AAC/C,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;AAC/B,YAAY,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
1
+ {"version":3,"file":"phone-numbers.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAIL,eAAe,GAEhB,+BAA2B;AAC5B,OAAO,KAAK,2BAA2B,wCAAoC;AAC3E,OAAO,EAIL,wBAAwB,GAEzB,wCAAoC;AACrC,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,OAAO,GAKR,8BAA0B;AAE3B,OAAO,EACL,qBAAqB,GAGtB,qCAAiC;AAClC,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,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,CAAC,IAAI,CAAC,IAAI,CAAA,8BAA8B,WAAW,SAAS,EAAE;YAC/E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,0BAA0B,CACxB,WAAmB,EACnB,KAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CACD,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,WAAmB,EACnB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AAsVD,YAAY,CAAC,eAAe,GAAG,eAAe,CAAC;AAC/C,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;AAC/B,YAAY,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
@@ -6,7 +6,7 @@ import { UserData, UserDataRetrieveResponse, UserDataUpdateParams, UserDataUpdat
6
6
  import * as BusinessAccountsAPI from "./business-accounts/business-accounts.mjs";
7
7
  import { BusinessAccountListParams, BusinessAccountListResponse, BusinessAccountListResponsesDefaultFlatPagination, BusinessAccountRetrieveResponse, BusinessAccounts } from "./business-accounts/business-accounts.mjs";
8
8
  import * as PhoneNumbersAPI from "./phone-numbers/phone-numbers.mjs";
9
- import { PhoneNumberGetParams, PhoneNumberGetResponse, PhoneNumberListParams, PhoneNumberListResponse, PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberResendVerificationParams, PhoneNumberRetrieveConversationWindowParams, PhoneNumberRetrieveConversationWindowResponse, PhoneNumberVerifyParams, PhoneNumbers } from "./phone-numbers/phone-numbers.mjs";
9
+ import { PhoneNumberGetParams, PhoneNumberGetResponse, PhoneNumberListParams, PhoneNumberListResponse, PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberResendVerificationParams, PhoneNumberRetrieveConversationWindowParams, PhoneNumberRetrieveConversationWindowResponse, PhoneNumberRetrievePhoneNumberResponse, PhoneNumberVerifyParams, PhoneNumbers } from "./phone-numbers/phone-numbers.mjs";
10
10
  export declare class Whatsapp extends APIResource {
11
11
  businessAccounts: BusinessAccountsAPI.BusinessAccounts;
12
12
  templates: TemplatesAPI.Templates;
@@ -16,7 +16,7 @@ export declare class Whatsapp extends APIResource {
16
16
  export declare namespace Whatsapp {
17
17
  export { BusinessAccounts as BusinessAccounts, type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse, type BusinessAccountListResponse as BusinessAccountListResponse, type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination, type BusinessAccountListParams as BusinessAccountListParams, };
18
18
  export { Templates as Templates, type WhatsappTemplateBodyComponent as WhatsappTemplateBodyComponent, type WhatsappTemplateButtonsComponent as WhatsappTemplateButtonsComponent, type WhatsappTemplateCarouselComponent as WhatsappTemplateCarouselComponent, type WhatsappTemplateFooterComponent as WhatsappTemplateFooterComponent, type WhatsappTemplateHeaderComponent as WhatsappTemplateHeaderComponent, type TemplateCreateResponse as TemplateCreateResponse, type TemplateListParams as TemplateListParams, type TemplateCreateParams as TemplateCreateParams, };
19
- export { PhoneNumbers as PhoneNumbers, 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, };
19
+ export { PhoneNumbers as PhoneNumbers, 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, };
20
20
  export { UserData as UserData, type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
21
21
  }
22
22
  //# sourceMappingURL=whatsapp.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"whatsapp.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,6BAA6B,EAC7B,gCAAgC,EAChC,iCAAiC,EACjC,+BAA+B,EAC/B,+BAA+B,EAChC,wBAAoB;AACrB,OAAO,KAAK,WAAW,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,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -6,7 +6,7 @@ import { UserData, UserDataRetrieveResponse, UserDataUpdateParams, UserDataUpdat
6
6
  import * as BusinessAccountsAPI from "./business-accounts/business-accounts.js";
7
7
  import { BusinessAccountListParams, BusinessAccountListResponse, BusinessAccountListResponsesDefaultFlatPagination, BusinessAccountRetrieveResponse, BusinessAccounts } from "./business-accounts/business-accounts.js";
8
8
  import * as PhoneNumbersAPI from "./phone-numbers/phone-numbers.js";
9
- import { PhoneNumberGetParams, PhoneNumberGetResponse, PhoneNumberListParams, PhoneNumberListResponse, PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberResendVerificationParams, PhoneNumberRetrieveConversationWindowParams, PhoneNumberRetrieveConversationWindowResponse, PhoneNumberVerifyParams, PhoneNumbers } from "./phone-numbers/phone-numbers.js";
9
+ import { PhoneNumberGetParams, PhoneNumberGetResponse, PhoneNumberListParams, PhoneNumberListResponse, PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberResendVerificationParams, PhoneNumberRetrieveConversationWindowParams, PhoneNumberRetrieveConversationWindowResponse, PhoneNumberRetrievePhoneNumberResponse, PhoneNumberVerifyParams, PhoneNumbers } from "./phone-numbers/phone-numbers.js";
10
10
  export declare class Whatsapp extends APIResource {
11
11
  businessAccounts: BusinessAccountsAPI.BusinessAccounts;
12
12
  templates: TemplatesAPI.Templates;
@@ -16,7 +16,7 @@ export declare class Whatsapp extends APIResource {
16
16
  export declare namespace Whatsapp {
17
17
  export { BusinessAccounts as BusinessAccounts, type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse, type BusinessAccountListResponse as BusinessAccountListResponse, type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination, type BusinessAccountListParams as BusinessAccountListParams, };
18
18
  export { Templates as Templates, type WhatsappTemplateBodyComponent as WhatsappTemplateBodyComponent, type WhatsappTemplateButtonsComponent as WhatsappTemplateButtonsComponent, type WhatsappTemplateCarouselComponent as WhatsappTemplateCarouselComponent, type WhatsappTemplateFooterComponent as WhatsappTemplateFooterComponent, type WhatsappTemplateHeaderComponent as WhatsappTemplateHeaderComponent, type TemplateCreateResponse as TemplateCreateResponse, type TemplateListParams as TemplateListParams, type TemplateCreateParams as TemplateCreateParams, };
19
- export { PhoneNumbers as PhoneNumbers, 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, };
19
+ export { PhoneNumbers as PhoneNumbers, 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, };
20
20
  export { UserData as UserData, type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
21
21
  }
22
22
  //# sourceMappingURL=whatsapp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"whatsapp.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,YAAY,uBAAoB;AAC5C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,6BAA6B,EAC7B,gCAAgC,EAChC,iCAAiC,EACjC,+BAA+B,EAC/B,+BAA+B,EAChC,uBAAoB;AACrB,OAAO,KAAK,WAAW,uBAAoB;AAC3C,OAAO,EACL,QAAQ,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EACjB,uBAAoB;AACrB,OAAO,KAAK,mBAAmB,iDAA8C;AAC7E,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,iDAAiD,EACjD,+BAA+B,EAC/B,gBAAgB,EACjB,iDAA8C;AAC/C,OAAO,KAAK,eAAe,yCAAsC;AACjE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,6CAA6C,EAC7C,mCAAmC,EACnC,2CAA2C,EAC3C,6CAA6C,EAC7C,uBAAuB,EACvB,YAAY,EACb,yCAAsC;AAEvC,qBAAa,QAAS,SAAQ,WAAW;IACvC,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IACF,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;CACzE;AAOD,MAAM,CAAC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C,QAAQ,GAAG,oBAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"whatsapp.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAIL,SAAS,GAMV,wBAAoB;AACrB,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EAKL,gBAAgB,GACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EAUL,YAAY,GACb,0CAAsC;AAEvC,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAED,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAC7C,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;AAC/B,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"whatsapp.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAIL,SAAS,GAMV,wBAAoB;AACrB,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EAKL,gBAAgB,GACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EAWL,YAAY,GACb,0CAAsC;AAEvC,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAED,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAC7C,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;AAC/B,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,226 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as PaymentsAPI from "./payments.mjs";
3
+ import { PaymentListParams, PaymentRetrieveResponse, Payments, X402TransactionRecord, X402TransactionRecordsDefaultFlatPagination } from "./payments.mjs";
4
+ import { APIPromise } from "../../../core/api-promise.mjs";
5
+ import { RequestOptions } from "../../../internal/request-options.mjs";
6
+ /**
7
+ * Operations for x402 cryptocurrency payment transactions. Fund your Telnyx account using USDC stablecoin payments via the x402 protocol.
8
+ */
9
+ export declare class CreditAccount extends APIResource {
10
+ payments: PaymentsAPI.Payments;
11
+ /**
12
+ * Settles an x402 payment using the quote ID and a signed payment authorization.
13
+ * The payment signature can be provided via the `PAYMENT-SIGNATURE` header or the
14
+ * `payment_signature` body parameter. Settlement is idempotent — submitting the
15
+ * same quote ID multiple times returns the existing transaction.
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * const response = await client.x402.creditAccount.settle({
20
+ * id: 'quote_abc123',
21
+ * payment_signature: '0xabc123...',
22
+ * });
23
+ * ```
24
+ */
25
+ settle(params: CreditAccountSettleParams, options?: RequestOptions): APIPromise<CreditAccountSettleResponse>;
26
+ /**
27
+ * Creates a payment quote for the specified USD amount. Returns payment details
28
+ * including the x402 payment requirements, network, and expiration time. The quote
29
+ * must be settled before it expires.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const response =
34
+ * await client.x402.creditAccount.createQuote({
35
+ * amount_usd: '50.00',
36
+ * });
37
+ * ```
38
+ */
39
+ createQuote(body: CreditAccountCreateQuoteParams, options?: RequestOptions): APIPromise<CreditAccountCreateQuoteResponse>;
40
+ }
41
+ export interface CreditAccountCreateQuoteResponse {
42
+ data?: CreditAccountCreateQuoteResponse.Data;
43
+ }
44
+ export declare namespace CreditAccountCreateQuoteResponse {
45
+ interface Data {
46
+ /**
47
+ * Unique quote identifier. Use this to settle the payment.
48
+ */
49
+ id?: string;
50
+ /**
51
+ * The equivalent amount in the payment cryptocurrency's smallest unit (e.g. USDC
52
+ * has 6 decimals, so $50.00 = "50000000").
53
+ */
54
+ amount_crypto?: string;
55
+ /**
56
+ * The quoted amount in USD.
57
+ */
58
+ amount_usd?: string;
59
+ /**
60
+ * ISO 8601 timestamp when the quote expires.
61
+ */
62
+ expires_at?: string;
63
+ /**
64
+ * The blockchain network for the payment in CAIP-2 format (e.g. eip155:8453 for
65
+ * Base).
66
+ */
67
+ network?: string;
68
+ /**
69
+ * x402 protocol v2 payment requirements. Contains all information needed to
70
+ * construct and sign a payment authorization.
71
+ */
72
+ payment_requirements?: Data.PaymentRequirements;
73
+ record_type?: 'quote';
74
+ }
75
+ namespace Data {
76
+ /**
77
+ * x402 protocol v2 payment requirements. Contains all information needed to
78
+ * construct and sign a payment authorization.
79
+ */
80
+ interface PaymentRequirements {
81
+ /**
82
+ * Accepted payment schemes. Currently only the `exact` EVM scheme is supported.
83
+ */
84
+ accepts?: Array<PaymentRequirements.Accept>;
85
+ /**
86
+ * The resource being paid for. Included in the payment signature.
87
+ */
88
+ resource?: PaymentRequirements.Resource;
89
+ /**
90
+ * x402 protocol version. Currently always 2.
91
+ */
92
+ x402Version?: 2;
93
+ }
94
+ namespace PaymentRequirements {
95
+ interface Accept {
96
+ /**
97
+ * Amount in the token's smallest unit.
98
+ */
99
+ amount?: string;
100
+ /**
101
+ * Token contract address (e.g. USDC on Base).
102
+ */
103
+ asset?: string;
104
+ /**
105
+ * Additional scheme-specific parameters including EIP-712 domain info and the
106
+ * facilitator URL.
107
+ */
108
+ extra?: Accept.Extra;
109
+ /**
110
+ * Maximum time in seconds before the payment authorization expires.
111
+ */
112
+ maxTimeoutSeconds?: number;
113
+ /**
114
+ * Blockchain network identifier in CAIP-2 format (e.g. "eip155:8453" for Base).
115
+ */
116
+ network?: string;
117
+ /**
118
+ * Recipient wallet address.
119
+ */
120
+ payTo?: string;
121
+ /**
122
+ * Payment scheme (e.g. "exact").
123
+ */
124
+ scheme?: string;
125
+ }
126
+ namespace Accept {
127
+ /**
128
+ * Additional scheme-specific parameters including EIP-712 domain info and the
129
+ * facilitator URL.
130
+ */
131
+ interface Extra {
132
+ facilitatorUrl?: string;
133
+ /**
134
+ * EIP-712 domain name (e.g. "USD Coin").
135
+ */
136
+ name?: string;
137
+ quoteId?: string;
138
+ /**
139
+ * EIP-712 domain version.
140
+ */
141
+ version?: string;
142
+ }
143
+ }
144
+ /**
145
+ * The resource being paid for. Included in the payment signature.
146
+ */
147
+ interface Resource {
148
+ /**
149
+ * Human-readable description of the payment.
150
+ */
151
+ description?: string;
152
+ /**
153
+ * MIME type of the resource.
154
+ */
155
+ mimeType?: string;
156
+ /**
157
+ * Canonical URL of the payment resource.
158
+ */
159
+ url?: string;
160
+ }
161
+ }
162
+ }
163
+ }
164
+ export interface CreditAccountSettleResponse {
165
+ data?: CreditAccountSettleResponse.Data;
166
+ }
167
+ export declare namespace CreditAccountSettleResponse {
168
+ interface Data {
169
+ /**
170
+ * Unique transaction identifier.
171
+ */
172
+ id?: string;
173
+ /**
174
+ * The transaction amount in the specified currency.
175
+ */
176
+ amount?: string;
177
+ /**
178
+ * ISO 8601 timestamp when the transaction was created.
179
+ */
180
+ created_at?: string;
181
+ /**
182
+ * The currency of the transaction amount (e.g. USD).
183
+ */
184
+ currency?: string;
185
+ /**
186
+ * The original quote ID associated with this transaction.
187
+ */
188
+ quote_id?: string;
189
+ record_type?: 'x402_transaction';
190
+ /**
191
+ * The settlement status of the transaction.
192
+ */
193
+ status?: 'settled';
194
+ /**
195
+ * The on-chain transaction hash, if available.
196
+ */
197
+ tx_hash?: string | null;
198
+ }
199
+ }
200
+ export interface CreditAccountSettleParams {
201
+ /**
202
+ * Body param: The quote ID to settle.
203
+ */
204
+ id: string;
205
+ /**
206
+ * Body param: Base64-encoded signed payment authorization (x402 PaymentPayload).
207
+ * Can alternatively be provided via the PAYMENT-SIGNATURE header.
208
+ */
209
+ payment_signature?: string;
210
+ /**
211
+ * Header param: Signed payment authorization for the quote. Alternative to
212
+ * providing `payment_signature` in the request body.
213
+ */
214
+ header_payment_signature?: string;
215
+ }
216
+ export interface CreditAccountCreateQuoteParams {
217
+ /**
218
+ * Amount in USD to fund (minimum 5.00, maximum 10000.00).
219
+ */
220
+ amount_usd: string;
221
+ }
222
+ export declare namespace CreditAccount {
223
+ export { type CreditAccountCreateQuoteResponse as CreditAccountCreateQuoteResponse, type CreditAccountSettleResponse as CreditAccountSettleResponse, type CreditAccountSettleParams as CreditAccountSettleParams, type CreditAccountCreateQuoteParams as CreditAccountCreateQuoteParams, };
224
+ export { Payments as Payments, type X402TransactionRecord as X402TransactionRecord, type PaymentRetrieveResponse as PaymentRetrieveResponse, type X402TransactionRecordsDefaultFlatPagination as X402TransactionRecordsDefaultFlatPagination, type PaymentListParams as PaymentListParams, };
225
+ }
226
+ //# sourceMappingURL=credit-account.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit-account.d.mts","sourceRoot":"","sources":["../../../src/resources/x402/credit-account/credit-account.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,QAAQ,EACR,qBAAqB,EACrB,2CAA2C,EAC5C,uBAAmB;AACpB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAgB1C;;;;;;;;;;;;OAYG;IACH,WAAW,CACT,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;CAGhD;AAED,MAAM,WAAW,gCAAgC;IAC/C,IAAI,CAAC,EAAE,gCAAgC,CAAC,IAAI,CAAC;CAC9C;AAED,yBAAiB,gCAAgC,CAAC;IAChD,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ;;;WAGG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;;WAGG;QACH,oBAAoB,CAAC,E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