@leadping/sdk 1.0.38 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/dist/analytics/my/index.d.ts +2 -1
  2. package/dist/analytics/my/index.d.ts.map +1 -1
  3. package/dist/analytics/my/index.js +1 -0
  4. package/dist/analytics/my/index.js.map +1 -1
  5. package/dist/automations/all/my/index.d.ts +2 -0
  6. package/dist/automations/all/my/index.d.ts.map +1 -1
  7. package/dist/automations/all/my/index.js +2 -0
  8. package/dist/automations/all/my/index.js.map +1 -1
  9. package/dist/automations/index.d.ts +2 -0
  10. package/dist/automations/index.d.ts.map +1 -1
  11. package/dist/automations/index.js +2 -0
  12. package/dist/automations/index.js.map +1 -1
  13. package/dist/automations/item/index.d.ts +6 -0
  14. package/dist/automations/item/index.d.ts.map +1 -1
  15. package/dist/automations/item/index.js +6 -0
  16. package/dist/automations/item/index.js.map +1 -1
  17. package/dist/automations/item/run/index.d.ts +4 -2
  18. package/dist/automations/item/run/index.d.ts.map +1 -1
  19. package/dist/automations/item/run/index.js +2 -0
  20. package/dist/automations/item/run/index.js.map +1 -1
  21. package/dist/automations/item/runs/index.d.ts +5 -3
  22. package/dist/automations/item/runs/index.d.ts.map +1 -1
  23. package/dist/automations/item/runs/index.js +2 -0
  24. package/dist/automations/item/runs/index.js.map +1 -1
  25. package/dist/automations/item/runs/item/index.d.ts +4 -2
  26. package/dist/automations/item/runs/item/index.d.ts.map +1 -1
  27. package/dist/automations/item/runs/item/index.js +2 -0
  28. package/dist/automations/item/runs/item/index.js.map +1 -1
  29. package/dist/automations/preview/index.d.ts +2 -0
  30. package/dist/automations/preview/index.d.ts.map +1 -1
  31. package/dist/automations/preview/index.js +2 -0
  32. package/dist/automations/preview/index.js.map +1 -1
  33. package/dist/contact/index.d.ts +1 -0
  34. package/dist/contact/index.d.ts.map +1 -1
  35. package/dist/contact/index.js +1 -0
  36. package/dist/contact/index.js.map +1 -1
  37. package/dist/contact/website/index.d.ts +1 -0
  38. package/dist/contact/website/index.d.ts.map +1 -1
  39. package/dist/contact/website/index.js +2 -1
  40. package/dist/contact/website/index.js.map +1 -1
  41. package/dist/conversations/lead/item/index.d.ts +2 -0
  42. package/dist/conversations/lead/item/index.d.ts.map +1 -1
  43. package/dist/conversations/lead/item/index.js +2 -0
  44. package/dist/conversations/lead/item/index.js.map +1 -1
  45. package/dist/conversations/my/index.d.ts +2 -0
  46. package/dist/conversations/my/index.d.ts.map +1 -1
  47. package/dist/conversations/my/index.js +2 -0
  48. package/dist/conversations/my/index.js.map +1 -1
  49. package/dist/events/all/my/index.d.ts +2 -0
  50. package/dist/events/all/my/index.d.ts.map +1 -1
  51. package/dist/events/all/my/index.js +2 -0
  52. package/dist/events/all/my/index.js.map +1 -1
  53. package/dist/events/calls/all/my/index.d.ts +2 -0
  54. package/dist/events/calls/all/my/index.d.ts.map +1 -1
  55. package/dist/events/calls/all/my/index.js +2 -0
  56. package/dist/events/calls/all/my/index.js.map +1 -1
  57. package/dist/events/calls/item/index.d.ts +2 -0
  58. package/dist/events/calls/item/index.d.ts.map +1 -1
  59. package/dist/events/calls/item/index.js +2 -0
  60. package/dist/events/calls/item/index.js.map +1 -1
  61. package/dist/events/calls/lead/item/index.d.ts +2 -0
  62. package/dist/events/calls/lead/item/index.d.ts.map +1 -1
  63. package/dist/events/calls/lead/item/index.js +2 -0
  64. package/dist/events/calls/lead/item/index.js.map +1 -1
  65. package/dist/events/calls/phone/item/index.d.ts +2 -0
  66. package/dist/events/calls/phone/item/index.d.ts.map +1 -1
  67. package/dist/events/calls/phone/item/index.js +2 -0
  68. package/dist/events/calls/phone/item/index.js.map +1 -1
  69. package/dist/events/conversations/item/index.d.ts +2 -0
  70. package/dist/events/conversations/item/index.d.ts.map +1 -1
  71. package/dist/events/conversations/item/index.js +2 -0
  72. package/dist/events/conversations/item/index.js.map +1 -1
  73. package/dist/events/conversations/item/notes/index.d.ts +2 -0
  74. package/dist/events/conversations/item/notes/index.d.ts.map +1 -1
  75. package/dist/events/conversations/item/notes/index.js +2 -0
  76. package/dist/events/conversations/item/notes/index.js.map +1 -1
  77. package/dist/events/detail/index.d.ts +22 -0
  78. package/dist/events/detail/index.d.ts.map +1 -0
  79. package/dist/events/detail/index.js +21 -0
  80. package/dist/events/detail/index.js.map +1 -0
  81. package/dist/events/{item/detail → detail/item}/index.d.ts +6 -4
  82. package/dist/events/detail/item/index.d.ts.map +1 -0
  83. package/dist/events/{item/detail → detail/item}/index.js +5 -3
  84. package/dist/events/detail/item/index.js.map +1 -0
  85. package/dist/events/index.d.ts +5 -0
  86. package/dist/events/index.d.ts.map +1 -1
  87. package/dist/events/index.js +6 -2
  88. package/dist/events/index.js.map +1 -1
  89. package/dist/events/item/index.d.ts +3 -10
  90. package/dist/events/item/index.d.ts.map +1 -1
  91. package/dist/events/item/index.js +2 -10
  92. package/dist/events/item/index.js.map +1 -1
  93. package/dist/events/leads/item/index.d.ts +2 -0
  94. package/dist/events/leads/item/index.d.ts.map +1 -1
  95. package/dist/events/leads/item/index.js +2 -0
  96. package/dist/events/leads/item/index.js.map +1 -1
  97. package/dist/events/organizations/item/index.d.ts +2 -0
  98. package/dist/events/organizations/item/index.d.ts.map +1 -1
  99. package/dist/events/organizations/item/index.js +2 -0
  100. package/dist/events/organizations/item/index.js.map +1 -1
  101. package/dist/events/sms/all/my/index.d.ts +2 -0
  102. package/dist/events/sms/all/my/index.d.ts.map +1 -1
  103. package/dist/events/sms/all/my/index.js +2 -0
  104. package/dist/events/sms/all/my/index.js.map +1 -1
  105. package/dist/events/sms/item/index.d.ts +2 -0
  106. package/dist/events/sms/item/index.d.ts.map +1 -1
  107. package/dist/events/sms/item/index.js +2 -0
  108. package/dist/events/sms/item/index.js.map +1 -1
  109. package/dist/events/sms/lead/item/index.d.ts +2 -0
  110. package/dist/events/sms/lead/item/index.d.ts.map +1 -1
  111. package/dist/events/sms/lead/item/index.js +2 -0
  112. package/dist/events/sms/lead/item/index.js.map +1 -1
  113. package/dist/events/sms/phone/item/index.d.ts +2 -0
  114. package/dist/events/sms/phone/item/index.d.ts.map +1 -1
  115. package/dist/events/sms/phone/item/index.js +2 -0
  116. package/dist/events/sms/phone/item/index.js.map +1 -1
  117. package/dist/feedback/index.d.ts +1 -0
  118. package/dist/feedback/index.d.ts.map +1 -1
  119. package/dist/feedback/index.js +1 -0
  120. package/dist/feedback/index.js.map +1 -1
  121. package/dist/leadStatusChanges/all/my/index.d.ts +2 -0
  122. package/dist/leadStatusChanges/all/my/index.d.ts.map +1 -1
  123. package/dist/leadStatusChanges/all/my/index.js +2 -0
  124. package/dist/leadStatusChanges/all/my/index.js.map +1 -1
  125. package/dist/leadStatusChanges/item/index.d.ts +6 -0
  126. package/dist/leadStatusChanges/item/index.d.ts.map +1 -1
  127. package/dist/leadStatusChanges/item/index.js +7 -1
  128. package/dist/leadStatusChanges/item/index.js.map +1 -1
  129. package/dist/leadStatuses/index.d.ts +6 -0
  130. package/dist/leadStatuses/index.d.ts.map +1 -1
  131. package/dist/leadStatuses/index.js +11 -1
  132. package/dist/leadStatuses/index.js.map +1 -1
  133. package/dist/leadStatuses/item/index.d.ts +6 -0
  134. package/dist/leadStatuses/item/index.d.ts.map +1 -1
  135. package/dist/leadStatuses/item/index.js +11 -1
  136. package/dist/leadStatuses/item/index.js.map +1 -1
  137. package/dist/leads/all/my/index.d.ts +2 -0
  138. package/dist/leads/all/my/index.d.ts.map +1 -1
  139. package/dist/leads/all/my/index.js +2 -0
  140. package/dist/leads/all/my/index.js.map +1 -1
  141. package/dist/leads/index.d.ts +1 -0
  142. package/dist/leads/index.d.ts.map +1 -1
  143. package/dist/leads/index.js +1 -0
  144. package/dist/leads/index.js.map +1 -1
  145. package/dist/leads/intake/index.d.ts +4 -2
  146. package/dist/leads/intake/index.d.ts.map +1 -1
  147. package/dist/leads/intake/index.js +2 -0
  148. package/dist/leads/intake/index.js.map +1 -1
  149. package/dist/leads/item/archive/index.d.ts +2 -0
  150. package/dist/leads/item/archive/index.d.ts.map +1 -1
  151. package/dist/leads/item/archive/index.js +2 -0
  152. package/dist/leads/item/archive/index.js.map +1 -1
  153. package/dist/leads/item/index.d.ts +6 -0
  154. package/dist/leads/item/index.d.ts.map +1 -1
  155. package/dist/leads/item/index.js +7 -1
  156. package/dist/leads/item/index.js.map +1 -1
  157. package/dist/leads/item/status/index.d.ts +2 -0
  158. package/dist/leads/item/status/index.d.ts.map +1 -1
  159. package/dist/leads/item/status/index.js +2 -0
  160. package/dist/leads/item/status/index.js.map +1 -1
  161. package/dist/leads/item/statusHistory/exportEscaped/index.d.ts +2 -0
  162. package/dist/leads/item/statusHistory/exportEscaped/index.d.ts.map +1 -1
  163. package/dist/leads/item/statusHistory/exportEscaped/index.js +2 -0
  164. package/dist/leads/item/statusHistory/exportEscaped/index.js.map +1 -1
  165. package/dist/leads/item/statusHistory/index.d.ts +2 -0
  166. package/dist/leads/item/statusHistory/index.d.ts.map +1 -1
  167. package/dist/leads/item/statusHistory/index.js +2 -0
  168. package/dist/leads/item/statusHistory/index.js.map +1 -1
  169. package/dist/leads/item/tags/index.d.ts +4 -0
  170. package/dist/leads/item/tags/index.d.ts.map +1 -1
  171. package/dist/leads/item/tags/index.js +4 -0
  172. package/dist/leads/item/tags/index.js.map +1 -1
  173. package/dist/leads/item/tags/item/index.d.ts +2 -0
  174. package/dist/leads/item/tags/item/index.d.ts.map +1 -1
  175. package/dist/leads/item/tags/item/index.js +2 -0
  176. package/dist/leads/item/tags/item/index.js.map +1 -1
  177. package/dist/leads/item/unarchive/index.d.ts +2 -0
  178. package/dist/leads/item/unarchive/index.d.ts.map +1 -1
  179. package/dist/leads/item/unarchive/index.js +2 -0
  180. package/dist/leads/item/unarchive/index.js.map +1 -1
  181. package/dist/leads/item/workflowStatus/index.d.ts +2 -0
  182. package/dist/leads/item/workflowStatus/index.d.ts.map +1 -1
  183. package/dist/leads/item/workflowStatus/index.js +2 -0
  184. package/dist/leads/item/workflowStatus/index.js.map +1 -1
  185. package/dist/models/index.d.ts +245 -245
  186. package/dist/models/index.d.ts.map +1 -1
  187. package/dist/models/index.js +468 -468
  188. package/dist/models/index.js.map +1 -1
  189. package/dist/notifications/announcements/index.d.ts +1 -0
  190. package/dist/notifications/announcements/index.d.ts.map +1 -1
  191. package/dist/notifications/announcements/index.js +1 -0
  192. package/dist/notifications/announcements/index.js.map +1 -1
  193. package/dist/notifications/item/index.d.ts +1 -0
  194. package/dist/notifications/item/index.d.ts.map +1 -1
  195. package/dist/notifications/item/index.js +1 -0
  196. package/dist/notifications/item/index.js.map +1 -1
  197. package/dist/notifications/item/markRead/index.d.ts +1 -0
  198. package/dist/notifications/item/markRead/index.d.ts.map +1 -1
  199. package/dist/notifications/item/markRead/index.js +1 -0
  200. package/dist/notifications/item/markRead/index.js.map +1 -1
  201. package/dist/notifications/markAllRead/index.d.ts +4 -3
  202. package/dist/notifications/markAllRead/index.d.ts.map +1 -1
  203. package/dist/notifications/markAllRead/index.js +3 -4
  204. package/dist/notifications/markAllRead/index.js.map +1 -1
  205. package/dist/notifications/me/index.d.ts +1 -0
  206. package/dist/notifications/me/index.d.ts.map +1 -1
  207. package/dist/notifications/me/index.js +1 -0
  208. package/dist/notifications/me/index.js.map +1 -1
  209. package/dist/notifications/push/installations/current/index.d.ts +1 -0
  210. package/dist/notifications/push/installations/current/index.d.ts.map +1 -1
  211. package/dist/notifications/push/installations/current/index.js +1 -0
  212. package/dist/notifications/push/installations/current/index.js.map +1 -1
  213. package/dist/notifications/push/installations/item/index.d.ts +1 -0
  214. package/dist/notifications/push/installations/item/index.d.ts.map +1 -1
  215. package/dist/notifications/push/installations/item/index.js +1 -0
  216. package/dist/notifications/push/installations/item/index.js.map +1 -1
  217. package/dist/notifications/unreadCount/index.d.ts +4 -3
  218. package/dist/notifications/unreadCount/index.d.ts.map +1 -1
  219. package/dist/notifications/unreadCount/index.js +3 -4
  220. package/dist/notifications/unreadCount/index.js.map +1 -1
  221. package/dist/organizations/apiKeys/my/index.d.ts +2 -0
  222. package/dist/organizations/apiKeys/my/index.d.ts.map +1 -1
  223. package/dist/organizations/apiKeys/my/index.js +2 -0
  224. package/dist/organizations/apiKeys/my/index.js.map +1 -1
  225. package/dist/organizations/invitations/accept/index.d.ts +1 -0
  226. package/dist/organizations/invitations/accept/index.d.ts.map +1 -1
  227. package/dist/organizations/invitations/accept/index.js +1 -0
  228. package/dist/organizations/invitations/accept/index.js.map +1 -1
  229. package/dist/organizations/invitations/token/item/index.d.ts +1 -0
  230. package/dist/organizations/invitations/token/item/index.d.ts.map +1 -1
  231. package/dist/organizations/invitations/token/item/index.js +1 -0
  232. package/dist/organizations/invitations/token/item/index.js.map +1 -1
  233. package/dist/organizations/me/index.d.ts +3 -0
  234. package/dist/organizations/me/index.d.ts.map +1 -1
  235. package/dist/organizations/me/index.js +3 -0
  236. package/dist/organizations/me/index.js.map +1 -1
  237. package/dist/organizations/me/invitations/index.d.ts +4 -0
  238. package/dist/organizations/me/invitations/index.d.ts.map +1 -1
  239. package/dist/organizations/me/invitations/index.js +4 -0
  240. package/dist/organizations/me/invitations/index.js.map +1 -1
  241. package/dist/organizations/me/invitations/item/index.d.ts +2 -0
  242. package/dist/organizations/me/invitations/item/index.d.ts.map +1 -1
  243. package/dist/organizations/me/invitations/item/index.js +3 -1
  244. package/dist/organizations/me/invitations/item/index.js.map +1 -1
  245. package/dist/organizations/me/invitations/item/resend/index.d.ts +2 -0
  246. package/dist/organizations/me/invitations/item/resend/index.d.ts.map +1 -1
  247. package/dist/organizations/me/invitations/item/resend/index.js +2 -0
  248. package/dist/organizations/me/invitations/item/resend/index.js.map +1 -1
  249. package/dist/organizations/me/members/index.d.ts +3 -0
  250. package/dist/organizations/me/members/index.d.ts.map +1 -1
  251. package/dist/organizations/me/members/index.js +3 -0
  252. package/dist/organizations/me/members/index.js.map +1 -1
  253. package/dist/organizations/me/members/item/index.d.ts +2 -0
  254. package/dist/organizations/me/members/item/index.d.ts.map +1 -1
  255. package/dist/organizations/me/members/item/index.js +3 -1
  256. package/dist/organizations/me/members/item/index.js.map +1 -1
  257. package/dist/organizations/me/oneZerodlc/notes/index.d.ts +2 -0
  258. package/dist/organizations/me/oneZerodlc/notes/index.d.ts.map +1 -1
  259. package/dist/organizations/me/oneZerodlc/notes/index.js +2 -0
  260. package/dist/organizations/me/oneZerodlc/notes/index.js.map +1 -1
  261. package/dist/organizations/me/options/index.d.ts +1 -0
  262. package/dist/organizations/me/options/index.d.ts.map +1 -1
  263. package/dist/organizations/me/options/index.js +1 -0
  264. package/dist/organizations/me/options/index.js.map +1 -1
  265. package/dist/organizations/me/switchEscaped/index.d.ts +1 -0
  266. package/dist/organizations/me/switchEscaped/index.d.ts.map +1 -1
  267. package/dist/organizations/me/switchEscaped/index.js +1 -0
  268. package/dist/organizations/me/switchEscaped/index.js.map +1 -1
  269. package/dist/outbound/overview/index.d.ts +2 -0
  270. package/dist/outbound/overview/index.d.ts.map +1 -1
  271. package/dist/outbound/overview/index.js +2 -0
  272. package/dist/outbound/overview/index.js.map +1 -1
  273. package/dist/paymentMethods/index.d.ts +1 -0
  274. package/dist/paymentMethods/index.d.ts.map +1 -1
  275. package/dist/paymentMethods/index.js +1 -0
  276. package/dist/paymentMethods/index.js.map +1 -1
  277. package/dist/paymentMethods/invoices/index.d.ts +2 -0
  278. package/dist/paymentMethods/invoices/index.d.ts.map +1 -1
  279. package/dist/paymentMethods/invoices/index.js +5 -1
  280. package/dist/paymentMethods/invoices/index.js.map +1 -1
  281. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +2 -0
  282. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -1
  283. package/dist/paymentMethods/invoices/item/pdfAccess/index.js +2 -0
  284. package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -1
  285. package/dist/paymentMethods/item/defaultEscaped/index.d.ts +1 -0
  286. package/dist/paymentMethods/item/defaultEscaped/index.d.ts.map +1 -1
  287. package/dist/paymentMethods/item/defaultEscaped/index.js +1 -0
  288. package/dist/paymentMethods/item/defaultEscaped/index.js.map +1 -1
  289. package/dist/paymentMethods/item/index.d.ts +2 -0
  290. package/dist/paymentMethods/item/index.d.ts.map +1 -1
  291. package/dist/paymentMethods/item/index.js +3 -1
  292. package/dist/paymentMethods/item/index.js.map +1 -1
  293. package/dist/phoneCall/initiate/index.d.ts +2 -0
  294. package/dist/phoneCall/initiate/index.d.ts.map +1 -1
  295. package/dist/phoneCall/initiate/index.js +2 -0
  296. package/dist/phoneCall/initiate/index.js.map +1 -1
  297. package/dist/phoneCall/item/hangup/index.d.ts +2 -0
  298. package/dist/phoneCall/item/hangup/index.d.ts.map +1 -1
  299. package/dist/phoneCall/item/hangup/index.js +2 -0
  300. package/dist/phoneCall/item/hangup/index.js.map +1 -1
  301. package/dist/phoneCall/item/status/index.d.ts +2 -0
  302. package/dist/phoneCall/item/status/index.d.ts.map +1 -1
  303. package/dist/phoneCall/item/status/index.js +2 -0
  304. package/dist/phoneCall/item/status/index.js.map +1 -1
  305. package/dist/phoneCall/item/transfer/index.d.ts +2 -0
  306. package/dist/phoneCall/item/transfer/index.d.ts.map +1 -1
  307. package/dist/phoneCall/item/transfer/index.js +2 -0
  308. package/dist/phoneCall/item/transfer/index.js.map +1 -1
  309. package/dist/phoneNumbers/all/organization/index.d.ts +2 -0
  310. package/dist/phoneNumbers/all/organization/index.d.ts.map +1 -1
  311. package/dist/phoneNumbers/all/organization/index.js +2 -0
  312. package/dist/phoneNumbers/all/organization/index.js.map +1 -1
  313. package/dist/phoneNumbers/index.d.ts +2 -0
  314. package/dist/phoneNumbers/index.d.ts.map +1 -1
  315. package/dist/phoneNumbers/index.js +2 -0
  316. package/dist/phoneNumbers/index.js.map +1 -1
  317. package/dist/phoneNumbers/isAvailableForPurchase/index.d.ts +2 -0
  318. package/dist/phoneNumbers/isAvailableForPurchase/index.d.ts.map +1 -1
  319. package/dist/phoneNumbers/isAvailableForPurchase/index.js +2 -0
  320. package/dist/phoneNumbers/isAvailableForPurchase/index.js.map +1 -1
  321. package/dist/phoneNumbers/item/index.d.ts +6 -0
  322. package/dist/phoneNumbers/item/index.d.ts.map +1 -1
  323. package/dist/phoneNumbers/item/index.js +7 -1
  324. package/dist/phoneNumbers/item/index.js.map +1 -1
  325. package/dist/phoneNumbers/item/status/index.d.ts +3 -1
  326. package/dist/phoneNumbers/item/status/index.d.ts.map +1 -1
  327. package/dist/phoneNumbers/item/status/index.js +2 -0
  328. package/dist/phoneNumbers/item/status/index.js.map +1 -1
  329. package/dist/phoneNumbers/item/warmup/index.d.ts +3 -1
  330. package/dist/phoneNumbers/item/warmup/index.d.ts.map +1 -1
  331. package/dist/phoneNumbers/item/warmup/index.js +2 -0
  332. package/dist/phoneNumbers/item/warmup/index.js.map +1 -1
  333. package/dist/phoneNumbers/outgoing/conversation/item/index.d.ts +2 -0
  334. package/dist/phoneNumbers/outgoing/conversation/item/index.d.ts.map +1 -1
  335. package/dist/phoneNumbers/outgoing/conversation/item/index.js +2 -0
  336. package/dist/phoneNumbers/outgoing/conversation/item/index.js.map +1 -1
  337. package/dist/phoneNumbers/outgoing/conversation/item/override/index.d.ts +4 -0
  338. package/dist/phoneNumbers/outgoing/conversation/item/override/index.d.ts.map +1 -1
  339. package/dist/phoneNumbers/outgoing/conversation/item/override/index.js +4 -0
  340. package/dist/phoneNumbers/outgoing/conversation/item/override/index.js.map +1 -1
  341. package/dist/phoneNumbers/outgoing/manualOverride/index.d.ts +2 -0
  342. package/dist/phoneNumbers/outgoing/manualOverride/index.d.ts.map +1 -1
  343. package/dist/phoneNumbers/outgoing/manualOverride/index.js +2 -0
  344. package/dist/phoneNumbers/outgoing/manualOverride/index.js.map +1 -1
  345. package/dist/phoneNumbers/outgoing/newEscaped/index.d.ts +2 -0
  346. package/dist/phoneNumbers/outgoing/newEscaped/index.d.ts.map +1 -1
  347. package/dist/phoneNumbers/outgoing/newEscaped/index.js +2 -0
  348. package/dist/phoneNumbers/outgoing/newEscaped/index.js.map +1 -1
  349. package/dist/phoneNumbers/search/index.d.ts +2 -0
  350. package/dist/phoneNumbers/search/index.d.ts.map +1 -1
  351. package/dist/phoneNumbers/search/index.js +2 -0
  352. package/dist/phoneNumbers/search/index.js.map +1 -1
  353. package/dist/reports/exports/item/index.d.ts +2 -0
  354. package/dist/reports/exports/item/index.d.ts.map +1 -1
  355. package/dist/reports/exports/item/index.js +2 -0
  356. package/dist/reports/exports/item/index.js.map +1 -1
  357. package/dist/reports/exports/my/index.d.ts +2 -0
  358. package/dist/reports/exports/my/index.d.ts.map +1 -1
  359. package/dist/reports/exports/my/index.js +2 -0
  360. package/dist/reports/exports/my/index.js.map +1 -1
  361. package/dist/sms/item/cancel/index.d.ts +2 -0
  362. package/dist/sms/item/cancel/index.d.ts.map +1 -1
  363. package/dist/sms/item/cancel/index.js +2 -0
  364. package/dist/sms/item/cancel/index.js.map +1 -1
  365. package/dist/sms/media/index.d.ts +6 -69
  366. package/dist/sms/media/index.d.ts.map +1 -1
  367. package/dist/sms/media/index.js +6 -78
  368. package/dist/sms/media/index.js.map +1 -1
  369. package/dist/sms/send/index.d.ts +2 -0
  370. package/dist/sms/send/index.d.ts.map +1 -1
  371. package/dist/sms/send/index.js +2 -0
  372. package/dist/sms/send/index.js.map +1 -1
  373. package/dist/sources/all/my/index.d.ts +2 -0
  374. package/dist/sources/all/my/index.d.ts.map +1 -1
  375. package/dist/sources/all/my/index.js +2 -0
  376. package/dist/sources/all/my/index.js.map +1 -1
  377. package/dist/sources/index.d.ts +2 -0
  378. package/dist/sources/index.d.ts.map +1 -1
  379. package/dist/sources/index.js +2 -0
  380. package/dist/sources/index.js.map +1 -1
  381. package/dist/sources/item/index.d.ts +6 -0
  382. package/dist/sources/item/index.d.ts.map +1 -1
  383. package/dist/sources/item/index.js +7 -1
  384. package/dist/sources/item/index.js.map +1 -1
  385. package/dist/sources/item/metrics/index.d.ts +3 -1
  386. package/dist/sources/item/metrics/index.d.ts.map +1 -1
  387. package/dist/sources/item/metrics/index.js +2 -0
  388. package/dist/sources/item/metrics/index.js.map +1 -1
  389. package/dist/suppressions/all/my/index.d.ts +2 -0
  390. package/dist/suppressions/all/my/index.d.ts.map +1 -1
  391. package/dist/suppressions/all/my/index.js +2 -0
  392. package/dist/suppressions/all/my/index.js.map +1 -1
  393. package/dist/suppressions/check/index.d.ts +2 -0
  394. package/dist/suppressions/check/index.d.ts.map +1 -1
  395. package/dist/suppressions/check/index.js +2 -0
  396. package/dist/suppressions/check/index.js.map +1 -1
  397. package/dist/suppressions/index.d.ts +2 -0
  398. package/dist/suppressions/index.d.ts.map +1 -1
  399. package/dist/suppressions/index.js +2 -0
  400. package/dist/suppressions/index.js.map +1 -1
  401. package/dist/suppressions/item/index.d.ts +2 -0
  402. package/dist/suppressions/item/index.d.ts.map +1 -1
  403. package/dist/suppressions/item/index.js +2 -0
  404. package/dist/suppressions/item/index.js.map +1 -1
  405. package/dist/suppressions/release/index.d.ts +2 -0
  406. package/dist/suppressions/release/index.d.ts.map +1 -1
  407. package/dist/suppressions/release/index.js +2 -0
  408. package/dist/suppressions/release/index.js.map +1 -1
  409. package/dist/tags/index.d.ts +4 -0
  410. package/dist/tags/index.d.ts.map +1 -1
  411. package/dist/tags/index.js +4 -0
  412. package/dist/tags/index.js.map +1 -1
  413. package/dist/tags/item/index.d.ts +4 -0
  414. package/dist/tags/item/index.d.ts.map +1 -1
  415. package/dist/tags/item/index.js +4 -0
  416. package/dist/tags/item/index.js.map +1 -1
  417. package/dist/telephony/login/index.d.ts +2 -0
  418. package/dist/telephony/login/index.d.ts.map +1 -1
  419. package/dist/telephony/login/index.js +2 -0
  420. package/dist/telephony/login/index.js.map +1 -1
  421. package/dist/transactions/all/my/index.d.ts +2 -0
  422. package/dist/transactions/all/my/index.d.ts.map +1 -1
  423. package/dist/transactions/all/my/index.js +2 -0
  424. package/dist/transactions/all/my/index.js.map +1 -1
  425. package/dist/transactions/item/index.d.ts +2 -0
  426. package/dist/transactions/item/index.d.ts.map +1 -1
  427. package/dist/transactions/item/index.js +2 -0
  428. package/dist/transactions/item/index.js.map +1 -1
  429. package/dist/usage/all/my/index.d.ts +2 -0
  430. package/dist/usage/all/my/index.d.ts.map +1 -1
  431. package/dist/usage/all/my/index.js +2 -0
  432. package/dist/usage/all/my/index.js.map +1 -1
  433. package/dist/usage/summary/my/index.d.ts +2 -0
  434. package/dist/usage/summary/my/index.d.ts.map +1 -1
  435. package/dist/usage/summary/my/index.js +2 -0
  436. package/dist/usage/summary/my/index.js.map +1 -1
  437. package/dist/users/changeBillingPlan/index.d.ts +1 -0
  438. package/dist/users/changeBillingPlan/index.d.ts.map +1 -1
  439. package/dist/users/changeBillingPlan/index.js +1 -0
  440. package/dist/users/changeBillingPlan/index.js.map +1 -1
  441. package/dist/users/compliance/index.d.ts +1 -0
  442. package/dist/users/compliance/index.d.ts.map +1 -1
  443. package/dist/users/compliance/index.js +1 -0
  444. package/dist/users/compliance/index.js.map +1 -1
  445. package/dist/users/me/index.d.ts +2 -0
  446. package/dist/users/me/index.d.ts.map +1 -1
  447. package/dist/users/me/index.js +2 -0
  448. package/dist/users/me/index.js.map +1 -1
  449. package/dist/users/me/paymentmethod/index.d.ts +1 -0
  450. package/dist/users/me/paymentmethod/index.d.ts.map +1 -1
  451. package/dist/users/me/paymentmethod/index.js +1 -0
  452. package/dist/users/me/paymentmethod/index.js.map +1 -1
  453. package/dist/wallets/item/index.d.ts +2 -0
  454. package/dist/wallets/item/index.d.ts.map +1 -1
  455. package/dist/wallets/item/index.js +2 -0
  456. package/dist/wallets/item/index.js.map +1 -1
  457. package/dist/wallets/me/index.d.ts +2 -0
  458. package/dist/wallets/me/index.d.ts.map +1 -1
  459. package/dist/wallets/me/index.js +2 -0
  460. package/dist/wallets/me/index.js.map +1 -1
  461. package/package.json +1 -1
  462. package/dist/events/item/detail/index.d.ts.map +0 -1
  463. package/dist/events/item/detail/index.js.map +0 -1
@@ -2412,7 +2412,7 @@ export function deserializeIntoActivationDomainOption(activationDomainOption = {
2412
2412
  return {
2413
2413
  "availabilityStatus": n => { activationDomainOption.availabilityStatus = n.getStringValue(); },
2414
2414
  "domainName": n => { activationDomainOption.domainName = n.getStringValue(); },
2415
- "estimatedAnnualCost": n => { activationDomainOption.estimatedAnnualCost = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2415
+ "estimatedAnnualCost": n => { activationDomainOption.estimatedAnnualCost = n.getNumberValue(); },
2416
2416
  "industryRelevance": n => { activationDomainOption.industryRelevance = n.getStringValue(); },
2417
2417
  "recommended": n => { activationDomainOption.recommended = n.getBooleanValue(); },
2418
2418
  "trustConcerns": n => { activationDomainOption.trustConcerns = n.getStringValue(); },
@@ -2456,10 +2456,10 @@ export function deserializeIntoActivationTimelineEvent_actor(activationTimelineE
2456
2456
  // @ts-ignore
2457
2457
  export function deserializeIntoAnalyticsComparison(analyticsComparison = {}) {
2458
2458
  return {
2459
- "changePercent": n => { analyticsComparison.changePercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2460
- "current": n => { analyticsComparison.current = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2459
+ "changePercent": n => { analyticsComparison.changePercent = n.getNumberValue(); },
2460
+ "current": n => { analyticsComparison.current = n.getNumberValue(); },
2461
2461
  "direction": n => { analyticsComparison.direction = n.getStringValue(); },
2462
- "previous": n => { analyticsComparison.previous = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2462
+ "previous": n => { analyticsComparison.previous = n.getNumberValue(); },
2463
2463
  };
2464
2464
  }
2465
2465
  /**
@@ -2486,7 +2486,7 @@ export function deserializeIntoAnalyticsTrendPointOfdecimal(analyticsTrendPointO
2486
2486
  "endAt": n => { analyticsTrendPointOfdecimal.endAt = n.getDateValue(); },
2487
2487
  "label": n => { analyticsTrendPointOfdecimal.label = n.getStringValue(); },
2488
2488
  "startAt": n => { analyticsTrendPointOfdecimal.startAt = n.getDateValue(); },
2489
- "value": n => { analyticsTrendPointOfdecimal.value = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2489
+ "value": n => { analyticsTrendPointOfdecimal.value = n.getNumberValue(); },
2490
2490
  };
2491
2491
  }
2492
2492
  /**
@@ -2500,7 +2500,7 @@ export function deserializeIntoAnalyticsTrendPointOfint(analyticsTrendPointOfint
2500
2500
  "endAt": n => { analyticsTrendPointOfint.endAt = n.getDateValue(); },
2501
2501
  "label": n => { analyticsTrendPointOfint.label = n.getStringValue(); },
2502
2502
  "startAt": n => { analyticsTrendPointOfint.startAt = n.getDateValue(); },
2503
- "value": n => { analyticsTrendPointOfint.value = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2503
+ "value": n => { analyticsTrendPointOfint.value = n.getNumberValue(); },
2504
2504
  };
2505
2505
  }
2506
2506
  /**
@@ -2513,7 +2513,7 @@ export function deserializeIntoAutomationAction(automationAction = {}) {
2513
2513
  return {
2514
2514
  "id": n => { automationAction.id = n.getStringValue(); },
2515
2515
  "isEnabled": n => { automationAction.isEnabled = n.getBooleanValue(); },
2516
- "order": n => { automationAction.order = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2516
+ "order": n => { automationAction.order = n.getNumberValue(); },
2517
2517
  "settings": n => { automationAction.settings = n.getObjectValue(createAutomationAction_settingsFromDiscriminatorValue); },
2518
2518
  "type": n => { automationAction.type = n.getStringValue(); },
2519
2519
  };
@@ -2543,8 +2543,8 @@ export function deserializeIntoAutomationActionRunRecord(automationActionRunReco
2543
2543
  "failureCode": n => { automationActionRunRecord.failureCode = n.getStringValue(); },
2544
2544
  "id": n => { automationActionRunRecord.id = n.getStringValue(); },
2545
2545
  "nextRetryAt": n => { automationActionRunRecord.nextRetryAt = n.getDateValue(); },
2546
- "order": n => { automationActionRunRecord.order = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2547
- "processingAttempts": n => { automationActionRunRecord.processingAttempts = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2546
+ "order": n => { automationActionRunRecord.order = n.getNumberValue(); },
2547
+ "processingAttempts": n => { automationActionRunRecord.processingAttempts = n.getNumberValue(); },
2548
2548
  "scheduledAt": n => { automationActionRunRecord.scheduledAt = n.getDateValue(); },
2549
2549
  "startedAt": n => { automationActionRunRecord.startedAt = n.getDateValue(); },
2550
2550
  "status": n => { automationActionRunRecord.status = n.getStringValue(); },
@@ -2694,7 +2694,7 @@ export function deserializeIntoAutomationRequest(automationRequest = {}) {
2694
2694
  "name": n => { automationRequest.name = n.getStringValue(); },
2695
2695
  "scope": n => { automationRequest.scope = n.getStringValue(); },
2696
2696
  "triggers": n => { automationRequest.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
2697
- "version": n => { automationRequest.version = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2697
+ "version": n => { automationRequest.version = n.getNumberValue(); },
2698
2698
  "visibility": n => { automationRequest.visibility = n.getStringValue(); },
2699
2699
  };
2700
2700
  }
@@ -2750,7 +2750,7 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
2750
2750
  "scope": n => { automationResponse.scope = n.getStringValue(); },
2751
2751
  "triggers": n => { automationResponse.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
2752
2752
  "user": n => { automationResponse.user = n.getObjectValue(createAutomationResponse_userFromDiscriminatorValue); },
2753
- "version": n => { automationResponse.version = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2753
+ "version": n => { automationResponse.version = n.getNumberValue(); },
2754
2754
  "visibility": n => { automationResponse.visibility = n.getStringValue(); },
2755
2755
  };
2756
2756
  }
@@ -2793,7 +2793,7 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
2793
2793
  "lastAttemptAt": n => { automationRunRecord.lastAttemptAt = n.getDateValue(); },
2794
2794
  "leadId": n => { automationRunRecord.leadId = n.getStringValue(); },
2795
2795
  "organizationId": n => { automationRunRecord.organizationId = n.getStringValue(); },
2796
- "processingAttempts": n => { automationRunRecord.processingAttempts = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2796
+ "processingAttempts": n => { automationRunRecord.processingAttempts = n.getNumberValue(); },
2797
2797
  "skippedReason": n => { automationRunRecord.skippedReason = n.getStringValue(); },
2798
2798
  "startedAt": n => { automationRunRecord.startedAt = n.getDateValue(); },
2799
2799
  "status": n => { automationRunRecord.status = n.getStringValue(); },
@@ -2904,7 +2904,7 @@ export function deserializeIntoAutomationWorkflowActionResponse(automationWorkfl
2904
2904
  "failureCode": n => { automationWorkflowActionResponse.failureCode = n.getStringValue(); },
2905
2905
  "id": n => { automationWorkflowActionResponse.id = n.getStringValue(); },
2906
2906
  "nextRetryAt": n => { automationWorkflowActionResponse.nextRetryAt = n.getDateValue(); },
2907
- "retryCount": n => { automationWorkflowActionResponse.retryCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2907
+ "retryCount": n => { automationWorkflowActionResponse.retryCount = n.getNumberValue(); },
2908
2908
  "safeReason": n => { automationWorkflowActionResponse.safeReason = n.getStringValue(); },
2909
2909
  "scheduledAt": n => { automationWorkflowActionResponse.scheduledAt = n.getDateValue(); },
2910
2910
  "skippedAt": n => { automationWorkflowActionResponse.skippedAt = n.getDateValue(); },
@@ -2913,7 +2913,7 @@ export function deserializeIntoAutomationWorkflowActionResponse(automationWorkfl
2913
2913
  "statusDisplay": n => { automationWorkflowActionResponse.statusDisplay = n.getStringValue(); },
2914
2914
  "stepDisplayName": n => { automationWorkflowActionResponse.stepDisplayName = n.getStringValue(); },
2915
2915
  "stepId": n => { automationWorkflowActionResponse.stepId = n.getStringValue(); },
2916
- "stepOrder": n => { automationWorkflowActionResponse.stepOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2916
+ "stepOrder": n => { automationWorkflowActionResponse.stepOrder = n.getNumberValue(); },
2917
2917
  "userSummary": n => { automationWorkflowActionResponse.userSummary = n.getStringValue(); },
2918
2918
  };
2919
2919
  }
@@ -2949,7 +2949,7 @@ export function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowR
2949
2949
  "cancelledAt": n => { automationWorkflowRunResponse.cancelledAt = n.getDateValue(); },
2950
2950
  "completedAt": n => { automationWorkflowRunResponse.completedAt = n.getDateValue(); },
2951
2951
  "currentStep": n => { automationWorkflowRunResponse.currentStep = n.getObjectValue(createAutomationWorkflowRunResponse_currentStepFromDiscriminatorValue); },
2952
- "currentStepOrder": n => { automationWorkflowRunResponse.currentStepOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2952
+ "currentStepOrder": n => { automationWorkflowRunResponse.currentStepOrder = n.getNumberValue(); },
2953
2953
  "events": n => { automationWorkflowRunResponse.events = n.getCollectionOfObjectValues(createAutomationWorkflowEventResponseFromDiscriminatorValue); },
2954
2954
  "failedAt": n => { automationWorkflowRunResponse.failedAt = n.getDateValue(); },
2955
2955
  "id": n => { automationWorkflowRunResponse.id = n.getStringValue(); },
@@ -2958,11 +2958,11 @@ export function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowR
2958
2958
  "lastErrorMessage": n => { automationWorkflowRunResponse.lastErrorMessage = n.getStringValue(); },
2959
2959
  "lastExecutionAt": n => { automationWorkflowRunResponse.lastExecutionAt = n.getDateValue(); },
2960
2960
  "leadId": n => { automationWorkflowRunResponse.leadId = n.getStringValue(); },
2961
- "maxRetryCount": n => { automationWorkflowRunResponse.maxRetryCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2961
+ "maxRetryCount": n => { automationWorkflowRunResponse.maxRetryCount = n.getNumberValue(); },
2962
2962
  "nextExecutionAt": n => { automationWorkflowRunResponse.nextExecutionAt = n.getDateValue(); },
2963
2963
  "nextRetryAt": n => { automationWorkflowRunResponse.nextRetryAt = n.getDateValue(); },
2964
2964
  "organizationId": n => { automationWorkflowRunResponse.organizationId = n.getStringValue(); },
2965
- "retryCount": n => { automationWorkflowRunResponse.retryCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2965
+ "retryCount": n => { automationWorkflowRunResponse.retryCount = n.getNumberValue(); },
2966
2966
  "skipReasonCode": n => { automationWorkflowRunResponse.skipReasonCode = n.getStringValue(); },
2967
2967
  "skipReasonDisplay": n => { automationWorkflowRunResponse.skipReasonDisplay = n.getStringValue(); },
2968
2968
  "startedAt": n => { automationWorkflowRunResponse.startedAt = n.getDateValue(); },
@@ -3016,15 +3016,15 @@ export function deserializeIntoAutomationWorkflowStatusResponse(automationWorkfl
3016
3016
  export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
3017
3017
  return {
3018
3018
  "answeredAt": n => { callEventTableRow.answeredAt = n.getDateValue(); },
3019
- "billableAmount": n => { callEventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3020
- "billableSeconds": n => { callEventTableRow.billableSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3019
+ "billableAmount": n => { callEventTableRow.billableAmount = n.getNumberValue(); },
3020
+ "billableSeconds": n => { callEventTableRow.billableSeconds = n.getNumberValue(); },
3021
3021
  "billingStatus": n => { callEventTableRow.billingStatus = n.getStringValue(); },
3022
3022
  "callerId": n => { callEventTableRow.callerId = n.getStringValue(); },
3023
3023
  "consoleEntries": n => { callEventTableRow.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
3024
3024
  "conversationId": n => { callEventTableRow.conversationId = n.getStringValue(); },
3025
3025
  "createdAt": n => { callEventTableRow.createdAt = n.getDateValue(); },
3026
3026
  "direction": n => { callEventTableRow.direction = n.getStringValue(); },
3027
- "duration": n => { callEventTableRow.duration = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3027
+ "duration": n => { callEventTableRow.duration = n.getNumberValue(); },
3028
3028
  "endedAt": n => { callEventTableRow.endedAt = n.getDateValue(); },
3029
3029
  "fromPhoneNumber": n => { callEventTableRow.fromPhoneNumber = n.getStringValue(); },
3030
3030
  "fromPhoneNumberId": n => { callEventTableRow.fromPhoneNumberId = n.getStringValue(); },
@@ -3180,8 +3180,8 @@ export function deserializeIntoConversationResponse_phoneNumber(conversationResp
3180
3180
  // @ts-ignore
3181
3181
  export function deserializeIntoCoordinate(coordinate = {}) {
3182
3182
  return {
3183
- "latitude": n => { coordinate.latitude = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3184
- "longitude": n => { coordinate.longitude = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3183
+ "latitude": n => { coordinate.latitude = n.getNumberValue(); },
3184
+ "longitude": n => { coordinate.longitude = n.getNumberValue(); },
3185
3185
  };
3186
3186
  }
3187
3187
  /**
@@ -3268,22 +3268,22 @@ export function deserializeIntoCustomerAnalyticsResponse(customerAnalyticsRespon
3268
3268
  // @ts-ignore
3269
3269
  export function deserializeIntoCustomerAnalyticsSummary(customerAnalyticsSummary = {}) {
3270
3270
  return {
3271
- "averageResponseMinutes": n => { customerAnalyticsSummary.averageResponseMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3271
+ "averageResponseMinutes": n => { customerAnalyticsSummary.averageResponseMinutes = n.getNumberValue(); },
3272
3272
  "billingStatus": n => { customerAnalyticsSummary.billingStatus = n.getStringValue(); },
3273
- "callMinutes": n => { customerAnalyticsSummary.callMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3274
- "callsPlaced": n => { customerAnalyticsSummary.callsPlaced = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3275
- "callsReceived": n => { customerAnalyticsSummary.callsReceived = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3276
- "leads": n => { customerAnalyticsSummary.leads = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3273
+ "callMinutes": n => { customerAnalyticsSummary.callMinutes = n.getNumberValue(); },
3274
+ "callsPlaced": n => { customerAnalyticsSummary.callsPlaced = n.getNumberValue(); },
3275
+ "callsReceived": n => { customerAnalyticsSummary.callsReceived = n.getNumberValue(); },
3276
+ "leads": n => { customerAnalyticsSummary.leads = n.getNumberValue(); },
3277
3277
  "leadsComparison": n => { customerAnalyticsSummary.leadsComparison = n.getObjectValue(createAnalyticsComparisonFromDiscriminatorValue); },
3278
- "medianResponseMinutes": n => { customerAnalyticsSummary.medianResponseMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3279
- "missedCalls": n => { customerAnalyticsSummary.missedCalls = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3280
- "missedLeads": n => { customerAnalyticsSummary.missedLeads = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3281
- "respondedWithinFiveMinutesPercent": n => { customerAnalyticsSummary.respondedWithinFiveMinutesPercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3282
- "smsReceived": n => { customerAnalyticsSummary.smsReceived = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3283
- "smsSent": n => { customerAnalyticsSummary.smsSent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3284
- "unreadMessages": n => { customerAnalyticsSummary.unreadMessages = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3285
- "usageSpend": n => { customerAnalyticsSummary.usageSpend = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3286
- "walletBalance": n => { customerAnalyticsSummary.walletBalance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3278
+ "medianResponseMinutes": n => { customerAnalyticsSummary.medianResponseMinutes = n.getNumberValue(); },
3279
+ "missedCalls": n => { customerAnalyticsSummary.missedCalls = n.getNumberValue(); },
3280
+ "missedLeads": n => { customerAnalyticsSummary.missedLeads = n.getNumberValue(); },
3281
+ "respondedWithinFiveMinutesPercent": n => { customerAnalyticsSummary.respondedWithinFiveMinutesPercent = n.getNumberValue(); },
3282
+ "smsReceived": n => { customerAnalyticsSummary.smsReceived = n.getNumberValue(); },
3283
+ "smsSent": n => { customerAnalyticsSummary.smsSent = n.getNumberValue(); },
3284
+ "unreadMessages": n => { customerAnalyticsSummary.unreadMessages = n.getNumberValue(); },
3285
+ "usageSpend": n => { customerAnalyticsSummary.usageSpend = n.getNumberValue(); },
3286
+ "walletBalance": n => { customerAnalyticsSummary.walletBalance = n.getNumberValue(); },
3287
3287
  "walletStatus": n => { customerAnalyticsSummary.walletStatus = n.getStringValue(); },
3288
3288
  };
3289
3289
  }
@@ -3295,13 +3295,13 @@ export function deserializeIntoCustomerAnalyticsSummary(customerAnalyticsSummary
3295
3295
  // @ts-ignore
3296
3296
  export function deserializeIntoCustomerAutomationHealth(customerAutomationHealth = {}) {
3297
3297
  return {
3298
- "automationCount": n => { customerAutomationHealth.automationCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3299
- "enabledCount": n => { customerAutomationHealth.enabledCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3300
- "executions": n => { customerAutomationHealth.executions = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3298
+ "automationCount": n => { customerAutomationHealth.automationCount = n.getNumberValue(); },
3299
+ "enabledCount": n => { customerAutomationHealth.enabledCount = n.getNumberValue(); },
3300
+ "executions": n => { customerAutomationHealth.executions = n.getNumberValue(); },
3301
3301
  "failingAutomations": n => { customerAutomationHealth.failingAutomations = n.getCollectionOfObjectValues(createCustomerFailingAutomationFromDiscriminatorValue); },
3302
- "failureCount": n => { customerAutomationHealth.failureCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3302
+ "failureCount": n => { customerAutomationHealth.failureCount = n.getNumberValue(); },
3303
3303
  "lastFailure": n => { customerAutomationHealth.lastFailure = n.getObjectValue(createCustomerAutomationHealth_lastFailureFromDiscriminatorValue); },
3304
- "successCount": n => { customerAutomationHealth.successCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3304
+ "successCount": n => { customerAutomationHealth.successCount = n.getNumberValue(); },
3305
3305
  };
3306
3306
  }
3307
3307
  /**
@@ -3323,16 +3323,16 @@ export function deserializeIntoCustomerAutomationHealth_lastFailure(customerAuto
3323
3323
  // @ts-ignore
3324
3324
  export function deserializeIntoCustomerCommunicationUsage(customerCommunicationUsage = {}) {
3325
3325
  return {
3326
- "answeredCalls": n => { customerCommunicationUsage.answeredCalls = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3327
- "callMinutes": n => { customerCommunicationUsage.callMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3328
- "callsPlaced": n => { customerCommunicationUsage.callsPlaced = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3329
- "callsReceived": n => { customerCommunicationUsage.callsReceived = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3330
- "failedOrBlockedSms": n => { customerCommunicationUsage.failedOrBlockedSms = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3331
- "missedCalls": n => { customerCommunicationUsage.missedCalls = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3332
- "smsReceived": n => { customerCommunicationUsage.smsReceived = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3333
- "smsSent": n => { customerCommunicationUsage.smsSent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3326
+ "answeredCalls": n => { customerCommunicationUsage.answeredCalls = n.getNumberValue(); },
3327
+ "callMinutes": n => { customerCommunicationUsage.callMinutes = n.getNumberValue(); },
3328
+ "callsPlaced": n => { customerCommunicationUsage.callsPlaced = n.getNumberValue(); },
3329
+ "callsReceived": n => { customerCommunicationUsage.callsReceived = n.getNumberValue(); },
3330
+ "failedOrBlockedSms": n => { customerCommunicationUsage.failedOrBlockedSms = n.getNumberValue(); },
3331
+ "missedCalls": n => { customerCommunicationUsage.missedCalls = n.getNumberValue(); },
3332
+ "smsReceived": n => { customerCommunicationUsage.smsReceived = n.getNumberValue(); },
3333
+ "smsSent": n => { customerCommunicationUsage.smsSent = n.getNumberValue(); },
3334
3334
  "trend": n => { customerCommunicationUsage.trend = n.getCollectionOfObjectValues(createCustomerCommunicationUsagePointFromDiscriminatorValue); },
3335
- "usageSpend": n => { customerCommunicationUsage.usageSpend = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3335
+ "usageSpend": n => { customerCommunicationUsage.usageSpend = n.getNumberValue(); },
3336
3336
  };
3337
3337
  }
3338
3338
  /**
@@ -3343,13 +3343,13 @@ export function deserializeIntoCustomerCommunicationUsage(customerCommunicationU
3343
3343
  // @ts-ignore
3344
3344
  export function deserializeIntoCustomerCommunicationUsagePoint(customerCommunicationUsagePoint = {}) {
3345
3345
  return {
3346
- "callMinutes": n => { customerCommunicationUsagePoint.callMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3347
- "calls": n => { customerCommunicationUsagePoint.calls = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3346
+ "callMinutes": n => { customerCommunicationUsagePoint.callMinutes = n.getNumberValue(); },
3347
+ "calls": n => { customerCommunicationUsagePoint.calls = n.getNumberValue(); },
3348
3348
  "endAt": n => { customerCommunicationUsagePoint.endAt = n.getDateValue(); },
3349
3349
  "label": n => { customerCommunicationUsagePoint.label = n.getStringValue(); },
3350
- "smsReceived": n => { customerCommunicationUsagePoint.smsReceived = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3351
- "smsSent": n => { customerCommunicationUsagePoint.smsSent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3352
- "spend": n => { customerCommunicationUsagePoint.spend = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3350
+ "smsReceived": n => { customerCommunicationUsagePoint.smsReceived = n.getNumberValue(); },
3351
+ "smsSent": n => { customerCommunicationUsagePoint.smsSent = n.getNumberValue(); },
3352
+ "spend": n => { customerCommunicationUsagePoint.spend = n.getNumberValue(); },
3353
3353
  "startAt": n => { customerCommunicationUsagePoint.startAt = n.getDateValue(); },
3354
3354
  };
3355
3355
  }
@@ -3375,8 +3375,8 @@ export function deserializeIntoCustomerFailingAutomation(customerFailingAutomati
3375
3375
  // @ts-ignore
3376
3376
  export function deserializeIntoCustomerLeadSourceBreakdown(customerLeadSourceBreakdown = {}) {
3377
3377
  return {
3378
- "leads": n => { customerLeadSourceBreakdown.leads = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3379
- "percent": n => { customerLeadSourceBreakdown.percent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3378
+ "leads": n => { customerLeadSourceBreakdown.leads = n.getNumberValue(); },
3379
+ "percent": n => { customerLeadSourceBreakdown.percent = n.getNumberValue(); },
3380
3380
  "source": n => { customerLeadSourceBreakdown.source = n.getStringValue(); },
3381
3381
  };
3382
3382
  }
@@ -3390,7 +3390,7 @@ export function deserializeIntoCustomerLeadTrend(customerLeadTrend = {}) {
3390
3390
  return {
3391
3391
  "comparison": n => { customerLeadTrend.comparison = n.getObjectValue(createAnalyticsComparisonFromDiscriminatorValue); },
3392
3392
  "points": n => { customerLeadTrend.points = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
3393
- "total": n => { customerLeadTrend.total = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3393
+ "total": n => { customerLeadTrend.total = n.getNumberValue(); },
3394
3394
  };
3395
3395
  }
3396
3396
  /**
@@ -3416,14 +3416,14 @@ export function deserializeIntoCustomerNeedsAttentionItem(customerNeedsAttention
3416
3416
  // @ts-ignore
3417
3417
  export function deserializeIntoCustomerResponseMetrics(customerResponseMetrics = {}) {
3418
3418
  return {
3419
- "averageMinutes": n => { customerResponseMetrics.averageMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3419
+ "averageMinutes": n => { customerResponseMetrics.averageMinutes = n.getNumberValue(); },
3420
3420
  "averageMinutesTrend": n => { customerResponseMetrics.averageMinutesTrend = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfdecimalFromDiscriminatorValue); },
3421
- "medianMinutes": n => { customerResponseMetrics.medianMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3422
- "missedCalls": n => { customerResponseMetrics.missedCalls = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3423
- "respondedLeads": n => { customerResponseMetrics.respondedLeads = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3424
- "respondedWithinFiveMinutesPercent": n => { customerResponseMetrics.respondedWithinFiveMinutesPercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3425
- "unreadMessages": n => { customerResponseMetrics.unreadMessages = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3426
- "unrespondedLeads": n => { customerResponseMetrics.unrespondedLeads = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3421
+ "medianMinutes": n => { customerResponseMetrics.medianMinutes = n.getNumberValue(); },
3422
+ "missedCalls": n => { customerResponseMetrics.missedCalls = n.getNumberValue(); },
3423
+ "respondedLeads": n => { customerResponseMetrics.respondedLeads = n.getNumberValue(); },
3424
+ "respondedWithinFiveMinutesPercent": n => { customerResponseMetrics.respondedWithinFiveMinutesPercent = n.getNumberValue(); },
3425
+ "unreadMessages": n => { customerResponseMetrics.unreadMessages = n.getNumberValue(); },
3426
+ "unrespondedLeads": n => { customerResponseMetrics.unrespondedLeads = n.getNumberValue(); },
3427
3427
  };
3428
3428
  }
3429
3429
  /**
@@ -3514,7 +3514,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
3514
3514
  "actorDisplayName": n => { eventTableRow.actorDisplayName = n.getStringValue(); },
3515
3515
  "actorEmail": n => { eventTableRow.actorEmail = n.getStringValue(); },
3516
3516
  "actorUserId": n => { eventTableRow.actorUserId = n.getStringValue(); },
3517
- "billableAmount": n => { eventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3517
+ "billableAmount": n => { eventTableRow.billableAmount = n.getNumberValue(); },
3518
3518
  "billingStatus": n => { eventTableRow.billingStatus = n.getStringValue(); },
3519
3519
  "blockedAt": n => { eventTableRow.blockedAt = n.getDateValue(); },
3520
3520
  "campaignId": n => { eventTableRow.campaignId = n.getStringValue(); },
@@ -3542,7 +3542,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
3542
3542
  "receivedAt": n => { eventTableRow.receivedAt = n.getDateValue(); },
3543
3543
  "relatedEntityId": n => { eventTableRow.relatedEntityId = n.getStringValue(); },
3544
3544
  "relatedEntityType": n => { eventTableRow.relatedEntityType = n.getStringValue(); },
3545
- "retryCount": n => { eventTableRow.retryCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3545
+ "retryCount": n => { eventTableRow.retryCount = n.getNumberValue(); },
3546
3546
  "scheduledFor": n => { eventTableRow.scheduledFor = n.getDateValue(); },
3547
3547
  "scheduledReason": n => { eventTableRow.scheduledReason = n.getStringValue(); },
3548
3548
  "selectionReason": n => { eventTableRow.selectionReason = n.getEnumValue(EventTableRow_selectionReasonObject); },
@@ -3739,7 +3739,7 @@ export function deserializeIntoLeadIntakeRequest(leadIntakeRequest = {}) {
3739
3739
  "birthDate": n => { leadIntakeRequest.birthDate = n.getDateOnlyValue(); },
3740
3740
  "city": n => { leadIntakeRequest.city = n.getStringValue(); },
3741
3741
  "dateOfBirth": n => { leadIntakeRequest.dateOfBirth = n.getDateOnlyValue(); },
3742
- "directPostPrice": n => { leadIntakeRequest.directPostPrice = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3742
+ "directPostPrice": n => { leadIntakeRequest.directPostPrice = n.getNumberValue(); },
3743
3743
  "email": n => { leadIntakeRequest.email = n.getStringValue(); },
3744
3744
  "externalId": n => { leadIntakeRequest.externalId = n.getStringValue(); },
3745
3745
  "firstName": n => { leadIntakeRequest.firstName = n.getStringValue(); },
@@ -3749,7 +3749,7 @@ export function deserializeIntoLeadIntakeRequest(leadIntakeRequest = {}) {
3749
3749
  "phone": n => { leadIntakeRequest.phone = n.getStringValue(); },
3750
3750
  "phoneType": n => { leadIntakeRequest.phoneType = n.getStringValue(); },
3751
3751
  "postalCode": n => { leadIntakeRequest.postalCode = n.getStringValue(); },
3752
- "price": n => { leadIntakeRequest.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3752
+ "price": n => { leadIntakeRequest.price = n.getNumberValue(); },
3753
3753
  "product": n => { leadIntakeRequest.product = n.getStringValue(); },
3754
3754
  "referrer": n => { leadIntakeRequest.referrer = n.getStringValue(); },
3755
3755
  "sellerLeadId": n => { leadIntakeRequest.sellerLeadId = n.getStringValue(); },
@@ -3790,7 +3790,7 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
3790
3790
  "complianceBlockedReason": n => { leadMetadata.complianceBlockedReason = n.getStringValue(); },
3791
3791
  "complianceStatus": n => { leadMetadata.complianceStatus = n.getStringValue(); },
3792
3792
  "createdAt": n => { leadMetadata.createdAt = n.getDateValue(); },
3793
- "directPostPrice": n => { leadMetadata.directPostPrice = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3793
+ "directPostPrice": n => { leadMetadata.directPostPrice = n.getNumberValue(); },
3794
3794
  "externalId": n => { leadMetadata.externalId = n.getStringValue(); },
3795
3795
  "importBatchId": n => { leadMetadata.importBatchId = n.getStringValue(); },
3796
3796
  "ipAddress": n => { leadMetadata.ipAddress = n.getStringValue(); },
@@ -3798,7 +3798,7 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
3798
3798
  "landingPage": n => { leadMetadata.landingPage = n.getStringValue(); },
3799
3799
  "organizationId": n => { leadMetadata.organizationId = n.getStringValue(); },
3800
3800
  "origin": n => { leadMetadata.origin = n.getStringValue(); },
3801
- "price": n => { leadMetadata.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3801
+ "price": n => { leadMetadata.price = n.getNumberValue(); },
3802
3802
  "product": n => { leadMetadata.product = n.getStringValue(); },
3803
3803
  "pubId": n => { leadMetadata.pubId = n.getStringValue(); },
3804
3804
  "referrer": n => { leadMetadata.referrer = n.getStringValue(); },
@@ -3841,18 +3841,18 @@ export function deserializeIntoLeadMetadata_sourceMetadata(leadMetadata_sourceMe
3841
3841
  export function deserializeIntoLeadProfile(leadProfile = {}) {
3842
3842
  return {
3843
3843
  "birthDate": n => { leadProfile.birthDate = n.getDateOnlyValue(); },
3844
- "creditScore": n => { leadProfile.creditScore = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3844
+ "creditScore": n => { leadProfile.creditScore = n.getNumberValue(); },
3845
3845
  "employmentType": n => { leadProfile.employmentType = n.getEnumValue(LeadProfile_employmentTypeObject); },
3846
3846
  "gender": n => { leadProfile.gender = n.getEnumValue(LeadProfile_genderObject); },
3847
3847
  "hasBankruptcy": n => { leadProfile.hasBankruptcy = n.getBooleanValue(); },
3848
3848
  "hasMedicalCondition": n => { leadProfile.hasMedicalCondition = n.getBooleanValue(); },
3849
- "height": n => { leadProfile.height = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3850
- "income": n => { leadProfile.income = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3849
+ "height": n => { leadProfile.height = n.getNumberValue(); },
3850
+ "income": n => { leadProfile.income = n.getNumberValue(); },
3851
3851
  "isHomeowner": n => { leadProfile.isHomeowner = n.getBooleanValue(); },
3852
3852
  "maritalStatus": n => { leadProfile.maritalStatus = n.getEnumValue(LeadProfile_maritalStatusObject); },
3853
- "monthsAtResidence": n => { leadProfile.monthsAtResidence = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3854
- "numberOfDependents": n => { leadProfile.numberOfDependents = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3855
- "weight": n => { leadProfile.weight = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3853
+ "monthsAtResidence": n => { leadProfile.monthsAtResidence = n.getNumberValue(); },
3854
+ "numberOfDependents": n => { leadProfile.numberOfDependents = n.getNumberValue(); },
3855
+ "weight": n => { leadProfile.weight = n.getNumberValue(); },
3856
3856
  };
3857
3857
  }
3858
3858
  /**
@@ -4052,7 +4052,7 @@ export function deserializeIntoLeadStatusRequest(leadStatusRequest = {}) {
4052
4052
  "category": n => { leadStatusRequest.category = n.getEnumValue(LeadStatusRequest_categoryObject); },
4053
4053
  "color": n => { leadStatusRequest.color = n.getStringValue(); },
4054
4054
  "name": n => { leadStatusRequest.name = n.getStringValue(); },
4055
- "sortOrder": n => { leadStatusRequest.sortOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4055
+ "sortOrder": n => { leadStatusRequest.sortOrder = n.getNumberValue(); },
4056
4056
  };
4057
4057
  }
4058
4058
  /**
@@ -4070,7 +4070,7 @@ export function deserializeIntoLeadStatusResponse(leadStatusResponse = {}) {
4070
4070
  "modifiedAt": n => { leadStatusResponse.modifiedAt = n.getDateValue(); },
4071
4071
  "name": n => { leadStatusResponse.name = n.getStringValue(); },
4072
4072
  "organizationId": n => { leadStatusResponse.organizationId = n.getStringValue(); },
4073
- "sortOrder": n => { leadStatusResponse.sortOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4073
+ "sortOrder": n => { leadStatusResponse.sortOrder = n.getNumberValue(); },
4074
4074
  };
4075
4075
  }
4076
4076
  /**
@@ -4094,7 +4094,7 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
4094
4094
  "lastName": n => { leadTableRow.lastName = n.getStringValue(); },
4095
4095
  "organization": n => { leadTableRow.organization = n.getObjectValue(createLeadTableRow_organizationFromDiscriminatorValue); },
4096
4096
  "phone": n => { leadTableRow.phone = n.getStringValue(); },
4097
- "price": n => { leadTableRow.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4097
+ "price": n => { leadTableRow.price = n.getNumberValue(); },
4098
4098
  "processingStatus": n => { leadTableRow.processingStatus = n.getEnumValue(LeadTableRow_processingStatusObject); },
4099
4099
  "processingStatusChangedAt": n => { leadTableRow.processingStatusChangedAt = n.getDateValue(); },
4100
4100
  "processingStatusReason": n => { leadTableRow.processingStatusReason = n.getStringValue(); },
@@ -4162,7 +4162,7 @@ export function deserializeIntoMessageMediaAttachment(messageMediaAttachment = {
4162
4162
  "contentType": n => { messageMediaAttachment.contentType = n.getStringValue(); },
4163
4163
  "fileName": n => { messageMediaAttachment.fileName = n.getStringValue(); },
4164
4164
  "sha256": n => { messageMediaAttachment.sha256 = n.getStringValue(); },
4165
- "size": n => { messageMediaAttachment.size = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4165
+ "size": n => { messageMediaAttachment.size = n.getNumberValue(); },
4166
4166
  "url": n => { messageMediaAttachment.url = n.getStringValue(); },
4167
4167
  };
4168
4168
  }
@@ -4250,7 +4250,7 @@ export function deserializeIntoOrderByOption(orderByOption = {}) {
4250
4250
  export function deserializeIntoOrganizationActivationState(organizationActivationState = {}) {
4251
4251
  return {
4252
4252
  "activatedAt": n => { organizationActivationState.activatedAt = n.getDateValue(); },
4253
- "availableDomainCount": n => { organizationActivationState.availableDomainCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4253
+ "availableDomainCount": n => { organizationActivationState.availableDomainCount = n.getNumberValue(); },
4254
4254
  "billingSubscriptionStatus": n => { organizationActivationState.billingSubscriptionStatus = n.getEnumValue(ActivationSubscriptionStatusObject); },
4255
4255
  "complianceNotes": n => { organizationActivationState.complianceNotes = n.getStringValue(); },
4256
4256
  "controlledLaunch": n => { organizationActivationState.controlledLaunch = n.getBooleanValue(); },
@@ -4259,7 +4259,7 @@ export function deserializeIntoOrganizationActivationState(organizationActivatio
4259
4259
  "domainApprovedAt": n => { organizationActivationState.domainApprovedAt = n.getDateValue(); },
4260
4260
  "domainOptions": n => { organizationActivationState.domainOptions = n.getCollectionOfObjectValues(createActivationDomainOptionFromDiscriminatorValue); },
4261
4261
  "domainPurchasedAt": n => { organizationActivationState.domainPurchasedAt = n.getDateValue(); },
4262
- "domainSearchAttempt": n => { organizationActivationState.domainSearchAttempt = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4262
+ "domainSearchAttempt": n => { organizationActivationState.domainSearchAttempt = n.getNumberValue(); },
4263
4263
  "domainSearchId": n => { organizationActivationState.domainSearchId = n.getStringValue(); },
4264
4264
  "domainSearchStage": n => { organizationActivationState.domainSearchStage = n.getEnumValue(OrganizationActivationState_domainSearchStageObject); },
4265
4265
  "domainSearchUpdatedAt": n => { organizationActivationState.domainSearchUpdatedAt = n.getDateValue(); },
@@ -4320,10 +4320,10 @@ export function deserializeIntoOrganizationBillingState(organizationBillingState
4320
4320
  "hasStripeCustomer": n => { organizationBillingState.hasStripeCustomer = n.getBooleanValue(); },
4321
4321
  "lastPaymentMethodEventAt": n => { organizationBillingState.lastPaymentMethodEventAt = n.getDateValue(); },
4322
4322
  "lastSubscriptionEventAt": n => { organizationBillingState.lastSubscriptionEventAt = n.getDateValue(); },
4323
- "organizationMemberAssignedQuantity": n => { organizationBillingState.organizationMemberAssignedQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4324
- "organizationMemberQuantity": n => { organizationBillingState.organizationMemberQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4323
+ "organizationMemberAssignedQuantity": n => { organizationBillingState.organizationMemberAssignedQuantity = n.getNumberValue(); },
4324
+ "organizationMemberQuantity": n => { organizationBillingState.organizationMemberQuantity = n.getNumberValue(); },
4325
4325
  "pendingBillingPlan": n => { organizationBillingState.pendingBillingPlan = n.getEnumValue(OrganizationBillingState_pendingBillingPlanObject); },
4326
- "phoneNumberQuantity": n => { organizationBillingState.phoneNumberQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4326
+ "phoneNumberQuantity": n => { organizationBillingState.phoneNumberQuantity = n.getNumberValue(); },
4327
4327
  "planPeriodStartAt": n => { organizationBillingState.planPeriodStartAt = n.getDateValue(); },
4328
4328
  "planRenewalAt": n => { organizationBillingState.planRenewalAt = n.getDateValue(); },
4329
4329
  };
@@ -4373,7 +4373,7 @@ export function deserializeIntoOrganizationDunningInfo(organizationDunningInfo =
4373
4373
  "outboundRestrictedAt": n => { organizationDunningInfo.outboundRestrictedAt = n.getDateValue(); },
4374
4374
  "outboundSuspendedAt": n => { organizationDunningInfo.outboundSuspendedAt = n.getDateValue(); },
4375
4375
  "paymentFailedAt": n => { organizationDunningInfo.paymentFailedAt = n.getDateValue(); },
4376
- "retryAttemptCount": n => { organizationDunningInfo.retryAttemptCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4376
+ "retryAttemptCount": n => { organizationDunningInfo.retryAttemptCount = n.getNumberValue(); },
4377
4377
  "stage": n => { organizationDunningInfo.stage = n.getStringValue(); },
4378
4378
  };
4379
4379
  }
@@ -4404,7 +4404,7 @@ export function deserializeIntoOrganizationInvitationResponse(organizationInvita
4404
4404
  "id": n => { organizationInvitationResponse.id = n.getStringValue(); },
4405
4405
  "licenseActivatedAt": n => { organizationInvitationResponse.licenseActivatedAt = n.getDateValue(); },
4406
4406
  "licenseBillingStatus": n => { organizationInvitationResponse.licenseBillingStatus = n.getStringValue(); },
4407
- "licenseQuantity": n => { organizationInvitationResponse.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4407
+ "licenseQuantity": n => { organizationInvitationResponse.licenseQuantity = n.getNumberValue(); },
4408
4408
  "licenseReleasedAt": n => { organizationInvitationResponse.licenseReleasedAt = n.getDateValue(); },
4409
4409
  "licenseRenewalDate": n => { organizationInvitationResponse.licenseRenewalDate = n.getDateValue(); },
4410
4410
  "organization": n => { organizationInvitationResponse.organization = n.getObjectValue(createIdNamePairFromDiscriminatorValue); },
@@ -4432,7 +4432,7 @@ export function deserializeIntoOrganizationInvitationTableRow(organizationInvita
4432
4432
  "id": n => { organizationInvitationTableRow.id = n.getStringValue(); },
4433
4433
  "licenseActivatedAt": n => { organizationInvitationTableRow.licenseActivatedAt = n.getDateValue(); },
4434
4434
  "licenseBillingStatus": n => { organizationInvitationTableRow.licenseBillingStatus = n.getStringValue(); },
4435
- "licenseQuantity": n => { organizationInvitationTableRow.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4435
+ "licenseQuantity": n => { organizationInvitationTableRow.licenseQuantity = n.getNumberValue(); },
4436
4436
  "licenseReleasedAt": n => { organizationInvitationTableRow.licenseReleasedAt = n.getDateValue(); },
4437
4437
  "licenseRenewalDate": n => { organizationInvitationTableRow.licenseRenewalDate = n.getDateValue(); },
4438
4438
  "organization": n => { organizationInvitationTableRow.organization = n.getObjectValue(createIdNamePairFromDiscriminatorValue); },
@@ -4470,7 +4470,7 @@ export function deserializeIntoOrganizationMemberResponse(organizationMemberResp
4470
4470
  "id": n => { organizationMemberResponse.id = n.getStringValue(); },
4471
4471
  "lastUsedAt": n => { organizationMemberResponse.lastUsedAt = n.getDateValue(); },
4472
4472
  "licenseBillingStatus": n => { organizationMemberResponse.licenseBillingStatus = n.getStringValue(); },
4473
- "licenseQuantity": n => { organizationMemberResponse.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4473
+ "licenseQuantity": n => { organizationMemberResponse.licenseQuantity = n.getNumberValue(); },
4474
4474
  "licenseRenewalDate": n => { organizationMemberResponse.licenseRenewalDate = n.getDateValue(); },
4475
4475
  "modifiedAt": n => { organizationMemberResponse.modifiedAt = n.getDateValue(); },
4476
4476
  "name": n => { organizationMemberResponse.name = n.getStringValue(); },
@@ -4508,9 +4508,9 @@ export function deserializeIntoOrganizationMemberTableRow(organizationMemberTabl
4508
4508
  export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
4509
4509
  return {
4510
4510
  "address": n => { organizationRequest.address = n.getObjectValue(createOrganizationRequest_addressFromDiscriminatorValue); },
4511
- "autoRefillAmount": n => { organizationRequest.autoRefillAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4511
+ "autoRefillAmount": n => { organizationRequest.autoRefillAmount = n.getNumberValue(); },
4512
4512
  "autoRefillEnabled": n => { organizationRequest.autoRefillEnabled = n.getBooleanValue(); },
4513
- "autoRefillTrigger": n => { organizationRequest.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4513
+ "autoRefillTrigger": n => { organizationRequest.autoRefillTrigger = n.getNumberValue(); },
4514
4514
  "billingAddress": n => { organizationRequest.billingAddress = n.getObjectValue(createOrganizationRequest_billingAddressFromDiscriminatorValue); },
4515
4515
  "billingName": n => { organizationRequest.billingName = n.getStringValue(); },
4516
4516
  "billingTaxId": n => { organizationRequest.billingTaxId = n.getStringValue(); },
@@ -4582,12 +4582,12 @@ export function deserializeIntoOrganizationRequest_einDocument(organizationReque
4582
4582
  // @ts-ignore
4583
4583
  export function deserializeIntoOrganizationResponse(organizationResponse = {}) {
4584
4584
  return {
4585
- "accountBalance": n => { organizationResponse.accountBalance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4585
+ "accountBalance": n => { organizationResponse.accountBalance = n.getNumberValue(); },
4586
4586
  "activation": n => { organizationResponse.activation = n.getObjectValue(createOrganizationResponse_activationFromDiscriminatorValue); },
4587
4587
  "address": n => { organizationResponse.address = n.getObjectValue(createOrganizationResponse_addressFromDiscriminatorValue); },
4588
- "autoRefillAmount": n => { organizationResponse.autoRefillAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4588
+ "autoRefillAmount": n => { organizationResponse.autoRefillAmount = n.getNumberValue(); },
4589
4589
  "autoRefillEnabled": n => { organizationResponse.autoRefillEnabled = n.getBooleanValue(); },
4590
- "autoRefillTrigger": n => { organizationResponse.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4590
+ "autoRefillTrigger": n => { organizationResponse.autoRefillTrigger = n.getNumberValue(); },
4591
4591
  "billingAddress": n => { organizationResponse.billingAddress = n.getObjectValue(createOrganizationResponse_billingAddressFromDiscriminatorValue); },
4592
4592
  "billingName": n => { organizationResponse.billingName = n.getStringValue(); },
4593
4593
  "billingPlan": n => { organizationResponse.billingPlan = n.getEnumValue(OrganizationResponse_billingPlanObject); },
@@ -4745,7 +4745,7 @@ export function deserializeIntoOrganizationSwitchRequest(organizationSwitchReque
4745
4745
  // @ts-ignore
4746
4746
  export function deserializeIntoOrganizationTableRow(organizationTableRow = {}) {
4747
4747
  return {
4748
- "accountBalance": n => { organizationTableRow.accountBalance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4748
+ "accountBalance": n => { organizationTableRow.accountBalance = n.getNumberValue(); },
4749
4749
  "activationStatus": n => { organizationTableRow.activationStatus = n.getEnumValue(OrganizationTableRow_activationStatusObject); },
4750
4750
  "apiKeyExpiresAt": n => { organizationTableRow.apiKeyExpiresAt = n.getDateValue(); },
4751
4751
  "apiKeyFirstUsedAt": n => { organizationTableRow.apiKeyFirstUsedAt = n.getDateValue(); },
@@ -4753,7 +4753,7 @@ export function deserializeIntoOrganizationTableRow(organizationTableRow = {}) {
4753
4753
  "apiKeyLastUsedAt": n => { organizationTableRow.apiKeyLastUsedAt = n.getDateValue(); },
4754
4754
  "apiKeyPermissions": n => { organizationTableRow.apiKeyPermissions = n.getCollectionOfPrimitiveValues("string"); },
4755
4755
  "apiKeyPreview": n => { organizationTableRow.apiKeyPreview = n.getStringValue(); },
4756
- "apiKeyTotalUses": n => { organizationTableRow.apiKeyTotalUses = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4756
+ "apiKeyTotalUses": n => { organizationTableRow.apiKeyTotalUses = n.getNumberValue(); },
4757
4757
  "billingPlan": n => { organizationTableRow.billingPlan = n.getEnumValue(OrganizationTableRow_billingPlanObject); },
4758
4758
  "enabled": n => { organizationTableRow.enabled = n.getBooleanValue(); },
4759
4759
  "id": n => { organizationTableRow.id = n.getStringValue(); },
@@ -4770,7 +4770,7 @@ export function deserializeIntoOrganizationTableRow(organizationTableRow = {}) {
4770
4770
  "subscriptionCancelAt": n => { organizationTableRow.subscriptionCancelAt = n.getDateValue(); },
4771
4771
  "subscriptionStatus": n => { organizationTableRow.subscriptionStatus = n.getEnumValue(OrganizationTableRow_subscriptionStatusObject); },
4772
4772
  "tenDlcStatus": n => { organizationTableRow.tenDlcStatus = n.getEnumValue(OrganizationTableRow_tenDlcStatusObject); },
4773
- "userCount": n => { organizationTableRow.userCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4773
+ "userCount": n => { organizationTableRow.userCount = n.getNumberValue(); },
4774
4774
  "website": n => { organizationTableRow.website = n.getStringValue(); },
4775
4775
  "websiteStatus": n => { organizationTableRow.websiteStatus = n.getEnumValue(OrganizationTableRow_websiteStatusObject); },
4776
4776
  };
@@ -4794,16 +4794,16 @@ export function deserializeIntoOrganizationTableRow_organization(organizationTab
4794
4794
  // @ts-ignore
4795
4795
  export function deserializeIntoOutboundCapacityOverview(outboundCapacityOverview = {}) {
4796
4796
  return {
4797
- "blockedCount": n => { outboundCapacityOverview.blockedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4798
- "coolingPhoneNumbers": n => { outboundCapacityOverview.coolingPhoneNumbers = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4799
- "healthyPhoneNumbers": n => { outboundCapacityOverview.healthyPhoneNumbers = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4800
- "limitedPhoneNumbers": n => { outboundCapacityOverview.limitedPhoneNumbers = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4797
+ "blockedCount": n => { outboundCapacityOverview.blockedCount = n.getNumberValue(); },
4798
+ "coolingPhoneNumbers": n => { outboundCapacityOverview.coolingPhoneNumbers = n.getNumberValue(); },
4799
+ "healthyPhoneNumbers": n => { outboundCapacityOverview.healthyPhoneNumbers = n.getNumberValue(); },
4800
+ "limitedPhoneNumbers": n => { outboundCapacityOverview.limitedPhoneNumbers = n.getNumberValue(); },
4801
4801
  "phoneNumbers": n => { outboundCapacityOverview.phoneNumbers = n.getCollectionOfObjectValues(createOutboundPhoneNumberCapacityFromDiscriminatorValue); },
4802
- "rampingPhoneNumbers": n => { outboundCapacityOverview.rampingPhoneNumbers = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4802
+ "rampingPhoneNumbers": n => { outboundCapacityOverview.rampingPhoneNumbers = n.getNumberValue(); },
4803
4803
  "recentDecisions": n => { outboundCapacityOverview.recentDecisions = n.getCollectionOfObjectValues(createOutboundQueueItemFromDiscriminatorValue); },
4804
- "scheduledCount": n => { outboundCapacityOverview.scheduledCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4805
- "smsCapacityRemainingToday": n => { outboundCapacityOverview.smsCapacityRemainingToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4806
- "voiceCapacityRemainingToday": n => { outboundCapacityOverview.voiceCapacityRemainingToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4804
+ "scheduledCount": n => { outboundCapacityOverview.scheduledCount = n.getNumberValue(); },
4805
+ "smsCapacityRemainingToday": n => { outboundCapacityOverview.smsCapacityRemainingToday = n.getNumberValue(); },
4806
+ "voiceCapacityRemainingToday": n => { outboundCapacityOverview.voiceCapacityRemainingToday = n.getNumberValue(); },
4807
4807
  };
4808
4808
  }
4809
4809
  /**
@@ -4822,30 +4822,30 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
4822
4822
  "smsApproved": n => { outboundPhoneNumberCapacity.smsApproved = n.getBooleanValue(); },
4823
4823
  "smsDailyResetsAt": n => { outboundPhoneNumberCapacity.smsDailyResetsAt = n.getDateValue(); },
4824
4824
  "smsHourlyResetsAt": n => { outboundPhoneNumberCapacity.smsHourlyResetsAt = n.getDateValue(); },
4825
- "smsLimitThisHour": n => { outboundPhoneNumberCapacity.smsLimitThisHour = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4826
- "smsLimitThisMinute": n => { outboundPhoneNumberCapacity.smsLimitThisMinute = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4827
- "smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4825
+ "smsLimitThisHour": n => { outboundPhoneNumberCapacity.smsLimitThisHour = n.getNumberValue(); },
4826
+ "smsLimitThisMinute": n => { outboundPhoneNumberCapacity.smsLimitThisMinute = n.getNumberValue(); },
4827
+ "smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
4828
4828
  "smsMinutelyResetsAt": n => { outboundPhoneNumberCapacity.smsMinutelyResetsAt = n.getDateValue(); },
4829
4829
  "smsRamping": n => { outboundPhoneNumberCapacity.smsRamping = n.getBooleanValue(); },
4830
- "smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4831
- "smsRemainingThisMinute": n => { outboundPhoneNumberCapacity.smsRemainingThisMinute = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4832
- "smsRemainingToday": n => { outboundPhoneNumberCapacity.smsRemainingToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4833
- "smsUsedThisHour": n => { outboundPhoneNumberCapacity.smsUsedThisHour = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4834
- "smsUsedThisMinute": n => { outboundPhoneNumberCapacity.smsUsedThisMinute = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4835
- "smsUsedToday": n => { outboundPhoneNumberCapacity.smsUsedToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4830
+ "smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
4831
+ "smsRemainingThisMinute": n => { outboundPhoneNumberCapacity.smsRemainingThisMinute = n.getNumberValue(); },
4832
+ "smsRemainingToday": n => { outboundPhoneNumberCapacity.smsRemainingToday = n.getNumberValue(); },
4833
+ "smsUsedThisHour": n => { outboundPhoneNumberCapacity.smsUsedThisHour = n.getNumberValue(); },
4834
+ "smsUsedThisMinute": n => { outboundPhoneNumberCapacity.smsUsedThisMinute = n.getNumberValue(); },
4835
+ "smsUsedToday": n => { outboundPhoneNumberCapacity.smsUsedToday = n.getNumberValue(); },
4836
4836
  "voiceDailyResetsAt": n => { outboundPhoneNumberCapacity.voiceDailyResetsAt = n.getDateValue(); },
4837
4837
  "voiceHourlyResetsAt": n => { outboundPhoneNumberCapacity.voiceHourlyResetsAt = n.getDateValue(); },
4838
- "voiceLimitThisHour": n => { outboundPhoneNumberCapacity.voiceLimitThisHour = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4839
- "voiceLimitThisMinute": n => { outboundPhoneNumberCapacity.voiceLimitThisMinute = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4840
- "voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4838
+ "voiceLimitThisHour": n => { outboundPhoneNumberCapacity.voiceLimitThisHour = n.getNumberValue(); },
4839
+ "voiceLimitThisMinute": n => { outboundPhoneNumberCapacity.voiceLimitThisMinute = n.getNumberValue(); },
4840
+ "voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
4841
4841
  "voiceMinutelyResetsAt": n => { outboundPhoneNumberCapacity.voiceMinutelyResetsAt = n.getDateValue(); },
4842
4842
  "voiceRamping": n => { outboundPhoneNumberCapacity.voiceRamping = n.getBooleanValue(); },
4843
- "voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4844
- "voiceRemainingThisMinute": n => { outboundPhoneNumberCapacity.voiceRemainingThisMinute = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4845
- "voiceRemainingToday": n => { outboundPhoneNumberCapacity.voiceRemainingToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4846
- "voiceUsedThisHour": n => { outboundPhoneNumberCapacity.voiceUsedThisHour = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4847
- "voiceUsedThisMinute": n => { outboundPhoneNumberCapacity.voiceUsedThisMinute = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4848
- "voiceUsedToday": n => { outboundPhoneNumberCapacity.voiceUsedToday = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4843
+ "voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
4844
+ "voiceRemainingThisMinute": n => { outboundPhoneNumberCapacity.voiceRemainingThisMinute = n.getNumberValue(); },
4845
+ "voiceRemainingToday": n => { outboundPhoneNumberCapacity.voiceRemainingToday = n.getNumberValue(); },
4846
+ "voiceUsedThisHour": n => { outboundPhoneNumberCapacity.voiceUsedThisHour = n.getNumberValue(); },
4847
+ "voiceUsedThisMinute": n => { outboundPhoneNumberCapacity.voiceUsedThisMinute = n.getNumberValue(); },
4848
+ "voiceUsedToday": n => { outboundPhoneNumberCapacity.voiceUsedToday = n.getNumberValue(); },
4849
4849
  };
4850
4850
  }
4851
4851
  /**
@@ -4929,8 +4929,8 @@ export function deserializeIntoPagedResultOfAutomationTableRow(pagedResultOfAuto
4929
4929
  return {
4930
4930
  "continuationToken": n => { pagedResultOfAutomationTableRow.continuationToken = n.getStringValue(); },
4931
4931
  "items": n => { pagedResultOfAutomationTableRow.items = n.getCollectionOfObjectValues(createAutomationTableRowFromDiscriminatorValue); },
4932
- "pageSize": n => { pagedResultOfAutomationTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4933
- "totalCount": n => { pagedResultOfAutomationTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4932
+ "pageSize": n => { pagedResultOfAutomationTableRow.pageSize = n.getNumberValue(); },
4933
+ "totalCount": n => { pagedResultOfAutomationTableRow.totalCount = n.getNumberValue(); },
4934
4934
  };
4935
4935
  }
4936
4936
  /**
@@ -4943,8 +4943,8 @@ export function deserializeIntoPagedResultOfCallEventTableRow(pagedResultOfCallE
4943
4943
  return {
4944
4944
  "continuationToken": n => { pagedResultOfCallEventTableRow.continuationToken = n.getStringValue(); },
4945
4945
  "items": n => { pagedResultOfCallEventTableRow.items = n.getCollectionOfObjectValues(createCallEventTableRowFromDiscriminatorValue); },
4946
- "pageSize": n => { pagedResultOfCallEventTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4947
- "totalCount": n => { pagedResultOfCallEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4946
+ "pageSize": n => { pagedResultOfCallEventTableRow.pageSize = n.getNumberValue(); },
4947
+ "totalCount": n => { pagedResultOfCallEventTableRow.totalCount = n.getNumberValue(); },
4948
4948
  };
4949
4949
  }
4950
4950
  /**
@@ -4957,8 +4957,8 @@ export function deserializeIntoPagedResultOfConversationResponse(pagedResultOfCo
4957
4957
  return {
4958
4958
  "continuationToken": n => { pagedResultOfConversationResponse.continuationToken = n.getStringValue(); },
4959
4959
  "items": n => { pagedResultOfConversationResponse.items = n.getCollectionOfObjectValues(createConversationResponseFromDiscriminatorValue); },
4960
- "pageSize": n => { pagedResultOfConversationResponse.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4961
- "totalCount": n => { pagedResultOfConversationResponse.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4960
+ "pageSize": n => { pagedResultOfConversationResponse.pageSize = n.getNumberValue(); },
4961
+ "totalCount": n => { pagedResultOfConversationResponse.totalCount = n.getNumberValue(); },
4962
4962
  };
4963
4963
  }
4964
4964
  /**
@@ -4971,8 +4971,8 @@ export function deserializeIntoPagedResultOfEventTableRow(pagedResultOfEventTabl
4971
4971
  return {
4972
4972
  "continuationToken": n => { pagedResultOfEventTableRow.continuationToken = n.getStringValue(); },
4973
4973
  "items": n => { pagedResultOfEventTableRow.items = n.getCollectionOfObjectValues(createEventTableRowFromDiscriminatorValue); },
4974
- "pageSize": n => { pagedResultOfEventTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4975
- "totalCount": n => { pagedResultOfEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4974
+ "pageSize": n => { pagedResultOfEventTableRow.pageSize = n.getNumberValue(); },
4975
+ "totalCount": n => { pagedResultOfEventTableRow.totalCount = n.getNumberValue(); },
4976
4976
  };
4977
4977
  }
4978
4978
  /**
@@ -4985,8 +4985,8 @@ export function deserializeIntoPagedResultOfLeadStatusChangeResponse(pagedResult
4985
4985
  return {
4986
4986
  "continuationToken": n => { pagedResultOfLeadStatusChangeResponse.continuationToken = n.getStringValue(); },
4987
4987
  "items": n => { pagedResultOfLeadStatusChangeResponse.items = n.getCollectionOfObjectValues(createLeadStatusChangeResponseFromDiscriminatorValue); },
4988
- "pageSize": n => { pagedResultOfLeadStatusChangeResponse.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4989
- "totalCount": n => { pagedResultOfLeadStatusChangeResponse.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4988
+ "pageSize": n => { pagedResultOfLeadStatusChangeResponse.pageSize = n.getNumberValue(); },
4989
+ "totalCount": n => { pagedResultOfLeadStatusChangeResponse.totalCount = n.getNumberValue(); },
4990
4990
  };
4991
4991
  }
4992
4992
  /**
@@ -4999,8 +4999,8 @@ export function deserializeIntoPagedResultOfLeadTableRow(pagedResultOfLeadTableR
4999
4999
  return {
5000
5000
  "continuationToken": n => { pagedResultOfLeadTableRow.continuationToken = n.getStringValue(); },
5001
5001
  "items": n => { pagedResultOfLeadTableRow.items = n.getCollectionOfObjectValues(createLeadTableRowFromDiscriminatorValue); },
5002
- "pageSize": n => { pagedResultOfLeadTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5003
- "totalCount": n => { pagedResultOfLeadTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5002
+ "pageSize": n => { pagedResultOfLeadTableRow.pageSize = n.getNumberValue(); },
5003
+ "totalCount": n => { pagedResultOfLeadTableRow.totalCount = n.getNumberValue(); },
5004
5004
  };
5005
5005
  }
5006
5006
  /**
@@ -5013,8 +5013,8 @@ export function deserializeIntoPagedResultOfNotificationTableRow(pagedResultOfNo
5013
5013
  return {
5014
5014
  "continuationToken": n => { pagedResultOfNotificationTableRow.continuationToken = n.getStringValue(); },
5015
5015
  "items": n => { pagedResultOfNotificationTableRow.items = n.getCollectionOfObjectValues(createNotificationTableRowFromDiscriminatorValue); },
5016
- "pageSize": n => { pagedResultOfNotificationTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5017
- "totalCount": n => { pagedResultOfNotificationTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5016
+ "pageSize": n => { pagedResultOfNotificationTableRow.pageSize = n.getNumberValue(); },
5017
+ "totalCount": n => { pagedResultOfNotificationTableRow.totalCount = n.getNumberValue(); },
5018
5018
  };
5019
5019
  }
5020
5020
  /**
@@ -5027,8 +5027,8 @@ export function deserializeIntoPagedResultOfOrganizationTableRow(pagedResultOfOr
5027
5027
  return {
5028
5028
  "continuationToken": n => { pagedResultOfOrganizationTableRow.continuationToken = n.getStringValue(); },
5029
5029
  "items": n => { pagedResultOfOrganizationTableRow.items = n.getCollectionOfObjectValues(createOrganizationTableRowFromDiscriminatorValue); },
5030
- "pageSize": n => { pagedResultOfOrganizationTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5031
- "totalCount": n => { pagedResultOfOrganizationTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5030
+ "pageSize": n => { pagedResultOfOrganizationTableRow.pageSize = n.getNumberValue(); },
5031
+ "totalCount": n => { pagedResultOfOrganizationTableRow.totalCount = n.getNumberValue(); },
5032
5032
  };
5033
5033
  }
5034
5034
  /**
@@ -5041,8 +5041,8 @@ export function deserializeIntoPagedResultOfPhoneNumberTableRow(pagedResultOfPho
5041
5041
  return {
5042
5042
  "continuationToken": n => { pagedResultOfPhoneNumberTableRow.continuationToken = n.getStringValue(); },
5043
5043
  "items": n => { pagedResultOfPhoneNumberTableRow.items = n.getCollectionOfObjectValues(createPhoneNumberTableRowFromDiscriminatorValue); },
5044
- "pageSize": n => { pagedResultOfPhoneNumberTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5045
- "totalCount": n => { pagedResultOfPhoneNumberTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5044
+ "pageSize": n => { pagedResultOfPhoneNumberTableRow.pageSize = n.getNumberValue(); },
5045
+ "totalCount": n => { pagedResultOfPhoneNumberTableRow.totalCount = n.getNumberValue(); },
5046
5046
  };
5047
5047
  }
5048
5048
  /**
@@ -5055,8 +5055,8 @@ export function deserializeIntoPagedResultOfSmsEventTableRow(pagedResultOfSmsEve
5055
5055
  return {
5056
5056
  "continuationToken": n => { pagedResultOfSmsEventTableRow.continuationToken = n.getStringValue(); },
5057
5057
  "items": n => { pagedResultOfSmsEventTableRow.items = n.getCollectionOfObjectValues(createSmsEventTableRowFromDiscriminatorValue); },
5058
- "pageSize": n => { pagedResultOfSmsEventTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5059
- "totalCount": n => { pagedResultOfSmsEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5058
+ "pageSize": n => { pagedResultOfSmsEventTableRow.pageSize = n.getNumberValue(); },
5059
+ "totalCount": n => { pagedResultOfSmsEventTableRow.totalCount = n.getNumberValue(); },
5060
5060
  };
5061
5061
  }
5062
5062
  /**
@@ -5069,8 +5069,8 @@ export function deserializeIntoPagedResultOfSourceTableRow(pagedResultOfSourceTa
5069
5069
  return {
5070
5070
  "continuationToken": n => { pagedResultOfSourceTableRow.continuationToken = n.getStringValue(); },
5071
5071
  "items": n => { pagedResultOfSourceTableRow.items = n.getCollectionOfObjectValues(createSourceTableRowFromDiscriminatorValue); },
5072
- "pageSize": n => { pagedResultOfSourceTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5073
- "totalCount": n => { pagedResultOfSourceTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5072
+ "pageSize": n => { pagedResultOfSourceTableRow.pageSize = n.getNumberValue(); },
5073
+ "totalCount": n => { pagedResultOfSourceTableRow.totalCount = n.getNumberValue(); },
5074
5074
  };
5075
5075
  }
5076
5076
  /**
@@ -5083,8 +5083,8 @@ export function deserializeIntoPagedResultOfSuppressionEntryResponse(pagedResult
5083
5083
  return {
5084
5084
  "continuationToken": n => { pagedResultOfSuppressionEntryResponse.continuationToken = n.getStringValue(); },
5085
5085
  "items": n => { pagedResultOfSuppressionEntryResponse.items = n.getCollectionOfObjectValues(createSuppressionEntryResponseFromDiscriminatorValue); },
5086
- "pageSize": n => { pagedResultOfSuppressionEntryResponse.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5087
- "totalCount": n => { pagedResultOfSuppressionEntryResponse.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5086
+ "pageSize": n => { pagedResultOfSuppressionEntryResponse.pageSize = n.getNumberValue(); },
5087
+ "totalCount": n => { pagedResultOfSuppressionEntryResponse.totalCount = n.getNumberValue(); },
5088
5088
  };
5089
5089
  }
5090
5090
  /**
@@ -5097,8 +5097,8 @@ export function deserializeIntoPagedResultOfTransactionTableRow(pagedResultOfTra
5097
5097
  return {
5098
5098
  "continuationToken": n => { pagedResultOfTransactionTableRow.continuationToken = n.getStringValue(); },
5099
5099
  "items": n => { pagedResultOfTransactionTableRow.items = n.getCollectionOfObjectValues(createTransactionTableRowFromDiscriminatorValue); },
5100
- "pageSize": n => { pagedResultOfTransactionTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5101
- "totalCount": n => { pagedResultOfTransactionTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5100
+ "pageSize": n => { pagedResultOfTransactionTableRow.pageSize = n.getNumberValue(); },
5101
+ "totalCount": n => { pagedResultOfTransactionTableRow.totalCount = n.getNumberValue(); },
5102
5102
  };
5103
5103
  }
5104
5104
  /**
@@ -5111,8 +5111,8 @@ export function deserializeIntoPagedResultOfUsageLedgerTableRow(pagedResultOfUsa
5111
5111
  return {
5112
5112
  "continuationToken": n => { pagedResultOfUsageLedgerTableRow.continuationToken = n.getStringValue(); },
5113
5113
  "items": n => { pagedResultOfUsageLedgerTableRow.items = n.getCollectionOfObjectValues(createUsageLedgerTableRowFromDiscriminatorValue); },
5114
- "pageSize": n => { pagedResultOfUsageLedgerTableRow.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5115
- "totalCount": n => { pagedResultOfUsageLedgerTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5114
+ "pageSize": n => { pagedResultOfUsageLedgerTableRow.pageSize = n.getNumberValue(); },
5115
+ "totalCount": n => { pagedResultOfUsageLedgerTableRow.totalCount = n.getNumberValue(); },
5116
5116
  };
5117
5117
  }
5118
5118
  /**
@@ -5137,7 +5137,7 @@ export function deserializeIntoPhone(phone = {}) {
5137
5137
  export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
5138
5138
  return {
5139
5139
  "answeredAt": n => { phoneCallResponse.answeredAt = n.getDateValue(); },
5140
- "billableAmount": n => { phoneCallResponse.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5140
+ "billableAmount": n => { phoneCallResponse.billableAmount = n.getNumberValue(); },
5141
5141
  "billingStatus": n => { phoneCallResponse.billingStatus = n.getStringValue(); },
5142
5142
  "callerId": n => { phoneCallResponse.callerId = n.getStringValue(); },
5143
5143
  "campaignId": n => { phoneCallResponse.campaignId = n.getStringValue(); },
@@ -5145,7 +5145,7 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
5145
5145
  "conversationId": n => { phoneCallResponse.conversationId = n.getStringValue(); },
5146
5146
  "createdAt": n => { phoneCallResponse.createdAt = n.getDateValue(); },
5147
5147
  "direction": n => { phoneCallResponse.direction = n.getStringValue(); },
5148
- "durationSeconds": n => { phoneCallResponse.durationSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5148
+ "durationSeconds": n => { phoneCallResponse.durationSeconds = n.getNumberValue(); },
5149
5149
  "endedAt": n => { phoneCallResponse.endedAt = n.getDateValue(); },
5150
5150
  "fromPhoneNumber": n => { phoneCallResponse.fromPhoneNumber = n.getStringValue(); },
5151
5151
  "fromPhoneNumberId": n => { phoneCallResponse.fromPhoneNumberId = n.getStringValue(); },
@@ -5175,7 +5175,7 @@ export function deserializeIntoPhoneIdentityLookupAction(phoneIdentityLookupActi
5175
5175
  "id": n => { phoneIdentityLookupAction.id = n.getStringValue(); },
5176
5176
  "occurredAt": n => { phoneIdentityLookupAction.occurredAt = n.getDateValue(); },
5177
5177
  "provider": n => { phoneIdentityLookupAction.provider = n.getStringValue(); },
5178
- "providerCostAmount": n => { phoneIdentityLookupAction.providerCostAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5178
+ "providerCostAmount": n => { phoneIdentityLookupAction.providerCostAmount = n.getNumberValue(); },
5179
5179
  "providerPricingVersion": n => { phoneIdentityLookupAction.providerPricingVersion = n.getStringValue(); },
5180
5180
  "status": n => { phoneIdentityLookupAction.status = n.getEnumValue(PhoneIdentityLookupActionStatusObject); },
5181
5181
  "type": n => { phoneIdentityLookupAction.type = n.getEnumValue(PhoneIdentityLookupActionTypeObject); },
@@ -5364,7 +5364,7 @@ export function deserializeIntoPhoneLookupProviderSnapshot(phoneLookupProviderSn
5364
5364
  "provider": n => { phoneLookupProviderSnapshot.provider = n.getStringValue(); },
5365
5365
  "rawRecordJson": n => { phoneLookupProviderSnapshot.rawRecordJson = n.getStringValue(); },
5366
5366
  "retrievedAt": n => { phoneLookupProviderSnapshot.retrievedAt = n.getDateValue(); },
5367
- "schemaVersion": n => { phoneLookupProviderSnapshot.schemaVersion = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5367
+ "schemaVersion": n => { phoneLookupProviderSnapshot.schemaVersion = n.getNumberValue(); },
5368
5368
  };
5369
5369
  }
5370
5370
  /**
@@ -5390,7 +5390,7 @@ export function deserializeIntoPhoneNumberAvailabilityResponse(phoneNumberAvaila
5390
5390
  "isAvailable": n => { phoneNumberAvailabilityResponse.isAvailable = n.getBooleanValue(); },
5391
5391
  "location": n => { phoneNumberAvailabilityResponse.location = n.getObjectValue(createPhoneNumberAvailabilityResponse_locationFromDiscriminatorValue); },
5392
5392
  "phoneNumber": n => { phoneNumberAvailabilityResponse.phoneNumber = n.getStringValue(); },
5393
- "price": n => { phoneNumberAvailabilityResponse.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5393
+ "price": n => { phoneNumberAvailabilityResponse.price = n.getNumberValue(); },
5394
5394
  };
5395
5395
  }
5396
5396
  /**
@@ -5483,10 +5483,10 @@ export function deserializeIntoPhoneNumberMessagingEventResponse(phoneNumberMess
5483
5483
  // @ts-ignore
5484
5484
  export function deserializeIntoPhoneNumberOptOutMetricsResponse(phoneNumberOptOutMetricsResponse = {}) {
5485
5485
  return {
5486
- "distinctContactedCount": n => { phoneNumberOptOutMetricsResponse.distinctContactedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5487
- "optOutCount": n => { phoneNumberOptOutMetricsResponse.optOutCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5488
- "optOutRatePercent": n => { phoneNumberOptOutMetricsResponse.optOutRatePercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5489
- "windowDays": n => { phoneNumberOptOutMetricsResponse.windowDays = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5486
+ "distinctContactedCount": n => { phoneNumberOptOutMetricsResponse.distinctContactedCount = n.getNumberValue(); },
5487
+ "optOutCount": n => { phoneNumberOptOutMetricsResponse.optOutCount = n.getNumberValue(); },
5488
+ "optOutRatePercent": n => { phoneNumberOptOutMetricsResponse.optOutRatePercent = n.getNumberValue(); },
5489
+ "windowDays": n => { phoneNumberOptOutMetricsResponse.windowDays = n.getNumberValue(); },
5490
5490
  "windowStartedAt": n => { phoneNumberOptOutMetricsResponse.windowStartedAt = n.getDateValue(); },
5491
5491
  };
5492
5492
  }
@@ -5500,9 +5500,9 @@ export function deserializeIntoPhoneNumberReadiness(phoneNumberReadiness = {}) {
5500
5500
  return {
5501
5501
  "callStage": n => { phoneNumberReadiness.callStage = n.getEnumValue(PhoneNumberReadiness_callStageObject); },
5502
5502
  "enabled": n => { phoneNumberReadiness.enabled = n.getBooleanValue(); },
5503
- "healthScore": n => { phoneNumberReadiness.healthScore = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5503
+ "healthScore": n => { phoneNumberReadiness.healthScore = n.getNumberValue(); },
5504
5504
  "healthStatus": n => { phoneNumberReadiness.healthStatus = n.getEnumValue(PhoneNumberReadiness_healthStatusObject); },
5505
- "progressPercent": n => { phoneNumberReadiness.progressPercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5505
+ "progressPercent": n => { phoneNumberReadiness.progressPercent = n.getNumberValue(); },
5506
5506
  "state": n => { phoneNumberReadiness.state = n.getEnumValue(PhoneNumberReadiness_stateObject); },
5507
5507
  };
5508
5508
  }
@@ -5634,8 +5634,8 @@ export function deserializeIntoPhoneNumberSearchResult_location(phoneNumberSearc
5634
5634
  // @ts-ignore
5635
5635
  export function deserializeIntoPhoneNumberStatusResponse(phoneNumberStatusResponse = {}) {
5636
5636
  return {
5637
- "callsPossible": n => { phoneNumberStatusResponse.callsPossible = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5638
- "messagesPossible": n => { phoneNumberStatusResponse.messagesPossible = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5637
+ "callsPossible": n => { phoneNumberStatusResponse.callsPossible = n.getNumberValue(); },
5638
+ "messagesPossible": n => { phoneNumberStatusResponse.messagesPossible = n.getNumberValue(); },
5639
5639
  "number": n => { phoneNumberStatusResponse.number = n.getStringValue(); },
5640
5640
  "optOutMetrics": n => { phoneNumberStatusResponse.optOutMetrics = n.getObjectValue(createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue); },
5641
5641
  "outboundCapacity": n => { phoneNumberStatusResponse.outboundCapacity = n.getObjectValue(createPhoneNumberStatusResponse_outboundCapacityFromDiscriminatorValue); },
@@ -5697,17 +5697,17 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
5697
5697
  // @ts-ignore
5698
5698
  export function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNumberTrafficMetricsResponse = {}) {
5699
5699
  return {
5700
- "callConnectedCount": n => { phoneNumberTrafficMetricsResponse.callConnectedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5701
- "callFailedCount": n => { phoneNumberTrafficMetricsResponse.callFailedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5702
- "callInvalidNumberCount": n => { phoneNumberTrafficMetricsResponse.callInvalidNumberCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5703
- "callPlacedCount": n => { phoneNumberTrafficMetricsResponse.callPlacedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5704
- "callShortCount": n => { phoneNumberTrafficMetricsResponse.callShortCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5705
- "mmsFailedCount": n => { phoneNumberTrafficMetricsResponse.mmsFailedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5706
- "mmsSentCount": n => { phoneNumberTrafficMetricsResponse.mmsSentCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5707
- "smsFailedCount": n => { phoneNumberTrafficMetricsResponse.smsFailedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5708
- "smsSentCount": n => { phoneNumberTrafficMetricsResponse.smsSentCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5700
+ "callConnectedCount": n => { phoneNumberTrafficMetricsResponse.callConnectedCount = n.getNumberValue(); },
5701
+ "callFailedCount": n => { phoneNumberTrafficMetricsResponse.callFailedCount = n.getNumberValue(); },
5702
+ "callInvalidNumberCount": n => { phoneNumberTrafficMetricsResponse.callInvalidNumberCount = n.getNumberValue(); },
5703
+ "callPlacedCount": n => { phoneNumberTrafficMetricsResponse.callPlacedCount = n.getNumberValue(); },
5704
+ "callShortCount": n => { phoneNumberTrafficMetricsResponse.callShortCount = n.getNumberValue(); },
5705
+ "mmsFailedCount": n => { phoneNumberTrafficMetricsResponse.mmsFailedCount = n.getNumberValue(); },
5706
+ "mmsSentCount": n => { phoneNumberTrafficMetricsResponse.mmsSentCount = n.getNumberValue(); },
5707
+ "smsFailedCount": n => { phoneNumberTrafficMetricsResponse.smsFailedCount = n.getNumberValue(); },
5708
+ "smsSentCount": n => { phoneNumberTrafficMetricsResponse.smsSentCount = n.getNumberValue(); },
5709
5709
  "trend": n => { phoneNumberTrafficMetricsResponse.trend = n.getCollectionOfObjectValues(createPhoneNumberTrafficTrendPointFromDiscriminatorValue); },
5710
- "windowDays": n => { phoneNumberTrafficMetricsResponse.windowDays = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5710
+ "windowDays": n => { phoneNumberTrafficMetricsResponse.windowDays = n.getNumberValue(); },
5711
5711
  "windowStartedAt": n => { phoneNumberTrafficMetricsResponse.windowStartedAt = n.getDateValue(); },
5712
5712
  };
5713
5713
  }
@@ -5719,14 +5719,14 @@ export function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNumberTraf
5719
5719
  // @ts-ignore
5720
5720
  export function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTrendPoint = {}) {
5721
5721
  return {
5722
- "callFailedCount": n => { phoneNumberTrafficTrendPoint.callFailedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5723
- "callPlacedCount": n => { phoneNumberTrafficTrendPoint.callPlacedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5722
+ "callFailedCount": n => { phoneNumberTrafficTrendPoint.callFailedCount = n.getNumberValue(); },
5723
+ "callPlacedCount": n => { phoneNumberTrafficTrendPoint.callPlacedCount = n.getNumberValue(); },
5724
5724
  "endAt": n => { phoneNumberTrafficTrendPoint.endAt = n.getDateValue(); },
5725
5725
  "label": n => { phoneNumberTrafficTrendPoint.label = n.getStringValue(); },
5726
- "mmsFailedCount": n => { phoneNumberTrafficTrendPoint.mmsFailedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5727
- "mmsSentCount": n => { phoneNumberTrafficTrendPoint.mmsSentCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5728
- "smsFailedCount": n => { phoneNumberTrafficTrendPoint.smsFailedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5729
- "smsSentCount": n => { phoneNumberTrafficTrendPoint.smsSentCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5726
+ "mmsFailedCount": n => { phoneNumberTrafficTrendPoint.mmsFailedCount = n.getNumberValue(); },
5727
+ "mmsSentCount": n => { phoneNumberTrafficTrendPoint.mmsSentCount = n.getNumberValue(); },
5728
+ "smsFailedCount": n => { phoneNumberTrafficTrendPoint.smsFailedCount = n.getNumberValue(); },
5729
+ "smsSentCount": n => { phoneNumberTrafficTrendPoint.smsSentCount = n.getNumberValue(); },
5730
5730
  "startAt": n => { phoneNumberTrafficTrendPoint.startAt = n.getDateValue(); },
5731
5731
  };
5732
5732
  }
@@ -5740,7 +5740,7 @@ export function deserializeIntoProblemDetails(problemDetails = {}) {
5740
5740
  return {
5741
5741
  "detail": n => { problemDetails.detail = n.getStringValue(); },
5742
5742
  "instance": n => { problemDetails.instance = n.getStringValue(); },
5743
- "status": n => { problemDetails.status = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5743
+ "status": n => { problemDetails.status = n.getNumberValue(); },
5744
5744
  "title": n => { problemDetails.title = n.getStringValue(); },
5745
5745
  "type": n => { problemDetails.type = n.getStringValue(); },
5746
5746
  };
@@ -5802,7 +5802,7 @@ export function deserializeIntoRequestDataOptions(requestDataOptions = {}) {
5802
5802
  "filters": n => { requestDataOptions.filters = n.getCollectionOfObjectValues(createExactMatchFilterFromDiscriminatorValue); },
5803
5803
  "includeCount": n => { requestDataOptions.includeCount = n.getBooleanValue(); },
5804
5804
  "orderBy": n => { requestDataOptions.orderBy = n.getCollectionOfObjectValues(createOrderByOptionFromDiscriminatorValue); },
5805
- "pageSize": n => { requestDataOptions.pageSize = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5805
+ "pageSize": n => { requestDataOptions.pageSize = n.getNumberValue(); },
5806
5806
  "rangeFilters": n => { requestDataOptions.rangeFilters = n.getCollectionOfObjectValues(createRangeFilterFromDiscriminatorValue); },
5807
5807
  "search": n => { requestDataOptions.search = n.getStringValue(); },
5808
5808
  "searchFields": n => { requestDataOptions.searchFields = n.getCollectionOfPrimitiveValues("string"); },
@@ -5838,7 +5838,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
5838
5838
  return {
5839
5839
  "actorDisplayName": n => { smsEventTableRow.actorDisplayName = n.getStringValue(); },
5840
5840
  "actorUserId": n => { smsEventTableRow.actorUserId = n.getStringValue(); },
5841
- "billableAmount": n => { smsEventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5841
+ "billableAmount": n => { smsEventTableRow.billableAmount = n.getNumberValue(); },
5842
5842
  "billingStatus": n => { smsEventTableRow.billingStatus = n.getStringValue(); },
5843
5843
  "blockedAt": n => { smsEventTableRow.blockedAt = n.getDateValue(); },
5844
5844
  "canceledAt": n => { smsEventTableRow.canceledAt = n.getDateValue(); },
@@ -5887,11 +5887,11 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
5887
5887
  // @ts-ignore
5888
5888
  export function deserializeIntoSmsReadinessStatusResponse(smsReadinessStatusResponse = {}) {
5889
5889
  return {
5890
- "healthScore": n => { smsReadinessStatusResponse.healthScore = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5890
+ "healthScore": n => { smsReadinessStatusResponse.healthScore = n.getNumberValue(); },
5891
5891
  "healthStatus": n => { smsReadinessStatusResponse.healthStatus = n.getEnumValue(SmsReadinessHealthStatusObject); },
5892
5892
  "phoneNumber": n => { smsReadinessStatusResponse.phoneNumber = n.getStringValue(); },
5893
5893
  "phoneNumberId": n => { smsReadinessStatusResponse.phoneNumberId = n.getStringValue(); },
5894
- "progressPercent": n => { smsReadinessStatusResponse.progressPercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5894
+ "progressPercent": n => { smsReadinessStatusResponse.progressPercent = n.getNumberValue(); },
5895
5895
  "status": n => { smsReadinessStatusResponse.status = n.getEnumValue(SmsReadinessStateObject); },
5896
5896
  "uiState": n => { smsReadinessStatusResponse.uiState = n.getObjectValue(createSmsReadinessUiStateFromDiscriminatorValue); },
5897
5897
  "warmupEnabled": n => { smsReadinessStatusResponse.warmupEnabled = n.getBooleanValue(); },
@@ -5918,7 +5918,7 @@ export function deserializeIntoSmsReadinessUiState(smsReadinessUiState = {}) {
5918
5918
  // @ts-ignore
5919
5919
  export function deserializeIntoSmsResponse(smsResponse = {}) {
5920
5920
  return {
5921
- "billableAmount": n => { smsResponse.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5921
+ "billableAmount": n => { smsResponse.billableAmount = n.getNumberValue(); },
5922
5922
  "billingStatus": n => { smsResponse.billingStatus = n.getStringValue(); },
5923
5923
  "blockedAt": n => { smsResponse.blockedAt = n.getDateValue(); },
5924
5924
  "campaignId": n => { smsResponse.campaignId = n.getStringValue(); },
@@ -5942,7 +5942,7 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
5942
5942
  "outboundPhoneNumberId": n => { smsResponse.outboundPhoneNumberId = n.getStringValue(); },
5943
5943
  "queuedAt": n => { smsResponse.queuedAt = n.getDateValue(); },
5944
5944
  "receivedAt": n => { smsResponse.receivedAt = n.getDateValue(); },
5945
- "retryCount": n => { smsResponse.retryCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5945
+ "retryCount": n => { smsResponse.retryCount = n.getNumberValue(); },
5946
5946
  "scheduledFor": n => { smsResponse.scheduledFor = n.getDateValue(); },
5947
5947
  "scheduledReason": n => { smsResponse.scheduledReason = n.getStringValue(); },
5948
5948
  "selectionReason": n => { smsResponse.selectionReason = n.getEnumValue(SmsResponse_selectionReasonObject); },
@@ -5968,7 +5968,7 @@ export function deserializeIntoSourceMetricsResponse(sourceMetricsResponse = {})
5968
5968
  "generatedAt": n => { sourceMetricsResponse.generatedAt = n.getDateValue(); },
5969
5969
  "points": n => { sourceMetricsResponse.points = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
5970
5970
  "range": n => { sourceMetricsResponse.range = n.getObjectValue(createAnalyticsDateRangeFromDiscriminatorValue); },
5971
- "totalLeads": n => { sourceMetricsResponse.totalLeads = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5971
+ "totalLeads": n => { sourceMetricsResponse.totalLeads = n.getNumberValue(); },
5972
5972
  };
5973
5973
  }
5974
5974
  /**
@@ -5982,7 +5982,7 @@ export function deserializeIntoSourceRequest(sourceRequest = {}) {
5982
5982
  "allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
5983
5983
  "allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
5984
5984
  "apiKey": n => { sourceRequest.apiKey = n.getStringValue(); },
5985
- "costPerLead": n => { sourceRequest.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5985
+ "costPerLead": n => { sourceRequest.costPerLead = n.getNumberValue(); },
5986
5986
  "defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
5987
5987
  "defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues("string"); },
5988
5988
  "description": n => { sourceRequest.description = n.getStringValue(); },
@@ -6006,7 +6006,7 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
6006
6006
  "apiKey": n => { sourceResponse.apiKey = n.getStringValue(); },
6007
6007
  "apiKeyPreview": n => { sourceResponse.apiKeyPreview = n.getStringValue(); },
6008
6008
  "complianceApproved": n => { sourceResponse.complianceApproved = n.getBooleanValue(); },
6009
- "costPerLead": n => { sourceResponse.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6009
+ "costPerLead": n => { sourceResponse.costPerLead = n.getNumberValue(); },
6010
6010
  "createdAt": n => { sourceResponse.createdAt = n.getDateValue(); },
6011
6011
  "createdByUser": n => { sourceResponse.createdByUser = n.getObjectValue(createSourceResponse_createdByUserFromDiscriminatorValue); },
6012
6012
  "createdByUserEmail": n => { sourceResponse.createdByUserEmail = n.getStringValue(); },
@@ -6082,9 +6082,9 @@ export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
6082
6082
  "apiKey": n => { sourceTableRow.apiKey = n.getStringValue(); },
6083
6083
  "apiKeyLastUsedAt": n => { sourceTableRow.apiKeyLastUsedAt = n.getDateValue(); },
6084
6084
  "apiKeyPreview": n => { sourceTableRow.apiKeyPreview = n.getStringValue(); },
6085
- "apiKeyTotalUses": n => { sourceTableRow.apiKeyTotalUses = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6085
+ "apiKeyTotalUses": n => { sourceTableRow.apiKeyTotalUses = n.getNumberValue(); },
6086
6086
  "complianceApproved": n => { sourceTableRow.complianceApproved = n.getBooleanValue(); },
6087
- "costPerLead": n => { sourceTableRow.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6087
+ "costPerLead": n => { sourceTableRow.costPerLead = n.getNumberValue(); },
6088
6088
  "createdAt": n => { sourceTableRow.createdAt = n.getDateValue(); },
6089
6089
  "createdByUser": n => { sourceTableRow.createdByUser = n.getObjectValue(createSourceTableRow_createdByUserFromDiscriminatorValue); },
6090
6090
  "defaultTagIds": n => { sourceTableRow.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
@@ -6174,7 +6174,7 @@ export function deserializeIntoStreetAddress(streetAddress = {}) {
6174
6174
  // @ts-ignore
6175
6175
  export function deserializeIntoStripeInvoiceResponse(stripeInvoiceResponse = {}) {
6176
6176
  return {
6177
- "amount": n => { stripeInvoiceResponse.amount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6177
+ "amount": n => { stripeInvoiceResponse.amount = n.getNumberValue(); },
6178
6178
  "createdAt": n => { stripeInvoiceResponse.createdAt = n.getDateValue(); },
6179
6179
  "hasPdf": n => { stripeInvoiceResponse.hasPdf = n.getBooleanValue(); },
6180
6180
  "id": n => { stripeInvoiceResponse.id = n.getStringValue(); },
@@ -6192,8 +6192,8 @@ export function deserializeIntoStripePaymentMethodResponse(stripePaymentMethodRe
6192
6192
  return {
6193
6193
  "brand": n => { stripePaymentMethodResponse.brand = n.getStringValue(); },
6194
6194
  "createdAt": n => { stripePaymentMethodResponse.createdAt = n.getDateValue(); },
6195
- "expMonth": n => { stripePaymentMethodResponse.expMonth = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6196
- "expYear": n => { stripePaymentMethodResponse.expYear = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6195
+ "expMonth": n => { stripePaymentMethodResponse.expMonth = n.getNumberValue(); },
6196
+ "expYear": n => { stripePaymentMethodResponse.expYear = n.getNumberValue(); },
6197
6197
  "id": n => { stripePaymentMethodResponse.id = n.getStringValue(); },
6198
6198
  "isDefault": n => { stripePaymentMethodResponse.isDefault = n.getBooleanValue(); },
6199
6199
  "last4": n => { stripePaymentMethodResponse.last4 = n.getStringValue(); },
@@ -6384,7 +6384,7 @@ export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {
6384
6384
  "contactName": n => { tenDlcApplicationDraft.contactName = n.getStringValue(); },
6385
6385
  "contactPhone": n => { tenDlcApplicationDraft.contactPhone = n.getStringValue(); },
6386
6386
  "ein": n => { tenDlcApplicationDraft.ein = n.getStringValue(); },
6387
- "expectedMonthlyVolume": n => { tenDlcApplicationDraft.expectedMonthlyVolume = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6387
+ "expectedMonthlyVolume": n => { tenDlcApplicationDraft.expectedMonthlyVolume = n.getNumberValue(); },
6388
6388
  "industry": n => { tenDlcApplicationDraft.industry = n.getStringValue(); },
6389
6389
  "lastSubmittedAt": n => { tenDlcApplicationDraft.lastSubmittedAt = n.getDateValue(); },
6390
6390
  "messageExamples": n => { tenDlcApplicationDraft.messageExamples = n.getCollectionOfPrimitiveValues("string"); },
@@ -6397,7 +6397,7 @@ export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {
6397
6397
  "updatedAt": n => { tenDlcApplicationDraft.updatedAt = n.getDateValue(); },
6398
6398
  "useCase": n => { tenDlcApplicationDraft.useCase = n.getStringValue(); },
6399
6399
  "useCaseDescription": n => { tenDlcApplicationDraft.useCaseDescription = n.getStringValue(); },
6400
- "version": n => { tenDlcApplicationDraft.version = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6400
+ "version": n => { tenDlcApplicationDraft.version = n.getNumberValue(); },
6401
6401
  "websiteUrl": n => { tenDlcApplicationDraft.websiteUrl = n.getStringValue(); },
6402
6402
  };
6403
6403
  }
@@ -6420,22 +6420,22 @@ export function deserializeIntoTenDlcNotesRequest(tenDlcNotesRequest = {}) {
6420
6420
  // @ts-ignore
6421
6421
  export function deserializeIntoTransactionResponse(transactionResponse = {}) {
6422
6422
  return {
6423
- "amount": n => { transactionResponse.amount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6423
+ "amount": n => { transactionResponse.amount = n.getNumberValue(); },
6424
6424
  "billableUnit": n => { transactionResponse.billableUnit = n.getEnumValue(TransactionResponse_billableUnitObject); },
6425
- "billedAmount": n => { transactionResponse.billedAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6425
+ "billedAmount": n => { transactionResponse.billedAmount = n.getNumberValue(); },
6426
6426
  "billingChannel": n => { transactionResponse.billingChannel = n.getEnumValue(TransactionResponse_billingChannelObject); },
6427
6427
  "createdAt": n => { transactionResponse.createdAt = n.getDateValue(); },
6428
6428
  "description": n => { transactionResponse.description = n.getStringValue(); },
6429
- "gatewayFeeAmount": n => { transactionResponse.gatewayFeeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6429
+ "gatewayFeeAmount": n => { transactionResponse.gatewayFeeAmount = n.getNumberValue(); },
6430
6430
  "gatewayStatus": n => { transactionResponse.gatewayStatus = n.getStringValue(); },
6431
6431
  "id": n => { transactionResponse.id = n.getStringValue(); },
6432
6432
  "lead": n => { transactionResponse.lead = n.getObjectValue(createTransactionResponse_leadFromDiscriminatorValue); },
6433
6433
  "modifiedAt": n => { transactionResponse.modifiedAt = n.getDateValue(); },
6434
- "netAmount": n => { transactionResponse.netAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6434
+ "netAmount": n => { transactionResponse.netAmount = n.getNumberValue(); },
6435
6435
  "notes": n => { transactionResponse.notes = n.getStringValue(); },
6436
6436
  "organization": n => { transactionResponse.organization = n.getObjectValue(createTransactionResponse_organizationFromDiscriminatorValue); },
6437
6437
  "paymentMethodDisplay": n => { transactionResponse.paymentMethodDisplay = n.getStringValue(); },
6438
- "platformFeeAmount": n => { transactionResponse.platformFeeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6438
+ "platformFeeAmount": n => { transactionResponse.platformFeeAmount = n.getNumberValue(); },
6439
6439
  "transactionStatus": n => { transactionResponse.transactionStatus = n.getEnumValue(TransactionStatusObject); },
6440
6440
  "transactionType": n => { transactionResponse.transactionType = n.getEnumValue(TransactionTypeObject); },
6441
6441
  };
@@ -6470,24 +6470,24 @@ export function deserializeIntoTransactionResponse_organization(transactionRespo
6470
6470
  // @ts-ignore
6471
6471
  export function deserializeIntoTransactionTableRow(transactionTableRow = {}) {
6472
6472
  return {
6473
- "amount": n => { transactionTableRow.amount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6473
+ "amount": n => { transactionTableRow.amount = n.getNumberValue(); },
6474
6474
  "billableUnit": n => { transactionTableRow.billableUnit = n.getEnumValue(TransactionTableRow_billableUnitObject); },
6475
- "billedAmount": n => { transactionTableRow.billedAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6475
+ "billedAmount": n => { transactionTableRow.billedAmount = n.getNumberValue(); },
6476
6476
  "billingChannel": n => { transactionTableRow.billingChannel = n.getEnumValue(TransactionTableRow_billingChannelObject); },
6477
6477
  "createdAt": n => { transactionTableRow.createdAt = n.getDateValue(); },
6478
6478
  "description": n => { transactionTableRow.description = n.getStringValue(); },
6479
6479
  "id": n => { transactionTableRow.id = n.getStringValue(); },
6480
6480
  "lead": n => { transactionTableRow.lead = n.getObjectValue(createTransactionTableRow_leadFromDiscriminatorValue); },
6481
- "netAmount": n => { transactionTableRow.netAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6481
+ "netAmount": n => { transactionTableRow.netAmount = n.getNumberValue(); },
6482
6482
  "organization": n => { transactionTableRow.organization = n.getObjectValue(createTransactionTableRow_organizationFromDiscriminatorValue); },
6483
6483
  "paymentMethodDisplay": n => { transactionTableRow.paymentMethodDisplay = n.getStringValue(); },
6484
6484
  "pricingVersion": n => { transactionTableRow.pricingVersion = n.getStringValue(); },
6485
- "quantity": n => { transactionTableRow.quantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6485
+ "quantity": n => { transactionTableRow.quantity = n.getNumberValue(); },
6486
6486
  "sourceEventId": n => { transactionTableRow.sourceEventId = n.getStringValue(); },
6487
6487
  "sourceEventType": n => { transactionTableRow.sourceEventType = n.getStringValue(); },
6488
6488
  "transactionStatus": n => { transactionTableRow.transactionStatus = n.getEnumValue(TransactionStatusObject); },
6489
6489
  "transactionType": n => { transactionTableRow.transactionType = n.getEnumValue(TransactionTypeObject); },
6490
- "unitPrice": n => { transactionTableRow.unitPrice = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6490
+ "unitPrice": n => { transactionTableRow.unitPrice = n.getNumberValue(); },
6491
6491
  };
6492
6492
  }
6493
6493
  /**
@@ -6536,9 +6536,9 @@ export function deserializeIntoUsageCounterLine(usageCounterLine = {}) {
6536
6536
  return {
6537
6537
  "key": n => { usageCounterLine.key = n.getStringValue(); },
6538
6538
  "label": n => { usageCounterLine.label = n.getStringValue(); },
6539
- "sortOrder": n => { usageCounterLine.sortOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6539
+ "sortOrder": n => { usageCounterLine.sortOrder = n.getNumberValue(); },
6540
6540
  "unit": n => { usageCounterLine.unit = n.getStringValue(); },
6541
- "value": n => { usageCounterLine.value = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6541
+ "value": n => { usageCounterLine.value = n.getNumberValue(); },
6542
6542
  };
6543
6543
  }
6544
6544
  /**
@@ -6549,23 +6549,23 @@ export function deserializeIntoUsageCounterLine(usageCounterLine = {}) {
6549
6549
  // @ts-ignore
6550
6550
  export function deserializeIntoUsageLedgerTableRow(usageLedgerTableRow = {}) {
6551
6551
  return {
6552
- "billableSeconds": n => { usageLedgerTableRow.billableSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6552
+ "billableSeconds": n => { usageLedgerTableRow.billableSeconds = n.getNumberValue(); },
6553
6553
  "billableUnit": n => { usageLedgerTableRow.billableUnit = n.getEnumValue(BillableUnitObject); },
6554
6554
  "channel": n => { usageLedgerTableRow.channel = n.getEnumValue(UsageChannelObject); },
6555
6555
  "createdAt": n => { usageLedgerTableRow.createdAt = n.getDateValue(); },
6556
- "customerChargeAmount": n => { usageLedgerTableRow.customerChargeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6556
+ "customerChargeAmount": n => { usageLedgerTableRow.customerChargeAmount = n.getNumberValue(); },
6557
6557
  "description": n => { usageLedgerTableRow.description = n.getStringValue(); },
6558
- "durationSeconds": n => { usageLedgerTableRow.durationSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6558
+ "durationSeconds": n => { usageLedgerTableRow.durationSeconds = n.getNumberValue(); },
6559
6559
  "id": n => { usageLedgerTableRow.id = n.getStringValue(); },
6560
6560
  "isBillable": n => { usageLedgerTableRow.isBillable = n.getBooleanValue(); },
6561
6561
  "lead": n => { usageLedgerTableRow.lead = n.getObjectValue(createUsageLedgerTableRow_leadFromDiscriminatorValue); },
6562
6562
  "organization": n => { usageLedgerTableRow.organization = n.getObjectValue(createUsageLedgerTableRow_organizationFromDiscriminatorValue); },
6563
6563
  "phoneNumber": n => { usageLedgerTableRow.phoneNumber = n.getStringValue(); },
6564
6564
  "phoneNumberId": n => { usageLedgerTableRow.phoneNumberId = n.getStringValue(); },
6565
- "quantity": n => { usageLedgerTableRow.quantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6566
- "smsSegments": n => { usageLedgerTableRow.smsSegments = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6565
+ "quantity": n => { usageLedgerTableRow.quantity = n.getNumberValue(); },
6566
+ "smsSegments": n => { usageLedgerTableRow.smsSegments = n.getNumberValue(); },
6567
6567
  "status": n => { usageLedgerTableRow.status = n.getEnumValue(UsageStatusObject); },
6568
- "unitPrice": n => { usageLedgerTableRow.unitPrice = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6568
+ "unitPrice": n => { usageLedgerTableRow.unitPrice = n.getNumberValue(); },
6569
6569
  "user": n => { usageLedgerTableRow.user = n.getObjectValue(createUsageLedgerTableRow_userFromDiscriminatorValue); },
6570
6570
  };
6571
6571
  }
@@ -6612,9 +6612,9 @@ export function deserializeIntoUsageSummaryLine(usageSummaryLine = {}) {
6612
6612
  return {
6613
6613
  "billableUnit": n => { usageSummaryLine.billableUnit = n.getEnumValue(BillableUnitObject); },
6614
6614
  "channel": n => { usageSummaryLine.channel = n.getEnumValue(UsageChannelObject); },
6615
- "customerChargeAmount": n => { usageSummaryLine.customerChargeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6616
- "quantity": n => { usageSummaryLine.quantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6617
- "recordCount": n => { usageSummaryLine.recordCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6615
+ "customerChargeAmount": n => { usageSummaryLine.customerChargeAmount = n.getNumberValue(); },
6616
+ "quantity": n => { usageSummaryLine.quantity = n.getNumberValue(); },
6617
+ "recordCount": n => { usageSummaryLine.recordCount = n.getNumberValue(); },
6618
6618
  "status": n => { usageSummaryLine.status = n.getEnumValue(UsageStatusObject); },
6619
6619
  };
6620
6620
  }
@@ -6626,15 +6626,15 @@ export function deserializeIntoUsageSummaryLine(usageSummaryLine = {}) {
6626
6626
  // @ts-ignore
6627
6627
  export function deserializeIntoUsageSummaryResponse(usageSummaryResponse = {}) {
6628
6628
  return {
6629
- "billableQuantityTotal": n => { usageSummaryResponse.billableQuantityTotal = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6629
+ "billableQuantityTotal": n => { usageSummaryResponse.billableQuantityTotal = n.getNumberValue(); },
6630
6630
  "counters": n => { usageSummaryResponse.counters = n.getCollectionOfObjectValues(createUsageCounterLineFromDiscriminatorValue); },
6631
- "customerChargeTotal": n => { usageSummaryResponse.customerChargeTotal = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6632
- "failedCount": n => { usageSummaryResponse.failedCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6631
+ "customerChargeTotal": n => { usageSummaryResponse.customerChargeTotal = n.getNumberValue(); },
6632
+ "failedCount": n => { usageSummaryResponse.failedCount = n.getNumberValue(); },
6633
6633
  "lines": n => { usageSummaryResponse.lines = n.getCollectionOfObjectValues(createUsageSummaryLineFromDiscriminatorValue); },
6634
- "pendingInvoiceCount": n => { usageSummaryResponse.pendingInvoiceCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6634
+ "pendingInvoiceCount": n => { usageSummaryResponse.pendingInvoiceCount = n.getNumberValue(); },
6635
6635
  "periodEnd": n => { usageSummaryResponse.periodEnd = n.getDateValue(); },
6636
6636
  "periodStart": n => { usageSummaryResponse.periodStart = n.getDateValue(); },
6637
- "transactionCount": n => { usageSummaryResponse.transactionCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6637
+ "transactionCount": n => { usageSummaryResponse.transactionCount = n.getNumberValue(); },
6638
6638
  };
6639
6639
  }
6640
6640
  /**
@@ -6664,7 +6664,7 @@ export function deserializeIntoUserDataExportFile(userDataExportFile = {}) {
6664
6664
  "category": n => { userDataExportFile.category = n.getStringValue(); },
6665
6665
  "contentType": n => { userDataExportFile.contentType = n.getStringValue(); },
6666
6666
  "fileName": n => { userDataExportFile.fileName = n.getStringValue(); },
6667
- "rowCount": n => { userDataExportFile.rowCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6667
+ "rowCount": n => { userDataExportFile.rowCount = n.getNumberValue(); },
6668
6668
  };
6669
6669
  }
6670
6670
  /**
@@ -6677,17 +6677,17 @@ export function deserializeIntoUserDataExportResponse(userDataExportResponse = {
6677
6677
  return {
6678
6678
  "completedAt": n => { userDataExportResponse.completedAt = n.getDateValue(); },
6679
6679
  "contentType": n => { userDataExportResponse.contentType = n.getStringValue(); },
6680
- "downloadCount": n => { userDataExportResponse.downloadCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6680
+ "downloadCount": n => { userDataExportResponse.downloadCount = n.getNumberValue(); },
6681
6681
  "downloadUrl": n => { userDataExportResponse.downloadUrl = n.getStringValue(); },
6682
6682
  "expiresAt": n => { userDataExportResponse.expiresAt = n.getDateValue(); },
6683
6683
  "failedAt": n => { userDataExportResponse.failedAt = n.getDateValue(); },
6684
6684
  "fileName": n => { userDataExportResponse.fileName = n.getStringValue(); },
6685
6685
  "files": n => { userDataExportResponse.files = n.getCollectionOfObjectValues(createUserDataExportFileFromDiscriminatorValue); },
6686
6686
  "id": n => { userDataExportResponse.id = n.getStringValue(); },
6687
- "maxDownloadCount": n => { userDataExportResponse.maxDownloadCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6687
+ "maxDownloadCount": n => { userDataExportResponse.maxDownloadCount = n.getNumberValue(); },
6688
6688
  "message": n => { userDataExportResponse.message = n.getStringValue(); },
6689
6689
  "requestedAt": n => { userDataExportResponse.requestedAt = n.getDateValue(); },
6690
- "sizeBytes": n => { userDataExportResponse.sizeBytes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6690
+ "sizeBytes": n => { userDataExportResponse.sizeBytes = n.getNumberValue(); },
6691
6691
  "startedAt": n => { userDataExportResponse.startedAt = n.getDateValue(); },
6692
6692
  "status": n => { userDataExportResponse.status = n.getEnumValue(UserDataExportStatusesObject); },
6693
6693
  };
@@ -6836,7 +6836,7 @@ export function deserializeIntoUserResponse(userResponse = {}) {
6836
6836
  "personalDataDeletionRequestedAt": n => { userResponse.personalDataDeletionRequestedAt = n.getDateValue(); },
6837
6837
  "personalDataDeletionStatus": n => { userResponse.personalDataDeletionStatus = n.getStringValue(); },
6838
6838
  "phone": n => { userResponse.phone = n.getStringValue(); },
6839
- "roles": n => { userResponse.roles = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6839
+ "roles": n => { userResponse.roles = n.getCollectionOfPrimitiveValues("string"); },
6840
6840
  "subscriptionStatus": n => { userResponse.subscriptionStatus = n.getEnumValue(UserResponse_subscriptionStatusObject); },
6841
6841
  "timeZoneId": n => { userResponse.timeZoneId = n.getStringValue(); },
6842
6842
  };
@@ -6893,20 +6893,20 @@ export function deserializeIntoUserResponse_notificationPreferences(userResponse
6893
6893
  // @ts-ignore
6894
6894
  export function deserializeIntoWalletResponse(walletResponse = {}) {
6895
6895
  return {
6896
- "amountPurchased": n => { walletResponse.amountPurchased = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6897
- "amountRemaining": n => { walletResponse.amountRemaining = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6898
- "balance": n => { walletResponse.balance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6896
+ "amountPurchased": n => { walletResponse.amountPurchased = n.getNumberValue(); },
6897
+ "amountRemaining": n => { walletResponse.amountRemaining = n.getNumberValue(); },
6898
+ "balance": n => { walletResponse.balance = n.getNumberValue(); },
6899
6899
  "balanceCalculatedAt": n => { walletResponse.balanceCalculatedAt = n.getDateValue(); },
6900
6900
  "createdAt": n => { walletResponse.createdAt = n.getDateValue(); },
6901
6901
  "creditStatus": n => { walletResponse.creditStatus = n.getEnumValue(WalletResponse_creditStatusObject); },
6902
6902
  "currency": n => { walletResponse.currency = n.getStringValue(); },
6903
- "expiredCreditAmount": n => { walletResponse.expiredCreditAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6903
+ "expiredCreditAmount": n => { walletResponse.expiredCreditAmount = n.getNumberValue(); },
6904
6904
  "expiresAt": n => { walletResponse.expiresAt = n.getDateValue(); },
6905
6905
  "id": n => { walletResponse.id = n.getStringValue(); },
6906
6906
  "modifiedAt": n => { walletResponse.modifiedAt = n.getDateValue(); },
6907
6907
  "name": n => { walletResponse.name = n.getStringValue(); },
6908
6908
  "nextCreditExpirationAt": n => { walletResponse.nextCreditExpirationAt = n.getDateValue(); },
6909
- "nextExpiringCreditAmount": n => { walletResponse.nextExpiringCreditAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6909
+ "nextExpiringCreditAmount": n => { walletResponse.nextExpiringCreditAmount = n.getNumberValue(); },
6910
6910
  "organizationId": n => { walletResponse.organizationId = n.getStringValue(); },
6911
6911
  "originalTransactionId": n => { walletResponse.originalTransactionId = n.getStringValue(); },
6912
6912
  "purchasedAt": n => { walletResponse.purchasedAt = n.getDateValue(); },
@@ -6943,7 +6943,7 @@ export function serializeActivationDomainOption(writer, activationDomainOption =
6943
6943
  }
6944
6944
  writer.writeStringValue("availabilityStatus", activationDomainOption.availabilityStatus);
6945
6945
  writer.writeStringValue("domainName", activationDomainOption.domainName);
6946
- writer.writeObjectValue("estimatedAnnualCost", activationDomainOption.estimatedAnnualCost);
6946
+ writer.writeNumberValue("estimatedAnnualCost", activationDomainOption.estimatedAnnualCost);
6947
6947
  writer.writeStringValue("industryRelevance", activationDomainOption.industryRelevance);
6948
6948
  writer.writeBooleanValue("recommended", activationDomainOption.recommended);
6949
6949
  writer.writeStringValue("trustConcerns", activationDomainOption.trustConcerns);
@@ -6995,10 +6995,10 @@ export function serializeAnalyticsComparison(writer, analyticsComparison = {}, i
6995
6995
  if (!analyticsComparison || isSerializingDerivedType) {
6996
6996
  return;
6997
6997
  }
6998
- writer.writeObjectValue("changePercent", analyticsComparison.changePercent);
6999
- writer.writeObjectValue("current", analyticsComparison.current);
6998
+ writer.writeNumberValue("changePercent", analyticsComparison.changePercent);
6999
+ writer.writeNumberValue("current", analyticsComparison.current);
7000
7000
  writer.writeStringValue("direction", analyticsComparison.direction);
7001
- writer.writeObjectValue("previous", analyticsComparison.previous);
7001
+ writer.writeNumberValue("previous", analyticsComparison.previous);
7002
7002
  writer.writeAdditionalData(analyticsComparison.additionalData);
7003
7003
  }
7004
7004
  /**
@@ -7031,7 +7031,7 @@ export function serializeAnalyticsTrendPointOfdecimal(writer, analyticsTrendPoin
7031
7031
  writer.writeDateValue("endAt", analyticsTrendPointOfdecimal.endAt);
7032
7032
  writer.writeStringValue("label", analyticsTrendPointOfdecimal.label);
7033
7033
  writer.writeDateValue("startAt", analyticsTrendPointOfdecimal.startAt);
7034
- writer.writeObjectValue("value", analyticsTrendPointOfdecimal.value);
7034
+ writer.writeNumberValue("value", analyticsTrendPointOfdecimal.value);
7035
7035
  writer.writeAdditionalData(analyticsTrendPointOfdecimal.additionalData);
7036
7036
  }
7037
7037
  /**
@@ -7048,7 +7048,7 @@ export function serializeAnalyticsTrendPointOfint(writer, analyticsTrendPointOfi
7048
7048
  writer.writeDateValue("endAt", analyticsTrendPointOfint.endAt);
7049
7049
  writer.writeStringValue("label", analyticsTrendPointOfint.label);
7050
7050
  writer.writeDateValue("startAt", analyticsTrendPointOfint.startAt);
7051
- writer.writeObjectValue("value", analyticsTrendPointOfint.value);
7051
+ writer.writeNumberValue("value", analyticsTrendPointOfint.value);
7052
7052
  writer.writeAdditionalData(analyticsTrendPointOfint.additionalData);
7053
7053
  }
7054
7054
  /**
@@ -7064,7 +7064,7 @@ export function serializeAutomationAction(writer, automationAction = {}, isSeria
7064
7064
  }
7065
7065
  writer.writeStringValue("id", automationAction.id);
7066
7066
  writer.writeBooleanValue("isEnabled", automationAction.isEnabled);
7067
- writer.writeObjectValue("order", automationAction.order);
7067
+ writer.writeNumberValue("order", automationAction.order);
7068
7068
  writer.writeObjectValue("settings", automationAction.settings, serializeAutomationAction_settings);
7069
7069
  writer.writeStringValue("type", automationAction.type);
7070
7070
  writer.writeAdditionalData(automationAction.additionalData);
@@ -7101,8 +7101,8 @@ export function serializeAutomationActionRunRecord(writer, automationActionRunRe
7101
7101
  writer.writeStringValue("failureCode", automationActionRunRecord.failureCode);
7102
7102
  writer.writeStringValue("id", automationActionRunRecord.id);
7103
7103
  writer.writeDateValue("nextRetryAt", automationActionRunRecord.nextRetryAt);
7104
- writer.writeObjectValue("order", automationActionRunRecord.order);
7105
- writer.writeObjectValue("processingAttempts", automationActionRunRecord.processingAttempts);
7104
+ writer.writeNumberValue("order", automationActionRunRecord.order);
7105
+ writer.writeNumberValue("processingAttempts", automationActionRunRecord.processingAttempts);
7106
7106
  writer.writeDateValue("scheduledAt", automationActionRunRecord.scheduledAt);
7107
7107
  writer.writeDateValue("startedAt", automationActionRunRecord.startedAt);
7108
7108
  writer.writeStringValue("status", automationActionRunRecord.status);
@@ -7287,7 +7287,7 @@ export function serializeAutomationRequest(writer, automationRequest = {}, isSer
7287
7287
  writer.writeStringValue("name", automationRequest.name);
7288
7288
  writer.writeStringValue("scope", automationRequest.scope);
7289
7289
  writer.writeCollectionOfObjectValues("triggers", automationRequest.triggers, serializeAutomationTrigger);
7290
- writer.writeObjectValue("version", automationRequest.version);
7290
+ writer.writeNumberValue("version", automationRequest.version);
7291
7291
  writer.writeStringValue("visibility", automationRequest.visibility);
7292
7292
  writer.writeAdditionalData(automationRequest.additionalData);
7293
7293
  }
@@ -7349,7 +7349,7 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
7349
7349
  writer.writeStringValue("scope", automationResponse.scope);
7350
7350
  writer.writeCollectionOfObjectValues("triggers", automationResponse.triggers, serializeAutomationTrigger);
7351
7351
  writer.writeObjectValue("user", automationResponse.user, serializeAutomationResponse_user);
7352
- writer.writeObjectValue("version", automationResponse.version);
7352
+ writer.writeNumberValue("version", automationResponse.version);
7353
7353
  writer.writeStringValue("visibility", automationResponse.visibility);
7354
7354
  writer.writeAdditionalData(automationResponse.additionalData);
7355
7355
  }
@@ -7399,7 +7399,7 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
7399
7399
  writer.writeDateValue("lastAttemptAt", automationRunRecord.lastAttemptAt);
7400
7400
  writer.writeStringValue("leadId", automationRunRecord.leadId);
7401
7401
  writer.writeStringValue("organizationId", automationRunRecord.organizationId);
7402
- writer.writeObjectValue("processingAttempts", automationRunRecord.processingAttempts);
7402
+ writer.writeNumberValue("processingAttempts", automationRunRecord.processingAttempts);
7403
7403
  writer.writeStringValue("skippedReason", automationRunRecord.skippedReason);
7404
7404
  writer.writeDateValue("startedAt", automationRunRecord.startedAt);
7405
7405
  writer.writeStringValue("status", automationRunRecord.status);
@@ -7530,7 +7530,7 @@ export function serializeAutomationWorkflowActionResponse(writer, automationWork
7530
7530
  writer.writeStringValue("failureCode", automationWorkflowActionResponse.failureCode);
7531
7531
  writer.writeStringValue("id", automationWorkflowActionResponse.id);
7532
7532
  writer.writeDateValue("nextRetryAt", automationWorkflowActionResponse.nextRetryAt);
7533
- writer.writeObjectValue("retryCount", automationWorkflowActionResponse.retryCount);
7533
+ writer.writeNumberValue("retryCount", automationWorkflowActionResponse.retryCount);
7534
7534
  writer.writeStringValue("safeReason", automationWorkflowActionResponse.safeReason);
7535
7535
  writer.writeDateValue("scheduledAt", automationWorkflowActionResponse.scheduledAt);
7536
7536
  writer.writeDateValue("skippedAt", automationWorkflowActionResponse.skippedAt);
@@ -7539,7 +7539,7 @@ export function serializeAutomationWorkflowActionResponse(writer, automationWork
7539
7539
  writer.writeStringValue("statusDisplay", automationWorkflowActionResponse.statusDisplay);
7540
7540
  writer.writeStringValue("stepDisplayName", automationWorkflowActionResponse.stepDisplayName);
7541
7541
  writer.writeStringValue("stepId", automationWorkflowActionResponse.stepId);
7542
- writer.writeObjectValue("stepOrder", automationWorkflowActionResponse.stepOrder);
7542
+ writer.writeNumberValue("stepOrder", automationWorkflowActionResponse.stepOrder);
7543
7543
  writer.writeStringValue("userSummary", automationWorkflowActionResponse.userSummary);
7544
7544
  writer.writeAdditionalData(automationWorkflowActionResponse.additionalData);
7545
7545
  }
@@ -7581,7 +7581,7 @@ export function serializeAutomationWorkflowRunResponse(writer, automationWorkflo
7581
7581
  writer.writeDateValue("cancelledAt", automationWorkflowRunResponse.cancelledAt);
7582
7582
  writer.writeDateValue("completedAt", automationWorkflowRunResponse.completedAt);
7583
7583
  writer.writeObjectValue("currentStep", automationWorkflowRunResponse.currentStep, serializeAutomationWorkflowRunResponse_currentStep);
7584
- writer.writeObjectValue("currentStepOrder", automationWorkflowRunResponse.currentStepOrder);
7584
+ writer.writeNumberValue("currentStepOrder", automationWorkflowRunResponse.currentStepOrder);
7585
7585
  writer.writeCollectionOfObjectValues("events", automationWorkflowRunResponse.events, serializeAutomationWorkflowEventResponse);
7586
7586
  writer.writeDateValue("failedAt", automationWorkflowRunResponse.failedAt);
7587
7587
  writer.writeStringValue("id", automationWorkflowRunResponse.id);
@@ -7590,11 +7590,11 @@ export function serializeAutomationWorkflowRunResponse(writer, automationWorkflo
7590
7590
  writer.writeStringValue("lastErrorMessage", automationWorkflowRunResponse.lastErrorMessage);
7591
7591
  writer.writeDateValue("lastExecutionAt", automationWorkflowRunResponse.lastExecutionAt);
7592
7592
  writer.writeStringValue("leadId", automationWorkflowRunResponse.leadId);
7593
- writer.writeObjectValue("maxRetryCount", automationWorkflowRunResponse.maxRetryCount);
7593
+ writer.writeNumberValue("maxRetryCount", automationWorkflowRunResponse.maxRetryCount);
7594
7594
  writer.writeDateValue("nextExecutionAt", automationWorkflowRunResponse.nextExecutionAt);
7595
7595
  writer.writeDateValue("nextRetryAt", automationWorkflowRunResponse.nextRetryAt);
7596
7596
  writer.writeStringValue("organizationId", automationWorkflowRunResponse.organizationId);
7597
- writer.writeObjectValue("retryCount", automationWorkflowRunResponse.retryCount);
7597
+ writer.writeNumberValue("retryCount", automationWorkflowRunResponse.retryCount);
7598
7598
  writer.writeStringValue("skipReasonCode", automationWorkflowRunResponse.skipReasonCode);
7599
7599
  writer.writeStringValue("skipReasonDisplay", automationWorkflowRunResponse.skipReasonDisplay);
7600
7600
  writer.writeDateValue("startedAt", automationWorkflowRunResponse.startedAt);
@@ -7658,15 +7658,15 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
7658
7658
  return;
7659
7659
  }
7660
7660
  writer.writeDateValue("answeredAt", callEventTableRow.answeredAt);
7661
- writer.writeObjectValue("billableAmount", callEventTableRow.billableAmount);
7662
- writer.writeObjectValue("billableSeconds", callEventTableRow.billableSeconds);
7661
+ writer.writeNumberValue("billableAmount", callEventTableRow.billableAmount);
7662
+ writer.writeNumberValue("billableSeconds", callEventTableRow.billableSeconds);
7663
7663
  writer.writeStringValue("billingStatus", callEventTableRow.billingStatus);
7664
7664
  writer.writeStringValue("callerId", callEventTableRow.callerId);
7665
7665
  writer.writeCollectionOfObjectValues("consoleEntries", callEventTableRow.consoleEntries, serializeCommunicationConsoleEntry);
7666
7666
  writer.writeStringValue("conversationId", callEventTableRow.conversationId);
7667
7667
  writer.writeDateValue("createdAt", callEventTableRow.createdAt);
7668
7668
  writer.writeStringValue("direction", callEventTableRow.direction);
7669
- writer.writeObjectValue("duration", callEventTableRow.duration);
7669
+ writer.writeNumberValue("duration", callEventTableRow.duration);
7670
7670
  writer.writeDateValue("endedAt", callEventTableRow.endedAt);
7671
7671
  writer.writeStringValue("fromPhoneNumber", callEventTableRow.fromPhoneNumber);
7672
7672
  writer.writeStringValue("fromPhoneNumberId", callEventTableRow.fromPhoneNumberId);
@@ -7849,8 +7849,8 @@ export function serializeCoordinate(writer, coordinate = {}, isSerializingDerive
7849
7849
  if (!coordinate || isSerializingDerivedType) {
7850
7850
  return;
7851
7851
  }
7852
- writer.writeObjectValue("latitude", coordinate.latitude);
7853
- writer.writeObjectValue("longitude", coordinate.longitude);
7852
+ writer.writeNumberValue("latitude", coordinate.latitude);
7853
+ writer.writeNumberValue("longitude", coordinate.longitude);
7854
7854
  writer.writeAdditionalData(coordinate.additionalData);
7855
7855
  }
7856
7856
  /**
@@ -7955,22 +7955,22 @@ export function serializeCustomerAnalyticsSummary(writer, customerAnalyticsSumma
7955
7955
  if (!customerAnalyticsSummary || isSerializingDerivedType) {
7956
7956
  return;
7957
7957
  }
7958
- writer.writeObjectValue("averageResponseMinutes", customerAnalyticsSummary.averageResponseMinutes);
7958
+ writer.writeNumberValue("averageResponseMinutes", customerAnalyticsSummary.averageResponseMinutes);
7959
7959
  writer.writeStringValue("billingStatus", customerAnalyticsSummary.billingStatus);
7960
- writer.writeObjectValue("callMinutes", customerAnalyticsSummary.callMinutes);
7961
- writer.writeObjectValue("callsPlaced", customerAnalyticsSummary.callsPlaced);
7962
- writer.writeObjectValue("callsReceived", customerAnalyticsSummary.callsReceived);
7963
- writer.writeObjectValue("leads", customerAnalyticsSummary.leads);
7960
+ writer.writeNumberValue("callMinutes", customerAnalyticsSummary.callMinutes);
7961
+ writer.writeNumberValue("callsPlaced", customerAnalyticsSummary.callsPlaced);
7962
+ writer.writeNumberValue("callsReceived", customerAnalyticsSummary.callsReceived);
7963
+ writer.writeNumberValue("leads", customerAnalyticsSummary.leads);
7964
7964
  writer.writeObjectValue("leadsComparison", customerAnalyticsSummary.leadsComparison, serializeAnalyticsComparison);
7965
- writer.writeObjectValue("medianResponseMinutes", customerAnalyticsSummary.medianResponseMinutes);
7966
- writer.writeObjectValue("missedCalls", customerAnalyticsSummary.missedCalls);
7967
- writer.writeObjectValue("missedLeads", customerAnalyticsSummary.missedLeads);
7968
- writer.writeObjectValue("respondedWithinFiveMinutesPercent", customerAnalyticsSummary.respondedWithinFiveMinutesPercent);
7969
- writer.writeObjectValue("smsReceived", customerAnalyticsSummary.smsReceived);
7970
- writer.writeObjectValue("smsSent", customerAnalyticsSummary.smsSent);
7971
- writer.writeObjectValue("unreadMessages", customerAnalyticsSummary.unreadMessages);
7972
- writer.writeObjectValue("usageSpend", customerAnalyticsSummary.usageSpend);
7973
- writer.writeObjectValue("walletBalance", customerAnalyticsSummary.walletBalance);
7965
+ writer.writeNumberValue("medianResponseMinutes", customerAnalyticsSummary.medianResponseMinutes);
7966
+ writer.writeNumberValue("missedCalls", customerAnalyticsSummary.missedCalls);
7967
+ writer.writeNumberValue("missedLeads", customerAnalyticsSummary.missedLeads);
7968
+ writer.writeNumberValue("respondedWithinFiveMinutesPercent", customerAnalyticsSummary.respondedWithinFiveMinutesPercent);
7969
+ writer.writeNumberValue("smsReceived", customerAnalyticsSummary.smsReceived);
7970
+ writer.writeNumberValue("smsSent", customerAnalyticsSummary.smsSent);
7971
+ writer.writeNumberValue("unreadMessages", customerAnalyticsSummary.unreadMessages);
7972
+ writer.writeNumberValue("usageSpend", customerAnalyticsSummary.usageSpend);
7973
+ writer.writeNumberValue("walletBalance", customerAnalyticsSummary.walletBalance);
7974
7974
  writer.writeStringValue("walletStatus", customerAnalyticsSummary.walletStatus);
7975
7975
  writer.writeAdditionalData(customerAnalyticsSummary.additionalData);
7976
7976
  }
@@ -7985,13 +7985,13 @@ export function serializeCustomerAutomationHealth(writer, customerAutomationHeal
7985
7985
  if (!customerAutomationHealth || isSerializingDerivedType) {
7986
7986
  return;
7987
7987
  }
7988
- writer.writeObjectValue("automationCount", customerAutomationHealth.automationCount);
7989
- writer.writeObjectValue("enabledCount", customerAutomationHealth.enabledCount);
7990
- writer.writeObjectValue("executions", customerAutomationHealth.executions);
7988
+ writer.writeNumberValue("automationCount", customerAutomationHealth.automationCount);
7989
+ writer.writeNumberValue("enabledCount", customerAutomationHealth.enabledCount);
7990
+ writer.writeNumberValue("executions", customerAutomationHealth.executions);
7991
7991
  writer.writeCollectionOfObjectValues("failingAutomations", customerAutomationHealth.failingAutomations, serializeCustomerFailingAutomation);
7992
- writer.writeObjectValue("failureCount", customerAutomationHealth.failureCount);
7992
+ writer.writeNumberValue("failureCount", customerAutomationHealth.failureCount);
7993
7993
  writer.writeObjectValue("lastFailure", customerAutomationHealth.lastFailure, serializeCustomerAutomationHealth_lastFailure);
7994
- writer.writeObjectValue("successCount", customerAutomationHealth.successCount);
7994
+ writer.writeNumberValue("successCount", customerAutomationHealth.successCount);
7995
7995
  writer.writeAdditionalData(customerAutomationHealth.additionalData);
7996
7996
  }
7997
7997
  /**
@@ -8018,16 +8018,16 @@ export function serializeCustomerCommunicationUsage(writer, customerCommunicatio
8018
8018
  if (!customerCommunicationUsage || isSerializingDerivedType) {
8019
8019
  return;
8020
8020
  }
8021
- writer.writeObjectValue("answeredCalls", customerCommunicationUsage.answeredCalls);
8022
- writer.writeObjectValue("callMinutes", customerCommunicationUsage.callMinutes);
8023
- writer.writeObjectValue("callsPlaced", customerCommunicationUsage.callsPlaced);
8024
- writer.writeObjectValue("callsReceived", customerCommunicationUsage.callsReceived);
8025
- writer.writeObjectValue("failedOrBlockedSms", customerCommunicationUsage.failedOrBlockedSms);
8026
- writer.writeObjectValue("missedCalls", customerCommunicationUsage.missedCalls);
8027
- writer.writeObjectValue("smsReceived", customerCommunicationUsage.smsReceived);
8028
- writer.writeObjectValue("smsSent", customerCommunicationUsage.smsSent);
8021
+ writer.writeNumberValue("answeredCalls", customerCommunicationUsage.answeredCalls);
8022
+ writer.writeNumberValue("callMinutes", customerCommunicationUsage.callMinutes);
8023
+ writer.writeNumberValue("callsPlaced", customerCommunicationUsage.callsPlaced);
8024
+ writer.writeNumberValue("callsReceived", customerCommunicationUsage.callsReceived);
8025
+ writer.writeNumberValue("failedOrBlockedSms", customerCommunicationUsage.failedOrBlockedSms);
8026
+ writer.writeNumberValue("missedCalls", customerCommunicationUsage.missedCalls);
8027
+ writer.writeNumberValue("smsReceived", customerCommunicationUsage.smsReceived);
8028
+ writer.writeNumberValue("smsSent", customerCommunicationUsage.smsSent);
8029
8029
  writer.writeCollectionOfObjectValues("trend", customerCommunicationUsage.trend, serializeCustomerCommunicationUsagePoint);
8030
- writer.writeObjectValue("usageSpend", customerCommunicationUsage.usageSpend);
8030
+ writer.writeNumberValue("usageSpend", customerCommunicationUsage.usageSpend);
8031
8031
  writer.writeAdditionalData(customerCommunicationUsage.additionalData);
8032
8032
  }
8033
8033
  /**
@@ -8041,13 +8041,13 @@ export function serializeCustomerCommunicationUsagePoint(writer, customerCommuni
8041
8041
  if (!customerCommunicationUsagePoint || isSerializingDerivedType) {
8042
8042
  return;
8043
8043
  }
8044
- writer.writeObjectValue("callMinutes", customerCommunicationUsagePoint.callMinutes);
8045
- writer.writeObjectValue("calls", customerCommunicationUsagePoint.calls);
8044
+ writer.writeNumberValue("callMinutes", customerCommunicationUsagePoint.callMinutes);
8045
+ writer.writeNumberValue("calls", customerCommunicationUsagePoint.calls);
8046
8046
  writer.writeDateValue("endAt", customerCommunicationUsagePoint.endAt);
8047
8047
  writer.writeStringValue("label", customerCommunicationUsagePoint.label);
8048
- writer.writeObjectValue("smsReceived", customerCommunicationUsagePoint.smsReceived);
8049
- writer.writeObjectValue("smsSent", customerCommunicationUsagePoint.smsSent);
8050
- writer.writeObjectValue("spend", customerCommunicationUsagePoint.spend);
8048
+ writer.writeNumberValue("smsReceived", customerCommunicationUsagePoint.smsReceived);
8049
+ writer.writeNumberValue("smsSent", customerCommunicationUsagePoint.smsSent);
8050
+ writer.writeNumberValue("spend", customerCommunicationUsagePoint.spend);
8051
8051
  writer.writeDateValue("startAt", customerCommunicationUsagePoint.startAt);
8052
8052
  writer.writeAdditionalData(customerCommunicationUsagePoint.additionalData);
8053
8053
  }
@@ -8079,8 +8079,8 @@ export function serializeCustomerLeadSourceBreakdown(writer, customerLeadSourceB
8079
8079
  if (!customerLeadSourceBreakdown || isSerializingDerivedType) {
8080
8080
  return;
8081
8081
  }
8082
- writer.writeObjectValue("leads", customerLeadSourceBreakdown.leads);
8083
- writer.writeObjectValue("percent", customerLeadSourceBreakdown.percent);
8082
+ writer.writeNumberValue("leads", customerLeadSourceBreakdown.leads);
8083
+ writer.writeNumberValue("percent", customerLeadSourceBreakdown.percent);
8084
8084
  writer.writeStringValue("source", customerLeadSourceBreakdown.source);
8085
8085
  writer.writeAdditionalData(customerLeadSourceBreakdown.additionalData);
8086
8086
  }
@@ -8097,7 +8097,7 @@ export function serializeCustomerLeadTrend(writer, customerLeadTrend = {}, isSer
8097
8097
  }
8098
8098
  writer.writeObjectValue("comparison", customerLeadTrend.comparison, serializeAnalyticsComparison);
8099
8099
  writer.writeCollectionOfObjectValues("points", customerLeadTrend.points, serializeAnalyticsTrendPointOfint);
8100
- writer.writeObjectValue("total", customerLeadTrend.total);
8100
+ writer.writeNumberValue("total", customerLeadTrend.total);
8101
8101
  writer.writeAdditionalData(customerLeadTrend.additionalData);
8102
8102
  }
8103
8103
  /**
@@ -8129,14 +8129,14 @@ export function serializeCustomerResponseMetrics(writer, customerResponseMetrics
8129
8129
  if (!customerResponseMetrics || isSerializingDerivedType) {
8130
8130
  return;
8131
8131
  }
8132
- writer.writeObjectValue("averageMinutes", customerResponseMetrics.averageMinutes);
8132
+ writer.writeNumberValue("averageMinutes", customerResponseMetrics.averageMinutes);
8133
8133
  writer.writeCollectionOfObjectValues("averageMinutesTrend", customerResponseMetrics.averageMinutesTrend, serializeAnalyticsTrendPointOfdecimal);
8134
- writer.writeObjectValue("medianMinutes", customerResponseMetrics.medianMinutes);
8135
- writer.writeObjectValue("missedCalls", customerResponseMetrics.missedCalls);
8136
- writer.writeObjectValue("respondedLeads", customerResponseMetrics.respondedLeads);
8137
- writer.writeObjectValue("respondedWithinFiveMinutesPercent", customerResponseMetrics.respondedWithinFiveMinutesPercent);
8138
- writer.writeObjectValue("unreadMessages", customerResponseMetrics.unreadMessages);
8139
- writer.writeObjectValue("unrespondedLeads", customerResponseMetrics.unrespondedLeads);
8134
+ writer.writeNumberValue("medianMinutes", customerResponseMetrics.medianMinutes);
8135
+ writer.writeNumberValue("missedCalls", customerResponseMetrics.missedCalls);
8136
+ writer.writeNumberValue("respondedLeads", customerResponseMetrics.respondedLeads);
8137
+ writer.writeNumberValue("respondedWithinFiveMinutesPercent", customerResponseMetrics.respondedWithinFiveMinutesPercent);
8138
+ writer.writeNumberValue("unreadMessages", customerResponseMetrics.unreadMessages);
8139
+ writer.writeNumberValue("unrespondedLeads", customerResponseMetrics.unrespondedLeads);
8140
8140
  writer.writeAdditionalData(customerResponseMetrics.additionalData);
8141
8141
  }
8142
8142
  /**
@@ -8238,7 +8238,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
8238
8238
  writer.writeStringValue("actorDisplayName", eventTableRow.actorDisplayName);
8239
8239
  writer.writeStringValue("actorEmail", eventTableRow.actorEmail);
8240
8240
  writer.writeStringValue("actorUserId", eventTableRow.actorUserId);
8241
- writer.writeObjectValue("billableAmount", eventTableRow.billableAmount);
8241
+ writer.writeNumberValue("billableAmount", eventTableRow.billableAmount);
8242
8242
  writer.writeStringValue("billingStatus", eventTableRow.billingStatus);
8243
8243
  writer.writeDateValue("blockedAt", eventTableRow.blockedAt);
8244
8244
  writer.writeStringValue("campaignId", eventTableRow.campaignId);
@@ -8266,7 +8266,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
8266
8266
  writer.writeDateValue("receivedAt", eventTableRow.receivedAt);
8267
8267
  writer.writeStringValue("relatedEntityId", eventTableRow.relatedEntityId);
8268
8268
  writer.writeStringValue("relatedEntityType", eventTableRow.relatedEntityType);
8269
- writer.writeObjectValue("retryCount", eventTableRow.retryCount);
8269
+ writer.writeNumberValue("retryCount", eventTableRow.retryCount);
8270
8270
  writer.writeDateValue("scheduledFor", eventTableRow.scheduledFor);
8271
8271
  writer.writeStringValue("scheduledReason", eventTableRow.scheduledReason);
8272
8272
  writer.writeEnumValue("selectionReason", eventTableRow.selectionReason);
@@ -8499,7 +8499,7 @@ export function serializeLeadIntakeRequest(writer, leadIntakeRequest = {}, isSer
8499
8499
  writer.writeDateOnlyValue("birthDate", leadIntakeRequest.birthDate);
8500
8500
  writer.writeStringValue("city", leadIntakeRequest.city);
8501
8501
  writer.writeDateOnlyValue("dateOfBirth", leadIntakeRequest.dateOfBirth);
8502
- writer.writeObjectValue("directPostPrice", leadIntakeRequest.directPostPrice);
8502
+ writer.writeNumberValue("directPostPrice", leadIntakeRequest.directPostPrice);
8503
8503
  writer.writeStringValue("email", leadIntakeRequest.email);
8504
8504
  writer.writeStringValue("externalId", leadIntakeRequest.externalId);
8505
8505
  writer.writeStringValue("firstName", leadIntakeRequest.firstName);
@@ -8509,7 +8509,7 @@ export function serializeLeadIntakeRequest(writer, leadIntakeRequest = {}, isSer
8509
8509
  writer.writeStringValue("phone", leadIntakeRequest.phone);
8510
8510
  writer.writeStringValue("phoneType", leadIntakeRequest.phoneType);
8511
8511
  writer.writeStringValue("postalCode", leadIntakeRequest.postalCode);
8512
- writer.writeObjectValue("price", leadIntakeRequest.price);
8512
+ writer.writeNumberValue("price", leadIntakeRequest.price);
8513
8513
  writer.writeStringValue("product", leadIntakeRequest.product);
8514
8514
  writer.writeStringValue("referrer", leadIntakeRequest.referrer);
8515
8515
  writer.writeStringValue("sellerLeadId", leadIntakeRequest.sellerLeadId);
@@ -8557,7 +8557,7 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
8557
8557
  writer.writeStringValue("complianceBlockedReason", leadMetadata.complianceBlockedReason);
8558
8558
  writer.writeStringValue("complianceStatus", leadMetadata.complianceStatus);
8559
8559
  writer.writeDateValue("createdAt", leadMetadata.createdAt);
8560
- writer.writeObjectValue("directPostPrice", leadMetadata.directPostPrice);
8560
+ writer.writeNumberValue("directPostPrice", leadMetadata.directPostPrice);
8561
8561
  writer.writeStringValue("externalId", leadMetadata.externalId);
8562
8562
  writer.writeStringValue("importBatchId", leadMetadata.importBatchId);
8563
8563
  writer.writeStringValue("ipAddress", leadMetadata.ipAddress);
@@ -8565,7 +8565,7 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
8565
8565
  writer.writeStringValue("landingPage", leadMetadata.landingPage);
8566
8566
  writer.writeStringValue("organizationId", leadMetadata.organizationId);
8567
8567
  writer.writeStringValue("origin", leadMetadata.origin);
8568
- writer.writeObjectValue("price", leadMetadata.price);
8568
+ writer.writeNumberValue("price", leadMetadata.price);
8569
8569
  writer.writeStringValue("product", leadMetadata.product);
8570
8570
  writer.writeStringValue("pubId", leadMetadata.pubId);
8571
8571
  writer.writeStringValue("referrer", leadMetadata.referrer);
@@ -8615,18 +8615,18 @@ export function serializeLeadProfile(writer, leadProfile = {}, isSerializingDeri
8615
8615
  return;
8616
8616
  }
8617
8617
  writer.writeDateOnlyValue("birthDate", leadProfile.birthDate);
8618
- writer.writeObjectValue("creditScore", leadProfile.creditScore);
8618
+ writer.writeNumberValue("creditScore", leadProfile.creditScore);
8619
8619
  writer.writeEnumValue("employmentType", leadProfile.employmentType);
8620
8620
  writer.writeEnumValue("gender", leadProfile.gender);
8621
8621
  writer.writeBooleanValue("hasBankruptcy", leadProfile.hasBankruptcy);
8622
8622
  writer.writeBooleanValue("hasMedicalCondition", leadProfile.hasMedicalCondition);
8623
- writer.writeObjectValue("height", leadProfile.height);
8624
- writer.writeObjectValue("income", leadProfile.income);
8623
+ writer.writeNumberValue("height", leadProfile.height);
8624
+ writer.writeNumberValue("income", leadProfile.income);
8625
8625
  writer.writeBooleanValue("isHomeowner", leadProfile.isHomeowner);
8626
8626
  writer.writeEnumValue("maritalStatus", leadProfile.maritalStatus);
8627
- writer.writeObjectValue("monthsAtResidence", leadProfile.monthsAtResidence);
8628
- writer.writeObjectValue("numberOfDependents", leadProfile.numberOfDependents);
8629
- writer.writeObjectValue("weight", leadProfile.weight);
8627
+ writer.writeNumberValue("monthsAtResidence", leadProfile.monthsAtResidence);
8628
+ writer.writeNumberValue("numberOfDependents", leadProfile.numberOfDependents);
8629
+ writer.writeNumberValue("weight", leadProfile.weight);
8630
8630
  writer.writeAdditionalData(leadProfile.additionalData);
8631
8631
  }
8632
8632
  /**
@@ -8851,7 +8851,7 @@ export function serializeLeadStatusRequest(writer, leadStatusRequest = {}, isSer
8851
8851
  writer.writeEnumValue("category", leadStatusRequest.category);
8852
8852
  writer.writeStringValue("color", leadStatusRequest.color);
8853
8853
  writer.writeStringValue("name", leadStatusRequest.name);
8854
- writer.writeObjectValue("sortOrder", leadStatusRequest.sortOrder);
8854
+ writer.writeNumberValue("sortOrder", leadStatusRequest.sortOrder);
8855
8855
  writer.writeAdditionalData(leadStatusRequest.additionalData);
8856
8856
  }
8857
8857
  /**
@@ -8872,7 +8872,7 @@ export function serializeLeadStatusResponse(writer, leadStatusResponse = {}, isS
8872
8872
  writer.writeDateValue("modifiedAt", leadStatusResponse.modifiedAt);
8873
8873
  writer.writeStringValue("name", leadStatusResponse.name);
8874
8874
  writer.writeStringValue("organizationId", leadStatusResponse.organizationId);
8875
- writer.writeObjectValue("sortOrder", leadStatusResponse.sortOrder);
8875
+ writer.writeNumberValue("sortOrder", leadStatusResponse.sortOrder);
8876
8876
  writer.writeAdditionalData(leadStatusResponse.additionalData);
8877
8877
  }
8878
8878
  /**
@@ -8899,7 +8899,7 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
8899
8899
  writer.writeStringValue("lastName", leadTableRow.lastName);
8900
8900
  writer.writeObjectValue("organization", leadTableRow.organization, serializeLeadTableRow_organization);
8901
8901
  writer.writeStringValue("phone", leadTableRow.phone);
8902
- writer.writeObjectValue("price", leadTableRow.price);
8902
+ writer.writeNumberValue("price", leadTableRow.price);
8903
8903
  writer.writeEnumValue("processingStatus", leadTableRow.processingStatus);
8904
8904
  writer.writeDateValue("processingStatusChangedAt", leadTableRow.processingStatusChangedAt);
8905
8905
  writer.writeStringValue("processingStatusReason", leadTableRow.processingStatusReason);
@@ -8979,7 +8979,7 @@ export function serializeMessageMediaAttachment(writer, messageMediaAttachment =
8979
8979
  writer.writeStringValue("contentType", messageMediaAttachment.contentType);
8980
8980
  writer.writeStringValue("fileName", messageMediaAttachment.fileName);
8981
8981
  writer.writeStringValue("sha256", messageMediaAttachment.sha256);
8982
- writer.writeObjectValue("size", messageMediaAttachment.size);
8982
+ writer.writeNumberValue("size", messageMediaAttachment.size);
8983
8983
  writer.writeStringValue("url", messageMediaAttachment.url);
8984
8984
  writer.writeAdditionalData(messageMediaAttachment.additionalData);
8985
8985
  }
@@ -9082,7 +9082,7 @@ export function serializeOrganizationActivationState(writer, organizationActivat
9082
9082
  return;
9083
9083
  }
9084
9084
  writer.writeDateValue("activatedAt", organizationActivationState.activatedAt);
9085
- writer.writeObjectValue("availableDomainCount", organizationActivationState.availableDomainCount);
9085
+ writer.writeNumberValue("availableDomainCount", organizationActivationState.availableDomainCount);
9086
9086
  writer.writeEnumValue("billingSubscriptionStatus", organizationActivationState.billingSubscriptionStatus);
9087
9087
  writer.writeStringValue("complianceNotes", organizationActivationState.complianceNotes);
9088
9088
  writer.writeBooleanValue("controlledLaunch", organizationActivationState.controlledLaunch);
@@ -9091,7 +9091,7 @@ export function serializeOrganizationActivationState(writer, organizationActivat
9091
9091
  writer.writeDateValue("domainApprovedAt", organizationActivationState.domainApprovedAt);
9092
9092
  writer.writeCollectionOfObjectValues("domainOptions", organizationActivationState.domainOptions, serializeActivationDomainOption);
9093
9093
  writer.writeDateValue("domainPurchasedAt", organizationActivationState.domainPurchasedAt);
9094
- writer.writeObjectValue("domainSearchAttempt", organizationActivationState.domainSearchAttempt);
9094
+ writer.writeNumberValue("domainSearchAttempt", organizationActivationState.domainSearchAttempt);
9095
9095
  writer.writeStringValue("domainSearchId", organizationActivationState.domainSearchId);
9096
9096
  writer.writeEnumValue("domainSearchStage", organizationActivationState.domainSearchStage);
9097
9097
  writer.writeDateValue("domainSearchUpdatedAt", organizationActivationState.domainSearchUpdatedAt);
@@ -9157,10 +9157,10 @@ export function serializeOrganizationBillingState(writer, organizationBillingSta
9157
9157
  writer.writeBooleanValue("hasStripeCustomer", organizationBillingState.hasStripeCustomer);
9158
9158
  writer.writeDateValue("lastPaymentMethodEventAt", organizationBillingState.lastPaymentMethodEventAt);
9159
9159
  writer.writeDateValue("lastSubscriptionEventAt", organizationBillingState.lastSubscriptionEventAt);
9160
- writer.writeObjectValue("organizationMemberAssignedQuantity", organizationBillingState.organizationMemberAssignedQuantity);
9161
- writer.writeObjectValue("organizationMemberQuantity", organizationBillingState.organizationMemberQuantity);
9160
+ writer.writeNumberValue("organizationMemberAssignedQuantity", organizationBillingState.organizationMemberAssignedQuantity);
9161
+ writer.writeNumberValue("organizationMemberQuantity", organizationBillingState.organizationMemberQuantity);
9162
9162
  writer.writeEnumValue("pendingBillingPlan", organizationBillingState.pendingBillingPlan);
9163
- writer.writeObjectValue("phoneNumberQuantity", organizationBillingState.phoneNumberQuantity);
9163
+ writer.writeNumberValue("phoneNumberQuantity", organizationBillingState.phoneNumberQuantity);
9164
9164
  writer.writeDateValue("planPeriodStartAt", organizationBillingState.planPeriodStartAt);
9165
9165
  writer.writeDateValue("planRenewalAt", organizationBillingState.planRenewalAt);
9166
9166
  writer.writeAdditionalData(organizationBillingState.additionalData);
@@ -9218,7 +9218,7 @@ export function serializeOrganizationDunningInfo(writer, organizationDunningInfo
9218
9218
  writer.writeDateValue("outboundRestrictedAt", organizationDunningInfo.outboundRestrictedAt);
9219
9219
  writer.writeDateValue("outboundSuspendedAt", organizationDunningInfo.outboundSuspendedAt);
9220
9220
  writer.writeDateValue("paymentFailedAt", organizationDunningInfo.paymentFailedAt);
9221
- writer.writeObjectValue("retryAttemptCount", organizationDunningInfo.retryAttemptCount);
9221
+ writer.writeNumberValue("retryAttemptCount", organizationDunningInfo.retryAttemptCount);
9222
9222
  writer.writeStringValue("stage", organizationDunningInfo.stage);
9223
9223
  writer.writeAdditionalData(organizationDunningInfo.additionalData);
9224
9224
  }
@@ -9255,7 +9255,7 @@ export function serializeOrganizationInvitationResponse(writer, organizationInvi
9255
9255
  writer.writeStringValue("id", organizationInvitationResponse.id);
9256
9256
  writer.writeDateValue("licenseActivatedAt", organizationInvitationResponse.licenseActivatedAt);
9257
9257
  writer.writeStringValue("licenseBillingStatus", organizationInvitationResponse.licenseBillingStatus);
9258
- writer.writeObjectValue("licenseQuantity", organizationInvitationResponse.licenseQuantity);
9258
+ writer.writeNumberValue("licenseQuantity", organizationInvitationResponse.licenseQuantity);
9259
9259
  writer.writeDateValue("licenseReleasedAt", organizationInvitationResponse.licenseReleasedAt);
9260
9260
  writer.writeDateValue("licenseRenewalDate", organizationInvitationResponse.licenseRenewalDate);
9261
9261
  writer.writeObjectValue("organization", organizationInvitationResponse.organization, serializeIdNamePair);
@@ -9286,7 +9286,7 @@ export function serializeOrganizationInvitationTableRow(writer, organizationInvi
9286
9286
  writer.writeStringValue("id", organizationInvitationTableRow.id);
9287
9287
  writer.writeDateValue("licenseActivatedAt", organizationInvitationTableRow.licenseActivatedAt);
9288
9288
  writer.writeStringValue("licenseBillingStatus", organizationInvitationTableRow.licenseBillingStatus);
9289
- writer.writeObjectValue("licenseQuantity", organizationInvitationTableRow.licenseQuantity);
9289
+ writer.writeNumberValue("licenseQuantity", organizationInvitationTableRow.licenseQuantity);
9290
9290
  writer.writeDateValue("licenseReleasedAt", organizationInvitationTableRow.licenseReleasedAt);
9291
9291
  writer.writeDateValue("licenseRenewalDate", organizationInvitationTableRow.licenseRenewalDate);
9292
9292
  writer.writeObjectValue("organization", organizationInvitationTableRow.organization, serializeIdNamePair);
@@ -9330,7 +9330,7 @@ export function serializeOrganizationMemberResponse(writer, organizationMemberRe
9330
9330
  writer.writeStringValue("id", organizationMemberResponse.id);
9331
9331
  writer.writeDateValue("lastUsedAt", organizationMemberResponse.lastUsedAt);
9332
9332
  writer.writeStringValue("licenseBillingStatus", organizationMemberResponse.licenseBillingStatus);
9333
- writer.writeObjectValue("licenseQuantity", organizationMemberResponse.licenseQuantity);
9333
+ writer.writeNumberValue("licenseQuantity", organizationMemberResponse.licenseQuantity);
9334
9334
  writer.writeDateValue("licenseRenewalDate", organizationMemberResponse.licenseRenewalDate);
9335
9335
  writer.writeDateValue("modifiedAt", organizationMemberResponse.modifiedAt);
9336
9336
  writer.writeStringValue("name", organizationMemberResponse.name);
@@ -9374,9 +9374,9 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
9374
9374
  return;
9375
9375
  }
9376
9376
  writer.writeObjectValue("address", organizationRequest.address, serializeOrganizationRequest_address);
9377
- writer.writeObjectValue("autoRefillAmount", organizationRequest.autoRefillAmount);
9377
+ writer.writeNumberValue("autoRefillAmount", organizationRequest.autoRefillAmount);
9378
9378
  writer.writeBooleanValue("autoRefillEnabled", organizationRequest.autoRefillEnabled);
9379
- writer.writeObjectValue("autoRefillTrigger", organizationRequest.autoRefillTrigger);
9379
+ writer.writeNumberValue("autoRefillTrigger", organizationRequest.autoRefillTrigger);
9380
9380
  writer.writeObjectValue("billingAddress", organizationRequest.billingAddress, serializeOrganizationRequest_billingAddress);
9381
9381
  writer.writeStringValue("billingName", organizationRequest.billingName);
9382
9382
  writer.writeStringValue("billingTaxId", organizationRequest.billingTaxId);
@@ -9459,12 +9459,12 @@ export function serializeOrganizationResponse(writer, organizationResponse = {},
9459
9459
  if (!organizationResponse || isSerializingDerivedType) {
9460
9460
  return;
9461
9461
  }
9462
- writer.writeObjectValue("accountBalance", organizationResponse.accountBalance);
9462
+ writer.writeNumberValue("accountBalance", organizationResponse.accountBalance);
9463
9463
  writer.writeObjectValue("activation", organizationResponse.activation, serializeOrganizationResponse_activation);
9464
9464
  writer.writeObjectValue("address", organizationResponse.address, serializeOrganizationResponse_address);
9465
- writer.writeObjectValue("autoRefillAmount", organizationResponse.autoRefillAmount);
9465
+ writer.writeNumberValue("autoRefillAmount", organizationResponse.autoRefillAmount);
9466
9466
  writer.writeBooleanValue("autoRefillEnabled", organizationResponse.autoRefillEnabled);
9467
- writer.writeObjectValue("autoRefillTrigger", organizationResponse.autoRefillTrigger);
9467
+ writer.writeNumberValue("autoRefillTrigger", organizationResponse.autoRefillTrigger);
9468
9468
  writer.writeObjectValue("billingAddress", organizationResponse.billingAddress, serializeOrganizationResponse_billingAddress);
9469
9469
  writer.writeStringValue("billingName", organizationResponse.billingName);
9470
9470
  writer.writeEnumValue("billingPlan", organizationResponse.billingPlan);
@@ -9647,7 +9647,7 @@ export function serializeOrganizationTableRow(writer, organizationTableRow = {},
9647
9647
  if (!organizationTableRow || isSerializingDerivedType) {
9648
9648
  return;
9649
9649
  }
9650
- writer.writeObjectValue("accountBalance", organizationTableRow.accountBalance);
9650
+ writer.writeNumberValue("accountBalance", organizationTableRow.accountBalance);
9651
9651
  writer.writeEnumValue("activationStatus", organizationTableRow.activationStatus);
9652
9652
  writer.writeDateValue("apiKeyExpiresAt", organizationTableRow.apiKeyExpiresAt);
9653
9653
  writer.writeDateValue("apiKeyFirstUsedAt", organizationTableRow.apiKeyFirstUsedAt);
@@ -9655,7 +9655,7 @@ export function serializeOrganizationTableRow(writer, organizationTableRow = {},
9655
9655
  writer.writeDateValue("apiKeyLastUsedAt", organizationTableRow.apiKeyLastUsedAt);
9656
9656
  writer.writeCollectionOfPrimitiveValues("apiKeyPermissions", organizationTableRow.apiKeyPermissions);
9657
9657
  writer.writeStringValue("apiKeyPreview", organizationTableRow.apiKeyPreview);
9658
- writer.writeObjectValue("apiKeyTotalUses", organizationTableRow.apiKeyTotalUses);
9658
+ writer.writeNumberValue("apiKeyTotalUses", organizationTableRow.apiKeyTotalUses);
9659
9659
  writer.writeEnumValue("billingPlan", organizationTableRow.billingPlan);
9660
9660
  writer.writeBooleanValue("enabled", organizationTableRow.enabled);
9661
9661
  writer.writeStringValue("id", organizationTableRow.id);
@@ -9672,7 +9672,7 @@ export function serializeOrganizationTableRow(writer, organizationTableRow = {},
9672
9672
  writer.writeDateValue("subscriptionCancelAt", organizationTableRow.subscriptionCancelAt);
9673
9673
  writer.writeEnumValue("subscriptionStatus", organizationTableRow.subscriptionStatus);
9674
9674
  writer.writeEnumValue("tenDlcStatus", organizationTableRow.tenDlcStatus);
9675
- writer.writeObjectValue("userCount", organizationTableRow.userCount);
9675
+ writer.writeNumberValue("userCount", organizationTableRow.userCount);
9676
9676
  writer.writeStringValue("website", organizationTableRow.website);
9677
9677
  writer.writeEnumValue("websiteStatus", organizationTableRow.websiteStatus);
9678
9678
  writer.writeAdditionalData(organizationTableRow.additionalData);
@@ -9701,16 +9701,16 @@ export function serializeOutboundCapacityOverview(writer, outboundCapacityOvervi
9701
9701
  if (!outboundCapacityOverview || isSerializingDerivedType) {
9702
9702
  return;
9703
9703
  }
9704
- writer.writeObjectValue("blockedCount", outboundCapacityOverview.blockedCount);
9705
- writer.writeObjectValue("coolingPhoneNumbers", outboundCapacityOverview.coolingPhoneNumbers);
9706
- writer.writeObjectValue("healthyPhoneNumbers", outboundCapacityOverview.healthyPhoneNumbers);
9707
- writer.writeObjectValue("limitedPhoneNumbers", outboundCapacityOverview.limitedPhoneNumbers);
9704
+ writer.writeNumberValue("blockedCount", outboundCapacityOverview.blockedCount);
9705
+ writer.writeNumberValue("coolingPhoneNumbers", outboundCapacityOverview.coolingPhoneNumbers);
9706
+ writer.writeNumberValue("healthyPhoneNumbers", outboundCapacityOverview.healthyPhoneNumbers);
9707
+ writer.writeNumberValue("limitedPhoneNumbers", outboundCapacityOverview.limitedPhoneNumbers);
9708
9708
  writer.writeCollectionOfObjectValues("phoneNumbers", outboundCapacityOverview.phoneNumbers, serializeOutboundPhoneNumberCapacity);
9709
- writer.writeObjectValue("rampingPhoneNumbers", outboundCapacityOverview.rampingPhoneNumbers);
9709
+ writer.writeNumberValue("rampingPhoneNumbers", outboundCapacityOverview.rampingPhoneNumbers);
9710
9710
  writer.writeCollectionOfObjectValues("recentDecisions", outboundCapacityOverview.recentDecisions, serializeOutboundQueueItem);
9711
- writer.writeObjectValue("scheduledCount", outboundCapacityOverview.scheduledCount);
9712
- writer.writeObjectValue("smsCapacityRemainingToday", outboundCapacityOverview.smsCapacityRemainingToday);
9713
- writer.writeObjectValue("voiceCapacityRemainingToday", outboundCapacityOverview.voiceCapacityRemainingToday);
9711
+ writer.writeNumberValue("scheduledCount", outboundCapacityOverview.scheduledCount);
9712
+ writer.writeNumberValue("smsCapacityRemainingToday", outboundCapacityOverview.smsCapacityRemainingToday);
9713
+ writer.writeNumberValue("voiceCapacityRemainingToday", outboundCapacityOverview.voiceCapacityRemainingToday);
9714
9714
  writer.writeAdditionalData(outboundCapacityOverview.additionalData);
9715
9715
  }
9716
9716
  /**
@@ -9732,30 +9732,30 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
9732
9732
  writer.writeBooleanValue("smsApproved", outboundPhoneNumberCapacity.smsApproved);
9733
9733
  writer.writeDateValue("smsDailyResetsAt", outboundPhoneNumberCapacity.smsDailyResetsAt);
9734
9734
  writer.writeDateValue("smsHourlyResetsAt", outboundPhoneNumberCapacity.smsHourlyResetsAt);
9735
- writer.writeObjectValue("smsLimitThisHour", outboundPhoneNumberCapacity.smsLimitThisHour);
9736
- writer.writeObjectValue("smsLimitThisMinute", outboundPhoneNumberCapacity.smsLimitThisMinute);
9737
- writer.writeObjectValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
9735
+ writer.writeNumberValue("smsLimitThisHour", outboundPhoneNumberCapacity.smsLimitThisHour);
9736
+ writer.writeNumberValue("smsLimitThisMinute", outboundPhoneNumberCapacity.smsLimitThisMinute);
9737
+ writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
9738
9738
  writer.writeDateValue("smsMinutelyResetsAt", outboundPhoneNumberCapacity.smsMinutelyResetsAt);
9739
9739
  writer.writeBooleanValue("smsRamping", outboundPhoneNumberCapacity.smsRamping);
9740
- writer.writeObjectValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
9741
- writer.writeObjectValue("smsRemainingThisMinute", outboundPhoneNumberCapacity.smsRemainingThisMinute);
9742
- writer.writeObjectValue("smsRemainingToday", outboundPhoneNumberCapacity.smsRemainingToday);
9743
- writer.writeObjectValue("smsUsedThisHour", outboundPhoneNumberCapacity.smsUsedThisHour);
9744
- writer.writeObjectValue("smsUsedThisMinute", outboundPhoneNumberCapacity.smsUsedThisMinute);
9745
- writer.writeObjectValue("smsUsedToday", outboundPhoneNumberCapacity.smsUsedToday);
9740
+ writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
9741
+ writer.writeNumberValue("smsRemainingThisMinute", outboundPhoneNumberCapacity.smsRemainingThisMinute);
9742
+ writer.writeNumberValue("smsRemainingToday", outboundPhoneNumberCapacity.smsRemainingToday);
9743
+ writer.writeNumberValue("smsUsedThisHour", outboundPhoneNumberCapacity.smsUsedThisHour);
9744
+ writer.writeNumberValue("smsUsedThisMinute", outboundPhoneNumberCapacity.smsUsedThisMinute);
9745
+ writer.writeNumberValue("smsUsedToday", outboundPhoneNumberCapacity.smsUsedToday);
9746
9746
  writer.writeDateValue("voiceDailyResetsAt", outboundPhoneNumberCapacity.voiceDailyResetsAt);
9747
9747
  writer.writeDateValue("voiceHourlyResetsAt", outboundPhoneNumberCapacity.voiceHourlyResetsAt);
9748
- writer.writeObjectValue("voiceLimitThisHour", outboundPhoneNumberCapacity.voiceLimitThisHour);
9749
- writer.writeObjectValue("voiceLimitThisMinute", outboundPhoneNumberCapacity.voiceLimitThisMinute);
9750
- writer.writeObjectValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
9748
+ writer.writeNumberValue("voiceLimitThisHour", outboundPhoneNumberCapacity.voiceLimitThisHour);
9749
+ writer.writeNumberValue("voiceLimitThisMinute", outboundPhoneNumberCapacity.voiceLimitThisMinute);
9750
+ writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
9751
9751
  writer.writeDateValue("voiceMinutelyResetsAt", outboundPhoneNumberCapacity.voiceMinutelyResetsAt);
9752
9752
  writer.writeBooleanValue("voiceRamping", outboundPhoneNumberCapacity.voiceRamping);
9753
- writer.writeObjectValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
9754
- writer.writeObjectValue("voiceRemainingThisMinute", outboundPhoneNumberCapacity.voiceRemainingThisMinute);
9755
- writer.writeObjectValue("voiceRemainingToday", outboundPhoneNumberCapacity.voiceRemainingToday);
9756
- writer.writeObjectValue("voiceUsedThisHour", outboundPhoneNumberCapacity.voiceUsedThisHour);
9757
- writer.writeObjectValue("voiceUsedThisMinute", outboundPhoneNumberCapacity.voiceUsedThisMinute);
9758
- writer.writeObjectValue("voiceUsedToday", outboundPhoneNumberCapacity.voiceUsedToday);
9753
+ writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
9754
+ writer.writeNumberValue("voiceRemainingThisMinute", outboundPhoneNumberCapacity.voiceRemainingThisMinute);
9755
+ writer.writeNumberValue("voiceRemainingToday", outboundPhoneNumberCapacity.voiceRemainingToday);
9756
+ writer.writeNumberValue("voiceUsedThisHour", outboundPhoneNumberCapacity.voiceUsedThisHour);
9757
+ writer.writeNumberValue("voiceUsedThisMinute", outboundPhoneNumberCapacity.voiceUsedThisMinute);
9758
+ writer.writeNumberValue("voiceUsedToday", outboundPhoneNumberCapacity.voiceUsedToday);
9759
9759
  writer.writeAdditionalData(outboundPhoneNumberCapacity.additionalData);
9760
9760
  }
9761
9761
  /**
@@ -9854,8 +9854,8 @@ export function serializePagedResultOfAutomationTableRow(writer, pagedResultOfAu
9854
9854
  }
9855
9855
  writer.writeStringValue("continuationToken", pagedResultOfAutomationTableRow.continuationToken);
9856
9856
  writer.writeCollectionOfObjectValues("items", pagedResultOfAutomationTableRow.items, serializeAutomationTableRow);
9857
- writer.writeObjectValue("pageSize", pagedResultOfAutomationTableRow.pageSize);
9858
- writer.writeObjectValue("totalCount", pagedResultOfAutomationTableRow.totalCount);
9857
+ writer.writeNumberValue("pageSize", pagedResultOfAutomationTableRow.pageSize);
9858
+ writer.writeNumberValue("totalCount", pagedResultOfAutomationTableRow.totalCount);
9859
9859
  writer.writeAdditionalData(pagedResultOfAutomationTableRow.additionalData);
9860
9860
  }
9861
9861
  /**
@@ -9871,8 +9871,8 @@ export function serializePagedResultOfCallEventTableRow(writer, pagedResultOfCal
9871
9871
  }
9872
9872
  writer.writeStringValue("continuationToken", pagedResultOfCallEventTableRow.continuationToken);
9873
9873
  writer.writeCollectionOfObjectValues("items", pagedResultOfCallEventTableRow.items, serializeCallEventTableRow);
9874
- writer.writeObjectValue("pageSize", pagedResultOfCallEventTableRow.pageSize);
9875
- writer.writeObjectValue("totalCount", pagedResultOfCallEventTableRow.totalCount);
9874
+ writer.writeNumberValue("pageSize", pagedResultOfCallEventTableRow.pageSize);
9875
+ writer.writeNumberValue("totalCount", pagedResultOfCallEventTableRow.totalCount);
9876
9876
  writer.writeAdditionalData(pagedResultOfCallEventTableRow.additionalData);
9877
9877
  }
9878
9878
  /**
@@ -9888,8 +9888,8 @@ export function serializePagedResultOfConversationResponse(writer, pagedResultOf
9888
9888
  }
9889
9889
  writer.writeStringValue("continuationToken", pagedResultOfConversationResponse.continuationToken);
9890
9890
  writer.writeCollectionOfObjectValues("items", pagedResultOfConversationResponse.items, serializeConversationResponse);
9891
- writer.writeObjectValue("pageSize", pagedResultOfConversationResponse.pageSize);
9892
- writer.writeObjectValue("totalCount", pagedResultOfConversationResponse.totalCount);
9891
+ writer.writeNumberValue("pageSize", pagedResultOfConversationResponse.pageSize);
9892
+ writer.writeNumberValue("totalCount", pagedResultOfConversationResponse.totalCount);
9893
9893
  writer.writeAdditionalData(pagedResultOfConversationResponse.additionalData);
9894
9894
  }
9895
9895
  /**
@@ -9905,8 +9905,8 @@ export function serializePagedResultOfEventTableRow(writer, pagedResultOfEventTa
9905
9905
  }
9906
9906
  writer.writeStringValue("continuationToken", pagedResultOfEventTableRow.continuationToken);
9907
9907
  writer.writeCollectionOfObjectValues("items", pagedResultOfEventTableRow.items, serializeEventTableRow);
9908
- writer.writeObjectValue("pageSize", pagedResultOfEventTableRow.pageSize);
9909
- writer.writeObjectValue("totalCount", pagedResultOfEventTableRow.totalCount);
9908
+ writer.writeNumberValue("pageSize", pagedResultOfEventTableRow.pageSize);
9909
+ writer.writeNumberValue("totalCount", pagedResultOfEventTableRow.totalCount);
9910
9910
  writer.writeAdditionalData(pagedResultOfEventTableRow.additionalData);
9911
9911
  }
9912
9912
  /**
@@ -9922,8 +9922,8 @@ export function serializePagedResultOfLeadStatusChangeResponse(writer, pagedResu
9922
9922
  }
9923
9923
  writer.writeStringValue("continuationToken", pagedResultOfLeadStatusChangeResponse.continuationToken);
9924
9924
  writer.writeCollectionOfObjectValues("items", pagedResultOfLeadStatusChangeResponse.items, serializeLeadStatusChangeResponse);
9925
- writer.writeObjectValue("pageSize", pagedResultOfLeadStatusChangeResponse.pageSize);
9926
- writer.writeObjectValue("totalCount", pagedResultOfLeadStatusChangeResponse.totalCount);
9925
+ writer.writeNumberValue("pageSize", pagedResultOfLeadStatusChangeResponse.pageSize);
9926
+ writer.writeNumberValue("totalCount", pagedResultOfLeadStatusChangeResponse.totalCount);
9927
9927
  writer.writeAdditionalData(pagedResultOfLeadStatusChangeResponse.additionalData);
9928
9928
  }
9929
9929
  /**
@@ -9939,8 +9939,8 @@ export function serializePagedResultOfLeadTableRow(writer, pagedResultOfLeadTabl
9939
9939
  }
9940
9940
  writer.writeStringValue("continuationToken", pagedResultOfLeadTableRow.continuationToken);
9941
9941
  writer.writeCollectionOfObjectValues("items", pagedResultOfLeadTableRow.items, serializeLeadTableRow);
9942
- writer.writeObjectValue("pageSize", pagedResultOfLeadTableRow.pageSize);
9943
- writer.writeObjectValue("totalCount", pagedResultOfLeadTableRow.totalCount);
9942
+ writer.writeNumberValue("pageSize", pagedResultOfLeadTableRow.pageSize);
9943
+ writer.writeNumberValue("totalCount", pagedResultOfLeadTableRow.totalCount);
9944
9944
  writer.writeAdditionalData(pagedResultOfLeadTableRow.additionalData);
9945
9945
  }
9946
9946
  /**
@@ -9956,8 +9956,8 @@ export function serializePagedResultOfNotificationTableRow(writer, pagedResultOf
9956
9956
  }
9957
9957
  writer.writeStringValue("continuationToken", pagedResultOfNotificationTableRow.continuationToken);
9958
9958
  writer.writeCollectionOfObjectValues("items", pagedResultOfNotificationTableRow.items, serializeNotificationTableRow);
9959
- writer.writeObjectValue("pageSize", pagedResultOfNotificationTableRow.pageSize);
9960
- writer.writeObjectValue("totalCount", pagedResultOfNotificationTableRow.totalCount);
9959
+ writer.writeNumberValue("pageSize", pagedResultOfNotificationTableRow.pageSize);
9960
+ writer.writeNumberValue("totalCount", pagedResultOfNotificationTableRow.totalCount);
9961
9961
  writer.writeAdditionalData(pagedResultOfNotificationTableRow.additionalData);
9962
9962
  }
9963
9963
  /**
@@ -9973,8 +9973,8 @@ export function serializePagedResultOfOrganizationTableRow(writer, pagedResultOf
9973
9973
  }
9974
9974
  writer.writeStringValue("continuationToken", pagedResultOfOrganizationTableRow.continuationToken);
9975
9975
  writer.writeCollectionOfObjectValues("items", pagedResultOfOrganizationTableRow.items, serializeOrganizationTableRow);
9976
- writer.writeObjectValue("pageSize", pagedResultOfOrganizationTableRow.pageSize);
9977
- writer.writeObjectValue("totalCount", pagedResultOfOrganizationTableRow.totalCount);
9976
+ writer.writeNumberValue("pageSize", pagedResultOfOrganizationTableRow.pageSize);
9977
+ writer.writeNumberValue("totalCount", pagedResultOfOrganizationTableRow.totalCount);
9978
9978
  writer.writeAdditionalData(pagedResultOfOrganizationTableRow.additionalData);
9979
9979
  }
9980
9980
  /**
@@ -9990,8 +9990,8 @@ export function serializePagedResultOfPhoneNumberTableRow(writer, pagedResultOfP
9990
9990
  }
9991
9991
  writer.writeStringValue("continuationToken", pagedResultOfPhoneNumberTableRow.continuationToken);
9992
9992
  writer.writeCollectionOfObjectValues("items", pagedResultOfPhoneNumberTableRow.items, serializePhoneNumberTableRow);
9993
- writer.writeObjectValue("pageSize", pagedResultOfPhoneNumberTableRow.pageSize);
9994
- writer.writeObjectValue("totalCount", pagedResultOfPhoneNumberTableRow.totalCount);
9993
+ writer.writeNumberValue("pageSize", pagedResultOfPhoneNumberTableRow.pageSize);
9994
+ writer.writeNumberValue("totalCount", pagedResultOfPhoneNumberTableRow.totalCount);
9995
9995
  writer.writeAdditionalData(pagedResultOfPhoneNumberTableRow.additionalData);
9996
9996
  }
9997
9997
  /**
@@ -10007,8 +10007,8 @@ export function serializePagedResultOfSmsEventTableRow(writer, pagedResultOfSmsE
10007
10007
  }
10008
10008
  writer.writeStringValue("continuationToken", pagedResultOfSmsEventTableRow.continuationToken);
10009
10009
  writer.writeCollectionOfObjectValues("items", pagedResultOfSmsEventTableRow.items, serializeSmsEventTableRow);
10010
- writer.writeObjectValue("pageSize", pagedResultOfSmsEventTableRow.pageSize);
10011
- writer.writeObjectValue("totalCount", pagedResultOfSmsEventTableRow.totalCount);
10010
+ writer.writeNumberValue("pageSize", pagedResultOfSmsEventTableRow.pageSize);
10011
+ writer.writeNumberValue("totalCount", pagedResultOfSmsEventTableRow.totalCount);
10012
10012
  writer.writeAdditionalData(pagedResultOfSmsEventTableRow.additionalData);
10013
10013
  }
10014
10014
  /**
@@ -10024,8 +10024,8 @@ export function serializePagedResultOfSourceTableRow(writer, pagedResultOfSource
10024
10024
  }
10025
10025
  writer.writeStringValue("continuationToken", pagedResultOfSourceTableRow.continuationToken);
10026
10026
  writer.writeCollectionOfObjectValues("items", pagedResultOfSourceTableRow.items, serializeSourceTableRow);
10027
- writer.writeObjectValue("pageSize", pagedResultOfSourceTableRow.pageSize);
10028
- writer.writeObjectValue("totalCount", pagedResultOfSourceTableRow.totalCount);
10027
+ writer.writeNumberValue("pageSize", pagedResultOfSourceTableRow.pageSize);
10028
+ writer.writeNumberValue("totalCount", pagedResultOfSourceTableRow.totalCount);
10029
10029
  writer.writeAdditionalData(pagedResultOfSourceTableRow.additionalData);
10030
10030
  }
10031
10031
  /**
@@ -10041,8 +10041,8 @@ export function serializePagedResultOfSuppressionEntryResponse(writer, pagedResu
10041
10041
  }
10042
10042
  writer.writeStringValue("continuationToken", pagedResultOfSuppressionEntryResponse.continuationToken);
10043
10043
  writer.writeCollectionOfObjectValues("items", pagedResultOfSuppressionEntryResponse.items, serializeSuppressionEntryResponse);
10044
- writer.writeObjectValue("pageSize", pagedResultOfSuppressionEntryResponse.pageSize);
10045
- writer.writeObjectValue("totalCount", pagedResultOfSuppressionEntryResponse.totalCount);
10044
+ writer.writeNumberValue("pageSize", pagedResultOfSuppressionEntryResponse.pageSize);
10045
+ writer.writeNumberValue("totalCount", pagedResultOfSuppressionEntryResponse.totalCount);
10046
10046
  writer.writeAdditionalData(pagedResultOfSuppressionEntryResponse.additionalData);
10047
10047
  }
10048
10048
  /**
@@ -10058,8 +10058,8 @@ export function serializePagedResultOfTransactionTableRow(writer, pagedResultOfT
10058
10058
  }
10059
10059
  writer.writeStringValue("continuationToken", pagedResultOfTransactionTableRow.continuationToken);
10060
10060
  writer.writeCollectionOfObjectValues("items", pagedResultOfTransactionTableRow.items, serializeTransactionTableRow);
10061
- writer.writeObjectValue("pageSize", pagedResultOfTransactionTableRow.pageSize);
10062
- writer.writeObjectValue("totalCount", pagedResultOfTransactionTableRow.totalCount);
10061
+ writer.writeNumberValue("pageSize", pagedResultOfTransactionTableRow.pageSize);
10062
+ writer.writeNumberValue("totalCount", pagedResultOfTransactionTableRow.totalCount);
10063
10063
  writer.writeAdditionalData(pagedResultOfTransactionTableRow.additionalData);
10064
10064
  }
10065
10065
  /**
@@ -10075,8 +10075,8 @@ export function serializePagedResultOfUsageLedgerTableRow(writer, pagedResultOfU
10075
10075
  }
10076
10076
  writer.writeStringValue("continuationToken", pagedResultOfUsageLedgerTableRow.continuationToken);
10077
10077
  writer.writeCollectionOfObjectValues("items", pagedResultOfUsageLedgerTableRow.items, serializeUsageLedgerTableRow);
10078
- writer.writeObjectValue("pageSize", pagedResultOfUsageLedgerTableRow.pageSize);
10079
- writer.writeObjectValue("totalCount", pagedResultOfUsageLedgerTableRow.totalCount);
10078
+ writer.writeNumberValue("pageSize", pagedResultOfUsageLedgerTableRow.pageSize);
10079
+ writer.writeNumberValue("totalCount", pagedResultOfUsageLedgerTableRow.totalCount);
10080
10080
  writer.writeAdditionalData(pagedResultOfUsageLedgerTableRow.additionalData);
10081
10081
  }
10082
10082
  /**
@@ -10107,7 +10107,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
10107
10107
  return;
10108
10108
  }
10109
10109
  writer.writeDateValue("answeredAt", phoneCallResponse.answeredAt);
10110
- writer.writeObjectValue("billableAmount", phoneCallResponse.billableAmount);
10110
+ writer.writeNumberValue("billableAmount", phoneCallResponse.billableAmount);
10111
10111
  writer.writeStringValue("billingStatus", phoneCallResponse.billingStatus);
10112
10112
  writer.writeStringValue("callerId", phoneCallResponse.callerId);
10113
10113
  writer.writeStringValue("campaignId", phoneCallResponse.campaignId);
@@ -10115,7 +10115,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
10115
10115
  writer.writeStringValue("conversationId", phoneCallResponse.conversationId);
10116
10116
  writer.writeDateValue("createdAt", phoneCallResponse.createdAt);
10117
10117
  writer.writeStringValue("direction", phoneCallResponse.direction);
10118
- writer.writeObjectValue("durationSeconds", phoneCallResponse.durationSeconds);
10118
+ writer.writeNumberValue("durationSeconds", phoneCallResponse.durationSeconds);
10119
10119
  writer.writeDateValue("endedAt", phoneCallResponse.endedAt);
10120
10120
  writer.writeStringValue("fromPhoneNumber", phoneCallResponse.fromPhoneNumber);
10121
10121
  writer.writeStringValue("fromPhoneNumberId", phoneCallResponse.fromPhoneNumberId);
@@ -10148,7 +10148,7 @@ export function serializePhoneIdentityLookupAction(writer, phoneIdentityLookupAc
10148
10148
  writer.writeStringValue("id", phoneIdentityLookupAction.id);
10149
10149
  writer.writeDateValue("occurredAt", phoneIdentityLookupAction.occurredAt);
10150
10150
  writer.writeStringValue("provider", phoneIdentityLookupAction.provider);
10151
- writer.writeObjectValue("providerCostAmount", phoneIdentityLookupAction.providerCostAmount);
10151
+ writer.writeNumberValue("providerCostAmount", phoneIdentityLookupAction.providerCostAmount);
10152
10152
  writer.writeStringValue("providerPricingVersion", phoneIdentityLookupAction.providerPricingVersion);
10153
10153
  writer.writeEnumValue("status", phoneIdentityLookupAction.status);
10154
10154
  writer.writeEnumValue("type", phoneIdentityLookupAction.type);
@@ -10370,7 +10370,7 @@ export function serializePhoneLookupProviderSnapshot(writer, phoneLookupProvider
10370
10370
  writer.writeStringValue("provider", phoneLookupProviderSnapshot.provider);
10371
10371
  writer.writeStringValue("rawRecordJson", phoneLookupProviderSnapshot.rawRecordJson);
10372
10372
  writer.writeDateValue("retrievedAt", phoneLookupProviderSnapshot.retrievedAt);
10373
- writer.writeObjectValue("schemaVersion", phoneLookupProviderSnapshot.schemaVersion);
10373
+ writer.writeNumberValue("schemaVersion", phoneLookupProviderSnapshot.schemaVersion);
10374
10374
  writer.writeAdditionalData(phoneLookupProviderSnapshot.additionalData);
10375
10375
  }
10376
10376
  /**
@@ -10402,7 +10402,7 @@ export function serializePhoneNumberAvailabilityResponse(writer, phoneNumberAvai
10402
10402
  writer.writeBooleanValue("isAvailable", phoneNumberAvailabilityResponse.isAvailable);
10403
10403
  writer.writeObjectValue("location", phoneNumberAvailabilityResponse.location, serializePhoneNumberAvailabilityResponse_location);
10404
10404
  writer.writeStringValue("phoneNumber", phoneNumberAvailabilityResponse.phoneNumber);
10405
- writer.writeObjectValue("price", phoneNumberAvailabilityResponse.price);
10405
+ writer.writeNumberValue("price", phoneNumberAvailabilityResponse.price);
10406
10406
  writer.writeAdditionalData(phoneNumberAvailabilityResponse.additionalData);
10407
10407
  }
10408
10408
  /**
@@ -10512,10 +10512,10 @@ export function serializePhoneNumberOptOutMetricsResponse(writer, phoneNumberOpt
10512
10512
  if (!phoneNumberOptOutMetricsResponse || isSerializingDerivedType) {
10513
10513
  return;
10514
10514
  }
10515
- writer.writeObjectValue("distinctContactedCount", phoneNumberOptOutMetricsResponse.distinctContactedCount);
10516
- writer.writeObjectValue("optOutCount", phoneNumberOptOutMetricsResponse.optOutCount);
10517
- writer.writeObjectValue("optOutRatePercent", phoneNumberOptOutMetricsResponse.optOutRatePercent);
10518
- writer.writeObjectValue("windowDays", phoneNumberOptOutMetricsResponse.windowDays);
10515
+ writer.writeNumberValue("distinctContactedCount", phoneNumberOptOutMetricsResponse.distinctContactedCount);
10516
+ writer.writeNumberValue("optOutCount", phoneNumberOptOutMetricsResponse.optOutCount);
10517
+ writer.writeNumberValue("optOutRatePercent", phoneNumberOptOutMetricsResponse.optOutRatePercent);
10518
+ writer.writeNumberValue("windowDays", phoneNumberOptOutMetricsResponse.windowDays);
10519
10519
  writer.writeDateValue("windowStartedAt", phoneNumberOptOutMetricsResponse.windowStartedAt);
10520
10520
  writer.writeAdditionalData(phoneNumberOptOutMetricsResponse.additionalData);
10521
10521
  }
@@ -10532,9 +10532,9 @@ export function serializePhoneNumberReadiness(writer, phoneNumberReadiness = {},
10532
10532
  }
10533
10533
  writer.writeEnumValue("callStage", phoneNumberReadiness.callStage);
10534
10534
  writer.writeBooleanValue("enabled", phoneNumberReadiness.enabled);
10535
- writer.writeObjectValue("healthScore", phoneNumberReadiness.healthScore);
10535
+ writer.writeNumberValue("healthScore", phoneNumberReadiness.healthScore);
10536
10536
  writer.writeEnumValue("healthStatus", phoneNumberReadiness.healthStatus);
10537
- writer.writeObjectValue("progressPercent", phoneNumberReadiness.progressPercent);
10537
+ writer.writeNumberValue("progressPercent", phoneNumberReadiness.progressPercent);
10538
10538
  writer.writeEnumValue("state", phoneNumberReadiness.state);
10539
10539
  writer.writeAdditionalData(phoneNumberReadiness.additionalData);
10540
10540
  }
@@ -10693,8 +10693,8 @@ export function serializePhoneNumberStatusResponse(writer, phoneNumberStatusResp
10693
10693
  if (!phoneNumberStatusResponse || isSerializingDerivedType) {
10694
10694
  return;
10695
10695
  }
10696
- writer.writeObjectValue("callsPossible", phoneNumberStatusResponse.callsPossible);
10697
- writer.writeObjectValue("messagesPossible", phoneNumberStatusResponse.messagesPossible);
10696
+ writer.writeNumberValue("callsPossible", phoneNumberStatusResponse.callsPossible);
10697
+ writer.writeNumberValue("messagesPossible", phoneNumberStatusResponse.messagesPossible);
10698
10698
  writer.writeStringValue("number", phoneNumberStatusResponse.number);
10699
10699
  writer.writeObjectValue("optOutMetrics", phoneNumberStatusResponse.optOutMetrics, serializePhoneNumberOptOutMetricsResponse);
10700
10700
  writer.writeObjectValue("outboundCapacity", phoneNumberStatusResponse.outboundCapacity, serializePhoneNumberStatusResponse_outboundCapacity);
@@ -10766,17 +10766,17 @@ export function serializePhoneNumberTrafficMetricsResponse(writer, phoneNumberTr
10766
10766
  if (!phoneNumberTrafficMetricsResponse || isSerializingDerivedType) {
10767
10767
  return;
10768
10768
  }
10769
- writer.writeObjectValue("callConnectedCount", phoneNumberTrafficMetricsResponse.callConnectedCount);
10770
- writer.writeObjectValue("callFailedCount", phoneNumberTrafficMetricsResponse.callFailedCount);
10771
- writer.writeObjectValue("callInvalidNumberCount", phoneNumberTrafficMetricsResponse.callInvalidNumberCount);
10772
- writer.writeObjectValue("callPlacedCount", phoneNumberTrafficMetricsResponse.callPlacedCount);
10773
- writer.writeObjectValue("callShortCount", phoneNumberTrafficMetricsResponse.callShortCount);
10774
- writer.writeObjectValue("mmsFailedCount", phoneNumberTrafficMetricsResponse.mmsFailedCount);
10775
- writer.writeObjectValue("mmsSentCount", phoneNumberTrafficMetricsResponse.mmsSentCount);
10776
- writer.writeObjectValue("smsFailedCount", phoneNumberTrafficMetricsResponse.smsFailedCount);
10777
- writer.writeObjectValue("smsSentCount", phoneNumberTrafficMetricsResponse.smsSentCount);
10769
+ writer.writeNumberValue("callConnectedCount", phoneNumberTrafficMetricsResponse.callConnectedCount);
10770
+ writer.writeNumberValue("callFailedCount", phoneNumberTrafficMetricsResponse.callFailedCount);
10771
+ writer.writeNumberValue("callInvalidNumberCount", phoneNumberTrafficMetricsResponse.callInvalidNumberCount);
10772
+ writer.writeNumberValue("callPlacedCount", phoneNumberTrafficMetricsResponse.callPlacedCount);
10773
+ writer.writeNumberValue("callShortCount", phoneNumberTrafficMetricsResponse.callShortCount);
10774
+ writer.writeNumberValue("mmsFailedCount", phoneNumberTrafficMetricsResponse.mmsFailedCount);
10775
+ writer.writeNumberValue("mmsSentCount", phoneNumberTrafficMetricsResponse.mmsSentCount);
10776
+ writer.writeNumberValue("smsFailedCount", phoneNumberTrafficMetricsResponse.smsFailedCount);
10777
+ writer.writeNumberValue("smsSentCount", phoneNumberTrafficMetricsResponse.smsSentCount);
10778
10778
  writer.writeCollectionOfObjectValues("trend", phoneNumberTrafficMetricsResponse.trend, serializePhoneNumberTrafficTrendPoint);
10779
- writer.writeObjectValue("windowDays", phoneNumberTrafficMetricsResponse.windowDays);
10779
+ writer.writeNumberValue("windowDays", phoneNumberTrafficMetricsResponse.windowDays);
10780
10780
  writer.writeDateValue("windowStartedAt", phoneNumberTrafficMetricsResponse.windowStartedAt);
10781
10781
  writer.writeAdditionalData(phoneNumberTrafficMetricsResponse.additionalData);
10782
10782
  }
@@ -10791,14 +10791,14 @@ export function serializePhoneNumberTrafficTrendPoint(writer, phoneNumberTraffic
10791
10791
  if (!phoneNumberTrafficTrendPoint || isSerializingDerivedType) {
10792
10792
  return;
10793
10793
  }
10794
- writer.writeObjectValue("callFailedCount", phoneNumberTrafficTrendPoint.callFailedCount);
10795
- writer.writeObjectValue("callPlacedCount", phoneNumberTrafficTrendPoint.callPlacedCount);
10794
+ writer.writeNumberValue("callFailedCount", phoneNumberTrafficTrendPoint.callFailedCount);
10795
+ writer.writeNumberValue("callPlacedCount", phoneNumberTrafficTrendPoint.callPlacedCount);
10796
10796
  writer.writeDateValue("endAt", phoneNumberTrafficTrendPoint.endAt);
10797
10797
  writer.writeStringValue("label", phoneNumberTrafficTrendPoint.label);
10798
- writer.writeObjectValue("mmsFailedCount", phoneNumberTrafficTrendPoint.mmsFailedCount);
10799
- writer.writeObjectValue("mmsSentCount", phoneNumberTrafficTrendPoint.mmsSentCount);
10800
- writer.writeObjectValue("smsFailedCount", phoneNumberTrafficTrendPoint.smsFailedCount);
10801
- writer.writeObjectValue("smsSentCount", phoneNumberTrafficTrendPoint.smsSentCount);
10798
+ writer.writeNumberValue("mmsFailedCount", phoneNumberTrafficTrendPoint.mmsFailedCount);
10799
+ writer.writeNumberValue("mmsSentCount", phoneNumberTrafficTrendPoint.mmsSentCount);
10800
+ writer.writeNumberValue("smsFailedCount", phoneNumberTrafficTrendPoint.smsFailedCount);
10801
+ writer.writeNumberValue("smsSentCount", phoneNumberTrafficTrendPoint.smsSentCount);
10802
10802
  writer.writeDateValue("startAt", phoneNumberTrafficTrendPoint.startAt);
10803
10803
  writer.writeAdditionalData(phoneNumberTrafficTrendPoint.additionalData);
10804
10804
  }
@@ -10815,7 +10815,7 @@ export function serializeProblemDetails(writer, problemDetails = {}, isSerializi
10815
10815
  }
10816
10816
  writer.writeStringValue("detail", problemDetails.detail);
10817
10817
  writer.writeStringValue("instance", problemDetails.instance);
10818
- writer.writeObjectValue("status", problemDetails.status);
10818
+ writer.writeNumberValue("status", problemDetails.status);
10819
10819
  writer.writeStringValue("title", problemDetails.title);
10820
10820
  writer.writeStringValue("type", problemDetails.type);
10821
10821
  writer.writeAdditionalData(problemDetails.additionalData);
@@ -10890,7 +10890,7 @@ export function serializeRequestDataOptions(writer, requestDataOptions = {}, isS
10890
10890
  writer.writeCollectionOfObjectValues("filters", requestDataOptions.filters, serializeExactMatchFilter);
10891
10891
  writer.writeBooleanValue("includeCount", requestDataOptions.includeCount);
10892
10892
  writer.writeCollectionOfObjectValues("orderBy", requestDataOptions.orderBy, serializeOrderByOption);
10893
- writer.writeObjectValue("pageSize", requestDataOptions.pageSize);
10893
+ writer.writeNumberValue("pageSize", requestDataOptions.pageSize);
10894
10894
  writer.writeCollectionOfObjectValues("rangeFilters", requestDataOptions.rangeFilters, serializeRangeFilter);
10895
10895
  writer.writeStringValue("search", requestDataOptions.search);
10896
10896
  writer.writeCollectionOfPrimitiveValues("searchFields", requestDataOptions.searchFields);
@@ -10932,7 +10932,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
10932
10932
  }
10933
10933
  writer.writeStringValue("actorDisplayName", smsEventTableRow.actorDisplayName);
10934
10934
  writer.writeStringValue("actorUserId", smsEventTableRow.actorUserId);
10935
- writer.writeObjectValue("billableAmount", smsEventTableRow.billableAmount);
10935
+ writer.writeNumberValue("billableAmount", smsEventTableRow.billableAmount);
10936
10936
  writer.writeStringValue("billingStatus", smsEventTableRow.billingStatus);
10937
10937
  writer.writeDateValue("blockedAt", smsEventTableRow.blockedAt);
10938
10938
  writer.writeDateValue("canceledAt", smsEventTableRow.canceledAt);
@@ -10984,11 +10984,11 @@ export function serializeSmsReadinessStatusResponse(writer, smsReadinessStatusRe
10984
10984
  if (!smsReadinessStatusResponse || isSerializingDerivedType) {
10985
10985
  return;
10986
10986
  }
10987
- writer.writeObjectValue("healthScore", smsReadinessStatusResponse.healthScore);
10987
+ writer.writeNumberValue("healthScore", smsReadinessStatusResponse.healthScore);
10988
10988
  writer.writeEnumValue("healthStatus", smsReadinessStatusResponse.healthStatus);
10989
10989
  writer.writeStringValue("phoneNumber", smsReadinessStatusResponse.phoneNumber);
10990
10990
  writer.writeStringValue("phoneNumberId", smsReadinessStatusResponse.phoneNumberId);
10991
- writer.writeObjectValue("progressPercent", smsReadinessStatusResponse.progressPercent);
10991
+ writer.writeNumberValue("progressPercent", smsReadinessStatusResponse.progressPercent);
10992
10992
  writer.writeEnumValue("status", smsReadinessStatusResponse.status);
10993
10993
  writer.writeObjectValue("uiState", smsReadinessStatusResponse.uiState, serializeSmsReadinessUiState);
10994
10994
  writer.writeBooleanValue("warmupEnabled", smsReadinessStatusResponse.warmupEnabled);
@@ -11021,7 +11021,7 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
11021
11021
  if (!smsResponse || isSerializingDerivedType) {
11022
11022
  return;
11023
11023
  }
11024
- writer.writeObjectValue("billableAmount", smsResponse.billableAmount);
11024
+ writer.writeNumberValue("billableAmount", smsResponse.billableAmount);
11025
11025
  writer.writeStringValue("billingStatus", smsResponse.billingStatus);
11026
11026
  writer.writeDateValue("blockedAt", smsResponse.blockedAt);
11027
11027
  writer.writeStringValue("campaignId", smsResponse.campaignId);
@@ -11045,7 +11045,7 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
11045
11045
  writer.writeStringValue("outboundPhoneNumberId", smsResponse.outboundPhoneNumberId);
11046
11046
  writer.writeDateValue("queuedAt", smsResponse.queuedAt);
11047
11047
  writer.writeDateValue("receivedAt", smsResponse.receivedAt);
11048
- writer.writeObjectValue("retryCount", smsResponse.retryCount);
11048
+ writer.writeNumberValue("retryCount", smsResponse.retryCount);
11049
11049
  writer.writeDateValue("scheduledFor", smsResponse.scheduledFor);
11050
11050
  writer.writeStringValue("scheduledReason", smsResponse.scheduledReason);
11051
11051
  writer.writeEnumValue("selectionReason", smsResponse.selectionReason);
@@ -11074,7 +11074,7 @@ export function serializeSourceMetricsResponse(writer, sourceMetricsResponse = {
11074
11074
  writer.writeDateValue("generatedAt", sourceMetricsResponse.generatedAt);
11075
11075
  writer.writeCollectionOfObjectValues("points", sourceMetricsResponse.points, serializeAnalyticsTrendPointOfint);
11076
11076
  writer.writeObjectValue("range", sourceMetricsResponse.range, serializeAnalyticsDateRange);
11077
- writer.writeObjectValue("totalLeads", sourceMetricsResponse.totalLeads);
11077
+ writer.writeNumberValue("totalLeads", sourceMetricsResponse.totalLeads);
11078
11078
  writer.writeAdditionalData(sourceMetricsResponse.additionalData);
11079
11079
  }
11080
11080
  /**
@@ -11091,7 +11091,7 @@ export function serializeSourceRequest(writer, sourceRequest = {}, isSerializing
11091
11091
  writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceRequest.allowedProducts);
11092
11092
  writer.writeCollectionOfPrimitiveValues("allowedStates", sourceRequest.allowedStates);
11093
11093
  writer.writeStringValue("apiKey", sourceRequest.apiKey);
11094
- writer.writeObjectValue("costPerLead", sourceRequest.costPerLead);
11094
+ writer.writeNumberValue("costPerLead", sourceRequest.costPerLead);
11095
11095
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceRequest.defaultTagIds);
11096
11096
  writer.writeCollectionOfPrimitiveValues("defaultTagNames", sourceRequest.defaultTagNames);
11097
11097
  writer.writeStringValue("description", sourceRequest.description);
@@ -11118,7 +11118,7 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
11118
11118
  writer.writeStringValue("apiKey", sourceResponse.apiKey);
11119
11119
  writer.writeStringValue("apiKeyPreview", sourceResponse.apiKeyPreview);
11120
11120
  writer.writeBooleanValue("complianceApproved", sourceResponse.complianceApproved);
11121
- writer.writeObjectValue("costPerLead", sourceResponse.costPerLead);
11121
+ writer.writeNumberValue("costPerLead", sourceResponse.costPerLead);
11122
11122
  writer.writeDateValue("createdAt", sourceResponse.createdAt);
11123
11123
  writer.writeObjectValue("createdByUser", sourceResponse.createdByUser, serializeSourceResponse_createdByUser);
11124
11124
  writer.writeStringValue("createdByUserEmail", sourceResponse.createdByUserEmail);
@@ -11205,9 +11205,9 @@ export function serializeSourceTableRow(writer, sourceTableRow = {}, isSerializi
11205
11205
  writer.writeStringValue("apiKey", sourceTableRow.apiKey);
11206
11206
  writer.writeDateValue("apiKeyLastUsedAt", sourceTableRow.apiKeyLastUsedAt);
11207
11207
  writer.writeStringValue("apiKeyPreview", sourceTableRow.apiKeyPreview);
11208
- writer.writeObjectValue("apiKeyTotalUses", sourceTableRow.apiKeyTotalUses);
11208
+ writer.writeNumberValue("apiKeyTotalUses", sourceTableRow.apiKeyTotalUses);
11209
11209
  writer.writeBooleanValue("complianceApproved", sourceTableRow.complianceApproved);
11210
- writer.writeObjectValue("costPerLead", sourceTableRow.costPerLead);
11210
+ writer.writeNumberValue("costPerLead", sourceTableRow.costPerLead);
11211
11211
  writer.writeDateValue("createdAt", sourceTableRow.createdAt);
11212
11212
  writer.writeObjectValue("createdByUser", sourceTableRow.createdByUser, serializeSourceTableRow_createdByUser);
11213
11213
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceTableRow.defaultTagIds);
@@ -11311,7 +11311,7 @@ export function serializeStripeInvoiceResponse(writer, stripeInvoiceResponse = {
11311
11311
  if (!stripeInvoiceResponse || isSerializingDerivedType) {
11312
11312
  return;
11313
11313
  }
11314
- writer.writeObjectValue("amount", stripeInvoiceResponse.amount);
11314
+ writer.writeNumberValue("amount", stripeInvoiceResponse.amount);
11315
11315
  writer.writeDateValue("createdAt", stripeInvoiceResponse.createdAt);
11316
11316
  writer.writeBooleanValue("hasPdf", stripeInvoiceResponse.hasPdf);
11317
11317
  writer.writeStringValue("id", stripeInvoiceResponse.id);
@@ -11332,8 +11332,8 @@ export function serializeStripePaymentMethodResponse(writer, stripePaymentMethod
11332
11332
  }
11333
11333
  writer.writeStringValue("brand", stripePaymentMethodResponse.brand);
11334
11334
  writer.writeDateValue("createdAt", stripePaymentMethodResponse.createdAt);
11335
- writer.writeObjectValue("expMonth", stripePaymentMethodResponse.expMonth);
11336
- writer.writeObjectValue("expYear", stripePaymentMethodResponse.expYear);
11335
+ writer.writeNumberValue("expMonth", stripePaymentMethodResponse.expMonth);
11336
+ writer.writeNumberValue("expYear", stripePaymentMethodResponse.expYear);
11337
11337
  writer.writeStringValue("id", stripePaymentMethodResponse.id);
11338
11338
  writer.writeBooleanValue("isDefault", stripePaymentMethodResponse.isDefault);
11339
11339
  writer.writeStringValue("last4", stripePaymentMethodResponse.last4);
@@ -11560,7 +11560,7 @@ export function serializeTenDlcApplicationDraft(writer, tenDlcApplicationDraft =
11560
11560
  writer.writeStringValue("contactName", tenDlcApplicationDraft.contactName);
11561
11561
  writer.writeStringValue("contactPhone", tenDlcApplicationDraft.contactPhone);
11562
11562
  writer.writeStringValue("ein", tenDlcApplicationDraft.ein);
11563
- writer.writeObjectValue("expectedMonthlyVolume", tenDlcApplicationDraft.expectedMonthlyVolume);
11563
+ writer.writeNumberValue("expectedMonthlyVolume", tenDlcApplicationDraft.expectedMonthlyVolume);
11564
11564
  writer.writeStringValue("industry", tenDlcApplicationDraft.industry);
11565
11565
  writer.writeDateValue("lastSubmittedAt", tenDlcApplicationDraft.lastSubmittedAt);
11566
11566
  writer.writeCollectionOfPrimitiveValues("messageExamples", tenDlcApplicationDraft.messageExamples);
@@ -11573,7 +11573,7 @@ export function serializeTenDlcApplicationDraft(writer, tenDlcApplicationDraft =
11573
11573
  writer.writeDateValue("updatedAt", tenDlcApplicationDraft.updatedAt);
11574
11574
  writer.writeStringValue("useCase", tenDlcApplicationDraft.useCase);
11575
11575
  writer.writeStringValue("useCaseDescription", tenDlcApplicationDraft.useCaseDescription);
11576
- writer.writeObjectValue("version", tenDlcApplicationDraft.version);
11576
+ writer.writeNumberValue("version", tenDlcApplicationDraft.version);
11577
11577
  writer.writeStringValue("websiteUrl", tenDlcApplicationDraft.websiteUrl);
11578
11578
  writer.writeAdditionalData(tenDlcApplicationDraft.additionalData);
11579
11579
  }
@@ -11602,22 +11602,22 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
11602
11602
  if (!transactionResponse || isSerializingDerivedType) {
11603
11603
  return;
11604
11604
  }
11605
- writer.writeObjectValue("amount", transactionResponse.amount);
11605
+ writer.writeNumberValue("amount", transactionResponse.amount);
11606
11606
  writer.writeEnumValue("billableUnit", transactionResponse.billableUnit);
11607
- writer.writeObjectValue("billedAmount", transactionResponse.billedAmount);
11607
+ writer.writeNumberValue("billedAmount", transactionResponse.billedAmount);
11608
11608
  writer.writeEnumValue("billingChannel", transactionResponse.billingChannel);
11609
11609
  writer.writeDateValue("createdAt", transactionResponse.createdAt);
11610
11610
  writer.writeStringValue("description", transactionResponse.description);
11611
- writer.writeObjectValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
11611
+ writer.writeNumberValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
11612
11612
  writer.writeStringValue("gatewayStatus", transactionResponse.gatewayStatus);
11613
11613
  writer.writeStringValue("id", transactionResponse.id);
11614
11614
  writer.writeObjectValue("lead", transactionResponse.lead, serializeTransactionResponse_lead);
11615
11615
  writer.writeDateValue("modifiedAt", transactionResponse.modifiedAt);
11616
- writer.writeObjectValue("netAmount", transactionResponse.netAmount);
11616
+ writer.writeNumberValue("netAmount", transactionResponse.netAmount);
11617
11617
  writer.writeStringValue("notes", transactionResponse.notes);
11618
11618
  writer.writeObjectValue("organization", transactionResponse.organization, serializeTransactionResponse_organization);
11619
11619
  writer.writeStringValue("paymentMethodDisplay", transactionResponse.paymentMethodDisplay);
11620
- writer.writeObjectValue("platformFeeAmount", transactionResponse.platformFeeAmount);
11620
+ writer.writeNumberValue("platformFeeAmount", transactionResponse.platformFeeAmount);
11621
11621
  writer.writeEnumValue("transactionStatus", transactionResponse.transactionStatus);
11622
11622
  writer.writeEnumValue("transactionType", transactionResponse.transactionType);
11623
11623
  writer.writeAdditionalData(transactionResponse.additionalData);
@@ -11659,24 +11659,24 @@ export function serializeTransactionTableRow(writer, transactionTableRow = {}, i
11659
11659
  if (!transactionTableRow || isSerializingDerivedType) {
11660
11660
  return;
11661
11661
  }
11662
- writer.writeObjectValue("amount", transactionTableRow.amount);
11662
+ writer.writeNumberValue("amount", transactionTableRow.amount);
11663
11663
  writer.writeEnumValue("billableUnit", transactionTableRow.billableUnit);
11664
- writer.writeObjectValue("billedAmount", transactionTableRow.billedAmount);
11664
+ writer.writeNumberValue("billedAmount", transactionTableRow.billedAmount);
11665
11665
  writer.writeEnumValue("billingChannel", transactionTableRow.billingChannel);
11666
11666
  writer.writeDateValue("createdAt", transactionTableRow.createdAt);
11667
11667
  writer.writeStringValue("description", transactionTableRow.description);
11668
11668
  writer.writeStringValue("id", transactionTableRow.id);
11669
11669
  writer.writeObjectValue("lead", transactionTableRow.lead, serializeTransactionTableRow_lead);
11670
- writer.writeObjectValue("netAmount", transactionTableRow.netAmount);
11670
+ writer.writeNumberValue("netAmount", transactionTableRow.netAmount);
11671
11671
  writer.writeObjectValue("organization", transactionTableRow.organization, serializeTransactionTableRow_organization);
11672
11672
  writer.writeStringValue("paymentMethodDisplay", transactionTableRow.paymentMethodDisplay);
11673
11673
  writer.writeStringValue("pricingVersion", transactionTableRow.pricingVersion);
11674
- writer.writeObjectValue("quantity", transactionTableRow.quantity);
11674
+ writer.writeNumberValue("quantity", transactionTableRow.quantity);
11675
11675
  writer.writeStringValue("sourceEventId", transactionTableRow.sourceEventId);
11676
11676
  writer.writeStringValue("sourceEventType", transactionTableRow.sourceEventType);
11677
11677
  writer.writeEnumValue("transactionStatus", transactionTableRow.transactionStatus);
11678
11678
  writer.writeEnumValue("transactionType", transactionTableRow.transactionType);
11679
- writer.writeObjectValue("unitPrice", transactionTableRow.unitPrice);
11679
+ writer.writeNumberValue("unitPrice", transactionTableRow.unitPrice);
11680
11680
  writer.writeAdditionalData(transactionTableRow.additionalData);
11681
11681
  }
11682
11682
  /**
@@ -11735,9 +11735,9 @@ export function serializeUsageCounterLine(writer, usageCounterLine = {}, isSeria
11735
11735
  }
11736
11736
  writer.writeStringValue("key", usageCounterLine.key);
11737
11737
  writer.writeStringValue("label", usageCounterLine.label);
11738
- writer.writeObjectValue("sortOrder", usageCounterLine.sortOrder);
11738
+ writer.writeNumberValue("sortOrder", usageCounterLine.sortOrder);
11739
11739
  writer.writeStringValue("unit", usageCounterLine.unit);
11740
- writer.writeObjectValue("value", usageCounterLine.value);
11740
+ writer.writeNumberValue("value", usageCounterLine.value);
11741
11741
  writer.writeAdditionalData(usageCounterLine.additionalData);
11742
11742
  }
11743
11743
  /**
@@ -11751,23 +11751,23 @@ export function serializeUsageLedgerTableRow(writer, usageLedgerTableRow = {}, i
11751
11751
  if (!usageLedgerTableRow || isSerializingDerivedType) {
11752
11752
  return;
11753
11753
  }
11754
- writer.writeObjectValue("billableSeconds", usageLedgerTableRow.billableSeconds);
11754
+ writer.writeNumberValue("billableSeconds", usageLedgerTableRow.billableSeconds);
11755
11755
  writer.writeEnumValue("billableUnit", usageLedgerTableRow.billableUnit);
11756
11756
  writer.writeEnumValue("channel", usageLedgerTableRow.channel);
11757
11757
  writer.writeDateValue("createdAt", usageLedgerTableRow.createdAt);
11758
- writer.writeObjectValue("customerChargeAmount", usageLedgerTableRow.customerChargeAmount);
11758
+ writer.writeNumberValue("customerChargeAmount", usageLedgerTableRow.customerChargeAmount);
11759
11759
  writer.writeStringValue("description", usageLedgerTableRow.description);
11760
- writer.writeObjectValue("durationSeconds", usageLedgerTableRow.durationSeconds);
11760
+ writer.writeNumberValue("durationSeconds", usageLedgerTableRow.durationSeconds);
11761
11761
  writer.writeStringValue("id", usageLedgerTableRow.id);
11762
11762
  writer.writeBooleanValue("isBillable", usageLedgerTableRow.isBillable);
11763
11763
  writer.writeObjectValue("lead", usageLedgerTableRow.lead, serializeUsageLedgerTableRow_lead);
11764
11764
  writer.writeObjectValue("organization", usageLedgerTableRow.organization, serializeUsageLedgerTableRow_organization);
11765
11765
  writer.writeStringValue("phoneNumber", usageLedgerTableRow.phoneNumber);
11766
11766
  writer.writeStringValue("phoneNumberId", usageLedgerTableRow.phoneNumberId);
11767
- writer.writeObjectValue("quantity", usageLedgerTableRow.quantity);
11768
- writer.writeObjectValue("smsSegments", usageLedgerTableRow.smsSegments);
11767
+ writer.writeNumberValue("quantity", usageLedgerTableRow.quantity);
11768
+ writer.writeNumberValue("smsSegments", usageLedgerTableRow.smsSegments);
11769
11769
  writer.writeEnumValue("status", usageLedgerTableRow.status);
11770
- writer.writeObjectValue("unitPrice", usageLedgerTableRow.unitPrice);
11770
+ writer.writeNumberValue("unitPrice", usageLedgerTableRow.unitPrice);
11771
11771
  writer.writeObjectValue("user", usageLedgerTableRow.user, serializeUsageLedgerTableRow_user);
11772
11772
  writer.writeAdditionalData(usageLedgerTableRow.additionalData);
11773
11773
  }
@@ -11823,9 +11823,9 @@ export function serializeUsageSummaryLine(writer, usageSummaryLine = {}, isSeria
11823
11823
  }
11824
11824
  writer.writeEnumValue("billableUnit", usageSummaryLine.billableUnit);
11825
11825
  writer.writeEnumValue("channel", usageSummaryLine.channel);
11826
- writer.writeObjectValue("customerChargeAmount", usageSummaryLine.customerChargeAmount);
11827
- writer.writeObjectValue("quantity", usageSummaryLine.quantity);
11828
- writer.writeObjectValue("recordCount", usageSummaryLine.recordCount);
11826
+ writer.writeNumberValue("customerChargeAmount", usageSummaryLine.customerChargeAmount);
11827
+ writer.writeNumberValue("quantity", usageSummaryLine.quantity);
11828
+ writer.writeNumberValue("recordCount", usageSummaryLine.recordCount);
11829
11829
  writer.writeEnumValue("status", usageSummaryLine.status);
11830
11830
  writer.writeAdditionalData(usageSummaryLine.additionalData);
11831
11831
  }
@@ -11840,15 +11840,15 @@ export function serializeUsageSummaryResponse(writer, usageSummaryResponse = {},
11840
11840
  if (!usageSummaryResponse || isSerializingDerivedType) {
11841
11841
  return;
11842
11842
  }
11843
- writer.writeObjectValue("billableQuantityTotal", usageSummaryResponse.billableQuantityTotal);
11843
+ writer.writeNumberValue("billableQuantityTotal", usageSummaryResponse.billableQuantityTotal);
11844
11844
  writer.writeCollectionOfObjectValues("counters", usageSummaryResponse.counters, serializeUsageCounterLine);
11845
- writer.writeObjectValue("customerChargeTotal", usageSummaryResponse.customerChargeTotal);
11846
- writer.writeObjectValue("failedCount", usageSummaryResponse.failedCount);
11845
+ writer.writeNumberValue("customerChargeTotal", usageSummaryResponse.customerChargeTotal);
11846
+ writer.writeNumberValue("failedCount", usageSummaryResponse.failedCount);
11847
11847
  writer.writeCollectionOfObjectValues("lines", usageSummaryResponse.lines, serializeUsageSummaryLine);
11848
- writer.writeObjectValue("pendingInvoiceCount", usageSummaryResponse.pendingInvoiceCount);
11848
+ writer.writeNumberValue("pendingInvoiceCount", usageSummaryResponse.pendingInvoiceCount);
11849
11849
  writer.writeDateValue("periodEnd", usageSummaryResponse.periodEnd);
11850
11850
  writer.writeDateValue("periodStart", usageSummaryResponse.periodStart);
11851
- writer.writeObjectValue("transactionCount", usageSummaryResponse.transactionCount);
11851
+ writer.writeNumberValue("transactionCount", usageSummaryResponse.transactionCount);
11852
11852
  writer.writeAdditionalData(usageSummaryResponse.additionalData);
11853
11853
  }
11854
11854
  /**
@@ -11884,7 +11884,7 @@ export function serializeUserDataExportFile(writer, userDataExportFile = {}, isS
11884
11884
  writer.writeStringValue("category", userDataExportFile.category);
11885
11885
  writer.writeStringValue("contentType", userDataExportFile.contentType);
11886
11886
  writer.writeStringValue("fileName", userDataExportFile.fileName);
11887
- writer.writeObjectValue("rowCount", userDataExportFile.rowCount);
11887
+ writer.writeNumberValue("rowCount", userDataExportFile.rowCount);
11888
11888
  writer.writeAdditionalData(userDataExportFile.additionalData);
11889
11889
  }
11890
11890
  /**
@@ -11900,17 +11900,17 @@ export function serializeUserDataExportResponse(writer, userDataExportResponse =
11900
11900
  }
11901
11901
  writer.writeDateValue("completedAt", userDataExportResponse.completedAt);
11902
11902
  writer.writeStringValue("contentType", userDataExportResponse.contentType);
11903
- writer.writeObjectValue("downloadCount", userDataExportResponse.downloadCount);
11903
+ writer.writeNumberValue("downloadCount", userDataExportResponse.downloadCount);
11904
11904
  writer.writeStringValue("downloadUrl", userDataExportResponse.downloadUrl);
11905
11905
  writer.writeDateValue("expiresAt", userDataExportResponse.expiresAt);
11906
11906
  writer.writeDateValue("failedAt", userDataExportResponse.failedAt);
11907
11907
  writer.writeStringValue("fileName", userDataExportResponse.fileName);
11908
11908
  writer.writeCollectionOfObjectValues("files", userDataExportResponse.files, serializeUserDataExportFile);
11909
11909
  writer.writeStringValue("id", userDataExportResponse.id);
11910
- writer.writeObjectValue("maxDownloadCount", userDataExportResponse.maxDownloadCount);
11910
+ writer.writeNumberValue("maxDownloadCount", userDataExportResponse.maxDownloadCount);
11911
11911
  writer.writeStringValue("message", userDataExportResponse.message);
11912
11912
  writer.writeDateValue("requestedAt", userDataExportResponse.requestedAt);
11913
- writer.writeObjectValue("sizeBytes", userDataExportResponse.sizeBytes);
11913
+ writer.writeNumberValue("sizeBytes", userDataExportResponse.sizeBytes);
11914
11914
  writer.writeDateValue("startedAt", userDataExportResponse.startedAt);
11915
11915
  writer.writeEnumValue("status", userDataExportResponse.status);
11916
11916
  writer.writeAdditionalData(userDataExportResponse.additionalData);
@@ -12079,7 +12079,7 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
12079
12079
  writer.writeDateValue("personalDataDeletionRequestedAt", userResponse.personalDataDeletionRequestedAt);
12080
12080
  writer.writeStringValue("personalDataDeletionStatus", userResponse.personalDataDeletionStatus);
12081
12081
  writer.writeStringValue("phone", userResponse.phone);
12082
- writer.writeObjectValue("roles", userResponse.roles);
12082
+ writer.writeCollectionOfPrimitiveValues("roles", userResponse.roles);
12083
12083
  writer.writeEnumValue("subscriptionStatus", userResponse.subscriptionStatus);
12084
12084
  writer.writeStringValue("timeZoneId", userResponse.timeZoneId);
12085
12085
  writer.writeAdditionalData(userResponse.additionalData);
@@ -12147,20 +12147,20 @@ export function serializeWalletResponse(writer, walletResponse = {}, isSerializi
12147
12147
  if (!walletResponse || isSerializingDerivedType) {
12148
12148
  return;
12149
12149
  }
12150
- writer.writeObjectValue("amountPurchased", walletResponse.amountPurchased);
12151
- writer.writeObjectValue("amountRemaining", walletResponse.amountRemaining);
12152
- writer.writeObjectValue("balance", walletResponse.balance);
12150
+ writer.writeNumberValue("amountPurchased", walletResponse.amountPurchased);
12151
+ writer.writeNumberValue("amountRemaining", walletResponse.amountRemaining);
12152
+ writer.writeNumberValue("balance", walletResponse.balance);
12153
12153
  writer.writeDateValue("balanceCalculatedAt", walletResponse.balanceCalculatedAt);
12154
12154
  writer.writeDateValue("createdAt", walletResponse.createdAt);
12155
12155
  writer.writeEnumValue("creditStatus", walletResponse.creditStatus);
12156
12156
  writer.writeStringValue("currency", walletResponse.currency);
12157
- writer.writeObjectValue("expiredCreditAmount", walletResponse.expiredCreditAmount);
12157
+ writer.writeNumberValue("expiredCreditAmount", walletResponse.expiredCreditAmount);
12158
12158
  writer.writeDateValue("expiresAt", walletResponse.expiresAt);
12159
12159
  writer.writeStringValue("id", walletResponse.id);
12160
12160
  writer.writeDateValue("modifiedAt", walletResponse.modifiedAt);
12161
12161
  writer.writeStringValue("name", walletResponse.name);
12162
12162
  writer.writeDateValue("nextCreditExpirationAt", walletResponse.nextCreditExpirationAt);
12163
- writer.writeObjectValue("nextExpiringCreditAmount", walletResponse.nextExpiringCreditAmount);
12163
+ writer.writeNumberValue("nextExpiringCreditAmount", walletResponse.nextExpiringCreditAmount);
12164
12164
  writer.writeStringValue("organizationId", walletResponse.organizationId);
12165
12165
  writer.writeStringValue("originalTransactionId", walletResponse.originalTransactionId);
12166
12166
  writer.writeDateValue("purchasedAt", walletResponse.purchasedAt);