Skip to main content

voip_ms/
generated.rs

1// @generated by xtask from tools/server.wsdl + tools/api-responses.json.
2// DO NOT EDIT — regenerate with `cargo xtask gen`.
3
4#![allow(clippy::too_many_arguments)]
5#![allow(non_snake_case)]
6
7use serde::Serialize;
8use serde_json::Value;
9
10use crate::client::Client;
11use crate::error::Result;
12
13/// DTMF transport mode for SIP sub-accounts.
14#[derive(Debug, Clone, PartialEq, Eq)]
15pub enum DtmfMode {
16    Auto,
17    Rfc2833,
18    Inband,
19    Info,
20    /// Any wire value this crate doesn't recognize.
21    Unknown(String),
22}
23
24impl DtmfMode {
25    /// The wire string for this variant.
26    pub fn as_wire(&self) -> &str {
27        match self {
28            DtmfMode::Auto => "auto",
29            DtmfMode::Rfc2833 => "rfc2833",
30            DtmfMode::Inband => "inband",
31            DtmfMode::Info => "info",
32            DtmfMode::Unknown(s) => s.as_str(),
33        }
34    }
35
36    /// Parse a wire string. Unknown values are preserved.
37    pub fn from_wire(s: &str) -> Self {
38        match s {
39            "auto" => DtmfMode::Auto,
40            "rfc2833" => DtmfMode::Rfc2833,
41            "inband" => DtmfMode::Inband,
42            "info" => DtmfMode::Info,
43            other => DtmfMode::Unknown(other.to_string()),
44        }
45    }
46}
47
48impl std::fmt::Display for DtmfMode {
49    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
50        f.write_str(self.as_wire())
51    }
52}
53
54impl serde::Serialize for DtmfMode {
55    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
56        s.serialize_str(self.as_wire())
57    }
58}
59
60impl<'de> serde::Deserialize<'de> for DtmfMode {
61    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
62        let s = <String as serde::Deserialize>::deserialize(d)?;
63        Ok(DtmfMode::from_wire(&s))
64    }
65}
66
67pub(crate) fn deserialize_opt_dtmf_mode<'de, D>(
68    d: D,
69) -> std::result::Result<Option<DtmfMode>, D::Error>
70where
71    D: serde::Deserializer<'de>,
72{
73    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
74    Ok(opt.and_then(|s| {
75        let t = s.trim();
76        if t.is_empty() {
77            None
78        } else {
79            Some(DtmfMode::from_wire(t))
80        }
81    }))
82}
83
84/// Voicemail email attachment format.
85#[derive(Debug, Clone, PartialEq, Eq)]
86pub enum EmailAttachmentFormat {
87    /// GSM-compressed WAV.
88    Wav49,
89    Wav,
90    Mp3,
91    /// Do not attach audio.
92    No,
93    /// Any wire value this crate doesn't recognize.
94    Unknown(String),
95}
96
97impl EmailAttachmentFormat {
98    /// The wire string for this variant.
99    pub fn as_wire(&self) -> &str {
100        match self {
101            EmailAttachmentFormat::Wav49 => "wav49",
102            EmailAttachmentFormat::Wav => "wav",
103            EmailAttachmentFormat::Mp3 => "mp3",
104            EmailAttachmentFormat::No => "no",
105            EmailAttachmentFormat::Unknown(s) => s.as_str(),
106        }
107    }
108
109    /// Parse a wire string. Unknown values are preserved.
110    pub fn from_wire(s: &str) -> Self {
111        match s {
112            "wav49" => EmailAttachmentFormat::Wav49,
113            "wav" => EmailAttachmentFormat::Wav,
114            "mp3" => EmailAttachmentFormat::Mp3,
115            "no" => EmailAttachmentFormat::No,
116            other => EmailAttachmentFormat::Unknown(other.to_string()),
117        }
118    }
119}
120
121impl std::fmt::Display for EmailAttachmentFormat {
122    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
123        f.write_str(self.as_wire())
124    }
125}
126
127impl serde::Serialize for EmailAttachmentFormat {
128    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
129        s.serialize_str(self.as_wire())
130    }
131}
132
133impl<'de> serde::Deserialize<'de> for EmailAttachmentFormat {
134    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
135        let s = <String as serde::Deserialize>::deserialize(d)?;
136        Ok(EmailAttachmentFormat::from_wire(&s))
137    }
138}
139
140pub(crate) fn deserialize_opt_email_attachment_format<'de, D>(
141    d: D,
142) -> std::result::Result<Option<EmailAttachmentFormat>, D::Error>
143where
144    D: serde::Deserializer<'de>,
145{
146    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
147    Ok(opt.and_then(|s| {
148        let t = s.trim();
149        if t.is_empty() {
150            None
151        } else {
152            Some(EmailAttachmentFormat::from_wire(t))
153        }
154    }))
155}
156
157/// Asterisk NAT handling mode.
158#[derive(Debug, Clone, PartialEq, Eq)]
159pub enum Nat {
160    Yes,
161    No,
162    Route,
163    Never,
164    /// Any wire value this crate doesn't recognize.
165    Unknown(String),
166}
167
168impl Nat {
169    /// The wire string for this variant.
170    pub fn as_wire(&self) -> &str {
171        match self {
172            Nat::Yes => "yes",
173            Nat::No => "no",
174            Nat::Route => "route",
175            Nat::Never => "never",
176            Nat::Unknown(s) => s.as_str(),
177        }
178    }
179
180    /// Parse a wire string. Unknown values are preserved.
181    pub fn from_wire(s: &str) -> Self {
182        match s {
183            "yes" => Nat::Yes,
184            "no" => Nat::No,
185            "route" => Nat::Route,
186            "never" => Nat::Never,
187            other => Nat::Unknown(other.to_string()),
188        }
189    }
190}
191
192impl std::fmt::Display for Nat {
193    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
194        f.write_str(self.as_wire())
195    }
196}
197
198impl serde::Serialize for Nat {
199    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
200        s.serialize_str(self.as_wire())
201    }
202}
203
204impl<'de> serde::Deserialize<'de> for Nat {
205    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
206        let s = <String as serde::Deserialize>::deserialize(d)?;
207        Ok(Nat::from_wire(&s))
208    }
209}
210
211pub(crate) fn deserialize_opt_nat<'de, D>(d: D) -> std::result::Result<Option<Nat>, D::Error>
212where
213    D: serde::Deserializer<'de>,
214{
215    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
216    Ok(opt.and_then(|s| {
217        let t = s.trim();
218        if t.is_empty() {
219            None
220        } else {
221            Some(Nat::from_wire(t))
222        }
223    }))
224}
225
226/// Voicemail playback instruction mode.
227#[derive(Debug, Clone, PartialEq, Eq)]
228pub enum PlayInstructions {
229    /// Skip instructions on unread messages.
230    SkipUnread,
231    /// Read full instructions for unread messages.
232    Unread,
233    /// Don't say instructions.
234    DontSay,
235    /// Any wire value this crate doesn't recognize.
236    Unknown(String),
237}
238
239impl PlayInstructions {
240    /// The wire string for this variant.
241    pub fn as_wire(&self) -> &str {
242        match self {
243            PlayInstructions::SkipUnread => "su",
244            PlayInstructions::Unread => "u",
245            PlayInstructions::DontSay => "du",
246            PlayInstructions::Unknown(s) => s.as_str(),
247        }
248    }
249
250    /// Parse a wire string. Unknown values are preserved.
251    pub fn from_wire(s: &str) -> Self {
252        match s {
253            "su" => PlayInstructions::SkipUnread,
254            "u" => PlayInstructions::Unread,
255            "du" => PlayInstructions::DontSay,
256            other => PlayInstructions::Unknown(other.to_string()),
257        }
258    }
259}
260
261impl std::fmt::Display for PlayInstructions {
262    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
263        f.write_str(self.as_wire())
264    }
265}
266
267impl serde::Serialize for PlayInstructions {
268    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
269        s.serialize_str(self.as_wire())
270    }
271}
272
273impl<'de> serde::Deserialize<'de> for PlayInstructions {
274    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
275        let s = <String as serde::Deserialize>::deserialize(d)?;
276        Ok(PlayInstructions::from_wire(&s))
277    }
278}
279
280pub(crate) fn deserialize_opt_play_instructions<'de, D>(
281    d: D,
282) -> std::result::Result<Option<PlayInstructions>, D::Error>
283where
284    D: serde::Deserializer<'de>,
285{
286    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
287    Ok(opt.and_then(|s| {
288        let t = s.trim();
289        if t.is_empty() {
290            None
291        } else {
292            Some(PlayInstructions::from_wire(t))
293        }
294    }))
295}
296
297/// Order in which ring-group members are attempted.
298#[derive(Debug, Clone, PartialEq, Eq)]
299pub enum RingGroupOrder {
300    /// Try members in declared order.
301    Follow,
302    Random,
303    /// Any wire value this crate doesn't recognize.
304    Unknown(String),
305}
306
307impl RingGroupOrder {
308    /// The wire string for this variant.
309    pub fn as_wire(&self) -> &str {
310        match self {
311            RingGroupOrder::Follow => "follow",
312            RingGroupOrder::Random => "random",
313            RingGroupOrder::Unknown(s) => s.as_str(),
314        }
315    }
316
317    /// Parse a wire string. Unknown values are preserved.
318    pub fn from_wire(s: &str) -> Self {
319        match s {
320            "follow" => RingGroupOrder::Follow,
321            "random" => RingGroupOrder::Random,
322            other => RingGroupOrder::Unknown(other.to_string()),
323        }
324    }
325}
326
327impl std::fmt::Display for RingGroupOrder {
328    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
329        f.write_str(self.as_wire())
330    }
331}
332
333impl serde::Serialize for RingGroupOrder {
334    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
335        s.serialize_str(self.as_wire())
336    }
337}
338
339impl<'de> serde::Deserialize<'de> for RingGroupOrder {
340    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
341        let s = <String as serde::Deserialize>::deserialize(d)?;
342        Ok(RingGroupOrder::from_wire(&s))
343    }
344}
345
346pub(crate) fn deserialize_opt_ring_group_order<'de, D>(
347    d: D,
348) -> std::result::Result<Option<RingGroupOrder>, D::Error>
349where
350    D: serde::Deserializer<'de>,
351{
352    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
353    Ok(opt.and_then(|s| {
354        let t = s.trim();
355        if t.is_empty() {
356            None
357        } else {
358            Some(RingGroupOrder::from_wire(t))
359        }
360    }))
361}
362
363/// Queue ring strategy. Mirrors Asterisk's queue strategy options.
364#[derive(Debug, Clone, PartialEq, Eq)]
365pub enum RingStrategy {
366    RingAll,
367    LeastRecent,
368    FewestCalls,
369    Random,
370    RrMemory,
371    Linear,
372    WRandom,
373    /// Any wire value this crate doesn't recognize.
374    Unknown(String),
375}
376
377impl RingStrategy {
378    /// The wire string for this variant.
379    pub fn as_wire(&self) -> &str {
380        match self {
381            RingStrategy::RingAll => "ringall",
382            RingStrategy::LeastRecent => "leastrecent",
383            RingStrategy::FewestCalls => "fewestcalls",
384            RingStrategy::Random => "random",
385            RingStrategy::RrMemory => "rrmemory",
386            RingStrategy::Linear => "linear",
387            RingStrategy::WRandom => "wrandom",
388            RingStrategy::Unknown(s) => s.as_str(),
389        }
390    }
391
392    /// Parse a wire string. Unknown values are preserved.
393    pub fn from_wire(s: &str) -> Self {
394        match s {
395            "ringall" => RingStrategy::RingAll,
396            "leastrecent" => RingStrategy::LeastRecent,
397            "fewestcalls" => RingStrategy::FewestCalls,
398            "random" => RingStrategy::Random,
399            "rrmemory" => RingStrategy::RrMemory,
400            "linear" => RingStrategy::Linear,
401            "wrandom" => RingStrategy::WRandom,
402            other => RingStrategy::Unknown(other.to_string()),
403        }
404    }
405}
406
407impl std::fmt::Display for RingStrategy {
408    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
409        f.write_str(self.as_wire())
410    }
411}
412
413impl serde::Serialize for RingStrategy {
414    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
415        s.serialize_str(self.as_wire())
416    }
417}
418
419impl<'de> serde::Deserialize<'de> for RingStrategy {
420    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
421        let s = <String as serde::Deserialize>::deserialize(d)?;
422        Ok(RingStrategy::from_wire(&s))
423    }
424}
425
426pub(crate) fn deserialize_opt_ring_strategy<'de, D>(
427    d: D,
428) -> std::result::Result<Option<RingStrategy>, D::Error>
429where
430    D: serde::Deserializer<'de>,
431{
432    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
433    Ok(opt.and_then(|s| {
434        let t = s.trim();
435        if t.is_empty() {
436            None
437        } else {
438            Some(RingStrategy::from_wire(t))
439        }
440    }))
441}
442
443/// Voicemail transcription output format.
444#[derive(Debug, Clone, PartialEq, Eq)]
445pub enum TranscriptionFormat {
446    Text,
447    Html,
448    /// Any wire value this crate doesn't recognize.
449    Unknown(String),
450}
451
452impl TranscriptionFormat {
453    /// The wire string for this variant.
454    pub fn as_wire(&self) -> &str {
455        match self {
456            TranscriptionFormat::Text => "text",
457            TranscriptionFormat::Html => "html",
458            TranscriptionFormat::Unknown(s) => s.as_str(),
459        }
460    }
461
462    /// Parse a wire string. Unknown values are preserved.
463    pub fn from_wire(s: &str) -> Self {
464        match s {
465            "text" => TranscriptionFormat::Text,
466            "html" => TranscriptionFormat::Html,
467            other => TranscriptionFormat::Unknown(other.to_string()),
468        }
469    }
470}
471
472impl std::fmt::Display for TranscriptionFormat {
473    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
474        f.write_str(self.as_wire())
475    }
476}
477
478impl serde::Serialize for TranscriptionFormat {
479    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
480        s.serialize_str(self.as_wire())
481    }
482}
483
484impl<'de> serde::Deserialize<'de> for TranscriptionFormat {
485    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
486        let s = <String as serde::Deserialize>::deserialize(d)?;
487        Ok(TranscriptionFormat::from_wire(&s))
488    }
489}
490
491pub(crate) fn deserialize_opt_transcription_format<'de, D>(
492    d: D,
493) -> std::result::Result<Option<TranscriptionFormat>, D::Error>
494where
495    D: serde::Deserializer<'de>,
496{
497    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
498    Ok(opt.and_then(|s| {
499        let t = s.trim();
500        if t.is_empty() {
501            None
502        } else {
503            Some(TranscriptionFormat::from_wire(t))
504        }
505    }))
506}
507
508/// Voicemail message folder.
509#[derive(Debug, Clone, PartialEq, Eq)]
510pub enum VoicemailFolder {
511    Inbox,
512    Old,
513    Urgent,
514    Family,
515    Friends,
516    Work,
517    /// Any wire value this crate doesn't recognize.
518    Unknown(String),
519}
520
521impl VoicemailFolder {
522    /// The wire string for this variant.
523    pub fn as_wire(&self) -> &str {
524        match self {
525            VoicemailFolder::Inbox => "INBOX",
526            VoicemailFolder::Old => "Old",
527            VoicemailFolder::Urgent => "Urgent",
528            VoicemailFolder::Family => "Family",
529            VoicemailFolder::Friends => "Friends",
530            VoicemailFolder::Work => "Work",
531            VoicemailFolder::Unknown(s) => s.as_str(),
532        }
533    }
534
535    /// Parse a wire string. Unknown values are preserved.
536    pub fn from_wire(s: &str) -> Self {
537        match s {
538            "INBOX" => VoicemailFolder::Inbox,
539            "Old" => VoicemailFolder::Old,
540            "Urgent" => VoicemailFolder::Urgent,
541            "Family" => VoicemailFolder::Family,
542            "Friends" => VoicemailFolder::Friends,
543            "Work" => VoicemailFolder::Work,
544            other => VoicemailFolder::Unknown(other.to_string()),
545        }
546    }
547}
548
549impl std::fmt::Display for VoicemailFolder {
550    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
551        f.write_str(self.as_wire())
552    }
553}
554
555impl serde::Serialize for VoicemailFolder {
556    fn serialize<S: serde::Serializer>(&self, s: S) -> std::result::Result<S::Ok, S::Error> {
557        s.serialize_str(self.as_wire())
558    }
559}
560
561impl<'de> serde::Deserialize<'de> for VoicemailFolder {
562    fn deserialize<D: serde::Deserializer<'de>>(d: D) -> std::result::Result<Self, D::Error> {
563        let s = <String as serde::Deserialize>::deserialize(d)?;
564        Ok(VoicemailFolder::from_wire(&s))
565    }
566}
567
568pub(crate) fn deserialize_opt_voicemail_folder<'de, D>(
569    d: D,
570) -> std::result::Result<Option<VoicemailFolder>, D::Error>
571where
572    D: serde::Deserializer<'de>,
573{
574    let opt = <Option<String> as serde::Deserialize>::deserialize(d)?;
575    Ok(opt.and_then(|s| {
576        let t = s.trim();
577        if t.is_empty() {
578            None
579        } else {
580            Some(VoicemailFolder::from_wire(t))
581        }
582    }))
583}
584
585/// Parameters for [`Client::add_charge`] (wire method `addCharge`).
586#[derive(Debug, Default, Clone, Serialize)]
587pub struct AddChargeParams {
588    #[serde(skip_serializing_if = "Option::is_none")]
589    pub client: Option<i64>,
590    #[serde(skip_serializing_if = "Option::is_none")]
591    pub charge: Option<f64>,
592    #[serde(skip_serializing_if = "Option::is_none")]
593    pub description: Option<String>,
594    #[serde(skip_serializing_if = "Option::is_none")]
595    pub test: Option<bool>,
596}
597
598/// Parameters for [`Client::add_lnp_file`] (wire method `addLNPFile`).
599#[derive(Debug, Default, Clone, Serialize)]
600pub struct AddLNPFileParams {
601    #[serde(skip_serializing_if = "Option::is_none")]
602    pub portid: Option<i64>,
603    #[serde(skip_serializing_if = "Option::is_none")]
604    pub file: Option<String>,
605}
606
607/// Parameters for [`Client::add_lnp_port`] (wire method `addLNPPort`).
608#[derive(Debug, Default, Clone, Serialize)]
609pub struct AddLNPPortParams {
610    #[serde(skip_serializing_if = "Option::is_none")]
611    pub portType: Option<i64>,
612    #[serde(skip_serializing_if = "Option::is_none")]
613    pub numbers: Option<String>,
614    #[serde(skip_serializing_if = "Option::is_none")]
615    pub isPartial: Option<i64>,
616    #[serde(skip_serializing_if = "Option::is_none")]
617    pub locationType: Option<i64>,
618    #[serde(skip_serializing_if = "Option::is_none")]
619    pub isMobile: Option<i64>,
620    #[serde(skip_serializing_if = "Option::is_none")]
621    pub pin: Option<String>,
622    #[serde(skip_serializing_if = "Option::is_none")]
623    pub btn: Option<String>,
624    #[serde(skip_serializing_if = "Option::is_none")]
625    pub services: Option<String>,
626    #[serde(skip_serializing_if = "Option::is_none")]
627    pub tfType: Option<i64>,
628    #[serde(skip_serializing_if = "Option::is_none")]
629    pub statementName: Option<String>,
630    #[serde(skip_serializing_if = "Option::is_none")]
631    pub firstName: Option<String>,
632    #[serde(skip_serializing_if = "Option::is_none")]
633    pub lastName: Option<String>,
634    #[serde(skip_serializing_if = "Option::is_none")]
635    pub address1: Option<String>,
636    #[serde(skip_serializing_if = "Option::is_none")]
637    pub address2: Option<String>,
638    #[serde(skip_serializing_if = "Option::is_none")]
639    pub city: Option<String>,
640    #[serde(skip_serializing_if = "Option::is_none")]
641    pub zip: Option<String>,
642    #[serde(skip_serializing_if = "Option::is_none")]
643    pub state: Option<String>,
644    #[serde(skip_serializing_if = "Option::is_none")]
645    pub country: Option<String>,
646    #[serde(skip_serializing_if = "Option::is_none")]
647    pub providerName: Option<String>,
648    #[serde(skip_serializing_if = "Option::is_none")]
649    pub providerAccount: Option<String>,
650    #[serde(skip_serializing_if = "Option::is_none")]
651    pub notes: Option<String>,
652}
653
654/// Parameters for [`Client::add_member_to_conference`] (wire method `addMemberToConference`).
655#[derive(Debug, Default, Clone, Serialize)]
656pub struct AddMemberToConferenceParams {
657    #[serde(skip_serializing_if = "Option::is_none")]
658    pub member: Option<i64>,
659    #[serde(skip_serializing_if = "Option::is_none")]
660    pub conference: Option<i64>,
661}
662
663/// Parameters for [`Client::add_payment`] (wire method `addPayment`).
664#[derive(Debug, Default, Clone, Serialize)]
665pub struct AddPaymentParams {
666    #[serde(skip_serializing_if = "Option::is_none")]
667    pub client: Option<i64>,
668    #[serde(skip_serializing_if = "Option::is_none")]
669    pub payment: Option<f64>,
670    #[serde(skip_serializing_if = "Option::is_none")]
671    pub description: Option<String>,
672    #[serde(skip_serializing_if = "Option::is_none")]
673    pub test: Option<bool>,
674}
675
676/// Parameters for [`Client::assign_did_vpri`] (wire method `assignDIDvPRI`).
677#[derive(Debug, Default, Clone, Serialize)]
678pub struct AssignDIDvPRIParams {
679    #[serde(skip_serializing_if = "Option::is_none")]
680    pub vpri: Option<i64>,
681    #[serde(skip_serializing_if = "Option::is_none")]
682    pub did: Option<String>,
683}
684
685/// Parameters for [`Client::back_order_did_can`] (wire method `backOrderDIDCAN`).
686#[derive(Debug, Default, Clone, Serialize)]
687pub struct BackOrderDIDCANParams {
688    #[serde(skip_serializing_if = "Option::is_none")]
689    pub quantity: Option<i64>,
690    #[serde(skip_serializing_if = "Option::is_none")]
691    pub province: Option<String>,
692    #[serde(skip_serializing_if = "Option::is_none")]
693    pub ratecenter: Option<String>,
694    #[serde(skip_serializing_if = "Option::is_none")]
695    pub routing: Option<crate::Routing>,
696    #[serde(skip_serializing_if = "Option::is_none")]
697    pub failover_busy: Option<crate::Routing>,
698    #[serde(skip_serializing_if = "Option::is_none")]
699    pub failover_unreachable: Option<crate::Routing>,
700    #[serde(skip_serializing_if = "Option::is_none")]
701    pub failover_noanswer: Option<crate::Routing>,
702    #[serde(skip_serializing_if = "Option::is_none")]
703    pub voicemail: Option<String>,
704    #[serde(skip_serializing_if = "Option::is_none")]
705    pub pop: Option<i64>,
706    #[serde(skip_serializing_if = "Option::is_none")]
707    pub dialtime: Option<i64>,
708    #[serde(skip_serializing_if = "Option::is_none")]
709    pub cnam: Option<i64>,
710    #[serde(skip_serializing_if = "Option::is_none")]
711    pub callerid_prefix: Option<String>,
712    #[serde(skip_serializing_if = "Option::is_none")]
713    pub note: Option<String>,
714    #[serde(skip_serializing_if = "Option::is_none")]
715    pub billing_type: Option<i64>,
716    #[serde(skip_serializing_if = "Option::is_none")]
717    pub test: Option<bool>,
718}
719
720/// Parameters for [`Client::back_order_did_usa`] (wire method `backOrderDIDUSA`).
721#[derive(Debug, Default, Clone, Serialize)]
722pub struct BackOrderDIDUSAParams {
723    #[serde(skip_serializing_if = "Option::is_none")]
724    pub quantity: Option<i64>,
725    #[serde(skip_serializing_if = "Option::is_none")]
726    pub state: Option<String>,
727    #[serde(skip_serializing_if = "Option::is_none")]
728    pub ratecenter: Option<String>,
729    #[serde(skip_serializing_if = "Option::is_none")]
730    pub routing: Option<crate::Routing>,
731    #[serde(skip_serializing_if = "Option::is_none")]
732    pub failover_busy: Option<crate::Routing>,
733    #[serde(skip_serializing_if = "Option::is_none")]
734    pub failover_unreachable: Option<crate::Routing>,
735    #[serde(skip_serializing_if = "Option::is_none")]
736    pub failover_noanswer: Option<crate::Routing>,
737    #[serde(skip_serializing_if = "Option::is_none")]
738    pub voicemail: Option<String>,
739    #[serde(skip_serializing_if = "Option::is_none")]
740    pub pop: Option<i64>,
741    #[serde(skip_serializing_if = "Option::is_none")]
742    pub dialtime: Option<i64>,
743    #[serde(skip_serializing_if = "Option::is_none")]
744    pub cnam: Option<i64>,
745    #[serde(skip_serializing_if = "Option::is_none")]
746    pub callerid_prefix: Option<String>,
747    #[serde(skip_serializing_if = "Option::is_none")]
748    pub note: Option<String>,
749    #[serde(skip_serializing_if = "Option::is_none")]
750    pub billing_type: Option<i64>,
751    #[serde(skip_serializing_if = "Option::is_none")]
752    pub test: Option<bool>,
753}
754
755/// Parameters for [`Client::cancel_did`] (wire method `cancelDID`).
756#[derive(Debug, Default, Clone, Serialize)]
757pub struct CancelDIDParams {
758    #[serde(skip_serializing_if = "Option::is_none")]
759    pub did: Option<String>,
760    #[serde(skip_serializing_if = "Option::is_none")]
761    pub cancelcomment: Option<String>,
762    #[serde(skip_serializing_if = "Option::is_none")]
763    pub portout: Option<bool>,
764    #[serde(skip_serializing_if = "Option::is_none")]
765    pub test: Option<bool>,
766}
767
768/// Parameters for [`Client::cancel_fax_number`] (wire method `cancelFaxNumber`).
769#[derive(Debug, Default, Clone, Serialize)]
770pub struct CancelFAXNumberParams {
771    #[serde(skip_serializing_if = "Option::is_none")]
772    pub id: Option<i64>,
773    #[serde(skip_serializing_if = "Option::is_none")]
774    pub test: Option<i64>,
775}
776
777/// Parameters for [`Client::connect_did`] (wire method `connectDID`).
778#[derive(Debug, Default, Clone, Serialize)]
779pub struct ConnectDIDParams {
780    #[serde(skip_serializing_if = "Option::is_none")]
781    pub did: Option<String>,
782    #[serde(skip_serializing_if = "Option::is_none")]
783    pub account: Option<String>,
784    #[serde(skip_serializing_if = "Option::is_none")]
785    pub monthly: Option<f64>,
786    #[serde(skip_serializing_if = "Option::is_none")]
787    pub setup: Option<f64>,
788    #[serde(skip_serializing_if = "Option::is_none")]
789    pub minute: Option<f64>,
790    #[serde(skip_serializing_if = "Option::is_none")]
791    pub next_billing: Option<String>,
792    #[serde(skip_serializing_if = "Option::is_none")]
793    pub dont_charge_setup: Option<f64>,
794    #[serde(skip_serializing_if = "Option::is_none")]
795    pub dont_charge_monthly: Option<f64>,
796}
797
798/// Parameters for [`Client::connect_fax`] (wire method `connectFAX`).
799#[derive(Debug, Default, Clone, Serialize)]
800pub struct ConnectFAXParams {
801    #[serde(skip_serializing_if = "Option::is_none")]
802    pub did: Option<String>,
803    #[serde(skip_serializing_if = "Option::is_none")]
804    pub account: Option<String>,
805    #[serde(skip_serializing_if = "Option::is_none")]
806    pub monthly: Option<f64>,
807    #[serde(skip_serializing_if = "Option::is_none")]
808    pub setup: Option<f64>,
809    #[serde(skip_serializing_if = "Option::is_none")]
810    pub minute: Option<f64>,
811    #[serde(skip_serializing_if = "Option::is_none")]
812    pub next_billing: Option<String>,
813    #[serde(skip_serializing_if = "Option::is_none")]
814    pub dont_charge_setup: Option<f64>,
815    #[serde(skip_serializing_if = "Option::is_none")]
816    pub dont_charge_monthly: Option<f64>,
817}
818
819/// Parameters for [`Client::create_sub_account`] (wire method `createSubAccount`).
820#[derive(Debug, Default, Clone, Serialize)]
821pub struct CreateSubAccountParams {
822    #[serde(skip_serializing_if = "Option::is_none")]
823    pub username: Option<String>,
824    #[serde(skip_serializing_if = "Option::is_none")]
825    pub protocol: Option<i64>,
826    #[serde(skip_serializing_if = "Option::is_none")]
827    pub description: Option<String>,
828    #[serde(skip_serializing_if = "Option::is_none")]
829    pub auth_type: Option<i64>,
830    #[serde(skip_serializing_if = "Option::is_none")]
831    pub password: Option<String>,
832    #[serde(skip_serializing_if = "Option::is_none")]
833    pub ip: Option<String>,
834    #[serde(skip_serializing_if = "Option::is_none")]
835    pub device_type: Option<i64>,
836    #[serde(skip_serializing_if = "Option::is_none")]
837    pub callerid_number: Option<String>,
838    #[serde(skip_serializing_if = "Option::is_none")]
839    pub canada_routing: Option<String>,
840    #[serde(skip_serializing_if = "Option::is_none")]
841    pub lock_international: Option<i64>,
842    #[serde(skip_serializing_if = "Option::is_none")]
843    pub international_route: Option<i64>,
844    #[serde(skip_serializing_if = "Option::is_none")]
845    pub music_on_hold: Option<String>,
846    #[serde(skip_serializing_if = "Option::is_none")]
847    pub language: Option<String>,
848    #[serde(skip_serializing_if = "Option::is_none")]
849    pub allowed_codecs: Option<String>,
850    #[serde(skip_serializing_if = "Option::is_none")]
851    pub dtmf_mode: Option<DtmfMode>,
852    #[serde(skip_serializing_if = "Option::is_none")]
853    pub nat: Option<Nat>,
854    #[serde(skip_serializing_if = "Option::is_none")]
855    pub sip_traffic: Option<i64>,
856    #[serde(skip_serializing_if = "Option::is_none")]
857    pub max_expiry: Option<i64>,
858    #[serde(skip_serializing_if = "Option::is_none")]
859    pub rtp_timeout: Option<i64>,
860    #[serde(skip_serializing_if = "Option::is_none")]
861    pub rtp_hold_timeout: Option<i64>,
862    #[serde(skip_serializing_if = "Option::is_none")]
863    pub ip_restriction: Option<String>,
864    #[serde(skip_serializing_if = "Option::is_none")]
865    pub enable_ip_restriction: Option<i64>,
866    #[serde(skip_serializing_if = "Option::is_none")]
867    pub pop_restriction: Option<String>,
868    #[serde(skip_serializing_if = "Option::is_none")]
869    pub enable_pop_restriction: Option<i64>,
870    #[serde(skip_serializing_if = "Option::is_none")]
871    pub internal_extension: Option<String>,
872    #[serde(skip_serializing_if = "Option::is_none")]
873    pub internal_voicemail: Option<String>,
874    #[serde(skip_serializing_if = "Option::is_none")]
875    pub internal_dialtime: Option<String>,
876    #[serde(skip_serializing_if = "Option::is_none")]
877    pub reseller_client: Option<String>,
878    #[serde(skip_serializing_if = "Option::is_none")]
879    pub reseller_package: Option<String>,
880    #[serde(skip_serializing_if = "Option::is_none")]
881    pub reseller_nextbilling: Option<String>,
882    #[serde(skip_serializing_if = "Option::is_none")]
883    pub reseller_chargesetup: Option<String>,
884    #[serde(skip_serializing_if = "Option::is_none")]
885    pub send_bye: Option<i64>,
886    #[serde(skip_serializing_if = "Option::is_none")]
887    pub record_calls: Option<i64>,
888    #[serde(skip_serializing_if = "Option::is_none")]
889    pub transcribe: Option<i64>,
890    #[serde(skip_serializing_if = "Option::is_none")]
891    pub transcription_locale: Option<String>,
892    #[serde(skip_serializing_if = "Option::is_none")]
893    pub transcription_email: Option<String>,
894    #[serde(skip_serializing_if = "Option::is_none")]
895    pub transcription_start_delay: Option<i64>,
896    #[serde(skip_serializing_if = "Option::is_none")]
897    pub enable_internal_cnam: Option<i64>,
898    #[serde(skip_serializing_if = "Option::is_none")]
899    pub internal_cnam: Option<String>,
900    #[serde(skip_serializing_if = "Option::is_none")]
901    pub dialing_mode: Option<i64>,
902    #[serde(skip_serializing_if = "Option::is_none")]
903    pub tfcarrier: Option<i64>,
904    #[serde(skip_serializing_if = "Option::is_none")]
905    pub internal_extension_location: Option<i64>,
906}
907
908/// Parameters for [`Client::create_voicemail`] (wire method `createVoicemail`).
909#[derive(Debug, Default, Clone, Serialize)]
910pub struct CreateVoicemailParams {
911    #[serde(skip_serializing_if = "Option::is_none")]
912    pub digits: Option<i64>,
913    #[serde(skip_serializing_if = "Option::is_none")]
914    pub name: Option<String>,
915    #[serde(skip_serializing_if = "Option::is_none")]
916    pub password: Option<String>,
917    #[serde(skip_serializing_if = "Option::is_none")]
918    pub skip_password: Option<String>,
919    #[serde(skip_serializing_if = "Option::is_none")]
920    pub email: Option<String>,
921    #[serde(skip_serializing_if = "Option::is_none")]
922    pub attach_message: Option<String>,
923    #[serde(skip_serializing_if = "Option::is_none")]
924    pub delete_message: Option<String>,
925    #[serde(skip_serializing_if = "Option::is_none")]
926    pub say_time: Option<String>,
927    #[serde(skip_serializing_if = "Option::is_none")]
928    pub timezone: Option<String>,
929    #[serde(skip_serializing_if = "Option::is_none")]
930    pub say_callerid: Option<String>,
931    #[serde(skip_serializing_if = "Option::is_none")]
932    pub play_instructions: Option<PlayInstructions>,
933    #[serde(skip_serializing_if = "Option::is_none")]
934    pub language: Option<String>,
935    #[serde(skip_serializing_if = "Option::is_none")]
936    pub email_attachment_format: Option<EmailAttachmentFormat>,
937    #[serde(skip_serializing_if = "Option::is_none")]
938    pub unavailable_message_recording: Option<String>,
939    #[serde(skip_serializing_if = "Option::is_none")]
940    pub transcription: Option<String>,
941    #[serde(skip_serializing_if = "Option::is_none")]
942    pub transcription_locale: Option<String>,
943    #[serde(skip_serializing_if = "Option::is_none")]
944    pub transcription_redaction: Option<String>,
945    #[serde(skip_serializing_if = "Option::is_none")]
946    pub transcription_sentiment: Option<String>,
947    #[serde(skip_serializing_if = "Option::is_none")]
948    pub transcription_summary: Option<String>,
949    #[serde(skip_serializing_if = "Option::is_none")]
950    pub transcription_format: Option<TranscriptionFormat>,
951}
952
953/// Parameters for [`Client::del_call_hunting`] (wire method `delCallHunting`).
954#[derive(Debug, Default, Clone, Serialize)]
955pub struct DelCallHuntingParams {
956    #[serde(skip_serializing_if = "Option::is_none")]
957    pub callhunting: Option<i64>,
958}
959
960/// Parameters for [`Client::del_call_parking`] (wire method `delCallParking`).
961#[derive(Debug, Default, Clone, Serialize)]
962pub struct DelCallParkingParams {
963    #[serde(skip_serializing_if = "Option::is_none")]
964    pub callparking: Option<i64>,
965}
966
967/// Parameters for [`Client::del_call_recording`] (wire method `delCallRecording`).
968#[derive(Debug, Default, Clone, Serialize)]
969pub struct DelCallRecordingParams {
970    #[serde(skip_serializing_if = "Option::is_none")]
971    pub callrecording: Option<String>,
972    #[serde(skip_serializing_if = "Option::is_none")]
973    pub account: Option<String>,
974}
975
976/// Parameters for [`Client::del_callback`] (wire method `delCallback`).
977#[derive(Debug, Default, Clone, Serialize)]
978pub struct DelCallbackParams {
979    #[serde(skip_serializing_if = "Option::is_none")]
980    pub callback: Option<i64>,
981}
982
983/// Parameters for [`Client::del_caller_id_filtering`] (wire method `delCallerIDFiltering`).
984#[derive(Debug, Default, Clone, Serialize)]
985pub struct DelCallerIDFilteringParams {
986    #[serde(skip_serializing_if = "Option::is_none")]
987    pub filtering: Option<i64>,
988}
989
990/// Parameters for [`Client::del_client`] (wire method `delClient`).
991#[derive(Debug, Default, Clone, Serialize)]
992pub struct DelClientParams {
993    #[serde(skip_serializing_if = "Option::is_none")]
994    pub client: Option<i64>,
995}
996
997/// Parameters for [`Client::del_conference`] (wire method `delConference`).
998#[derive(Debug, Default, Clone, Serialize)]
999pub struct DelConferenceParams {
1000    #[serde(skip_serializing_if = "Option::is_none")]
1001    pub conference: Option<i64>,
1002}
1003
1004/// Parameters for [`Client::del_conference_member`] (wire method `delConferenceMember`).
1005#[derive(Debug, Default, Clone, Serialize)]
1006pub struct DelConferenceMemberParams {
1007    #[serde(skip_serializing_if = "Option::is_none")]
1008    pub member: Option<i64>,
1009}
1010
1011/// Parameters for [`Client::del_disa`] (wire method `delDISA`).
1012#[derive(Debug, Default, Clone, Serialize)]
1013pub struct DelDISAParams {
1014    #[serde(skip_serializing_if = "Option::is_none")]
1015    pub disa: Option<i64>,
1016}
1017
1018/// Parameters for [`Client::del_email_to_fax`] (wire method `delEmailToFax`).
1019#[derive(Debug, Default, Clone, Serialize)]
1020pub struct DelEmailToFAXParams {
1021    #[serde(skip_serializing_if = "Option::is_none")]
1022    pub id: Option<i64>,
1023    #[serde(skip_serializing_if = "Option::is_none")]
1024    pub test: Option<i64>,
1025}
1026
1027/// Parameters for [`Client::del_fax_folder`] (wire method `delFaxFolder`).
1028#[derive(Debug, Default, Clone, Serialize)]
1029pub struct DelFAXFolderParams {
1030    #[serde(skip_serializing_if = "Option::is_none")]
1031    pub id: Option<i64>,
1032    #[serde(skip_serializing_if = "Option::is_none")]
1033    pub test: Option<i64>,
1034}
1035
1036/// Parameters for [`Client::del_forwarding`] (wire method `delForwarding`).
1037#[derive(Debug, Default, Clone, Serialize)]
1038pub struct DelForwardingParams {
1039    #[serde(skip_serializing_if = "Option::is_none")]
1040    pub forwarding: Option<i64>,
1041}
1042
1043/// Parameters for [`Client::del_ivr`] (wire method `delIVR`).
1044#[derive(Debug, Default, Clone, Serialize)]
1045pub struct DelIVRParams {
1046    #[serde(skip_serializing_if = "Option::is_none")]
1047    pub ivr: Option<i64>,
1048}
1049
1050/// Parameters for [`Client::del_location`] (wire method `delLocation`).
1051#[derive(Debug, Default, Clone, Serialize)]
1052pub struct DelLocationParams {
1053    #[serde(skip_serializing_if = "Option::is_none")]
1054    pub name: Option<String>,
1055    #[serde(skip_serializing_if = "Option::is_none")]
1056    pub id: Option<String>,
1057}
1058
1059/// Parameters for [`Client::del_member_from_conference`] (wire method `delMemberFromConference`).
1060#[derive(Debug, Default, Clone, Serialize)]
1061pub struct DelMemberFromConferenceParams {
1062    #[serde(skip_serializing_if = "Option::is_none")]
1063    pub member: Option<i64>,
1064    #[serde(skip_serializing_if = "Option::is_none")]
1065    pub conference: Option<i64>,
1066}
1067
1068/// Parameters for [`Client::del_messages`] (wire method `delMessages`).
1069#[derive(Debug, Default, Clone, Serialize)]
1070pub struct DelMessagesParams {
1071    #[serde(skip_serializing_if = "Option::is_none")]
1072    pub mailbox: Option<i64>,
1073    #[serde(skip_serializing_if = "Option::is_none")]
1074    pub folder: Option<VoicemailFolder>,
1075    #[serde(skip_serializing_if = "Option::is_none")]
1076    pub message_num: Option<i64>,
1077}
1078
1079/// Parameters for [`Client::del_music_on_hold`] (wire method `delMusicOnHold`).
1080#[derive(Debug, Default, Clone, Serialize)]
1081pub struct DelMusicOnHoldParams {
1082    #[serde(skip_serializing_if = "Option::is_none")]
1083    pub music_on_hold: Option<String>,
1084}
1085
1086/// Parameters for [`Client::del_phonebook`] (wire method `delPhonebook`).
1087#[derive(Debug, Default, Clone, Serialize)]
1088pub struct DelPhonebookParams {
1089    #[serde(skip_serializing_if = "Option::is_none")]
1090    pub phonebook: Option<i64>,
1091}
1092
1093/// Parameters for [`Client::del_phonebook_group`] (wire method `delPhonebookGroup`).
1094#[derive(Debug, Default, Clone, Serialize)]
1095pub struct DelPhonebookGroupParams {
1096    #[serde(skip_serializing_if = "Option::is_none")]
1097    pub group: Option<String>,
1098}
1099
1100/// Parameters for [`Client::del_queue`] (wire method `delQueue`).
1101#[derive(Debug, Default, Clone, Serialize)]
1102pub struct DelQueueParams {
1103    #[serde(skip_serializing_if = "Option::is_none")]
1104    pub queue: Option<i64>,
1105}
1106
1107/// Parameters for [`Client::del_recording`] (wire method `delRecording`).
1108#[derive(Debug, Default, Clone, Serialize)]
1109pub struct DelRecordingParams {
1110    #[serde(skip_serializing_if = "Option::is_none")]
1111    pub recording: Option<i64>,
1112}
1113
1114/// Parameters for [`Client::del_ring_group`] (wire method `delRingGroup`).
1115#[derive(Debug, Default, Clone, Serialize)]
1116pub struct DelRingGroupParams {
1117    #[serde(skip_serializing_if = "Option::is_none")]
1118    pub ringgroup: Option<i64>,
1119}
1120
1121/// Parameters for [`Client::del_sip_uri`] (wire method `delSIPURI`).
1122#[derive(Debug, Default, Clone, Serialize)]
1123pub struct DelSIPURIParams {
1124    #[serde(skip_serializing_if = "Option::is_none")]
1125    pub sipuri: Option<i64>,
1126}
1127
1128/// Parameters for [`Client::del_static_member`] (wire method `delStaticMember`).
1129#[derive(Debug, Default, Clone, Serialize)]
1130pub struct DelStaticMemberParams {
1131    #[serde(skip_serializing_if = "Option::is_none")]
1132    pub member: Option<i64>,
1133    #[serde(skip_serializing_if = "Option::is_none")]
1134    pub queue: Option<i64>,
1135}
1136
1137/// Parameters for [`Client::del_sub_account`] (wire method `delSubAccount`).
1138#[derive(Debug, Default, Clone, Serialize)]
1139pub struct DelSubAccountParams {
1140    #[serde(skip_serializing_if = "Option::is_none")]
1141    pub id: Option<i64>,
1142}
1143
1144/// Parameters for [`Client::del_time_condition`] (wire method `delTimeCondition`).
1145#[derive(Debug, Default, Clone, Serialize)]
1146pub struct DelTimeConditionParams {
1147    #[serde(skip_serializing_if = "Option::is_none")]
1148    pub timecondition: Option<i64>,
1149}
1150
1151/// Parameters for [`Client::del_voicemail`] (wire method `delVoicemail`).
1152#[derive(Debug, Default, Clone, Serialize)]
1153pub struct DelVoicemailParams {
1154    #[serde(skip_serializing_if = "Option::is_none")]
1155    pub mailbox: Option<i64>,
1156}
1157
1158/// Parameters for [`Client::delete_fax_message`] (wire method `deleteFaxMessage`).
1159#[derive(Debug, Default, Clone, Serialize)]
1160pub struct DeleteFAXMessageParams {
1161    #[serde(skip_serializing_if = "Option::is_none")]
1162    pub id: Option<i64>,
1163    #[serde(skip_serializing_if = "Option::is_none")]
1164    pub test: Option<i64>,
1165}
1166
1167/// Parameters for [`Client::delete_mms`] (wire method `deleteMMS`).
1168#[derive(Debug, Default, Clone, Serialize)]
1169pub struct DeleteMMSParams {
1170    #[serde(skip_serializing_if = "Option::is_none")]
1171    pub id: Option<i64>,
1172}
1173
1174/// Parameters for [`Client::delete_sms`] (wire method `deleteSMS`).
1175#[derive(Debug, Default, Clone, Serialize)]
1176pub struct DeleteSMSParams {
1177    #[serde(skip_serializing_if = "Option::is_none")]
1178    pub id: Option<i64>,
1179}
1180
1181/// Parameters for [`Client::e911_address_types`] (wire method `e911AddressTypes`).
1182#[derive(Debug, Default, Clone, Serialize)]
1183pub struct E911AddressTypesParams {
1184    #[serde(skip_serializing_if = "Option::is_none")]
1185    pub r#type: Option<String>,
1186}
1187
1188/// Parameters for [`Client::e911_cancel`] (wire method `e911Cancel`).
1189#[derive(Debug, Default, Clone, Serialize)]
1190pub struct E911CancelParams {
1191    #[serde(skip_serializing_if = "Option::is_none")]
1192    pub did: Option<String>,
1193}
1194
1195/// Parameters for [`Client::e911_info`] (wire method `e911Info`).
1196#[derive(Debug, Default, Clone, Serialize)]
1197pub struct E911InfoParams {
1198    #[serde(skip_serializing_if = "Option::is_none")]
1199    pub did: Option<String>,
1200}
1201
1202/// Parameters for [`Client::e911_provision`] (wire method `e911Provision`).
1203#[derive(Debug, Default, Clone, Serialize)]
1204pub struct E911ProvisionParams {
1205    #[serde(skip_serializing_if = "Option::is_none")]
1206    pub did: Option<String>,
1207    #[serde(skip_serializing_if = "Option::is_none")]
1208    pub full_name: Option<String>,
1209    #[serde(skip_serializing_if = "Option::is_none")]
1210    pub street_number: Option<i64>,
1211    #[serde(skip_serializing_if = "Option::is_none")]
1212    pub street_name: Option<String>,
1213    #[serde(skip_serializing_if = "Option::is_none")]
1214    pub address_type: Option<String>,
1215    #[serde(skip_serializing_if = "Option::is_none")]
1216    pub address_number: Option<i64>,
1217    #[serde(skip_serializing_if = "Option::is_none")]
1218    pub city: Option<String>,
1219    #[serde(skip_serializing_if = "Option::is_none")]
1220    pub state: Option<String>,
1221    #[serde(skip_serializing_if = "Option::is_none")]
1222    pub country: Option<String>,
1223    #[serde(skip_serializing_if = "Option::is_none")]
1224    pub zip: Option<String>,
1225    #[serde(skip_serializing_if = "Option::is_none")]
1226    pub language: Option<String>,
1227    #[serde(skip_serializing_if = "Option::is_none")]
1228    pub other_info: Option<String>,
1229}
1230
1231/// Parameters for [`Client::e911_provision_manually`] (wire method `e911ProvisionManually`).
1232#[derive(Debug, Default, Clone, Serialize)]
1233pub struct E911ProvisionManuallyParams {
1234    #[serde(skip_serializing_if = "Option::is_none")]
1235    pub did: Option<String>,
1236    #[serde(skip_serializing_if = "Option::is_none")]
1237    pub full_name: Option<String>,
1238    #[serde(skip_serializing_if = "Option::is_none")]
1239    pub street_number: Option<i64>,
1240    #[serde(skip_serializing_if = "Option::is_none")]
1241    pub street_name: Option<String>,
1242    #[serde(skip_serializing_if = "Option::is_none")]
1243    pub address_type: Option<String>,
1244    #[serde(skip_serializing_if = "Option::is_none")]
1245    pub address_number: Option<i64>,
1246    #[serde(skip_serializing_if = "Option::is_none")]
1247    pub city: Option<String>,
1248    #[serde(skip_serializing_if = "Option::is_none")]
1249    pub state: Option<String>,
1250    #[serde(skip_serializing_if = "Option::is_none")]
1251    pub country: Option<String>,
1252    #[serde(skip_serializing_if = "Option::is_none")]
1253    pub zip: Option<String>,
1254    #[serde(skip_serializing_if = "Option::is_none")]
1255    pub language: Option<String>,
1256    #[serde(skip_serializing_if = "Option::is_none")]
1257    pub other_info: Option<String>,
1258}
1259
1260/// Parameters for [`Client::e911_update`] (wire method `e911Update`).
1261#[derive(Debug, Default, Clone, Serialize)]
1262pub struct E911UpdateParams {
1263    #[serde(skip_serializing_if = "Option::is_none")]
1264    pub did: Option<String>,
1265    #[serde(skip_serializing_if = "Option::is_none")]
1266    pub full_name: Option<String>,
1267    #[serde(skip_serializing_if = "Option::is_none")]
1268    pub street_number: Option<i64>,
1269    #[serde(skip_serializing_if = "Option::is_none")]
1270    pub street_name: Option<String>,
1271    #[serde(skip_serializing_if = "Option::is_none")]
1272    pub address_type: Option<String>,
1273    #[serde(skip_serializing_if = "Option::is_none")]
1274    pub address_number: Option<i64>,
1275    #[serde(skip_serializing_if = "Option::is_none")]
1276    pub city: Option<String>,
1277    #[serde(skip_serializing_if = "Option::is_none")]
1278    pub state: Option<String>,
1279    #[serde(skip_serializing_if = "Option::is_none")]
1280    pub country: Option<String>,
1281    #[serde(skip_serializing_if = "Option::is_none")]
1282    pub zip: Option<String>,
1283    #[serde(skip_serializing_if = "Option::is_none")]
1284    pub language: Option<String>,
1285    #[serde(skip_serializing_if = "Option::is_none")]
1286    pub other_info: Option<String>,
1287}
1288
1289/// Parameters for [`Client::e911_validate`] (wire method `e911Validate`).
1290#[derive(Debug, Default, Clone, Serialize)]
1291pub struct E911ValidateParams {
1292    #[serde(skip_serializing_if = "Option::is_none")]
1293    pub did: Option<String>,
1294    #[serde(skip_serializing_if = "Option::is_none")]
1295    pub full_name: Option<String>,
1296    #[serde(skip_serializing_if = "Option::is_none")]
1297    pub street_number: Option<i64>,
1298    #[serde(skip_serializing_if = "Option::is_none")]
1299    pub street_name: Option<String>,
1300    #[serde(skip_serializing_if = "Option::is_none")]
1301    pub address_type: Option<String>,
1302    #[serde(skip_serializing_if = "Option::is_none")]
1303    pub address_number: Option<i64>,
1304    #[serde(skip_serializing_if = "Option::is_none")]
1305    pub city: Option<String>,
1306    #[serde(skip_serializing_if = "Option::is_none")]
1307    pub state: Option<String>,
1308    #[serde(skip_serializing_if = "Option::is_none")]
1309    pub country: Option<String>,
1310    #[serde(skip_serializing_if = "Option::is_none")]
1311    pub zip: Option<String>,
1312    #[serde(skip_serializing_if = "Option::is_none")]
1313    pub language: Option<String>,
1314    #[serde(skip_serializing_if = "Option::is_none")]
1315    pub other_info: Option<String>,
1316}
1317
1318/// Parameters for [`Client::get_allowed_codecs`] (wire method `getAllowedCodecs`).
1319#[derive(Debug, Default, Clone, Serialize)]
1320pub struct GetAllowedCodecsParams {
1321    #[serde(skip_serializing_if = "Option::is_none")]
1322    pub codec: Option<String>,
1323}
1324
1325/// Parameters for [`Client::get_auth_types`] (wire method `getAuthTypes`).
1326#[derive(Debug, Default, Clone, Serialize)]
1327pub struct GetAuthTypesParams {
1328    #[serde(skip_serializing_if = "Option::is_none")]
1329    pub r#type: Option<String>,
1330}
1331
1332/// Parameters for [`Client::get_back_orders`] (wire method `getBackOrders`).
1333#[derive(Debug, Default, Clone, Serialize)]
1334pub struct GetBackOrdersParams {
1335    #[serde(skip_serializing_if = "Option::is_none")]
1336    pub id: Option<String>,
1337}
1338
1339/// Parameters for [`Client::get_balance`] (wire method `getBalance`).
1340#[derive(Debug, Default, Clone, Serialize)]
1341pub struct GetBalanceParams {
1342    #[serde(skip_serializing_if = "Option::is_none")]
1343    pub advanced: Option<bool>,
1344}
1345
1346/// Parameters for [`Client::get_balance_management`] (wire method `getBalanceManagement`).
1347#[derive(Debug, Default, Clone, Serialize)]
1348pub struct GetBalanceManagementParams {
1349    #[serde(skip_serializing_if = "Option::is_none")]
1350    pub balance_management: Option<String>,
1351}
1352
1353/// Parameters for [`Client::get_cdr`] (wire method `getCDR`).
1354#[derive(Debug, Default, Clone, Serialize)]
1355pub struct GetCDRParams {
1356    #[serde(skip_serializing_if = "Option::is_none")]
1357    pub date_from: Option<String>,
1358    #[serde(skip_serializing_if = "Option::is_none")]
1359    pub date_to: Option<String>,
1360    #[serde(skip_serializing_if = "Option::is_none")]
1361    pub answered: Option<bool>,
1362    #[serde(skip_serializing_if = "Option::is_none")]
1363    pub noanswer: Option<bool>,
1364    #[serde(skip_serializing_if = "Option::is_none")]
1365    pub busy: Option<bool>,
1366    #[serde(skip_serializing_if = "Option::is_none")]
1367    pub failed: Option<bool>,
1368    #[serde(skip_serializing_if = "Option::is_none")]
1369    pub timezone: Option<f64>,
1370    #[serde(skip_serializing_if = "Option::is_none")]
1371    pub calltype: Option<String>,
1372    #[serde(skip_serializing_if = "Option::is_none")]
1373    pub callbilling: Option<String>,
1374    #[serde(skip_serializing_if = "Option::is_none")]
1375    pub account: Option<String>,
1376}
1377
1378/// Parameters for [`Client::get_call_accounts`] (wire method `getCallAccounts`).
1379#[derive(Debug, Default, Clone, Serialize)]
1380pub struct GetCallAccountsParams {}
1381
1382/// Parameters for [`Client::get_call_billing`] (wire method `getCallBilling`).
1383#[derive(Debug, Default, Clone, Serialize)]
1384pub struct GetCallBillingParams {}
1385
1386/// Parameters for [`Client::get_call_huntings`] (wire method `getCallHuntings`).
1387#[derive(Debug, Default, Clone, Serialize)]
1388pub struct GetCallHuntingsParams {
1389    #[serde(skip_serializing_if = "Option::is_none")]
1390    pub callhunting: Option<i64>,
1391}
1392
1393/// Parameters for [`Client::get_call_parking`] (wire method `getCallParking`).
1394#[derive(Debug, Default, Clone, Serialize)]
1395pub struct GetCallParkingParams {
1396    #[serde(skip_serializing_if = "Option::is_none")]
1397    pub callparking: Option<i64>,
1398}
1399
1400/// Parameters for [`Client::get_call_recording`] (wire method `getCallRecording`).
1401#[derive(Debug, Default, Clone, Serialize)]
1402pub struct GetCallRecordingParams {
1403    #[serde(skip_serializing_if = "Option::is_none")]
1404    pub callrecording: Option<String>,
1405    #[serde(skip_serializing_if = "Option::is_none")]
1406    pub account: Option<String>,
1407}
1408
1409/// Parameters for [`Client::get_call_recordings`] (wire method `getCallRecordings`).
1410#[derive(Debug, Default, Clone, Serialize)]
1411pub struct GetCallRecordingsParams {
1412    #[serde(skip_serializing_if = "Option::is_none")]
1413    pub account: Option<String>,
1414    #[serde(skip_serializing_if = "Option::is_none")]
1415    pub start: Option<i64>,
1416    #[serde(skip_serializing_if = "Option::is_none")]
1417    pub length: Option<i64>,
1418    #[serde(skip_serializing_if = "Option::is_none")]
1419    pub date_from: Option<String>,
1420    #[serde(skip_serializing_if = "Option::is_none")]
1421    pub date_to: Option<String>,
1422}
1423
1424/// Parameters for [`Client::get_call_transcriptions`] (wire method `getCallTranscriptions`).
1425#[derive(Debug, Default, Clone, Serialize)]
1426pub struct GetCallTranscriptionsParams {
1427    #[serde(skip_serializing_if = "Option::is_none")]
1428    pub account: Option<String>,
1429    #[serde(skip_serializing_if = "Option::is_none")]
1430    pub date_to: Option<String>,
1431    #[serde(skip_serializing_if = "Option::is_none")]
1432    pub date_from: Option<String>,
1433    #[serde(skip_serializing_if = "Option::is_none")]
1434    pub call_type: Option<String>,
1435}
1436
1437/// Parameters for [`Client::get_call_types`] (wire method `getCallTypes`).
1438#[derive(Debug, Default, Clone, Serialize)]
1439pub struct GetCallTypesParams {
1440    #[serde(skip_serializing_if = "Option::is_none")]
1441    pub client: Option<String>,
1442}
1443
1444/// Parameters for [`Client::get_callbacks`] (wire method `getCallbacks`).
1445#[derive(Debug, Default, Clone, Serialize)]
1446pub struct GetCallbacksParams {
1447    #[serde(skip_serializing_if = "Option::is_none")]
1448    pub callback: Option<String>,
1449}
1450
1451/// Parameters for [`Client::get_caller_id_filtering`] (wire method `getCallerIDFiltering`).
1452#[derive(Debug, Default, Clone, Serialize)]
1453pub struct GetCallerIDFilteringParams {
1454    #[serde(skip_serializing_if = "Option::is_none")]
1455    pub filtering: Option<String>,
1456    #[serde(skip_serializing_if = "Option::is_none")]
1457    pub did: Option<String>,
1458}
1459
1460/// Parameters for [`Client::get_carriers`] (wire method `getCarriers`).
1461#[derive(Debug, Default, Clone, Serialize)]
1462pub struct GetCarriersParams {
1463    #[serde(skip_serializing_if = "Option::is_none")]
1464    pub carrier: Option<String>,
1465}
1466
1467/// Parameters for [`Client::get_charges`] (wire method `getCharges`).
1468#[derive(Debug, Default, Clone, Serialize)]
1469pub struct GetChargesParams {
1470    #[serde(skip_serializing_if = "Option::is_none")]
1471    pub client: Option<String>,
1472}
1473
1474/// Parameters for [`Client::get_client_packages`] (wire method `getClientPackages`).
1475#[derive(Debug, Default, Clone, Serialize)]
1476pub struct GetClientPackagesParams {
1477    #[serde(skip_serializing_if = "Option::is_none")]
1478    pub client: Option<String>,
1479}
1480
1481/// Parameters for [`Client::get_client_threshold`] (wire method `getClientThreshold`).
1482#[derive(Debug, Default, Clone, Serialize)]
1483pub struct GetClientThresholdParams {
1484    #[serde(skip_serializing_if = "Option::is_none")]
1485    pub client: Option<String>,
1486}
1487
1488/// Parameters for [`Client::get_clients`] (wire method `getClients`).
1489#[derive(Debug, Default, Clone, Serialize)]
1490pub struct GetClientsParams {
1491    #[serde(skip_serializing_if = "Option::is_none")]
1492    pub client: Option<String>,
1493}
1494
1495/// Parameters for [`Client::get_conference`] (wire method `getConference`).
1496#[derive(Debug, Default, Clone, Serialize)]
1497pub struct GetConferenceParams {
1498    #[serde(skip_serializing_if = "Option::is_none")]
1499    pub conference: Option<i64>,
1500}
1501
1502/// Parameters for [`Client::get_conference_members`] (wire method `getConferenceMembers`).
1503#[derive(Debug, Default, Clone, Serialize)]
1504pub struct GetConferenceMembersParams {
1505    #[serde(skip_serializing_if = "Option::is_none")]
1506    pub member: Option<i64>,
1507}
1508
1509/// Parameters for [`Client::get_conference_recording_file`] (wire method `getConferenceRecordingFile`).
1510#[derive(Debug, Default, Clone, Serialize)]
1511pub struct GetConferenceRecordingFileParams {
1512    #[serde(skip_serializing_if = "Option::is_none")]
1513    pub conference: Option<i64>,
1514    #[serde(skip_serializing_if = "Option::is_none")]
1515    pub recording: Option<i64>,
1516}
1517
1518/// Parameters for [`Client::get_conference_recordings`] (wire method `getConferenceRecordings`).
1519#[derive(Debug, Default, Clone, Serialize)]
1520pub struct GetConferenceRecordingsParams {
1521    #[serde(skip_serializing_if = "Option::is_none")]
1522    pub conference: Option<i64>,
1523    #[serde(skip_serializing_if = "Option::is_none")]
1524    pub date_from: Option<String>,
1525    #[serde(skip_serializing_if = "Option::is_none")]
1526    pub date_to: Option<String>,
1527}
1528
1529/// Parameters for [`Client::get_countries`] (wire method `getCountries`).
1530#[derive(Debug, Default, Clone, Serialize)]
1531pub struct GetCountriesParams {
1532    #[serde(skip_serializing_if = "Option::is_none")]
1533    pub country: Option<String>,
1534}
1535
1536/// Parameters for [`Client::get_did_countries`] (wire method `getDIDCountries`).
1537#[derive(Debug, Default, Clone, Serialize)]
1538pub struct GetDIDCountriesParams {
1539    #[serde(skip_serializing_if = "Option::is_none")]
1540    pub country_id: Option<String>,
1541    #[serde(skip_serializing_if = "Option::is_none")]
1542    pub r#type: Option<String>,
1543}
1544
1545/// Parameters for [`Client::get_dids_can`] (wire method `getDIDsCAN`).
1546#[derive(Debug, Default, Clone, Serialize)]
1547pub struct GetDIDsCANParams {
1548    #[serde(skip_serializing_if = "Option::is_none")]
1549    pub province: Option<String>,
1550    #[serde(skip_serializing_if = "Option::is_none")]
1551    pub ratecenter: Option<String>,
1552}
1553
1554/// Parameters for [`Client::get_dids_info`] (wire method `getDIDsInfo`).
1555#[derive(Debug, Default, Clone, Serialize)]
1556pub struct GetDIDsInfoParams {
1557    #[serde(skip_serializing_if = "Option::is_none")]
1558    pub client: Option<String>,
1559    #[serde(skip_serializing_if = "Option::is_none")]
1560    pub did: Option<String>,
1561}
1562
1563/// Parameters for [`Client::get_dids_international_geographic`] (wire method `getDIDsInternationalGeographic`).
1564#[derive(Debug, Default, Clone, Serialize)]
1565pub struct GetDIDsInternationalGeographicParams {
1566    #[serde(skip_serializing_if = "Option::is_none")]
1567    pub country_id: Option<String>,
1568}
1569
1570/// Parameters for [`Client::get_dids_international_national`] (wire method `getDIDsInternationalNational`).
1571#[derive(Debug, Default, Clone, Serialize)]
1572pub struct GetDIDsInternationalNationalParams {
1573    #[serde(skip_serializing_if = "Option::is_none")]
1574    pub country_id: Option<String>,
1575}
1576
1577/// Parameters for [`Client::get_dids_international_toll_free`] (wire method `getDIDsInternationalTollFree`).
1578#[derive(Debug, Default, Clone, Serialize)]
1579pub struct GetDIDsInternationalTollFreeParams {
1580    #[serde(skip_serializing_if = "Option::is_none")]
1581    pub country_id: Option<String>,
1582}
1583
1584/// Parameters for [`Client::get_dids_usa`] (wire method `getDIDsUSA`).
1585#[derive(Debug, Default, Clone, Serialize)]
1586pub struct GetDIDsUSAParams {
1587    #[serde(skip_serializing_if = "Option::is_none")]
1588    pub state: Option<String>,
1589    #[serde(skip_serializing_if = "Option::is_none")]
1590    pub ratecenter: Option<String>,
1591}
1592
1593/// Parameters for [`Client::get_did_vpri`] (wire method `getDIDvPRI`).
1594#[derive(Debug, Default, Clone, Serialize)]
1595pub struct GetDIDvPRIParams {
1596    #[serde(skip_serializing_if = "Option::is_none")]
1597    pub vpri: Option<String>,
1598}
1599
1600/// Parameters for [`Client::get_disas`] (wire method `getDISAs`).
1601#[derive(Debug, Default, Clone, Serialize)]
1602pub struct GetDISAsParams {
1603    #[serde(skip_serializing_if = "Option::is_none")]
1604    pub disa: Option<String>,
1605}
1606
1607/// Parameters for [`Client::get_dtmf_modes`] (wire method `getDTMFModes`).
1608#[derive(Debug, Default, Clone, Serialize)]
1609pub struct GetDTMFModesParams {
1610    #[serde(skip_serializing_if = "Option::is_none")]
1611    pub dtmf_mode: Option<DtmfMode>,
1612}
1613
1614/// Parameters for [`Client::get_deposits`] (wire method `getDeposits`).
1615#[derive(Debug, Default, Clone, Serialize)]
1616pub struct GetDepositsParams {
1617    #[serde(skip_serializing_if = "Option::is_none")]
1618    pub client: Option<String>,
1619}
1620
1621/// Parameters for [`Client::get_device_types`] (wire method `getDeviceTypes`).
1622#[derive(Debug, Default, Clone, Serialize)]
1623pub struct GetDeviceTypesParams {
1624    #[serde(skip_serializing_if = "Option::is_none")]
1625    pub device_type: Option<String>,
1626}
1627
1628/// Parameters for [`Client::get_email_to_fax`] (wire method `getEmailToFax`).
1629#[derive(Debug, Default, Clone, Serialize)]
1630pub struct GetEmailToFAXParams {
1631    #[serde(skip_serializing_if = "Option::is_none")]
1632    pub id: Option<i64>,
1633}
1634
1635/// Parameters for [`Client::get_fax_folders`] (wire method `getFaxFolders`).
1636#[derive(Debug, Default, Clone, Serialize)]
1637pub struct GetFAXFoldersParams {
1638    #[serde(skip_serializing_if = "Option::is_none")]
1639    pub id: Option<i64>,
1640}
1641
1642/// Parameters for [`Client::get_fax_message_pdf`] (wire method `getFaxMessagePDF`).
1643#[derive(Debug, Default, Clone, Serialize)]
1644pub struct GetFAXMessagePDFParams {
1645    #[serde(skip_serializing_if = "Option::is_none")]
1646    pub id: Option<i64>,
1647}
1648
1649/// Parameters for [`Client::get_fax_messages`] (wire method `getFaxMessages`).
1650#[derive(Debug, Default, Clone, Serialize)]
1651pub struct GetFAXMessagesParams {
1652    #[serde(skip_serializing_if = "Option::is_none")]
1653    pub from: Option<String>,
1654    #[serde(skip_serializing_if = "Option::is_none")]
1655    pub to: Option<String>,
1656    #[serde(skip_serializing_if = "Option::is_none")]
1657    pub folder: Option<VoicemailFolder>,
1658    #[serde(skip_serializing_if = "Option::is_none")]
1659    pub id: Option<i64>,
1660}
1661
1662/// Parameters for [`Client::get_fax_numbers_info`] (wire method `getFaxNumbersInfo`).
1663#[derive(Debug, Default, Clone, Serialize)]
1664pub struct GetFAXNumbersInfoParams {
1665    #[serde(skip_serializing_if = "Option::is_none")]
1666    pub did: Option<i64>,
1667}
1668
1669/// Parameters for [`Client::get_fax_numbers_portability`] (wire method `getFaxNumbersPortability`).
1670#[derive(Debug, Default, Clone, Serialize)]
1671pub struct GetFAXNumbersPortabilityParams {
1672    #[serde(skip_serializing_if = "Option::is_none")]
1673    pub did: Option<i64>,
1674}
1675
1676/// Parameters for [`Client::get_fax_provinces`] (wire method `getFaxProvinces`).
1677#[derive(Debug, Default, Clone, Serialize)]
1678pub struct GetFAXProvincesParams {
1679    #[serde(skip_serializing_if = "Option::is_none")]
1680    pub province: Option<String>,
1681}
1682
1683/// Parameters for [`Client::get_fax_rate_centers_can`] (wire method `getFaxRateCentersCAN`).
1684#[derive(Debug, Default, Clone, Serialize)]
1685pub struct GetFAXRateCentersCANParams {
1686    #[serde(skip_serializing_if = "Option::is_none")]
1687    pub province: Option<String>,
1688}
1689
1690/// Parameters for [`Client::get_fax_rate_centers_usa`] (wire method `getFaxRateCentersUSA`).
1691#[derive(Debug, Default, Clone, Serialize)]
1692pub struct GetFAXRateCentersUSAParams {
1693    #[serde(skip_serializing_if = "Option::is_none")]
1694    pub state: Option<String>,
1695}
1696
1697/// Parameters for [`Client::get_fax_states`] (wire method `getFaxStates`).
1698#[derive(Debug, Default, Clone, Serialize)]
1699pub struct GetFAXStatesParams {
1700    #[serde(skip_serializing_if = "Option::is_none")]
1701    pub state: Option<String>,
1702}
1703
1704/// Parameters for [`Client::get_forwardings`] (wire method `getForwardings`).
1705#[derive(Debug, Default, Clone, Serialize)]
1706pub struct GetForwardingsParams {
1707    #[serde(skip_serializing_if = "Option::is_none")]
1708    pub forwarding: Option<String>,
1709}
1710
1711/// Parameters for [`Client::get_ip`] (wire method `getIP`).
1712#[derive(Debug, Default, Clone, Serialize)]
1713pub struct GetIPParams {}
1714
1715/// Parameters for [`Client::get_ivrs`] (wire method `getIVRs`).
1716#[derive(Debug, Default, Clone, Serialize)]
1717pub struct GetIVRsParams {
1718    #[serde(skip_serializing_if = "Option::is_none")]
1719    pub ivr: Option<String>,
1720}
1721
1722/// Parameters for [`Client::get_international_types`] (wire method `getInternationalTypes`).
1723#[derive(Debug, Default, Clone, Serialize)]
1724pub struct GetInternationalTypesParams {
1725    #[serde(skip_serializing_if = "Option::is_none")]
1726    pub r#type: Option<String>,
1727}
1728
1729/// Parameters for [`Client::get_join_when_empty_types`] (wire method `getJoinWhenEmptyTypes`).
1730#[derive(Debug, Default, Clone, Serialize)]
1731pub struct GetJoinWhenEmptyTypesParams {
1732    #[serde(skip_serializing_if = "Option::is_none")]
1733    pub r#type: Option<String>,
1734}
1735
1736/// Parameters for [`Client::get_lnp_attach`] (wire method `getLNPAttach`).
1737#[derive(Debug, Default, Clone, Serialize)]
1738pub struct GetLNPAttachParams {
1739    #[serde(skip_serializing_if = "Option::is_none")]
1740    pub attachid: Option<i64>,
1741}
1742
1743/// Parameters for [`Client::get_lnp_attach_list`] (wire method `getLNPAttachList`).
1744#[derive(Debug, Default, Clone, Serialize)]
1745pub struct GetLNPAttachListParams {
1746    #[serde(skip_serializing_if = "Option::is_none")]
1747    pub portid: Option<i64>,
1748}
1749
1750/// Parameters for [`Client::get_lnp_details`] (wire method `getLNPDetails`).
1751#[derive(Debug, Default, Clone, Serialize)]
1752pub struct GetLNPDetailsParams {
1753    #[serde(skip_serializing_if = "Option::is_none")]
1754    pub portid: Option<i64>,
1755}
1756
1757/// Parameters for [`Client::get_lnp_list`] (wire method `getLNPList`).
1758#[derive(Debug, Default, Clone, Serialize)]
1759pub struct GetLNPListParams {
1760    #[serde(skip_serializing_if = "Option::is_none")]
1761    pub portid: Option<i64>,
1762    #[serde(skip_serializing_if = "Option::is_none")]
1763    pub portStatus: Option<String>,
1764    #[serde(skip_serializing_if = "Option::is_none")]
1765    pub startDate: Option<String>,
1766    #[serde(skip_serializing_if = "Option::is_none")]
1767    pub endDate: Option<String>,
1768}
1769
1770/// Parameters for [`Client::get_lnp_list_status`] (wire method `getLNPListStatus`).
1771#[derive(Debug, Default, Clone, Serialize)]
1772pub struct GetLNPListStatusParams {}
1773
1774/// Parameters for [`Client::get_lnp_notes`] (wire method `getLNPNotes`).
1775#[derive(Debug, Default, Clone, Serialize)]
1776pub struct GetLNPNotesParams {
1777    #[serde(skip_serializing_if = "Option::is_none")]
1778    pub portid: Option<i64>,
1779}
1780
1781/// Parameters for [`Client::get_lnp_status`] (wire method `getLNPStatus`).
1782#[derive(Debug, Default, Clone, Serialize)]
1783pub struct GetLNPStatusParams {
1784    #[serde(skip_serializing_if = "Option::is_none")]
1785    pub portid: Option<i64>,
1786}
1787
1788/// Parameters for [`Client::get_languages`] (wire method `getLanguages`).
1789#[derive(Debug, Default, Clone, Serialize)]
1790pub struct GetLanguagesParams {
1791    #[serde(skip_serializing_if = "Option::is_none")]
1792    pub language: Option<String>,
1793}
1794
1795/// Parameters for [`Client::get_locales`] (wire method `getLocales`).
1796#[derive(Debug, Default, Clone, Serialize)]
1797pub struct GetLocalesParams {
1798    #[serde(skip_serializing_if = "Option::is_none")]
1799    pub locale: Option<String>,
1800}
1801
1802/// Parameters for [`Client::get_locations`] (wire method `getLocations`).
1803#[derive(Debug, Default, Clone, Serialize)]
1804pub struct GetLocationsParams {}
1805
1806/// Parameters for [`Client::get_lock_international`] (wire method `getLockInternational`).
1807#[derive(Debug, Default, Clone, Serialize)]
1808pub struct GetLockInternationalParams {
1809    #[serde(skip_serializing_if = "Option::is_none")]
1810    pub lock_international: Option<String>,
1811}
1812
1813/// Parameters for [`Client::get_mms`] (wire method `getMMS`).
1814#[derive(Debug, Default, Clone, Serialize)]
1815pub struct GetMMSParams {
1816    #[serde(skip_serializing_if = "Option::is_none")]
1817    pub mms: Option<i64>,
1818    #[serde(skip_serializing_if = "Option::is_none")]
1819    pub from: Option<String>,
1820    #[serde(skip_serializing_if = "Option::is_none")]
1821    pub to: Option<String>,
1822    #[serde(skip_serializing_if = "Option::is_none")]
1823    pub r#type: Option<String>,
1824    #[serde(skip_serializing_if = "Option::is_none")]
1825    pub did: Option<String>,
1826    #[serde(skip_serializing_if = "Option::is_none")]
1827    pub contact: Option<String>,
1828    #[serde(skip_serializing_if = "Option::is_none")]
1829    pub limit: Option<String>,
1830    #[serde(skip_serializing_if = "Option::is_none")]
1831    pub timezone: Option<String>,
1832    #[serde(skip_serializing_if = "Option::is_none")]
1833    pub all_messages: Option<i64>,
1834}
1835
1836/// Parameters for [`Client::get_media_mms`] (wire method `getMediaMMS`).
1837#[derive(Debug, Default, Clone, Serialize)]
1838pub struct GetMediaMMSParams {
1839    #[serde(skip_serializing_if = "Option::is_none")]
1840    pub id: Option<i64>,
1841    #[serde(skip_serializing_if = "Option::is_none")]
1842    pub media_as_array: Option<i64>,
1843}
1844
1845/// Parameters for [`Client::get_music_on_hold`] (wire method `getMusicOnHold`).
1846#[derive(Debug, Default, Clone, Serialize)]
1847pub struct GetMusicOnHoldParams {
1848    #[serde(skip_serializing_if = "Option::is_none")]
1849    pub music_on_hold: Option<String>,
1850}
1851
1852/// Parameters for [`Client::get_nat`] (wire method `getNAT`).
1853#[derive(Debug, Default, Clone, Serialize)]
1854pub struct GetNATParams {
1855    #[serde(skip_serializing_if = "Option::is_none")]
1856    pub nat: Option<Nat>,
1857}
1858
1859/// Parameters for [`Client::get_packages`] (wire method `getPackages`).
1860#[derive(Debug, Default, Clone, Serialize)]
1861pub struct GetPackagesParams {
1862    #[serde(skip_serializing_if = "Option::is_none")]
1863    pub package: Option<String>,
1864}
1865
1866/// Parameters for [`Client::get_phonebook`] (wire method `getPhonebook`).
1867#[derive(Debug, Default, Clone, Serialize)]
1868pub struct GetPhonebookParams {
1869    #[serde(skip_serializing_if = "Option::is_none")]
1870    pub phonebook: Option<String>,
1871    #[serde(skip_serializing_if = "Option::is_none")]
1872    pub name: Option<String>,
1873    #[serde(skip_serializing_if = "Option::is_none")]
1874    pub group: Option<String>,
1875    #[serde(skip_serializing_if = "Option::is_none")]
1876    pub group_name: Option<String>,
1877}
1878
1879/// Parameters for [`Client::get_phonebook_groups`] (wire method `getPhonebookGroups`).
1880#[derive(Debug, Default, Clone, Serialize)]
1881pub struct GetPhonebookGroupsParams {
1882    #[serde(skip_serializing_if = "Option::is_none")]
1883    pub name: Option<String>,
1884    #[serde(skip_serializing_if = "Option::is_none")]
1885    pub group: Option<String>,
1886}
1887
1888/// Parameters for [`Client::get_play_instructions`] (wire method `getPlayInstructions`).
1889#[derive(Debug, Default, Clone, Serialize)]
1890pub struct GetPlayInstructionsParams {
1891    #[serde(skip_serializing_if = "Option::is_none")]
1892    pub play_instructions: Option<PlayInstructions>,
1893}
1894
1895/// Parameters for [`Client::get_portability`] (wire method `getPortability`).
1896#[derive(Debug, Default, Clone, Serialize)]
1897pub struct GetPortabilityParams {
1898    #[serde(skip_serializing_if = "Option::is_none")]
1899    pub did: Option<String>,
1900}
1901
1902/// Parameters for [`Client::get_protocols`] (wire method `getProtocols`).
1903#[derive(Debug, Default, Clone, Serialize)]
1904pub struct GetProtocolsParams {
1905    #[serde(skip_serializing_if = "Option::is_none")]
1906    pub protocol: Option<String>,
1907}
1908
1909/// Parameters for [`Client::get_provinces`] (wire method `getProvinces`).
1910#[derive(Debug, Default, Clone, Serialize)]
1911pub struct GetProvincesParams {}
1912
1913/// Parameters for [`Client::get_queues`] (wire method `getQueues`).
1914#[derive(Debug, Default, Clone, Serialize)]
1915pub struct GetQueuesParams {
1916    #[serde(skip_serializing_if = "Option::is_none")]
1917    pub queue: Option<String>,
1918}
1919
1920/// Parameters for [`Client::get_rate_centers_can`] (wire method `getRateCentersCAN`).
1921#[derive(Debug, Default, Clone, Serialize)]
1922pub struct GetRateCentersCANParams {
1923    #[serde(skip_serializing_if = "Option::is_none")]
1924    pub province: Option<String>,
1925}
1926
1927/// Parameters for [`Client::get_rate_centers_usa`] (wire method `getRateCentersUSA`).
1928#[derive(Debug, Default, Clone, Serialize)]
1929pub struct GetRateCentersUSAParams {
1930    #[serde(skip_serializing_if = "Option::is_none")]
1931    pub state: Option<String>,
1932}
1933
1934/// Parameters for [`Client::get_rates`] (wire method `getRates`).
1935#[derive(Debug, Default, Clone, Serialize)]
1936pub struct GetRatesParams {
1937    #[serde(skip_serializing_if = "Option::is_none")]
1938    pub package: Option<String>,
1939    #[serde(skip_serializing_if = "Option::is_none")]
1940    pub query: Option<String>,
1941}
1942
1943/// Parameters for [`Client::get_recording_file`] (wire method `getRecordingFile`).
1944#[derive(Debug, Default, Clone, Serialize)]
1945pub struct GetRecordingFileParams {
1946    #[serde(skip_serializing_if = "Option::is_none")]
1947    pub recording: Option<String>,
1948}
1949
1950/// Parameters for [`Client::get_recordings`] (wire method `getRecordings`).
1951#[derive(Debug, Default, Clone, Serialize)]
1952pub struct GetRecordingsParams {
1953    #[serde(skip_serializing_if = "Option::is_none")]
1954    pub recording: Option<String>,
1955}
1956
1957/// Parameters for [`Client::get_registration_status`] (wire method `getRegistrationStatus`).
1958#[derive(Debug, Default, Clone, Serialize)]
1959pub struct GetRegistrationStatusParams {
1960    #[serde(skip_serializing_if = "Option::is_none")]
1961    pub account: Option<String>,
1962}
1963
1964/// Parameters for [`Client::get_report_estimated_hold_time`] (wire method `getReportEstimatedHoldTime`).
1965#[derive(Debug, Default, Clone, Serialize)]
1966pub struct GetReportEstimatedHoldTimeParams {
1967    #[serde(skip_serializing_if = "Option::is_none")]
1968    pub r#type: Option<String>,
1969}
1970
1971/// Parameters for [`Client::get_reseller_balance`] (wire method `getResellerBalance`).
1972#[derive(Debug, Default, Clone, Serialize)]
1973pub struct GetResellerBalanceParams {
1974    #[serde(skip_serializing_if = "Option::is_none")]
1975    pub client: Option<String>,
1976}
1977
1978/// Parameters for [`Client::get_reseller_cdr`] (wire method `getResellerCDR`).
1979#[derive(Debug, Default, Clone, Serialize)]
1980pub struct GetResellerCDRParams {
1981    #[serde(skip_serializing_if = "Option::is_none")]
1982    pub date_from: Option<String>,
1983    #[serde(skip_serializing_if = "Option::is_none")]
1984    pub date_to: Option<String>,
1985    #[serde(skip_serializing_if = "Option::is_none")]
1986    pub client: Option<i64>,
1987    #[serde(skip_serializing_if = "Option::is_none")]
1988    pub answered: Option<bool>,
1989    #[serde(skip_serializing_if = "Option::is_none")]
1990    pub noanswer: Option<bool>,
1991    #[serde(skip_serializing_if = "Option::is_none")]
1992    pub busy: Option<bool>,
1993    #[serde(skip_serializing_if = "Option::is_none")]
1994    pub failed: Option<bool>,
1995    #[serde(skip_serializing_if = "Option::is_none")]
1996    pub timezone: Option<f64>,
1997    #[serde(skip_serializing_if = "Option::is_none")]
1998    pub calltype: Option<String>,
1999    #[serde(skip_serializing_if = "Option::is_none")]
2000    pub callbilling: Option<String>,
2001    #[serde(skip_serializing_if = "Option::is_none")]
2002    pub account: Option<String>,
2003}
2004
2005/// Parameters for [`Client::get_reseller_mms`] (wire method `getResellerMMS`).
2006#[derive(Debug, Default, Clone, Serialize)]
2007pub struct GetResellerMMSParams {
2008    #[serde(skip_serializing_if = "Option::is_none")]
2009    pub mms: Option<i64>,
2010    #[serde(skip_serializing_if = "Option::is_none")]
2011    pub client: Option<i64>,
2012    #[serde(skip_serializing_if = "Option::is_none")]
2013    pub from: Option<String>,
2014    #[serde(skip_serializing_if = "Option::is_none")]
2015    pub to: Option<String>,
2016    #[serde(skip_serializing_if = "Option::is_none")]
2017    pub r#type: Option<String>,
2018    #[serde(skip_serializing_if = "Option::is_none")]
2019    pub did: Option<String>,
2020    #[serde(skip_serializing_if = "Option::is_none")]
2021    pub contact: Option<String>,
2022    #[serde(skip_serializing_if = "Option::is_none")]
2023    pub limit: Option<String>,
2024    #[serde(skip_serializing_if = "Option::is_none")]
2025    pub timezone: Option<String>,
2026    #[serde(skip_serializing_if = "Option::is_none")]
2027    pub all_messages: Option<i64>,
2028}
2029
2030/// Parameters for [`Client::get_reseller_sms`] (wire method `getResellerSMS`).
2031#[derive(Debug, Default, Clone, Serialize)]
2032pub struct GetResellerSMSParams {
2033    #[serde(skip_serializing_if = "Option::is_none")]
2034    pub sms: Option<i64>,
2035    #[serde(skip_serializing_if = "Option::is_none")]
2036    pub client: Option<i64>,
2037    #[serde(skip_serializing_if = "Option::is_none")]
2038    pub from: Option<String>,
2039    #[serde(skip_serializing_if = "Option::is_none")]
2040    pub to: Option<String>,
2041    #[serde(skip_serializing_if = "Option::is_none")]
2042    pub r#type: Option<String>,
2043    #[serde(skip_serializing_if = "Option::is_none")]
2044    pub did: Option<String>,
2045    #[serde(skip_serializing_if = "Option::is_none")]
2046    pub contact: Option<String>,
2047    #[serde(skip_serializing_if = "Option::is_none")]
2048    pub limit: Option<String>,
2049    #[serde(skip_serializing_if = "Option::is_none")]
2050    pub timezone: Option<String>,
2051    #[serde(skip_serializing_if = "Option::is_none")]
2052    pub all_messages: Option<i64>,
2053}
2054
2055/// Parameters for [`Client::get_ring_groups`] (wire method `getRingGroups`).
2056#[derive(Debug, Default, Clone, Serialize)]
2057pub struct GetRingGroupsParams {
2058    #[serde(skip_serializing_if = "Option::is_none")]
2059    pub ring_group: Option<String>,
2060}
2061
2062/// Parameters for [`Client::get_ring_strategies`] (wire method `getRingStrategies`).
2063#[derive(Debug, Default, Clone, Serialize)]
2064pub struct GetRingStrategiesParams {
2065    #[serde(skip_serializing_if = "Option::is_none")]
2066    pub strategy: Option<String>,
2067}
2068
2069/// Parameters for [`Client::get_routes`] (wire method `getRoutes`).
2070#[derive(Debug, Default, Clone, Serialize)]
2071pub struct GetRoutesParams {
2072    #[serde(skip_serializing_if = "Option::is_none")]
2073    pub route: Option<String>,
2074}
2075
2076/// Parameters for [`Client::get_sip_uris`] (wire method `getSIPURIs`).
2077#[derive(Debug, Default, Clone, Serialize)]
2078pub struct GetSIPURIsParams {
2079    #[serde(skip_serializing_if = "Option::is_none")]
2080    pub sipuri: Option<String>,
2081}
2082
2083/// Parameters for [`Client::get_sms`] (wire method `getSMS`).
2084#[derive(Debug, Default, Clone, Serialize)]
2085pub struct GetSMSParams {
2086    #[serde(skip_serializing_if = "Option::is_none")]
2087    pub sms: Option<i64>,
2088    #[serde(skip_serializing_if = "Option::is_none")]
2089    pub from: Option<String>,
2090    #[serde(skip_serializing_if = "Option::is_none")]
2091    pub to: Option<String>,
2092    #[serde(skip_serializing_if = "Option::is_none")]
2093    pub r#type: Option<String>,
2094    #[serde(skip_serializing_if = "Option::is_none")]
2095    pub did: Option<String>,
2096    #[serde(skip_serializing_if = "Option::is_none")]
2097    pub contact: Option<String>,
2098    #[serde(skip_serializing_if = "Option::is_none")]
2099    pub limit: Option<String>,
2100    #[serde(skip_serializing_if = "Option::is_none")]
2101    pub timezone: Option<String>,
2102    #[serde(skip_serializing_if = "Option::is_none")]
2103    pub all_messages: Option<i64>,
2104}
2105
2106/// Parameters for [`Client::get_servers_info`] (wire method `getServersInfo`).
2107#[derive(Debug, Default, Clone, Serialize)]
2108pub struct GetServersInfoParams {
2109    #[serde(skip_serializing_if = "Option::is_none")]
2110    pub server_pop: Option<String>,
2111}
2112
2113/// Parameters for [`Client::get_states`] (wire method `getStates`).
2114#[derive(Debug, Default, Clone, Serialize)]
2115pub struct GetStatesParams {}
2116
2117/// Parameters for [`Client::get_static_members`] (wire method `getStaticMembers`).
2118#[derive(Debug, Default, Clone, Serialize)]
2119pub struct GetStaticMembersParams {
2120    #[serde(skip_serializing_if = "Option::is_none")]
2121    pub queue: Option<String>,
2122    #[serde(skip_serializing_if = "Option::is_none")]
2123    pub member: Option<String>,
2124}
2125
2126/// Parameters for [`Client::get_sub_accounts`] (wire method `getSubAccounts`).
2127#[derive(Debug, Default, Clone, Serialize)]
2128pub struct GetSubAccountsParams {
2129    #[serde(skip_serializing_if = "Option::is_none")]
2130    pub account: Option<String>,
2131}
2132
2133/// Parameters for [`Client::get_termination_rates`] (wire method `getTerminationRates`).
2134#[derive(Debug, Default, Clone, Serialize)]
2135pub struct GetTerminationRatesParams {
2136    #[serde(skip_serializing_if = "Option::is_none")]
2137    pub query: Option<String>,
2138    #[serde(skip_serializing_if = "Option::is_none")]
2139    pub route: Option<i64>,
2140}
2141
2142/// Parameters for [`Client::get_time_conditions`] (wire method `getTimeConditions`).
2143#[derive(Debug, Default, Clone, Serialize)]
2144pub struct GetTimeConditionsParams {
2145    #[serde(skip_serializing_if = "Option::is_none")]
2146    pub timecondition: Option<i64>,
2147}
2148
2149/// Parameters for [`Client::get_timezones`] (wire method `getTimezones`).
2150#[derive(Debug, Default, Clone, Serialize)]
2151pub struct GetTimezonesParams {
2152    #[serde(skip_serializing_if = "Option::is_none")]
2153    pub timezone: Option<String>,
2154}
2155
2156/// Parameters for [`Client::get_transaction_history`] (wire method `getTransactionHistory`).
2157#[derive(Debug, Default, Clone, Serialize)]
2158pub struct GetTransactionHistoryParams {
2159    #[serde(skip_serializing_if = "Option::is_none")]
2160    pub date_from: Option<String>,
2161    #[serde(skip_serializing_if = "Option::is_none")]
2162    pub date_to: Option<String>,
2163}
2164
2165/// Parameters for [`Client::get_vpris`] (wire method `getVPRIs`).
2166#[derive(Debug, Default, Clone, Serialize)]
2167pub struct GetVPRIsParams {}
2168
2169/// Parameters for [`Client::get_voicemail_attachment_formats`] (wire method `getVoicemailAttachmentFormats`).
2170#[derive(Debug, Default, Clone, Serialize)]
2171pub struct GetVoicemailAttachmentFormatsParams {
2172    #[serde(skip_serializing_if = "Option::is_none")]
2173    pub email_attachment_format: Option<EmailAttachmentFormat>,
2174}
2175
2176/// Parameters for [`Client::get_voicemail_folders`] (wire method `getVoicemailFolders`).
2177#[derive(Debug, Default, Clone, Serialize)]
2178pub struct GetVoicemailFoldersParams {
2179    #[serde(skip_serializing_if = "Option::is_none")]
2180    pub folder: Option<VoicemailFolder>,
2181}
2182
2183/// Parameters for [`Client::get_voicemail_message_file`] (wire method `getVoicemailMessageFile`).
2184#[derive(Debug, Default, Clone, Serialize)]
2185pub struct GetVoicemailMessageFileParams {
2186    #[serde(skip_serializing_if = "Option::is_none")]
2187    pub mailbox: Option<String>,
2188    #[serde(skip_serializing_if = "Option::is_none")]
2189    pub folder: Option<VoicemailFolder>,
2190    #[serde(skip_serializing_if = "Option::is_none")]
2191    pub message_num: Option<i64>,
2192}
2193
2194/// Parameters for [`Client::get_voicemail_messages`] (wire method `getVoicemailMessages`).
2195#[derive(Debug, Default, Clone, Serialize)]
2196pub struct GetVoicemailMessagesParams {
2197    #[serde(skip_serializing_if = "Option::is_none")]
2198    pub mailbox: Option<String>,
2199    #[serde(skip_serializing_if = "Option::is_none")]
2200    pub folder: Option<VoicemailFolder>,
2201    #[serde(skip_serializing_if = "Option::is_none")]
2202    pub date_from: Option<String>,
2203    #[serde(skip_serializing_if = "Option::is_none")]
2204    pub date_to: Option<String>,
2205}
2206
2207/// Parameters for [`Client::get_voicemail_setups`] (wire method `getVoicemailSetups`).
2208#[derive(Debug, Default, Clone, Serialize)]
2209pub struct GetVoicemailSetupsParams {
2210    #[serde(skip_serializing_if = "Option::is_none")]
2211    pub voicemailsetup: Option<String>,
2212}
2213
2214/// Parameters for [`Client::get_voicemail_transcriptions`] (wire method `getVoicemailTranscriptions`).
2215#[derive(Debug, Default, Clone, Serialize)]
2216pub struct GetVoicemailTranscriptionsParams {
2217    #[serde(skip_serializing_if = "Option::is_none")]
2218    pub account: Option<String>,
2219    #[serde(skip_serializing_if = "Option::is_none")]
2220    pub mailbox: Option<String>,
2221    #[serde(skip_serializing_if = "Option::is_none")]
2222    pub date_to: Option<String>,
2223    #[serde(skip_serializing_if = "Option::is_none")]
2224    pub date_from: Option<String>,
2225    #[serde(skip_serializing_if = "Option::is_none")]
2226    pub folder: Option<VoicemailFolder>,
2227}
2228
2229/// Parameters for [`Client::get_voicemails`] (wire method `getVoicemails`).
2230#[derive(Debug, Default, Clone, Serialize)]
2231pub struct GetVoicemailsParams {
2232    #[serde(skip_serializing_if = "Option::is_none")]
2233    pub mailbox: Option<String>,
2234}
2235
2236/// Parameters for [`Client::mail_fax_message_pdf`] (wire method `mailFaxMessagePDF`).
2237#[derive(Debug, Default, Clone, Serialize)]
2238pub struct MailFAXMessagePDFParams {
2239    #[serde(skip_serializing_if = "Option::is_none")]
2240    pub id: Option<i64>,
2241    #[serde(skip_serializing_if = "Option::is_none")]
2242    pub email: Option<String>,
2243}
2244
2245/// Parameters for [`Client::mark_listened_voicemail_message`] (wire method `markListenedVoicemailMessage`).
2246#[derive(Debug, Default, Clone, Serialize)]
2247pub struct MarkListenedVoicemailMessageParams {
2248    #[serde(skip_serializing_if = "Option::is_none")]
2249    pub mailbox: Option<String>,
2250    #[serde(skip_serializing_if = "Option::is_none")]
2251    pub folder: Option<VoicemailFolder>,
2252    #[serde(skip_serializing_if = "Option::is_none")]
2253    pub message_num: Option<i64>,
2254    #[serde(skip_serializing_if = "Option::is_none")]
2255    pub listened: Option<String>,
2256}
2257
2258/// Parameters for [`Client::mark_urgent_voicemail_message`] (wire method `markUrgentVoicemailMessage`).
2259#[derive(Debug, Default, Clone, Serialize)]
2260pub struct MarkUrgentVoicemailMessageParams {
2261    #[serde(skip_serializing_if = "Option::is_none")]
2262    pub mailbox: Option<String>,
2263    #[serde(skip_serializing_if = "Option::is_none")]
2264    pub folder: Option<VoicemailFolder>,
2265    #[serde(skip_serializing_if = "Option::is_none")]
2266    pub message_num: Option<i64>,
2267    #[serde(skip_serializing_if = "Option::is_none")]
2268    pub urgent: Option<String>,
2269}
2270
2271/// Parameters for [`Client::move_fax_message`] (wire method `moveFaxMessage`).
2272#[derive(Debug, Default, Clone, Serialize)]
2273pub struct MoveFAXMessageParams {
2274    #[serde(skip_serializing_if = "Option::is_none")]
2275    pub fax_id: Option<i64>,
2276    #[serde(skip_serializing_if = "Option::is_none")]
2277    pub folder_id: Option<i64>,
2278    #[serde(skip_serializing_if = "Option::is_none")]
2279    pub test: Option<i64>,
2280}
2281
2282/// Parameters for [`Client::move_folder_voicemail_message`] (wire method `moveFolderVoicemailMessage`).
2283#[derive(Debug, Default, Clone, Serialize)]
2284pub struct MoveFolderVoicemailMessageParams {
2285    #[serde(skip_serializing_if = "Option::is_none")]
2286    pub mailbox: Option<String>,
2287    #[serde(skip_serializing_if = "Option::is_none")]
2288    pub folder: Option<VoicemailFolder>,
2289    #[serde(skip_serializing_if = "Option::is_none")]
2290    pub message_num: Option<i64>,
2291    #[serde(skip_serializing_if = "Option::is_none")]
2292    pub new_folder: Option<String>,
2293}
2294
2295/// Parameters for [`Client::order_did`] (wire method `orderDID`).
2296#[derive(Debug, Default, Clone, Serialize)]
2297pub struct OrderDIDParams {
2298    #[serde(skip_serializing_if = "Option::is_none")]
2299    pub did: Option<String>,
2300    #[serde(skip_serializing_if = "Option::is_none")]
2301    pub routing: Option<crate::Routing>,
2302    #[serde(skip_serializing_if = "Option::is_none")]
2303    pub failover_busy: Option<crate::Routing>,
2304    #[serde(skip_serializing_if = "Option::is_none")]
2305    pub failover_unreachable: Option<crate::Routing>,
2306    #[serde(skip_serializing_if = "Option::is_none")]
2307    pub failover_noanswer: Option<crate::Routing>,
2308    #[serde(skip_serializing_if = "Option::is_none")]
2309    pub voicemail: Option<String>,
2310    #[serde(skip_serializing_if = "Option::is_none")]
2311    pub pop: Option<i64>,
2312    #[serde(skip_serializing_if = "Option::is_none")]
2313    pub dialtime: Option<i64>,
2314    #[serde(skip_serializing_if = "Option::is_none")]
2315    pub cnam: Option<i64>,
2316    #[serde(skip_serializing_if = "Option::is_none")]
2317    pub callerid_prefix: Option<String>,
2318    #[serde(skip_serializing_if = "Option::is_none")]
2319    pub note: Option<String>,
2320    #[serde(skip_serializing_if = "Option::is_none")]
2321    pub billing_type: Option<i64>,
2322    #[serde(skip_serializing_if = "Option::is_none")]
2323    pub account: Option<String>,
2324    #[serde(skip_serializing_if = "Option::is_none")]
2325    pub monthly: Option<String>,
2326    #[serde(skip_serializing_if = "Option::is_none")]
2327    pub setup: Option<String>,
2328    #[serde(skip_serializing_if = "Option::is_none")]
2329    pub minute: Option<String>,
2330    #[serde(skip_serializing_if = "Option::is_none")]
2331    pub test: Option<bool>,
2332}
2333
2334/// Parameters for [`Client::order_did_international_geographic`] (wire method `orderDIDInternationalGeographic`).
2335#[derive(Debug, Default, Clone, Serialize)]
2336pub struct OrderDIDInternationalGeographicParams {
2337    #[serde(skip_serializing_if = "Option::is_none")]
2338    pub location_id: Option<String>,
2339    #[serde(skip_serializing_if = "Option::is_none")]
2340    pub quantity: Option<i64>,
2341    #[serde(skip_serializing_if = "Option::is_none")]
2342    pub routing: Option<crate::Routing>,
2343    #[serde(skip_serializing_if = "Option::is_none")]
2344    pub failover_busy: Option<crate::Routing>,
2345    #[serde(skip_serializing_if = "Option::is_none")]
2346    pub failover_unreachable: Option<crate::Routing>,
2347    #[serde(skip_serializing_if = "Option::is_none")]
2348    pub failover_noanswer: Option<crate::Routing>,
2349    #[serde(skip_serializing_if = "Option::is_none")]
2350    pub voicemail: Option<String>,
2351    #[serde(skip_serializing_if = "Option::is_none")]
2352    pub pop: Option<i64>,
2353    #[serde(skip_serializing_if = "Option::is_none")]
2354    pub dialtime: Option<i64>,
2355    #[serde(skip_serializing_if = "Option::is_none")]
2356    pub cnam: Option<String>,
2357    #[serde(skip_serializing_if = "Option::is_none")]
2358    pub callerid_prefix: Option<String>,
2359    #[serde(skip_serializing_if = "Option::is_none")]
2360    pub billing_type: Option<i64>,
2361    #[serde(skip_serializing_if = "Option::is_none")]
2362    pub note: Option<String>,
2363    #[serde(skip_serializing_if = "Option::is_none")]
2364    pub account: Option<String>,
2365    #[serde(skip_serializing_if = "Option::is_none")]
2366    pub monthly: Option<String>,
2367    #[serde(skip_serializing_if = "Option::is_none")]
2368    pub setup: Option<String>,
2369    #[serde(skip_serializing_if = "Option::is_none")]
2370    pub minute: Option<String>,
2371    #[serde(skip_serializing_if = "Option::is_none")]
2372    pub test: Option<i64>,
2373}
2374
2375/// Parameters for [`Client::order_did_international_national`] (wire method `orderDIDInternationalNational`).
2376#[derive(Debug, Default, Clone, Serialize)]
2377pub struct OrderDIDInternationalNationalParams {
2378    #[serde(skip_serializing_if = "Option::is_none")]
2379    pub location_id: Option<String>,
2380    #[serde(skip_serializing_if = "Option::is_none")]
2381    pub quantity: Option<i64>,
2382    #[serde(skip_serializing_if = "Option::is_none")]
2383    pub routing: Option<crate::Routing>,
2384    #[serde(skip_serializing_if = "Option::is_none")]
2385    pub failover_busy: Option<crate::Routing>,
2386    #[serde(skip_serializing_if = "Option::is_none")]
2387    pub failover_unreachable: Option<crate::Routing>,
2388    #[serde(skip_serializing_if = "Option::is_none")]
2389    pub failover_noanswer: Option<crate::Routing>,
2390    #[serde(skip_serializing_if = "Option::is_none")]
2391    pub voicemail: Option<String>,
2392    #[serde(skip_serializing_if = "Option::is_none")]
2393    pub pop: Option<i64>,
2394    #[serde(skip_serializing_if = "Option::is_none")]
2395    pub dialtime: Option<i64>,
2396    #[serde(skip_serializing_if = "Option::is_none")]
2397    pub cnam: Option<String>,
2398    #[serde(skip_serializing_if = "Option::is_none")]
2399    pub callerid_prefix: Option<String>,
2400    #[serde(skip_serializing_if = "Option::is_none")]
2401    pub billing_type: Option<i64>,
2402    #[serde(skip_serializing_if = "Option::is_none")]
2403    pub note: Option<String>,
2404    #[serde(skip_serializing_if = "Option::is_none")]
2405    pub account: Option<String>,
2406    #[serde(skip_serializing_if = "Option::is_none")]
2407    pub monthly: Option<String>,
2408    #[serde(skip_serializing_if = "Option::is_none")]
2409    pub setup: Option<String>,
2410    #[serde(skip_serializing_if = "Option::is_none")]
2411    pub minute: Option<String>,
2412    #[serde(skip_serializing_if = "Option::is_none")]
2413    pub test: Option<i64>,
2414}
2415
2416/// Parameters for [`Client::order_did_international_toll_free`] (wire method `orderDIDInternationalTollFree`).
2417#[derive(Debug, Default, Clone, Serialize)]
2418pub struct OrderDIDInternationalTollFreeParams {
2419    #[serde(skip_serializing_if = "Option::is_none")]
2420    pub location_id: Option<String>,
2421    #[serde(skip_serializing_if = "Option::is_none")]
2422    pub quantity: Option<i64>,
2423    #[serde(skip_serializing_if = "Option::is_none")]
2424    pub routing: Option<crate::Routing>,
2425    #[serde(skip_serializing_if = "Option::is_none")]
2426    pub failover_busy: Option<crate::Routing>,
2427    #[serde(skip_serializing_if = "Option::is_none")]
2428    pub failover_unreachable: Option<crate::Routing>,
2429    #[serde(skip_serializing_if = "Option::is_none")]
2430    pub failover_noanswer: Option<crate::Routing>,
2431    #[serde(skip_serializing_if = "Option::is_none")]
2432    pub voicemail: Option<String>,
2433    #[serde(skip_serializing_if = "Option::is_none")]
2434    pub pop: Option<i64>,
2435    #[serde(skip_serializing_if = "Option::is_none")]
2436    pub dialtime: Option<i64>,
2437    #[serde(skip_serializing_if = "Option::is_none")]
2438    pub cnam: Option<String>,
2439    #[serde(skip_serializing_if = "Option::is_none")]
2440    pub callerid_prefix: Option<String>,
2441    #[serde(skip_serializing_if = "Option::is_none")]
2442    pub note: Option<String>,
2443    #[serde(skip_serializing_if = "Option::is_none")]
2444    pub account: Option<String>,
2445    #[serde(skip_serializing_if = "Option::is_none")]
2446    pub monthly: Option<String>,
2447    #[serde(skip_serializing_if = "Option::is_none")]
2448    pub setup: Option<String>,
2449    #[serde(skip_serializing_if = "Option::is_none")]
2450    pub minute: Option<String>,
2451    #[serde(skip_serializing_if = "Option::is_none")]
2452    pub test: Option<i64>,
2453}
2454
2455/// Parameters for [`Client::order_did_virtual`] (wire method `orderDIDVirtual`).
2456#[derive(Debug, Default, Clone, Serialize)]
2457pub struct OrderDIDVirtualParams {
2458    #[serde(skip_serializing_if = "Option::is_none")]
2459    pub digits: Option<i64>,
2460    #[serde(skip_serializing_if = "Option::is_none")]
2461    pub routing: Option<crate::Routing>,
2462    #[serde(skip_serializing_if = "Option::is_none")]
2463    pub failover_busy: Option<crate::Routing>,
2464    #[serde(skip_serializing_if = "Option::is_none")]
2465    pub failover_unreachable: Option<crate::Routing>,
2466    #[serde(skip_serializing_if = "Option::is_none")]
2467    pub failover_noanswer: Option<crate::Routing>,
2468    #[serde(skip_serializing_if = "Option::is_none")]
2469    pub voicemail: Option<String>,
2470    #[serde(skip_serializing_if = "Option::is_none")]
2471    pub pop: Option<i64>,
2472    #[serde(skip_serializing_if = "Option::is_none")]
2473    pub dialtime: Option<i64>,
2474    #[serde(skip_serializing_if = "Option::is_none")]
2475    pub cnam: Option<String>,
2476    #[serde(skip_serializing_if = "Option::is_none")]
2477    pub callerid_prefix: Option<String>,
2478    #[serde(skip_serializing_if = "Option::is_none")]
2479    pub note: Option<String>,
2480    #[serde(skip_serializing_if = "Option::is_none")]
2481    pub account: Option<String>,
2482    #[serde(skip_serializing_if = "Option::is_none")]
2483    pub monthly: Option<String>,
2484    #[serde(skip_serializing_if = "Option::is_none")]
2485    pub setup: Option<String>,
2486    #[serde(skip_serializing_if = "Option::is_none")]
2487    pub minute: Option<String>,
2488    #[serde(skip_serializing_if = "Option::is_none")]
2489    pub test: Option<i64>,
2490}
2491
2492/// Parameters for [`Client::order_fax_number`] (wire method `orderFaxNumber`).
2493#[derive(Debug, Default, Clone, Serialize)]
2494pub struct OrderFAXNumberParams {
2495    #[serde(skip_serializing_if = "Option::is_none")]
2496    pub location: Option<i64>,
2497    #[serde(skip_serializing_if = "Option::is_none")]
2498    pub quantity: Option<i64>,
2499    #[serde(skip_serializing_if = "Option::is_none")]
2500    pub email: Option<String>,
2501    #[serde(skip_serializing_if = "Option::is_none")]
2502    pub email_enable: Option<String>,
2503    #[serde(skip_serializing_if = "Option::is_none")]
2504    pub email_attach_file: Option<String>,
2505    #[serde(skip_serializing_if = "Option::is_none")]
2506    pub url_callback: Option<String>,
2507    #[serde(skip_serializing_if = "Option::is_none")]
2508    pub url_callback_enable: Option<String>,
2509    #[serde(skip_serializing_if = "Option::is_none")]
2510    pub url_callback_retry: Option<String>,
2511    #[serde(skip_serializing_if = "Option::is_none")]
2512    pub test: Option<i64>,
2513}
2514
2515/// Parameters for [`Client::order_toll_free`] (wire method `orderTollFree`).
2516#[derive(Debug, Default, Clone, Serialize)]
2517pub struct OrderTollFreeParams {
2518    #[serde(skip_serializing_if = "Option::is_none")]
2519    pub did: Option<String>,
2520    #[serde(skip_serializing_if = "Option::is_none")]
2521    pub routing: Option<crate::Routing>,
2522    #[serde(skip_serializing_if = "Option::is_none")]
2523    pub failover_busy: Option<crate::Routing>,
2524    #[serde(skip_serializing_if = "Option::is_none")]
2525    pub failover_unreachable: Option<crate::Routing>,
2526    #[serde(skip_serializing_if = "Option::is_none")]
2527    pub failover_noanswer: Option<crate::Routing>,
2528    #[serde(skip_serializing_if = "Option::is_none")]
2529    pub voicemail: Option<String>,
2530    #[serde(skip_serializing_if = "Option::is_none")]
2531    pub pop: Option<i64>,
2532    #[serde(skip_serializing_if = "Option::is_none")]
2533    pub dialtime: Option<i64>,
2534    #[serde(skip_serializing_if = "Option::is_none")]
2535    pub cnam: Option<i64>,
2536    #[serde(skip_serializing_if = "Option::is_none")]
2537    pub callerid_prefix: Option<String>,
2538    #[serde(skip_serializing_if = "Option::is_none")]
2539    pub note: Option<String>,
2540    #[serde(skip_serializing_if = "Option::is_none")]
2541    pub account: Option<String>,
2542    #[serde(skip_serializing_if = "Option::is_none")]
2543    pub monthly: Option<String>,
2544    #[serde(skip_serializing_if = "Option::is_none")]
2545    pub setup: Option<String>,
2546    #[serde(skip_serializing_if = "Option::is_none")]
2547    pub minute: Option<String>,
2548    #[serde(skip_serializing_if = "Option::is_none")]
2549    pub test: Option<bool>,
2550}
2551
2552/// Parameters for [`Client::order_vanity`] (wire method `orderVanity`).
2553#[derive(Debug, Default, Clone, Serialize)]
2554pub struct OrderVanityParams {
2555    #[serde(skip_serializing_if = "Option::is_none")]
2556    pub did: Option<String>,
2557    #[serde(skip_serializing_if = "Option::is_none")]
2558    pub routing: Option<crate::Routing>,
2559    #[serde(skip_serializing_if = "Option::is_none")]
2560    pub failover_busy: Option<crate::Routing>,
2561    #[serde(skip_serializing_if = "Option::is_none")]
2562    pub failover_unreachable: Option<crate::Routing>,
2563    #[serde(skip_serializing_if = "Option::is_none")]
2564    pub failover_noanswer: Option<crate::Routing>,
2565    #[serde(skip_serializing_if = "Option::is_none")]
2566    pub voicemail: Option<String>,
2567    #[serde(skip_serializing_if = "Option::is_none")]
2568    pub pop: Option<i64>,
2569    #[serde(skip_serializing_if = "Option::is_none")]
2570    pub dialtime: Option<i64>,
2571    #[serde(skip_serializing_if = "Option::is_none")]
2572    pub cnam: Option<i64>,
2573    #[serde(skip_serializing_if = "Option::is_none")]
2574    pub callerid_prefix: Option<String>,
2575    #[serde(skip_serializing_if = "Option::is_none")]
2576    pub note: Option<String>,
2577    #[serde(skip_serializing_if = "Option::is_none")]
2578    pub carrier: Option<i64>,
2579    #[serde(skip_serializing_if = "Option::is_none")]
2580    pub account: Option<String>,
2581    #[serde(skip_serializing_if = "Option::is_none")]
2582    pub monthly: Option<String>,
2583    #[serde(skip_serializing_if = "Option::is_none")]
2584    pub setup: Option<String>,
2585    #[serde(skip_serializing_if = "Option::is_none")]
2586    pub minute: Option<String>,
2587    #[serde(skip_serializing_if = "Option::is_none")]
2588    pub test: Option<bool>,
2589}
2590
2591/// Parameters for [`Client::remove_did_vpri`] (wire method `removeDIDvPRI`).
2592#[derive(Debug, Default, Clone, Serialize)]
2593pub struct RemoveDIDvPRIParams {
2594    #[serde(skip_serializing_if = "Option::is_none")]
2595    pub vpri: Option<i64>,
2596    #[serde(skip_serializing_if = "Option::is_none")]
2597    pub did: Option<String>,
2598}
2599
2600/// Parameters for [`Client::search_dids_can`] (wire method `searchDIDsCAN`).
2601#[derive(Debug, Default, Clone, Serialize)]
2602pub struct SearchDIDsCANParams {
2603    #[serde(skip_serializing_if = "Option::is_none")]
2604    pub province: Option<String>,
2605    #[serde(skip_serializing_if = "Option::is_none")]
2606    pub r#type: Option<String>,
2607    #[serde(skip_serializing_if = "Option::is_none")]
2608    pub query: Option<String>,
2609}
2610
2611/// Parameters for [`Client::search_dids_usa`] (wire method `searchDIDsUSA`).
2612#[derive(Debug, Default, Clone, Serialize)]
2613pub struct SearchDIDsUSAParams {
2614    #[serde(skip_serializing_if = "Option::is_none")]
2615    pub state: Option<String>,
2616    #[serde(skip_serializing_if = "Option::is_none")]
2617    pub r#type: Option<String>,
2618    #[serde(skip_serializing_if = "Option::is_none")]
2619    pub query: Option<String>,
2620}
2621
2622/// Parameters for [`Client::search_fax_area_code_can`] (wire method `searchFaxAreaCodeCAN`).
2623#[derive(Debug, Default, Clone, Serialize)]
2624pub struct SearchFAXAreaCodeCANParams {
2625    #[serde(skip_serializing_if = "Option::is_none")]
2626    pub area_code: Option<i64>,
2627}
2628
2629/// Parameters for [`Client::search_fax_area_code_usa`] (wire method `searchFaxAreaCodeUSA`).
2630#[derive(Debug, Default, Clone, Serialize)]
2631pub struct SearchFAXAreaCodeUSAParams {
2632    #[serde(skip_serializing_if = "Option::is_none")]
2633    pub area_code: Option<i64>,
2634}
2635
2636/// Parameters for [`Client::search_toll_free_can_us`] (wire method `searchTollFreeCanUS`).
2637#[derive(Debug, Default, Clone, Serialize)]
2638pub struct SearchTollFreeCANUSParams {
2639    #[serde(skip_serializing_if = "Option::is_none")]
2640    pub r#type: Option<String>,
2641    #[serde(skip_serializing_if = "Option::is_none")]
2642    pub query: Option<String>,
2643}
2644
2645/// Parameters for [`Client::search_toll_free_usa`] (wire method `searchTollFreeUSA`).
2646#[derive(Debug, Default, Clone, Serialize)]
2647pub struct SearchTollFreeUSAParams {
2648    #[serde(skip_serializing_if = "Option::is_none")]
2649    pub r#type: Option<String>,
2650    #[serde(skip_serializing_if = "Option::is_none")]
2651    pub query: Option<String>,
2652}
2653
2654/// Parameters for [`Client::search_vanity`] (wire method `searchVanity`).
2655#[derive(Debug, Default, Clone, Serialize)]
2656pub struct SearchVanityParams {
2657    #[serde(skip_serializing_if = "Option::is_none")]
2658    pub r#type: Option<String>,
2659    #[serde(skip_serializing_if = "Option::is_none")]
2660    pub query: Option<String>,
2661}
2662
2663/// Parameters for [`Client::send_call_recording_email`] (wire method `sendCallRecordingEmail`).
2664#[derive(Debug, Default, Clone, Serialize)]
2665pub struct SendCallRecordingEmailParams {
2666    #[serde(skip_serializing_if = "Option::is_none")]
2667    pub callrecording: Option<String>,
2668    #[serde(skip_serializing_if = "Option::is_none")]
2669    pub account: Option<String>,
2670    #[serde(skip_serializing_if = "Option::is_none")]
2671    pub email: Option<String>,
2672}
2673
2674/// Parameters for [`Client::send_fax_message`] (wire method `sendFaxMessage`).
2675#[derive(Debug, Default, Clone, Serialize)]
2676pub struct SendFAXMessageParams {
2677    #[serde(skip_serializing_if = "Option::is_none")]
2678    pub to_number: Option<String>,
2679    #[serde(skip_serializing_if = "Option::is_none")]
2680    pub from_name: Option<String>,
2681    #[serde(skip_serializing_if = "Option::is_none")]
2682    pub from_number: Option<String>,
2683    #[serde(skip_serializing_if = "Option::is_none")]
2684    pub send_email_enabled: Option<i64>,
2685    #[serde(skip_serializing_if = "Option::is_none")]
2686    pub send_email: Option<String>,
2687    #[serde(skip_serializing_if = "Option::is_none")]
2688    pub station_id: Option<String>,
2689    #[serde(skip_serializing_if = "Option::is_none")]
2690    pub file: Option<String>,
2691    #[serde(skip_serializing_if = "Option::is_none")]
2692    pub test: Option<i64>,
2693}
2694
2695/// Parameters for [`Client::send_mms`] (wire method `sendMMS`).
2696#[derive(Debug, Default, Clone, Serialize)]
2697pub struct SendMMSParams {
2698    #[serde(skip_serializing_if = "Option::is_none")]
2699    pub did: Option<String>,
2700    #[serde(skip_serializing_if = "Option::is_none")]
2701    pub dst: Option<String>,
2702    #[serde(skip_serializing_if = "Option::is_none")]
2703    pub message: Option<String>,
2704    #[serde(skip_serializing_if = "Option::is_none")]
2705    pub media1: Option<String>,
2706    #[serde(skip_serializing_if = "Option::is_none")]
2707    pub media2: Option<String>,
2708    #[serde(skip_serializing_if = "Option::is_none")]
2709    pub media3: Option<String>,
2710}
2711
2712/// Parameters for [`Client::send_sms`] (wire method `sendSMS`).
2713#[derive(Debug, Default, Clone, Serialize)]
2714pub struct SendSMSParams {
2715    #[serde(skip_serializing_if = "Option::is_none")]
2716    pub did: Option<String>,
2717    #[serde(skip_serializing_if = "Option::is_none")]
2718    pub dst: Option<String>,
2719    #[serde(skip_serializing_if = "Option::is_none")]
2720    pub message: Option<String>,
2721}
2722
2723/// Parameters for [`Client::send_voicemail_email`] (wire method `sendVoicemailEmail`).
2724#[derive(Debug, Default, Clone, Serialize)]
2725pub struct SendVoicemailEmailParams {
2726    #[serde(skip_serializing_if = "Option::is_none")]
2727    pub mailbox: Option<String>,
2728    #[serde(skip_serializing_if = "Option::is_none")]
2729    pub folder: Option<VoicemailFolder>,
2730    #[serde(skip_serializing_if = "Option::is_none")]
2731    pub message_num: Option<i64>,
2732    #[serde(skip_serializing_if = "Option::is_none")]
2733    pub email_address: Option<String>,
2734}
2735
2736/// Parameters for [`Client::set_call_hunting`] (wire method `setCallHunting`).
2737#[derive(Debug, Default, Clone, Serialize)]
2738pub struct SetCallHuntingParams {
2739    #[serde(skip_serializing_if = "Option::is_none")]
2740    pub callhunting: Option<i64>,
2741    #[serde(skip_serializing_if = "Option::is_none")]
2742    pub description: Option<String>,
2743    #[serde(skip_serializing_if = "Option::is_none")]
2744    pub music: Option<String>,
2745    #[serde(skip_serializing_if = "Option::is_none")]
2746    pub recording: Option<String>,
2747    #[serde(skip_serializing_if = "Option::is_none")]
2748    pub language: Option<String>,
2749    #[serde(skip_serializing_if = "Option::is_none")]
2750    pub order: Option<RingGroupOrder>,
2751    #[serde(skip_serializing_if = "Option::is_none")]
2752    pub members: Option<String>,
2753    #[serde(skip_serializing_if = "Option::is_none")]
2754    pub ring_time: Option<String>,
2755    #[serde(skip_serializing_if = "Option::is_none")]
2756    pub press: Option<String>,
2757}
2758
2759/// Parameters for [`Client::set_call_parking`] (wire method `setCallParking`).
2760#[derive(Debug, Default, Clone, Serialize)]
2761pub struct SetCallParkingParams {
2762    #[serde(skip_serializing_if = "Option::is_none")]
2763    pub callparking: Option<i64>,
2764    #[serde(skip_serializing_if = "Option::is_none")]
2765    pub name: Option<String>,
2766    #[serde(skip_serializing_if = "Option::is_none")]
2767    pub timeout: Option<i64>,
2768    #[serde(skip_serializing_if = "Option::is_none")]
2769    pub music: Option<String>,
2770    #[serde(skip_serializing_if = "Option::is_none")]
2771    pub failover: Option<String>,
2772    #[serde(skip_serializing_if = "Option::is_none")]
2773    pub language: Option<String>,
2774    #[serde(skip_serializing_if = "Option::is_none")]
2775    pub destination: Option<String>,
2776    #[serde(skip_serializing_if = "Option::is_none")]
2777    pub delay: Option<i64>,
2778}
2779
2780/// Parameters for [`Client::set_callback`] (wire method `setCallback`).
2781#[derive(Debug, Default, Clone, Serialize)]
2782pub struct SetCallbackParams {
2783    #[serde(skip_serializing_if = "Option::is_none")]
2784    pub callback: Option<String>,
2785    #[serde(skip_serializing_if = "Option::is_none")]
2786    pub description: Option<String>,
2787    #[serde(skip_serializing_if = "Option::is_none")]
2788    pub number: Option<i64>,
2789    #[serde(skip_serializing_if = "Option::is_none")]
2790    pub delay_before: Option<i64>,
2791    #[serde(skip_serializing_if = "Option::is_none")]
2792    pub response_timeout: Option<i64>,
2793    #[serde(skip_serializing_if = "Option::is_none")]
2794    pub digit_timeout: Option<i64>,
2795    #[serde(skip_serializing_if = "Option::is_none")]
2796    pub callerid_number: Option<String>,
2797}
2798
2799/// Parameters for [`Client::set_caller_id_filtering`] (wire method `setCallerIDFiltering`).
2800#[derive(Debug, Default, Clone, Serialize)]
2801pub struct SetCallerIDFilteringParams {
2802    #[serde(skip_serializing_if = "Option::is_none")]
2803    pub filter: Option<String>,
2804    #[serde(skip_serializing_if = "Option::is_none")]
2805    pub callerid: Option<String>,
2806    #[serde(skip_serializing_if = "Option::is_none")]
2807    pub did: Option<String>,
2808    #[serde(skip_serializing_if = "Option::is_none")]
2809    pub routing: Option<crate::Routing>,
2810    #[serde(skip_serializing_if = "Option::is_none")]
2811    pub failover_unreachable: Option<crate::Routing>,
2812    #[serde(skip_serializing_if = "Option::is_none")]
2813    pub failover_busy: Option<crate::Routing>,
2814    #[serde(skip_serializing_if = "Option::is_none")]
2815    pub failover_noanswer: Option<crate::Routing>,
2816    #[serde(skip_serializing_if = "Option::is_none")]
2817    pub note: Option<String>,
2818}
2819
2820/// Parameters for [`Client::set_client`] (wire method `setClient`).
2821#[derive(Debug, Default, Clone, Serialize)]
2822pub struct SetClientParams {
2823    #[serde(skip_serializing_if = "Option::is_none")]
2824    pub client: Option<i64>,
2825    #[serde(skip_serializing_if = "Option::is_none")]
2826    pub email: Option<String>,
2827    #[serde(skip_serializing_if = "Option::is_none")]
2828    pub password: Option<String>,
2829    #[serde(skip_serializing_if = "Option::is_none")]
2830    pub company: Option<String>,
2831    #[serde(skip_serializing_if = "Option::is_none")]
2832    pub firstname: Option<String>,
2833    #[serde(skip_serializing_if = "Option::is_none")]
2834    pub lastname: Option<String>,
2835    #[serde(skip_serializing_if = "Option::is_none")]
2836    pub address: Option<String>,
2837    #[serde(skip_serializing_if = "Option::is_none")]
2838    pub city: Option<String>,
2839    #[serde(skip_serializing_if = "Option::is_none")]
2840    pub state: Option<String>,
2841    #[serde(skip_serializing_if = "Option::is_none")]
2842    pub country: Option<String>,
2843    #[serde(skip_serializing_if = "Option::is_none")]
2844    pub zip: Option<String>,
2845    #[serde(skip_serializing_if = "Option::is_none")]
2846    pub phone_number: Option<String>,
2847    #[serde(skip_serializing_if = "Option::is_none")]
2848    pub balance_management: Option<i64>,
2849}
2850
2851/// Parameters for [`Client::set_client_threshold`] (wire method `setClientThreshold`).
2852#[derive(Debug, Default, Clone, Serialize)]
2853pub struct SetClientThresholdParams {
2854    #[serde(skip_serializing_if = "Option::is_none")]
2855    pub client: Option<i64>,
2856    #[serde(skip_serializing_if = "Option::is_none")]
2857    pub email: Option<String>,
2858    #[serde(skip_serializing_if = "Option::is_none")]
2859    pub threshold: Option<i64>,
2860}
2861
2862/// Parameters for [`Client::set_conference`] (wire method `setConference`).
2863#[derive(Debug, Default, Clone, Serialize)]
2864pub struct SetConferenceParams {
2865    #[serde(skip_serializing_if = "Option::is_none")]
2866    pub conference: Option<i64>,
2867    #[serde(skip_serializing_if = "Option::is_none")]
2868    pub name: Option<String>,
2869    #[serde(skip_serializing_if = "Option::is_none")]
2870    pub description: Option<String>,
2871    #[serde(skip_serializing_if = "Option::is_none")]
2872    pub members: Option<String>,
2873    #[serde(skip_serializing_if = "Option::is_none")]
2874    pub max_members: Option<String>,
2875    #[serde(skip_serializing_if = "Option::is_none")]
2876    pub sound_join: Option<String>,
2877    #[serde(skip_serializing_if = "Option::is_none")]
2878    pub sound_leave: Option<String>,
2879    #[serde(skip_serializing_if = "Option::is_none")]
2880    pub sound_has_joined: Option<String>,
2881    #[serde(skip_serializing_if = "Option::is_none")]
2882    pub sound_has_left: Option<String>,
2883    #[serde(skip_serializing_if = "Option::is_none")]
2884    pub sound_kicked: Option<String>,
2885    #[serde(skip_serializing_if = "Option::is_none")]
2886    pub sound_muted: Option<String>,
2887    #[serde(skip_serializing_if = "Option::is_none")]
2888    pub sound_unmuted: Option<String>,
2889    #[serde(skip_serializing_if = "Option::is_none")]
2890    pub sound_only_person: Option<String>,
2891    #[serde(skip_serializing_if = "Option::is_none")]
2892    pub sound_only_one: Option<String>,
2893    #[serde(skip_serializing_if = "Option::is_none")]
2894    pub sound_there_are: Option<String>,
2895    #[serde(skip_serializing_if = "Option::is_none")]
2896    pub sound_other_in_party: Option<String>,
2897    #[serde(skip_serializing_if = "Option::is_none")]
2898    pub sound_place_into_conference: Option<String>,
2899    #[serde(skip_serializing_if = "Option::is_none")]
2900    pub sound_get_pin: Option<String>,
2901    #[serde(skip_serializing_if = "Option::is_none")]
2902    pub sound_invalid_pin: Option<String>,
2903    #[serde(skip_serializing_if = "Option::is_none")]
2904    pub sound_locked: Option<String>,
2905    #[serde(skip_serializing_if = "Option::is_none")]
2906    pub sound_locked_now: Option<String>,
2907    #[serde(skip_serializing_if = "Option::is_none")]
2908    pub sound_unlocked_now: Option<String>,
2909    #[serde(skip_serializing_if = "Option::is_none")]
2910    pub sound_error_menu: Option<String>,
2911    #[serde(skip_serializing_if = "Option::is_none")]
2912    pub sound_participants_muted: Option<String>,
2913    #[serde(skip_serializing_if = "Option::is_none")]
2914    pub sound_participants_unmuted: Option<String>,
2915    #[serde(skip_serializing_if = "Option::is_none")]
2916    pub language: Option<String>,
2917}
2918
2919/// Parameters for [`Client::set_conference_member`] (wire method `setConferenceMember`).
2920#[derive(Debug, Default, Clone, Serialize)]
2921pub struct SetConferenceMemberParams {
2922    #[serde(skip_serializing_if = "Option::is_none")]
2923    pub member: Option<i64>,
2924    #[serde(skip_serializing_if = "Option::is_none")]
2925    pub conference: Option<i64>,
2926    #[serde(skip_serializing_if = "Option::is_none")]
2927    pub name: Option<String>,
2928    #[serde(skip_serializing_if = "Option::is_none")]
2929    pub description: Option<String>,
2930    #[serde(skip_serializing_if = "Option::is_none")]
2931    pub pin: Option<i64>,
2932    #[serde(skip_serializing_if = "Option::is_none")]
2933    pub announce_join_leave: Option<String>,
2934    #[serde(skip_serializing_if = "Option::is_none")]
2935    pub admin: Option<String>,
2936    #[serde(skip_serializing_if = "Option::is_none")]
2937    pub start_muted: Option<String>,
2938    #[serde(skip_serializing_if = "Option::is_none")]
2939    pub announce_user_count: Option<String>,
2940    #[serde(skip_serializing_if = "Option::is_none")]
2941    pub announce_only_user: Option<String>,
2942    #[serde(skip_serializing_if = "Option::is_none")]
2943    pub moh_when_empty: Option<String>,
2944    #[serde(skip_serializing_if = "Option::is_none")]
2945    pub quiet: Option<String>,
2946    #[serde(skip_serializing_if = "Option::is_none")]
2947    pub announcement: Option<i64>,
2948    #[serde(skip_serializing_if = "Option::is_none")]
2949    pub drop_silence: Option<String>,
2950    #[serde(skip_serializing_if = "Option::is_none")]
2951    pub talking_threshold: Option<i64>,
2952    #[serde(skip_serializing_if = "Option::is_none")]
2953    pub silence_threshold: Option<i64>,
2954    #[serde(skip_serializing_if = "Option::is_none")]
2955    pub talk_detection: Option<String>,
2956    #[serde(skip_serializing_if = "Option::is_none")]
2957    pub jitter_buffer: Option<String>,
2958}
2959
2960/// Parameters for [`Client::set_did_billing_type`] (wire method `setDIDBillingType`).
2961#[derive(Debug, Default, Clone, Serialize)]
2962pub struct SetDIDBillingTypeParams {
2963    #[serde(skip_serializing_if = "Option::is_none")]
2964    pub did: Option<String>,
2965    #[serde(skip_serializing_if = "Option::is_none")]
2966    pub billing_type: Option<i64>,
2967}
2968
2969/// Parameters for [`Client::set_did_info`] (wire method `setDIDInfo`).
2970#[derive(Debug, Default, Clone, Serialize)]
2971pub struct SetDIDInfoParams {
2972    #[serde(skip_serializing_if = "Option::is_none")]
2973    pub did: Option<String>,
2974    #[serde(skip_serializing_if = "Option::is_none")]
2975    pub routing: Option<crate::Routing>,
2976    #[serde(skip_serializing_if = "Option::is_none")]
2977    pub failover_busy: Option<crate::Routing>,
2978    #[serde(skip_serializing_if = "Option::is_none")]
2979    pub failover_unreachable: Option<crate::Routing>,
2980    #[serde(skip_serializing_if = "Option::is_none")]
2981    pub failover_noanswer: Option<crate::Routing>,
2982    #[serde(skip_serializing_if = "Option::is_none")]
2983    pub voicemail: Option<String>,
2984    #[serde(skip_serializing_if = "Option::is_none")]
2985    pub pop: Option<i64>,
2986    #[serde(skip_serializing_if = "Option::is_none")]
2987    pub dialtime: Option<i64>,
2988    #[serde(skip_serializing_if = "Option::is_none")]
2989    pub cnam: Option<i64>,
2990    #[serde(skip_serializing_if = "Option::is_none")]
2991    pub callerid_prefix: Option<String>,
2992    #[serde(skip_serializing_if = "Option::is_none")]
2993    pub note: Option<String>,
2994    #[serde(skip_serializing_if = "Option::is_none")]
2995    pub port_out_pin: Option<i64>,
2996    #[serde(skip_serializing_if = "Option::is_none")]
2997    pub billing_type: Option<i64>,
2998    #[serde(skip_serializing_if = "Option::is_none")]
2999    pub record_calls: Option<i64>,
3000    #[serde(skip_serializing_if = "Option::is_none")]
3001    pub transcribe: Option<i64>,
3002    #[serde(skip_serializing_if = "Option::is_none")]
3003    pub transcription_locale: Option<String>,
3004    #[serde(skip_serializing_if = "Option::is_none")]
3005    pub transcription_email: Option<String>,
3006    #[serde(skip_serializing_if = "Option::is_none")]
3007    pub transcription_start_delay: Option<i64>,
3008    #[serde(skip_serializing_if = "Option::is_none")]
3009    pub voicemail_threshold: Option<i64>,
3010}
3011
3012/// Parameters for [`Client::set_did_pop`] (wire method `setDIDPOP`).
3013#[derive(Debug, Default, Clone, Serialize)]
3014pub struct SetDIDPOPParams {
3015    #[serde(skip_serializing_if = "Option::is_none")]
3016    pub did: Option<String>,
3017    #[serde(skip_serializing_if = "Option::is_none")]
3018    pub pop: Option<i64>,
3019}
3020
3021/// Parameters for [`Client::set_did_routing`] (wire method `setDIDRouting`).
3022#[derive(Debug, Default, Clone, Serialize)]
3023pub struct SetDIDRoutingParams {
3024    #[serde(skip_serializing_if = "Option::is_none")]
3025    pub did: Option<String>,
3026    #[serde(skip_serializing_if = "Option::is_none")]
3027    pub routing: Option<crate::Routing>,
3028}
3029
3030/// Parameters for [`Client::set_did_voicemail`] (wire method `setDIDVoicemail`).
3031#[derive(Debug, Default, Clone, Serialize)]
3032pub struct SetDIDVoicemailParams {
3033    #[serde(skip_serializing_if = "Option::is_none")]
3034    pub did: Option<String>,
3035    #[serde(skip_serializing_if = "Option::is_none")]
3036    pub voicemail: Option<String>,
3037}
3038
3039/// Parameters for [`Client::set_disa`] (wire method `setDISA`).
3040#[derive(Debug, Default, Clone, Serialize)]
3041pub struct SetDISAParams {
3042    #[serde(skip_serializing_if = "Option::is_none")]
3043    pub disa: Option<String>,
3044    #[serde(skip_serializing_if = "Option::is_none")]
3045    pub name: Option<String>,
3046    #[serde(skip_serializing_if = "Option::is_none")]
3047    pub pin: Option<i64>,
3048    #[serde(skip_serializing_if = "Option::is_none")]
3049    pub digit_timeout: Option<i64>,
3050    #[serde(skip_serializing_if = "Option::is_none")]
3051    pub callerid_override: Option<String>,
3052    #[serde(skip_serializing_if = "Option::is_none")]
3053    pub language: Option<String>,
3054}
3055
3056/// Parameters for [`Client::set_email_to_fax`] (wire method `setEmailToFax`).
3057#[derive(Debug, Default, Clone, Serialize)]
3058pub struct SetEmailToFAXParams {
3059    #[serde(skip_serializing_if = "Option::is_none")]
3060    pub id: Option<i64>,
3061    #[serde(skip_serializing_if = "Option::is_none")]
3062    pub enabled: Option<i64>,
3063    #[serde(skip_serializing_if = "Option::is_none")]
3064    pub auth_email: Option<String>,
3065    #[serde(skip_serializing_if = "Option::is_none")]
3066    pub from_number_id: Option<String>,
3067    #[serde(skip_serializing_if = "Option::is_none")]
3068    pub security_code_enabled: Option<i64>,
3069    #[serde(skip_serializing_if = "Option::is_none")]
3070    pub security_code: Option<String>,
3071    #[serde(skip_serializing_if = "Option::is_none")]
3072    pub test: Option<i64>,
3073}
3074
3075/// Parameters for [`Client::set_fax_folder`] (wire method `setFaxFolder`).
3076#[derive(Debug, Default, Clone, Serialize)]
3077pub struct SetFAXFolderParams {
3078    #[serde(skip_serializing_if = "Option::is_none")]
3079    pub id: Option<i64>,
3080    #[serde(skip_serializing_if = "Option::is_none")]
3081    pub name: Option<String>,
3082    #[serde(skip_serializing_if = "Option::is_none")]
3083    pub test: Option<i64>,
3084}
3085
3086/// Parameters for [`Client::set_fax_number_email`] (wire method `setFaxNumberEmail`).
3087#[derive(Debug, Default, Clone, Serialize)]
3088pub struct SetFAXNumberEmailParams {
3089    #[serde(skip_serializing_if = "Option::is_none")]
3090    pub did: Option<i64>,
3091    #[serde(skip_serializing_if = "Option::is_none")]
3092    pub email: Option<String>,
3093    #[serde(skip_serializing_if = "Option::is_none")]
3094    pub email_enable: Option<String>,
3095    #[serde(skip_serializing_if = "Option::is_none")]
3096    pub email_attach_file: Option<String>,
3097    #[serde(skip_serializing_if = "Option::is_none")]
3098    pub test: Option<i64>,
3099}
3100
3101/// Parameters for [`Client::set_fax_number_info`] (wire method `setFaxNumberInfo`).
3102#[derive(Debug, Default, Clone, Serialize)]
3103pub struct SetFAXNumberInfoParams {
3104    #[serde(skip_serializing_if = "Option::is_none")]
3105    pub did: Option<i64>,
3106    #[serde(skip_serializing_if = "Option::is_none")]
3107    pub email: Option<String>,
3108    #[serde(skip_serializing_if = "Option::is_none")]
3109    pub email_enable: Option<String>,
3110    #[serde(skip_serializing_if = "Option::is_none")]
3111    pub email_attach_file: Option<String>,
3112    #[serde(skip_serializing_if = "Option::is_none")]
3113    pub url_callback: Option<String>,
3114    #[serde(skip_serializing_if = "Option::is_none")]
3115    pub url_callback_enable: Option<String>,
3116    #[serde(skip_serializing_if = "Option::is_none")]
3117    pub url_callback_retry: Option<String>,
3118    #[serde(skip_serializing_if = "Option::is_none")]
3119    pub test: Option<i64>,
3120}
3121
3122/// Parameters for [`Client::set_fax_number_url_callback`] (wire method `setFaxNumberURLCallback`).
3123#[derive(Debug, Default, Clone, Serialize)]
3124pub struct SetFAXNumberURLCallbackParams {
3125    #[serde(skip_serializing_if = "Option::is_none")]
3126    pub did: Option<i64>,
3127    #[serde(skip_serializing_if = "Option::is_none")]
3128    pub url_callback: Option<String>,
3129    #[serde(skip_serializing_if = "Option::is_none")]
3130    pub url_callback_enable: Option<String>,
3131    #[serde(skip_serializing_if = "Option::is_none")]
3132    pub url_callback_retry: Option<String>,
3133    #[serde(skip_serializing_if = "Option::is_none")]
3134    pub test: Option<i64>,
3135}
3136
3137/// Parameters for [`Client::set_forwarding`] (wire method `setForwarding`).
3138#[derive(Debug, Default, Clone, Serialize)]
3139pub struct SetForwardingParams {
3140    #[serde(skip_serializing_if = "Option::is_none")]
3141    pub forwarding: Option<String>,
3142    #[serde(skip_serializing_if = "Option::is_none")]
3143    pub phone_number: Option<String>,
3144    #[serde(skip_serializing_if = "Option::is_none")]
3145    pub callerid_override: Option<String>,
3146    #[serde(skip_serializing_if = "Option::is_none")]
3147    pub description: Option<String>,
3148    #[serde(skip_serializing_if = "Option::is_none")]
3149    pub dtmf_digits: Option<String>,
3150    #[serde(skip_serializing_if = "Option::is_none")]
3151    pub pause: Option<String>,
3152    #[serde(skip_serializing_if = "Option::is_none")]
3153    pub diversion_header: Option<i64>,
3154}
3155
3156/// Parameters for [`Client::set_ivr`] (wire method `setIVR`).
3157#[derive(Debug, Default, Clone, Serialize)]
3158pub struct SetIVRParams {
3159    #[serde(skip_serializing_if = "Option::is_none")]
3160    pub ivr: Option<String>,
3161    #[serde(skip_serializing_if = "Option::is_none")]
3162    pub name: Option<String>,
3163    #[serde(skip_serializing_if = "Option::is_none")]
3164    pub recording: Option<i64>,
3165    #[serde(skip_serializing_if = "Option::is_none")]
3166    pub timeout: Option<i64>,
3167    #[serde(skip_serializing_if = "Option::is_none")]
3168    pub language: Option<String>,
3169    #[serde(skip_serializing_if = "Option::is_none")]
3170    pub voicemailsetup: Option<i64>,
3171    #[serde(skip_serializing_if = "Option::is_none")]
3172    pub choices: Option<String>,
3173}
3174
3175/// Parameters for [`Client::set_location`] (wire method `setLocation`).
3176#[derive(Debug, Default, Clone, Serialize)]
3177pub struct SetLocationParams {
3178    #[serde(skip_serializing_if = "Option::is_none")]
3179    pub name: Option<String>,
3180}
3181
3182/// Parameters for [`Client::set_music_on_hold`] (wire method `setMusicOnHold`).
3183#[derive(Debug, Default, Clone, Serialize)]
3184pub struct SetMusicOnHoldParams {
3185    #[serde(skip_serializing_if = "Option::is_none")]
3186    pub name: Option<String>,
3187    #[serde(skip_serializing_if = "Option::is_none")]
3188    pub description: Option<String>,
3189    #[serde(skip_serializing_if = "Option::is_none")]
3190    pub volume: Option<String>,
3191    #[serde(skip_serializing_if = "Option::is_none")]
3192    pub sort: Option<String>,
3193    #[serde(skip_serializing_if = "Option::is_none")]
3194    pub recordings: Option<String>,
3195}
3196
3197/// Parameters for [`Client::set_phonebook`] (wire method `setPhonebook`).
3198#[derive(Debug, Default, Clone, Serialize)]
3199pub struct SetPhonebookParams {
3200    #[serde(skip_serializing_if = "Option::is_none")]
3201    pub phonebook: Option<String>,
3202    #[serde(skip_serializing_if = "Option::is_none")]
3203    pub speed_dial: Option<String>,
3204    #[serde(skip_serializing_if = "Option::is_none")]
3205    pub name: Option<String>,
3206    #[serde(skip_serializing_if = "Option::is_none")]
3207    pub number: Option<i64>,
3208    #[serde(skip_serializing_if = "Option::is_none")]
3209    pub callerid: Option<String>,
3210    #[serde(skip_serializing_if = "Option::is_none")]
3211    pub note: Option<String>,
3212    #[serde(skip_serializing_if = "Option::is_none")]
3213    pub group: Option<i64>,
3214}
3215
3216/// Parameters for [`Client::set_phonebook_group`] (wire method `setPhonebookGroup`).
3217#[derive(Debug, Default, Clone, Serialize)]
3218pub struct SetPhonebookGroupParams {
3219    #[serde(skip_serializing_if = "Option::is_none")]
3220    pub phonebook: Option<String>,
3221    #[serde(skip_serializing_if = "Option::is_none")]
3222    pub group: Option<String>,
3223    #[serde(skip_serializing_if = "Option::is_none")]
3224    pub name: Option<String>,
3225    #[serde(skip_serializing_if = "Option::is_none")]
3226    pub members: Option<String>,
3227}
3228
3229/// Parameters for [`Client::set_queue`] (wire method `setQueue`).
3230#[derive(Debug, Default, Clone, Serialize)]
3231pub struct SetQueueParams {
3232    #[serde(skip_serializing_if = "Option::is_none")]
3233    pub queue: Option<String>,
3234    #[serde(skip_serializing_if = "Option::is_none")]
3235    pub queue_name: Option<String>,
3236    #[serde(skip_serializing_if = "Option::is_none")]
3237    pub queue_number: Option<i64>,
3238    #[serde(skip_serializing_if = "Option::is_none")]
3239    pub queue_language: Option<String>,
3240    #[serde(skip_serializing_if = "Option::is_none")]
3241    pub queue_password: Option<String>,
3242    #[serde(skip_serializing_if = "Option::is_none")]
3243    pub callerid_prefix: Option<i64>,
3244    #[serde(skip_serializing_if = "Option::is_none")]
3245    pub join_announcement: Option<String>,
3246    #[serde(skip_serializing_if = "Option::is_none")]
3247    pub priority_weight: Option<String>,
3248    #[serde(skip_serializing_if = "Option::is_none")]
3249    pub agent_announcement: Option<String>,
3250    #[serde(skip_serializing_if = "Option::is_none")]
3251    pub report_hold_time_agent: Option<String>,
3252    #[serde(skip_serializing_if = "Option::is_none")]
3253    pub member_delay: Option<String>,
3254    #[serde(skip_serializing_if = "Option::is_none")]
3255    pub maximum_wait_time: Option<String>,
3256    #[serde(skip_serializing_if = "Option::is_none")]
3257    pub maximum_callers: Option<String>,
3258    #[serde(skip_serializing_if = "Option::is_none")]
3259    pub join_when_empty: Option<String>,
3260    #[serde(skip_serializing_if = "Option::is_none")]
3261    pub leave_when_empty: Option<String>,
3262    #[serde(skip_serializing_if = "Option::is_none")]
3263    pub ring_strategy: Option<RingStrategy>,
3264    #[serde(skip_serializing_if = "Option::is_none")]
3265    pub ring_inuse: Option<String>,
3266    #[serde(skip_serializing_if = "Option::is_none")]
3267    pub agent_ring_timeout: Option<i64>,
3268    #[serde(skip_serializing_if = "Option::is_none")]
3269    pub retry_timer: Option<String>,
3270    #[serde(skip_serializing_if = "Option::is_none")]
3271    pub wrapup_time: Option<String>,
3272    #[serde(skip_serializing_if = "Option::is_none")]
3273    pub voice_announcement: Option<String>,
3274    #[serde(skip_serializing_if = "Option::is_none")]
3275    pub frequency_announcement: Option<String>,
3276    #[serde(skip_serializing_if = "Option::is_none")]
3277    pub announce_position_frecuency: Option<String>,
3278    #[serde(skip_serializing_if = "Option::is_none")]
3279    pub announce_round_seconds: Option<String>,
3280    #[serde(skip_serializing_if = "Option::is_none")]
3281    pub if_announce_position_enabled_report_estimated_hold_time: Option<String>,
3282    #[serde(skip_serializing_if = "Option::is_none")]
3283    pub thankyou_for_your_patience: Option<String>,
3284    #[serde(skip_serializing_if = "Option::is_none")]
3285    pub music_on_hold: Option<String>,
3286    #[serde(skip_serializing_if = "Option::is_none")]
3287    pub fail_over_routing_timeout: Option<crate::Routing>,
3288    #[serde(skip_serializing_if = "Option::is_none")]
3289    pub fail_over_routing_full: Option<crate::Routing>,
3290    #[serde(skip_serializing_if = "Option::is_none")]
3291    pub fail_over_routing_join_empty: Option<crate::Routing>,
3292    #[serde(skip_serializing_if = "Option::is_none")]
3293    pub fail_over_routing_leave_empty: Option<crate::Routing>,
3294    #[serde(skip_serializing_if = "Option::is_none")]
3295    pub fail_over_routing_join_unavail: Option<crate::Routing>,
3296    #[serde(skip_serializing_if = "Option::is_none")]
3297    pub fail_over_routing_leave_unavail: Option<crate::Routing>,
3298}
3299
3300/// Parameters for [`Client::set_recording`] (wire method `setRecording`).
3301#[derive(Debug, Default, Clone, Serialize)]
3302pub struct SetRecordingParams {
3303    #[serde(skip_serializing_if = "Option::is_none")]
3304    pub recording: Option<String>,
3305    #[serde(skip_serializing_if = "Option::is_none")]
3306    pub file: Option<String>,
3307    #[serde(skip_serializing_if = "Option::is_none")]
3308    pub name: Option<String>,
3309}
3310
3311/// Parameters for [`Client::set_ring_group`] (wire method `setRingGroup`).
3312#[derive(Debug, Default, Clone, Serialize)]
3313pub struct SetRingGroupParams {
3314    #[serde(skip_serializing_if = "Option::is_none")]
3315    pub ring_group: Option<String>,
3316    #[serde(skip_serializing_if = "Option::is_none")]
3317    pub name: Option<String>,
3318    #[serde(skip_serializing_if = "Option::is_none")]
3319    pub members: Option<String>,
3320    #[serde(skip_serializing_if = "Option::is_none")]
3321    pub voicemail: Option<String>,
3322    #[serde(skip_serializing_if = "Option::is_none")]
3323    pub caller_announcement: Option<String>,
3324    #[serde(skip_serializing_if = "Option::is_none")]
3325    pub music_on_hold: Option<String>,
3326    #[serde(skip_serializing_if = "Option::is_none")]
3327    pub language: Option<String>,
3328}
3329
3330/// Parameters for [`Client::set_sip_uri`] (wire method `setSIPURI`).
3331#[derive(Debug, Default, Clone, Serialize)]
3332pub struct SetSIPURIParams {
3333    #[serde(skip_serializing_if = "Option::is_none")]
3334    pub sipuri: Option<String>,
3335    #[serde(skip_serializing_if = "Option::is_none")]
3336    pub uri: Option<String>,
3337    #[serde(skip_serializing_if = "Option::is_none")]
3338    pub description: Option<String>,
3339    #[serde(skip_serializing_if = "Option::is_none")]
3340    pub callerid_override: Option<String>,
3341    #[serde(skip_serializing_if = "Option::is_none")]
3342    pub callerid_e164: Option<i64>,
3343}
3344
3345/// Parameters for [`Client::set_sms`] (wire method `setSMS`).
3346#[derive(Debug, Default, Clone, Serialize)]
3347pub struct SetSMSParams {
3348    #[serde(skip_serializing_if = "Option::is_none")]
3349    pub did: Option<String>,
3350    #[serde(skip_serializing_if = "Option::is_none")]
3351    pub enable: Option<String>,
3352    #[serde(skip_serializing_if = "Option::is_none")]
3353    pub email_enabled: Option<String>,
3354    #[serde(skip_serializing_if = "Option::is_none")]
3355    pub email_address: Option<String>,
3356    #[serde(skip_serializing_if = "Option::is_none")]
3357    pub sms_forward_enable: Option<String>,
3358    #[serde(skip_serializing_if = "Option::is_none")]
3359    pub sms_forward: Option<String>,
3360    #[serde(skip_serializing_if = "Option::is_none")]
3361    pub url_callback_enable: Option<String>,
3362    #[serde(skip_serializing_if = "Option::is_none")]
3363    pub url_callback: Option<String>,
3364    #[serde(skip_serializing_if = "Option::is_none")]
3365    pub url_callback_retry: Option<String>,
3366    #[serde(skip_serializing_if = "Option::is_none")]
3367    pub sms_sipaccount: Option<String>,
3368    #[serde(skip_serializing_if = "Option::is_none")]
3369    pub sms_sipaccount_enabled: Option<String>,
3370}
3371
3372/// Parameters for [`Client::set_static_member`] (wire method `setStaticMember`).
3373#[derive(Debug, Default, Clone, Serialize)]
3374pub struct SetStaticMemberParams {
3375    #[serde(skip_serializing_if = "Option::is_none")]
3376    pub member: Option<String>,
3377    #[serde(skip_serializing_if = "Option::is_none")]
3378    pub queue: Option<i64>,
3379    #[serde(skip_serializing_if = "Option::is_none")]
3380    pub member_name: Option<String>,
3381    #[serde(skip_serializing_if = "Option::is_none")]
3382    pub account: Option<String>,
3383    #[serde(skip_serializing_if = "Option::is_none")]
3384    pub priority: Option<i64>,
3385}
3386
3387/// Parameters for [`Client::set_sub_account`] (wire method `setSubAccount`).
3388#[derive(Debug, Default, Clone, Serialize)]
3389pub struct SetSubAccountParams {
3390    #[serde(skip_serializing_if = "Option::is_none")]
3391    pub id: Option<i64>,
3392    #[serde(skip_serializing_if = "Option::is_none")]
3393    pub description: Option<String>,
3394    #[serde(skip_serializing_if = "Option::is_none")]
3395    pub auth_type: Option<i64>,
3396    #[serde(skip_serializing_if = "Option::is_none")]
3397    pub password: Option<String>,
3398    #[serde(skip_serializing_if = "Option::is_none")]
3399    pub ip: Option<String>,
3400    #[serde(skip_serializing_if = "Option::is_none")]
3401    pub device_type: Option<i64>,
3402    #[serde(skip_serializing_if = "Option::is_none")]
3403    pub callerid_number: Option<String>,
3404    #[serde(skip_serializing_if = "Option::is_none")]
3405    pub canada_routing: Option<String>,
3406    #[serde(skip_serializing_if = "Option::is_none")]
3407    pub lock_international: Option<i64>,
3408    #[serde(skip_serializing_if = "Option::is_none")]
3409    pub international_route: Option<i64>,
3410    #[serde(skip_serializing_if = "Option::is_none")]
3411    pub music_on_hold: Option<String>,
3412    #[serde(skip_serializing_if = "Option::is_none")]
3413    pub language: Option<String>,
3414    #[serde(skip_serializing_if = "Option::is_none")]
3415    pub allowed_codecs: Option<String>,
3416    #[serde(skip_serializing_if = "Option::is_none")]
3417    pub dtmf_mode: Option<DtmfMode>,
3418    #[serde(skip_serializing_if = "Option::is_none")]
3419    pub nat: Option<Nat>,
3420    #[serde(skip_serializing_if = "Option::is_none")]
3421    pub sip_traffic: Option<i64>,
3422    #[serde(skip_serializing_if = "Option::is_none")]
3423    pub max_expiry: Option<i64>,
3424    #[serde(skip_serializing_if = "Option::is_none")]
3425    pub rtp_timeout: Option<i64>,
3426    #[serde(skip_serializing_if = "Option::is_none")]
3427    pub rtp_hold_timeout: Option<i64>,
3428    #[serde(skip_serializing_if = "Option::is_none")]
3429    pub ip_restriction: Option<String>,
3430    #[serde(skip_serializing_if = "Option::is_none")]
3431    pub enable_ip_restriction: Option<i64>,
3432    #[serde(skip_serializing_if = "Option::is_none")]
3433    pub pop_restriction: Option<String>,
3434    #[serde(skip_serializing_if = "Option::is_none")]
3435    pub enable_pop_restriction: Option<i64>,
3436    #[serde(skip_serializing_if = "Option::is_none")]
3437    pub internal_extension: Option<String>,
3438    #[serde(skip_serializing_if = "Option::is_none")]
3439    pub internal_voicemail: Option<String>,
3440    #[serde(skip_serializing_if = "Option::is_none")]
3441    pub internal_dialtime: Option<String>,
3442    #[serde(skip_serializing_if = "Option::is_none")]
3443    pub reseller_client: Option<String>,
3444    #[serde(skip_serializing_if = "Option::is_none")]
3445    pub reseller_package: Option<String>,
3446    #[serde(skip_serializing_if = "Option::is_none")]
3447    pub reseller_nextbilling: Option<String>,
3448    #[serde(skip_serializing_if = "Option::is_none")]
3449    pub reseller_chargesetup: Option<String>,
3450    #[serde(skip_serializing_if = "Option::is_none")]
3451    pub send_bye: Option<i64>,
3452    #[serde(skip_serializing_if = "Option::is_none")]
3453    pub record_calls: Option<i64>,
3454    #[serde(skip_serializing_if = "Option::is_none")]
3455    pub transcribe: Option<i64>,
3456    #[serde(skip_serializing_if = "Option::is_none")]
3457    pub transcription_locale: Option<String>,
3458    #[serde(skip_serializing_if = "Option::is_none")]
3459    pub transcription_email: Option<String>,
3460    #[serde(skip_serializing_if = "Option::is_none")]
3461    pub transcription_start_delay: Option<i64>,
3462    #[serde(skip_serializing_if = "Option::is_none")]
3463    pub dialing_mode: Option<i64>,
3464    #[serde(skip_serializing_if = "Option::is_none")]
3465    pub tfcarrier: Option<i64>,
3466    #[serde(skip_serializing_if = "Option::is_none")]
3467    pub internal_extension_location: Option<i64>,
3468    #[serde(skip_serializing_if = "Option::is_none")]
3469    pub default_e911: Option<String>,
3470}
3471
3472/// Parameters for [`Client::set_time_condition`] (wire method `setTimeCondition`).
3473#[derive(Debug, Default, Clone, Serialize)]
3474pub struct SetTimeConditionParams {
3475    #[serde(skip_serializing_if = "Option::is_none")]
3476    pub timecondition: Option<String>,
3477    #[serde(skip_serializing_if = "Option::is_none")]
3478    pub name: Option<String>,
3479    #[serde(skip_serializing_if = "Option::is_none")]
3480    pub routing_match: Option<crate::Routing>,
3481    #[serde(skip_serializing_if = "Option::is_none")]
3482    pub routing_nomatch: Option<crate::Routing>,
3483    #[serde(skip_serializing_if = "Option::is_none")]
3484    pub starthour: Option<String>,
3485    #[serde(skip_serializing_if = "Option::is_none")]
3486    pub startminute: Option<String>,
3487    #[serde(skip_serializing_if = "Option::is_none")]
3488    pub endhour: Option<String>,
3489    #[serde(skip_serializing_if = "Option::is_none")]
3490    pub endminute: Option<String>,
3491    #[serde(skip_serializing_if = "Option::is_none")]
3492    pub weekdaystart: Option<String>,
3493    #[serde(skip_serializing_if = "Option::is_none")]
3494    pub weekdayend: Option<String>,
3495}
3496
3497/// Parameters for [`Client::set_voicemail`] (wire method `setVoicemail`).
3498#[derive(Debug, Default, Clone, Serialize)]
3499pub struct SetVoicemailParams {
3500    #[serde(skip_serializing_if = "Option::is_none")]
3501    pub mailbox: Option<i64>,
3502    #[serde(skip_serializing_if = "Option::is_none")]
3503    pub name: Option<String>,
3504    #[serde(skip_serializing_if = "Option::is_none")]
3505    pub password: Option<String>,
3506    #[serde(skip_serializing_if = "Option::is_none")]
3507    pub skip_password: Option<String>,
3508    #[serde(skip_serializing_if = "Option::is_none")]
3509    pub email: Option<String>,
3510    #[serde(skip_serializing_if = "Option::is_none")]
3511    pub attach_message: Option<String>,
3512    #[serde(skip_serializing_if = "Option::is_none")]
3513    pub delete_message: Option<String>,
3514    #[serde(skip_serializing_if = "Option::is_none")]
3515    pub say_time: Option<String>,
3516    #[serde(skip_serializing_if = "Option::is_none")]
3517    pub timezone: Option<String>,
3518    #[serde(skip_serializing_if = "Option::is_none")]
3519    pub say_callerid: Option<String>,
3520    #[serde(skip_serializing_if = "Option::is_none")]
3521    pub play_instructions: Option<PlayInstructions>,
3522    #[serde(skip_serializing_if = "Option::is_none")]
3523    pub language: Option<String>,
3524    #[serde(skip_serializing_if = "Option::is_none")]
3525    pub email_attachment_format: Option<EmailAttachmentFormat>,
3526    #[serde(skip_serializing_if = "Option::is_none")]
3527    pub unavailable_message_recording: Option<String>,
3528    #[serde(skip_serializing_if = "Option::is_none")]
3529    pub transcription: Option<String>,
3530    #[serde(skip_serializing_if = "Option::is_none")]
3531    pub transcription_locale: Option<String>,
3532    #[serde(skip_serializing_if = "Option::is_none")]
3533    pub transcription_redaction: Option<String>,
3534    #[serde(skip_serializing_if = "Option::is_none")]
3535    pub transcription_sentiment: Option<String>,
3536    #[serde(skip_serializing_if = "Option::is_none")]
3537    pub transcription_summary: Option<String>,
3538    #[serde(skip_serializing_if = "Option::is_none")]
3539    pub transcription_format: Option<TranscriptionFormat>,
3540}
3541
3542/// Parameters for [`Client::signup_client`] (wire method `signupClient`).
3543#[derive(Debug, Default, Clone, Serialize)]
3544pub struct SignupClientParams {
3545    #[serde(skip_serializing_if = "Option::is_none")]
3546    pub firstname: Option<String>,
3547    #[serde(skip_serializing_if = "Option::is_none")]
3548    pub lastname: Option<String>,
3549    #[serde(skip_serializing_if = "Option::is_none")]
3550    pub company: Option<String>,
3551    #[serde(skip_serializing_if = "Option::is_none")]
3552    pub address: Option<String>,
3553    #[serde(skip_serializing_if = "Option::is_none")]
3554    pub city: Option<String>,
3555    #[serde(skip_serializing_if = "Option::is_none")]
3556    pub state: Option<String>,
3557    #[serde(skip_serializing_if = "Option::is_none")]
3558    pub country: Option<String>,
3559    #[serde(skip_serializing_if = "Option::is_none")]
3560    pub zip: Option<String>,
3561    #[serde(skip_serializing_if = "Option::is_none")]
3562    pub phone_number: Option<String>,
3563    #[serde(skip_serializing_if = "Option::is_none")]
3564    pub email: Option<String>,
3565    #[serde(skip_serializing_if = "Option::is_none")]
3566    pub confirm_email: Option<String>,
3567    #[serde(skip_serializing_if = "Option::is_none")]
3568    pub password: Option<String>,
3569    #[serde(skip_serializing_if = "Option::is_none")]
3570    pub confirm_password: Option<String>,
3571    #[serde(skip_serializing_if = "Option::is_none")]
3572    pub activate: Option<bool>,
3573    #[serde(skip_serializing_if = "Option::is_none")]
3574    pub balance_management: Option<i64>,
3575}
3576
3577/// Parameters for [`Client::unconnect_did`] (wire method `unconnectDID`).
3578#[derive(Debug, Default, Clone, Serialize)]
3579pub struct UnconnectDIDParams {
3580    #[serde(skip_serializing_if = "Option::is_none")]
3581    pub did: Option<String>,
3582}
3583
3584/// Parameters for [`Client::unconnect_fax`] (wire method `unconnectFAX`).
3585#[derive(Debug, Default, Clone, Serialize)]
3586pub struct UnconnectFAXParams {
3587    #[serde(skip_serializing_if = "Option::is_none")]
3588    pub did: Option<String>,
3589}
3590
3591/// Response body for [`Client::add_charge`] (wire method `addCharge`).
3592#[derive(Debug, Clone, Default, serde::Deserialize)]
3593pub struct AddChargeResponse {
3594    #[serde(
3595        default,
3596        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3597    )]
3598    pub status: Option<String>,
3599}
3600
3601/// Response body for [`Client::add_lnp_file`] (wire method `addLNPFile`).
3602#[derive(Debug, Clone, Default, serde::Deserialize)]
3603pub struct AddLNPFileResponse {
3604    #[serde(
3605        default,
3606        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3607    )]
3608    pub status: Option<String>,
3609    #[serde(
3610        default,
3611        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3612    )]
3613    pub attachment: Option<String>,
3614}
3615
3616/// Response body for [`Client::add_lnp_port`] (wire method `addLNPPort`).
3617#[derive(Debug, Clone, Default, serde::Deserialize)]
3618pub struct AddLNPPortResponse {
3619    #[serde(
3620        default,
3621        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3622    )]
3623    pub status: Option<String>,
3624    #[serde(
3625        default,
3626        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3627    )]
3628    pub port: Option<String>,
3629}
3630
3631/// Response body for [`Client::add_member_to_conference`] (wire method `addMemberToConference`).
3632#[derive(Debug, Clone, Default, serde::Deserialize)]
3633pub struct AddMemberToConferenceResponse {
3634    #[serde(
3635        default,
3636        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3637    )]
3638    pub status: Option<String>,
3639    #[serde(
3640        default,
3641        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
3642    )]
3643    pub member: Option<u64>,
3644}
3645
3646/// Response body for [`Client::add_payment`] (wire method `addPayment`).
3647#[derive(Debug, Clone, Default, serde::Deserialize)]
3648pub struct AddPaymentResponse {
3649    #[serde(
3650        default,
3651        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3652    )]
3653    pub status: Option<String>,
3654}
3655
3656/// Response body for [`Client::assign_did_vpri`] (wire method `assignDIDvPRI`).
3657#[derive(Debug, Clone, Default, serde::Deserialize)]
3658pub struct AssignDIDvPRIResponse {
3659    #[serde(
3660        default,
3661        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3662    )]
3663    pub status: Option<String>,
3664    #[serde(
3665        default,
3666        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
3667    )]
3668    pub vpri: Option<u64>,
3669    #[serde(
3670        default,
3671        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
3672    )]
3673    pub DIDAdded: Option<u64>,
3674    #[serde(
3675        default,
3676        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
3677    )]
3678    pub monthly: Option<rust_decimal::Decimal>,
3679}
3680
3681/// Response body for [`Client::back_order_did_can`] (wire method `backOrderDIDCAN`).
3682#[derive(Debug, Clone, Default, serde::Deserialize)]
3683pub struct BackOrderDIDCANResponse {
3684    #[serde(
3685        default,
3686        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3687    )]
3688    pub status: Option<String>,
3689}
3690
3691/// Response body for [`Client::back_order_did_usa`] (wire method `backOrderDIDUSA`).
3692#[derive(Debug, Clone, Default, serde::Deserialize)]
3693pub struct BackOrderDIDUSAResponse {
3694    #[serde(
3695        default,
3696        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3697    )]
3698    pub status: Option<String>,
3699}
3700
3701/// Response body for [`Client::cancel_did`] (wire method `cancelDID`).
3702#[derive(Debug, Clone, Default, serde::Deserialize)]
3703pub struct CancelDIDResponse {
3704    #[serde(
3705        default,
3706        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3707    )]
3708    pub status: Option<String>,
3709}
3710
3711/// Response body for [`Client::cancel_fax_number`] (wire method `cancelFaxNumber`).
3712#[derive(Debug, Clone, Default, serde::Deserialize)]
3713pub struct CancelFAXNumberResponse {
3714    #[serde(
3715        default,
3716        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3717    )]
3718    pub status: Option<String>,
3719    #[serde(
3720        default,
3721        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
3722    )]
3723    pub deleted_did: Option<u64>,
3724}
3725
3726/// Response body for [`Client::connect_did`] (wire method `connectDID`).
3727#[derive(Debug, Clone, Default, serde::Deserialize)]
3728pub struct ConnectDIDResponse {
3729    #[serde(
3730        default,
3731        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3732    )]
3733    pub status: Option<String>,
3734}
3735
3736/// Response body for [`Client::connect_fax`] (wire method `connectFAX`).
3737#[derive(Debug, Clone, Default, serde::Deserialize)]
3738pub struct ConnectFAXResponse {
3739    #[serde(
3740        default,
3741        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3742    )]
3743    pub status: Option<String>,
3744}
3745
3746/// Response body for [`Client::create_sub_account`] (wire method `createSubAccount`).
3747#[derive(Debug, Clone, Default, serde::Deserialize)]
3748pub struct CreateSubAccountResponse {
3749    #[serde(
3750        default,
3751        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3752    )]
3753    pub status: Option<String>,
3754    #[serde(
3755        default,
3756        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
3757    )]
3758    pub id: Option<u64>,
3759    #[serde(
3760        default,
3761        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3762    )]
3763    pub account: Option<String>,
3764}
3765
3766/// Response body for [`Client::create_voicemail`] (wire method `createVoicemail`).
3767#[derive(Debug, Clone, Default, serde::Deserialize)]
3768pub struct CreateVoicemailResponse {
3769    #[serde(
3770        default,
3771        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3772    )]
3773    pub status: Option<String>,
3774}
3775
3776/// Response body for [`Client::del_call_hunting`] (wire method `delCallHunting`).
3777#[derive(Debug, Clone, Default, serde::Deserialize)]
3778pub struct DelCallHuntingResponse {
3779    #[serde(
3780        default,
3781        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3782    )]
3783    pub status: Option<String>,
3784}
3785
3786/// Response body for [`Client::del_call_parking`] (wire method `delCallParking`).
3787#[derive(Debug, Clone, Default, serde::Deserialize)]
3788pub struct DelCallParkingResponse {
3789    #[serde(
3790        default,
3791        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3792    )]
3793    pub status: Option<String>,
3794}
3795
3796/// Response body for [`Client::del_call_recording`] (wire method `delCallRecording`).
3797#[derive(Debug, Clone, Default, serde::Deserialize)]
3798pub struct DelCallRecordingResponse {
3799    #[serde(
3800        default,
3801        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3802    )]
3803    pub status: Option<String>,
3804}
3805
3806/// Response body for [`Client::del_callback`] (wire method `delCallback`).
3807#[derive(Debug, Clone, Default, serde::Deserialize)]
3808pub struct DelCallbackResponse {
3809    #[serde(
3810        default,
3811        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3812    )]
3813    pub status: Option<String>,
3814}
3815
3816/// Response body for [`Client::del_caller_id_filtering`] (wire method `delCallerIDFiltering`).
3817#[derive(Debug, Clone, Default, serde::Deserialize)]
3818pub struct DelCallerIDFilteringResponse {
3819    #[serde(
3820        default,
3821        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3822    )]
3823    pub status: Option<String>,
3824}
3825
3826/// Response body for [`Client::del_client`] (wire method `delClient`).
3827#[derive(Debug, Clone, Default, serde::Deserialize)]
3828pub struct DelClientResponse {
3829    #[serde(
3830        default,
3831        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3832    )]
3833    pub status: Option<String>,
3834}
3835
3836/// Response body for [`Client::del_conference`] (wire method `delConference`).
3837#[derive(Debug, Clone, Default, serde::Deserialize)]
3838pub struct DelConferenceResponse {
3839    #[serde(
3840        default,
3841        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3842    )]
3843    pub status: Option<String>,
3844}
3845
3846/// Response body for [`Client::del_conference_member`] (wire method `delConferenceMember`).
3847#[derive(Debug, Clone, Default, serde::Deserialize)]
3848pub struct DelConferenceMemberResponse {
3849    #[serde(
3850        default,
3851        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3852    )]
3853    pub status: Option<String>,
3854}
3855
3856/// Response body for [`Client::del_disa`] (wire method `delDISA`).
3857#[derive(Debug, Clone, Default, serde::Deserialize)]
3858pub struct DelDISAResponse {
3859    #[serde(
3860        default,
3861        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3862    )]
3863    pub status: Option<String>,
3864}
3865
3866/// Response body for [`Client::del_email_to_fax`] (wire method `delEmailToFax`).
3867#[derive(Debug, Clone, Default, serde::Deserialize)]
3868pub struct DelEmailToFAXResponse {
3869    #[serde(
3870        default,
3871        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3872    )]
3873    pub status: Option<String>,
3874}
3875
3876/// Response body for [`Client::del_fax_folder`] (wire method `delFaxFolder`).
3877#[derive(Debug, Clone, Default, serde::Deserialize)]
3878pub struct DelFAXFolderResponse {
3879    #[serde(
3880        default,
3881        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3882    )]
3883    pub status: Option<String>,
3884}
3885
3886/// Response body for [`Client::del_forwarding`] (wire method `delForwarding`).
3887#[derive(Debug, Clone, Default, serde::Deserialize)]
3888pub struct DelForwardingResponse {
3889    #[serde(
3890        default,
3891        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3892    )]
3893    pub status: Option<String>,
3894}
3895
3896/// Response body for [`Client::del_ivr`] (wire method `delIVR`).
3897#[derive(Debug, Clone, Default, serde::Deserialize)]
3898pub struct DelIVRResponse {
3899    #[serde(
3900        default,
3901        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3902    )]
3903    pub status: Option<String>,
3904}
3905
3906/// Response body for [`Client::del_location`] (wire method `delLocation`).
3907#[derive(Debug, Clone, Default, serde::Deserialize)]
3908pub struct DelLocationResponse {
3909    #[serde(
3910        default,
3911        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3912    )]
3913    pub status: Option<String>,
3914}
3915
3916/// Response body for [`Client::del_member_from_conference`] (wire method `delMemberFromConference`).
3917#[derive(Debug, Clone, Default, serde::Deserialize)]
3918pub struct DelMemberFromConferenceResponse {
3919    #[serde(
3920        default,
3921        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3922    )]
3923    pub status: Option<String>,
3924}
3925
3926/// Response body for [`Client::del_messages`] (wire method `delMessages`).
3927#[derive(Debug, Clone, Default, serde::Deserialize)]
3928pub struct DelMessagesResponse {
3929    #[serde(
3930        default,
3931        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3932    )]
3933    pub status: Option<String>,
3934}
3935
3936/// Response body for [`Client::del_music_on_hold`] (wire method `delMusicOnHold`).
3937#[derive(Debug, Clone, Default, serde::Deserialize)]
3938pub struct DelMusicOnHoldResponse {
3939    #[serde(
3940        default,
3941        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3942    )]
3943    pub status: Option<String>,
3944}
3945
3946/// Response body for [`Client::del_phonebook`] (wire method `delPhonebook`).
3947#[derive(Debug, Clone, Default, serde::Deserialize)]
3948pub struct DelPhonebookResponse {
3949    #[serde(
3950        default,
3951        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3952    )]
3953    pub status: Option<String>,
3954}
3955
3956/// Response body for [`Client::del_phonebook_group`] (wire method `delPhonebookGroup`).
3957#[derive(Debug, Clone, Default, serde::Deserialize)]
3958pub struct DelPhonebookGroupResponse {
3959    #[serde(
3960        default,
3961        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3962    )]
3963    pub status: Option<String>,
3964}
3965
3966/// Response body for [`Client::del_queue`] (wire method `delQueue`).
3967#[derive(Debug, Clone, Default, serde::Deserialize)]
3968pub struct DelQueueResponse {
3969    #[serde(
3970        default,
3971        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3972    )]
3973    pub status: Option<String>,
3974}
3975
3976/// Response body for [`Client::del_recording`] (wire method `delRecording`).
3977#[derive(Debug, Clone, Default, serde::Deserialize)]
3978pub struct DelRecordingResponse {
3979    #[serde(
3980        default,
3981        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3982    )]
3983    pub status: Option<String>,
3984}
3985
3986/// Response body for [`Client::del_ring_group`] (wire method `delRingGroup`).
3987#[derive(Debug, Clone, Default, serde::Deserialize)]
3988pub struct DelRingGroupResponse {
3989    #[serde(
3990        default,
3991        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
3992    )]
3993    pub status: Option<String>,
3994}
3995
3996/// Response body for [`Client::del_sip_uri`] (wire method `delSIPURI`).
3997#[derive(Debug, Clone, Default, serde::Deserialize)]
3998pub struct DelSIPURIResponse {
3999    #[serde(
4000        default,
4001        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4002    )]
4003    pub status: Option<String>,
4004}
4005
4006/// Response body for [`Client::del_static_member`] (wire method `delStaticMember`).
4007#[derive(Debug, Clone, Default, serde::Deserialize)]
4008pub struct DelStaticMemberResponse {
4009    #[serde(
4010        default,
4011        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4012    )]
4013    pub status: Option<String>,
4014}
4015
4016/// Response body for [`Client::del_sub_account`] (wire method `delSubAccount`).
4017#[derive(Debug, Clone, Default, serde::Deserialize)]
4018pub struct DelSubAccountResponse {
4019    #[serde(
4020        default,
4021        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4022    )]
4023    pub status: Option<String>,
4024}
4025
4026/// Response body for [`Client::del_time_condition`] (wire method `delTimeCondition`).
4027#[derive(Debug, Clone, Default, serde::Deserialize)]
4028pub struct DelTimeConditionResponse {
4029    #[serde(
4030        default,
4031        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4032    )]
4033    pub status: Option<String>,
4034}
4035
4036/// Response body for [`Client::del_voicemail`] (wire method `delVoicemail`).
4037#[derive(Debug, Clone, Default, serde::Deserialize)]
4038pub struct DelVoicemailResponse {
4039    #[serde(
4040        default,
4041        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4042    )]
4043    pub status: Option<String>,
4044}
4045
4046/// Response body for [`Client::delete_fax_message`] (wire method `deleteFaxMessage`).
4047#[derive(Debug, Clone, Default, serde::Deserialize)]
4048pub struct DeleteFAXMessageResponse {
4049    #[serde(
4050        default,
4051        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4052    )]
4053    pub status: Option<String>,
4054}
4055
4056/// Response body for [`Client::delete_mms`] (wire method `deleteMMS`).
4057#[derive(Debug, Clone, Default, serde::Deserialize)]
4058pub struct DeleteMMSResponse {
4059    #[serde(
4060        default,
4061        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4062    )]
4063    pub status: Option<String>,
4064}
4065
4066/// Response body for [`Client::delete_sms`] (wire method `deleteSMS`).
4067#[derive(Debug, Clone, Default, serde::Deserialize)]
4068pub struct DeleteSMSResponse {
4069    #[serde(
4070        default,
4071        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4072    )]
4073    pub status: Option<String>,
4074}
4075
4076/// Response body for [`Client::e911_address_types`] (wire method `e911AddressTypes`).
4077#[derive(Debug, Clone, Default, serde::Deserialize)]
4078pub struct E911AddressTypesResponse {
4079    #[serde(
4080        default,
4081        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4082    )]
4083    pub status: Option<String>,
4084    #[serde(
4085        default,
4086        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4087    )]
4088    pub types: Option<String>,
4089    #[serde(
4090        default,
4091        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4092    )]
4093    pub value: Option<String>,
4094    #[serde(
4095        default,
4096        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4097    )]
4098    pub description: Option<String>,
4099}
4100
4101/// Response body for [`Client::e911_cancel`] (wire method `e911Cancel`).
4102#[derive(Debug, Clone, Default, serde::Deserialize)]
4103pub struct E911CancelResponse {
4104    #[serde(
4105        default,
4106        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4107    )]
4108    pub status: Option<String>,
4109}
4110
4111/// Response body for [`Client::e911_info`] (wire method `e911Info`).
4112#[derive(Debug, Clone, Default, serde::Deserialize)]
4113pub struct E911InfoResponse {
4114    #[serde(
4115        default,
4116        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4117    )]
4118    pub status: Option<String>,
4119    #[serde(
4120        default,
4121        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4122    )]
4123    pub info: Option<String>,
4124    #[serde(
4125        default,
4126        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4127    )]
4128    pub did: Option<String>,
4129    #[serde(
4130        default,
4131        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4132    )]
4133    pub full_name: Option<String>,
4134    #[serde(
4135        default,
4136        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4137    )]
4138    pub street_number: Option<String>,
4139    #[serde(
4140        default,
4141        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4142    )]
4143    pub street_name: Option<String>,
4144    #[serde(
4145        default,
4146        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4147    )]
4148    pub address_type: Option<String>,
4149    #[serde(
4150        default,
4151        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4152    )]
4153    pub address_number: Option<String>,
4154    #[serde(
4155        default,
4156        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4157    )]
4158    pub city: Option<String>,
4159    #[serde(
4160        default,
4161        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4162    )]
4163    pub state: Option<String>,
4164    #[serde(
4165        default,
4166        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4167    )]
4168    pub zip_code: Option<String>,
4169    #[serde(
4170        default,
4171        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4172    )]
4173    pub country: Option<String>,
4174    #[serde(
4175        default,
4176        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4177    )]
4178    pub language: Option<String>,
4179    #[serde(
4180        default,
4181        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4182    )]
4183    pub email: Option<String>,
4184    #[serde(
4185        default,
4186        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4187    )]
4188    pub other_info: Option<String>,
4189}
4190
4191/// Response body for [`Client::e911_provision`] (wire method `e911Provision`).
4192#[derive(Debug, Clone, Default, serde::Deserialize)]
4193pub struct E911ProvisionResponse {
4194    #[serde(
4195        default,
4196        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4197    )]
4198    pub status: Option<String>,
4199}
4200
4201/// Response body for [`Client::e911_provision_manually`] (wire method `e911ProvisionManually`).
4202#[derive(Debug, Clone, Default, serde::Deserialize)]
4203pub struct E911ProvisionManuallyResponse {
4204    #[serde(
4205        default,
4206        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4207    )]
4208    pub status: Option<String>,
4209}
4210
4211/// Response body for [`Client::e911_update`] (wire method `e911Update`).
4212#[derive(Debug, Clone, Default, serde::Deserialize)]
4213pub struct E911UpdateResponse {
4214    #[serde(
4215        default,
4216        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4217    )]
4218    pub status: Option<String>,
4219}
4220
4221/// Response body for [`Client::e911_validate`] (wire method `e911Validate`).
4222#[derive(Debug, Clone, Default, serde::Deserialize)]
4223pub struct E911ValidateResponse {
4224    #[serde(
4225        default,
4226        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4227    )]
4228    pub status: Option<String>,
4229}
4230
4231/// Response body for [`Client::get_allowed_codecs`] (wire method `getAllowedCodecs`).
4232#[derive(Debug, Clone, Default, serde::Deserialize)]
4233pub struct GetAllowedCodecsResponseAllowedCodec {
4234    #[serde(
4235        default,
4236        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4237    )]
4238    pub value: Option<String>,
4239    #[serde(
4240        default,
4241        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4242    )]
4243    pub description: Option<String>,
4244}
4245
4246#[derive(Debug, Clone, Default, serde::Deserialize)]
4247pub struct GetAllowedCodecsResponse {
4248    #[serde(
4249        default,
4250        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4251    )]
4252    pub status: Option<String>,
4253    #[serde(default)]
4254    pub allowed_codecs: Option<Vec<GetAllowedCodecsResponseAllowedCodec>>,
4255}
4256
4257/// Response body for [`Client::get_auth_types`] (wire method `getAuthTypes`).
4258#[derive(Debug, Clone, Default, serde::Deserialize)]
4259pub struct GetAuthTypesResponseAuthType {
4260    #[serde(
4261        default,
4262        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4263    )]
4264    pub value: Option<u64>,
4265    #[serde(
4266        default,
4267        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4268    )]
4269    pub description: Option<String>,
4270}
4271
4272#[derive(Debug, Clone, Default, serde::Deserialize)]
4273pub struct GetAuthTypesResponse {
4274    #[serde(
4275        default,
4276        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4277    )]
4278    pub status: Option<String>,
4279    #[serde(default)]
4280    pub auth_types: Option<Vec<GetAuthTypesResponseAuthType>>,
4281}
4282
4283/// Response body for [`Client::get_back_orders`] (wire method `getBackOrders`).
4284#[derive(Debug, Clone, Default, serde::Deserialize)]
4285pub struct GetBackOrdersResponseBackOrder {
4286    #[serde(
4287        default,
4288        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4289    )]
4290    pub id: Option<u64>,
4291    #[serde(
4292        default,
4293        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4294    )]
4295    pub description: Option<String>,
4296    #[serde(
4297        default,
4298        deserialize_with = "crate::responses::deserialize_opt_routing"
4299    )]
4300    pub routing: Option<crate::Routing>,
4301    #[serde(
4302        default,
4303        deserialize_with = "crate::responses::deserialize_opt_routing"
4304    )]
4305    pub failover_busy: Option<crate::Routing>,
4306    #[serde(
4307        default,
4308        deserialize_with = "crate::responses::deserialize_opt_routing"
4309    )]
4310    pub failover_unreachable: Option<crate::Routing>,
4311    #[serde(
4312        default,
4313        deserialize_with = "crate::responses::deserialize_opt_routing"
4314    )]
4315    pub failover_noanswer: Option<crate::Routing>,
4316    #[serde(
4317        default,
4318        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4319    )]
4320    pub voicemail: Option<u64>,
4321    #[serde(
4322        default,
4323        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4324    )]
4325    pub pop: Option<u64>,
4326    #[serde(
4327        default,
4328        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4329    )]
4330    pub dialtime: Option<u64>,
4331    #[serde(
4332        default,
4333        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4334    )]
4335    pub cnam: Option<u64>,
4336    #[serde(
4337        default,
4338        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4339    )]
4340    pub billing_type: Option<u64>,
4341    #[serde(
4342        default,
4343        deserialize_with = "crate::responses::deserialize_opt_datetime"
4344    )]
4345    pub order_date: Option<chrono::NaiveDateTime>,
4346}
4347
4348#[derive(Debug, Clone, Default, serde::Deserialize)]
4349pub struct GetBackOrdersResponse {
4350    #[serde(
4351        default,
4352        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4353    )]
4354    pub status: Option<String>,
4355    #[serde(
4356        default,
4357        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4358    )]
4359    pub quantity: Option<u64>,
4360    #[serde(default)]
4361    pub back_orders: Option<Vec<GetBackOrdersResponseBackOrder>>,
4362}
4363
4364/// Response body for [`Client::get_balance`] (wire method `getBalance`).
4365#[derive(Debug, Clone, Default, serde::Deserialize)]
4366pub struct GetBalanceResponseBalance {
4367    #[serde(
4368        default,
4369        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
4370    )]
4371    pub current_balance: Option<rust_decimal::Decimal>,
4372    #[serde(
4373        default,
4374        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
4375    )]
4376    pub spent_total: Option<rust_decimal::Decimal>,
4377    #[serde(
4378        default,
4379        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4380    )]
4381    pub calls_total: Option<u64>,
4382    #[serde(
4383        default,
4384        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4385    )]
4386    pub time_total: Option<String>,
4387    #[serde(
4388        default,
4389        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
4390    )]
4391    pub spent_today: Option<rust_decimal::Decimal>,
4392    #[serde(
4393        default,
4394        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4395    )]
4396    pub calls_today: Option<u64>,
4397    #[serde(
4398        default,
4399        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4400    )]
4401    pub time_today: Option<String>,
4402}
4403
4404#[derive(Debug, Clone, Default, serde::Deserialize)]
4405pub struct GetBalanceResponse {
4406    #[serde(
4407        default,
4408        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4409    )]
4410    pub status: Option<String>,
4411    #[serde(default)]
4412    pub balance: Option<GetBalanceResponseBalance>,
4413}
4414
4415/// Response body for [`Client::get_balance_management`] (wire method `getBalanceManagement`).
4416#[derive(Debug, Clone, Default, serde::Deserialize)]
4417pub struct GetBalanceManagementResponseBalanceManagement {
4418    #[serde(
4419        default,
4420        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4421    )]
4422    pub value: Option<u64>,
4423    #[serde(
4424        default,
4425        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4426    )]
4427    pub description: Option<String>,
4428}
4429
4430#[derive(Debug, Clone, Default, serde::Deserialize)]
4431pub struct GetBalanceManagementResponse {
4432    #[serde(
4433        default,
4434        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4435    )]
4436    pub status: Option<String>,
4437    #[serde(default)]
4438    pub balance_management: Option<Vec<GetBalanceManagementResponseBalanceManagement>>,
4439}
4440
4441/// Response body for [`Client::get_cdr`] (wire method `getCDR`).
4442#[derive(Debug, Clone, Default, serde::Deserialize)]
4443pub struct GetCDRResponseCDR {
4444    #[serde(
4445        default,
4446        deserialize_with = "crate::responses::deserialize_opt_datetime"
4447    )]
4448    pub date: Option<chrono::NaiveDateTime>,
4449    #[serde(
4450        default,
4451        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4452    )]
4453    pub callerid: Option<String>,
4454    #[serde(
4455        default,
4456        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4457    )]
4458    pub destination: Option<u64>,
4459    #[serde(
4460        default,
4461        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4462    )]
4463    pub description: Option<String>,
4464    #[serde(
4465        default,
4466        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4467    )]
4468    pub account: Option<String>,
4469    #[serde(
4470        default,
4471        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4472    )]
4473    pub disposition: Option<String>,
4474    #[serde(
4475        default,
4476        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4477    )]
4478    pub duration: Option<String>,
4479    #[serde(
4480        default,
4481        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4482    )]
4483    pub seconds: Option<u64>,
4484    #[serde(
4485        default,
4486        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
4487    )]
4488    pub rate: Option<rust_decimal::Decimal>,
4489    #[serde(
4490        default,
4491        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
4492    )]
4493    pub total: Option<rust_decimal::Decimal>,
4494    #[serde(
4495        default,
4496        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4497    )]
4498    pub uniqueid: Option<u64>,
4499    #[serde(
4500        default,
4501        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4502    )]
4503    pub destination_type: Option<String>,
4504    #[serde(
4505        default,
4506        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4507    )]
4508    pub call_logs: Option<String>,
4509}
4510
4511#[derive(Debug, Clone, Default, serde::Deserialize)]
4512pub struct GetCDRResponse {
4513    #[serde(
4514        default,
4515        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4516    )]
4517    pub status: Option<String>,
4518    #[serde(default)]
4519    pub cdr: Option<Vec<GetCDRResponseCDR>>,
4520}
4521
4522/// Response body for [`Client::get_call_accounts`] (wire method `getCallAccounts`).
4523#[derive(Debug, Clone, Default, serde::Deserialize)]
4524pub struct GetCallAccountsResponseAccount {
4525    #[serde(
4526        default,
4527        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4528    )]
4529    pub value: Option<String>,
4530    #[serde(
4531        default,
4532        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4533    )]
4534    pub description: Option<String>,
4535}
4536
4537#[derive(Debug, Clone, Default, serde::Deserialize)]
4538pub struct GetCallAccountsResponse {
4539    #[serde(
4540        default,
4541        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4542    )]
4543    pub status: Option<String>,
4544    #[serde(default)]
4545    pub accounts: Option<Vec<GetCallAccountsResponseAccount>>,
4546}
4547
4548/// Response body for [`Client::get_call_billing`] (wire method `getCallBilling`).
4549#[derive(Debug, Clone, Default, serde::Deserialize)]
4550pub struct GetCallBillingResponseCallBilling {
4551    #[serde(
4552        default,
4553        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4554    )]
4555    pub value: Option<String>,
4556    #[serde(
4557        default,
4558        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4559    )]
4560    pub description: Option<String>,
4561}
4562
4563#[derive(Debug, Clone, Default, serde::Deserialize)]
4564pub struct GetCallBillingResponse {
4565    #[serde(
4566        default,
4567        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4568    )]
4569    pub status: Option<String>,
4570    #[serde(default)]
4571    pub call_billing: Option<Vec<GetCallBillingResponseCallBilling>>,
4572}
4573
4574/// Response body for [`Client::get_call_huntings`] (wire method `getCallHuntings`).
4575#[derive(Debug, Clone, Default, serde::Deserialize)]
4576pub struct GetCallHuntingsResponseCallHunting {
4577    #[serde(
4578        default,
4579        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4580    )]
4581    pub callhunting: Option<u64>,
4582    #[serde(
4583        default,
4584        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4585    )]
4586    pub description: Option<String>,
4587    #[serde(
4588        default,
4589        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4590    )]
4591    pub members: Option<String>,
4592    #[serde(
4593        default,
4594        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4595    )]
4596    pub ring_time: Option<String>,
4597    #[serde(default, deserialize_with = "deserialize_opt_ring_group_order")]
4598    pub order: Option<RingGroupOrder>,
4599    #[serde(
4600        default,
4601        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4602    )]
4603    pub press: Option<String>,
4604    #[serde(
4605        default,
4606        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4607    )]
4608    pub music: Option<String>,
4609    #[serde(
4610        default,
4611        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4612    )]
4613    pub recording: Option<String>,
4614    #[serde(
4615        default,
4616        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4617    )]
4618    pub language: Option<String>,
4619}
4620
4621#[derive(Debug, Clone, Default, serde::Deserialize)]
4622pub struct GetCallHuntingsResponse {
4623    #[serde(
4624        default,
4625        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4626    )]
4627    pub status: Option<String>,
4628    #[serde(default)]
4629    pub call_hunting: Option<Vec<GetCallHuntingsResponseCallHunting>>,
4630}
4631
4632/// Response body for [`Client::get_call_parking`] (wire method `getCallParking`).
4633#[derive(Debug, Clone, Default, serde::Deserialize)]
4634pub struct GetCallParkingResponseCallHunting {
4635    #[serde(
4636        default,
4637        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4638    )]
4639    pub callparking: Option<u64>,
4640    #[serde(
4641        default,
4642        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4643    )]
4644    pub name: Option<String>,
4645    #[serde(
4646        default,
4647        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4648    )]
4649    pub timeout: Option<u64>,
4650    #[serde(
4651        default,
4652        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4653    )]
4654    pub musiconhold: Option<String>,
4655    #[serde(
4656        default,
4657        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4658    )]
4659    pub failover: Option<String>,
4660    #[serde(
4661        default,
4662        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4663    )]
4664    pub language: Option<String>,
4665    #[serde(
4666        default,
4667        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4668    )]
4669    pub destination: Option<String>,
4670    #[serde(
4671        default,
4672        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4673    )]
4674    pub delay: Option<u64>,
4675    #[serde(
4676        default,
4677        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4678    )]
4679    pub blf_lamps: Option<u64>,
4680}
4681
4682#[derive(Debug, Clone, Default, serde::Deserialize)]
4683pub struct GetCallParkingResponse {
4684    #[serde(
4685        default,
4686        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4687    )]
4688    pub status: Option<String>,
4689    #[serde(default)]
4690    pub call_hunting: Option<Vec<GetCallParkingResponseCallHunting>>,
4691}
4692
4693/// Response body for [`Client::get_call_recording`] (wire method `getCallRecording`).
4694#[derive(Debug, Clone, Default, serde::Deserialize)]
4695pub struct GetCallRecordingResponse {
4696    #[serde(
4697        default,
4698        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4699    )]
4700    pub status: Option<String>,
4701    #[serde(
4702        default,
4703        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4704    )]
4705    pub callrecording: Option<String>,
4706    #[serde(
4707        default,
4708        deserialize_with = "crate::responses::deserialize_opt_datetime"
4709    )]
4710    pub datetime: Option<chrono::NaiveDateTime>,
4711    #[serde(
4712        default,
4713        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4714    )]
4715    pub destination: Option<u64>,
4716    #[serde(
4717        default,
4718        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
4719        rename = "type"
4720    )]
4721    pub r#type: Option<String>,
4722    #[serde(
4723        default,
4724        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4725    )]
4726    pub subaccount: Option<u64>,
4727    #[serde(
4728        default,
4729        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4730    )]
4731    pub duration: Option<String>,
4732    #[serde(
4733        default,
4734        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4735    )]
4736    pub base64file: Option<String>,
4737}
4738
4739/// Response body for [`Client::get_call_recordings`] (wire method `getCallRecordings`).
4740#[derive(Debug, Clone, Default, serde::Deserialize)]
4741pub struct GetCallRecordingsResponseRecording {
4742    #[serde(
4743        default,
4744        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4745    )]
4746    pub callrecording: Option<String>,
4747    #[serde(
4748        default,
4749        deserialize_with = "crate::responses::deserialize_opt_datetime"
4750    )]
4751    pub datetime: Option<chrono::NaiveDateTime>,
4752    #[serde(
4753        default,
4754        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4755    )]
4756    pub destination: Option<u64>,
4757    #[serde(
4758        default,
4759        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
4760        rename = "type"
4761    )]
4762    pub r#type: Option<String>,
4763    #[serde(
4764        default,
4765        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4766    )]
4767    pub subaccount: Option<u64>,
4768    #[serde(
4769        default,
4770        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4771    )]
4772    pub duration: Option<String>,
4773}
4774
4775#[derive(Debug, Clone, Default, serde::Deserialize)]
4776pub struct GetCallRecordingsResponse {
4777    #[serde(
4778        default,
4779        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4780    )]
4781    pub status: Option<String>,
4782    #[serde(default)]
4783    pub recordings: Option<Vec<GetCallRecordingsResponseRecording>>,
4784}
4785
4786/// Response body for [`Client::get_call_transcriptions`] (wire method `getCallTranscriptions`).
4787#[derive(Debug, Clone, Default, serde::Deserialize)]
4788pub struct GetCallTranscriptionsResponseTranscriptionRecognizedPhrase {
4789    #[serde(
4790        default,
4791        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4792    )]
4793    pub time: Option<String>,
4794    #[serde(
4795        default,
4796        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
4797    )]
4798    pub duration: Option<rust_decimal::Decimal>,
4799    #[serde(
4800        default,
4801        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4802    )]
4803    pub speaker: Option<u64>,
4804    #[serde(
4805        default,
4806        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4807    )]
4808    pub phrase: Option<String>,
4809}
4810
4811#[derive(Debug, Clone, Default, serde::Deserialize)]
4812pub struct GetCallTranscriptionsResponseTranscription {
4813    #[serde(
4814        default,
4815        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4816    )]
4817    pub date: Option<String>,
4818    #[serde(
4819        default,
4820        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4821    )]
4822    pub duration: Option<String>,
4823    #[serde(default)]
4824    pub speakers: Option<Vec<String>>,
4825    #[serde(
4826        default,
4827        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4828    )]
4829    pub locale: Option<String>,
4830    #[serde(
4831        default,
4832        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4833    )]
4834    pub confidence: Option<String>,
4835    #[serde(default)]
4836    pub recognized_phrases: Option<Vec<GetCallTranscriptionsResponseTranscriptionRecognizedPhrase>>,
4837}
4838
4839#[derive(Debug, Clone, Default, serde::Deserialize)]
4840pub struct GetCallTranscriptionsResponse {
4841    #[serde(
4842        default,
4843        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4844    )]
4845    pub status: Option<String>,
4846    #[serde(default)]
4847    pub transcriptions: Option<Vec<GetCallTranscriptionsResponseTranscription>>,
4848}
4849
4850/// Response body for [`Client::get_call_types`] (wire method `getCallTypes`).
4851#[derive(Debug, Clone, Default, serde::Deserialize)]
4852pub struct GetCallTypesResponseCallType {
4853    #[serde(
4854        default,
4855        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4856    )]
4857    pub value: Option<String>,
4858    #[serde(
4859        default,
4860        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4861    )]
4862    pub description: Option<String>,
4863}
4864
4865#[derive(Debug, Clone, Default, serde::Deserialize)]
4866pub struct GetCallTypesResponse {
4867    #[serde(
4868        default,
4869        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4870    )]
4871    pub status: Option<String>,
4872    #[serde(default)]
4873    pub call_types: Option<Vec<GetCallTypesResponseCallType>>,
4874}
4875
4876/// Response body for [`Client::get_callbacks`] (wire method `getCallbacks`).
4877#[derive(Debug, Clone, Default, serde::Deserialize)]
4878pub struct GetCallbacksResponseCallback {
4879    #[serde(
4880        default,
4881        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4882    )]
4883    pub callback: Option<u64>,
4884    #[serde(
4885        default,
4886        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4887    )]
4888    pub description: Option<String>,
4889    #[serde(
4890        default,
4891        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4892    )]
4893    pub number: Option<u64>,
4894    #[serde(
4895        default,
4896        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4897    )]
4898    pub delay_before: Option<u64>,
4899    #[serde(
4900        default,
4901        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4902    )]
4903    pub response_timeout: Option<u64>,
4904    #[serde(
4905        default,
4906        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4907    )]
4908    pub digit_timeout: Option<u64>,
4909    #[serde(
4910        default,
4911        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4912    )]
4913    pub callerid_number: Option<u64>,
4914}
4915
4916#[derive(Debug, Clone, Default, serde::Deserialize)]
4917pub struct GetCallbacksResponse {
4918    #[serde(
4919        default,
4920        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4921    )]
4922    pub status: Option<String>,
4923    #[serde(default)]
4924    pub callbacks: Option<Vec<GetCallbacksResponseCallback>>,
4925}
4926
4927/// Response body for [`Client::get_caller_id_filtering`] (wire method `getCallerIDFiltering`).
4928#[derive(Debug, Clone, Default, serde::Deserialize)]
4929pub struct GetCallerIDFilteringResponseFiltering {
4930    #[serde(
4931        default,
4932        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4933    )]
4934    pub filtering: Option<u64>,
4935    #[serde(
4936        default,
4937        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4938    )]
4939    pub callerid: Option<u64>,
4940    #[serde(
4941        default,
4942        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4943    )]
4944    pub did: Option<u64>,
4945    #[serde(
4946        default,
4947        deserialize_with = "crate::responses::deserialize_opt_routing"
4948    )]
4949    pub routing: Option<crate::Routing>,
4950    #[serde(
4951        default,
4952        deserialize_with = "crate::responses::deserialize_opt_routing"
4953    )]
4954    pub failover_unreachable: Option<crate::Routing>,
4955    #[serde(
4956        default,
4957        deserialize_with = "crate::responses::deserialize_opt_routing"
4958    )]
4959    pub failover_busy: Option<crate::Routing>,
4960    #[serde(
4961        default,
4962        deserialize_with = "crate::responses::deserialize_opt_routing"
4963    )]
4964    pub failover_noanswer: Option<crate::Routing>,
4965    #[serde(
4966        default,
4967        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4968    )]
4969    pub note: Option<String>,
4970}
4971
4972#[derive(Debug, Clone, Default, serde::Deserialize)]
4973pub struct GetCallerIDFilteringResponse {
4974    #[serde(
4975        default,
4976        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4977    )]
4978    pub status: Option<String>,
4979    #[serde(default)]
4980    pub filtering: Option<Vec<GetCallerIDFilteringResponseFiltering>>,
4981}
4982
4983/// Response body for [`Client::get_carriers`] (wire method `getCarriers`).
4984#[derive(Debug, Clone, Default, serde::Deserialize)]
4985pub struct GetCarriersResponseCarrier {
4986    #[serde(
4987        default,
4988        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
4989    )]
4990    pub value: Option<u64>,
4991    #[serde(
4992        default,
4993        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
4994    )]
4995    pub description: Option<String>,
4996}
4997
4998#[derive(Debug, Clone, Default, serde::Deserialize)]
4999pub struct GetCarriersResponse {
5000    #[serde(
5001        default,
5002        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5003    )]
5004    pub status: Option<String>,
5005    #[serde(default)]
5006    pub carriers: Option<Vec<GetCarriersResponseCarrier>>,
5007}
5008
5009/// Response body for [`Client::get_charges`] (wire method `getCharges`).
5010#[derive(Debug, Clone, Default, serde::Deserialize)]
5011pub struct GetChargesResponseCharge {
5012    #[serde(
5013        default,
5014        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5015    )]
5016    pub id: Option<u64>,
5017    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
5018    pub date: Option<chrono::NaiveDate>,
5019    #[serde(
5020        default,
5021        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5022    )]
5023    pub amount: Option<rust_decimal::Decimal>,
5024    #[serde(
5025        default,
5026        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5027    )]
5028    pub description: Option<String>,
5029}
5030
5031#[derive(Debug, Clone, Default, serde::Deserialize)]
5032pub struct GetChargesResponse {
5033    #[serde(
5034        default,
5035        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5036    )]
5037    pub status: Option<String>,
5038    #[serde(default)]
5039    pub charges: Option<Vec<GetChargesResponseCharge>>,
5040}
5041
5042/// Response body for [`Client::get_client_packages`] (wire method `getClientPackages`).
5043#[derive(Debug, Clone, Default, serde::Deserialize)]
5044pub struct GetClientPackagesResponsePackage {
5045    #[serde(
5046        default,
5047        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5048    )]
5049    pub value: Option<u64>,
5050    #[serde(
5051        default,
5052        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5053    )]
5054    pub description: Option<String>,
5055}
5056
5057#[derive(Debug, Clone, Default, serde::Deserialize)]
5058pub struct GetClientPackagesResponse {
5059    #[serde(
5060        default,
5061        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5062    )]
5063    pub status: Option<String>,
5064    #[serde(default)]
5065    pub packages: Option<Vec<GetClientPackagesResponsePackage>>,
5066}
5067
5068/// Response body for [`Client::get_client_threshold`] (wire method `getClientThreshold`).
5069#[derive(Debug, Clone, Default, serde::Deserialize)]
5070pub struct GetClientThresholdResponseThresholdInformation {
5071    #[serde(
5072        default,
5073        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5074    )]
5075    pub threshold: Option<u64>,
5076    #[serde(
5077        default,
5078        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5079    )]
5080    pub email: Option<String>,
5081}
5082
5083#[derive(Debug, Clone, Default, serde::Deserialize)]
5084pub struct GetClientThresholdResponse {
5085    #[serde(
5086        default,
5087        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5088    )]
5089    pub status: Option<String>,
5090    #[serde(default)]
5091    pub threshold_information: Option<GetClientThresholdResponseThresholdInformation>,
5092}
5093
5094/// Response body for [`Client::get_clients`] (wire method `getClients`).
5095#[derive(Debug, Clone, Default, serde::Deserialize)]
5096pub struct GetClientsResponseClient {
5097    #[serde(
5098        default,
5099        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5100    )]
5101    pub client: Option<u64>,
5102    #[serde(
5103        default,
5104        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5105    )]
5106    pub email: Option<String>,
5107    #[serde(
5108        default,
5109        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5110    )]
5111    pub password: Option<String>,
5112    #[serde(
5113        default,
5114        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5115    )]
5116    pub company: Option<String>,
5117    #[serde(
5118        default,
5119        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5120    )]
5121    pub firstname: Option<String>,
5122    #[serde(
5123        default,
5124        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5125    )]
5126    pub lastname: Option<String>,
5127    #[serde(
5128        default,
5129        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5130    )]
5131    pub address: Option<String>,
5132    #[serde(
5133        default,
5134        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5135    )]
5136    pub city: Option<String>,
5137    #[serde(
5138        default,
5139        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5140    )]
5141    pub state: Option<String>,
5142    #[serde(
5143        default,
5144        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5145    )]
5146    pub country: Option<String>,
5147    #[serde(
5148        default,
5149        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5150    )]
5151    pub zip: Option<u64>,
5152    #[serde(
5153        default,
5154        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5155    )]
5156    pub phone_number: Option<u64>,
5157    #[serde(
5158        default,
5159        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5160    )]
5161    pub balance_management: Option<u64>,
5162}
5163
5164#[derive(Debug, Clone, Default, serde::Deserialize)]
5165pub struct GetClientsResponse {
5166    #[serde(
5167        default,
5168        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5169    )]
5170    pub status: Option<String>,
5171    #[serde(default)]
5172    pub clients: Option<Vec<GetClientsResponseClient>>,
5173}
5174
5175/// Response body for [`Client::get_conference`] (wire method `getConference`).
5176#[derive(Debug, Clone, Default, serde::Deserialize)]
5177pub struct GetConferenceResponseConference {
5178    #[serde(
5179        default,
5180        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5181    )]
5182    pub conference: Option<u64>,
5183    #[serde(
5184        default,
5185        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5186    )]
5187    pub name: Option<String>,
5188    #[serde(
5189        default,
5190        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5191    )]
5192    pub description: Option<String>,
5193    #[serde(
5194        default,
5195        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5196    )]
5197    pub max_members: Option<u64>,
5198    #[serde(
5199        default,
5200        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5201    )]
5202    pub sound_join: Option<u64>,
5203    #[serde(
5204        default,
5205        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5206    )]
5207    pub sound_leave: Option<u64>,
5208    #[serde(
5209        default,
5210        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5211    )]
5212    pub sound_has_joined: Option<u64>,
5213    #[serde(
5214        default,
5215        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5216    )]
5217    pub sound_has_left: Option<u64>,
5218    #[serde(
5219        default,
5220        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5221    )]
5222    pub sound_kicked: Option<u64>,
5223    #[serde(
5224        default,
5225        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5226    )]
5227    pub sound_muted: Option<u64>,
5228    #[serde(
5229        default,
5230        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5231    )]
5232    pub sound_unmuted: Option<u64>,
5233    #[serde(
5234        default,
5235        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5236    )]
5237    pub sound_only_person: Option<u64>,
5238    #[serde(
5239        default,
5240        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5241    )]
5242    pub sound_only_one: Option<u64>,
5243    #[serde(
5244        default,
5245        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5246    )]
5247    pub sound_there_are: Option<u64>,
5248    #[serde(
5249        default,
5250        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5251    )]
5252    pub sound_other_in_party: Option<u64>,
5253    #[serde(
5254        default,
5255        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5256    )]
5257    pub sound_place_into_conference: Option<u64>,
5258    #[serde(
5259        default,
5260        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5261    )]
5262    pub sound_get_pin: Option<u64>,
5263    #[serde(
5264        default,
5265        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5266    )]
5267    pub sound_invalid_pin: Option<u64>,
5268    #[serde(
5269        default,
5270        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5271    )]
5272    pub sound_locked: Option<u64>,
5273    #[serde(
5274        default,
5275        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5276    )]
5277    pub sound_locked_now: Option<u64>,
5278    #[serde(
5279        default,
5280        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5281    )]
5282    pub sound_unlocked_now: Option<u64>,
5283    #[serde(
5284        default,
5285        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5286    )]
5287    pub sound_error_menu: Option<u64>,
5288    #[serde(
5289        default,
5290        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5291    )]
5292    pub sound_participants_muted: Option<u64>,
5293    #[serde(
5294        default,
5295        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5296    )]
5297    pub sound_participants_unmuted: Option<u64>,
5298    #[serde(
5299        default,
5300        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5301    )]
5302    pub language: Option<String>,
5303    #[serde(
5304        default,
5305        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5306    )]
5307    pub members: Option<String>,
5308}
5309
5310#[derive(Debug, Clone, Default, serde::Deserialize)]
5311pub struct GetConferenceResponse {
5312    #[serde(
5313        default,
5314        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5315    )]
5316    pub status: Option<String>,
5317    #[serde(default)]
5318    pub conference: Option<Vec<GetConferenceResponseConference>>,
5319}
5320
5321/// Response body for [`Client::get_conference_members`] (wire method `getConferenceMembers`).
5322#[derive(Debug, Clone, Default, serde::Deserialize)]
5323pub struct GetConferenceMembersResponseMember {
5324    #[serde(
5325        default,
5326        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5327    )]
5328    pub member: Option<u64>,
5329    #[serde(
5330        default,
5331        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5332    )]
5333    pub name: Option<String>,
5334    #[serde(
5335        default,
5336        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5337    )]
5338    pub description: Option<String>,
5339    #[serde(
5340        default,
5341        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5342    )]
5343    pub pin: Option<u64>,
5344    #[serde(
5345        default,
5346        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5347    )]
5348    pub announce_join_leave: Option<bool>,
5349    #[serde(
5350        default,
5351        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5352    )]
5353    pub admin: Option<bool>,
5354    #[serde(
5355        default,
5356        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5357    )]
5358    pub start_muted: Option<bool>,
5359    #[serde(
5360        default,
5361        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5362    )]
5363    pub announce_user_count: Option<bool>,
5364    #[serde(
5365        default,
5366        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5367    )]
5368    pub announce_only_user: Option<bool>,
5369    #[serde(
5370        default,
5371        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5372    )]
5373    pub moh_when_empty: Option<String>,
5374    #[serde(
5375        default,
5376        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5377    )]
5378    pub quiet: Option<bool>,
5379    #[serde(
5380        default,
5381        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5382    )]
5383    pub announcement: Option<u64>,
5384    #[serde(
5385        default,
5386        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5387    )]
5388    pub drop_silence: Option<bool>,
5389    #[serde(
5390        default,
5391        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5392    )]
5393    pub talking_threshold: Option<u64>,
5394    #[serde(
5395        default,
5396        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5397    )]
5398    pub silence_threshold: Option<u64>,
5399    #[serde(
5400        default,
5401        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5402    )]
5403    pub talk_detection: Option<bool>,
5404    #[serde(
5405        default,
5406        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5407    )]
5408    pub jitter_buffer: Option<bool>,
5409}
5410
5411#[derive(Debug, Clone, Default, serde::Deserialize)]
5412pub struct GetConferenceMembersResponse {
5413    #[serde(
5414        default,
5415        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5416    )]
5417    pub status: Option<String>,
5418    #[serde(default)]
5419    pub members: Option<Vec<GetConferenceMembersResponseMember>>,
5420}
5421
5422/// Response body for [`Client::get_conference_recording_file`] (wire method `getConferenceRecordingFile`).
5423#[derive(Debug, Clone, Default, serde::Deserialize)]
5424pub struct GetConferenceRecordingFileResponseRecording {
5425    #[serde(
5426        default,
5427        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5428    )]
5429    pub recording: Option<u64>,
5430    #[serde(
5431        default,
5432        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5433    )]
5434    pub data: Option<String>,
5435}
5436
5437#[derive(Debug, Clone, Default, serde::Deserialize)]
5438pub struct GetConferenceRecordingFileResponse {
5439    #[serde(
5440        default,
5441        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5442    )]
5443    pub status: Option<String>,
5444    #[serde(default)]
5445    pub recording: Option<Vec<GetConferenceRecordingFileResponseRecording>>,
5446}
5447
5448/// Response body for [`Client::get_conference_recordings`] (wire method `getConferenceRecordings`).
5449#[derive(Debug, Clone, Default, serde::Deserialize)]
5450pub struct GetConferenceRecordingsResponseRecording {
5451    #[serde(
5452        default,
5453        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5454    )]
5455    pub did: Option<u64>,
5456    #[serde(
5457        default,
5458        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5459    )]
5460    pub recording: Option<u64>,
5461    #[serde(
5462        default,
5463        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5464    )]
5465    pub conference: Option<u64>,
5466    #[serde(
5467        default,
5468        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5469    )]
5470    pub duration: Option<u64>,
5471    #[serde(
5472        default,
5473        deserialize_with = "crate::responses::deserialize_opt_datetime"
5474    )]
5475    pub date: Option<chrono::NaiveDateTime>,
5476}
5477
5478#[derive(Debug, Clone, Default, serde::Deserialize)]
5479pub struct GetConferenceRecordingsResponse {
5480    #[serde(
5481        default,
5482        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5483    )]
5484    pub status: Option<String>,
5485    #[serde(default)]
5486    pub recordings: Option<Vec<GetConferenceRecordingsResponseRecording>>,
5487}
5488
5489/// Response body for [`Client::get_countries`] (wire method `getCountries`).
5490#[derive(Debug, Clone, Default, serde::Deserialize)]
5491pub struct GetCountriesResponseCountry {
5492    #[serde(
5493        default,
5494        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5495    )]
5496    pub value: Option<String>,
5497    #[serde(
5498        default,
5499        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5500    )]
5501    pub description: Option<String>,
5502}
5503
5504#[derive(Debug, Clone, Default, serde::Deserialize)]
5505pub struct GetCountriesResponse {
5506    #[serde(
5507        default,
5508        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5509    )]
5510    pub status: Option<String>,
5511    #[serde(default)]
5512    pub countries: Option<Vec<GetCountriesResponseCountry>>,
5513}
5514
5515/// Response body for [`Client::get_did_countries`] (wire method `getDIDCountries`).
5516#[derive(Debug, Clone, Default, serde::Deserialize)]
5517pub struct GetDIDCountriesResponseCountry {
5518    #[serde(
5519        default,
5520        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5521    )]
5522    pub value: Option<u64>,
5523    #[serde(
5524        default,
5525        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5526    )]
5527    pub description: Option<String>,
5528}
5529
5530#[derive(Debug, Clone, Default, serde::Deserialize)]
5531pub struct GetDIDCountriesResponse {
5532    #[serde(
5533        default,
5534        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5535    )]
5536    pub status: Option<String>,
5537    #[serde(default)]
5538    pub countries: Option<Vec<GetDIDCountriesResponseCountry>>,
5539}
5540
5541/// Response body for [`Client::get_dids_can`] (wire method `getDIDsCAN`).
5542#[derive(Debug, Clone, Default, serde::Deserialize)]
5543pub struct GetDIDsCANResponseDID {
5544    #[serde(
5545        default,
5546        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5547    )]
5548    pub did: Option<u64>,
5549    #[serde(
5550        default,
5551        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5552    )]
5553    pub ratecenter: Option<String>,
5554    #[serde(
5555        default,
5556        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5557    )]
5558    pub province: Option<String>,
5559    #[serde(
5560        default,
5561        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5562    )]
5563    pub province_description: Option<String>,
5564    #[serde(
5565        default,
5566        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5567    )]
5568    pub perminute_monthly: Option<rust_decimal::Decimal>,
5569    #[serde(
5570        default,
5571        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5572    )]
5573    pub perminute_minute: Option<rust_decimal::Decimal>,
5574    #[serde(
5575        default,
5576        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5577    )]
5578    pub perminute_setup: Option<rust_decimal::Decimal>,
5579    #[serde(
5580        default,
5581        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5582    )]
5583    pub flat_monthly: Option<rust_decimal::Decimal>,
5584    #[serde(
5585        default,
5586        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5587    )]
5588    pub flat_minute: Option<rust_decimal::Decimal>,
5589    #[serde(
5590        default,
5591        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5592    )]
5593    pub flat_setup: Option<rust_decimal::Decimal>,
5594    #[serde(
5595        default,
5596        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5597    )]
5598    pub sms: Option<u64>,
5599}
5600
5601#[derive(Debug, Clone, Default, serde::Deserialize)]
5602pub struct GetDIDsCANResponse {
5603    #[serde(
5604        default,
5605        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5606    )]
5607    pub status: Option<String>,
5608    #[serde(default)]
5609    pub dids: Option<Vec<GetDIDsCANResponseDID>>,
5610}
5611
5612/// Response body for [`Client::get_dids_info`] (wire method `getDIDsInfo`).
5613#[derive(Debug, Clone, Default, serde::Deserialize)]
5614pub struct GetDIDsInfoResponseDID {
5615    #[serde(
5616        default,
5617        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5618    )]
5619    pub did: Option<String>,
5620    #[serde(
5621        default,
5622        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5623    )]
5624    pub description: Option<String>,
5625    #[serde(
5626        default,
5627        deserialize_with = "crate::responses::deserialize_opt_routing"
5628    )]
5629    pub routing: Option<crate::Routing>,
5630    #[serde(
5631        default,
5632        deserialize_with = "crate::responses::deserialize_opt_routing"
5633    )]
5634    pub failover_busy: Option<crate::Routing>,
5635    #[serde(
5636        default,
5637        deserialize_with = "crate::responses::deserialize_opt_routing"
5638    )]
5639    pub failover_unreachable: Option<crate::Routing>,
5640    #[serde(
5641        default,
5642        deserialize_with = "crate::responses::deserialize_opt_routing"
5643    )]
5644    pub failover_noanswer: Option<crate::Routing>,
5645    #[serde(
5646        default,
5647        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5648    )]
5649    pub voicemail: Option<u64>,
5650    #[serde(
5651        default,
5652        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5653    )]
5654    pub pop: Option<u64>,
5655    #[serde(
5656        default,
5657        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5658    )]
5659    pub dialtime: Option<u64>,
5660    #[serde(
5661        default,
5662        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5663    )]
5664    pub cnam: Option<bool>,
5665    #[serde(
5666        default,
5667        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5668    )]
5669    pub e911: Option<u64>,
5670    #[serde(
5671        default,
5672        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5673    )]
5674    pub callerid_prefix: Option<String>,
5675    #[serde(
5676        default,
5677        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5678    )]
5679    pub note: Option<String>,
5680    #[serde(
5681        default,
5682        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5683    )]
5684    pub port_out_pin: Option<u64>,
5685    #[serde(
5686        default,
5687        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5688    )]
5689    pub billing_type: Option<u64>,
5690    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
5691    pub next_billing: Option<chrono::NaiveDate>,
5692    #[serde(
5693        default,
5694        deserialize_with = "crate::responses::deserialize_opt_datetime"
5695    )]
5696    pub order_date: Option<chrono::NaiveDateTime>,
5697    #[serde(
5698        default,
5699        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5700    )]
5701    pub reseller_account: Option<String>,
5702    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
5703    pub reseller_next_billing: Option<chrono::NaiveDate>,
5704    #[serde(
5705        default,
5706        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5707    )]
5708    pub reseller_monthly: Option<rust_decimal::Decimal>,
5709    #[serde(
5710        default,
5711        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5712    )]
5713    pub reseller_minute: Option<rust_decimal::Decimal>,
5714    #[serde(
5715        default,
5716        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5717    )]
5718    pub reseller_setup: Option<rust_decimal::Decimal>,
5719    #[serde(
5720        default,
5721        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5722    )]
5723    pub sms_available: Option<bool>,
5724    #[serde(
5725        default,
5726        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5727    )]
5728    pub sms_enabled: Option<bool>,
5729    #[serde(
5730        default,
5731        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5732    )]
5733    pub sms_email: Option<String>,
5734    #[serde(
5735        default,
5736        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5737    )]
5738    pub sms_email_enabled: Option<u64>,
5739    #[serde(
5740        default,
5741        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5742    )]
5743    pub sms_forward: Option<u64>,
5744    #[serde(
5745        default,
5746        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5747    )]
5748    pub sms_forward_enabled: Option<u64>,
5749    #[serde(
5750        default,
5751        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5752    )]
5753    pub sms_url_callback: Option<String>,
5754    #[serde(
5755        default,
5756        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5757    )]
5758    pub sms_url_callback_enabled: Option<u64>,
5759    #[serde(
5760        default,
5761        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5762    )]
5763    pub sms_url_callback_retry: Option<u64>,
5764    #[serde(
5765        default,
5766        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5767    )]
5768    pub smpp_enabled: Option<u64>,
5769    #[serde(
5770        default,
5771        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5772    )]
5773    pub smpp_url: Option<String>,
5774    #[serde(
5775        default,
5776        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5777    )]
5778    pub smpp_user: Option<String>,
5779    #[serde(
5780        default,
5781        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5782    )]
5783    pub smpp_pass: Option<String>,
5784    #[serde(
5785        default,
5786        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5787    )]
5788    pub transcribe: Option<u64>,
5789    #[serde(
5790        default,
5791        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5792    )]
5793    pub transcription_locale: Option<String>,
5794    #[serde(
5795        default,
5796        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5797    )]
5798    pub transcription_redaction: Option<bool>,
5799    #[serde(
5800        default,
5801        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5802    )]
5803    pub transcription_summary: Option<bool>,
5804    #[serde(
5805        default,
5806        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
5807    )]
5808    pub transcription_sentiment: Option<bool>,
5809    #[serde(
5810        default,
5811        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5812    )]
5813    pub transcription_email: Option<String>,
5814}
5815
5816#[derive(Debug, Clone, Default, serde::Deserialize)]
5817pub struct GetDIDsInfoResponse {
5818    #[serde(
5819        default,
5820        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5821    )]
5822    pub status: Option<String>,
5823    #[serde(default)]
5824    pub dids: Option<Vec<GetDIDsInfoResponseDID>>,
5825}
5826
5827/// Response body for [`Client::get_dids_international_geographic`] (wire method `getDIDsInternationalGeographic`).
5828#[derive(Debug, Clone, Default, serde::Deserialize)]
5829pub struct GetDIDsInternationalGeographicResponseLocation {
5830    #[serde(
5831        default,
5832        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5833    )]
5834    pub location_id: Option<String>,
5835    #[serde(
5836        default,
5837        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5838    )]
5839    pub location_name: Option<String>,
5840    #[serde(
5841        default,
5842        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5843    )]
5844    pub country: Option<String>,
5845    #[serde(
5846        default,
5847        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5848    )]
5849    pub area_code: Option<u64>,
5850    #[serde(
5851        default,
5852        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5853    )]
5854    pub stock: Option<u64>,
5855    #[serde(
5856        default,
5857        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5858    )]
5859    pub monthly: Option<rust_decimal::Decimal>,
5860    #[serde(
5861        default,
5862        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5863    )]
5864    pub setup: Option<rust_decimal::Decimal>,
5865    #[serde(
5866        default,
5867        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5868    )]
5869    pub minute: Option<rust_decimal::Decimal>,
5870    #[serde(
5871        default,
5872        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5873    )]
5874    pub monthly_per_minute: Option<String>,
5875    #[serde(
5876        default,
5877        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5878    )]
5879    pub setup_per_minute: Option<String>,
5880    #[serde(
5881        default,
5882        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5883    )]
5884    pub channels: Option<u64>,
5885}
5886
5887#[derive(Debug, Clone, Default, serde::Deserialize)]
5888pub struct GetDIDsInternationalGeographicResponse {
5889    #[serde(
5890        default,
5891        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5892    )]
5893    pub status: Option<String>,
5894    #[serde(default)]
5895    pub locations: Option<Vec<GetDIDsInternationalGeographicResponseLocation>>,
5896}
5897
5898/// Response body for [`Client::get_dids_international_national`] (wire method `getDIDsInternationalNational`).
5899#[derive(Debug, Clone, Default, serde::Deserialize)]
5900pub struct GetDIDsInternationalNationalResponseLocation {
5901    #[serde(
5902        default,
5903        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5904    )]
5905    pub location_id: Option<String>,
5906    #[serde(
5907        default,
5908        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5909    )]
5910    pub location_name: Option<String>,
5911    #[serde(
5912        default,
5913        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5914    )]
5915    pub country: Option<String>,
5916    #[serde(
5917        default,
5918        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5919    )]
5920    pub area_code: Option<u64>,
5921    #[serde(
5922        default,
5923        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5924    )]
5925    pub stock: Option<u64>,
5926    #[serde(
5927        default,
5928        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5929    )]
5930    pub monthly: Option<rust_decimal::Decimal>,
5931    #[serde(
5932        default,
5933        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5934    )]
5935    pub setup: Option<u64>,
5936    #[serde(
5937        default,
5938        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5939    )]
5940    pub minute: Option<u64>,
5941    #[serde(
5942        default,
5943        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5944    )]
5945    pub monthly_per_minute: Option<String>,
5946    #[serde(
5947        default,
5948        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5949    )]
5950    pub setup_per_minute: Option<String>,
5951}
5952
5953#[derive(Debug, Clone, Default, serde::Deserialize)]
5954pub struct GetDIDsInternationalNationalResponse {
5955    #[serde(
5956        default,
5957        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5958    )]
5959    pub status: Option<String>,
5960    #[serde(default)]
5961    pub locations: Option<Vec<GetDIDsInternationalNationalResponseLocation>>,
5962}
5963
5964/// Response body for [`Client::get_dids_international_toll_free`] (wire method `getDIDsInternationalTollFree`).
5965#[derive(Debug, Clone, Default, serde::Deserialize)]
5966pub struct GetDIDsInternationalTollFreeResponseLocation {
5967    #[serde(
5968        default,
5969        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5970    )]
5971    pub location_id: Option<String>,
5972    #[serde(
5973        default,
5974        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5975    )]
5976    pub location_name: Option<String>,
5977    #[serde(
5978        default,
5979        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
5980    )]
5981    pub country: Option<String>,
5982    #[serde(
5983        default,
5984        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5985    )]
5986    pub area_code: Option<u64>,
5987    #[serde(
5988        default,
5989        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
5990    )]
5991    pub stock: Option<u64>,
5992    #[serde(
5993        default,
5994        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
5995    )]
5996    pub monthly: Option<rust_decimal::Decimal>,
5997    #[serde(
5998        default,
5999        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6000    )]
6001    pub setup: Option<rust_decimal::Decimal>,
6002    #[serde(
6003        default,
6004        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6005    )]
6006    pub minute: Option<rust_decimal::Decimal>,
6007}
6008
6009#[derive(Debug, Clone, Default, serde::Deserialize)]
6010pub struct GetDIDsInternationalTollFreeResponse {
6011    #[serde(
6012        default,
6013        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6014    )]
6015    pub status: Option<String>,
6016    #[serde(default)]
6017    pub locations: Option<Vec<GetDIDsInternationalTollFreeResponseLocation>>,
6018}
6019
6020/// Response body for [`Client::get_dids_usa`] (wire method `getDIDsUSA`).
6021#[derive(Debug, Clone, Default, serde::Deserialize)]
6022pub struct GetDIDsUSAResponseDID {
6023    #[serde(
6024        default,
6025        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6026    )]
6027    pub did: Option<u64>,
6028    #[serde(
6029        default,
6030        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6031    )]
6032    pub ratecenter: Option<String>,
6033    #[serde(
6034        default,
6035        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6036    )]
6037    pub state: Option<String>,
6038    #[serde(
6039        default,
6040        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6041    )]
6042    pub state_description: Option<String>,
6043    #[serde(
6044        default,
6045        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6046    )]
6047    pub perminute_monthly: Option<rust_decimal::Decimal>,
6048    #[serde(
6049        default,
6050        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6051    )]
6052    pub perminute_minute: Option<rust_decimal::Decimal>,
6053    #[serde(
6054        default,
6055        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6056    )]
6057    pub perminute_setup: Option<rust_decimal::Decimal>,
6058    #[serde(
6059        default,
6060        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6061    )]
6062    pub flat_monthly: Option<rust_decimal::Decimal>,
6063    #[serde(
6064        default,
6065        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6066    )]
6067    pub flat_minute: Option<rust_decimal::Decimal>,
6068    #[serde(
6069        default,
6070        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6071    )]
6072    pub flat_setup: Option<rust_decimal::Decimal>,
6073    #[serde(
6074        default,
6075        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6076    )]
6077    pub has_port_out_pin: Option<u64>,
6078    #[serde(
6079        default,
6080        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6081    )]
6082    pub sms: Option<u64>,
6083}
6084
6085#[derive(Debug, Clone, Default, serde::Deserialize)]
6086pub struct GetDIDsUSAResponse {
6087    #[serde(
6088        default,
6089        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6090    )]
6091    pub status: Option<String>,
6092    #[serde(default)]
6093    pub dids: Option<Vec<GetDIDsUSAResponseDID>>,
6094}
6095
6096/// Response body for [`Client::get_did_vpri`] (wire method `getDIDvPRI`).
6097#[derive(Debug, Clone, Default, serde::Deserialize)]
6098pub struct GetDIDvPRIResponse {
6099    #[serde(
6100        default,
6101        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6102    )]
6103    pub status: Option<String>,
6104    #[serde(default)]
6105    pub dids: Option<Vec<u64>>,
6106}
6107
6108/// Response body for [`Client::get_disas`] (wire method `getDISAs`).
6109#[derive(Debug, Clone, Default, serde::Deserialize)]
6110pub struct GetDISAsResponseDISA {
6111    #[serde(
6112        default,
6113        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6114    )]
6115    pub disa: Option<u64>,
6116    #[serde(
6117        default,
6118        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6119    )]
6120    pub name: Option<String>,
6121    #[serde(
6122        default,
6123        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6124    )]
6125    pub pin: Option<u64>,
6126    #[serde(
6127        default,
6128        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6129    )]
6130    pub digit_timeout: Option<u64>,
6131    #[serde(
6132        default,
6133        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6134    )]
6135    pub callerid_override: Option<u64>,
6136    #[serde(
6137        default,
6138        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6139    )]
6140    pub language: Option<String>,
6141}
6142
6143#[derive(Debug, Clone, Default, serde::Deserialize)]
6144pub struct GetDISAsResponse {
6145    #[serde(
6146        default,
6147        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6148    )]
6149    pub status: Option<String>,
6150    #[serde(default)]
6151    pub disa: Option<Vec<GetDISAsResponseDISA>>,
6152}
6153
6154/// Response body for [`Client::get_dtmf_modes`] (wire method `getDTMFModes`).
6155#[derive(Debug, Clone, Default, serde::Deserialize)]
6156pub struct GetDTMFModesResponseDTMFMode {
6157    #[serde(
6158        default,
6159        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6160    )]
6161    pub value: Option<String>,
6162    #[serde(
6163        default,
6164        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6165    )]
6166    pub description: Option<String>,
6167}
6168
6169#[derive(Debug, Clone, Default, serde::Deserialize)]
6170pub struct GetDTMFModesResponse {
6171    #[serde(
6172        default,
6173        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6174    )]
6175    pub status: Option<String>,
6176    #[serde(default)]
6177    pub dtmf_modes: Option<Vec<GetDTMFModesResponseDTMFMode>>,
6178}
6179
6180/// Response body for [`Client::get_deposits`] (wire method `getDeposits`).
6181#[derive(Debug, Clone, Default, serde::Deserialize)]
6182pub struct GetDepositsResponseDeposit {
6183    #[serde(
6184        default,
6185        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6186    )]
6187    pub id: Option<u64>,
6188    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
6189    pub date: Option<chrono::NaiveDate>,
6190    #[serde(
6191        default,
6192        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6193    )]
6194    pub amount: Option<rust_decimal::Decimal>,
6195    #[serde(
6196        default,
6197        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6198    )]
6199    pub description: Option<String>,
6200}
6201
6202#[derive(Debug, Clone, Default, serde::Deserialize)]
6203pub struct GetDepositsResponse {
6204    #[serde(
6205        default,
6206        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6207    )]
6208    pub status: Option<String>,
6209    #[serde(default)]
6210    pub deposits: Option<Vec<GetDepositsResponseDeposit>>,
6211}
6212
6213/// Response body for [`Client::get_device_types`] (wire method `getDeviceTypes`).
6214#[derive(Debug, Clone, Default, serde::Deserialize)]
6215pub struct GetDeviceTypesResponseDeviceType {
6216    #[serde(
6217        default,
6218        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6219    )]
6220    pub value: Option<u64>,
6221    #[serde(
6222        default,
6223        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6224    )]
6225    pub description: Option<String>,
6226}
6227
6228#[derive(Debug, Clone, Default, serde::Deserialize)]
6229pub struct GetDeviceTypesResponse {
6230    #[serde(
6231        default,
6232        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6233    )]
6234    pub status: Option<String>,
6235    #[serde(default)]
6236    pub device_types: Option<Vec<GetDeviceTypesResponseDeviceType>>,
6237}
6238
6239/// Response body for [`Client::get_email_to_fax`] (wire method `getEmailToFax`).
6240#[derive(Debug, Clone, Default, serde::Deserialize)]
6241pub struct GetEmailToFAXResponseEmailToFAX {
6242    #[serde(
6243        default,
6244        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6245    )]
6246    pub id: Option<String>,
6247    #[serde(
6248        default,
6249        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6250    )]
6251    pub enabled: Option<u64>,
6252    #[serde(
6253        default,
6254        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6255    )]
6256    pub email: Option<String>,
6257    #[serde(
6258        default,
6259        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6260    )]
6261    pub security_code: Option<u64>,
6262    #[serde(
6263        default,
6264        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6265    )]
6266    pub security_code_enabled: Option<u64>,
6267    #[serde(
6268        default,
6269        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6270    )]
6271    pub from: Option<u64>,
6272}
6273
6274#[derive(Debug, Clone, Default, serde::Deserialize)]
6275pub struct GetEmailToFAXResponse {
6276    #[serde(
6277        default,
6278        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6279    )]
6280    pub status: Option<String>,
6281    #[serde(default)]
6282    pub emailToFax: Option<Vec<GetEmailToFAXResponseEmailToFAX>>,
6283}
6284
6285/// Response body for [`Client::get_fax_folders`] (wire method `getFaxFolders`).
6286#[derive(Debug, Clone, Default, serde::Deserialize)]
6287pub struct GetFAXFoldersResponseFolder {
6288    #[serde(
6289        default,
6290        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6291    )]
6292    pub id: Option<String>,
6293    #[serde(
6294        default,
6295        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6296    )]
6297    pub name: Option<String>,
6298}
6299
6300#[derive(Debug, Clone, Default, serde::Deserialize)]
6301pub struct GetFAXFoldersResponse {
6302    #[serde(
6303        default,
6304        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6305    )]
6306    pub status: Option<String>,
6307    #[serde(default)]
6308    pub folders: Option<Vec<GetFAXFoldersResponseFolder>>,
6309}
6310
6311/// Response body for [`Client::get_fax_message_pdf`] (wire method `getFaxMessagePDF`).
6312#[derive(Debug, Clone, Default, serde::Deserialize)]
6313pub struct GetFAXMessagePDFResponse {
6314    #[serde(
6315        default,
6316        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6317    )]
6318    pub status: Option<String>,
6319    #[serde(
6320        default,
6321        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6322    )]
6323    pub message_base64: Option<String>,
6324}
6325
6326/// Response body for [`Client::get_fax_messages`] (wire method `getFaxMessages`).
6327#[derive(Debug, Clone, Default, serde::Deserialize)]
6328pub struct GetFAXMessagesResponseFAX {
6329    #[serde(
6330        default,
6331        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6332    )]
6333    pub id: Option<String>,
6334    #[serde(default, deserialize_with = "deserialize_opt_voicemail_folder")]
6335    pub folder: Option<VoicemailFolder>,
6336    #[serde(
6337        default,
6338        deserialize_with = "crate::responses::deserialize_opt_datetime"
6339    )]
6340    pub date: Option<chrono::NaiveDateTime>,
6341    #[serde(
6342        default,
6343        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6344    )]
6345    pub callerid: Option<u64>,
6346    #[serde(
6347        default,
6348        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6349    )]
6350    pub stationid: Option<u64>,
6351    #[serde(
6352        default,
6353        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6354    )]
6355    pub destination: Option<u64>,
6356    #[serde(
6357        default,
6358        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6359    )]
6360    pub description: Option<String>,
6361    #[serde(
6362        default,
6363        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6364    )]
6365    pub pages: Option<u64>,
6366    #[serde(
6367        default,
6368        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6369    )]
6370    pub duration: Option<String>,
6371    #[serde(
6372        default,
6373        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6374    )]
6375    pub status: Option<String>,
6376    #[serde(
6377        default,
6378        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6379    )]
6380    pub rate: Option<rust_decimal::Decimal>,
6381    #[serde(
6382        default,
6383        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6384    )]
6385    pub total: Option<rust_decimal::Decimal>,
6386    #[serde(
6387        default,
6388        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6389    )]
6390    pub msg: Option<String>,
6391}
6392
6393#[derive(Debug, Clone, Default, serde::Deserialize)]
6394pub struct GetFAXMessagesResponse {
6395    #[serde(
6396        default,
6397        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6398    )]
6399    pub status: Option<String>,
6400    #[serde(default)]
6401    pub faxes: Option<Vec<GetFAXMessagesResponseFAX>>,
6402}
6403
6404/// Response body for [`Client::get_fax_numbers_info`] (wire method `getFaxNumbersInfo`).
6405#[derive(Debug, Clone, Default, serde::Deserialize)]
6406pub struct GetFAXNumbersInfoResponseNumber {
6407    #[serde(
6408        default,
6409        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6410    )]
6411    pub id: Option<String>,
6412    #[serde(
6413        default,
6414        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6415    )]
6416    pub did: Option<u64>,
6417    #[serde(
6418        default,
6419        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6420    )]
6421    pub description: Option<String>,
6422    #[serde(
6423        default,
6424        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6425    )]
6426    pub state: Option<String>,
6427    #[serde(
6428        default,
6429        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6430    )]
6431    pub city: Option<String>,
6432    #[serde(
6433        default,
6434        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6435    )]
6436    pub country: Option<String>,
6437    #[serde(
6438        default,
6439        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6440    )]
6441    pub email_enabled: Option<u64>,
6442    #[serde(
6443        default,
6444        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6445    )]
6446    pub email: Option<String>,
6447    #[serde(
6448        default,
6449        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6450    )]
6451    pub url_enabled: Option<u64>,
6452    #[serde(
6453        default,
6454        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6455    )]
6456    pub url: Option<String>,
6457    #[serde(
6458        default,
6459        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6460    )]
6461    pub retry: Option<u64>,
6462    #[serde(
6463        default,
6464        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6465    )]
6466    pub attach_file: Option<u64>,
6467    #[serde(
6468        default,
6469        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6470    )]
6471    pub note: Option<String>,
6472    #[serde(
6473        default,
6474        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6475    )]
6476    pub reseller_account: Option<String>,
6477    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
6478    pub reseller_next_billing: Option<chrono::NaiveDate>,
6479    #[serde(
6480        default,
6481        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6482    )]
6483    pub reseller_monthly: Option<rust_decimal::Decimal>,
6484    #[serde(
6485        default,
6486        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6487    )]
6488    pub reseller_minute: Option<rust_decimal::Decimal>,
6489    #[serde(
6490        default,
6491        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6492    )]
6493    pub reseller_setup: Option<rust_decimal::Decimal>,
6494    #[serde(
6495        default,
6496        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6497    )]
6498    pub fax_to_sip_enabled: Option<u64>,
6499    #[serde(
6500        default,
6501        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6502    )]
6503    pub fax_to_sip_enabled_account: Option<String>,
6504}
6505
6506#[derive(Debug, Clone, Default, serde::Deserialize)]
6507pub struct GetFAXNumbersInfoResponse {
6508    #[serde(
6509        default,
6510        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6511    )]
6512    pub status: Option<String>,
6513    #[serde(default)]
6514    pub numbers: Option<Vec<GetFAXNumbersInfoResponseNumber>>,
6515}
6516
6517/// Response body for [`Client::get_fax_numbers_portability`] (wire method `getFaxNumbersPortability`).
6518#[derive(Debug, Clone, Default, serde::Deserialize)]
6519pub struct GetFAXNumbersPortabilityResponse {
6520    #[serde(
6521        default,
6522        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6523    )]
6524    pub status: Option<String>,
6525    #[serde(
6526        default,
6527        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6528    )]
6529    pub getFaxNumbersPortability: Option<bool>,
6530}
6531
6532/// Response body for [`Client::get_fax_provinces`] (wire method `getFaxProvinces`).
6533#[derive(Debug, Clone, Default, serde::Deserialize)]
6534pub struct GetFAXProvincesResponseProvince {
6535    #[serde(
6536        default,
6537        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6538    )]
6539    pub province: Option<String>,
6540    #[serde(
6541        default,
6542        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6543    )]
6544    pub province_id: Option<u64>,
6545    #[serde(
6546        default,
6547        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6548    )]
6549    pub province_name: Option<String>,
6550    #[serde(
6551        default,
6552        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6553    )]
6554    pub country_code: Option<String>,
6555}
6556
6557#[derive(Debug, Clone, Default, serde::Deserialize)]
6558pub struct GetFAXProvincesResponse {
6559    #[serde(
6560        default,
6561        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6562    )]
6563    pub status: Option<String>,
6564    #[serde(default)]
6565    pub provinces: Option<Vec<GetFAXProvincesResponseProvince>>,
6566}
6567
6568/// Response body for [`Client::get_fax_rate_centers_can`] (wire method `getFaxRateCentersCAN`).
6569#[derive(Debug, Clone, Default, serde::Deserialize)]
6570pub struct GetFAXRateCentersCANResponseRatecenter {
6571    #[serde(
6572        default,
6573        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6574    )]
6575    pub location: Option<u64>,
6576    #[serde(
6577        default,
6578        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6579    )]
6580    pub area_code: Option<u64>,
6581    #[serde(
6582        default,
6583        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6584    )]
6585    pub ratecenter: Option<String>,
6586    #[serde(
6587        default,
6588        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6589    )]
6590    pub available: Option<bool>,
6591}
6592
6593#[derive(Debug, Clone, Default, serde::Deserialize)]
6594pub struct GetFAXRateCentersCANResponse {
6595    #[serde(
6596        default,
6597        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6598    )]
6599    pub status: Option<String>,
6600    #[serde(default)]
6601    pub ratecenters: Option<Vec<GetFAXRateCentersCANResponseRatecenter>>,
6602}
6603
6604/// Response body for [`Client::get_fax_rate_centers_usa`] (wire method `getFaxRateCentersUSA`).
6605#[derive(Debug, Clone, Default, serde::Deserialize)]
6606pub struct GetFAXRateCentersUSAResponseRatecenter {
6607    #[serde(
6608        default,
6609        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6610    )]
6611    pub location: Option<u64>,
6612    #[serde(
6613        default,
6614        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6615    )]
6616    pub area_code: Option<u64>,
6617    #[serde(
6618        default,
6619        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6620    )]
6621    pub ratecenter: Option<String>,
6622    #[serde(
6623        default,
6624        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6625    )]
6626    pub available: Option<bool>,
6627}
6628
6629#[derive(Debug, Clone, Default, serde::Deserialize)]
6630pub struct GetFAXRateCentersUSAResponse {
6631    #[serde(
6632        default,
6633        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6634    )]
6635    pub status: Option<String>,
6636    #[serde(default)]
6637    pub ratecenters: Option<Vec<GetFAXRateCentersUSAResponseRatecenter>>,
6638}
6639
6640/// Response body for [`Client::get_fax_states`] (wire method `getFaxStates`).
6641#[derive(Debug, Clone, Default, serde::Deserialize)]
6642pub struct GetFAXStatesResponseState {
6643    #[serde(
6644        default,
6645        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6646    )]
6647    pub state: Option<String>,
6648    #[serde(
6649        default,
6650        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6651    )]
6652    pub state_id: Option<u64>,
6653    #[serde(
6654        default,
6655        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6656    )]
6657    pub state_name: Option<String>,
6658    #[serde(
6659        default,
6660        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6661    )]
6662    pub country_code: Option<String>,
6663}
6664
6665#[derive(Debug, Clone, Default, serde::Deserialize)]
6666pub struct GetFAXStatesResponse {
6667    #[serde(
6668        default,
6669        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6670    )]
6671    pub status: Option<String>,
6672    #[serde(default)]
6673    pub states: Option<Vec<GetFAXStatesResponseState>>,
6674}
6675
6676/// Response body for [`Client::get_forwardings`] (wire method `getForwardings`).
6677#[derive(Debug, Clone, Default, serde::Deserialize)]
6678pub struct GetForwardingsResponseForwarding {
6679    #[serde(
6680        default,
6681        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6682    )]
6683    pub forwarding: Option<u64>,
6684    #[serde(
6685        default,
6686        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6687    )]
6688    pub phone_number: Option<u64>,
6689    #[serde(
6690        default,
6691        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6692    )]
6693    pub callerid_override: Option<u64>,
6694    #[serde(
6695        default,
6696        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6697    )]
6698    pub description: Option<String>,
6699    #[serde(
6700        default,
6701        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6702    )]
6703    pub dtmf_digits: Option<u64>,
6704    #[serde(
6705        default,
6706        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
6707    )]
6708    pub pause: Option<rust_decimal::Decimal>,
6709    #[serde(
6710        default,
6711        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6712    )]
6713    pub diversion_header: Option<u64>,
6714}
6715
6716#[derive(Debug, Clone, Default, serde::Deserialize)]
6717pub struct GetForwardingsResponse {
6718    #[serde(
6719        default,
6720        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6721    )]
6722    pub status: Option<String>,
6723    #[serde(default)]
6724    pub forwardings: Option<Vec<GetForwardingsResponseForwarding>>,
6725}
6726
6727/// Response body for [`Client::get_ip`] (wire method `getIP`).
6728#[derive(Debug, Clone, Default, serde::Deserialize)]
6729pub struct GetIPResponse {
6730    #[serde(
6731        default,
6732        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6733    )]
6734    pub status: Option<String>,
6735    #[serde(
6736        default,
6737        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6738    )]
6739    pub ip: Option<String>,
6740}
6741
6742/// Response body for [`Client::get_ivrs`] (wire method `getIVRs`).
6743#[derive(Debug, Clone, Default, serde::Deserialize)]
6744pub struct GetIVRsResponseIVR {
6745    #[serde(
6746        default,
6747        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6748    )]
6749    pub ivr: Option<u64>,
6750    #[serde(
6751        default,
6752        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6753    )]
6754    pub name: Option<String>,
6755    #[serde(
6756        default,
6757        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6758    )]
6759    pub recording: Option<u64>,
6760    #[serde(
6761        default,
6762        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6763    )]
6764    pub timeout: Option<u64>,
6765    #[serde(
6766        default,
6767        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6768    )]
6769    pub language: Option<String>,
6770    #[serde(
6771        default,
6772        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6773    )]
6774    pub voicemailsetup: Option<u64>,
6775    #[serde(
6776        default,
6777        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6778    )]
6779    pub choices: Option<String>,
6780}
6781
6782#[derive(Debug, Clone, Default, serde::Deserialize)]
6783pub struct GetIVRsResponse {
6784    #[serde(
6785        default,
6786        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6787    )]
6788    pub status: Option<String>,
6789    #[serde(default)]
6790    pub ivrs: Option<Vec<GetIVRsResponseIVR>>,
6791}
6792
6793/// Response body for [`Client::get_international_types`] (wire method `getInternationalTypes`).
6794#[derive(Debug, Clone, Default, serde::Deserialize)]
6795pub struct GetInternationalTypesResponseType {
6796    #[serde(
6797        default,
6798        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6799    )]
6800    pub value: Option<String>,
6801    #[serde(
6802        default,
6803        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6804    )]
6805    pub description: Option<String>,
6806}
6807
6808#[derive(Debug, Clone, Default, serde::Deserialize)]
6809pub struct GetInternationalTypesResponse {
6810    #[serde(
6811        default,
6812        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6813    )]
6814    pub status: Option<String>,
6815    #[serde(default)]
6816    pub types: Option<Vec<GetInternationalTypesResponseType>>,
6817}
6818
6819/// Response body for [`Client::get_join_when_empty_types`] (wire method `getJoinWhenEmptyTypes`).
6820#[derive(Debug, Clone, Default, serde::Deserialize)]
6821pub struct GetJoinWhenEmptyTypesResponseType {
6822    #[serde(
6823        default,
6824        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6825    )]
6826    pub value: Option<bool>,
6827    #[serde(
6828        default,
6829        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6830    )]
6831    pub description: Option<bool>,
6832}
6833
6834#[derive(Debug, Clone, Default, serde::Deserialize)]
6835pub struct GetJoinWhenEmptyTypesResponse {
6836    #[serde(
6837        default,
6838        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6839    )]
6840    pub status: Option<String>,
6841    #[serde(default)]
6842    pub types: Option<Vec<GetJoinWhenEmptyTypesResponseType>>,
6843}
6844
6845/// Response body for [`Client::get_lnp_attach`] (wire method `getLNPAttach`).
6846#[derive(Debug, Clone, Default, serde::Deserialize)]
6847pub struct GetLNPAttachResponse {
6848    #[serde(
6849        default,
6850        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6851    )]
6852    pub status: Option<String>,
6853    #[serde(
6854        default,
6855        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
6856        rename = "type"
6857    )]
6858    pub r#type: Option<String>,
6859    #[serde(
6860        default,
6861        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6862    )]
6863    pub size: Option<String>,
6864    #[serde(
6865        default,
6866        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6867    )]
6868    pub base64: Option<String>,
6869}
6870
6871/// Response body for [`Client::get_lnp_attach_list`] (wire method `getLNPAttachList`).
6872#[derive(Debug, Clone, Default, serde::Deserialize)]
6873pub struct GetLNPAttachListResponse {
6874    #[serde(
6875        default,
6876        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6877    )]
6878    pub status: Option<String>,
6879    #[serde(
6880        default,
6881        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6882    )]
6883    pub list: Option<String>,
6884    #[serde(
6885        default,
6886        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6887    )]
6888    pub attachid: Option<String>,
6889    #[serde(
6890        default,
6891        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
6892        rename = "type"
6893    )]
6894    pub r#type: Option<String>,
6895    #[serde(
6896        default,
6897        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6898    )]
6899    pub size: Option<String>,
6900}
6901
6902/// Response body for [`Client::get_lnp_details`] (wire method `getLNPDetails`).
6903#[derive(Debug, Clone, Default, serde::Deserialize)]
6904pub struct GetLNPDetailsResponseNumber {
6905    #[serde(
6906        default,
6907        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6908    )]
6909    pub did: Option<String>,
6910    #[serde(
6911        default,
6912        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6913    )]
6914    pub rateCenter: Option<String>,
6915    #[serde(
6916        default,
6917        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6918    )]
6919    pub state: Option<String>,
6920}
6921
6922#[derive(Debug, Clone, Default, serde::Deserialize)]
6923pub struct GetLNPDetailsResponseNote {
6924    #[serde(
6925        default,
6926        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6927    )]
6928    pub note: Option<String>,
6929    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
6930    pub date: Option<chrono::NaiveDate>,
6931    #[serde(
6932        default,
6933        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6934    )]
6935    pub time: Option<String>,
6936}
6937
6938#[derive(Debug, Clone, Default, serde::Deserialize)]
6939pub struct GetLNPDetailsResponseAttachment {
6940    #[serde(
6941        default,
6942        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6943    )]
6944    pub id: Option<String>,
6945    #[serde(
6946        default,
6947        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6948    )]
6949    pub description: Option<String>,
6950    #[serde(
6951        default,
6952        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
6953        rename = "type"
6954    )]
6955    pub r#type: Option<String>,
6956    #[serde(
6957        default,
6958        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6959    )]
6960    pub bytes: Option<u64>,
6961}
6962
6963#[derive(Debug, Clone, Default, serde::Deserialize)]
6964pub struct GetLNPDetailsResponse {
6965    #[serde(
6966        default,
6967        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6968    )]
6969    pub status: Option<String>,
6970    #[serde(
6971        default,
6972        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6973    )]
6974    pub id: Option<u64>,
6975    #[serde(default)]
6976    pub numbers: Option<Vec<GetLNPDetailsResponseNumber>>,
6977    #[serde(
6978        default,
6979        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6980    )]
6981    pub isPartial: Option<bool>,
6982    #[serde(
6983        default,
6984        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
6985    )]
6986    pub locationType: Option<u64>,
6987    #[serde(
6988        default,
6989        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
6990    )]
6991    pub isMobile: Option<bool>,
6992    #[serde(
6993        default,
6994        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
6995    )]
6996    pub mobileInfo: Option<String>,
6997    #[serde(
6998        default,
6999        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7000    )]
7001    pub tfType: Option<u64>,
7002    #[serde(
7003        default,
7004        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7005    )]
7006    pub portType: Option<u64>,
7007    #[serde(
7008        default,
7009        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7010    )]
7011    pub btn: Option<String>,
7012    #[serde(
7013        default,
7014        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7015    )]
7016    pub services: Option<String>,
7017    #[serde(
7018        default,
7019        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7020    )]
7021    pub statementName: Option<String>,
7022    #[serde(
7023        default,
7024        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7025    )]
7026    pub firstName: Option<String>,
7027    #[serde(
7028        default,
7029        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7030    )]
7031    pub lastName: Option<String>,
7032    #[serde(
7033        default,
7034        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7035    )]
7036    pub address1: Option<String>,
7037    #[serde(
7038        default,
7039        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7040    )]
7041    pub address2: Option<String>,
7042    #[serde(
7043        default,
7044        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7045    )]
7046    pub city: Option<String>,
7047    #[serde(
7048        default,
7049        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7050    )]
7051    pub zip: Option<String>,
7052    #[serde(
7053        default,
7054        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7055    )]
7056    pub state: Option<String>,
7057    #[serde(
7058        default,
7059        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7060    )]
7061    pub country: Option<String>,
7062    #[serde(
7063        default,
7064        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7065    )]
7066    pub providerName: Option<String>,
7067    #[serde(
7068        default,
7069        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7070    )]
7071    pub providerAccount: Option<String>,
7072    #[serde(
7073        default,
7074        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7075    )]
7076    pub customer_notes: Option<String>,
7077    #[serde(default)]
7078    pub notes: Option<Vec<GetLNPDetailsResponseNote>>,
7079    #[serde(
7080        default,
7081        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7082    )]
7083    pub post_status: Option<String>,
7084    #[serde(
7085        default,
7086        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7087    )]
7088    pub post_status_description: Option<String>,
7089    #[serde(
7090        default,
7091        deserialize_with = "crate::responses::deserialize_opt_datetime"
7092    )]
7093    pub date: Option<chrono::NaiveDateTime>,
7094    #[serde(
7095        default,
7096        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7097    )]
7098    pub focDate: Option<String>,
7099    #[serde(default)]
7100    pub attachments: Option<Vec<GetLNPDetailsResponseAttachment>>,
7101}
7102
7103/// Response body for [`Client::get_lnp_list`] (wire method `getLNPList`).
7104#[derive(Debug, Clone, Default, serde::Deserialize)]
7105pub struct GetLNPListResponse {
7106    #[serde(
7107        default,
7108        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7109    )]
7110    pub status: Option<String>,
7111    #[serde(
7112        default,
7113        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7114    )]
7115    pub list: Option<String>,
7116    #[serde(
7117        default,
7118        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7119    )]
7120    pub portid: Option<String>,
7121    #[serde(
7122        default,
7123        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7124    )]
7125    pub numbers: Option<String>,
7126    #[serde(
7127        default,
7128        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7129    )]
7130    pub foc_date: Option<String>,
7131}
7132
7133/// Response body for [`Client::get_lnp_list_status`] (wire method `getLNPListStatus`).
7134#[derive(Debug, Clone, Default, serde::Deserialize)]
7135pub struct GetLNPListStatusResponse {
7136    #[serde(
7137        default,
7138        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7139    )]
7140    pub status: Option<String>,
7141    #[serde(
7142        default,
7143        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7144    )]
7145    pub list_status: Option<String>,
7146}
7147
7148/// Response body for [`Client::get_lnp_notes`] (wire method `getLNPNotes`).
7149#[derive(Debug, Clone, Default, serde::Deserialize)]
7150pub struct GetLNPNotesResponse {
7151    #[serde(
7152        default,
7153        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7154    )]
7155    pub status: Option<String>,
7156    #[serde(
7157        default,
7158        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7159    )]
7160    pub list: Option<String>,
7161    #[serde(
7162        default,
7163        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7164    )]
7165    pub note: Option<String>,
7166    #[serde(
7167        default,
7168        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7169    )]
7170    pub date: Option<String>,
7171    #[serde(
7172        default,
7173        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7174    )]
7175    pub time: Option<String>,
7176}
7177
7178/// Response body for [`Client::get_lnp_status`] (wire method `getLNPStatus`).
7179#[derive(Debug, Clone, Default, serde::Deserialize)]
7180pub struct GetLNPStatusResponse {
7181    #[serde(
7182        default,
7183        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7184    )]
7185    pub status: Option<String>,
7186    #[serde(
7187        default,
7188        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7189    )]
7190    pub post_status: Option<String>,
7191    #[serde(
7192        default,
7193        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7194    )]
7195    pub post_status_description: Option<String>,
7196}
7197
7198/// Response body for [`Client::get_languages`] (wire method `getLanguages`).
7199#[derive(Debug, Clone, Default, serde::Deserialize)]
7200pub struct GetLanguagesResponseLanguage {
7201    #[serde(
7202        default,
7203        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7204    )]
7205    pub value: Option<String>,
7206    #[serde(
7207        default,
7208        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7209    )]
7210    pub description: Option<String>,
7211}
7212
7213#[derive(Debug, Clone, Default, serde::Deserialize)]
7214pub struct GetLanguagesResponse {
7215    #[serde(
7216        default,
7217        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7218    )]
7219    pub status: Option<String>,
7220    #[serde(default)]
7221    pub languages: Option<Vec<GetLanguagesResponseLanguage>>,
7222}
7223
7224/// Response body for [`Client::get_locales`] (wire method `getLocales`).
7225#[derive(Debug, Clone, Default, serde::Deserialize)]
7226pub struct GetLocalesResponseLocale {
7227    #[serde(
7228        default,
7229        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7230    )]
7231    pub value: Option<String>,
7232    #[serde(
7233        default,
7234        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7235    )]
7236    pub description: Option<String>,
7237}
7238
7239#[derive(Debug, Clone, Default, serde::Deserialize)]
7240pub struct GetLocalesResponse {
7241    #[serde(
7242        default,
7243        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7244    )]
7245    pub status: Option<String>,
7246    #[serde(default)]
7247    pub locales: Option<Vec<GetLocalesResponseLocale>>,
7248}
7249
7250/// Response body for [`Client::get_locations`] (wire method `getLocations`).
7251#[derive(Debug, Clone, Default, serde::Deserialize)]
7252pub struct GetLocationsResponse {
7253    #[serde(
7254        default,
7255        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7256    )]
7257    pub status: Option<String>,
7258    #[serde(default)]
7259    pub locations: Option<Vec<String>>,
7260}
7261
7262/// Response body for [`Client::get_lock_international`] (wire method `getLockInternational`).
7263#[derive(Debug, Clone, Default, serde::Deserialize)]
7264pub struct GetLockInternationalResponseLockInternational {
7265    #[serde(
7266        default,
7267        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7268    )]
7269    pub value: Option<u64>,
7270    #[serde(
7271        default,
7272        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7273    )]
7274    pub description: Option<String>,
7275}
7276
7277#[derive(Debug, Clone, Default, serde::Deserialize)]
7278pub struct GetLockInternationalResponse {
7279    #[serde(
7280        default,
7281        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7282    )]
7283    pub status: Option<String>,
7284    #[serde(default)]
7285    pub lock_international: Option<Vec<GetLockInternationalResponseLockInternational>>,
7286}
7287
7288/// Response body for [`Client::get_mms`] (wire method `getMMS`).
7289#[derive(Debug, Clone, Default, serde::Deserialize)]
7290pub struct GetMMSResponseSMS {
7291    #[serde(
7292        default,
7293        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7294    )]
7295    pub id: Option<u64>,
7296    #[serde(
7297        default,
7298        deserialize_with = "crate::responses::deserialize_opt_datetime"
7299    )]
7300    pub date: Option<chrono::NaiveDateTime>,
7301    #[serde(
7302        default,
7303        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number",
7304        rename = "type"
7305    )]
7306    pub r#type: Option<u64>,
7307    #[serde(
7308        default,
7309        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7310    )]
7311    pub did: Option<u64>,
7312    #[serde(
7313        default,
7314        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7315    )]
7316    pub contact: Option<u64>,
7317    #[serde(
7318        default,
7319        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7320    )]
7321    pub message: Option<String>,
7322    #[serde(
7323        default,
7324        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7325    )]
7326    pub carrier_status: Option<String>,
7327    #[serde(
7328        default,
7329        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7330    )]
7331    pub col_media1: Option<String>,
7332    #[serde(
7333        default,
7334        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7335    )]
7336    pub col_media2: Option<String>,
7337    #[serde(
7338        default,
7339        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7340    )]
7341    pub col_media3: Option<String>,
7342    #[serde(default)]
7343    pub media: Option<Vec<String>>,
7344}
7345
7346#[derive(Debug, Clone, Default, serde::Deserialize)]
7347pub struct GetMMSResponse {
7348    #[serde(
7349        default,
7350        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7351    )]
7352    pub status: Option<String>,
7353    #[serde(default)]
7354    pub sms: Option<Vec<GetMMSResponseSMS>>,
7355}
7356
7357/// Response body for [`Client::get_media_mms`] (wire method `getMediaMMS`).
7358#[derive(Debug, Clone, Default, serde::Deserialize)]
7359pub struct GetMediaMMSResponse {
7360    #[serde(
7361        default,
7362        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7363    )]
7364    pub status: Option<String>,
7365    #[serde(
7366        default,
7367        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7368    )]
7369    pub id: Option<u64>,
7370    #[serde(
7371        default,
7372        deserialize_with = "crate::responses::deserialize_opt_datetime"
7373    )]
7374    pub date: Option<chrono::NaiveDateTime>,
7375    #[serde(
7376        default,
7377        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7378    )]
7379    pub media: Option<String>,
7380    #[serde(
7381        default,
7382        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
7383        rename = "0"
7384    )]
7385    pub field_0: Option<String>,
7386    #[serde(
7387        default,
7388        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
7389        rename = "1"
7390    )]
7391    pub field_1: Option<String>,
7392    #[serde(
7393        default,
7394        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
7395        rename = "2"
7396    )]
7397    pub field_2: Option<String>,
7398}
7399
7400/// Response body for [`Client::get_music_on_hold`] (wire method `getMusicOnHold`).
7401#[derive(Debug, Clone, Default, serde::Deserialize)]
7402pub struct GetMusicOnHoldResponseMusicOnHold {
7403    #[serde(
7404        default,
7405        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7406    )]
7407    pub value: Option<String>,
7408    #[serde(
7409        default,
7410        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7411    )]
7412    pub description: Option<String>,
7413    #[serde(
7414        default,
7415        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7416    )]
7417    pub recordings: Option<String>,
7418    #[serde(
7419        default,
7420        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7421    )]
7422    pub total: Option<u64>,
7423    #[serde(
7424        default,
7425        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7426    )]
7427    pub volume: Option<String>,
7428    #[serde(
7429        default,
7430        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7431    )]
7432    pub sort: Option<String>,
7433    #[serde(
7434        default,
7435        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7436    )]
7437    pub custom: Option<u64>,
7438}
7439
7440#[derive(Debug, Clone, Default, serde::Deserialize)]
7441pub struct GetMusicOnHoldResponse {
7442    #[serde(
7443        default,
7444        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7445    )]
7446    pub status: Option<String>,
7447    #[serde(default)]
7448    pub music_on_hold: Option<Vec<GetMusicOnHoldResponseMusicOnHold>>,
7449}
7450
7451/// Response body for [`Client::get_nat`] (wire method `getNAT`).
7452#[derive(Debug, Clone, Default, serde::Deserialize)]
7453pub struct GetNATResponse {
7454    #[serde(
7455        default,
7456        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7457    )]
7458    pub status: Option<String>,
7459    #[serde(default, deserialize_with = "deserialize_opt_nat")]
7460    pub nat: Option<Nat>,
7461}
7462
7463/// Response body for [`Client::get_packages`] (wire method `getPackages`).
7464#[derive(Debug, Clone, Default, serde::Deserialize)]
7465pub struct GetPackagesResponsePackage {
7466    #[serde(
7467        default,
7468        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7469    )]
7470    pub package: Option<u64>,
7471    #[serde(
7472        default,
7473        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7474    )]
7475    pub name: Option<String>,
7476    #[serde(
7477        default,
7478        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7479    )]
7480    pub markup_fixed: Option<rust_decimal::Decimal>,
7481    #[serde(
7482        default,
7483        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7484    )]
7485    pub markup_percentage: Option<u64>,
7486    #[serde(
7487        default,
7488        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7489    )]
7490    pub pulse: Option<u64>,
7491    #[serde(
7492        default,
7493        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7494    )]
7495    pub international_route: Option<u64>,
7496    #[serde(
7497        default,
7498        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7499    )]
7500    pub canada_route: Option<u64>,
7501    #[serde(
7502        default,
7503        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7504    )]
7505    pub monthly_fee: Option<rust_decimal::Decimal>,
7506    #[serde(
7507        default,
7508        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7509    )]
7510    pub setup_fee: Option<rust_decimal::Decimal>,
7511    #[serde(
7512        default,
7513        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7514    )]
7515    pub free_minutes: Option<u64>,
7516}
7517
7518#[derive(Debug, Clone, Default, serde::Deserialize)]
7519pub struct GetPackagesResponse {
7520    #[serde(
7521        default,
7522        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7523    )]
7524    pub status: Option<String>,
7525    #[serde(default)]
7526    pub packages: Option<Vec<GetPackagesResponsePackage>>,
7527}
7528
7529/// Response body for [`Client::get_phonebook`] (wire method `getPhonebook`).
7530#[derive(Debug, Clone, Default, serde::Deserialize)]
7531pub struct GetPhonebookResponsePhonebook {
7532    #[serde(
7533        default,
7534        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7535    )]
7536    pub phonebook: Option<u64>,
7537    #[serde(
7538        default,
7539        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7540    )]
7541    pub speed_dial: Option<String>,
7542    #[serde(
7543        default,
7544        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7545    )]
7546    pub name: Option<String>,
7547    #[serde(
7548        default,
7549        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7550    )]
7551    pub number: Option<u64>,
7552    #[serde(
7553        default,
7554        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7555    )]
7556    pub callerid: Option<u64>,
7557    #[serde(
7558        default,
7559        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7560    )]
7561    pub note: Option<String>,
7562    #[serde(
7563        default,
7564        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7565    )]
7566    pub group: Option<u64>,
7567    #[serde(
7568        default,
7569        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7570    )]
7571    pub group_name: Option<String>,
7572}
7573
7574#[derive(Debug, Clone, Default, serde::Deserialize)]
7575pub struct GetPhonebookResponse {
7576    #[serde(
7577        default,
7578        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7579    )]
7580    pub status: Option<String>,
7581    #[serde(default)]
7582    pub phonebooks: Option<Vec<GetPhonebookResponsePhonebook>>,
7583}
7584
7585/// Response body for [`Client::get_phonebook_groups`] (wire method `getPhonebookGroups`).
7586#[derive(Debug, Clone, Default, serde::Deserialize)]
7587pub struct GetPhonebookGroupsResponsePhonebook {
7588    #[serde(
7589        default,
7590        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7591    )]
7592    pub phonebook_group: Option<u64>,
7593    #[serde(
7594        default,
7595        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7596    )]
7597    pub name: Option<String>,
7598    #[serde(
7599        default,
7600        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7601    )]
7602    pub members: Option<String>,
7603}
7604
7605#[derive(Debug, Clone, Default, serde::Deserialize)]
7606pub struct GetPhonebookGroupsResponse {
7607    #[serde(
7608        default,
7609        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7610    )]
7611    pub status: Option<String>,
7612    #[serde(default)]
7613    pub phonebooks: Option<Vec<GetPhonebookGroupsResponsePhonebook>>,
7614}
7615
7616/// Response body for [`Client::get_play_instructions`] (wire method `getPlayInstructions`).
7617#[derive(Debug, Clone, Default, serde::Deserialize)]
7618pub struct GetPlayInstructionsResponse {
7619    #[serde(
7620        default,
7621        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7622    )]
7623    pub status: Option<String>,
7624    #[serde(default, deserialize_with = "deserialize_opt_play_instructions")]
7625    pub play_instructions: Option<PlayInstructions>,
7626}
7627
7628/// Response body for [`Client::get_portability`] (wire method `getPortability`).
7629#[derive(Debug, Clone, Default, serde::Deserialize)]
7630pub struct GetPortabilityResponsePlan {
7631    #[serde(
7632        default,
7633        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7634    )]
7635    pub title: Option<String>,
7636    #[serde(
7637        default,
7638        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7639    )]
7640    pub pricePerMonth: Option<rust_decimal::Decimal>,
7641    #[serde(
7642        default,
7643        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7644    )]
7645    pub pricePerMin: Option<rust_decimal::Decimal>,
7646}
7647
7648#[derive(Debug, Clone, Default, serde::Deserialize)]
7649pub struct GetPortabilityResponse {
7650    #[serde(
7651        default,
7652        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7653    )]
7654    pub status: Option<String>,
7655    #[serde(
7656        default,
7657        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7658    )]
7659    pub portable: Option<bool>,
7660    #[serde(
7661        default,
7662        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7663    )]
7664    pub sms: Option<bool>,
7665    #[serde(default)]
7666    pub plans: Option<Vec<GetPortabilityResponsePlan>>,
7667}
7668
7669/// Response body for [`Client::get_protocols`] (wire method `getProtocols`).
7670#[derive(Debug, Clone, Default, serde::Deserialize)]
7671pub struct GetProtocolsResponseProtocol {
7672    #[serde(
7673        default,
7674        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7675    )]
7676    pub value: Option<u64>,
7677    #[serde(
7678        default,
7679        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7680    )]
7681    pub description: Option<String>,
7682}
7683
7684#[derive(Debug, Clone, Default, serde::Deserialize)]
7685pub struct GetProtocolsResponse {
7686    #[serde(
7687        default,
7688        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7689    )]
7690    pub status: Option<String>,
7691    #[serde(default)]
7692    pub protocols: Option<Vec<GetProtocolsResponseProtocol>>,
7693}
7694
7695/// Response body for [`Client::get_provinces`] (wire method `getProvinces`).
7696#[derive(Debug, Clone, Default, serde::Deserialize)]
7697pub struct GetProvincesResponseProvince {
7698    #[serde(
7699        default,
7700        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7701    )]
7702    pub province: Option<String>,
7703    #[serde(
7704        default,
7705        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7706    )]
7707    pub description: Option<String>,
7708}
7709
7710#[derive(Debug, Clone, Default, serde::Deserialize)]
7711pub struct GetProvincesResponse {
7712    #[serde(
7713        default,
7714        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7715    )]
7716    pub status: Option<String>,
7717    #[serde(default)]
7718    pub provinces: Option<Vec<GetProvincesResponseProvince>>,
7719}
7720
7721/// Response body for [`Client::get_queues`] (wire method `getQueues`).
7722#[derive(Debug, Clone, Default, serde::Deserialize)]
7723pub struct GetQueuesResponseQueue {
7724    #[serde(
7725        default,
7726        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7727    )]
7728    pub queue: Option<u64>,
7729    #[serde(
7730        default,
7731        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7732    )]
7733    pub queue_name: Option<String>,
7734    #[serde(
7735        default,
7736        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7737    )]
7738    pub queue_number: Option<u64>,
7739    #[serde(
7740        default,
7741        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7742    )]
7743    pub queue_language: Option<String>,
7744    #[serde(
7745        default,
7746        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7747    )]
7748    pub queue_password: Option<String>,
7749    #[serde(
7750        default,
7751        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7752    )]
7753    pub callerid_prefix: Option<String>,
7754    #[serde(
7755        default,
7756        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7757    )]
7758    pub join_announcement: Option<String>,
7759    #[serde(
7760        default,
7761        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7762    )]
7763    pub priority_weight: Option<u64>,
7764    #[serde(
7765        default,
7766        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7767    )]
7768    pub agent_announcement: Option<u64>,
7769    #[serde(
7770        default,
7771        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7772    )]
7773    pub report_hold_time_agent: Option<bool>,
7774    #[serde(
7775        default,
7776        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7777    )]
7778    pub member_delay: Option<u64>,
7779    #[serde(
7780        default,
7781        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7782    )]
7783    pub music_on_hold: Option<String>,
7784    #[serde(
7785        default,
7786        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7787    )]
7788    pub maximum_wait_time: Option<u64>,
7789    #[serde(
7790        default,
7791        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7792    )]
7793    pub maximum_callers: Option<u64>,
7794    #[serde(
7795        default,
7796        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7797    )]
7798    pub join_when_empty: Option<bool>,
7799    #[serde(
7800        default,
7801        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7802    )]
7803    pub leave_when_empty: Option<bool>,
7804    #[serde(default, deserialize_with = "deserialize_opt_ring_strategy")]
7805    pub ring_strategy: Option<RingStrategy>,
7806    #[serde(
7807        default,
7808        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7809    )]
7810    pub ring_inuse: Option<bool>,
7811    #[serde(
7812        default,
7813        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7814    )]
7815    pub agent_ring_timeout: Option<u64>,
7816    #[serde(
7817        default,
7818        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7819    )]
7820    pub retry_timer: Option<u64>,
7821    #[serde(
7822        default,
7823        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7824    )]
7825    pub wrapup_time: Option<u64>,
7826    #[serde(
7827        default,
7828        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7829    )]
7830    pub voice_announcement: Option<u64>,
7831    #[serde(
7832        default,
7833        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7834    )]
7835    pub frequency_announcement: Option<String>,
7836    #[serde(
7837        default,
7838        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7839    )]
7840    pub announce_position_frecuency: Option<String>,
7841    #[serde(
7842        default,
7843        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7844    )]
7845    pub announce_round_seconds: Option<String>,
7846    #[serde(
7847        default,
7848        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7849    )]
7850    pub if_announce_position_enabled_report_estimated_hold_time: Option<bool>,
7851    #[serde(
7852        default,
7853        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7854    )]
7855    pub thankyou_for_your_patience: Option<bool>,
7856    #[serde(
7857        default,
7858        deserialize_with = "crate::responses::deserialize_opt_routing"
7859    )]
7860    pub fail_over_routing_timeout: Option<crate::Routing>,
7861    #[serde(
7862        default,
7863        deserialize_with = "crate::responses::deserialize_opt_routing"
7864    )]
7865    pub fail_over_routing_full: Option<crate::Routing>,
7866    #[serde(
7867        default,
7868        deserialize_with = "crate::responses::deserialize_opt_routing"
7869    )]
7870    pub fail_over_routing_join_empty: Option<crate::Routing>,
7871    #[serde(
7872        default,
7873        deserialize_with = "crate::responses::deserialize_opt_routing"
7874    )]
7875    pub fail_over_routing_leave_empty: Option<crate::Routing>,
7876    #[serde(
7877        default,
7878        deserialize_with = "crate::responses::deserialize_opt_routing"
7879    )]
7880    pub fail_over_routing_join_unavail: Option<crate::Routing>,
7881    #[serde(
7882        default,
7883        deserialize_with = "crate::responses::deserialize_opt_routing"
7884    )]
7885    pub fail_over_routing_leave_unavail: Option<crate::Routing>,
7886}
7887
7888#[derive(Debug, Clone, Default, serde::Deserialize)]
7889pub struct GetQueuesResponse {
7890    #[serde(
7891        default,
7892        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7893    )]
7894    pub status: Option<String>,
7895    #[serde(default)]
7896    pub queues: Option<Vec<GetQueuesResponseQueue>>,
7897}
7898
7899/// Response body for [`Client::get_rate_centers_can`] (wire method `getRateCentersCAN`).
7900#[derive(Debug, Clone, Default, serde::Deserialize)]
7901pub struct GetRateCentersCANResponseRatecenter {
7902    #[serde(
7903        default,
7904        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7905    )]
7906    pub ratecenter: Option<String>,
7907    #[serde(
7908        default,
7909        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7910    )]
7911    pub available: Option<bool>,
7912}
7913
7914#[derive(Debug, Clone, Default, serde::Deserialize)]
7915pub struct GetRateCentersCANResponse {
7916    #[serde(
7917        default,
7918        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7919    )]
7920    pub status: Option<String>,
7921    #[serde(default)]
7922    pub ratecenters: Option<Vec<GetRateCentersCANResponseRatecenter>>,
7923}
7924
7925/// Response body for [`Client::get_rate_centers_usa`] (wire method `getRateCentersUSA`).
7926#[derive(Debug, Clone, Default, serde::Deserialize)]
7927pub struct GetRateCentersUSAResponseRatecenter {
7928    #[serde(
7929        default,
7930        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7931    )]
7932    pub ratecenter: Option<String>,
7933    #[serde(
7934        default,
7935        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
7936    )]
7937    pub available: Option<bool>,
7938}
7939
7940#[derive(Debug, Clone, Default, serde::Deserialize)]
7941pub struct GetRateCentersUSAResponse {
7942    #[serde(
7943        default,
7944        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7945    )]
7946    pub status: Option<String>,
7947    #[serde(default)]
7948    pub ratecenters: Option<Vec<GetRateCentersUSAResponseRatecenter>>,
7949}
7950
7951/// Response body for [`Client::get_rates`] (wire method `getRates`).
7952#[derive(Debug, Clone, Default, serde::Deserialize)]
7953pub struct GetRatesResponseRate {
7954    #[serde(
7955        default,
7956        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7957    )]
7958    pub destination: Option<String>,
7959    #[serde(
7960        default,
7961        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7962    )]
7963    pub prefix: Option<u64>,
7964    #[serde(
7965        default,
7966        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7967    )]
7968    pub client_increment: Option<u64>,
7969    #[serde(
7970        default,
7971        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7972    )]
7973    pub client_rate: Option<rust_decimal::Decimal>,
7974    #[serde(
7975        default,
7976        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
7977    )]
7978    pub real_increment: Option<u64>,
7979    #[serde(
7980        default,
7981        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
7982    )]
7983    pub real_rate: Option<rust_decimal::Decimal>,
7984}
7985
7986#[derive(Debug, Clone, Default, serde::Deserialize)]
7987pub struct GetRatesResponse {
7988    #[serde(
7989        default,
7990        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
7991    )]
7992    pub status: Option<String>,
7993    #[serde(default)]
7994    pub rates: Option<Vec<GetRatesResponseRate>>,
7995}
7996
7997/// Response body for [`Client::get_recording_file`] (wire method `getRecordingFile`).
7998#[derive(Debug, Clone, Default, serde::Deserialize)]
7999pub struct GetRecordingFileResponseRecording {
8000    #[serde(
8001        default,
8002        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8003    )]
8004    pub value: Option<u64>,
8005    #[serde(
8006        default,
8007        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8008    )]
8009    pub data: Option<String>,
8010}
8011
8012#[derive(Debug, Clone, Default, serde::Deserialize)]
8013pub struct GetRecordingFileResponse {
8014    #[serde(
8015        default,
8016        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8017    )]
8018    pub status: Option<String>,
8019    #[serde(default)]
8020    pub recordings: Option<Vec<GetRecordingFileResponseRecording>>,
8021}
8022
8023/// Response body for [`Client::get_recordings`] (wire method `getRecordings`).
8024#[derive(Debug, Clone, Default, serde::Deserialize)]
8025pub struct GetRecordingsResponseRecording {
8026    #[serde(
8027        default,
8028        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8029    )]
8030    pub value: Option<u64>,
8031    #[serde(
8032        default,
8033        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8034    )]
8035    pub description: Option<String>,
8036}
8037
8038#[derive(Debug, Clone, Default, serde::Deserialize)]
8039pub struct GetRecordingsResponse {
8040    #[serde(
8041        default,
8042        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8043    )]
8044    pub status: Option<String>,
8045    #[serde(default)]
8046    pub recordings: Option<Vec<GetRecordingsResponseRecording>>,
8047}
8048
8049/// Response body for [`Client::get_registration_status`] (wire method `getRegistrationStatus`).
8050#[derive(Debug, Clone, Default, serde::Deserialize)]
8051pub struct GetRegistrationStatusResponseRegistration {
8052    #[serde(
8053        default,
8054        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8055    )]
8056    pub server_name: Option<String>,
8057    #[serde(
8058        default,
8059        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8060    )]
8061    pub server_shortname: Option<String>,
8062    #[serde(
8063        default,
8064        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8065    )]
8066    pub server_hostname: Option<String>,
8067    #[serde(
8068        default,
8069        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8070    )]
8071    pub server_ip: Option<String>,
8072    #[serde(
8073        default,
8074        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8075    )]
8076    pub server_country: Option<String>,
8077    #[serde(
8078        default,
8079        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8080    )]
8081    pub server_pop: Option<u64>,
8082    #[serde(
8083        default,
8084        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8085    )]
8086    pub register_ip: Option<String>,
8087    #[serde(
8088        default,
8089        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8090    )]
8091    pub register_port: Option<u64>,
8092    #[serde(
8093        default,
8094        deserialize_with = "crate::responses::deserialize_opt_datetime"
8095    )]
8096    pub register_next: Option<chrono::NaiveDateTime>,
8097    #[serde(
8098        default,
8099        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8100    )]
8101    pub register_protocol: Option<String>,
8102    #[serde(
8103        default,
8104        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8105    )]
8106    pub register_transport: Option<String>,
8107}
8108
8109#[derive(Debug, Clone, Default, serde::Deserialize)]
8110pub struct GetRegistrationStatusResponse {
8111    #[serde(
8112        default,
8113        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8114    )]
8115    pub status: Option<String>,
8116    #[serde(
8117        default,
8118        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8119    )]
8120    pub registered: Option<bool>,
8121    #[serde(
8122        default,
8123        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8124    )]
8125    pub rerouted: Option<u64>,
8126    #[serde(
8127        default,
8128        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8129    )]
8130    pub from_server_pop: Option<u64>,
8131    #[serde(default)]
8132    pub registrations: Option<Vec<GetRegistrationStatusResponseRegistration>>,
8133}
8134
8135/// Response body for [`Client::get_report_estimated_hold_time`] (wire method `getReportEstimatedHoldTime`).
8136#[derive(Debug, Clone, Default, serde::Deserialize)]
8137pub struct GetReportEstimatedHoldTimeResponseType {
8138    #[serde(
8139        default,
8140        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8141    )]
8142    pub value: Option<bool>,
8143    #[serde(
8144        default,
8145        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8146    )]
8147    pub description: Option<bool>,
8148}
8149
8150#[derive(Debug, Clone, Default, serde::Deserialize)]
8151pub struct GetReportEstimatedHoldTimeResponse {
8152    #[serde(
8153        default,
8154        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8155    )]
8156    pub status: Option<String>,
8157    #[serde(default)]
8158    pub types: Option<Vec<GetReportEstimatedHoldTimeResponseType>>,
8159}
8160
8161/// Response body for [`Client::get_reseller_balance`] (wire method `getResellerBalance`).
8162#[derive(Debug, Clone, Default, serde::Deserialize)]
8163pub struct GetResellerBalanceResponseBalance {
8164    #[serde(
8165        default,
8166        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
8167    )]
8168    pub current_balance: Option<rust_decimal::Decimal>,
8169    #[serde(
8170        default,
8171        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
8172    )]
8173    pub spent_total: Option<rust_decimal::Decimal>,
8174    #[serde(
8175        default,
8176        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8177    )]
8178    pub calls_total: Option<u64>,
8179    #[serde(
8180        default,
8181        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8182    )]
8183    pub time_total: Option<String>,
8184    #[serde(
8185        default,
8186        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
8187    )]
8188    pub spent_today: Option<rust_decimal::Decimal>,
8189    #[serde(
8190        default,
8191        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8192    )]
8193    pub calls_today: Option<u64>,
8194    #[serde(
8195        default,
8196        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8197    )]
8198    pub time_today: Option<String>,
8199}
8200
8201#[derive(Debug, Clone, Default, serde::Deserialize)]
8202pub struct GetResellerBalanceResponse {
8203    #[serde(
8204        default,
8205        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8206    )]
8207    pub status: Option<String>,
8208    #[serde(default)]
8209    pub balance: Option<GetResellerBalanceResponseBalance>,
8210}
8211
8212/// Response body for [`Client::get_reseller_cdr`] (wire method `getResellerCDR`).
8213#[derive(Debug, Clone, Default, serde::Deserialize)]
8214pub struct GetResellerCDRResponseCDR {
8215    #[serde(
8216        default,
8217        deserialize_with = "crate::responses::deserialize_opt_datetime"
8218    )]
8219    pub date: Option<chrono::NaiveDateTime>,
8220    #[serde(
8221        default,
8222        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8223    )]
8224    pub callerid: Option<String>,
8225    #[serde(
8226        default,
8227        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8228    )]
8229    pub destination: Option<u64>,
8230    #[serde(
8231        default,
8232        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8233    )]
8234    pub description: Option<String>,
8235    #[serde(
8236        default,
8237        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8238    )]
8239    pub account: Option<String>,
8240    #[serde(
8241        default,
8242        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8243    )]
8244    pub disposition: Option<String>,
8245    #[serde(
8246        default,
8247        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8248    )]
8249    pub duration: Option<String>,
8250    #[serde(
8251        default,
8252        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8253    )]
8254    pub seconds: Option<u64>,
8255    #[serde(
8256        default,
8257        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
8258    )]
8259    pub total: Option<rust_decimal::Decimal>,
8260    #[serde(
8261        default,
8262        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8263    )]
8264    pub uniqueid: Option<u64>,
8265    #[serde(
8266        default,
8267        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8268    )]
8269    pub destination_type: Option<String>,
8270    #[serde(
8271        default,
8272        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8273    )]
8274    pub call_logs: Option<String>,
8275}
8276
8277#[derive(Debug, Clone, Default, serde::Deserialize)]
8278pub struct GetResellerCDRResponse {
8279    #[serde(
8280        default,
8281        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8282    )]
8283    pub status: Option<String>,
8284    #[serde(default)]
8285    pub cdr: Option<Vec<GetResellerCDRResponseCDR>>,
8286}
8287
8288/// Response body for [`Client::get_reseller_mms`] (wire method `getResellerMMS`).
8289#[derive(Debug, Clone, Default, serde::Deserialize)]
8290pub struct GetResellerMMSResponseSMS {
8291    #[serde(
8292        default,
8293        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8294    )]
8295    pub id: Option<u64>,
8296    #[serde(
8297        default,
8298        deserialize_with = "crate::responses::deserialize_opt_datetime"
8299    )]
8300    pub date: Option<chrono::NaiveDateTime>,
8301    #[serde(
8302        default,
8303        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number",
8304        rename = "type"
8305    )]
8306    pub r#type: Option<u64>,
8307    #[serde(
8308        default,
8309        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8310    )]
8311    pub did: Option<u64>,
8312    #[serde(
8313        default,
8314        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8315    )]
8316    pub contact: Option<u64>,
8317    #[serde(
8318        default,
8319        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8320    )]
8321    pub message: Option<String>,
8322}
8323
8324#[derive(Debug, Clone, Default, serde::Deserialize)]
8325pub struct GetResellerMMSResponse {
8326    #[serde(
8327        default,
8328        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8329    )]
8330    pub status: Option<String>,
8331    #[serde(default)]
8332    pub sms: Option<Vec<GetResellerMMSResponseSMS>>,
8333}
8334
8335/// Response body for [`Client::get_reseller_sms`] (wire method `getResellerSMS`).
8336#[derive(Debug, Clone, Default, serde::Deserialize)]
8337pub struct GetResellerSMSResponseSMS {
8338    #[serde(
8339        default,
8340        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8341    )]
8342    pub id: Option<u64>,
8343    #[serde(
8344        default,
8345        deserialize_with = "crate::responses::deserialize_opt_datetime"
8346    )]
8347    pub date: Option<chrono::NaiveDateTime>,
8348    #[serde(
8349        default,
8350        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number",
8351        rename = "type"
8352    )]
8353    pub r#type: Option<u64>,
8354    #[serde(
8355        default,
8356        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8357    )]
8358    pub did: Option<u64>,
8359    #[serde(
8360        default,
8361        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8362    )]
8363    pub contact: Option<u64>,
8364    #[serde(
8365        default,
8366        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8367    )]
8368    pub message: Option<String>,
8369}
8370
8371#[derive(Debug, Clone, Default, serde::Deserialize)]
8372pub struct GetResellerSMSResponse {
8373    #[serde(
8374        default,
8375        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8376    )]
8377    pub status: Option<String>,
8378    #[serde(default)]
8379    pub sms: Option<Vec<GetResellerSMSResponseSMS>>,
8380}
8381
8382/// Response body for [`Client::get_ring_groups`] (wire method `getRingGroups`).
8383#[derive(Debug, Clone, Default, serde::Deserialize)]
8384pub struct GetRingGroupsResponseRingGroup {
8385    #[serde(
8386        default,
8387        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8388    )]
8389    pub ring_group: Option<u64>,
8390    #[serde(
8391        default,
8392        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8393    )]
8394    pub name: Option<String>,
8395    #[serde(
8396        default,
8397        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8398    )]
8399    pub caller_announcement: Option<u64>,
8400    #[serde(
8401        default,
8402        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8403    )]
8404    pub music_on_hold: Option<String>,
8405    #[serde(
8406        default,
8407        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8408    )]
8409    pub language: Option<String>,
8410    #[serde(
8411        default,
8412        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8413    )]
8414    pub members: Option<String>,
8415    #[serde(
8416        default,
8417        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8418    )]
8419    pub voicemail: Option<u64>,
8420}
8421
8422#[derive(Debug, Clone, Default, serde::Deserialize)]
8423pub struct GetRingGroupsResponse {
8424    #[serde(
8425        default,
8426        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8427    )]
8428    pub status: Option<String>,
8429    #[serde(default)]
8430    pub ring_groups: Option<Vec<GetRingGroupsResponseRingGroup>>,
8431}
8432
8433/// Response body for [`Client::get_ring_strategies`] (wire method `getRingStrategies`).
8434#[derive(Debug, Clone, Default, serde::Deserialize)]
8435pub struct GetRingStrategiesResponseStrategy {
8436    #[serde(
8437        default,
8438        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8439    )]
8440    pub value: Option<String>,
8441    #[serde(
8442        default,
8443        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8444    )]
8445    pub description: Option<String>,
8446}
8447
8448#[derive(Debug, Clone, Default, serde::Deserialize)]
8449pub struct GetRingStrategiesResponse {
8450    #[serde(
8451        default,
8452        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8453    )]
8454    pub status: Option<String>,
8455    #[serde(default)]
8456    pub strategies: Option<Vec<GetRingStrategiesResponseStrategy>>,
8457}
8458
8459/// Response body for [`Client::get_routes`] (wire method `getRoutes`).
8460#[derive(Debug, Clone, Default, serde::Deserialize)]
8461pub struct GetRoutesResponseRoute {
8462    #[serde(
8463        default,
8464        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8465    )]
8466    pub value: Option<u64>,
8467    #[serde(
8468        default,
8469        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8470    )]
8471    pub description: Option<String>,
8472}
8473
8474#[derive(Debug, Clone, Default, serde::Deserialize)]
8475pub struct GetRoutesResponse {
8476    #[serde(
8477        default,
8478        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8479    )]
8480    pub status: Option<String>,
8481    #[serde(default)]
8482    pub routes: Option<Vec<GetRoutesResponseRoute>>,
8483}
8484
8485/// Response body for [`Client::get_sip_uris`] (wire method `getSIPURIs`).
8486#[derive(Debug, Clone, Default, serde::Deserialize)]
8487pub struct GetSIPURIsResponseSIPURI {
8488    #[serde(
8489        default,
8490        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8491    )]
8492    pub sipuri: Option<u64>,
8493    #[serde(
8494        default,
8495        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8496    )]
8497    pub uri: Option<String>,
8498    #[serde(
8499        default,
8500        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8501    )]
8502    pub description: Option<String>,
8503    #[serde(
8504        default,
8505        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8506    )]
8507    pub callerid_override: Option<u64>,
8508    #[serde(
8509        default,
8510        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8511    )]
8512    pub callerid_e164: Option<u64>,
8513}
8514
8515#[derive(Debug, Clone, Default, serde::Deserialize)]
8516pub struct GetSIPURIsResponse {
8517    #[serde(
8518        default,
8519        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8520    )]
8521    pub status: Option<String>,
8522    #[serde(default)]
8523    pub sipuris: Option<Vec<GetSIPURIsResponseSIPURI>>,
8524}
8525
8526/// Response body for [`Client::get_sms`] (wire method `getSMS`).
8527#[derive(Debug, Clone, Default, serde::Deserialize)]
8528pub struct GetSMSResponseSMS {
8529    #[serde(
8530        default,
8531        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8532    )]
8533    pub id: Option<u64>,
8534    #[serde(
8535        default,
8536        deserialize_with = "crate::responses::deserialize_opt_datetime"
8537    )]
8538    pub date: Option<chrono::NaiveDateTime>,
8539    #[serde(
8540        default,
8541        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number",
8542        rename = "type"
8543    )]
8544    pub r#type: Option<u64>,
8545    #[serde(
8546        default,
8547        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8548    )]
8549    pub did: Option<u64>,
8550    #[serde(
8551        default,
8552        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8553    )]
8554    pub contact: Option<u64>,
8555    #[serde(
8556        default,
8557        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8558    )]
8559    pub message: Option<String>,
8560    #[serde(
8561        default,
8562        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8563    )]
8564    pub carrier_status: Option<String>,
8565}
8566
8567#[derive(Debug, Clone, Default, serde::Deserialize)]
8568pub struct GetSMSResponse {
8569    #[serde(
8570        default,
8571        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8572    )]
8573    pub status: Option<String>,
8574    #[serde(default)]
8575    pub sms: Option<Vec<GetSMSResponseSMS>>,
8576}
8577
8578/// Response body for [`Client::get_servers_info`] (wire method `getServersInfo`).
8579#[derive(Debug, Clone, Default, serde::Deserialize)]
8580pub struct GetServersInfoResponseServer {
8581    #[serde(
8582        default,
8583        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8584    )]
8585    pub server_name: Option<String>,
8586    #[serde(
8587        default,
8588        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8589    )]
8590    pub server_shortname: Option<String>,
8591    #[serde(
8592        default,
8593        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8594    )]
8595    pub server_hostname: Option<String>,
8596    #[serde(
8597        default,
8598        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8599    )]
8600    pub server_ip: Option<String>,
8601    #[serde(
8602        default,
8603        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8604    )]
8605    pub server_country: Option<String>,
8606    #[serde(
8607        default,
8608        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8609    )]
8610    pub server_pop: Option<u64>,
8611    #[serde(
8612        default,
8613        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8614    )]
8615    pub server_recommended: Option<bool>,
8616}
8617
8618#[derive(Debug, Clone, Default, serde::Deserialize)]
8619pub struct GetServersInfoResponse {
8620    #[serde(
8621        default,
8622        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8623    )]
8624    pub status: Option<String>,
8625    #[serde(default)]
8626    pub servers: Option<Vec<GetServersInfoResponseServer>>,
8627}
8628
8629/// Response body for [`Client::get_states`] (wire method `getStates`).
8630#[derive(Debug, Clone, Default, serde::Deserialize)]
8631pub struct GetStatesResponseState {
8632    #[serde(
8633        default,
8634        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8635    )]
8636    pub state: Option<String>,
8637    #[serde(
8638        default,
8639        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8640    )]
8641    pub description: Option<String>,
8642}
8643
8644#[derive(Debug, Clone, Default, serde::Deserialize)]
8645pub struct GetStatesResponse {
8646    #[serde(
8647        default,
8648        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8649    )]
8650    pub status: Option<String>,
8651    #[serde(default)]
8652    pub states: Option<Vec<GetStatesResponseState>>,
8653}
8654
8655/// Response body for [`Client::get_static_members`] (wire method `getStaticMembers`).
8656#[derive(Debug, Clone, Default, serde::Deserialize)]
8657pub struct GetStaticMembersResponseMember {
8658    #[serde(
8659        default,
8660        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8661    )]
8662    pub member: Option<u64>,
8663    #[serde(
8664        default,
8665        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8666    )]
8667    pub queue_number: Option<u64>,
8668    #[serde(
8669        default,
8670        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8671    )]
8672    pub name: Option<String>,
8673    #[serde(
8674        default,
8675        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8676    )]
8677    pub account: Option<String>,
8678    #[serde(
8679        default,
8680        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8681    )]
8682    pub priority: Option<u64>,
8683}
8684
8685#[derive(Debug, Clone, Default, serde::Deserialize)]
8686pub struct GetStaticMembersResponse {
8687    #[serde(
8688        default,
8689        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8690    )]
8691    pub status: Option<String>,
8692    #[serde(default)]
8693    pub members: Option<Vec<GetStaticMembersResponseMember>>,
8694}
8695
8696/// Response body for [`Client::get_sub_accounts`] (wire method `getSubAccounts`).
8697#[derive(Debug, Clone, Default, serde::Deserialize)]
8698pub struct GetSubAccountsResponseAccount {
8699    #[serde(
8700        default,
8701        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8702    )]
8703    pub id: Option<u64>,
8704    #[serde(
8705        default,
8706        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8707    )]
8708    pub account: Option<String>,
8709    #[serde(
8710        default,
8711        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8712    )]
8713    pub username: Option<String>,
8714    #[serde(
8715        default,
8716        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8717    )]
8718    pub description: Option<String>,
8719    #[serde(
8720        default,
8721        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8722    )]
8723    pub protocol: Option<u64>,
8724    #[serde(
8725        default,
8726        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8727    )]
8728    pub auth_type: Option<u64>,
8729    #[serde(
8730        default,
8731        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8732    )]
8733    pub password: Option<String>,
8734    #[serde(
8735        default,
8736        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8737    )]
8738    pub ip: Option<String>,
8739    #[serde(
8740        default,
8741        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8742    )]
8743    pub device_type: Option<u64>,
8744    #[serde(
8745        default,
8746        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8747    )]
8748    pub callerid_number: Option<u64>,
8749    #[serde(
8750        default,
8751        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8752    )]
8753    pub canada_routing: Option<u64>,
8754    #[serde(
8755        default,
8756        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8757    )]
8758    pub lock_international: Option<u64>,
8759    #[serde(
8760        default,
8761        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8762    )]
8763    pub international_route: Option<u64>,
8764    #[serde(
8765        default,
8766        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8767    )]
8768    pub music_on_hold: Option<String>,
8769    #[serde(
8770        default,
8771        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8772    )]
8773    pub language: Option<String>,
8774    #[serde(
8775        default,
8776        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8777    )]
8778    pub allowed_codecs: Option<String>,
8779    #[serde(default, deserialize_with = "deserialize_opt_dtmf_mode")]
8780    pub dtmf_mode: Option<DtmfMode>,
8781    #[serde(default, deserialize_with = "deserialize_opt_nat")]
8782    pub nat: Option<Nat>,
8783    #[serde(
8784        default,
8785        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8786    )]
8787    pub sip_traffic: Option<u64>,
8788    #[serde(
8789        default,
8790        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8791    )]
8792    pub max_expiry: Option<u64>,
8793    #[serde(
8794        default,
8795        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8796    )]
8797    pub rtp_timeout: Option<u64>,
8798    #[serde(
8799        default,
8800        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8801    )]
8802    pub rtp_hold_timeout: Option<u64>,
8803    #[serde(
8804        default,
8805        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8806    )]
8807    pub ip_restriction: Option<String>,
8808    #[serde(
8809        default,
8810        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8811    )]
8812    pub enable_ip_restriction: Option<u64>,
8813    #[serde(
8814        default,
8815        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8816    )]
8817    pub pop_restriction: Option<String>,
8818    #[serde(
8819        default,
8820        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8821    )]
8822    pub enable_pop_restriction: Option<u64>,
8823    #[serde(
8824        default,
8825        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8826    )]
8827    pub send_bye: Option<u64>,
8828    #[serde(
8829        default,
8830        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8831    )]
8832    pub record_calls: Option<u64>,
8833    #[serde(
8834        default,
8835        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8836    )]
8837    pub internal_extension: Option<u64>,
8838    #[serde(
8839        default,
8840        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8841    )]
8842    pub internal_voicemail: Option<u64>,
8843    #[serde(
8844        default,
8845        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8846    )]
8847    pub internal_dialtime: Option<u64>,
8848    #[serde(
8849        default,
8850        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8851    )]
8852    pub reseller_client: Option<u64>,
8853    #[serde(
8854        default,
8855        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8856    )]
8857    pub reseller_package: Option<u64>,
8858    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
8859    pub reseller_nextbilling: Option<chrono::NaiveDate>,
8860    #[serde(
8861        default,
8862        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8863    )]
8864    pub transcribe: Option<u64>,
8865    #[serde(
8866        default,
8867        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8868    )]
8869    pub transcription_locale: Option<String>,
8870    #[serde(
8871        default,
8872        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8873    )]
8874    pub transcription_redaction: Option<bool>,
8875    #[serde(
8876        default,
8877        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8878    )]
8879    pub transcription_summary: Option<bool>,
8880    #[serde(
8881        default,
8882        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
8883    )]
8884    pub transcription_sentiment: Option<bool>,
8885    #[serde(
8886        default,
8887        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8888    )]
8889    pub transcription_email: Option<String>,
8890    #[serde(
8891        default,
8892        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8893    )]
8894    pub parking_lot: Option<u64>,
8895    #[serde(
8896        default,
8897        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8898    )]
8899    pub enable_internal_cnam: Option<u64>,
8900    #[serde(
8901        default,
8902        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8903    )]
8904    pub internal_cnam: Option<String>,
8905    #[serde(
8906        default,
8907        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8908    )]
8909    pub tfcarrier: Option<u64>,
8910    #[serde(
8911        default,
8912        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8913    )]
8914    pub default_e911: Option<String>,
8915}
8916
8917#[derive(Debug, Clone, Default, serde::Deserialize)]
8918pub struct GetSubAccountsResponse {
8919    #[serde(
8920        default,
8921        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8922    )]
8923    pub status: Option<String>,
8924    #[serde(default)]
8925    pub accounts: Option<Vec<GetSubAccountsResponseAccount>>,
8926}
8927
8928/// Response body for [`Client::get_termination_rates`] (wire method `getTerminationRates`).
8929#[derive(Debug, Clone, Default, serde::Deserialize)]
8930pub struct GetTerminationRatesResponseRoute {
8931    #[serde(
8932        default,
8933        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8934    )]
8935    pub value: Option<u64>,
8936    #[serde(
8937        default,
8938        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8939    )]
8940    pub description: Option<String>,
8941}
8942
8943#[derive(Debug, Clone, Default, serde::Deserialize)]
8944pub struct GetTerminationRatesResponseRate {
8945    #[serde(
8946        default,
8947        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8948    )]
8949    pub destination: Option<String>,
8950    #[serde(
8951        default,
8952        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8953    )]
8954    pub prefix: Option<u64>,
8955    #[serde(
8956        default,
8957        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8958    )]
8959    pub increment: Option<u64>,
8960    #[serde(
8961        default,
8962        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
8963    )]
8964    pub rate: Option<rust_decimal::Decimal>,
8965}
8966
8967#[derive(Debug, Clone, Default, serde::Deserialize)]
8968pub struct GetTerminationRatesResponse {
8969    #[serde(
8970        default,
8971        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8972    )]
8973    pub status: Option<String>,
8974    #[serde(default)]
8975    pub route: Option<GetTerminationRatesResponseRoute>,
8976    #[serde(default)]
8977    pub rates: Option<Vec<GetTerminationRatesResponseRate>>,
8978}
8979
8980/// Response body for [`Client::get_time_conditions`] (wire method `getTimeConditions`).
8981#[derive(Debug, Clone, Default, serde::Deserialize)]
8982pub struct GetTimeConditionsResponseTimecondition {
8983    #[serde(
8984        default,
8985        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
8986    )]
8987    pub timecondition: Option<u64>,
8988    #[serde(
8989        default,
8990        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
8991    )]
8992    pub name: Option<String>,
8993    #[serde(
8994        default,
8995        deserialize_with = "crate::responses::deserialize_opt_routing"
8996    )]
8997    pub routing_match: Option<crate::Routing>,
8998    #[serde(
8999        default,
9000        deserialize_with = "crate::responses::deserialize_opt_routing"
9001    )]
9002    pub routing_nomatch: Option<crate::Routing>,
9003    #[serde(
9004        default,
9005        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9006    )]
9007    pub starthour: Option<String>,
9008    #[serde(
9009        default,
9010        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9011    )]
9012    pub startminute: Option<String>,
9013    #[serde(
9014        default,
9015        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9016    )]
9017    pub endhour: Option<String>,
9018    #[serde(
9019        default,
9020        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9021    )]
9022    pub endminute: Option<String>,
9023    #[serde(
9024        default,
9025        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9026    )]
9027    pub weekdaystart: Option<String>,
9028    #[serde(
9029        default,
9030        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9031    )]
9032    pub weekdayend: Option<String>,
9033}
9034
9035#[derive(Debug, Clone, Default, serde::Deserialize)]
9036pub struct GetTimeConditionsResponse {
9037    #[serde(
9038        default,
9039        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9040    )]
9041    pub status: Option<String>,
9042    #[serde(default)]
9043    pub timecondition: Option<Vec<GetTimeConditionsResponseTimecondition>>,
9044}
9045
9046/// Response body for [`Client::get_timezones`] (wire method `getTimezones`).
9047#[derive(Debug, Clone, Default, serde::Deserialize)]
9048pub struct GetTimezonesResponseTimezone {
9049    #[serde(
9050        default,
9051        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9052    )]
9053    pub value: Option<String>,
9054    #[serde(
9055        default,
9056        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9057    )]
9058    pub description: Option<String>,
9059}
9060
9061#[derive(Debug, Clone, Default, serde::Deserialize)]
9062pub struct GetTimezonesResponse {
9063    #[serde(
9064        default,
9065        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9066    )]
9067    pub status: Option<String>,
9068    #[serde(default)]
9069    pub timezones: Option<Vec<GetTimezonesResponseTimezone>>,
9070}
9071
9072/// Response body for [`Client::get_transaction_history`] (wire method `getTransactionHistory`).
9073#[derive(Debug, Clone, Default, serde::Deserialize)]
9074pub struct GetTransactionHistoryResponseTransaction {
9075    #[serde(
9076        default,
9077        deserialize_with = "crate::responses::deserialize_opt_datetime"
9078    )]
9079    pub date: Option<chrono::NaiveDateTime>,
9080    #[serde(
9081        default,
9082        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9083    )]
9084    pub uniqueid: Option<String>,
9085    #[serde(
9086        default,
9087        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
9088        rename = "type"
9089    )]
9090    pub r#type: Option<String>,
9091    #[serde(
9092        default,
9093        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9094    )]
9095    pub description: Option<String>,
9096    #[serde(
9097        default,
9098        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9099    )]
9100    pub ammount: Option<rust_decimal::Decimal>,
9101}
9102
9103#[derive(Debug, Clone, Default, serde::Deserialize)]
9104pub struct GetTransactionHistoryResponse {
9105    #[serde(
9106        default,
9107        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9108    )]
9109    pub status: Option<String>,
9110    #[serde(default)]
9111    pub transactions: Option<Vec<GetTransactionHistoryResponseTransaction>>,
9112}
9113
9114/// Response body for [`Client::get_vpris`] (wire method `getVPRIs`).
9115#[derive(Debug, Clone, Default, serde::Deserialize)]
9116pub struct GetVPRIsResponseVPRI {
9117    #[serde(
9118        default,
9119        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9120    )]
9121    pub vpri: Option<u64>,
9122    #[serde(
9123        default,
9124        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9125    )]
9126    pub name: Option<String>,
9127    #[serde(
9128        default,
9129        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9130    )]
9131    pub note: Option<String>,
9132    #[serde(
9133        default,
9134        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9135    )]
9136    pub channels: Option<u64>,
9137    #[serde(
9138        default,
9139        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9140    )]
9141    pub monthly_fee: Option<rust_decimal::Decimal>,
9142    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
9143    pub next_billing: Option<chrono::NaiveDate>,
9144    #[serde(
9145        default,
9146        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9147    )]
9148    pub burst_enabled: Option<u64>,
9149    #[serde(
9150        default,
9151        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9152    )]
9153    pub burst_max_channels: Option<u64>,
9154    #[serde(
9155        default,
9156        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9157    )]
9158    pub burst_percentage_charge: Option<u64>,
9159}
9160
9161#[derive(Debug, Clone, Default, serde::Deserialize)]
9162pub struct GetVPRIsResponse {
9163    #[serde(
9164        default,
9165        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9166    )]
9167    pub status: Option<String>,
9168    #[serde(default)]
9169    pub vpri: Option<Vec<GetVPRIsResponseVPRI>>,
9170}
9171
9172/// Response body for [`Client::get_voicemail_attachment_formats`] (wire method `getVoicemailAttachmentFormats`).
9173#[derive(Debug, Clone, Default, serde::Deserialize)]
9174pub struct GetVoicemailAttachmentFormatsResponseEmailAttachmentFormat {
9175    #[serde(
9176        default,
9177        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9178    )]
9179    pub value: Option<String>,
9180    #[serde(
9181        default,
9182        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9183    )]
9184    pub description: Option<String>,
9185}
9186
9187#[derive(Debug, Clone, Default, serde::Deserialize)]
9188pub struct GetVoicemailAttachmentFormatsResponse {
9189    #[serde(
9190        default,
9191        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9192    )]
9193    pub status: Option<String>,
9194    #[serde(default)]
9195    pub email_attachment_formats:
9196        Option<Vec<GetVoicemailAttachmentFormatsResponseEmailAttachmentFormat>>,
9197}
9198
9199/// Response body for [`Client::get_voicemail_folders`] (wire method `getVoicemailFolders`).
9200#[derive(Debug, Clone, Default, serde::Deserialize)]
9201pub struct GetVoicemailFoldersResponseFolder {
9202    #[serde(
9203        default,
9204        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9205    )]
9206    pub value: Option<String>,
9207    #[serde(
9208        default,
9209        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9210    )]
9211    pub description: Option<String>,
9212}
9213
9214#[derive(Debug, Clone, Default, serde::Deserialize)]
9215pub struct GetVoicemailFoldersResponse {
9216    #[serde(
9217        default,
9218        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9219    )]
9220    pub status: Option<String>,
9221    #[serde(default)]
9222    pub folders: Option<Vec<GetVoicemailFoldersResponseFolder>>,
9223}
9224
9225/// Response body for [`Client::get_voicemail_message_file`] (wire method `getVoicemailMessageFile`).
9226#[derive(Debug, Clone, Default, serde::Deserialize)]
9227pub struct GetVoicemailMessageFileResponseMessage {
9228    #[serde(
9229        default,
9230        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9231    )]
9232    pub mailbox: Option<u64>,
9233    #[serde(default, deserialize_with = "deserialize_opt_voicemail_folder")]
9234    pub folder: Option<VoicemailFolder>,
9235    #[serde(
9236        default,
9237        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9238    )]
9239    pub message_num: Option<u64>,
9240    #[serde(
9241        default,
9242        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9243    )]
9244    pub data: Option<String>,
9245}
9246
9247#[derive(Debug, Clone, Default, serde::Deserialize)]
9248pub struct GetVoicemailMessageFileResponse {
9249    #[serde(
9250        default,
9251        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9252    )]
9253    pub status: Option<String>,
9254    #[serde(default)]
9255    pub message: Option<Vec<GetVoicemailMessageFileResponseMessage>>,
9256}
9257
9258/// Response body for [`Client::get_voicemail_messages`] (wire method `getVoicemailMessages`).
9259#[derive(Debug, Clone, Default, serde::Deserialize)]
9260pub struct GetVoicemailMessagesResponseMessage {
9261    #[serde(
9262        default,
9263        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9264    )]
9265    pub mailbox: Option<u64>,
9266    #[serde(default, deserialize_with = "deserialize_opt_voicemail_folder")]
9267    pub folder: Option<VoicemailFolder>,
9268    #[serde(
9269        default,
9270        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9271    )]
9272    pub message_num: Option<u64>,
9273    #[serde(default, deserialize_with = "crate::responses::deserialize_opt_date")]
9274    pub date: Option<chrono::NaiveDate>,
9275    #[serde(
9276        default,
9277        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9278    )]
9279    pub callerid: Option<u64>,
9280    #[serde(
9281        default,
9282        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9283    )]
9284    pub duration: Option<String>,
9285    #[serde(
9286        default,
9287        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9288    )]
9289    pub urgent: Option<bool>,
9290    #[serde(
9291        default,
9292        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9293    )]
9294    pub listened: Option<bool>,
9295}
9296
9297#[derive(Debug, Clone, Default, serde::Deserialize)]
9298pub struct GetVoicemailMessagesResponse {
9299    #[serde(
9300        default,
9301        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9302    )]
9303    pub status: Option<String>,
9304    #[serde(default)]
9305    pub messages: Option<Vec<GetVoicemailMessagesResponseMessage>>,
9306}
9307
9308/// Response body for [`Client::get_voicemail_setups`] (wire method `getVoicemailSetups`).
9309#[derive(Debug, Clone, Default, serde::Deserialize)]
9310pub struct GetVoicemailSetupsResponseVoicemailsetup {
9311    #[serde(
9312        default,
9313        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9314    )]
9315    pub value: Option<u64>,
9316    #[serde(
9317        default,
9318        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9319    )]
9320    pub description: Option<String>,
9321}
9322
9323#[derive(Debug, Clone, Default, serde::Deserialize)]
9324pub struct GetVoicemailSetupsResponse {
9325    #[serde(
9326        default,
9327        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9328    )]
9329    pub status: Option<String>,
9330    #[serde(default)]
9331    pub voicemailsetups: Option<Vec<GetVoicemailSetupsResponseVoicemailsetup>>,
9332}
9333
9334/// Response body for [`Client::get_voicemail_transcriptions`] (wire method `getVoicemailTranscriptions`).
9335#[derive(Debug, Clone, Default, serde::Deserialize)]
9336pub struct GetVoicemailTranscriptionsResponseMessage {
9337    #[serde(
9338        default,
9339        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9340    )]
9341    pub date: Option<String>,
9342    #[serde(
9343        default,
9344        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9345    )]
9346    pub callerid: Option<String>,
9347    #[serde(
9348        default,
9349        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9350    )]
9351    pub duration: Option<String>,
9352    #[serde(default, deserialize_with = "deserialize_opt_voicemail_folder")]
9353    pub folder: Option<VoicemailFolder>,
9354    #[serde(
9355        default,
9356        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9357    )]
9358    pub result: Option<String>,
9359}
9360
9361#[derive(Debug, Clone, Default, serde::Deserialize)]
9362pub struct GetVoicemailTranscriptionsResponse {
9363    #[serde(
9364        default,
9365        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9366    )]
9367    pub status: Option<String>,
9368    #[serde(default)]
9369    pub messages: Option<Vec<GetVoicemailTranscriptionsResponseMessage>>,
9370}
9371
9372/// Response body for [`Client::get_voicemails`] (wire method `getVoicemails`).
9373#[derive(Debug, Clone, Default, serde::Deserialize)]
9374pub struct GetVoicemailsResponseVoicemail {
9375    #[serde(
9376        default,
9377        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9378    )]
9379    pub mailbox: Option<u64>,
9380    #[serde(
9381        default,
9382        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9383    )]
9384    pub name: Option<String>,
9385    #[serde(
9386        default,
9387        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9388    )]
9389    pub password: Option<u64>,
9390    #[serde(
9391        default,
9392        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9393    )]
9394    pub skip_password: Option<u64>,
9395    #[serde(
9396        default,
9397        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9398    )]
9399    pub email: Option<String>,
9400    #[serde(
9401        default,
9402        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9403    )]
9404    pub attach_message: Option<bool>,
9405    #[serde(
9406        default,
9407        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9408    )]
9409    pub delete_message: Option<bool>,
9410    #[serde(
9411        default,
9412        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9413    )]
9414    pub say_time: Option<bool>,
9415    #[serde(
9416        default,
9417        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9418    )]
9419    pub timezone: Option<String>,
9420    #[serde(
9421        default,
9422        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9423    )]
9424    pub say_callerid: Option<bool>,
9425    #[serde(default, deserialize_with = "deserialize_opt_play_instructions")]
9426    pub play_instructions: Option<PlayInstructions>,
9427    #[serde(
9428        default,
9429        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9430    )]
9431    pub language: Option<String>,
9432    #[serde(default, deserialize_with = "deserialize_opt_email_attachment_format")]
9433    pub email_attachment_format: Option<EmailAttachmentFormat>,
9434    #[serde(
9435        default,
9436        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9437    )]
9438    pub unavailable_message_recording: Option<u64>,
9439    #[serde(
9440        default,
9441        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9442    )]
9443    pub new: Option<u64>,
9444    #[serde(
9445        default,
9446        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9447    )]
9448    pub urgent: Option<u64>,
9449    #[serde(
9450        default,
9451        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9452    )]
9453    pub transcribe: Option<u64>,
9454    #[serde(
9455        default,
9456        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9457    )]
9458    pub transcription_locale: Option<String>,
9459    #[serde(
9460        default,
9461        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9462    )]
9463    pub transcription_redaction: Option<bool>,
9464    #[serde(
9465        default,
9466        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9467    )]
9468    pub transcription_sentiment: Option<bool>,
9469    #[serde(
9470        default,
9471        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9472    )]
9473    pub transcription_summary: Option<bool>,
9474    #[serde(default, deserialize_with = "deserialize_opt_transcription_format")]
9475    pub transcription_format: Option<TranscriptionFormat>,
9476}
9477
9478#[derive(Debug, Clone, Default, serde::Deserialize)]
9479pub struct GetVoicemailsResponse {
9480    #[serde(
9481        default,
9482        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9483    )]
9484    pub status: Option<String>,
9485    #[serde(default)]
9486    pub voicemails: Option<Vec<GetVoicemailsResponseVoicemail>>,
9487}
9488
9489/// Response body for [`Client::mail_fax_message_pdf`] (wire method `mailFaxMessagePDF`).
9490#[derive(Debug, Clone, Default, serde::Deserialize)]
9491pub struct MailFAXMessagePDFResponse {
9492    #[serde(
9493        default,
9494        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9495    )]
9496    pub status: Option<String>,
9497    #[serde(
9498        default,
9499        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9500    )]
9501    pub message_status: Option<String>,
9502}
9503
9504/// Response body for [`Client::mark_listened_voicemail_message`] (wire method `markListenedVoicemailMessage`).
9505#[derive(Debug, Clone, Default, serde::Deserialize)]
9506pub struct MarkListenedVoicemailMessageResponse {
9507    #[serde(
9508        default,
9509        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9510    )]
9511    pub status: Option<String>,
9512}
9513
9514/// Response body for [`Client::mark_urgent_voicemail_message`] (wire method `markUrgentVoicemailMessage`).
9515#[derive(Debug, Clone, Default, serde::Deserialize)]
9516pub struct MarkUrgentVoicemailMessageResponse {
9517    #[serde(
9518        default,
9519        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9520    )]
9521    pub status: Option<String>,
9522}
9523
9524/// Response body for [`Client::move_fax_message`] (wire method `moveFaxMessage`).
9525#[derive(Debug, Clone, Default, serde::Deserialize)]
9526pub struct MoveFAXMessageResponse {
9527    #[serde(
9528        default,
9529        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9530    )]
9531    pub status: Option<String>,
9532}
9533
9534/// Response body for [`Client::move_folder_voicemail_message`] (wire method `moveFolderVoicemailMessage`).
9535#[derive(Debug, Clone, Default, serde::Deserialize)]
9536pub struct MoveFolderVoicemailMessageResponse {
9537    #[serde(
9538        default,
9539        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9540    )]
9541    pub status: Option<String>,
9542}
9543
9544/// Response body for [`Client::order_did`] (wire method `orderDID`).
9545#[derive(Debug, Clone, Default, serde::Deserialize)]
9546pub struct OrderDIDResponse {
9547    #[serde(
9548        default,
9549        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9550    )]
9551    pub status: Option<String>,
9552}
9553
9554/// Response body for [`Client::order_did_international_geographic`] (wire method `orderDIDInternationalGeographic`).
9555#[derive(Debug, Clone, Default, serde::Deserialize)]
9556pub struct OrderDIDInternationalGeographicResponse {
9557    #[serde(
9558        default,
9559        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9560    )]
9561    pub status: Option<String>,
9562}
9563
9564/// Response body for [`Client::order_did_international_national`] (wire method `orderDIDInternationalNational`).
9565#[derive(Debug, Clone, Default, serde::Deserialize)]
9566pub struct OrderDIDInternationalNationalResponse {
9567    #[serde(
9568        default,
9569        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9570    )]
9571    pub status: Option<String>,
9572}
9573
9574/// Response body for [`Client::order_did_international_toll_free`] (wire method `orderDIDInternationalTollFree`).
9575#[derive(Debug, Clone, Default, serde::Deserialize)]
9576pub struct OrderDIDInternationalTollFreeResponse {
9577    #[serde(
9578        default,
9579        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9580    )]
9581    pub status: Option<String>,
9582}
9583
9584/// Response body for [`Client::order_did_virtual`] (wire method `orderDIDVirtual`).
9585#[derive(Debug, Clone, Default, serde::Deserialize)]
9586pub struct OrderDIDVirtualResponse {
9587    #[serde(
9588        default,
9589        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9590    )]
9591    pub status: Option<String>,
9592}
9593
9594/// Response body for [`Client::order_fax_number`] (wire method `orderFaxNumber`).
9595#[derive(Debug, Clone, Default, serde::Deserialize)]
9596pub struct OrderFAXNumberResponse {
9597    #[serde(
9598        default,
9599        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9600    )]
9601    pub status: Option<String>,
9602    #[serde(
9603        default,
9604        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9605    )]
9606    pub dids: Option<String>,
9607    #[serde(
9608        default,
9609        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number",
9610        rename = "0"
9611    )]
9612    pub field_0: Option<u64>,
9613    #[serde(
9614        default,
9615        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number",
9616        rename = "1"
9617    )]
9618    pub field_1: Option<u64>,
9619    #[serde(
9620        default,
9621        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
9622        rename = "2"
9623    )]
9624    pub field_2: Option<String>,
9625}
9626
9627/// Response body for [`Client::order_toll_free`] (wire method `orderTollFree`).
9628#[derive(Debug, Clone, Default, serde::Deserialize)]
9629pub struct OrderTollFreeResponse {
9630    #[serde(
9631        default,
9632        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9633    )]
9634    pub status: Option<String>,
9635}
9636
9637/// Response body for [`Client::order_vanity`] (wire method `orderVanity`).
9638#[derive(Debug, Clone, Default, serde::Deserialize)]
9639pub struct OrderVanityResponse {
9640    #[serde(
9641        default,
9642        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9643    )]
9644    pub status: Option<String>,
9645}
9646
9647/// Response body for [`Client::remove_did_vpri`] (wire method `removeDIDvPRI`).
9648#[derive(Debug, Clone, Default, serde::Deserialize)]
9649pub struct RemoveDIDvPRIResponse {
9650    #[serde(
9651        default,
9652        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9653    )]
9654    pub status: Option<String>,
9655    #[serde(
9656        default,
9657        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9658    )]
9659    pub vpri: Option<u64>,
9660    #[serde(
9661        default,
9662        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9663    )]
9664    pub DIDRemoved: Option<u64>,
9665}
9666
9667/// Response body for [`Client::search_dids_can`] (wire method `searchDIDsCAN`).
9668#[derive(Debug, Clone, Default, serde::Deserialize)]
9669pub struct SearchDIDsCANResponseDID {
9670    #[serde(
9671        default,
9672        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9673    )]
9674    pub did: Option<u64>,
9675    #[serde(
9676        default,
9677        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9678    )]
9679    pub ratecenter: Option<String>,
9680    #[serde(
9681        default,
9682        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9683    )]
9684    pub province: Option<String>,
9685    #[serde(
9686        default,
9687        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9688    )]
9689    pub province_description: Option<String>,
9690    #[serde(
9691        default,
9692        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9693    )]
9694    pub perminute_monthly: Option<rust_decimal::Decimal>,
9695    #[serde(
9696        default,
9697        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9698    )]
9699    pub perminute_minute: Option<rust_decimal::Decimal>,
9700    #[serde(
9701        default,
9702        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9703    )]
9704    pub perminute_setup: Option<rust_decimal::Decimal>,
9705    #[serde(
9706        default,
9707        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9708    )]
9709    pub flat_monthly: Option<rust_decimal::Decimal>,
9710    #[serde(
9711        default,
9712        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9713    )]
9714    pub flat_minute: Option<rust_decimal::Decimal>,
9715    #[serde(
9716        default,
9717        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9718    )]
9719    pub flat_setup: Option<rust_decimal::Decimal>,
9720}
9721
9722#[derive(Debug, Clone, Default, serde::Deserialize)]
9723pub struct SearchDIDsCANResponse {
9724    #[serde(
9725        default,
9726        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9727    )]
9728    pub status: Option<String>,
9729    #[serde(default)]
9730    pub dids: Option<Vec<SearchDIDsCANResponseDID>>,
9731}
9732
9733/// Response body for [`Client::search_dids_usa`] (wire method `searchDIDsUSA`).
9734#[derive(Debug, Clone, Default, serde::Deserialize)]
9735pub struct SearchDIDsUSAResponseDID {
9736    #[serde(
9737        default,
9738        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9739    )]
9740    pub did: Option<u64>,
9741    #[serde(
9742        default,
9743        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9744    )]
9745    pub ratecenter: Option<String>,
9746    #[serde(
9747        default,
9748        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9749    )]
9750    pub state: Option<String>,
9751    #[serde(
9752        default,
9753        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9754    )]
9755    pub state_description: Option<String>,
9756    #[serde(
9757        default,
9758        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9759    )]
9760    pub perminute_monthly: Option<rust_decimal::Decimal>,
9761    #[serde(
9762        default,
9763        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9764    )]
9765    pub perminute_minute: Option<rust_decimal::Decimal>,
9766    #[serde(
9767        default,
9768        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9769    )]
9770    pub perminute_setup: Option<rust_decimal::Decimal>,
9771    #[serde(
9772        default,
9773        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9774    )]
9775    pub flat_monthly: Option<rust_decimal::Decimal>,
9776    #[serde(
9777        default,
9778        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9779    )]
9780    pub flat_minute: Option<rust_decimal::Decimal>,
9781    #[serde(
9782        default,
9783        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9784    )]
9785    pub flat_setup: Option<rust_decimal::Decimal>,
9786}
9787
9788#[derive(Debug, Clone, Default, serde::Deserialize)]
9789pub struct SearchDIDsUSAResponse {
9790    #[serde(
9791        default,
9792        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9793    )]
9794    pub status: Option<String>,
9795    #[serde(default)]
9796    pub dids: Option<Vec<SearchDIDsUSAResponseDID>>,
9797}
9798
9799/// Response body for [`Client::search_fax_area_code_can`] (wire method `searchFaxAreaCodeCAN`).
9800#[derive(Debug, Clone, Default, serde::Deserialize)]
9801pub struct SearchFAXAreaCodeCANResponse0 {
9802    #[serde(
9803        default,
9804        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9805    )]
9806    pub ratecenter: Option<String>,
9807    #[serde(
9808        default,
9809        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9810    )]
9811    pub area_code: Option<u64>,
9812    #[serde(
9813        default,
9814        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9815    )]
9816    pub available: Option<bool>,
9817}
9818
9819#[derive(Debug, Clone, Default, serde::Deserialize)]
9820pub struct SearchFAXAreaCodeCANResponse {
9821    #[serde(
9822        default,
9823        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9824    )]
9825    pub status: Option<String>,
9826    #[serde(
9827        default,
9828        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9829    )]
9830    pub ratecenters: Option<String>,
9831    #[serde(default, rename = "0")]
9832    pub field_0: Option<SearchFAXAreaCodeCANResponse0>,
9833}
9834
9835/// Response body for [`Client::search_fax_area_code_usa`] (wire method `searchFaxAreaCodeUSA`).
9836#[derive(Debug, Clone, Default, serde::Deserialize)]
9837pub struct SearchFAXAreaCodeUSAResponse {
9838    #[serde(
9839        default,
9840        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9841    )]
9842    pub status: Option<String>,
9843    #[serde(
9844        default,
9845        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9846    )]
9847    pub ratecenters: Option<String>,
9848    #[serde(
9849        default,
9850        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool",
9851        rename = "0"
9852    )]
9853    pub field_0: Option<String>,
9854    #[serde(
9855        default,
9856        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9857    )]
9858    pub ratecenter: Option<String>,
9859    #[serde(
9860        default,
9861        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9862    )]
9863    pub area_code: Option<u64>,
9864    #[serde(
9865        default,
9866        deserialize_with = "crate::responses::deserialize_opt_bool_from_string_number_or_yn"
9867    )]
9868    pub available: Option<bool>,
9869}
9870
9871/// Response body for [`Client::search_toll_free_can_us`] (wire method `searchTollFreeCanUS`).
9872#[derive(Debug, Clone, Default, serde::Deserialize)]
9873pub struct SearchTollFreeCANUSResponseDID {
9874    #[serde(
9875        default,
9876        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9877    )]
9878    pub did: Option<u64>,
9879    #[serde(
9880        default,
9881        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9882    )]
9883    pub monthly: Option<rust_decimal::Decimal>,
9884    #[serde(
9885        default,
9886        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9887    )]
9888    pub minute: Option<rust_decimal::Decimal>,
9889    #[serde(
9890        default,
9891        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9892    )]
9893    pub setup: Option<rust_decimal::Decimal>,
9894}
9895
9896#[derive(Debug, Clone, Default, serde::Deserialize)]
9897pub struct SearchTollFreeCANUSResponse {
9898    #[serde(
9899        default,
9900        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9901    )]
9902    pub status: Option<String>,
9903    #[serde(default)]
9904    pub dids: Option<Vec<SearchTollFreeCANUSResponseDID>>,
9905}
9906
9907/// Response body for [`Client::search_toll_free_usa`] (wire method `searchTollFreeUSA`).
9908#[derive(Debug, Clone, Default, serde::Deserialize)]
9909pub struct SearchTollFreeUSAResponseDID {
9910    #[serde(
9911        default,
9912        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9913    )]
9914    pub did: Option<u64>,
9915    #[serde(
9916        default,
9917        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9918    )]
9919    pub monthly: Option<rust_decimal::Decimal>,
9920    #[serde(
9921        default,
9922        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9923    )]
9924    pub minute_usa: Option<rust_decimal::Decimal>,
9925    #[serde(
9926        default,
9927        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9928    )]
9929    pub minute_canada: Option<rust_decimal::Decimal>,
9930    #[serde(
9931        default,
9932        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9933    )]
9934    pub minute_puertorico: Option<rust_decimal::Decimal>,
9935    #[serde(
9936        default,
9937        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9938    )]
9939    pub minute_alaska: Option<rust_decimal::Decimal>,
9940    #[serde(
9941        default,
9942        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9943    )]
9944    pub setup: Option<u64>,
9945}
9946
9947#[derive(Debug, Clone, Default, serde::Deserialize)]
9948pub struct SearchTollFreeUSAResponse {
9949    #[serde(
9950        default,
9951        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
9952    )]
9953    pub status: Option<String>,
9954    #[serde(default)]
9955    pub dids: Option<Vec<SearchTollFreeUSAResponseDID>>,
9956}
9957
9958/// Response body for [`Client::search_vanity`] (wire method `searchVanity`).
9959#[derive(Debug, Clone, Default, serde::Deserialize)]
9960pub struct SearchVanityResponseDID {
9961    #[serde(
9962        default,
9963        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9964    )]
9965    pub did: Option<u64>,
9966    #[serde(
9967        default,
9968        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9969    )]
9970    pub monthly_american: Option<rust_decimal::Decimal>,
9971    #[serde(
9972        default,
9973        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9974    )]
9975    pub monthly_canadian: Option<rust_decimal::Decimal>,
9976    #[serde(
9977        default,
9978        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9979    )]
9980    pub minute_american_usa: Option<rust_decimal::Decimal>,
9981    #[serde(
9982        default,
9983        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9984    )]
9985    pub minute_american_canada: Option<rust_decimal::Decimal>,
9986    #[serde(
9987        default,
9988        deserialize_with = "crate::responses::deserialize_opt_decimal_from_string_or_number"
9989    )]
9990    pub minute_canadian: Option<rust_decimal::Decimal>,
9991    #[serde(
9992        default,
9993        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9994    )]
9995    pub setup_american: Option<u64>,
9996    #[serde(
9997        default,
9998        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
9999    )]
10000    pub setup_canadian: Option<u64>,
10001}
10002
10003#[derive(Debug, Clone, Default, serde::Deserialize)]
10004pub struct SearchVanityResponse {
10005    #[serde(
10006        default,
10007        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10008    )]
10009    pub status: Option<String>,
10010    #[serde(default)]
10011    pub dids: Option<Vec<SearchVanityResponseDID>>,
10012}
10013
10014/// Response body for [`Client::send_call_recording_email`] (wire method `sendCallRecordingEmail`).
10015#[derive(Debug, Clone, Default, serde::Deserialize)]
10016pub struct SendCallRecordingEmailResponse {
10017    #[serde(
10018        default,
10019        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10020    )]
10021    pub status: Option<String>,
10022    #[serde(
10023        default,
10024        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10025    )]
10026    pub msg: Option<String>,
10027}
10028
10029/// Response body for [`Client::send_fax_message`] (wire method `sendFaxMessage`).
10030#[derive(Debug, Clone, Default, serde::Deserialize)]
10031pub struct SendFAXMessageResponse {
10032    #[serde(
10033        default,
10034        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10035    )]
10036    pub status: Option<String>,
10037}
10038
10039/// Response body for [`Client::send_mms`] (wire method `sendMMS`).
10040#[derive(Debug, Clone, Default, serde::Deserialize)]
10041pub struct SendMMSResponse {
10042    #[serde(
10043        default,
10044        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10045    )]
10046    pub status: Option<String>,
10047    #[serde(
10048        default,
10049        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10050    )]
10051    pub mms: Option<u64>,
10052}
10053
10054/// Response body for [`Client::send_sms`] (wire method `sendSMS`).
10055#[derive(Debug, Clone, Default, serde::Deserialize)]
10056pub struct SendSMSResponse {
10057    #[serde(
10058        default,
10059        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10060    )]
10061    pub status: Option<String>,
10062    #[serde(
10063        default,
10064        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10065    )]
10066    pub sms: Option<u64>,
10067}
10068
10069/// Response body for [`Client::send_voicemail_email`] (wire method `sendVoicemailEmail`).
10070#[derive(Debug, Clone, Default, serde::Deserialize)]
10071pub struct SendVoicemailEmailResponse {
10072    #[serde(
10073        default,
10074        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10075    )]
10076    pub status: Option<String>,
10077}
10078
10079/// Response body for [`Client::set_call_hunting`] (wire method `setCallHunting`).
10080#[derive(Debug, Clone, Default, serde::Deserialize)]
10081pub struct SetCallHuntingResponse {
10082    #[serde(
10083        default,
10084        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10085    )]
10086    pub status: Option<String>,
10087    #[serde(
10088        default,
10089        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10090    )]
10091    pub call_hunting: Option<u64>,
10092}
10093
10094/// Response body for [`Client::set_call_parking`] (wire method `setCallParking`).
10095#[derive(Debug, Clone, Default, serde::Deserialize)]
10096pub struct SetCallParkingResponse {
10097    #[serde(
10098        default,
10099        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10100    )]
10101    pub status: Option<String>,
10102    #[serde(
10103        default,
10104        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10105    )]
10106    pub callparking: Option<u64>,
10107}
10108
10109/// Response body for [`Client::set_callback`] (wire method `setCallback`).
10110#[derive(Debug, Clone, Default, serde::Deserialize)]
10111pub struct SetCallbackResponse {
10112    #[serde(
10113        default,
10114        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10115    )]
10116    pub status: Option<String>,
10117    #[serde(
10118        default,
10119        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10120    )]
10121    pub callback: Option<u64>,
10122}
10123
10124/// Response body for [`Client::set_caller_id_filtering`] (wire method `setCallerIDFiltering`).
10125#[derive(Debug, Clone, Default, serde::Deserialize)]
10126pub struct SetCallerIDFilteringResponse {
10127    #[serde(
10128        default,
10129        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10130    )]
10131    pub status: Option<String>,
10132    #[serde(
10133        default,
10134        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10135    )]
10136    pub filtering: Option<u64>,
10137}
10138
10139/// Response body for [`Client::set_client`] (wire method `setClient`).
10140#[derive(Debug, Clone, Default, serde::Deserialize)]
10141pub struct SetClientResponse {
10142    #[serde(
10143        default,
10144        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10145    )]
10146    pub status: Option<String>,
10147}
10148
10149/// Response body for [`Client::set_client_threshold`] (wire method `setClientThreshold`).
10150#[derive(Debug, Clone, Default, serde::Deserialize)]
10151pub struct SetClientThresholdResponse {
10152    #[serde(
10153        default,
10154        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10155    )]
10156    pub status: Option<String>,
10157}
10158
10159/// Response body for [`Client::set_conference`] (wire method `setConference`).
10160#[derive(Debug, Clone, Default, serde::Deserialize)]
10161pub struct SetConferenceResponse {
10162    #[serde(
10163        default,
10164        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10165    )]
10166    pub status: Option<String>,
10167    #[serde(
10168        default,
10169        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10170    )]
10171    pub conference: Option<u64>,
10172}
10173
10174/// Response body for [`Client::set_conference_member`] (wire method `setConferenceMember`).
10175#[derive(Debug, Clone, Default, serde::Deserialize)]
10176pub struct SetConferenceMemberResponse {
10177    #[serde(
10178        default,
10179        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10180    )]
10181    pub status: Option<String>,
10182    #[serde(
10183        default,
10184        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10185    )]
10186    pub member: Option<u64>,
10187}
10188
10189/// Response body for [`Client::set_did_billing_type`] (wire method `setDIDBillingType`).
10190#[derive(Debug, Clone, Default, serde::Deserialize)]
10191pub struct SetDIDBillingTypeResponse {
10192    #[serde(
10193        default,
10194        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10195    )]
10196    pub status: Option<String>,
10197}
10198
10199/// Response body for [`Client::set_did_info`] (wire method `setDIDInfo`).
10200#[derive(Debug, Clone, Default, serde::Deserialize)]
10201pub struct SetDIDInfoResponse {
10202    #[serde(
10203        default,
10204        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10205    )]
10206    pub status: Option<String>,
10207}
10208
10209/// Response body for [`Client::set_did_pop`] (wire method `setDIDPOP`).
10210#[derive(Debug, Clone, Default, serde::Deserialize)]
10211pub struct SetDIDPOPResponse {
10212    #[serde(
10213        default,
10214        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10215    )]
10216    pub status: Option<String>,
10217}
10218
10219/// Response body for [`Client::set_did_routing`] (wire method `setDIDRouting`).
10220#[derive(Debug, Clone, Default, serde::Deserialize)]
10221pub struct SetDIDRoutingResponse {
10222    #[serde(
10223        default,
10224        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10225    )]
10226    pub status: Option<String>,
10227}
10228
10229/// Response body for [`Client::set_did_voicemail`] (wire method `setDIDVoicemail`).
10230#[derive(Debug, Clone, Default, serde::Deserialize)]
10231pub struct SetDIDVoicemailResponse {
10232    #[serde(
10233        default,
10234        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10235    )]
10236    pub status: Option<String>,
10237}
10238
10239/// Response body for [`Client::set_disa`] (wire method `setDISA`).
10240#[derive(Debug, Clone, Default, serde::Deserialize)]
10241pub struct SetDISAResponse {
10242    #[serde(
10243        default,
10244        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10245    )]
10246    pub status: Option<String>,
10247    #[serde(
10248        default,
10249        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10250    )]
10251    pub disa: Option<u64>,
10252}
10253
10254/// Response body for [`Client::set_email_to_fax`] (wire method `setEmailToFax`).
10255#[derive(Debug, Clone, Default, serde::Deserialize)]
10256pub struct SetEmailToFAXResponse {
10257    #[serde(
10258        default,
10259        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10260    )]
10261    pub status: Option<String>,
10262}
10263
10264/// Response body for [`Client::set_fax_folder`] (wire method `setFaxFolder`).
10265#[derive(Debug, Clone, Default, serde::Deserialize)]
10266pub struct SetFAXFolderResponse {
10267    #[serde(
10268        default,
10269        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10270    )]
10271    pub status: Option<String>,
10272}
10273
10274/// Response body for [`Client::set_fax_number_email`] (wire method `setFaxNumberEmail`).
10275#[derive(Debug, Clone, Default, serde::Deserialize)]
10276pub struct SetFAXNumberEmailResponse {
10277    #[serde(
10278        default,
10279        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10280    )]
10281    pub status: Option<String>,
10282}
10283
10284/// Response body for [`Client::set_fax_number_info`] (wire method `setFaxNumberInfo`).
10285#[derive(Debug, Clone, Default, serde::Deserialize)]
10286pub struct SetFAXNumberInfoResponse {
10287    #[serde(
10288        default,
10289        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10290    )]
10291    pub status: Option<String>,
10292}
10293
10294/// Response body for [`Client::set_fax_number_url_callback`] (wire method `setFaxNumberURLCallback`).
10295#[derive(Debug, Clone, Default, serde::Deserialize)]
10296pub struct SetFAXNumberURLCallbackResponse {
10297    #[serde(
10298        default,
10299        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10300    )]
10301    pub status: Option<String>,
10302}
10303
10304/// Response body for [`Client::set_forwarding`] (wire method `setForwarding`).
10305#[derive(Debug, Clone, Default, serde::Deserialize)]
10306pub struct SetForwardingResponse {
10307    #[serde(
10308        default,
10309        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10310    )]
10311    pub status: Option<String>,
10312    #[serde(
10313        default,
10314        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10315    )]
10316    pub forwarding: Option<u64>,
10317}
10318
10319/// Response body for [`Client::set_ivr`] (wire method `setIVR`).
10320#[derive(Debug, Clone, Default, serde::Deserialize)]
10321pub struct SetIVRResponse {
10322    #[serde(
10323        default,
10324        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10325    )]
10326    pub status: Option<String>,
10327    #[serde(
10328        default,
10329        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10330    )]
10331    pub ivr: Option<u64>,
10332}
10333
10334/// Response body for [`Client::set_location`] (wire method `setLocation`).
10335#[derive(Debug, Clone, Default, serde::Deserialize)]
10336pub struct SetLocationResponse {
10337    #[serde(
10338        default,
10339        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10340    )]
10341    pub status: Option<String>,
10342}
10343
10344/// Response body for [`Client::set_music_on_hold`] (wire method `setMusicOnHold`).
10345#[derive(Debug, Clone, Default, serde::Deserialize)]
10346pub struct SetMusicOnHoldResponse {
10347    #[serde(
10348        default,
10349        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10350    )]
10351    pub status: Option<String>,
10352}
10353
10354/// Response body for [`Client::set_phonebook`] (wire method `setPhonebook`).
10355#[derive(Debug, Clone, Default, serde::Deserialize)]
10356pub struct SetPhonebookResponse {
10357    #[serde(
10358        default,
10359        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10360    )]
10361    pub status: Option<String>,
10362    #[serde(
10363        default,
10364        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10365    )]
10366    pub phonebook: Option<u64>,
10367}
10368
10369/// Response body for [`Client::set_phonebook_group`] (wire method `setPhonebookGroup`).
10370#[derive(Debug, Clone, Default, serde::Deserialize)]
10371pub struct SetPhonebookGroupResponse {
10372    #[serde(
10373        default,
10374        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10375    )]
10376    pub status: Option<String>,
10377    #[serde(
10378        default,
10379        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10380    )]
10381    pub group: Option<u64>,
10382}
10383
10384/// Response body for [`Client::set_queue`] (wire method `setQueue`).
10385#[derive(Debug, Clone, Default, serde::Deserialize)]
10386pub struct SetQueueResponse {
10387    #[serde(
10388        default,
10389        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10390    )]
10391    pub status: Option<String>,
10392    #[serde(
10393        default,
10394        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10395    )]
10396    pub queue: Option<u64>,
10397}
10398
10399/// Response body for [`Client::set_recording`] (wire method `setRecording`).
10400#[derive(Debug, Clone, Default, serde::Deserialize)]
10401pub struct SetRecordingResponse {
10402    #[serde(
10403        default,
10404        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10405    )]
10406    pub status: Option<String>,
10407    #[serde(
10408        default,
10409        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10410    )]
10411    pub recording: Option<u64>,
10412}
10413
10414/// Response body for [`Client::set_ring_group`] (wire method `setRingGroup`).
10415#[derive(Debug, Clone, Default, serde::Deserialize)]
10416pub struct SetRingGroupResponse {
10417    #[serde(
10418        default,
10419        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10420    )]
10421    pub status: Option<String>,
10422    #[serde(
10423        default,
10424        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10425    )]
10426    pub ring_group: Option<u64>,
10427}
10428
10429/// Response body for [`Client::set_sip_uri`] (wire method `setSIPURI`).
10430#[derive(Debug, Clone, Default, serde::Deserialize)]
10431pub struct SetSIPURIResponse {
10432    #[serde(
10433        default,
10434        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10435    )]
10436    pub status: Option<String>,
10437}
10438
10439/// Response body for [`Client::set_sms`] (wire method `setSMS`).
10440#[derive(Debug, Clone, Default, serde::Deserialize)]
10441pub struct SetSMSResponse {
10442    #[serde(
10443        default,
10444        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10445    )]
10446    pub status: Option<String>,
10447    #[serde(
10448        default,
10449        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10450    )]
10451    pub sipuri: Option<u64>,
10452}
10453
10454/// Response body for [`Client::set_static_member`] (wire method `setStaticMember`).
10455#[derive(Debug, Clone, Default, serde::Deserialize)]
10456pub struct SetStaticMemberResponse {
10457    #[serde(
10458        default,
10459        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10460    )]
10461    pub status: Option<String>,
10462    #[serde(
10463        default,
10464        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10465    )]
10466    pub member: Option<u64>,
10467}
10468
10469/// Response body for [`Client::set_sub_account`] (wire method `setSubAccount`).
10470#[derive(Debug, Clone, Default, serde::Deserialize)]
10471pub struct SetSubAccountResponse {
10472    #[serde(
10473        default,
10474        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10475    )]
10476    pub status: Option<String>,
10477}
10478
10479/// Response body for [`Client::set_time_condition`] (wire method `setTimeCondition`).
10480#[derive(Debug, Clone, Default, serde::Deserialize)]
10481pub struct SetTimeConditionResponse {
10482    #[serde(
10483        default,
10484        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10485    )]
10486    pub status: Option<String>,
10487    #[serde(
10488        default,
10489        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10490    )]
10491    pub timecondition: Option<u64>,
10492}
10493
10494/// Response body for [`Client::set_voicemail`] (wire method `setVoicemail`).
10495#[derive(Debug, Clone, Default, serde::Deserialize)]
10496pub struct SetVoicemailResponse {
10497    #[serde(
10498        default,
10499        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10500    )]
10501    pub status: Option<String>,
10502}
10503
10504/// Response body for [`Client::signup_client`] (wire method `signupClient`).
10505#[derive(Debug, Clone, Default, serde::Deserialize)]
10506pub struct SignupClientResponse {
10507    #[serde(
10508        default,
10509        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10510    )]
10511    pub status: Option<String>,
10512    #[serde(
10513        default,
10514        deserialize_with = "crate::responses::deserialize_opt_u64_from_string_or_number"
10515    )]
10516    pub client: Option<u64>,
10517}
10518
10519/// Response body for [`Client::unconnect_did`] (wire method `unconnectDID`).
10520#[derive(Debug, Clone, Default, serde::Deserialize)]
10521pub struct UnconnectDIDResponse {
10522    #[serde(
10523        default,
10524        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10525    )]
10526    pub status: Option<String>,
10527}
10528
10529/// Response body for [`Client::unconnect_fax`] (wire method `unconnectFAX`).
10530#[derive(Debug, Clone, Default, serde::Deserialize)]
10531pub struct UnconnectFAXResponse {
10532    #[serde(
10533        default,
10534        deserialize_with = "crate::responses::deserialize_opt_string_from_string_number_or_bool"
10535    )]
10536    pub status: Option<String>,
10537}
10538
10539impl Client {
10540    /// Call the `addCharge` API method and deserialize into [`AddChargeResponse`].
10541    pub async fn add_charge(&self, params: &AddChargeParams) -> Result<AddChargeResponse> {
10542        self.call("addCharge", params).await
10543    }
10544
10545    /// Call the `addCharge` API method and return the raw JSON envelope.
10546    pub async fn add_charge_raw(&self, params: &AddChargeParams) -> Result<Value> {
10547        self.call_raw("addCharge", params).await
10548    }
10549
10550    /// Call the `addLNPFile` API method and deserialize into [`AddLNPFileResponse`].
10551    pub async fn add_lnp_file(&self, params: &AddLNPFileParams) -> Result<AddLNPFileResponse> {
10552        self.call("addLNPFile", params).await
10553    }
10554
10555    /// Call the `addLNPFile` API method and return the raw JSON envelope.
10556    pub async fn add_lnp_file_raw(&self, params: &AddLNPFileParams) -> Result<Value> {
10557        self.call_raw("addLNPFile", params).await
10558    }
10559
10560    /// Call the `addLNPPort` API method and deserialize into [`AddLNPPortResponse`].
10561    pub async fn add_lnp_port(&self, params: &AddLNPPortParams) -> Result<AddLNPPortResponse> {
10562        self.call("addLNPPort", params).await
10563    }
10564
10565    /// Call the `addLNPPort` API method and return the raw JSON envelope.
10566    pub async fn add_lnp_port_raw(&self, params: &AddLNPPortParams) -> Result<Value> {
10567        self.call_raw("addLNPPort", params).await
10568    }
10569
10570    /// Call the `addMemberToConference` API method and deserialize into [`AddMemberToConferenceResponse`].
10571    pub async fn add_member_to_conference(
10572        &self,
10573        params: &AddMemberToConferenceParams,
10574    ) -> Result<AddMemberToConferenceResponse> {
10575        self.call("addMemberToConference", params).await
10576    }
10577
10578    /// Call the `addMemberToConference` API method and return the raw JSON envelope.
10579    pub async fn add_member_to_conference_raw(
10580        &self,
10581        params: &AddMemberToConferenceParams,
10582    ) -> Result<Value> {
10583        self.call_raw("addMemberToConference", params).await
10584    }
10585
10586    /// Call the `addPayment` API method and deserialize into [`AddPaymentResponse`].
10587    pub async fn add_payment(&self, params: &AddPaymentParams) -> Result<AddPaymentResponse> {
10588        self.call("addPayment", params).await
10589    }
10590
10591    /// Call the `addPayment` API method and return the raw JSON envelope.
10592    pub async fn add_payment_raw(&self, params: &AddPaymentParams) -> Result<Value> {
10593        self.call_raw("addPayment", params).await
10594    }
10595
10596    /// Call the `assignDIDvPRI` API method and deserialize into [`AssignDIDvPRIResponse`].
10597    pub async fn assign_did_vpri(
10598        &self,
10599        params: &AssignDIDvPRIParams,
10600    ) -> Result<AssignDIDvPRIResponse> {
10601        self.call("assignDIDvPRI", params).await
10602    }
10603
10604    /// Call the `assignDIDvPRI` API method and return the raw JSON envelope.
10605    pub async fn assign_did_vpri_raw(&self, params: &AssignDIDvPRIParams) -> Result<Value> {
10606        self.call_raw("assignDIDvPRI", params).await
10607    }
10608
10609    /// Call the `backOrderDIDCAN` API method and deserialize into [`BackOrderDIDCANResponse`].
10610    pub async fn back_order_did_can(
10611        &self,
10612        params: &BackOrderDIDCANParams,
10613    ) -> Result<BackOrderDIDCANResponse> {
10614        self.call("backOrderDIDCAN", params).await
10615    }
10616
10617    /// Call the `backOrderDIDCAN` API method and return the raw JSON envelope.
10618    pub async fn back_order_did_can_raw(&self, params: &BackOrderDIDCANParams) -> Result<Value> {
10619        self.call_raw("backOrderDIDCAN", params).await
10620    }
10621
10622    /// Call the `backOrderDIDUSA` API method and deserialize into [`BackOrderDIDUSAResponse`].
10623    pub async fn back_order_did_usa(
10624        &self,
10625        params: &BackOrderDIDUSAParams,
10626    ) -> Result<BackOrderDIDUSAResponse> {
10627        self.call("backOrderDIDUSA", params).await
10628    }
10629
10630    /// Call the `backOrderDIDUSA` API method and return the raw JSON envelope.
10631    pub async fn back_order_did_usa_raw(&self, params: &BackOrderDIDUSAParams) -> Result<Value> {
10632        self.call_raw("backOrderDIDUSA", params).await
10633    }
10634
10635    /// Call the `cancelDID` API method and deserialize into [`CancelDIDResponse`].
10636    pub async fn cancel_did(&self, params: &CancelDIDParams) -> Result<CancelDIDResponse> {
10637        self.call("cancelDID", params).await
10638    }
10639
10640    /// Call the `cancelDID` API method and return the raw JSON envelope.
10641    pub async fn cancel_did_raw(&self, params: &CancelDIDParams) -> Result<Value> {
10642        self.call_raw("cancelDID", params).await
10643    }
10644
10645    /// Call the `cancelFaxNumber` API method and deserialize into [`CancelFAXNumberResponse`].
10646    pub async fn cancel_fax_number(
10647        &self,
10648        params: &CancelFAXNumberParams,
10649    ) -> Result<CancelFAXNumberResponse> {
10650        self.call("cancelFaxNumber", params).await
10651    }
10652
10653    /// Call the `cancelFaxNumber` API method and return the raw JSON envelope.
10654    pub async fn cancel_fax_number_raw(&self, params: &CancelFAXNumberParams) -> Result<Value> {
10655        self.call_raw("cancelFaxNumber", params).await
10656    }
10657
10658    /// Call the `connectDID` API method and deserialize into [`ConnectDIDResponse`].
10659    pub async fn connect_did(&self, params: &ConnectDIDParams) -> Result<ConnectDIDResponse> {
10660        self.call("connectDID", params).await
10661    }
10662
10663    /// Call the `connectDID` API method and return the raw JSON envelope.
10664    pub async fn connect_did_raw(&self, params: &ConnectDIDParams) -> Result<Value> {
10665        self.call_raw("connectDID", params).await
10666    }
10667
10668    /// Call the `connectFAX` API method and deserialize into [`ConnectFAXResponse`].
10669    pub async fn connect_fax(&self, params: &ConnectFAXParams) -> Result<ConnectFAXResponse> {
10670        self.call("connectFAX", params).await
10671    }
10672
10673    /// Call the `connectFAX` API method and return the raw JSON envelope.
10674    pub async fn connect_fax_raw(&self, params: &ConnectFAXParams) -> Result<Value> {
10675        self.call_raw("connectFAX", params).await
10676    }
10677
10678    /// Call the `createSubAccount` API method and deserialize into [`CreateSubAccountResponse`].
10679    pub async fn create_sub_account(
10680        &self,
10681        params: &CreateSubAccountParams,
10682    ) -> Result<CreateSubAccountResponse> {
10683        self.call("createSubAccount", params).await
10684    }
10685
10686    /// Call the `createSubAccount` API method and return the raw JSON envelope.
10687    pub async fn create_sub_account_raw(&self, params: &CreateSubAccountParams) -> Result<Value> {
10688        self.call_raw("createSubAccount", params).await
10689    }
10690
10691    /// Call the `createVoicemail` API method and deserialize into [`CreateVoicemailResponse`].
10692    pub async fn create_voicemail(
10693        &self,
10694        params: &CreateVoicemailParams,
10695    ) -> Result<CreateVoicemailResponse> {
10696        self.call("createVoicemail", params).await
10697    }
10698
10699    /// Call the `createVoicemail` API method and return the raw JSON envelope.
10700    pub async fn create_voicemail_raw(&self, params: &CreateVoicemailParams) -> Result<Value> {
10701        self.call_raw("createVoicemail", params).await
10702    }
10703
10704    /// Call the `delCallHunting` API method and deserialize into [`DelCallHuntingResponse`].
10705    pub async fn del_call_hunting(
10706        &self,
10707        params: &DelCallHuntingParams,
10708    ) -> Result<DelCallHuntingResponse> {
10709        self.call("delCallHunting", params).await
10710    }
10711
10712    /// Call the `delCallHunting` API method and return the raw JSON envelope.
10713    pub async fn del_call_hunting_raw(&self, params: &DelCallHuntingParams) -> Result<Value> {
10714        self.call_raw("delCallHunting", params).await
10715    }
10716
10717    /// Call the `delCallParking` API method and deserialize into [`DelCallParkingResponse`].
10718    pub async fn del_call_parking(
10719        &self,
10720        params: &DelCallParkingParams,
10721    ) -> Result<DelCallParkingResponse> {
10722        self.call("delCallParking", params).await
10723    }
10724
10725    /// Call the `delCallParking` API method and return the raw JSON envelope.
10726    pub async fn del_call_parking_raw(&self, params: &DelCallParkingParams) -> Result<Value> {
10727        self.call_raw("delCallParking", params).await
10728    }
10729
10730    /// Call the `delCallRecording` API method and deserialize into [`DelCallRecordingResponse`].
10731    pub async fn del_call_recording(
10732        &self,
10733        params: &DelCallRecordingParams,
10734    ) -> Result<DelCallRecordingResponse> {
10735        self.call("delCallRecording", params).await
10736    }
10737
10738    /// Call the `delCallRecording` API method and return the raw JSON envelope.
10739    pub async fn del_call_recording_raw(&self, params: &DelCallRecordingParams) -> Result<Value> {
10740        self.call_raw("delCallRecording", params).await
10741    }
10742
10743    /// Call the `delCallback` API method and deserialize into [`DelCallbackResponse`].
10744    pub async fn del_callback(&self, params: &DelCallbackParams) -> Result<DelCallbackResponse> {
10745        self.call("delCallback", params).await
10746    }
10747
10748    /// Call the `delCallback` API method and return the raw JSON envelope.
10749    pub async fn del_callback_raw(&self, params: &DelCallbackParams) -> Result<Value> {
10750        self.call_raw("delCallback", params).await
10751    }
10752
10753    /// Call the `delCallerIDFiltering` API method and deserialize into [`DelCallerIDFilteringResponse`].
10754    pub async fn del_caller_id_filtering(
10755        &self,
10756        params: &DelCallerIDFilteringParams,
10757    ) -> Result<DelCallerIDFilteringResponse> {
10758        self.call("delCallerIDFiltering", params).await
10759    }
10760
10761    /// Call the `delCallerIDFiltering` API method and return the raw JSON envelope.
10762    pub async fn del_caller_id_filtering_raw(
10763        &self,
10764        params: &DelCallerIDFilteringParams,
10765    ) -> Result<Value> {
10766        self.call_raw("delCallerIDFiltering", params).await
10767    }
10768
10769    /// Call the `delClient` API method and deserialize into [`DelClientResponse`].
10770    pub async fn del_client(&self, params: &DelClientParams) -> Result<DelClientResponse> {
10771        self.call("delClient", params).await
10772    }
10773
10774    /// Call the `delClient` API method and return the raw JSON envelope.
10775    pub async fn del_client_raw(&self, params: &DelClientParams) -> Result<Value> {
10776        self.call_raw("delClient", params).await
10777    }
10778
10779    /// Call the `delConference` API method and deserialize into [`DelConferenceResponse`].
10780    pub async fn del_conference(
10781        &self,
10782        params: &DelConferenceParams,
10783    ) -> Result<DelConferenceResponse> {
10784        self.call("delConference", params).await
10785    }
10786
10787    /// Call the `delConference` API method and return the raw JSON envelope.
10788    pub async fn del_conference_raw(&self, params: &DelConferenceParams) -> Result<Value> {
10789        self.call_raw("delConference", params).await
10790    }
10791
10792    /// Call the `delConferenceMember` API method and deserialize into [`DelConferenceMemberResponse`].
10793    pub async fn del_conference_member(
10794        &self,
10795        params: &DelConferenceMemberParams,
10796    ) -> Result<DelConferenceMemberResponse> {
10797        self.call("delConferenceMember", params).await
10798    }
10799
10800    /// Call the `delConferenceMember` API method and return the raw JSON envelope.
10801    pub async fn del_conference_member_raw(
10802        &self,
10803        params: &DelConferenceMemberParams,
10804    ) -> Result<Value> {
10805        self.call_raw("delConferenceMember", params).await
10806    }
10807
10808    /// Call the `delDISA` API method and deserialize into [`DelDISAResponse`].
10809    pub async fn del_disa(&self, params: &DelDISAParams) -> Result<DelDISAResponse> {
10810        self.call("delDISA", params).await
10811    }
10812
10813    /// Call the `delDISA` API method and return the raw JSON envelope.
10814    pub async fn del_disa_raw(&self, params: &DelDISAParams) -> Result<Value> {
10815        self.call_raw("delDISA", params).await
10816    }
10817
10818    /// Call the `delEmailToFax` API method and deserialize into [`DelEmailToFAXResponse`].
10819    pub async fn del_email_to_fax(
10820        &self,
10821        params: &DelEmailToFAXParams,
10822    ) -> Result<DelEmailToFAXResponse> {
10823        self.call("delEmailToFax", params).await
10824    }
10825
10826    /// Call the `delEmailToFax` API method and return the raw JSON envelope.
10827    pub async fn del_email_to_fax_raw(&self, params: &DelEmailToFAXParams) -> Result<Value> {
10828        self.call_raw("delEmailToFax", params).await
10829    }
10830
10831    /// Call the `delFaxFolder` API method and deserialize into [`DelFAXFolderResponse`].
10832    pub async fn del_fax_folder(
10833        &self,
10834        params: &DelFAXFolderParams,
10835    ) -> Result<DelFAXFolderResponse> {
10836        self.call("delFaxFolder", params).await
10837    }
10838
10839    /// Call the `delFaxFolder` API method and return the raw JSON envelope.
10840    pub async fn del_fax_folder_raw(&self, params: &DelFAXFolderParams) -> Result<Value> {
10841        self.call_raw("delFaxFolder", params).await
10842    }
10843
10844    /// Call the `delForwarding` API method and deserialize into [`DelForwardingResponse`].
10845    pub async fn del_forwarding(
10846        &self,
10847        params: &DelForwardingParams,
10848    ) -> Result<DelForwardingResponse> {
10849        self.call("delForwarding", params).await
10850    }
10851
10852    /// Call the `delForwarding` API method and return the raw JSON envelope.
10853    pub async fn del_forwarding_raw(&self, params: &DelForwardingParams) -> Result<Value> {
10854        self.call_raw("delForwarding", params).await
10855    }
10856
10857    /// Call the `delIVR` API method and deserialize into [`DelIVRResponse`].
10858    pub async fn del_ivr(&self, params: &DelIVRParams) -> Result<DelIVRResponse> {
10859        self.call("delIVR", params).await
10860    }
10861
10862    /// Call the `delIVR` API method and return the raw JSON envelope.
10863    pub async fn del_ivr_raw(&self, params: &DelIVRParams) -> Result<Value> {
10864        self.call_raw("delIVR", params).await
10865    }
10866
10867    /// Call the `delLocation` API method and deserialize into [`DelLocationResponse`].
10868    pub async fn del_location(&self, params: &DelLocationParams) -> Result<DelLocationResponse> {
10869        self.call("delLocation", params).await
10870    }
10871
10872    /// Call the `delLocation` API method and return the raw JSON envelope.
10873    pub async fn del_location_raw(&self, params: &DelLocationParams) -> Result<Value> {
10874        self.call_raw("delLocation", params).await
10875    }
10876
10877    /// Call the `delMemberFromConference` API method and deserialize into [`DelMemberFromConferenceResponse`].
10878    pub async fn del_member_from_conference(
10879        &self,
10880        params: &DelMemberFromConferenceParams,
10881    ) -> Result<DelMemberFromConferenceResponse> {
10882        self.call("delMemberFromConference", params).await
10883    }
10884
10885    /// Call the `delMemberFromConference` API method and return the raw JSON envelope.
10886    pub async fn del_member_from_conference_raw(
10887        &self,
10888        params: &DelMemberFromConferenceParams,
10889    ) -> Result<Value> {
10890        self.call_raw("delMemberFromConference", params).await
10891    }
10892
10893    /// Call the `delMessages` API method and deserialize into [`DelMessagesResponse`].
10894    pub async fn del_messages(&self, params: &DelMessagesParams) -> Result<DelMessagesResponse> {
10895        self.call("delMessages", params).await
10896    }
10897
10898    /// Call the `delMessages` API method and return the raw JSON envelope.
10899    pub async fn del_messages_raw(&self, params: &DelMessagesParams) -> Result<Value> {
10900        self.call_raw("delMessages", params).await
10901    }
10902
10903    /// Call the `delMusicOnHold` API method and deserialize into [`DelMusicOnHoldResponse`].
10904    pub async fn del_music_on_hold(
10905        &self,
10906        params: &DelMusicOnHoldParams,
10907    ) -> Result<DelMusicOnHoldResponse> {
10908        self.call("delMusicOnHold", params).await
10909    }
10910
10911    /// Call the `delMusicOnHold` API method and return the raw JSON envelope.
10912    pub async fn del_music_on_hold_raw(&self, params: &DelMusicOnHoldParams) -> Result<Value> {
10913        self.call_raw("delMusicOnHold", params).await
10914    }
10915
10916    /// Call the `delPhonebook` API method and deserialize into [`DelPhonebookResponse`].
10917    pub async fn del_phonebook(&self, params: &DelPhonebookParams) -> Result<DelPhonebookResponse> {
10918        self.call("delPhonebook", params).await
10919    }
10920
10921    /// Call the `delPhonebook` API method and return the raw JSON envelope.
10922    pub async fn del_phonebook_raw(&self, params: &DelPhonebookParams) -> Result<Value> {
10923        self.call_raw("delPhonebook", params).await
10924    }
10925
10926    /// Call the `delPhonebookGroup` API method and deserialize into [`DelPhonebookGroupResponse`].
10927    pub async fn del_phonebook_group(
10928        &self,
10929        params: &DelPhonebookGroupParams,
10930    ) -> Result<DelPhonebookGroupResponse> {
10931        self.call("delPhonebookGroup", params).await
10932    }
10933
10934    /// Call the `delPhonebookGroup` API method and return the raw JSON envelope.
10935    pub async fn del_phonebook_group_raw(&self, params: &DelPhonebookGroupParams) -> Result<Value> {
10936        self.call_raw("delPhonebookGroup", params).await
10937    }
10938
10939    /// Call the `delQueue` API method and deserialize into [`DelQueueResponse`].
10940    pub async fn del_queue(&self, params: &DelQueueParams) -> Result<DelQueueResponse> {
10941        self.call("delQueue", params).await
10942    }
10943
10944    /// Call the `delQueue` API method and return the raw JSON envelope.
10945    pub async fn del_queue_raw(&self, params: &DelQueueParams) -> Result<Value> {
10946        self.call_raw("delQueue", params).await
10947    }
10948
10949    /// Call the `delRecording` API method and deserialize into [`DelRecordingResponse`].
10950    pub async fn del_recording(&self, params: &DelRecordingParams) -> Result<DelRecordingResponse> {
10951        self.call("delRecording", params).await
10952    }
10953
10954    /// Call the `delRecording` API method and return the raw JSON envelope.
10955    pub async fn del_recording_raw(&self, params: &DelRecordingParams) -> Result<Value> {
10956        self.call_raw("delRecording", params).await
10957    }
10958
10959    /// Call the `delRingGroup` API method and deserialize into [`DelRingGroupResponse`].
10960    pub async fn del_ring_group(
10961        &self,
10962        params: &DelRingGroupParams,
10963    ) -> Result<DelRingGroupResponse> {
10964        self.call("delRingGroup", params).await
10965    }
10966
10967    /// Call the `delRingGroup` API method and return the raw JSON envelope.
10968    pub async fn del_ring_group_raw(&self, params: &DelRingGroupParams) -> Result<Value> {
10969        self.call_raw("delRingGroup", params).await
10970    }
10971
10972    /// Call the `delSIPURI` API method and deserialize into [`DelSIPURIResponse`].
10973    pub async fn del_sip_uri(&self, params: &DelSIPURIParams) -> Result<DelSIPURIResponse> {
10974        self.call("delSIPURI", params).await
10975    }
10976
10977    /// Call the `delSIPURI` API method and return the raw JSON envelope.
10978    pub async fn del_sip_uri_raw(&self, params: &DelSIPURIParams) -> Result<Value> {
10979        self.call_raw("delSIPURI", params).await
10980    }
10981
10982    /// Call the `delStaticMember` API method and deserialize into [`DelStaticMemberResponse`].
10983    pub async fn del_static_member(
10984        &self,
10985        params: &DelStaticMemberParams,
10986    ) -> Result<DelStaticMemberResponse> {
10987        self.call("delStaticMember", params).await
10988    }
10989
10990    /// Call the `delStaticMember` API method and return the raw JSON envelope.
10991    pub async fn del_static_member_raw(&self, params: &DelStaticMemberParams) -> Result<Value> {
10992        self.call_raw("delStaticMember", params).await
10993    }
10994
10995    /// Call the `delSubAccount` API method and deserialize into [`DelSubAccountResponse`].
10996    pub async fn del_sub_account(
10997        &self,
10998        params: &DelSubAccountParams,
10999    ) -> Result<DelSubAccountResponse> {
11000        self.call("delSubAccount", params).await
11001    }
11002
11003    /// Call the `delSubAccount` API method and return the raw JSON envelope.
11004    pub async fn del_sub_account_raw(&self, params: &DelSubAccountParams) -> Result<Value> {
11005        self.call_raw("delSubAccount", params).await
11006    }
11007
11008    /// Call the `delTimeCondition` API method and deserialize into [`DelTimeConditionResponse`].
11009    pub async fn del_time_condition(
11010        &self,
11011        params: &DelTimeConditionParams,
11012    ) -> Result<DelTimeConditionResponse> {
11013        self.call("delTimeCondition", params).await
11014    }
11015
11016    /// Call the `delTimeCondition` API method and return the raw JSON envelope.
11017    pub async fn del_time_condition_raw(&self, params: &DelTimeConditionParams) -> Result<Value> {
11018        self.call_raw("delTimeCondition", params).await
11019    }
11020
11021    /// Call the `delVoicemail` API method and deserialize into [`DelVoicemailResponse`].
11022    pub async fn del_voicemail(&self, params: &DelVoicemailParams) -> Result<DelVoicemailResponse> {
11023        self.call("delVoicemail", params).await
11024    }
11025
11026    /// Call the `delVoicemail` API method and return the raw JSON envelope.
11027    pub async fn del_voicemail_raw(&self, params: &DelVoicemailParams) -> Result<Value> {
11028        self.call_raw("delVoicemail", params).await
11029    }
11030
11031    /// Call the `deleteFaxMessage` API method and deserialize into [`DeleteFAXMessageResponse`].
11032    pub async fn delete_fax_message(
11033        &self,
11034        params: &DeleteFAXMessageParams,
11035    ) -> Result<DeleteFAXMessageResponse> {
11036        self.call("deleteFaxMessage", params).await
11037    }
11038
11039    /// Call the `deleteFaxMessage` API method and return the raw JSON envelope.
11040    pub async fn delete_fax_message_raw(&self, params: &DeleteFAXMessageParams) -> Result<Value> {
11041        self.call_raw("deleteFaxMessage", params).await
11042    }
11043
11044    /// Call the `deleteMMS` API method and deserialize into [`DeleteMMSResponse`].
11045    pub async fn delete_mms(&self, params: &DeleteMMSParams) -> Result<DeleteMMSResponse> {
11046        self.call("deleteMMS", params).await
11047    }
11048
11049    /// Call the `deleteMMS` API method and return the raw JSON envelope.
11050    pub async fn delete_mms_raw(&self, params: &DeleteMMSParams) -> Result<Value> {
11051        self.call_raw("deleteMMS", params).await
11052    }
11053
11054    /// Call the `deleteSMS` API method and deserialize into [`DeleteSMSResponse`].
11055    pub async fn delete_sms(&self, params: &DeleteSMSParams) -> Result<DeleteSMSResponse> {
11056        self.call("deleteSMS", params).await
11057    }
11058
11059    /// Call the `deleteSMS` API method and return the raw JSON envelope.
11060    pub async fn delete_sms_raw(&self, params: &DeleteSMSParams) -> Result<Value> {
11061        self.call_raw("deleteSMS", params).await
11062    }
11063
11064    /// Call the `e911AddressTypes` API method and deserialize into [`E911AddressTypesResponse`].
11065    pub async fn e911_address_types(
11066        &self,
11067        params: &E911AddressTypesParams,
11068    ) -> Result<E911AddressTypesResponse> {
11069        self.call("e911AddressTypes", params).await
11070    }
11071
11072    /// Call the `e911AddressTypes` API method and return the raw JSON envelope.
11073    pub async fn e911_address_types_raw(&self, params: &E911AddressTypesParams) -> Result<Value> {
11074        self.call_raw("e911AddressTypes", params).await
11075    }
11076
11077    /// Call the `e911Cancel` API method and deserialize into [`E911CancelResponse`].
11078    pub async fn e911_cancel(&self, params: &E911CancelParams) -> Result<E911CancelResponse> {
11079        self.call("e911Cancel", params).await
11080    }
11081
11082    /// Call the `e911Cancel` API method and return the raw JSON envelope.
11083    pub async fn e911_cancel_raw(&self, params: &E911CancelParams) -> Result<Value> {
11084        self.call_raw("e911Cancel", params).await
11085    }
11086
11087    /// Call the `e911Info` API method and deserialize into [`E911InfoResponse`].
11088    pub async fn e911_info(&self, params: &E911InfoParams) -> Result<E911InfoResponse> {
11089        self.call("e911Info", params).await
11090    }
11091
11092    /// Call the `e911Info` API method and return the raw JSON envelope.
11093    pub async fn e911_info_raw(&self, params: &E911InfoParams) -> Result<Value> {
11094        self.call_raw("e911Info", params).await
11095    }
11096
11097    /// Call the `e911Provision` API method and deserialize into [`E911ProvisionResponse`].
11098    pub async fn e911_provision(
11099        &self,
11100        params: &E911ProvisionParams,
11101    ) -> Result<E911ProvisionResponse> {
11102        self.call("e911Provision", params).await
11103    }
11104
11105    /// Call the `e911Provision` API method and return the raw JSON envelope.
11106    pub async fn e911_provision_raw(&self, params: &E911ProvisionParams) -> Result<Value> {
11107        self.call_raw("e911Provision", params).await
11108    }
11109
11110    /// Call the `e911ProvisionManually` API method and deserialize into [`E911ProvisionManuallyResponse`].
11111    pub async fn e911_provision_manually(
11112        &self,
11113        params: &E911ProvisionManuallyParams,
11114    ) -> Result<E911ProvisionManuallyResponse> {
11115        self.call("e911ProvisionManually", params).await
11116    }
11117
11118    /// Call the `e911ProvisionManually` API method and return the raw JSON envelope.
11119    pub async fn e911_provision_manually_raw(
11120        &self,
11121        params: &E911ProvisionManuallyParams,
11122    ) -> Result<Value> {
11123        self.call_raw("e911ProvisionManually", params).await
11124    }
11125
11126    /// Call the `e911Update` API method and deserialize into [`E911UpdateResponse`].
11127    pub async fn e911_update(&self, params: &E911UpdateParams) -> Result<E911UpdateResponse> {
11128        self.call("e911Update", params).await
11129    }
11130
11131    /// Call the `e911Update` API method and return the raw JSON envelope.
11132    pub async fn e911_update_raw(&self, params: &E911UpdateParams) -> Result<Value> {
11133        self.call_raw("e911Update", params).await
11134    }
11135
11136    /// Call the `e911Validate` API method and deserialize into [`E911ValidateResponse`].
11137    pub async fn e911_validate(&self, params: &E911ValidateParams) -> Result<E911ValidateResponse> {
11138        self.call("e911Validate", params).await
11139    }
11140
11141    /// Call the `e911Validate` API method and return the raw JSON envelope.
11142    pub async fn e911_validate_raw(&self, params: &E911ValidateParams) -> Result<Value> {
11143        self.call_raw("e911Validate", params).await
11144    }
11145
11146    /// Call the `getAllowedCodecs` API method and deserialize into [`GetAllowedCodecsResponse`].
11147    pub async fn get_allowed_codecs(
11148        &self,
11149        params: &GetAllowedCodecsParams,
11150    ) -> Result<GetAllowedCodecsResponse> {
11151        self.call("getAllowedCodecs", params).await
11152    }
11153
11154    /// Call the `getAllowedCodecs` API method and return the raw JSON envelope.
11155    pub async fn get_allowed_codecs_raw(&self, params: &GetAllowedCodecsParams) -> Result<Value> {
11156        self.call_raw("getAllowedCodecs", params).await
11157    }
11158
11159    /// Call the `getAuthTypes` API method and deserialize into [`GetAuthTypesResponse`].
11160    pub async fn get_auth_types(
11161        &self,
11162        params: &GetAuthTypesParams,
11163    ) -> Result<GetAuthTypesResponse> {
11164        self.call("getAuthTypes", params).await
11165    }
11166
11167    /// Call the `getAuthTypes` API method and return the raw JSON envelope.
11168    pub async fn get_auth_types_raw(&self, params: &GetAuthTypesParams) -> Result<Value> {
11169        self.call_raw("getAuthTypes", params).await
11170    }
11171
11172    /// Call the `getBackOrders` API method and deserialize into [`GetBackOrdersResponse`].
11173    pub async fn get_back_orders(
11174        &self,
11175        params: &GetBackOrdersParams,
11176    ) -> Result<GetBackOrdersResponse> {
11177        self.call("getBackOrders", params).await
11178    }
11179
11180    /// Call the `getBackOrders` API method and return the raw JSON envelope.
11181    pub async fn get_back_orders_raw(&self, params: &GetBackOrdersParams) -> Result<Value> {
11182        self.call_raw("getBackOrders", params).await
11183    }
11184
11185    /// Call the `getBalance` API method and deserialize into [`GetBalanceResponse`].
11186    pub async fn get_balance(&self, params: &GetBalanceParams) -> Result<GetBalanceResponse> {
11187        self.call("getBalance", params).await
11188    }
11189
11190    /// Call the `getBalance` API method and return the raw JSON envelope.
11191    pub async fn get_balance_raw(&self, params: &GetBalanceParams) -> Result<Value> {
11192        self.call_raw("getBalance", params).await
11193    }
11194
11195    /// Call the `getBalanceManagement` API method and deserialize into [`GetBalanceManagementResponse`].
11196    pub async fn get_balance_management(
11197        &self,
11198        params: &GetBalanceManagementParams,
11199    ) -> Result<GetBalanceManagementResponse> {
11200        self.call("getBalanceManagement", params).await
11201    }
11202
11203    /// Call the `getBalanceManagement` API method and return the raw JSON envelope.
11204    pub async fn get_balance_management_raw(
11205        &self,
11206        params: &GetBalanceManagementParams,
11207    ) -> Result<Value> {
11208        self.call_raw("getBalanceManagement", params).await
11209    }
11210
11211    /// Call the `getCDR` API method and deserialize into [`GetCDRResponse`].
11212    pub async fn get_cdr(&self, params: &GetCDRParams) -> Result<GetCDRResponse> {
11213        self.call("getCDR", params).await
11214    }
11215
11216    /// Call the `getCDR` API method and return the raw JSON envelope.
11217    pub async fn get_cdr_raw(&self, params: &GetCDRParams) -> Result<Value> {
11218        self.call_raw("getCDR", params).await
11219    }
11220
11221    /// Call the `getCallAccounts` API method and deserialize into [`GetCallAccountsResponse`].
11222    pub async fn get_call_accounts(
11223        &self,
11224        params: &GetCallAccountsParams,
11225    ) -> Result<GetCallAccountsResponse> {
11226        self.call("getCallAccounts", params).await
11227    }
11228
11229    /// Call the `getCallAccounts` API method and return the raw JSON envelope.
11230    pub async fn get_call_accounts_raw(&self, params: &GetCallAccountsParams) -> Result<Value> {
11231        self.call_raw("getCallAccounts", params).await
11232    }
11233
11234    /// Call the `getCallBilling` API method and deserialize into [`GetCallBillingResponse`].
11235    pub async fn get_call_billing(
11236        &self,
11237        params: &GetCallBillingParams,
11238    ) -> Result<GetCallBillingResponse> {
11239        self.call("getCallBilling", params).await
11240    }
11241
11242    /// Call the `getCallBilling` API method and return the raw JSON envelope.
11243    pub async fn get_call_billing_raw(&self, params: &GetCallBillingParams) -> Result<Value> {
11244        self.call_raw("getCallBilling", params).await
11245    }
11246
11247    /// Call the `getCallHuntings` API method and deserialize into [`GetCallHuntingsResponse`].
11248    pub async fn get_call_huntings(
11249        &self,
11250        params: &GetCallHuntingsParams,
11251    ) -> Result<GetCallHuntingsResponse> {
11252        self.call("getCallHuntings", params).await
11253    }
11254
11255    /// Call the `getCallHuntings` API method and return the raw JSON envelope.
11256    pub async fn get_call_huntings_raw(&self, params: &GetCallHuntingsParams) -> Result<Value> {
11257        self.call_raw("getCallHuntings", params).await
11258    }
11259
11260    /// Call the `getCallParking` API method and deserialize into [`GetCallParkingResponse`].
11261    pub async fn get_call_parking(
11262        &self,
11263        params: &GetCallParkingParams,
11264    ) -> Result<GetCallParkingResponse> {
11265        self.call("getCallParking", params).await
11266    }
11267
11268    /// Call the `getCallParking` API method and return the raw JSON envelope.
11269    pub async fn get_call_parking_raw(&self, params: &GetCallParkingParams) -> Result<Value> {
11270        self.call_raw("getCallParking", params).await
11271    }
11272
11273    /// Call the `getCallRecording` API method and deserialize into [`GetCallRecordingResponse`].
11274    pub async fn get_call_recording(
11275        &self,
11276        params: &GetCallRecordingParams,
11277    ) -> Result<GetCallRecordingResponse> {
11278        self.call("getCallRecording", params).await
11279    }
11280
11281    /// Call the `getCallRecording` API method and return the raw JSON envelope.
11282    pub async fn get_call_recording_raw(&self, params: &GetCallRecordingParams) -> Result<Value> {
11283        self.call_raw("getCallRecording", params).await
11284    }
11285
11286    /// Call the `getCallRecordings` API method and deserialize into [`GetCallRecordingsResponse`].
11287    pub async fn get_call_recordings(
11288        &self,
11289        params: &GetCallRecordingsParams,
11290    ) -> Result<GetCallRecordingsResponse> {
11291        self.call("getCallRecordings", params).await
11292    }
11293
11294    /// Call the `getCallRecordings` API method and return the raw JSON envelope.
11295    pub async fn get_call_recordings_raw(&self, params: &GetCallRecordingsParams) -> Result<Value> {
11296        self.call_raw("getCallRecordings", params).await
11297    }
11298
11299    /// Call the `getCallTranscriptions` API method and deserialize into [`GetCallTranscriptionsResponse`].
11300    pub async fn get_call_transcriptions(
11301        &self,
11302        params: &GetCallTranscriptionsParams,
11303    ) -> Result<GetCallTranscriptionsResponse> {
11304        self.call("getCallTranscriptions", params).await
11305    }
11306
11307    /// Call the `getCallTranscriptions` API method and return the raw JSON envelope.
11308    pub async fn get_call_transcriptions_raw(
11309        &self,
11310        params: &GetCallTranscriptionsParams,
11311    ) -> Result<Value> {
11312        self.call_raw("getCallTranscriptions", params).await
11313    }
11314
11315    /// Call the `getCallTypes` API method and deserialize into [`GetCallTypesResponse`].
11316    pub async fn get_call_types(
11317        &self,
11318        params: &GetCallTypesParams,
11319    ) -> Result<GetCallTypesResponse> {
11320        self.call("getCallTypes", params).await
11321    }
11322
11323    /// Call the `getCallTypes` API method and return the raw JSON envelope.
11324    pub async fn get_call_types_raw(&self, params: &GetCallTypesParams) -> Result<Value> {
11325        self.call_raw("getCallTypes", params).await
11326    }
11327
11328    /// Call the `getCallbacks` API method and deserialize into [`GetCallbacksResponse`].
11329    pub async fn get_callbacks(&self, params: &GetCallbacksParams) -> Result<GetCallbacksResponse> {
11330        self.call("getCallbacks", params).await
11331    }
11332
11333    /// Call the `getCallbacks` API method and return the raw JSON envelope.
11334    pub async fn get_callbacks_raw(&self, params: &GetCallbacksParams) -> Result<Value> {
11335        self.call_raw("getCallbacks", params).await
11336    }
11337
11338    /// Call the `getCallerIDFiltering` API method and deserialize into [`GetCallerIDFilteringResponse`].
11339    pub async fn get_caller_id_filtering(
11340        &self,
11341        params: &GetCallerIDFilteringParams,
11342    ) -> Result<GetCallerIDFilteringResponse> {
11343        self.call("getCallerIDFiltering", params).await
11344    }
11345
11346    /// Call the `getCallerIDFiltering` API method and return the raw JSON envelope.
11347    pub async fn get_caller_id_filtering_raw(
11348        &self,
11349        params: &GetCallerIDFilteringParams,
11350    ) -> Result<Value> {
11351        self.call_raw("getCallerIDFiltering", params).await
11352    }
11353
11354    /// Call the `getCarriers` API method and deserialize into [`GetCarriersResponse`].
11355    pub async fn get_carriers(&self, params: &GetCarriersParams) -> Result<GetCarriersResponse> {
11356        self.call("getCarriers", params).await
11357    }
11358
11359    /// Call the `getCarriers` API method and return the raw JSON envelope.
11360    pub async fn get_carriers_raw(&self, params: &GetCarriersParams) -> Result<Value> {
11361        self.call_raw("getCarriers", params).await
11362    }
11363
11364    /// Call the `getCharges` API method and deserialize into [`GetChargesResponse`].
11365    pub async fn get_charges(&self, params: &GetChargesParams) -> Result<GetChargesResponse> {
11366        self.call("getCharges", params).await
11367    }
11368
11369    /// Call the `getCharges` API method and return the raw JSON envelope.
11370    pub async fn get_charges_raw(&self, params: &GetChargesParams) -> Result<Value> {
11371        self.call_raw("getCharges", params).await
11372    }
11373
11374    /// Call the `getClientPackages` API method and deserialize into [`GetClientPackagesResponse`].
11375    pub async fn get_client_packages(
11376        &self,
11377        params: &GetClientPackagesParams,
11378    ) -> Result<GetClientPackagesResponse> {
11379        self.call("getClientPackages", params).await
11380    }
11381
11382    /// Call the `getClientPackages` API method and return the raw JSON envelope.
11383    pub async fn get_client_packages_raw(&self, params: &GetClientPackagesParams) -> Result<Value> {
11384        self.call_raw("getClientPackages", params).await
11385    }
11386
11387    /// Call the `getClientThreshold` API method and deserialize into [`GetClientThresholdResponse`].
11388    pub async fn get_client_threshold(
11389        &self,
11390        params: &GetClientThresholdParams,
11391    ) -> Result<GetClientThresholdResponse> {
11392        self.call("getClientThreshold", params).await
11393    }
11394
11395    /// Call the `getClientThreshold` API method and return the raw JSON envelope.
11396    pub async fn get_client_threshold_raw(
11397        &self,
11398        params: &GetClientThresholdParams,
11399    ) -> Result<Value> {
11400        self.call_raw("getClientThreshold", params).await
11401    }
11402
11403    /// Call the `getClients` API method and deserialize into [`GetClientsResponse`].
11404    pub async fn get_clients(&self, params: &GetClientsParams) -> Result<GetClientsResponse> {
11405        self.call("getClients", params).await
11406    }
11407
11408    /// Call the `getClients` API method and return the raw JSON envelope.
11409    pub async fn get_clients_raw(&self, params: &GetClientsParams) -> Result<Value> {
11410        self.call_raw("getClients", params).await
11411    }
11412
11413    /// Call the `getConference` API method and deserialize into [`GetConferenceResponse`].
11414    pub async fn get_conference(
11415        &self,
11416        params: &GetConferenceParams,
11417    ) -> Result<GetConferenceResponse> {
11418        self.call("getConference", params).await
11419    }
11420
11421    /// Call the `getConference` API method and return the raw JSON envelope.
11422    pub async fn get_conference_raw(&self, params: &GetConferenceParams) -> Result<Value> {
11423        self.call_raw("getConference", params).await
11424    }
11425
11426    /// Call the `getConferenceMembers` API method and deserialize into [`GetConferenceMembersResponse`].
11427    pub async fn get_conference_members(
11428        &self,
11429        params: &GetConferenceMembersParams,
11430    ) -> Result<GetConferenceMembersResponse> {
11431        self.call("getConferenceMembers", params).await
11432    }
11433
11434    /// Call the `getConferenceMembers` API method and return the raw JSON envelope.
11435    pub async fn get_conference_members_raw(
11436        &self,
11437        params: &GetConferenceMembersParams,
11438    ) -> Result<Value> {
11439        self.call_raw("getConferenceMembers", params).await
11440    }
11441
11442    /// Call the `getConferenceRecordingFile` API method and deserialize into [`GetConferenceRecordingFileResponse`].
11443    pub async fn get_conference_recording_file(
11444        &self,
11445        params: &GetConferenceRecordingFileParams,
11446    ) -> Result<GetConferenceRecordingFileResponse> {
11447        self.call("getConferenceRecordingFile", params).await
11448    }
11449
11450    /// Call the `getConferenceRecordingFile` API method and return the raw JSON envelope.
11451    pub async fn get_conference_recording_file_raw(
11452        &self,
11453        params: &GetConferenceRecordingFileParams,
11454    ) -> Result<Value> {
11455        self.call_raw("getConferenceRecordingFile", params).await
11456    }
11457
11458    /// Call the `getConferenceRecordings` API method and deserialize into [`GetConferenceRecordingsResponse`].
11459    pub async fn get_conference_recordings(
11460        &self,
11461        params: &GetConferenceRecordingsParams,
11462    ) -> Result<GetConferenceRecordingsResponse> {
11463        self.call("getConferenceRecordings", params).await
11464    }
11465
11466    /// Call the `getConferenceRecordings` API method and return the raw JSON envelope.
11467    pub async fn get_conference_recordings_raw(
11468        &self,
11469        params: &GetConferenceRecordingsParams,
11470    ) -> Result<Value> {
11471        self.call_raw("getConferenceRecordings", params).await
11472    }
11473
11474    /// Call the `getCountries` API method and deserialize into [`GetCountriesResponse`].
11475    pub async fn get_countries(&self, params: &GetCountriesParams) -> Result<GetCountriesResponse> {
11476        self.call("getCountries", params).await
11477    }
11478
11479    /// Call the `getCountries` API method and return the raw JSON envelope.
11480    pub async fn get_countries_raw(&self, params: &GetCountriesParams) -> Result<Value> {
11481        self.call_raw("getCountries", params).await
11482    }
11483
11484    /// Call the `getDIDCountries` API method and deserialize into [`GetDIDCountriesResponse`].
11485    pub async fn get_did_countries(
11486        &self,
11487        params: &GetDIDCountriesParams,
11488    ) -> Result<GetDIDCountriesResponse> {
11489        self.call("getDIDCountries", params).await
11490    }
11491
11492    /// Call the `getDIDCountries` API method and return the raw JSON envelope.
11493    pub async fn get_did_countries_raw(&self, params: &GetDIDCountriesParams) -> Result<Value> {
11494        self.call_raw("getDIDCountries", params).await
11495    }
11496
11497    /// Call the `getDIDsCAN` API method and deserialize into [`GetDIDsCANResponse`].
11498    pub async fn get_dids_can(&self, params: &GetDIDsCANParams) -> Result<GetDIDsCANResponse> {
11499        self.call("getDIDsCAN", params).await
11500    }
11501
11502    /// Call the `getDIDsCAN` API method and return the raw JSON envelope.
11503    pub async fn get_dids_can_raw(&self, params: &GetDIDsCANParams) -> Result<Value> {
11504        self.call_raw("getDIDsCAN", params).await
11505    }
11506
11507    /// Call the `getDIDsInfo` API method and deserialize into [`GetDIDsInfoResponse`].
11508    pub async fn get_dids_info(&self, params: &GetDIDsInfoParams) -> Result<GetDIDsInfoResponse> {
11509        self.call("getDIDsInfo", params).await
11510    }
11511
11512    /// Call the `getDIDsInfo` API method and return the raw JSON envelope.
11513    pub async fn get_dids_info_raw(&self, params: &GetDIDsInfoParams) -> Result<Value> {
11514        self.call_raw("getDIDsInfo", params).await
11515    }
11516
11517    /// Call the `getDIDsInternationalGeographic` API method and deserialize into [`GetDIDsInternationalGeographicResponse`].
11518    pub async fn get_dids_international_geographic(
11519        &self,
11520        params: &GetDIDsInternationalGeographicParams,
11521    ) -> Result<GetDIDsInternationalGeographicResponse> {
11522        self.call("getDIDsInternationalGeographic", params).await
11523    }
11524
11525    /// Call the `getDIDsInternationalGeographic` API method and return the raw JSON envelope.
11526    pub async fn get_dids_international_geographic_raw(
11527        &self,
11528        params: &GetDIDsInternationalGeographicParams,
11529    ) -> Result<Value> {
11530        self.call_raw("getDIDsInternationalGeographic", params)
11531            .await
11532    }
11533
11534    /// Call the `getDIDsInternationalNational` API method and deserialize into [`GetDIDsInternationalNationalResponse`].
11535    pub async fn get_dids_international_national(
11536        &self,
11537        params: &GetDIDsInternationalNationalParams,
11538    ) -> Result<GetDIDsInternationalNationalResponse> {
11539        self.call("getDIDsInternationalNational", params).await
11540    }
11541
11542    /// Call the `getDIDsInternationalNational` API method and return the raw JSON envelope.
11543    pub async fn get_dids_international_national_raw(
11544        &self,
11545        params: &GetDIDsInternationalNationalParams,
11546    ) -> Result<Value> {
11547        self.call_raw("getDIDsInternationalNational", params).await
11548    }
11549
11550    /// Call the `getDIDsInternationalTollFree` API method and deserialize into [`GetDIDsInternationalTollFreeResponse`].
11551    pub async fn get_dids_international_toll_free(
11552        &self,
11553        params: &GetDIDsInternationalTollFreeParams,
11554    ) -> Result<GetDIDsInternationalTollFreeResponse> {
11555        self.call("getDIDsInternationalTollFree", params).await
11556    }
11557
11558    /// Call the `getDIDsInternationalTollFree` API method and return the raw JSON envelope.
11559    pub async fn get_dids_international_toll_free_raw(
11560        &self,
11561        params: &GetDIDsInternationalTollFreeParams,
11562    ) -> Result<Value> {
11563        self.call_raw("getDIDsInternationalTollFree", params).await
11564    }
11565
11566    /// Call the `getDIDsUSA` API method and deserialize into [`GetDIDsUSAResponse`].
11567    pub async fn get_dids_usa(&self, params: &GetDIDsUSAParams) -> Result<GetDIDsUSAResponse> {
11568        self.call("getDIDsUSA", params).await
11569    }
11570
11571    /// Call the `getDIDsUSA` API method and return the raw JSON envelope.
11572    pub async fn get_dids_usa_raw(&self, params: &GetDIDsUSAParams) -> Result<Value> {
11573        self.call_raw("getDIDsUSA", params).await
11574    }
11575
11576    /// Call the `getDIDvPRI` API method and deserialize into [`GetDIDvPRIResponse`].
11577    pub async fn get_did_vpri(&self, params: &GetDIDvPRIParams) -> Result<GetDIDvPRIResponse> {
11578        self.call("getDIDvPRI", params).await
11579    }
11580
11581    /// Call the `getDIDvPRI` API method and return the raw JSON envelope.
11582    pub async fn get_did_vpri_raw(&self, params: &GetDIDvPRIParams) -> Result<Value> {
11583        self.call_raw("getDIDvPRI", params).await
11584    }
11585
11586    /// Call the `getDISAs` API method and deserialize into [`GetDISAsResponse`].
11587    pub async fn get_disas(&self, params: &GetDISAsParams) -> Result<GetDISAsResponse> {
11588        self.call("getDISAs", params).await
11589    }
11590
11591    /// Call the `getDISAs` API method and return the raw JSON envelope.
11592    pub async fn get_disas_raw(&self, params: &GetDISAsParams) -> Result<Value> {
11593        self.call_raw("getDISAs", params).await
11594    }
11595
11596    /// Call the `getDTMFModes` API method and deserialize into [`GetDTMFModesResponse`].
11597    pub async fn get_dtmf_modes(
11598        &self,
11599        params: &GetDTMFModesParams,
11600    ) -> Result<GetDTMFModesResponse> {
11601        self.call("getDTMFModes", params).await
11602    }
11603
11604    /// Call the `getDTMFModes` API method and return the raw JSON envelope.
11605    pub async fn get_dtmf_modes_raw(&self, params: &GetDTMFModesParams) -> Result<Value> {
11606        self.call_raw("getDTMFModes", params).await
11607    }
11608
11609    /// Call the `getDeposits` API method and deserialize into [`GetDepositsResponse`].
11610    pub async fn get_deposits(&self, params: &GetDepositsParams) -> Result<GetDepositsResponse> {
11611        self.call("getDeposits", params).await
11612    }
11613
11614    /// Call the `getDeposits` API method and return the raw JSON envelope.
11615    pub async fn get_deposits_raw(&self, params: &GetDepositsParams) -> Result<Value> {
11616        self.call_raw("getDeposits", params).await
11617    }
11618
11619    /// Call the `getDeviceTypes` API method and deserialize into [`GetDeviceTypesResponse`].
11620    pub async fn get_device_types(
11621        &self,
11622        params: &GetDeviceTypesParams,
11623    ) -> Result<GetDeviceTypesResponse> {
11624        self.call("getDeviceTypes", params).await
11625    }
11626
11627    /// Call the `getDeviceTypes` API method and return the raw JSON envelope.
11628    pub async fn get_device_types_raw(&self, params: &GetDeviceTypesParams) -> Result<Value> {
11629        self.call_raw("getDeviceTypes", params).await
11630    }
11631
11632    /// Call the `getEmailToFax` API method and deserialize into [`GetEmailToFAXResponse`].
11633    pub async fn get_email_to_fax(
11634        &self,
11635        params: &GetEmailToFAXParams,
11636    ) -> Result<GetEmailToFAXResponse> {
11637        self.call("getEmailToFax", params).await
11638    }
11639
11640    /// Call the `getEmailToFax` API method and return the raw JSON envelope.
11641    pub async fn get_email_to_fax_raw(&self, params: &GetEmailToFAXParams) -> Result<Value> {
11642        self.call_raw("getEmailToFax", params).await
11643    }
11644
11645    /// Call the `getFaxFolders` API method and deserialize into [`GetFAXFoldersResponse`].
11646    pub async fn get_fax_folders(
11647        &self,
11648        params: &GetFAXFoldersParams,
11649    ) -> Result<GetFAXFoldersResponse> {
11650        self.call("getFaxFolders", params).await
11651    }
11652
11653    /// Call the `getFaxFolders` API method and return the raw JSON envelope.
11654    pub async fn get_fax_folders_raw(&self, params: &GetFAXFoldersParams) -> Result<Value> {
11655        self.call_raw("getFaxFolders", params).await
11656    }
11657
11658    /// Call the `getFaxMessagePDF` API method and deserialize into [`GetFAXMessagePDFResponse`].
11659    pub async fn get_fax_message_pdf(
11660        &self,
11661        params: &GetFAXMessagePDFParams,
11662    ) -> Result<GetFAXMessagePDFResponse> {
11663        self.call("getFaxMessagePDF", params).await
11664    }
11665
11666    /// Call the `getFaxMessagePDF` API method and return the raw JSON envelope.
11667    pub async fn get_fax_message_pdf_raw(&self, params: &GetFAXMessagePDFParams) -> Result<Value> {
11668        self.call_raw("getFaxMessagePDF", params).await
11669    }
11670
11671    /// Call the `getFaxMessages` API method and deserialize into [`GetFAXMessagesResponse`].
11672    pub async fn get_fax_messages(
11673        &self,
11674        params: &GetFAXMessagesParams,
11675    ) -> Result<GetFAXMessagesResponse> {
11676        self.call("getFaxMessages", params).await
11677    }
11678
11679    /// Call the `getFaxMessages` API method and return the raw JSON envelope.
11680    pub async fn get_fax_messages_raw(&self, params: &GetFAXMessagesParams) -> Result<Value> {
11681        self.call_raw("getFaxMessages", params).await
11682    }
11683
11684    /// Call the `getFaxNumbersInfo` API method and deserialize into [`GetFAXNumbersInfoResponse`].
11685    pub async fn get_fax_numbers_info(
11686        &self,
11687        params: &GetFAXNumbersInfoParams,
11688    ) -> Result<GetFAXNumbersInfoResponse> {
11689        self.call("getFaxNumbersInfo", params).await
11690    }
11691
11692    /// Call the `getFaxNumbersInfo` API method and return the raw JSON envelope.
11693    pub async fn get_fax_numbers_info_raw(
11694        &self,
11695        params: &GetFAXNumbersInfoParams,
11696    ) -> Result<Value> {
11697        self.call_raw("getFaxNumbersInfo", params).await
11698    }
11699
11700    /// Call the `getFaxNumbersPortability` API method and deserialize into [`GetFAXNumbersPortabilityResponse`].
11701    pub async fn get_fax_numbers_portability(
11702        &self,
11703        params: &GetFAXNumbersPortabilityParams,
11704    ) -> Result<GetFAXNumbersPortabilityResponse> {
11705        self.call("getFaxNumbersPortability", params).await
11706    }
11707
11708    /// Call the `getFaxNumbersPortability` API method and return the raw JSON envelope.
11709    pub async fn get_fax_numbers_portability_raw(
11710        &self,
11711        params: &GetFAXNumbersPortabilityParams,
11712    ) -> Result<Value> {
11713        self.call_raw("getFaxNumbersPortability", params).await
11714    }
11715
11716    /// Call the `getFaxProvinces` API method and deserialize into [`GetFAXProvincesResponse`].
11717    pub async fn get_fax_provinces(
11718        &self,
11719        params: &GetFAXProvincesParams,
11720    ) -> Result<GetFAXProvincesResponse> {
11721        self.call("getFaxProvinces", params).await
11722    }
11723
11724    /// Call the `getFaxProvinces` API method and return the raw JSON envelope.
11725    pub async fn get_fax_provinces_raw(&self, params: &GetFAXProvincesParams) -> Result<Value> {
11726        self.call_raw("getFaxProvinces", params).await
11727    }
11728
11729    /// Call the `getFaxRateCentersCAN` API method and deserialize into [`GetFAXRateCentersCANResponse`].
11730    pub async fn get_fax_rate_centers_can(
11731        &self,
11732        params: &GetFAXRateCentersCANParams,
11733    ) -> Result<GetFAXRateCentersCANResponse> {
11734        self.call("getFaxRateCentersCAN", params).await
11735    }
11736
11737    /// Call the `getFaxRateCentersCAN` API method and return the raw JSON envelope.
11738    pub async fn get_fax_rate_centers_can_raw(
11739        &self,
11740        params: &GetFAXRateCentersCANParams,
11741    ) -> Result<Value> {
11742        self.call_raw("getFaxRateCentersCAN", params).await
11743    }
11744
11745    /// Call the `getFaxRateCentersUSA` API method and deserialize into [`GetFAXRateCentersUSAResponse`].
11746    pub async fn get_fax_rate_centers_usa(
11747        &self,
11748        params: &GetFAXRateCentersUSAParams,
11749    ) -> Result<GetFAXRateCentersUSAResponse> {
11750        self.call("getFaxRateCentersUSA", params).await
11751    }
11752
11753    /// Call the `getFaxRateCentersUSA` API method and return the raw JSON envelope.
11754    pub async fn get_fax_rate_centers_usa_raw(
11755        &self,
11756        params: &GetFAXRateCentersUSAParams,
11757    ) -> Result<Value> {
11758        self.call_raw("getFaxRateCentersUSA", params).await
11759    }
11760
11761    /// Call the `getFaxStates` API method and deserialize into [`GetFAXStatesResponse`].
11762    pub async fn get_fax_states(
11763        &self,
11764        params: &GetFAXStatesParams,
11765    ) -> Result<GetFAXStatesResponse> {
11766        self.call("getFaxStates", params).await
11767    }
11768
11769    /// Call the `getFaxStates` API method and return the raw JSON envelope.
11770    pub async fn get_fax_states_raw(&self, params: &GetFAXStatesParams) -> Result<Value> {
11771        self.call_raw("getFaxStates", params).await
11772    }
11773
11774    /// Call the `getForwardings` API method and deserialize into [`GetForwardingsResponse`].
11775    pub async fn get_forwardings(
11776        &self,
11777        params: &GetForwardingsParams,
11778    ) -> Result<GetForwardingsResponse> {
11779        self.call("getForwardings", params).await
11780    }
11781
11782    /// Call the `getForwardings` API method and return the raw JSON envelope.
11783    pub async fn get_forwardings_raw(&self, params: &GetForwardingsParams) -> Result<Value> {
11784        self.call_raw("getForwardings", params).await
11785    }
11786
11787    /// Call the `getIP` API method and deserialize into [`GetIPResponse`].
11788    pub async fn get_ip(&self, params: &GetIPParams) -> Result<GetIPResponse> {
11789        self.call("getIP", params).await
11790    }
11791
11792    /// Call the `getIP` API method and return the raw JSON envelope.
11793    pub async fn get_ip_raw(&self, params: &GetIPParams) -> Result<Value> {
11794        self.call_raw("getIP", params).await
11795    }
11796
11797    /// Call the `getIVRs` API method and deserialize into [`GetIVRsResponse`].
11798    pub async fn get_ivrs(&self, params: &GetIVRsParams) -> Result<GetIVRsResponse> {
11799        self.call("getIVRs", params).await
11800    }
11801
11802    /// Call the `getIVRs` API method and return the raw JSON envelope.
11803    pub async fn get_ivrs_raw(&self, params: &GetIVRsParams) -> Result<Value> {
11804        self.call_raw("getIVRs", params).await
11805    }
11806
11807    /// Call the `getInternationalTypes` API method and deserialize into [`GetInternationalTypesResponse`].
11808    pub async fn get_international_types(
11809        &self,
11810        params: &GetInternationalTypesParams,
11811    ) -> Result<GetInternationalTypesResponse> {
11812        self.call("getInternationalTypes", params).await
11813    }
11814
11815    /// Call the `getInternationalTypes` API method and return the raw JSON envelope.
11816    pub async fn get_international_types_raw(
11817        &self,
11818        params: &GetInternationalTypesParams,
11819    ) -> Result<Value> {
11820        self.call_raw("getInternationalTypes", params).await
11821    }
11822
11823    /// Call the `getJoinWhenEmptyTypes` API method and deserialize into [`GetJoinWhenEmptyTypesResponse`].
11824    pub async fn get_join_when_empty_types(
11825        &self,
11826        params: &GetJoinWhenEmptyTypesParams,
11827    ) -> Result<GetJoinWhenEmptyTypesResponse> {
11828        self.call("getJoinWhenEmptyTypes", params).await
11829    }
11830
11831    /// Call the `getJoinWhenEmptyTypes` API method and return the raw JSON envelope.
11832    pub async fn get_join_when_empty_types_raw(
11833        &self,
11834        params: &GetJoinWhenEmptyTypesParams,
11835    ) -> Result<Value> {
11836        self.call_raw("getJoinWhenEmptyTypes", params).await
11837    }
11838
11839    /// Call the `getLNPAttach` API method and deserialize into [`GetLNPAttachResponse`].
11840    pub async fn get_lnp_attach(
11841        &self,
11842        params: &GetLNPAttachParams,
11843    ) -> Result<GetLNPAttachResponse> {
11844        self.call("getLNPAttach", params).await
11845    }
11846
11847    /// Call the `getLNPAttach` API method and return the raw JSON envelope.
11848    pub async fn get_lnp_attach_raw(&self, params: &GetLNPAttachParams) -> Result<Value> {
11849        self.call_raw("getLNPAttach", params).await
11850    }
11851
11852    /// Call the `getLNPAttachList` API method and deserialize into [`GetLNPAttachListResponse`].
11853    pub async fn get_lnp_attach_list(
11854        &self,
11855        params: &GetLNPAttachListParams,
11856    ) -> Result<GetLNPAttachListResponse> {
11857        self.call("getLNPAttachList", params).await
11858    }
11859
11860    /// Call the `getLNPAttachList` API method and return the raw JSON envelope.
11861    pub async fn get_lnp_attach_list_raw(&self, params: &GetLNPAttachListParams) -> Result<Value> {
11862        self.call_raw("getLNPAttachList", params).await
11863    }
11864
11865    /// Call the `getLNPDetails` API method and deserialize into [`GetLNPDetailsResponse`].
11866    pub async fn get_lnp_details(
11867        &self,
11868        params: &GetLNPDetailsParams,
11869    ) -> Result<GetLNPDetailsResponse> {
11870        self.call("getLNPDetails", params).await
11871    }
11872
11873    /// Call the `getLNPDetails` API method and return the raw JSON envelope.
11874    pub async fn get_lnp_details_raw(&self, params: &GetLNPDetailsParams) -> Result<Value> {
11875        self.call_raw("getLNPDetails", params).await
11876    }
11877
11878    /// Call the `getLNPList` API method and deserialize into [`GetLNPListResponse`].
11879    pub async fn get_lnp_list(&self, params: &GetLNPListParams) -> Result<GetLNPListResponse> {
11880        self.call("getLNPList", params).await
11881    }
11882
11883    /// Call the `getLNPList` API method and return the raw JSON envelope.
11884    pub async fn get_lnp_list_raw(&self, params: &GetLNPListParams) -> Result<Value> {
11885        self.call_raw("getLNPList", params).await
11886    }
11887
11888    /// Call the `getLNPListStatus` API method and deserialize into [`GetLNPListStatusResponse`].
11889    pub async fn get_lnp_list_status(
11890        &self,
11891        params: &GetLNPListStatusParams,
11892    ) -> Result<GetLNPListStatusResponse> {
11893        self.call("getLNPListStatus", params).await
11894    }
11895
11896    /// Call the `getLNPListStatus` API method and return the raw JSON envelope.
11897    pub async fn get_lnp_list_status_raw(&self, params: &GetLNPListStatusParams) -> Result<Value> {
11898        self.call_raw("getLNPListStatus", params).await
11899    }
11900
11901    /// Call the `getLNPNotes` API method and deserialize into [`GetLNPNotesResponse`].
11902    pub async fn get_lnp_notes(&self, params: &GetLNPNotesParams) -> Result<GetLNPNotesResponse> {
11903        self.call("getLNPNotes", params).await
11904    }
11905
11906    /// Call the `getLNPNotes` API method and return the raw JSON envelope.
11907    pub async fn get_lnp_notes_raw(&self, params: &GetLNPNotesParams) -> Result<Value> {
11908        self.call_raw("getLNPNotes", params).await
11909    }
11910
11911    /// Call the `getLNPStatus` API method and deserialize into [`GetLNPStatusResponse`].
11912    pub async fn get_lnp_status(
11913        &self,
11914        params: &GetLNPStatusParams,
11915    ) -> Result<GetLNPStatusResponse> {
11916        self.call("getLNPStatus", params).await
11917    }
11918
11919    /// Call the `getLNPStatus` API method and return the raw JSON envelope.
11920    pub async fn get_lnp_status_raw(&self, params: &GetLNPStatusParams) -> Result<Value> {
11921        self.call_raw("getLNPStatus", params).await
11922    }
11923
11924    /// Call the `getLanguages` API method and deserialize into [`GetLanguagesResponse`].
11925    pub async fn get_languages(&self, params: &GetLanguagesParams) -> Result<GetLanguagesResponse> {
11926        self.call("getLanguages", params).await
11927    }
11928
11929    /// Call the `getLanguages` API method and return the raw JSON envelope.
11930    pub async fn get_languages_raw(&self, params: &GetLanguagesParams) -> Result<Value> {
11931        self.call_raw("getLanguages", params).await
11932    }
11933
11934    /// Call the `getLocales` API method and deserialize into [`GetLocalesResponse`].
11935    pub async fn get_locales(&self, params: &GetLocalesParams) -> Result<GetLocalesResponse> {
11936        self.call("getLocales", params).await
11937    }
11938
11939    /// Call the `getLocales` API method and return the raw JSON envelope.
11940    pub async fn get_locales_raw(&self, params: &GetLocalesParams) -> Result<Value> {
11941        self.call_raw("getLocales", params).await
11942    }
11943
11944    /// Call the `getLocations` API method and deserialize into [`GetLocationsResponse`].
11945    pub async fn get_locations(&self, params: &GetLocationsParams) -> Result<GetLocationsResponse> {
11946        self.call("getLocations", params).await
11947    }
11948
11949    /// Call the `getLocations` API method and return the raw JSON envelope.
11950    pub async fn get_locations_raw(&self, params: &GetLocationsParams) -> Result<Value> {
11951        self.call_raw("getLocations", params).await
11952    }
11953
11954    /// Call the `getLockInternational` API method and deserialize into [`GetLockInternationalResponse`].
11955    pub async fn get_lock_international(
11956        &self,
11957        params: &GetLockInternationalParams,
11958    ) -> Result<GetLockInternationalResponse> {
11959        self.call("getLockInternational", params).await
11960    }
11961
11962    /// Call the `getLockInternational` API method and return the raw JSON envelope.
11963    pub async fn get_lock_international_raw(
11964        &self,
11965        params: &GetLockInternationalParams,
11966    ) -> Result<Value> {
11967        self.call_raw("getLockInternational", params).await
11968    }
11969
11970    /// Call the `getMMS` API method and deserialize into [`GetMMSResponse`].
11971    pub async fn get_mms(&self, params: &GetMMSParams) -> Result<GetMMSResponse> {
11972        self.call("getMMS", params).await
11973    }
11974
11975    /// Call the `getMMS` API method and return the raw JSON envelope.
11976    pub async fn get_mms_raw(&self, params: &GetMMSParams) -> Result<Value> {
11977        self.call_raw("getMMS", params).await
11978    }
11979
11980    /// Call the `getMediaMMS` API method and deserialize into [`GetMediaMMSResponse`].
11981    pub async fn get_media_mms(&self, params: &GetMediaMMSParams) -> Result<GetMediaMMSResponse> {
11982        self.call("getMediaMMS", params).await
11983    }
11984
11985    /// Call the `getMediaMMS` API method and return the raw JSON envelope.
11986    pub async fn get_media_mms_raw(&self, params: &GetMediaMMSParams) -> Result<Value> {
11987        self.call_raw("getMediaMMS", params).await
11988    }
11989
11990    /// Call the `getMusicOnHold` API method and deserialize into [`GetMusicOnHoldResponse`].
11991    pub async fn get_music_on_hold(
11992        &self,
11993        params: &GetMusicOnHoldParams,
11994    ) -> Result<GetMusicOnHoldResponse> {
11995        self.call("getMusicOnHold", params).await
11996    }
11997
11998    /// Call the `getMusicOnHold` API method and return the raw JSON envelope.
11999    pub async fn get_music_on_hold_raw(&self, params: &GetMusicOnHoldParams) -> Result<Value> {
12000        self.call_raw("getMusicOnHold", params).await
12001    }
12002
12003    /// Call the `getNAT` API method and deserialize into [`GetNATResponse`].
12004    pub async fn get_nat(&self, params: &GetNATParams) -> Result<GetNATResponse> {
12005        self.call("getNAT", params).await
12006    }
12007
12008    /// Call the `getNAT` API method and return the raw JSON envelope.
12009    pub async fn get_nat_raw(&self, params: &GetNATParams) -> Result<Value> {
12010        self.call_raw("getNAT", params).await
12011    }
12012
12013    /// Call the `getPackages` API method and deserialize into [`GetPackagesResponse`].
12014    pub async fn get_packages(&self, params: &GetPackagesParams) -> Result<GetPackagesResponse> {
12015        self.call("getPackages", params).await
12016    }
12017
12018    /// Call the `getPackages` API method and return the raw JSON envelope.
12019    pub async fn get_packages_raw(&self, params: &GetPackagesParams) -> Result<Value> {
12020        self.call_raw("getPackages", params).await
12021    }
12022
12023    /// Call the `getPhonebook` API method and deserialize into [`GetPhonebookResponse`].
12024    pub async fn get_phonebook(&self, params: &GetPhonebookParams) -> Result<GetPhonebookResponse> {
12025        self.call("getPhonebook", params).await
12026    }
12027
12028    /// Call the `getPhonebook` API method and return the raw JSON envelope.
12029    pub async fn get_phonebook_raw(&self, params: &GetPhonebookParams) -> Result<Value> {
12030        self.call_raw("getPhonebook", params).await
12031    }
12032
12033    /// Call the `getPhonebookGroups` API method and deserialize into [`GetPhonebookGroupsResponse`].
12034    pub async fn get_phonebook_groups(
12035        &self,
12036        params: &GetPhonebookGroupsParams,
12037    ) -> Result<GetPhonebookGroupsResponse> {
12038        self.call("getPhonebookGroups", params).await
12039    }
12040
12041    /// Call the `getPhonebookGroups` API method and return the raw JSON envelope.
12042    pub async fn get_phonebook_groups_raw(
12043        &self,
12044        params: &GetPhonebookGroupsParams,
12045    ) -> Result<Value> {
12046        self.call_raw("getPhonebookGroups", params).await
12047    }
12048
12049    /// Call the `getPlayInstructions` API method and deserialize into [`GetPlayInstructionsResponse`].
12050    pub async fn get_play_instructions(
12051        &self,
12052        params: &GetPlayInstructionsParams,
12053    ) -> Result<GetPlayInstructionsResponse> {
12054        self.call("getPlayInstructions", params).await
12055    }
12056
12057    /// Call the `getPlayInstructions` API method and return the raw JSON envelope.
12058    pub async fn get_play_instructions_raw(
12059        &self,
12060        params: &GetPlayInstructionsParams,
12061    ) -> Result<Value> {
12062        self.call_raw("getPlayInstructions", params).await
12063    }
12064
12065    /// Call the `getPortability` API method and deserialize into [`GetPortabilityResponse`].
12066    pub async fn get_portability(
12067        &self,
12068        params: &GetPortabilityParams,
12069    ) -> Result<GetPortabilityResponse> {
12070        self.call("getPortability", params).await
12071    }
12072
12073    /// Call the `getPortability` API method and return the raw JSON envelope.
12074    pub async fn get_portability_raw(&self, params: &GetPortabilityParams) -> Result<Value> {
12075        self.call_raw("getPortability", params).await
12076    }
12077
12078    /// Call the `getProtocols` API method and deserialize into [`GetProtocolsResponse`].
12079    pub async fn get_protocols(&self, params: &GetProtocolsParams) -> Result<GetProtocolsResponse> {
12080        self.call("getProtocols", params).await
12081    }
12082
12083    /// Call the `getProtocols` API method and return the raw JSON envelope.
12084    pub async fn get_protocols_raw(&self, params: &GetProtocolsParams) -> Result<Value> {
12085        self.call_raw("getProtocols", params).await
12086    }
12087
12088    /// Call the `getProvinces` API method and deserialize into [`GetProvincesResponse`].
12089    pub async fn get_provinces(&self, params: &GetProvincesParams) -> Result<GetProvincesResponse> {
12090        self.call("getProvinces", params).await
12091    }
12092
12093    /// Call the `getProvinces` API method and return the raw JSON envelope.
12094    pub async fn get_provinces_raw(&self, params: &GetProvincesParams) -> Result<Value> {
12095        self.call_raw("getProvinces", params).await
12096    }
12097
12098    /// Call the `getQueues` API method and deserialize into [`GetQueuesResponse`].
12099    pub async fn get_queues(&self, params: &GetQueuesParams) -> Result<GetQueuesResponse> {
12100        self.call("getQueues", params).await
12101    }
12102
12103    /// Call the `getQueues` API method and return the raw JSON envelope.
12104    pub async fn get_queues_raw(&self, params: &GetQueuesParams) -> Result<Value> {
12105        self.call_raw("getQueues", params).await
12106    }
12107
12108    /// Call the `getRateCentersCAN` API method and deserialize into [`GetRateCentersCANResponse`].
12109    pub async fn get_rate_centers_can(
12110        &self,
12111        params: &GetRateCentersCANParams,
12112    ) -> Result<GetRateCentersCANResponse> {
12113        self.call("getRateCentersCAN", params).await
12114    }
12115
12116    /// Call the `getRateCentersCAN` API method and return the raw JSON envelope.
12117    pub async fn get_rate_centers_can_raw(
12118        &self,
12119        params: &GetRateCentersCANParams,
12120    ) -> Result<Value> {
12121        self.call_raw("getRateCentersCAN", params).await
12122    }
12123
12124    /// Call the `getRateCentersUSA` API method and deserialize into [`GetRateCentersUSAResponse`].
12125    pub async fn get_rate_centers_usa(
12126        &self,
12127        params: &GetRateCentersUSAParams,
12128    ) -> Result<GetRateCentersUSAResponse> {
12129        self.call("getRateCentersUSA", params).await
12130    }
12131
12132    /// Call the `getRateCentersUSA` API method and return the raw JSON envelope.
12133    pub async fn get_rate_centers_usa_raw(
12134        &self,
12135        params: &GetRateCentersUSAParams,
12136    ) -> Result<Value> {
12137        self.call_raw("getRateCentersUSA", params).await
12138    }
12139
12140    /// Call the `getRates` API method and deserialize into [`GetRatesResponse`].
12141    pub async fn get_rates(&self, params: &GetRatesParams) -> Result<GetRatesResponse> {
12142        self.call("getRates", params).await
12143    }
12144
12145    /// Call the `getRates` API method and return the raw JSON envelope.
12146    pub async fn get_rates_raw(&self, params: &GetRatesParams) -> Result<Value> {
12147        self.call_raw("getRates", params).await
12148    }
12149
12150    /// Call the `getRecordingFile` API method and deserialize into [`GetRecordingFileResponse`].
12151    pub async fn get_recording_file(
12152        &self,
12153        params: &GetRecordingFileParams,
12154    ) -> Result<GetRecordingFileResponse> {
12155        self.call("getRecordingFile", params).await
12156    }
12157
12158    /// Call the `getRecordingFile` API method and return the raw JSON envelope.
12159    pub async fn get_recording_file_raw(&self, params: &GetRecordingFileParams) -> Result<Value> {
12160        self.call_raw("getRecordingFile", params).await
12161    }
12162
12163    /// Call the `getRecordings` API method and deserialize into [`GetRecordingsResponse`].
12164    pub async fn get_recordings(
12165        &self,
12166        params: &GetRecordingsParams,
12167    ) -> Result<GetRecordingsResponse> {
12168        self.call("getRecordings", params).await
12169    }
12170
12171    /// Call the `getRecordings` API method and return the raw JSON envelope.
12172    pub async fn get_recordings_raw(&self, params: &GetRecordingsParams) -> Result<Value> {
12173        self.call_raw("getRecordings", params).await
12174    }
12175
12176    /// Call the `getRegistrationStatus` API method and deserialize into [`GetRegistrationStatusResponse`].
12177    pub async fn get_registration_status(
12178        &self,
12179        params: &GetRegistrationStatusParams,
12180    ) -> Result<GetRegistrationStatusResponse> {
12181        self.call("getRegistrationStatus", params).await
12182    }
12183
12184    /// Call the `getRegistrationStatus` API method and return the raw JSON envelope.
12185    pub async fn get_registration_status_raw(
12186        &self,
12187        params: &GetRegistrationStatusParams,
12188    ) -> Result<Value> {
12189        self.call_raw("getRegistrationStatus", params).await
12190    }
12191
12192    /// Call the `getReportEstimatedHoldTime` API method and deserialize into [`GetReportEstimatedHoldTimeResponse`].
12193    pub async fn get_report_estimated_hold_time(
12194        &self,
12195        params: &GetReportEstimatedHoldTimeParams,
12196    ) -> Result<GetReportEstimatedHoldTimeResponse> {
12197        self.call("getReportEstimatedHoldTime", params).await
12198    }
12199
12200    /// Call the `getReportEstimatedHoldTime` API method and return the raw JSON envelope.
12201    pub async fn get_report_estimated_hold_time_raw(
12202        &self,
12203        params: &GetReportEstimatedHoldTimeParams,
12204    ) -> Result<Value> {
12205        self.call_raw("getReportEstimatedHoldTime", params).await
12206    }
12207
12208    /// Call the `getResellerBalance` API method and deserialize into [`GetResellerBalanceResponse`].
12209    pub async fn get_reseller_balance(
12210        &self,
12211        params: &GetResellerBalanceParams,
12212    ) -> Result<GetResellerBalanceResponse> {
12213        self.call("getResellerBalance", params).await
12214    }
12215
12216    /// Call the `getResellerBalance` API method and return the raw JSON envelope.
12217    pub async fn get_reseller_balance_raw(
12218        &self,
12219        params: &GetResellerBalanceParams,
12220    ) -> Result<Value> {
12221        self.call_raw("getResellerBalance", params).await
12222    }
12223
12224    /// Call the `getResellerCDR` API method and deserialize into [`GetResellerCDRResponse`].
12225    pub async fn get_reseller_cdr(
12226        &self,
12227        params: &GetResellerCDRParams,
12228    ) -> Result<GetResellerCDRResponse> {
12229        self.call("getResellerCDR", params).await
12230    }
12231
12232    /// Call the `getResellerCDR` API method and return the raw JSON envelope.
12233    pub async fn get_reseller_cdr_raw(&self, params: &GetResellerCDRParams) -> Result<Value> {
12234        self.call_raw("getResellerCDR", params).await
12235    }
12236
12237    /// Call the `getResellerMMS` API method and deserialize into [`GetResellerMMSResponse`].
12238    pub async fn get_reseller_mms(
12239        &self,
12240        params: &GetResellerMMSParams,
12241    ) -> Result<GetResellerMMSResponse> {
12242        self.call("getResellerMMS", params).await
12243    }
12244
12245    /// Call the `getResellerMMS` API method and return the raw JSON envelope.
12246    pub async fn get_reseller_mms_raw(&self, params: &GetResellerMMSParams) -> Result<Value> {
12247        self.call_raw("getResellerMMS", params).await
12248    }
12249
12250    /// Call the `getResellerSMS` API method and deserialize into [`GetResellerSMSResponse`].
12251    pub async fn get_reseller_sms(
12252        &self,
12253        params: &GetResellerSMSParams,
12254    ) -> Result<GetResellerSMSResponse> {
12255        self.call("getResellerSMS", params).await
12256    }
12257
12258    /// Call the `getResellerSMS` API method and return the raw JSON envelope.
12259    pub async fn get_reseller_sms_raw(&self, params: &GetResellerSMSParams) -> Result<Value> {
12260        self.call_raw("getResellerSMS", params).await
12261    }
12262
12263    /// Call the `getRingGroups` API method and deserialize into [`GetRingGroupsResponse`].
12264    pub async fn get_ring_groups(
12265        &self,
12266        params: &GetRingGroupsParams,
12267    ) -> Result<GetRingGroupsResponse> {
12268        self.call("getRingGroups", params).await
12269    }
12270
12271    /// Call the `getRingGroups` API method and return the raw JSON envelope.
12272    pub async fn get_ring_groups_raw(&self, params: &GetRingGroupsParams) -> Result<Value> {
12273        self.call_raw("getRingGroups", params).await
12274    }
12275
12276    /// Call the `getRingStrategies` API method and deserialize into [`GetRingStrategiesResponse`].
12277    pub async fn get_ring_strategies(
12278        &self,
12279        params: &GetRingStrategiesParams,
12280    ) -> Result<GetRingStrategiesResponse> {
12281        self.call("getRingStrategies", params).await
12282    }
12283
12284    /// Call the `getRingStrategies` API method and return the raw JSON envelope.
12285    pub async fn get_ring_strategies_raw(&self, params: &GetRingStrategiesParams) -> Result<Value> {
12286        self.call_raw("getRingStrategies", params).await
12287    }
12288
12289    /// Call the `getRoutes` API method and deserialize into [`GetRoutesResponse`].
12290    pub async fn get_routes(&self, params: &GetRoutesParams) -> Result<GetRoutesResponse> {
12291        self.call("getRoutes", params).await
12292    }
12293
12294    /// Call the `getRoutes` API method and return the raw JSON envelope.
12295    pub async fn get_routes_raw(&self, params: &GetRoutesParams) -> Result<Value> {
12296        self.call_raw("getRoutes", params).await
12297    }
12298
12299    /// Call the `getSIPURIs` API method and deserialize into [`GetSIPURIsResponse`].
12300    pub async fn get_sip_uris(&self, params: &GetSIPURIsParams) -> Result<GetSIPURIsResponse> {
12301        self.call("getSIPURIs", params).await
12302    }
12303
12304    /// Call the `getSIPURIs` API method and return the raw JSON envelope.
12305    pub async fn get_sip_uris_raw(&self, params: &GetSIPURIsParams) -> Result<Value> {
12306        self.call_raw("getSIPURIs", params).await
12307    }
12308
12309    /// Call the `getSMS` API method and deserialize into [`GetSMSResponse`].
12310    pub async fn get_sms(&self, params: &GetSMSParams) -> Result<GetSMSResponse> {
12311        self.call("getSMS", params).await
12312    }
12313
12314    /// Call the `getSMS` API method and return the raw JSON envelope.
12315    pub async fn get_sms_raw(&self, params: &GetSMSParams) -> Result<Value> {
12316        self.call_raw("getSMS", params).await
12317    }
12318
12319    /// Call the `getServersInfo` API method and deserialize into [`GetServersInfoResponse`].
12320    pub async fn get_servers_info(
12321        &self,
12322        params: &GetServersInfoParams,
12323    ) -> Result<GetServersInfoResponse> {
12324        self.call("getServersInfo", params).await
12325    }
12326
12327    /// Call the `getServersInfo` API method and return the raw JSON envelope.
12328    pub async fn get_servers_info_raw(&self, params: &GetServersInfoParams) -> Result<Value> {
12329        self.call_raw("getServersInfo", params).await
12330    }
12331
12332    /// Call the `getStates` API method and deserialize into [`GetStatesResponse`].
12333    pub async fn get_states(&self, params: &GetStatesParams) -> Result<GetStatesResponse> {
12334        self.call("getStates", params).await
12335    }
12336
12337    /// Call the `getStates` API method and return the raw JSON envelope.
12338    pub async fn get_states_raw(&self, params: &GetStatesParams) -> Result<Value> {
12339        self.call_raw("getStates", params).await
12340    }
12341
12342    /// Call the `getStaticMembers` API method and deserialize into [`GetStaticMembersResponse`].
12343    pub async fn get_static_members(
12344        &self,
12345        params: &GetStaticMembersParams,
12346    ) -> Result<GetStaticMembersResponse> {
12347        self.call("getStaticMembers", params).await
12348    }
12349
12350    /// Call the `getStaticMembers` API method and return the raw JSON envelope.
12351    pub async fn get_static_members_raw(&self, params: &GetStaticMembersParams) -> Result<Value> {
12352        self.call_raw("getStaticMembers", params).await
12353    }
12354
12355    /// Call the `getSubAccounts` API method and deserialize into [`GetSubAccountsResponse`].
12356    pub async fn get_sub_accounts(
12357        &self,
12358        params: &GetSubAccountsParams,
12359    ) -> Result<GetSubAccountsResponse> {
12360        self.call("getSubAccounts", params).await
12361    }
12362
12363    /// Call the `getSubAccounts` API method and return the raw JSON envelope.
12364    pub async fn get_sub_accounts_raw(&self, params: &GetSubAccountsParams) -> Result<Value> {
12365        self.call_raw("getSubAccounts", params).await
12366    }
12367
12368    /// Call the `getTerminationRates` API method and deserialize into [`GetTerminationRatesResponse`].
12369    pub async fn get_termination_rates(
12370        &self,
12371        params: &GetTerminationRatesParams,
12372    ) -> Result<GetTerminationRatesResponse> {
12373        self.call("getTerminationRates", params).await
12374    }
12375
12376    /// Call the `getTerminationRates` API method and return the raw JSON envelope.
12377    pub async fn get_termination_rates_raw(
12378        &self,
12379        params: &GetTerminationRatesParams,
12380    ) -> Result<Value> {
12381        self.call_raw("getTerminationRates", params).await
12382    }
12383
12384    /// Call the `getTimeConditions` API method and deserialize into [`GetTimeConditionsResponse`].
12385    pub async fn get_time_conditions(
12386        &self,
12387        params: &GetTimeConditionsParams,
12388    ) -> Result<GetTimeConditionsResponse> {
12389        self.call("getTimeConditions", params).await
12390    }
12391
12392    /// Call the `getTimeConditions` API method and return the raw JSON envelope.
12393    pub async fn get_time_conditions_raw(&self, params: &GetTimeConditionsParams) -> Result<Value> {
12394        self.call_raw("getTimeConditions", params).await
12395    }
12396
12397    /// Call the `getTimezones` API method and deserialize into [`GetTimezonesResponse`].
12398    pub async fn get_timezones(&self, params: &GetTimezonesParams) -> Result<GetTimezonesResponse> {
12399        self.call("getTimezones", params).await
12400    }
12401
12402    /// Call the `getTimezones` API method and return the raw JSON envelope.
12403    pub async fn get_timezones_raw(&self, params: &GetTimezonesParams) -> Result<Value> {
12404        self.call_raw("getTimezones", params).await
12405    }
12406
12407    /// Call the `getTransactionHistory` API method and deserialize into [`GetTransactionHistoryResponse`].
12408    pub async fn get_transaction_history(
12409        &self,
12410        params: &GetTransactionHistoryParams,
12411    ) -> Result<GetTransactionHistoryResponse> {
12412        self.call("getTransactionHistory", params).await
12413    }
12414
12415    /// Call the `getTransactionHistory` API method and return the raw JSON envelope.
12416    pub async fn get_transaction_history_raw(
12417        &self,
12418        params: &GetTransactionHistoryParams,
12419    ) -> Result<Value> {
12420        self.call_raw("getTransactionHistory", params).await
12421    }
12422
12423    /// Call the `getVPRIs` API method and deserialize into [`GetVPRIsResponse`].
12424    pub async fn get_vpris(&self, params: &GetVPRIsParams) -> Result<GetVPRIsResponse> {
12425        self.call("getVPRIs", params).await
12426    }
12427
12428    /// Call the `getVPRIs` API method and return the raw JSON envelope.
12429    pub async fn get_vpris_raw(&self, params: &GetVPRIsParams) -> Result<Value> {
12430        self.call_raw("getVPRIs", params).await
12431    }
12432
12433    /// Call the `getVoicemailAttachmentFormats` API method and deserialize into [`GetVoicemailAttachmentFormatsResponse`].
12434    pub async fn get_voicemail_attachment_formats(
12435        &self,
12436        params: &GetVoicemailAttachmentFormatsParams,
12437    ) -> Result<GetVoicemailAttachmentFormatsResponse> {
12438        self.call("getVoicemailAttachmentFormats", params).await
12439    }
12440
12441    /// Call the `getVoicemailAttachmentFormats` API method and return the raw JSON envelope.
12442    pub async fn get_voicemail_attachment_formats_raw(
12443        &self,
12444        params: &GetVoicemailAttachmentFormatsParams,
12445    ) -> Result<Value> {
12446        self.call_raw("getVoicemailAttachmentFormats", params).await
12447    }
12448
12449    /// Call the `getVoicemailFolders` API method and deserialize into [`GetVoicemailFoldersResponse`].
12450    pub async fn get_voicemail_folders(
12451        &self,
12452        params: &GetVoicemailFoldersParams,
12453    ) -> Result<GetVoicemailFoldersResponse> {
12454        self.call("getVoicemailFolders", params).await
12455    }
12456
12457    /// Call the `getVoicemailFolders` API method and return the raw JSON envelope.
12458    pub async fn get_voicemail_folders_raw(
12459        &self,
12460        params: &GetVoicemailFoldersParams,
12461    ) -> Result<Value> {
12462        self.call_raw("getVoicemailFolders", params).await
12463    }
12464
12465    /// Call the `getVoicemailMessageFile` API method and deserialize into [`GetVoicemailMessageFileResponse`].
12466    pub async fn get_voicemail_message_file(
12467        &self,
12468        params: &GetVoicemailMessageFileParams,
12469    ) -> Result<GetVoicemailMessageFileResponse> {
12470        self.call("getVoicemailMessageFile", params).await
12471    }
12472
12473    /// Call the `getVoicemailMessageFile` API method and return the raw JSON envelope.
12474    pub async fn get_voicemail_message_file_raw(
12475        &self,
12476        params: &GetVoicemailMessageFileParams,
12477    ) -> Result<Value> {
12478        self.call_raw("getVoicemailMessageFile", params).await
12479    }
12480
12481    /// Call the `getVoicemailMessages` API method and deserialize into [`GetVoicemailMessagesResponse`].
12482    pub async fn get_voicemail_messages(
12483        &self,
12484        params: &GetVoicemailMessagesParams,
12485    ) -> Result<GetVoicemailMessagesResponse> {
12486        self.call("getVoicemailMessages", params).await
12487    }
12488
12489    /// Call the `getVoicemailMessages` API method and return the raw JSON envelope.
12490    pub async fn get_voicemail_messages_raw(
12491        &self,
12492        params: &GetVoicemailMessagesParams,
12493    ) -> Result<Value> {
12494        self.call_raw("getVoicemailMessages", params).await
12495    }
12496
12497    /// Call the `getVoicemailSetups` API method and deserialize into [`GetVoicemailSetupsResponse`].
12498    pub async fn get_voicemail_setups(
12499        &self,
12500        params: &GetVoicemailSetupsParams,
12501    ) -> Result<GetVoicemailSetupsResponse> {
12502        self.call("getVoicemailSetups", params).await
12503    }
12504
12505    /// Call the `getVoicemailSetups` API method and return the raw JSON envelope.
12506    pub async fn get_voicemail_setups_raw(
12507        &self,
12508        params: &GetVoicemailSetupsParams,
12509    ) -> Result<Value> {
12510        self.call_raw("getVoicemailSetups", params).await
12511    }
12512
12513    /// Call the `getVoicemailTranscriptions` API method and deserialize into [`GetVoicemailTranscriptionsResponse`].
12514    pub async fn get_voicemail_transcriptions(
12515        &self,
12516        params: &GetVoicemailTranscriptionsParams,
12517    ) -> Result<GetVoicemailTranscriptionsResponse> {
12518        self.call("getVoicemailTranscriptions", params).await
12519    }
12520
12521    /// Call the `getVoicemailTranscriptions` API method and return the raw JSON envelope.
12522    pub async fn get_voicemail_transcriptions_raw(
12523        &self,
12524        params: &GetVoicemailTranscriptionsParams,
12525    ) -> Result<Value> {
12526        self.call_raw("getVoicemailTranscriptions", params).await
12527    }
12528
12529    /// Call the `getVoicemails` API method and deserialize into [`GetVoicemailsResponse`].
12530    pub async fn get_voicemails(
12531        &self,
12532        params: &GetVoicemailsParams,
12533    ) -> Result<GetVoicemailsResponse> {
12534        self.call("getVoicemails", params).await
12535    }
12536
12537    /// Call the `getVoicemails` API method and return the raw JSON envelope.
12538    pub async fn get_voicemails_raw(&self, params: &GetVoicemailsParams) -> Result<Value> {
12539        self.call_raw("getVoicemails", params).await
12540    }
12541
12542    /// Call the `mailFaxMessagePDF` API method and deserialize into [`MailFAXMessagePDFResponse`].
12543    pub async fn mail_fax_message_pdf(
12544        &self,
12545        params: &MailFAXMessagePDFParams,
12546    ) -> Result<MailFAXMessagePDFResponse> {
12547        self.call("mailFaxMessagePDF", params).await
12548    }
12549
12550    /// Call the `mailFaxMessagePDF` API method and return the raw JSON envelope.
12551    pub async fn mail_fax_message_pdf_raw(
12552        &self,
12553        params: &MailFAXMessagePDFParams,
12554    ) -> Result<Value> {
12555        self.call_raw("mailFaxMessagePDF", params).await
12556    }
12557
12558    /// Call the `markListenedVoicemailMessage` API method and deserialize into [`MarkListenedVoicemailMessageResponse`].
12559    pub async fn mark_listened_voicemail_message(
12560        &self,
12561        params: &MarkListenedVoicemailMessageParams,
12562    ) -> Result<MarkListenedVoicemailMessageResponse> {
12563        self.call("markListenedVoicemailMessage", params).await
12564    }
12565
12566    /// Call the `markListenedVoicemailMessage` API method and return the raw JSON envelope.
12567    pub async fn mark_listened_voicemail_message_raw(
12568        &self,
12569        params: &MarkListenedVoicemailMessageParams,
12570    ) -> Result<Value> {
12571        self.call_raw("markListenedVoicemailMessage", params).await
12572    }
12573
12574    /// Call the `markUrgentVoicemailMessage` API method and deserialize into [`MarkUrgentVoicemailMessageResponse`].
12575    pub async fn mark_urgent_voicemail_message(
12576        &self,
12577        params: &MarkUrgentVoicemailMessageParams,
12578    ) -> Result<MarkUrgentVoicemailMessageResponse> {
12579        self.call("markUrgentVoicemailMessage", params).await
12580    }
12581
12582    /// Call the `markUrgentVoicemailMessage` API method and return the raw JSON envelope.
12583    pub async fn mark_urgent_voicemail_message_raw(
12584        &self,
12585        params: &MarkUrgentVoicemailMessageParams,
12586    ) -> Result<Value> {
12587        self.call_raw("markUrgentVoicemailMessage", params).await
12588    }
12589
12590    /// Call the `moveFaxMessage` API method and deserialize into [`MoveFAXMessageResponse`].
12591    pub async fn move_fax_message(
12592        &self,
12593        params: &MoveFAXMessageParams,
12594    ) -> Result<MoveFAXMessageResponse> {
12595        self.call("moveFaxMessage", params).await
12596    }
12597
12598    /// Call the `moveFaxMessage` API method and return the raw JSON envelope.
12599    pub async fn move_fax_message_raw(&self, params: &MoveFAXMessageParams) -> Result<Value> {
12600        self.call_raw("moveFaxMessage", params).await
12601    }
12602
12603    /// Call the `moveFolderVoicemailMessage` API method and deserialize into [`MoveFolderVoicemailMessageResponse`].
12604    pub async fn move_folder_voicemail_message(
12605        &self,
12606        params: &MoveFolderVoicemailMessageParams,
12607    ) -> Result<MoveFolderVoicemailMessageResponse> {
12608        self.call("moveFolderVoicemailMessage", params).await
12609    }
12610
12611    /// Call the `moveFolderVoicemailMessage` API method and return the raw JSON envelope.
12612    pub async fn move_folder_voicemail_message_raw(
12613        &self,
12614        params: &MoveFolderVoicemailMessageParams,
12615    ) -> Result<Value> {
12616        self.call_raw("moveFolderVoicemailMessage", params).await
12617    }
12618
12619    /// Call the `orderDID` API method and deserialize into [`OrderDIDResponse`].
12620    pub async fn order_did(&self, params: &OrderDIDParams) -> Result<OrderDIDResponse> {
12621        self.call("orderDID", params).await
12622    }
12623
12624    /// Call the `orderDID` API method and return the raw JSON envelope.
12625    pub async fn order_did_raw(&self, params: &OrderDIDParams) -> Result<Value> {
12626        self.call_raw("orderDID", params).await
12627    }
12628
12629    /// Call the `orderDIDInternationalGeographic` API method and deserialize into [`OrderDIDInternationalGeographicResponse`].
12630    pub async fn order_did_international_geographic(
12631        &self,
12632        params: &OrderDIDInternationalGeographicParams,
12633    ) -> Result<OrderDIDInternationalGeographicResponse> {
12634        self.call("orderDIDInternationalGeographic", params).await
12635    }
12636
12637    /// Call the `orderDIDInternationalGeographic` API method and return the raw JSON envelope.
12638    pub async fn order_did_international_geographic_raw(
12639        &self,
12640        params: &OrderDIDInternationalGeographicParams,
12641    ) -> Result<Value> {
12642        self.call_raw("orderDIDInternationalGeographic", params)
12643            .await
12644    }
12645
12646    /// Call the `orderDIDInternationalNational` API method and deserialize into [`OrderDIDInternationalNationalResponse`].
12647    pub async fn order_did_international_national(
12648        &self,
12649        params: &OrderDIDInternationalNationalParams,
12650    ) -> Result<OrderDIDInternationalNationalResponse> {
12651        self.call("orderDIDInternationalNational", params).await
12652    }
12653
12654    /// Call the `orderDIDInternationalNational` API method and return the raw JSON envelope.
12655    pub async fn order_did_international_national_raw(
12656        &self,
12657        params: &OrderDIDInternationalNationalParams,
12658    ) -> Result<Value> {
12659        self.call_raw("orderDIDInternationalNational", params).await
12660    }
12661
12662    /// Call the `orderDIDInternationalTollFree` API method and deserialize into [`OrderDIDInternationalTollFreeResponse`].
12663    pub async fn order_did_international_toll_free(
12664        &self,
12665        params: &OrderDIDInternationalTollFreeParams,
12666    ) -> Result<OrderDIDInternationalTollFreeResponse> {
12667        self.call("orderDIDInternationalTollFree", params).await
12668    }
12669
12670    /// Call the `orderDIDInternationalTollFree` API method and return the raw JSON envelope.
12671    pub async fn order_did_international_toll_free_raw(
12672        &self,
12673        params: &OrderDIDInternationalTollFreeParams,
12674    ) -> Result<Value> {
12675        self.call_raw("orderDIDInternationalTollFree", params).await
12676    }
12677
12678    /// Call the `orderDIDVirtual` API method and deserialize into [`OrderDIDVirtualResponse`].
12679    pub async fn order_did_virtual(
12680        &self,
12681        params: &OrderDIDVirtualParams,
12682    ) -> Result<OrderDIDVirtualResponse> {
12683        self.call("orderDIDVirtual", params).await
12684    }
12685
12686    /// Call the `orderDIDVirtual` API method and return the raw JSON envelope.
12687    pub async fn order_did_virtual_raw(&self, params: &OrderDIDVirtualParams) -> Result<Value> {
12688        self.call_raw("orderDIDVirtual", params).await
12689    }
12690
12691    /// Call the `orderFaxNumber` API method and deserialize into [`OrderFAXNumberResponse`].
12692    pub async fn order_fax_number(
12693        &self,
12694        params: &OrderFAXNumberParams,
12695    ) -> Result<OrderFAXNumberResponse> {
12696        self.call("orderFaxNumber", params).await
12697    }
12698
12699    /// Call the `orderFaxNumber` API method and return the raw JSON envelope.
12700    pub async fn order_fax_number_raw(&self, params: &OrderFAXNumberParams) -> Result<Value> {
12701        self.call_raw("orderFaxNumber", params).await
12702    }
12703
12704    /// Call the `orderTollFree` API method and deserialize into [`OrderTollFreeResponse`].
12705    pub async fn order_toll_free(
12706        &self,
12707        params: &OrderTollFreeParams,
12708    ) -> Result<OrderTollFreeResponse> {
12709        self.call("orderTollFree", params).await
12710    }
12711
12712    /// Call the `orderTollFree` API method and return the raw JSON envelope.
12713    pub async fn order_toll_free_raw(&self, params: &OrderTollFreeParams) -> Result<Value> {
12714        self.call_raw("orderTollFree", params).await
12715    }
12716
12717    /// Call the `orderVanity` API method and deserialize into [`OrderVanityResponse`].
12718    pub async fn order_vanity(&self, params: &OrderVanityParams) -> Result<OrderVanityResponse> {
12719        self.call("orderVanity", params).await
12720    }
12721
12722    /// Call the `orderVanity` API method and return the raw JSON envelope.
12723    pub async fn order_vanity_raw(&self, params: &OrderVanityParams) -> Result<Value> {
12724        self.call_raw("orderVanity", params).await
12725    }
12726
12727    /// Call the `removeDIDvPRI` API method and deserialize into [`RemoveDIDvPRIResponse`].
12728    pub async fn remove_did_vpri(
12729        &self,
12730        params: &RemoveDIDvPRIParams,
12731    ) -> Result<RemoveDIDvPRIResponse> {
12732        self.call("removeDIDvPRI", params).await
12733    }
12734
12735    /// Call the `removeDIDvPRI` API method and return the raw JSON envelope.
12736    pub async fn remove_did_vpri_raw(&self, params: &RemoveDIDvPRIParams) -> Result<Value> {
12737        self.call_raw("removeDIDvPRI", params).await
12738    }
12739
12740    /// Call the `searchDIDsCAN` API method and deserialize into [`SearchDIDsCANResponse`].
12741    pub async fn search_dids_can(
12742        &self,
12743        params: &SearchDIDsCANParams,
12744    ) -> Result<SearchDIDsCANResponse> {
12745        self.call("searchDIDsCAN", params).await
12746    }
12747
12748    /// Call the `searchDIDsCAN` API method and return the raw JSON envelope.
12749    pub async fn search_dids_can_raw(&self, params: &SearchDIDsCANParams) -> Result<Value> {
12750        self.call_raw("searchDIDsCAN", params).await
12751    }
12752
12753    /// Call the `searchDIDsUSA` API method and deserialize into [`SearchDIDsUSAResponse`].
12754    pub async fn search_dids_usa(
12755        &self,
12756        params: &SearchDIDsUSAParams,
12757    ) -> Result<SearchDIDsUSAResponse> {
12758        self.call("searchDIDsUSA", params).await
12759    }
12760
12761    /// Call the `searchDIDsUSA` API method and return the raw JSON envelope.
12762    pub async fn search_dids_usa_raw(&self, params: &SearchDIDsUSAParams) -> Result<Value> {
12763        self.call_raw("searchDIDsUSA", params).await
12764    }
12765
12766    /// Call the `searchFaxAreaCodeCAN` API method and deserialize into [`SearchFAXAreaCodeCANResponse`].
12767    pub async fn search_fax_area_code_can(
12768        &self,
12769        params: &SearchFAXAreaCodeCANParams,
12770    ) -> Result<SearchFAXAreaCodeCANResponse> {
12771        self.call("searchFaxAreaCodeCAN", params).await
12772    }
12773
12774    /// Call the `searchFaxAreaCodeCAN` API method and return the raw JSON envelope.
12775    pub async fn search_fax_area_code_can_raw(
12776        &self,
12777        params: &SearchFAXAreaCodeCANParams,
12778    ) -> Result<Value> {
12779        self.call_raw("searchFaxAreaCodeCAN", params).await
12780    }
12781
12782    /// Call the `searchFaxAreaCodeUSA` API method and deserialize into [`SearchFAXAreaCodeUSAResponse`].
12783    pub async fn search_fax_area_code_usa(
12784        &self,
12785        params: &SearchFAXAreaCodeUSAParams,
12786    ) -> Result<SearchFAXAreaCodeUSAResponse> {
12787        self.call("searchFaxAreaCodeUSA", params).await
12788    }
12789
12790    /// Call the `searchFaxAreaCodeUSA` API method and return the raw JSON envelope.
12791    pub async fn search_fax_area_code_usa_raw(
12792        &self,
12793        params: &SearchFAXAreaCodeUSAParams,
12794    ) -> Result<Value> {
12795        self.call_raw("searchFaxAreaCodeUSA", params).await
12796    }
12797
12798    /// Call the `searchTollFreeCanUS` API method and deserialize into [`SearchTollFreeCANUSResponse`].
12799    pub async fn search_toll_free_can_us(
12800        &self,
12801        params: &SearchTollFreeCANUSParams,
12802    ) -> Result<SearchTollFreeCANUSResponse> {
12803        self.call("searchTollFreeCanUS", params).await
12804    }
12805
12806    /// Call the `searchTollFreeCanUS` API method and return the raw JSON envelope.
12807    pub async fn search_toll_free_can_us_raw(
12808        &self,
12809        params: &SearchTollFreeCANUSParams,
12810    ) -> Result<Value> {
12811        self.call_raw("searchTollFreeCanUS", params).await
12812    }
12813
12814    /// Call the `searchTollFreeUSA` API method and deserialize into [`SearchTollFreeUSAResponse`].
12815    pub async fn search_toll_free_usa(
12816        &self,
12817        params: &SearchTollFreeUSAParams,
12818    ) -> Result<SearchTollFreeUSAResponse> {
12819        self.call("searchTollFreeUSA", params).await
12820    }
12821
12822    /// Call the `searchTollFreeUSA` API method and return the raw JSON envelope.
12823    pub async fn search_toll_free_usa_raw(
12824        &self,
12825        params: &SearchTollFreeUSAParams,
12826    ) -> Result<Value> {
12827        self.call_raw("searchTollFreeUSA", params).await
12828    }
12829
12830    /// Call the `searchVanity` API method and deserialize into [`SearchVanityResponse`].
12831    pub async fn search_vanity(&self, params: &SearchVanityParams) -> Result<SearchVanityResponse> {
12832        self.call("searchVanity", params).await
12833    }
12834
12835    /// Call the `searchVanity` API method and return the raw JSON envelope.
12836    pub async fn search_vanity_raw(&self, params: &SearchVanityParams) -> Result<Value> {
12837        self.call_raw("searchVanity", params).await
12838    }
12839
12840    /// Call the `sendCallRecordingEmail` API method and deserialize into [`SendCallRecordingEmailResponse`].
12841    pub async fn send_call_recording_email(
12842        &self,
12843        params: &SendCallRecordingEmailParams,
12844    ) -> Result<SendCallRecordingEmailResponse> {
12845        self.call("sendCallRecordingEmail", params).await
12846    }
12847
12848    /// Call the `sendCallRecordingEmail` API method and return the raw JSON envelope.
12849    pub async fn send_call_recording_email_raw(
12850        &self,
12851        params: &SendCallRecordingEmailParams,
12852    ) -> Result<Value> {
12853        self.call_raw("sendCallRecordingEmail", params).await
12854    }
12855
12856    /// Call the `sendFaxMessage` API method and deserialize into [`SendFAXMessageResponse`].
12857    pub async fn send_fax_message(
12858        &self,
12859        params: &SendFAXMessageParams,
12860    ) -> Result<SendFAXMessageResponse> {
12861        self.call("sendFaxMessage", params).await
12862    }
12863
12864    /// Call the `sendFaxMessage` API method and return the raw JSON envelope.
12865    pub async fn send_fax_message_raw(&self, params: &SendFAXMessageParams) -> Result<Value> {
12866        self.call_raw("sendFaxMessage", params).await
12867    }
12868
12869    /// Call the `sendMMS` API method and deserialize into [`SendMMSResponse`].
12870    pub async fn send_mms(&self, params: &SendMMSParams) -> Result<SendMMSResponse> {
12871        self.call("sendMMS", params).await
12872    }
12873
12874    /// Call the `sendMMS` API method and return the raw JSON envelope.
12875    pub async fn send_mms_raw(&self, params: &SendMMSParams) -> Result<Value> {
12876        self.call_raw("sendMMS", params).await
12877    }
12878
12879    /// Call the `sendSMS` API method and deserialize into [`SendSMSResponse`].
12880    pub async fn send_sms(&self, params: &SendSMSParams) -> Result<SendSMSResponse> {
12881        self.call("sendSMS", params).await
12882    }
12883
12884    /// Call the `sendSMS` API method and return the raw JSON envelope.
12885    pub async fn send_sms_raw(&self, params: &SendSMSParams) -> Result<Value> {
12886        self.call_raw("sendSMS", params).await
12887    }
12888
12889    /// Call the `sendVoicemailEmail` API method and deserialize into [`SendVoicemailEmailResponse`].
12890    pub async fn send_voicemail_email(
12891        &self,
12892        params: &SendVoicemailEmailParams,
12893    ) -> Result<SendVoicemailEmailResponse> {
12894        self.call("sendVoicemailEmail", params).await
12895    }
12896
12897    /// Call the `sendVoicemailEmail` API method and return the raw JSON envelope.
12898    pub async fn send_voicemail_email_raw(
12899        &self,
12900        params: &SendVoicemailEmailParams,
12901    ) -> Result<Value> {
12902        self.call_raw("sendVoicemailEmail", params).await
12903    }
12904
12905    /// Call the `setCallHunting` API method and deserialize into [`SetCallHuntingResponse`].
12906    pub async fn set_call_hunting(
12907        &self,
12908        params: &SetCallHuntingParams,
12909    ) -> Result<SetCallHuntingResponse> {
12910        self.call("setCallHunting", params).await
12911    }
12912
12913    /// Call the `setCallHunting` API method and return the raw JSON envelope.
12914    pub async fn set_call_hunting_raw(&self, params: &SetCallHuntingParams) -> Result<Value> {
12915        self.call_raw("setCallHunting", params).await
12916    }
12917
12918    /// Call the `setCallParking` API method and deserialize into [`SetCallParkingResponse`].
12919    pub async fn set_call_parking(
12920        &self,
12921        params: &SetCallParkingParams,
12922    ) -> Result<SetCallParkingResponse> {
12923        self.call("setCallParking", params).await
12924    }
12925
12926    /// Call the `setCallParking` API method and return the raw JSON envelope.
12927    pub async fn set_call_parking_raw(&self, params: &SetCallParkingParams) -> Result<Value> {
12928        self.call_raw("setCallParking", params).await
12929    }
12930
12931    /// Call the `setCallback` API method and deserialize into [`SetCallbackResponse`].
12932    pub async fn set_callback(&self, params: &SetCallbackParams) -> Result<SetCallbackResponse> {
12933        self.call("setCallback", params).await
12934    }
12935
12936    /// Call the `setCallback` API method and return the raw JSON envelope.
12937    pub async fn set_callback_raw(&self, params: &SetCallbackParams) -> Result<Value> {
12938        self.call_raw("setCallback", params).await
12939    }
12940
12941    /// Call the `setCallerIDFiltering` API method and deserialize into [`SetCallerIDFilteringResponse`].
12942    pub async fn set_caller_id_filtering(
12943        &self,
12944        params: &SetCallerIDFilteringParams,
12945    ) -> Result<SetCallerIDFilteringResponse> {
12946        self.call("setCallerIDFiltering", params).await
12947    }
12948
12949    /// Call the `setCallerIDFiltering` API method and return the raw JSON envelope.
12950    pub async fn set_caller_id_filtering_raw(
12951        &self,
12952        params: &SetCallerIDFilteringParams,
12953    ) -> Result<Value> {
12954        self.call_raw("setCallerIDFiltering", params).await
12955    }
12956
12957    /// Call the `setClient` API method and deserialize into [`SetClientResponse`].
12958    pub async fn set_client(&self, params: &SetClientParams) -> Result<SetClientResponse> {
12959        self.call("setClient", params).await
12960    }
12961
12962    /// Call the `setClient` API method and return the raw JSON envelope.
12963    pub async fn set_client_raw(&self, params: &SetClientParams) -> Result<Value> {
12964        self.call_raw("setClient", params).await
12965    }
12966
12967    /// Call the `setClientThreshold` API method and deserialize into [`SetClientThresholdResponse`].
12968    pub async fn set_client_threshold(
12969        &self,
12970        params: &SetClientThresholdParams,
12971    ) -> Result<SetClientThresholdResponse> {
12972        self.call("setClientThreshold", params).await
12973    }
12974
12975    /// Call the `setClientThreshold` API method and return the raw JSON envelope.
12976    pub async fn set_client_threshold_raw(
12977        &self,
12978        params: &SetClientThresholdParams,
12979    ) -> Result<Value> {
12980        self.call_raw("setClientThreshold", params).await
12981    }
12982
12983    /// Call the `setConference` API method and deserialize into [`SetConferenceResponse`].
12984    pub async fn set_conference(
12985        &self,
12986        params: &SetConferenceParams,
12987    ) -> Result<SetConferenceResponse> {
12988        self.call("setConference", params).await
12989    }
12990
12991    /// Call the `setConference` API method and return the raw JSON envelope.
12992    pub async fn set_conference_raw(&self, params: &SetConferenceParams) -> Result<Value> {
12993        self.call_raw("setConference", params).await
12994    }
12995
12996    /// Call the `setConferenceMember` API method and deserialize into [`SetConferenceMemberResponse`].
12997    pub async fn set_conference_member(
12998        &self,
12999        params: &SetConferenceMemberParams,
13000    ) -> Result<SetConferenceMemberResponse> {
13001        self.call("setConferenceMember", params).await
13002    }
13003
13004    /// Call the `setConferenceMember` API method and return the raw JSON envelope.
13005    pub async fn set_conference_member_raw(
13006        &self,
13007        params: &SetConferenceMemberParams,
13008    ) -> Result<Value> {
13009        self.call_raw("setConferenceMember", params).await
13010    }
13011
13012    /// Call the `setDIDBillingType` API method and deserialize into [`SetDIDBillingTypeResponse`].
13013    pub async fn set_did_billing_type(
13014        &self,
13015        params: &SetDIDBillingTypeParams,
13016    ) -> Result<SetDIDBillingTypeResponse> {
13017        self.call("setDIDBillingType", params).await
13018    }
13019
13020    /// Call the `setDIDBillingType` API method and return the raw JSON envelope.
13021    pub async fn set_did_billing_type_raw(
13022        &self,
13023        params: &SetDIDBillingTypeParams,
13024    ) -> Result<Value> {
13025        self.call_raw("setDIDBillingType", params).await
13026    }
13027
13028    /// Call the `setDIDInfo` API method and deserialize into [`SetDIDInfoResponse`].
13029    pub async fn set_did_info(&self, params: &SetDIDInfoParams) -> Result<SetDIDInfoResponse> {
13030        self.call("setDIDInfo", params).await
13031    }
13032
13033    /// Call the `setDIDInfo` API method and return the raw JSON envelope.
13034    pub async fn set_did_info_raw(&self, params: &SetDIDInfoParams) -> Result<Value> {
13035        self.call_raw("setDIDInfo", params).await
13036    }
13037
13038    /// Call the `setDIDPOP` API method and deserialize into [`SetDIDPOPResponse`].
13039    pub async fn set_did_pop(&self, params: &SetDIDPOPParams) -> Result<SetDIDPOPResponse> {
13040        self.call("setDIDPOP", params).await
13041    }
13042
13043    /// Call the `setDIDPOP` API method and return the raw JSON envelope.
13044    pub async fn set_did_pop_raw(&self, params: &SetDIDPOPParams) -> Result<Value> {
13045        self.call_raw("setDIDPOP", params).await
13046    }
13047
13048    /// Call the `setDIDRouting` API method and deserialize into [`SetDIDRoutingResponse`].
13049    pub async fn set_did_routing(
13050        &self,
13051        params: &SetDIDRoutingParams,
13052    ) -> Result<SetDIDRoutingResponse> {
13053        self.call("setDIDRouting", params).await
13054    }
13055
13056    /// Call the `setDIDRouting` API method and return the raw JSON envelope.
13057    pub async fn set_did_routing_raw(&self, params: &SetDIDRoutingParams) -> Result<Value> {
13058        self.call_raw("setDIDRouting", params).await
13059    }
13060
13061    /// Call the `setDIDVoicemail` API method and deserialize into [`SetDIDVoicemailResponse`].
13062    pub async fn set_did_voicemail(
13063        &self,
13064        params: &SetDIDVoicemailParams,
13065    ) -> Result<SetDIDVoicemailResponse> {
13066        self.call("setDIDVoicemail", params).await
13067    }
13068
13069    /// Call the `setDIDVoicemail` API method and return the raw JSON envelope.
13070    pub async fn set_did_voicemail_raw(&self, params: &SetDIDVoicemailParams) -> Result<Value> {
13071        self.call_raw("setDIDVoicemail", params).await
13072    }
13073
13074    /// Call the `setDISA` API method and deserialize into [`SetDISAResponse`].
13075    pub async fn set_disa(&self, params: &SetDISAParams) -> Result<SetDISAResponse> {
13076        self.call("setDISA", params).await
13077    }
13078
13079    /// Call the `setDISA` API method and return the raw JSON envelope.
13080    pub async fn set_disa_raw(&self, params: &SetDISAParams) -> Result<Value> {
13081        self.call_raw("setDISA", params).await
13082    }
13083
13084    /// Call the `setEmailToFax` API method and deserialize into [`SetEmailToFAXResponse`].
13085    pub async fn set_email_to_fax(
13086        &self,
13087        params: &SetEmailToFAXParams,
13088    ) -> Result<SetEmailToFAXResponse> {
13089        self.call("setEmailToFax", params).await
13090    }
13091
13092    /// Call the `setEmailToFax` API method and return the raw JSON envelope.
13093    pub async fn set_email_to_fax_raw(&self, params: &SetEmailToFAXParams) -> Result<Value> {
13094        self.call_raw("setEmailToFax", params).await
13095    }
13096
13097    /// Call the `setFaxFolder` API method and deserialize into [`SetFAXFolderResponse`].
13098    pub async fn set_fax_folder(
13099        &self,
13100        params: &SetFAXFolderParams,
13101    ) -> Result<SetFAXFolderResponse> {
13102        self.call("setFaxFolder", params).await
13103    }
13104
13105    /// Call the `setFaxFolder` API method and return the raw JSON envelope.
13106    pub async fn set_fax_folder_raw(&self, params: &SetFAXFolderParams) -> Result<Value> {
13107        self.call_raw("setFaxFolder", params).await
13108    }
13109
13110    /// Call the `setFaxNumberEmail` API method and deserialize into [`SetFAXNumberEmailResponse`].
13111    pub async fn set_fax_number_email(
13112        &self,
13113        params: &SetFAXNumberEmailParams,
13114    ) -> Result<SetFAXNumberEmailResponse> {
13115        self.call("setFaxNumberEmail", params).await
13116    }
13117
13118    /// Call the `setFaxNumberEmail` API method and return the raw JSON envelope.
13119    pub async fn set_fax_number_email_raw(
13120        &self,
13121        params: &SetFAXNumberEmailParams,
13122    ) -> Result<Value> {
13123        self.call_raw("setFaxNumberEmail", params).await
13124    }
13125
13126    /// Call the `setFaxNumberInfo` API method and deserialize into [`SetFAXNumberInfoResponse`].
13127    pub async fn set_fax_number_info(
13128        &self,
13129        params: &SetFAXNumberInfoParams,
13130    ) -> Result<SetFAXNumberInfoResponse> {
13131        self.call("setFaxNumberInfo", params).await
13132    }
13133
13134    /// Call the `setFaxNumberInfo` API method and return the raw JSON envelope.
13135    pub async fn set_fax_number_info_raw(&self, params: &SetFAXNumberInfoParams) -> Result<Value> {
13136        self.call_raw("setFaxNumberInfo", params).await
13137    }
13138
13139    /// Call the `setFaxNumberURLCallback` API method and deserialize into [`SetFAXNumberURLCallbackResponse`].
13140    pub async fn set_fax_number_url_callback(
13141        &self,
13142        params: &SetFAXNumberURLCallbackParams,
13143    ) -> Result<SetFAXNumberURLCallbackResponse> {
13144        self.call("setFaxNumberURLCallback", params).await
13145    }
13146
13147    /// Call the `setFaxNumberURLCallback` API method and return the raw JSON envelope.
13148    pub async fn set_fax_number_url_callback_raw(
13149        &self,
13150        params: &SetFAXNumberURLCallbackParams,
13151    ) -> Result<Value> {
13152        self.call_raw("setFaxNumberURLCallback", params).await
13153    }
13154
13155    /// Call the `setForwarding` API method and deserialize into [`SetForwardingResponse`].
13156    pub async fn set_forwarding(
13157        &self,
13158        params: &SetForwardingParams,
13159    ) -> Result<SetForwardingResponse> {
13160        self.call("setForwarding", params).await
13161    }
13162
13163    /// Call the `setForwarding` API method and return the raw JSON envelope.
13164    pub async fn set_forwarding_raw(&self, params: &SetForwardingParams) -> Result<Value> {
13165        self.call_raw("setForwarding", params).await
13166    }
13167
13168    /// Call the `setIVR` API method and deserialize into [`SetIVRResponse`].
13169    pub async fn set_ivr(&self, params: &SetIVRParams) -> Result<SetIVRResponse> {
13170        self.call("setIVR", params).await
13171    }
13172
13173    /// Call the `setIVR` API method and return the raw JSON envelope.
13174    pub async fn set_ivr_raw(&self, params: &SetIVRParams) -> Result<Value> {
13175        self.call_raw("setIVR", params).await
13176    }
13177
13178    /// Call the `setLocation` API method and deserialize into [`SetLocationResponse`].
13179    pub async fn set_location(&self, params: &SetLocationParams) -> Result<SetLocationResponse> {
13180        self.call("setLocation", params).await
13181    }
13182
13183    /// Call the `setLocation` API method and return the raw JSON envelope.
13184    pub async fn set_location_raw(&self, params: &SetLocationParams) -> Result<Value> {
13185        self.call_raw("setLocation", params).await
13186    }
13187
13188    /// Call the `setMusicOnHold` API method and deserialize into [`SetMusicOnHoldResponse`].
13189    pub async fn set_music_on_hold(
13190        &self,
13191        params: &SetMusicOnHoldParams,
13192    ) -> Result<SetMusicOnHoldResponse> {
13193        self.call("setMusicOnHold", params).await
13194    }
13195
13196    /// Call the `setMusicOnHold` API method and return the raw JSON envelope.
13197    pub async fn set_music_on_hold_raw(&self, params: &SetMusicOnHoldParams) -> Result<Value> {
13198        self.call_raw("setMusicOnHold", params).await
13199    }
13200
13201    /// Call the `setPhonebook` API method and deserialize into [`SetPhonebookResponse`].
13202    pub async fn set_phonebook(&self, params: &SetPhonebookParams) -> Result<SetPhonebookResponse> {
13203        self.call("setPhonebook", params).await
13204    }
13205
13206    /// Call the `setPhonebook` API method and return the raw JSON envelope.
13207    pub async fn set_phonebook_raw(&self, params: &SetPhonebookParams) -> Result<Value> {
13208        self.call_raw("setPhonebook", params).await
13209    }
13210
13211    /// Call the `setPhonebookGroup` API method and deserialize into [`SetPhonebookGroupResponse`].
13212    pub async fn set_phonebook_group(
13213        &self,
13214        params: &SetPhonebookGroupParams,
13215    ) -> Result<SetPhonebookGroupResponse> {
13216        self.call("setPhonebookGroup", params).await
13217    }
13218
13219    /// Call the `setPhonebookGroup` API method and return the raw JSON envelope.
13220    pub async fn set_phonebook_group_raw(&self, params: &SetPhonebookGroupParams) -> Result<Value> {
13221        self.call_raw("setPhonebookGroup", params).await
13222    }
13223
13224    /// Call the `setQueue` API method and deserialize into [`SetQueueResponse`].
13225    pub async fn set_queue(&self, params: &SetQueueParams) -> Result<SetQueueResponse> {
13226        self.call("setQueue", params).await
13227    }
13228
13229    /// Call the `setQueue` API method and return the raw JSON envelope.
13230    pub async fn set_queue_raw(&self, params: &SetQueueParams) -> Result<Value> {
13231        self.call_raw("setQueue", params).await
13232    }
13233
13234    /// Call the `setRecording` API method and deserialize into [`SetRecordingResponse`].
13235    pub async fn set_recording(&self, params: &SetRecordingParams) -> Result<SetRecordingResponse> {
13236        self.call("setRecording", params).await
13237    }
13238
13239    /// Call the `setRecording` API method and return the raw JSON envelope.
13240    pub async fn set_recording_raw(&self, params: &SetRecordingParams) -> Result<Value> {
13241        self.call_raw("setRecording", params).await
13242    }
13243
13244    /// Call the `setRingGroup` API method and deserialize into [`SetRingGroupResponse`].
13245    pub async fn set_ring_group(
13246        &self,
13247        params: &SetRingGroupParams,
13248    ) -> Result<SetRingGroupResponse> {
13249        self.call("setRingGroup", params).await
13250    }
13251
13252    /// Call the `setRingGroup` API method and return the raw JSON envelope.
13253    pub async fn set_ring_group_raw(&self, params: &SetRingGroupParams) -> Result<Value> {
13254        self.call_raw("setRingGroup", params).await
13255    }
13256
13257    /// Call the `setSIPURI` API method and deserialize into [`SetSIPURIResponse`].
13258    pub async fn set_sip_uri(&self, params: &SetSIPURIParams) -> Result<SetSIPURIResponse> {
13259        self.call("setSIPURI", params).await
13260    }
13261
13262    /// Call the `setSIPURI` API method and return the raw JSON envelope.
13263    pub async fn set_sip_uri_raw(&self, params: &SetSIPURIParams) -> Result<Value> {
13264        self.call_raw("setSIPURI", params).await
13265    }
13266
13267    /// Call the `setSMS` API method and deserialize into [`SetSMSResponse`].
13268    pub async fn set_sms(&self, params: &SetSMSParams) -> Result<SetSMSResponse> {
13269        self.call("setSMS", params).await
13270    }
13271
13272    /// Call the `setSMS` API method and return the raw JSON envelope.
13273    pub async fn set_sms_raw(&self, params: &SetSMSParams) -> Result<Value> {
13274        self.call_raw("setSMS", params).await
13275    }
13276
13277    /// Call the `setStaticMember` API method and deserialize into [`SetStaticMemberResponse`].
13278    pub async fn set_static_member(
13279        &self,
13280        params: &SetStaticMemberParams,
13281    ) -> Result<SetStaticMemberResponse> {
13282        self.call("setStaticMember", params).await
13283    }
13284
13285    /// Call the `setStaticMember` API method and return the raw JSON envelope.
13286    pub async fn set_static_member_raw(&self, params: &SetStaticMemberParams) -> Result<Value> {
13287        self.call_raw("setStaticMember", params).await
13288    }
13289
13290    /// Call the `setSubAccount` API method and deserialize into [`SetSubAccountResponse`].
13291    pub async fn set_sub_account(
13292        &self,
13293        params: &SetSubAccountParams,
13294    ) -> Result<SetSubAccountResponse> {
13295        self.call("setSubAccount", params).await
13296    }
13297
13298    /// Call the `setSubAccount` API method and return the raw JSON envelope.
13299    pub async fn set_sub_account_raw(&self, params: &SetSubAccountParams) -> Result<Value> {
13300        self.call_raw("setSubAccount", params).await
13301    }
13302
13303    /// Call the `setTimeCondition` API method and deserialize into [`SetTimeConditionResponse`].
13304    pub async fn set_time_condition(
13305        &self,
13306        params: &SetTimeConditionParams,
13307    ) -> Result<SetTimeConditionResponse> {
13308        self.call("setTimeCondition", params).await
13309    }
13310
13311    /// Call the `setTimeCondition` API method and return the raw JSON envelope.
13312    pub async fn set_time_condition_raw(&self, params: &SetTimeConditionParams) -> Result<Value> {
13313        self.call_raw("setTimeCondition", params).await
13314    }
13315
13316    /// Call the `setVoicemail` API method and deserialize into [`SetVoicemailResponse`].
13317    pub async fn set_voicemail(&self, params: &SetVoicemailParams) -> Result<SetVoicemailResponse> {
13318        self.call("setVoicemail", params).await
13319    }
13320
13321    /// Call the `setVoicemail` API method and return the raw JSON envelope.
13322    pub async fn set_voicemail_raw(&self, params: &SetVoicemailParams) -> Result<Value> {
13323        self.call_raw("setVoicemail", params).await
13324    }
13325
13326    /// Call the `signupClient` API method and deserialize into [`SignupClientResponse`].
13327    pub async fn signup_client(&self, params: &SignupClientParams) -> Result<SignupClientResponse> {
13328        self.call("signupClient", params).await
13329    }
13330
13331    /// Call the `signupClient` API method and return the raw JSON envelope.
13332    pub async fn signup_client_raw(&self, params: &SignupClientParams) -> Result<Value> {
13333        self.call_raw("signupClient", params).await
13334    }
13335
13336    /// Call the `unconnectDID` API method and deserialize into [`UnconnectDIDResponse`].
13337    pub async fn unconnect_did(&self, params: &UnconnectDIDParams) -> Result<UnconnectDIDResponse> {
13338        self.call("unconnectDID", params).await
13339    }
13340
13341    /// Call the `unconnectDID` API method and return the raw JSON envelope.
13342    pub async fn unconnect_did_raw(&self, params: &UnconnectDIDParams) -> Result<Value> {
13343        self.call_raw("unconnectDID", params).await
13344    }
13345
13346    /// Call the `unconnectFAX` API method and deserialize into [`UnconnectFAXResponse`].
13347    pub async fn unconnect_fax(&self, params: &UnconnectFAXParams) -> Result<UnconnectFAXResponse> {
13348        self.call("unconnectFAX", params).await
13349    }
13350
13351    /// Call the `unconnectFAX` API method and return the raw JSON envelope.
13352    pub async fn unconnect_fax_raw(&self, params: &UnconnectFAXParams) -> Result<Value> {
13353        self.call_raw("unconnectFAX", params).await
13354    }
13355}