@@ -49,307 +49,5 @@ export declare const internal: FilterApi<
4949> ;
5050
5151export declare const components : {
52- twilio : {
53- messages : {
54- create : FunctionReference <
55- "action" ,
56- "internal" ,
57- {
58- account_sid : string ;
59- auth_token : string ;
60- body : string ;
61- callback ?: string ;
62- from : string ;
63- status_callback : string ;
64- to : string ;
65- } ,
66- {
67- account_sid : string ;
68- api_version : string ;
69- body : string ;
70- counterparty ?: string ;
71- date_created : string ;
72- date_sent : string | null ;
73- date_updated : string | null ;
74- direction : string ;
75- error_code : number | null ;
76- error_message : string | null ;
77- from : string ;
78- messaging_service_sid : string | null ;
79- num_media : string ;
80- num_segments : string ;
81- price : string | null ;
82- price_unit : string | null ;
83- rest ?: any ;
84- sid : string ;
85- status : string ;
86- subresource_uris : { feedback ?: string ; media : string } | null ;
87- to : string ;
88- uri : string ;
89- }
90- > ;
91- getByCounterparty : FunctionReference <
92- "query" ,
93- "internal" ,
94- { account_sid : string ; counterparty : string ; limit ?: number } ,
95- Array < {
96- account_sid : string ;
97- api_version : string ;
98- body : string ;
99- counterparty ?: string ;
100- date_created : string ;
101- date_sent : string | null ;
102- date_updated : string | null ;
103- direction : string ;
104- error_code : number | null ;
105- error_message : string | null ;
106- from : string ;
107- messaging_service_sid : string | null ;
108- num_media : string ;
109- num_segments : string ;
110- price : string | null ;
111- price_unit : string | null ;
112- rest ?: any ;
113- sid : string ;
114- status : string ;
115- subresource_uris : { feedback ?: string ; media : string } | null ;
116- to : string ;
117- uri : string ;
118- } >
119- > ;
120- getBySid : FunctionReference <
121- "query" ,
122- "internal" ,
123- { account_sid : string ; sid : string } ,
124- {
125- account_sid : string ;
126- api_version : string ;
127- body : string ;
128- counterparty ?: string ;
129- date_created : string ;
130- date_sent : string | null ;
131- date_updated : string | null ;
132- direction : string ;
133- error_code : number | null ;
134- error_message : string | null ;
135- from : string ;
136- messaging_service_sid : string | null ;
137- num_media : string ;
138- num_segments : string ;
139- price : string | null ;
140- price_unit : string | null ;
141- rest ?: any ;
142- sid : string ;
143- status : string ;
144- subresource_uris : { feedback ?: string ; media : string } | null ;
145- to : string ;
146- uri : string ;
147- } | null
148- > ;
149- getFrom : FunctionReference <
150- "query" ,
151- "internal" ,
152- { account_sid : string ; from : string ; limit ?: number } ,
153- Array < {
154- account_sid : string ;
155- api_version : string ;
156- body : string ;
157- counterparty ?: string ;
158- date_created : string ;
159- date_sent : string | null ;
160- date_updated : string | null ;
161- direction : string ;
162- error_code : number | null ;
163- error_message : string | null ;
164- from : string ;
165- messaging_service_sid : string | null ;
166- num_media : string ;
167- num_segments : string ;
168- price : string | null ;
169- price_unit : string | null ;
170- rest ?: any ;
171- sid : string ;
172- status : string ;
173- subresource_uris : { feedback ?: string ; media : string } | null ;
174- to : string ;
175- uri : string ;
176- } >
177- > ;
178- getFromTwilioBySidAndInsert : FunctionReference <
179- "action" ,
180- "internal" ,
181- {
182- account_sid : string ;
183- auth_token : string ;
184- incomingMessageCallback ?: string ;
185- sid : string ;
186- } ,
187- {
188- account_sid : string ;
189- api_version : string ;
190- body : string ;
191- counterparty ?: string ;
192- date_created : string ;
193- date_sent : string | null ;
194- date_updated : string | null ;
195- direction : string ;
196- error_code : number | null ;
197- error_message : string | null ;
198- from : string ;
199- messaging_service_sid : string | null ;
200- num_media : string ;
201- num_segments : string ;
202- price : string | null ;
203- price_unit : string | null ;
204- rest ?: any ;
205- sid : string ;
206- status : string ;
207- subresource_uris : { feedback ?: string ; media : string } | null ;
208- to : string ;
209- uri : string ;
210- }
211- > ;
212- getTo : FunctionReference <
213- "query" ,
214- "internal" ,
215- { account_sid : string ; limit ?: number ; to : string } ,
216- Array < {
217- account_sid : string ;
218- api_version : string ;
219- body : string ;
220- counterparty ?: string ;
221- date_created : string ;
222- date_sent : string | null ;
223- date_updated : string | null ;
224- direction : string ;
225- error_code : number | null ;
226- error_message : string | null ;
227- from : string ;
228- messaging_service_sid : string | null ;
229- num_media : string ;
230- num_segments : string ;
231- price : string | null ;
232- price_unit : string | null ;
233- rest ?: any ;
234- sid : string ;
235- status : string ;
236- subresource_uris : { feedback ?: string ; media : string } | null ;
237- to : string ;
238- uri : string ;
239- } >
240- > ;
241- list : FunctionReference <
242- "query" ,
243- "internal" ,
244- { account_sid : string ; limit ?: number } ,
245- Array < {
246- account_sid : string ;
247- api_version : string ;
248- body : string ;
249- counterparty ?: string ;
250- date_created : string ;
251- date_sent : string | null ;
252- date_updated : string | null ;
253- direction : string ;
254- error_code : number | null ;
255- error_message : string | null ;
256- from : string ;
257- messaging_service_sid : string | null ;
258- num_media : string ;
259- num_segments : string ;
260- price : string | null ;
261- price_unit : string | null ;
262- rest ?: any ;
263- sid : string ;
264- status : string ;
265- subresource_uris : { feedback ?: string ; media : string } | null ;
266- to : string ;
267- uri : string ;
268- } >
269- > ;
270- listIncoming : FunctionReference <
271- "query" ,
272- "internal" ,
273- { account_sid : string ; limit ?: number } ,
274- Array < {
275- account_sid : string ;
276- api_version : string ;
277- body : string ;
278- counterparty ?: string ;
279- date_created : string ;
280- date_sent : string | null ;
281- date_updated : string | null ;
282- direction : string ;
283- error_code : number | null ;
284- error_message : string | null ;
285- from : string ;
286- messaging_service_sid : string | null ;
287- num_media : string ;
288- num_segments : string ;
289- price : string | null ;
290- price_unit : string | null ;
291- rest ?: any ;
292- sid : string ;
293- status : string ;
294- subresource_uris : { feedback ?: string ; media : string } | null ;
295- to : string ;
296- uri : string ;
297- } >
298- > ;
299- listOutgoing : FunctionReference <
300- "query" ,
301- "internal" ,
302- { account_sid : string ; limit ?: number } ,
303- Array < {
304- account_sid : string ;
305- api_version : string ;
306- body : string ;
307- counterparty ?: string ;
308- date_created : string ;
309- date_sent : string | null ;
310- date_updated : string | null ;
311- direction : string ;
312- error_code : number | null ;
313- error_message : string | null ;
314- from : string ;
315- messaging_service_sid : string | null ;
316- num_media : string ;
317- num_segments : string ;
318- price : string | null ;
319- price_unit : string | null ;
320- rest ?: any ;
321- sid : string ;
322- status : string ;
323- subresource_uris : { feedback ?: string ; media : string } | null ;
324- to : string ;
325- uri : string ;
326- } >
327- > ;
328- updateStatus : FunctionReference <
329- "mutation" ,
330- "internal" ,
331- { account_sid : string ; sid : string ; status : string } ,
332- null
333- > ;
334- } ;
335- phone_numbers : {
336- create : FunctionReference <
337- "action" ,
338- "internal" ,
339- { account_sid : string ; auth_token : string ; number : string } ,
340- any
341- > ;
342- updateSmsUrl : FunctionReference <
343- "action" ,
344- "internal" ,
345- {
346- account_sid : string ;
347- auth_token : string ;
348- sid : string ;
349- sms_url : string ;
350- } ,
351- any
352- > ;
353- } ;
354- } ;
52+ twilio : import ( "@convex-dev/twilio/_generated/component.js" ) . ComponentApi < "twilio" > ;
35553} ;
0 commit comments