rcs-js 1.0.8 → 1.0.10

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 (545) hide show
  1. package/Client.d.ts +10 -126
  2. package/Client.js +15 -443
  3. package/README.md +30 -7
  4. package/api/client/requests/GetRcsFunctionalityRequest.d.ts +13 -0
  5. package/api/client/requests/index.d.ts +1 -5
  6. package/api/errors/ForbiddenError.d.ts +7 -0
  7. package/api/errors/{NotFoundError.js → ForbiddenError.js} +6 -6
  8. package/api/errors/index.d.ts +1 -1
  9. package/api/errors/index.js +1 -1
  10. package/api/index.d.ts +1 -0
  11. package/api/index.js +1 -0
  12. package/api/resources/company/client/Client.d.ts +96 -0
  13. package/api/resources/company/client/Client.js +289 -0
  14. package/api/resources/company/client/index.d.ts +1 -0
  15. package/api/resources/company/client/index.js +17 -0
  16. package/{dist/api/client/requests/GetCompanyRequest.d.ts → api/resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
  17. package/api/{client/requests/RegisterCompanyRequest.d.ts → resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
  18. package/{dist/api/client/requests/UpdateCompanyRequest.d.ts → api/resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
  19. package/api/resources/company/client/requests/index.d.ts +3 -0
  20. package/api/resources/company/client/requests/index.js +2 -0
  21. package/api/resources/company/index.d.ts +2 -0
  22. package/api/resources/company/index.js +18 -0
  23. package/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
  24. package/api/resources/company/types/CompanyRegisterResponseBrand.d.ts +7 -0
  25. package/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
  26. package/api/resources/company/types/CompanyUpdateResponseBrand.d.ts +7 -0
  27. package/api/resources/company/types/index.d.ts +4 -0
  28. package/api/resources/company/types/index.js +20 -0
  29. package/api/resources/index.d.ts +6 -0
  30. package/api/resources/index.js +35 -0
  31. package/api/resources/send/client/Client.d.ts +86 -0
  32. package/api/resources/send/client/Client.js +277 -0
  33. package/api/resources/send/client/index.d.ts +1 -0
  34. package/api/resources/send/client/index.js +17 -0
  35. package/api/resources/send/client/requests/Rcs.d.ts +43 -0
  36. package/api/resources/send/client/requests/SendMmsRequest.d.ts +22 -0
  37. package/api/resources/send/client/requests/SendSmsRequest.d.ts +19 -0
  38. package/api/resources/send/client/requests/index.d.ts +3 -0
  39. package/api/resources/send/client/requests/index.js +2 -0
  40. package/api/resources/send/index.d.ts +2 -0
  41. package/api/resources/send/index.js +18 -0
  42. package/api/resources/send/types/SendMmsResponse.d.ts +9 -0
  43. package/api/resources/send/types/SendRcsResponse.d.ts +9 -0
  44. package/api/resources/send/types/SendSmsResponse.d.ts +9 -0
  45. package/api/resources/send/types/index.d.ts +3 -0
  46. package/api/resources/send/types/index.js +19 -0
  47. package/api/types/Action.d.ts +20 -1
  48. package/api/types/ActionLatLong.d.ts +12 -0
  49. package/api/types/ActionType.d.ts +15 -0
  50. package/api/types/ActionType.js +14 -0
  51. package/api/types/BadRequestErrorBody.d.ts +1 -3
  52. package/api/types/Card.d.ts +5 -7
  53. package/api/types/{NotFoundErrorBody.d.ts → ForbiddenErrorBody.d.ts} +2 -2
  54. package/api/types/InternalServerErrorBody.d.ts +1 -2
  55. package/api/types/RcsFunctionalities.d.ts +21 -0
  56. package/api/types/UnauthorizedErrorBody.d.ts +1 -1
  57. package/api/types/index.d.ts +6 -37
  58. package/api/types/index.js +6 -37
  59. package/dist/Client.d.ts +10 -126
  60. package/dist/Client.js +15 -443
  61. package/dist/api/client/requests/GetRcsFunctionalityRequest.d.ts +13 -0
  62. package/dist/api/client/requests/index.d.ts +1 -5
  63. package/dist/api/errors/ForbiddenError.d.ts +7 -0
  64. package/dist/api/errors/{NotFoundError.js → ForbiddenError.js} +6 -6
  65. package/dist/api/errors/index.d.ts +1 -1
  66. package/dist/api/errors/index.js +1 -1
  67. package/dist/api/index.d.ts +1 -0
  68. package/dist/api/index.js +1 -0
  69. package/dist/api/resources/company/client/Client.d.ts +96 -0
  70. package/dist/api/resources/company/client/Client.js +289 -0
  71. package/dist/api/resources/company/client/index.d.ts +1 -0
  72. package/dist/api/resources/company/client/index.js +17 -0
  73. package/{api/client/requests/GetCompanyRequest.d.ts → dist/api/resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
  74. package/dist/api/{client/requests/RegisterCompanyRequest.d.ts → resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
  75. package/{api/client/requests/UpdateCompanyRequest.d.ts → dist/api/resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
  76. package/dist/api/resources/company/client/requests/index.d.ts +3 -0
  77. package/dist/api/resources/company/client/requests/index.js +2 -0
  78. package/dist/api/resources/company/index.d.ts +2 -0
  79. package/dist/api/resources/company/index.js +18 -0
  80. package/dist/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
  81. package/dist/api/resources/company/types/CompanyRegisterResponseBrand.d.ts +7 -0
  82. package/dist/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
  83. package/dist/api/resources/company/types/CompanyUpdateResponseBrand.d.ts +7 -0
  84. package/dist/api/resources/company/types/index.d.ts +4 -0
  85. package/dist/api/resources/company/types/index.js +20 -0
  86. package/dist/api/resources/index.d.ts +6 -0
  87. package/dist/api/resources/index.js +35 -0
  88. package/dist/api/resources/send/client/Client.d.ts +86 -0
  89. package/dist/api/resources/send/client/Client.js +277 -0
  90. package/dist/api/resources/send/client/index.d.ts +1 -0
  91. package/dist/api/resources/send/client/index.js +17 -0
  92. package/dist/api/resources/send/client/requests/Rcs.d.ts +43 -0
  93. package/dist/api/resources/send/client/requests/SendMmsRequest.d.ts +22 -0
  94. package/dist/api/resources/send/client/requests/SendSmsRequest.d.ts +19 -0
  95. package/dist/api/resources/send/client/requests/index.d.ts +3 -0
  96. package/dist/api/resources/send/client/requests/index.js +2 -0
  97. package/dist/api/resources/send/index.d.ts +2 -0
  98. package/dist/api/resources/send/index.js +18 -0
  99. package/dist/api/resources/send/types/SendMmsResponse.d.ts +9 -0
  100. package/dist/api/resources/send/types/SendRcsResponse.d.ts +9 -0
  101. package/dist/api/resources/send/types/SendSmsResponse.d.ts +9 -0
  102. package/dist/api/resources/send/types/index.d.ts +3 -0
  103. package/dist/api/resources/send/types/index.js +19 -0
  104. package/dist/api/types/Action.d.ts +20 -1
  105. package/dist/api/types/ActionLatLong.d.ts +12 -0
  106. package/dist/api/types/ActionType.d.ts +15 -0
  107. package/dist/api/types/ActionType.js +14 -0
  108. package/dist/api/types/BadRequestErrorBody.d.ts +1 -3
  109. package/dist/api/types/Card.d.ts +5 -7
  110. package/dist/api/types/{NotFoundErrorBody.d.ts → ForbiddenErrorBody.d.ts} +2 -2
  111. package/dist/api/types/InternalServerErrorBody.d.ts +1 -2
  112. package/dist/api/types/RcsFunctionalities.d.ts +21 -0
  113. package/dist/api/types/UnauthorizedErrorBody.d.ts +1 -1
  114. package/dist/api/types/index.d.ts +6 -37
  115. package/dist/api/types/index.js +6 -37
  116. package/dist/serialization/index.d.ts +1 -1
  117. package/dist/serialization/index.js +1 -1
  118. package/dist/serialization/resources/company/client/get.d.ts +11 -0
  119. package/dist/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
  120. package/dist/serialization/resources/company/client/index.d.ts +2 -0
  121. package/{serialization → dist/serialization/resources/company}/client/index.js +2 -2
  122. package/dist/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
  123. package/{serialization/client/requests/RegisterCompanyRequest.js → dist/serialization/resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
  124. package/dist/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
  125. package/dist/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
  126. package/dist/serialization/resources/company/client/requests/index.d.ts +2 -0
  127. package/dist/serialization/resources/company/client/requests/index.js +7 -0
  128. package/dist/serialization/resources/company/index.d.ts +2 -0
  129. package/dist/serialization/resources/company/index.js +18 -0
  130. package/dist/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
  131. package/dist/serialization/resources/company/types/CompanyRegisterResponse.js +34 -0
  132. package/dist/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
  133. package/dist/serialization/resources/company/types/CompanyRegisterResponseBrand.js +34 -0
  134. package/dist/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
  135. package/dist/serialization/{types/CheckRcsCapabilityResponse.js → resources/company/types/CompanyUpdateResponse.js} +5 -5
  136. package/dist/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
  137. package/dist/serialization/{client/requests/UpdateSettingsRequest.js → resources/company/types/CompanyUpdateResponseBrand.js} +5 -4
  138. package/dist/serialization/resources/company/types/index.d.ts +4 -0
  139. package/dist/serialization/resources/company/types/index.js +20 -0
  140. package/dist/serialization/resources/index.d.ts +6 -0
  141. package/dist/serialization/resources/index.js +35 -0
  142. package/dist/serialization/resources/send/client/index.d.ts +1 -0
  143. package/dist/serialization/resources/send/client/index.js +17 -0
  144. package/dist/serialization/resources/send/client/requests/Rcs.d.ts +19 -0
  145. package/dist/serialization/{types/SmsMessage.js → resources/send/client/requests/Rcs.js} +10 -4
  146. package/dist/serialization/resources/send/client/requests/SendMmsRequest.d.ts +15 -0
  147. package/dist/serialization/resources/send/client/requests/SendMmsRequest.js +36 -0
  148. package/dist/serialization/resources/send/client/requests/SendSmsRequest.d.ts +14 -0
  149. package/{serialization/types/BasicRcsMessage.js → dist/serialization/resources/send/client/requests/SendSmsRequest.js} +5 -3
  150. package/dist/serialization/resources/send/client/requests/index.d.ts +3 -0
  151. package/dist/serialization/resources/send/client/requests/index.js +9 -0
  152. package/dist/serialization/resources/send/index.d.ts +2 -0
  153. package/dist/serialization/resources/send/index.js +18 -0
  154. package/dist/serialization/resources/send/types/SendMmsResponse.d.ts +13 -0
  155. package/dist/serialization/resources/send/types/SendMmsResponse.js +34 -0
  156. package/dist/serialization/resources/send/types/SendRcsResponse.d.ts +13 -0
  157. package/dist/serialization/resources/send/types/SendRcsResponse.js +34 -0
  158. package/dist/serialization/resources/send/types/SendSmsResponse.d.ts +13 -0
  159. package/dist/serialization/resources/send/types/SendSmsResponse.js +34 -0
  160. package/dist/serialization/resources/send/types/index.d.ts +3 -0
  161. package/dist/serialization/resources/send/types/index.js +19 -0
  162. package/dist/serialization/types/Action.d.ts +14 -7
  163. package/dist/serialization/types/Action.js +13 -6
  164. package/dist/serialization/types/{LatLng.d.ts → ActionLatLong.d.ts} +4 -4
  165. package/dist/serialization/types/{NotFoundErrorBody.js → ActionLatLong.js} +4 -3
  166. package/dist/serialization/types/ActionType.d.ts +10 -0
  167. package/dist/serialization/types/{CardStyleImageAlignment.js → ActionType.js} +2 -2
  168. package/dist/serialization/types/BadRequestErrorBody.d.ts +1 -3
  169. package/dist/serialization/types/BadRequestErrorBody.js +1 -3
  170. package/dist/serialization/types/Card.d.ts +1 -3
  171. package/dist/serialization/types/Card.js +1 -3
  172. package/dist/serialization/types/{NotFoundErrorBody.d.ts → ForbiddenErrorBody.d.ts} +3 -3
  173. package/dist/serialization/types/{GetAccountNumberResponse.js → ForbiddenErrorBody.js} +3 -3
  174. package/dist/serialization/types/InternalServerErrorBody.d.ts +1 -2
  175. package/dist/serialization/types/InternalServerErrorBody.js +1 -2
  176. package/dist/serialization/types/RcsFunctionalities.d.ts +19 -0
  177. package/dist/serialization/types/{BadRequestErrorBodyError.js → RcsFunctionalities.js} +10 -7
  178. package/dist/serialization/types/UnauthorizedErrorBody.d.ts +1 -1
  179. package/dist/serialization/types/UnauthorizedErrorBody.js +1 -1
  180. package/dist/serialization/types/index.d.ts +6 -37
  181. package/dist/serialization/types/index.js +6 -37
  182. package/dist/version.d.ts +1 -1
  183. package/dist/version.js +1 -1
  184. package/package.json +1 -1
  185. package/reference.md +426 -5
  186. package/serialization/index.d.ts +1 -1
  187. package/serialization/index.js +1 -1
  188. package/serialization/resources/company/client/get.d.ts +11 -0
  189. package/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
  190. package/serialization/resources/company/client/index.d.ts +2 -0
  191. package/{dist/serialization → serialization/resources/company}/client/index.js +2 -2
  192. package/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
  193. package/{dist/serialization/client/requests/RegisterCompanyRequest.js → serialization/resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
  194. package/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
  195. package/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
  196. package/serialization/resources/company/client/requests/index.d.ts +2 -0
  197. package/serialization/resources/company/client/requests/index.js +7 -0
  198. package/serialization/resources/company/index.d.ts +2 -0
  199. package/serialization/resources/company/index.js +18 -0
  200. package/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
  201. package/serialization/resources/company/types/CompanyRegisterResponse.js +34 -0
  202. package/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
  203. package/serialization/resources/company/types/CompanyRegisterResponseBrand.js +34 -0
  204. package/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
  205. package/{dist/serialization/types/Call.js → serialization/resources/company/types/CompanyUpdateResponse.js} +5 -6
  206. package/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
  207. package/serialization/resources/company/types/CompanyUpdateResponseBrand.js +34 -0
  208. package/serialization/resources/company/types/index.d.ts +4 -0
  209. package/serialization/resources/company/types/index.js +20 -0
  210. package/serialization/resources/index.d.ts +6 -0
  211. package/serialization/resources/index.js +35 -0
  212. package/serialization/resources/send/client/index.d.ts +1 -0
  213. package/serialization/resources/send/client/index.js +17 -0
  214. package/serialization/resources/send/client/requests/Rcs.d.ts +19 -0
  215. package/serialization/{types/SmsMessage.js → resources/send/client/requests/Rcs.js} +10 -4
  216. package/serialization/resources/send/client/requests/SendMmsRequest.d.ts +15 -0
  217. package/serialization/resources/send/client/requests/SendMmsRequest.js +36 -0
  218. package/serialization/resources/send/client/requests/SendSmsRequest.d.ts +14 -0
  219. package/serialization/resources/send/client/requests/SendSmsRequest.js +35 -0
  220. package/serialization/resources/send/client/requests/index.d.ts +3 -0
  221. package/serialization/resources/send/client/requests/index.js +9 -0
  222. package/serialization/resources/send/index.d.ts +2 -0
  223. package/serialization/resources/send/index.js +18 -0
  224. package/serialization/resources/send/types/SendMmsResponse.d.ts +13 -0
  225. package/serialization/resources/send/types/SendMmsResponse.js +34 -0
  226. package/serialization/resources/send/types/SendRcsResponse.d.ts +13 -0
  227. package/serialization/resources/send/types/SendRcsResponse.js +34 -0
  228. package/serialization/resources/send/types/SendSmsResponse.d.ts +13 -0
  229. package/serialization/resources/send/types/SendSmsResponse.js +34 -0
  230. package/serialization/resources/send/types/index.d.ts +3 -0
  231. package/serialization/resources/send/types/index.js +19 -0
  232. package/serialization/types/Action.d.ts +14 -7
  233. package/serialization/types/Action.js +13 -6
  234. package/{dist/serialization/types/Call.d.ts → serialization/types/ActionLatLong.d.ts} +4 -5
  235. package/{dist/serialization/types/BasicRcsMessage.js → serialization/types/ActionLatLong.js} +4 -3
  236. package/serialization/types/ActionType.d.ts +10 -0
  237. package/{dist/serialization/types/CardStyleMediaHeight.js → serialization/types/ActionType.js} +2 -2
  238. package/serialization/types/BadRequestErrorBody.d.ts +1 -3
  239. package/serialization/types/BadRequestErrorBody.js +1 -3
  240. package/serialization/types/Card.d.ts +1 -3
  241. package/serialization/types/Card.js +1 -3
  242. package/{dist/serialization/types/BasicRcsMessage.d.ts → serialization/types/ForbiddenErrorBody.d.ts} +3 -3
  243. package/{dist/serialization/types/LatLng.js → serialization/types/ForbiddenErrorBody.js} +3 -4
  244. package/serialization/types/InternalServerErrorBody.d.ts +1 -2
  245. package/serialization/types/InternalServerErrorBody.js +1 -2
  246. package/serialization/types/RcsFunctionalities.d.ts +19 -0
  247. package/{dist/serialization/types/BasicRcs.js → serialization/types/RcsFunctionalities.js} +10 -9
  248. package/serialization/types/UnauthorizedErrorBody.d.ts +1 -1
  249. package/serialization/types/UnauthorizedErrorBody.js +1 -1
  250. package/serialization/types/index.d.ts +6 -37
  251. package/serialization/types/index.js +6 -37
  252. package/version.d.ts +1 -1
  253. package/version.js +1 -1
  254. package/api/client/requests/CheckRcsCapabilityRequest.d.ts +0 -21
  255. package/api/client/requests/UpdateSettingsRequest.d.ts +0 -13
  256. package/api/errors/NotFoundError.d.ts +0 -8
  257. package/api/types/BadRequestErrorBodyError.d.ts +0 -10
  258. package/api/types/BasicRcs.d.ts +0 -13
  259. package/api/types/BasicRcsMessage.d.ts +0 -10
  260. package/api/types/Call.d.ts +0 -11
  261. package/api/types/CardRcs.d.ts +0 -12
  262. package/api/types/CardRcsMessage.d.ts +0 -13
  263. package/api/types/CardStyle.d.ts +0 -16
  264. package/api/types/CardStyleImageAlignment.d.ts +0 -11
  265. package/api/types/CardStyleImageAlignment.js +0 -10
  266. package/api/types/CardStyleMediaHeight.d.ts +0 -12
  267. package/api/types/CardStyleMediaHeight.js +0 -11
  268. package/api/types/CardStyleOrientation.d.ts +0 -11
  269. package/api/types/CardStyleOrientation.js +0 -10
  270. package/api/types/CardStyleWidth.d.ts +0 -11
  271. package/api/types/CardStyleWidth.js +0 -10
  272. package/api/types/CarouselRcs.d.ts +0 -12
  273. package/api/types/CarouselRcsMessage.d.ts +0 -13
  274. package/api/types/CheckRcsCapabilityResponse.d.ts +0 -7
  275. package/api/types/Event.d.ts +0 -17
  276. package/api/types/GetAccountNumberResponse.d.ts +0 -7
  277. package/api/types/LatLng.d.ts +0 -12
  278. package/api/types/MediaRcs.d.ts +0 -12
  279. package/api/types/MediaRcsMessage.d.ts +0 -14
  280. package/api/types/MediaType.d.ts +0 -14
  281. package/api/types/MediaType.js +0 -13
  282. package/api/types/PhoneNumber.d.ts +0 -7
  283. package/api/types/Postback.d.ts +0 -13
  284. package/api/types/RegisterCompanyResponse.d.ts +0 -8
  285. package/api/types/RegisterCompanyResponseBrand.d.ts +0 -7
  286. package/api/types/SendMessageRequest.d.ts +0 -5
  287. package/api/types/SendMessageResponse.d.ts +0 -7
  288. package/api/types/ShareLocation.d.ts +0 -9
  289. package/api/types/Sms.d.ts +0 -12
  290. package/api/types/SmsMessage.d.ts +0 -12
  291. package/api/types/UpdateCompanyResponse.d.ts +0 -8
  292. package/api/types/UpdateCompanyResponseBrand.d.ts +0 -7
  293. package/api/types/UpdateSettingsResponse.d.ts +0 -6
  294. package/api/types/Url.d.ts +0 -11
  295. package/api/types/ViewLocation.d.ts +0 -13
  296. package/api/types/ViewLocation.js +0 -5
  297. package/dist/api/client/requests/CheckRcsCapabilityRequest.d.ts +0 -21
  298. package/dist/api/client/requests/CheckRcsCapabilityRequest.js +0 -5
  299. package/dist/api/client/requests/GetCompanyRequest.js +0 -5
  300. package/dist/api/client/requests/RegisterCompanyRequest.js +0 -5
  301. package/dist/api/client/requests/UpdateCompanyRequest.js +0 -5
  302. package/dist/api/client/requests/UpdateSettingsRequest.d.ts +0 -13
  303. package/dist/api/client/requests/UpdateSettingsRequest.js +0 -5
  304. package/dist/api/errors/NotFoundError.d.ts +0 -8
  305. package/dist/api/types/BadRequestErrorBodyError.d.ts +0 -10
  306. package/dist/api/types/BadRequestErrorBodyError.js +0 -5
  307. package/dist/api/types/BasicRcs.d.ts +0 -13
  308. package/dist/api/types/BasicRcs.js +0 -5
  309. package/dist/api/types/BasicRcsMessage.d.ts +0 -10
  310. package/dist/api/types/BasicRcsMessage.js +0 -5
  311. package/dist/api/types/Call.d.ts +0 -11
  312. package/dist/api/types/Call.js +0 -5
  313. package/dist/api/types/CardRcs.d.ts +0 -12
  314. package/dist/api/types/CardRcs.js +0 -5
  315. package/dist/api/types/CardRcsMessage.d.ts +0 -13
  316. package/dist/api/types/CardRcsMessage.js +0 -5
  317. package/dist/api/types/CardStyle.d.ts +0 -16
  318. package/dist/api/types/CardStyle.js +0 -5
  319. package/dist/api/types/CardStyleImageAlignment.d.ts +0 -11
  320. package/dist/api/types/CardStyleImageAlignment.js +0 -10
  321. package/dist/api/types/CardStyleMediaHeight.d.ts +0 -12
  322. package/dist/api/types/CardStyleMediaHeight.js +0 -11
  323. package/dist/api/types/CardStyleOrientation.d.ts +0 -11
  324. package/dist/api/types/CardStyleOrientation.js +0 -10
  325. package/dist/api/types/CardStyleWidth.d.ts +0 -11
  326. package/dist/api/types/CardStyleWidth.js +0 -10
  327. package/dist/api/types/CarouselRcs.d.ts +0 -12
  328. package/dist/api/types/CarouselRcs.js +0 -5
  329. package/dist/api/types/CarouselRcsMessage.d.ts +0 -13
  330. package/dist/api/types/CarouselRcsMessage.js +0 -5
  331. package/dist/api/types/CheckRcsCapabilityResponse.d.ts +0 -7
  332. package/dist/api/types/CheckRcsCapabilityResponse.js +0 -5
  333. package/dist/api/types/Event.d.ts +0 -17
  334. package/dist/api/types/Event.js +0 -5
  335. package/dist/api/types/GetAccountNumberResponse.d.ts +0 -7
  336. package/dist/api/types/GetAccountNumberResponse.js +0 -5
  337. package/dist/api/types/LatLng.d.ts +0 -12
  338. package/dist/api/types/LatLng.js +0 -5
  339. package/dist/api/types/MediaRcs.d.ts +0 -12
  340. package/dist/api/types/MediaRcs.js +0 -5
  341. package/dist/api/types/MediaRcsMessage.d.ts +0 -14
  342. package/dist/api/types/MediaRcsMessage.js +0 -5
  343. package/dist/api/types/MediaType.d.ts +0 -14
  344. package/dist/api/types/MediaType.js +0 -13
  345. package/dist/api/types/NotFoundErrorBody.js +0 -5
  346. package/dist/api/types/PhoneNumber.d.ts +0 -7
  347. package/dist/api/types/PhoneNumber.js +0 -5
  348. package/dist/api/types/Postback.d.ts +0 -13
  349. package/dist/api/types/Postback.js +0 -5
  350. package/dist/api/types/RegisterCompanyResponse.d.ts +0 -8
  351. package/dist/api/types/RegisterCompanyResponse.js +0 -5
  352. package/dist/api/types/RegisterCompanyResponseBrand.d.ts +0 -7
  353. package/dist/api/types/RegisterCompanyResponseBrand.js +0 -5
  354. package/dist/api/types/SendMessageRequest.d.ts +0 -5
  355. package/dist/api/types/SendMessageRequest.js +0 -5
  356. package/dist/api/types/SendMessageResponse.d.ts +0 -7
  357. package/dist/api/types/SendMessageResponse.js +0 -5
  358. package/dist/api/types/ShareLocation.d.ts +0 -9
  359. package/dist/api/types/ShareLocation.js +0 -5
  360. package/dist/api/types/Sms.d.ts +0 -12
  361. package/dist/api/types/Sms.js +0 -5
  362. package/dist/api/types/SmsMessage.d.ts +0 -12
  363. package/dist/api/types/SmsMessage.js +0 -5
  364. package/dist/api/types/UpdateCompanyResponse.d.ts +0 -8
  365. package/dist/api/types/UpdateCompanyResponse.js +0 -5
  366. package/dist/api/types/UpdateCompanyResponseBrand.d.ts +0 -7
  367. package/dist/api/types/UpdateCompanyResponseBrand.js +0 -5
  368. package/dist/api/types/UpdateSettingsResponse.d.ts +0 -6
  369. package/dist/api/types/UpdateSettingsResponse.js +0 -5
  370. package/dist/api/types/Url.d.ts +0 -11
  371. package/dist/api/types/Url.js +0 -5
  372. package/dist/api/types/ViewLocation.d.ts +0 -13
  373. package/dist/api/types/ViewLocation.js +0 -5
  374. package/dist/serialization/client/getCompany.d.ts +0 -11
  375. package/dist/serialization/client/index.d.ts +0 -2
  376. package/dist/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
  377. package/dist/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
  378. package/dist/serialization/client/requests/UpdateSettingsRequest.d.ts +0 -12
  379. package/dist/serialization/client/requests/index.d.ts +0 -3
  380. package/dist/serialization/client/requests/index.js +0 -9
  381. package/dist/serialization/types/BadRequestErrorBodyError.d.ts +0 -16
  382. package/dist/serialization/types/BasicRcs.d.ts +0 -18
  383. package/dist/serialization/types/CardRcs.d.ts +0 -16
  384. package/dist/serialization/types/CardRcs.js +0 -37
  385. package/dist/serialization/types/CardRcsMessage.d.ts +0 -15
  386. package/dist/serialization/types/CardRcsMessage.js +0 -36
  387. package/dist/serialization/types/CardStyle.d.ts +0 -20
  388. package/dist/serialization/types/CardStyle.js +0 -41
  389. package/dist/serialization/types/CardStyleImageAlignment.d.ts +0 -10
  390. package/dist/serialization/types/CardStyleMediaHeight.d.ts +0 -10
  391. package/dist/serialization/types/CardStyleOrientation.d.ts +0 -10
  392. package/dist/serialization/types/CardStyleOrientation.js +0 -31
  393. package/dist/serialization/types/CardStyleWidth.d.ts +0 -10
  394. package/dist/serialization/types/CardStyleWidth.js +0 -31
  395. package/dist/serialization/types/CarouselRcs.d.ts +0 -16
  396. package/dist/serialization/types/CarouselRcs.js +0 -37
  397. package/dist/serialization/types/CarouselRcsMessage.d.ts +0 -15
  398. package/dist/serialization/types/CarouselRcsMessage.js +0 -36
  399. package/dist/serialization/types/CheckRcsCapabilityResponse.d.ts +0 -13
  400. package/dist/serialization/types/Event.d.ts +0 -17
  401. package/dist/serialization/types/Event.js +0 -38
  402. package/dist/serialization/types/GetAccountNumberResponse.d.ts +0 -12
  403. package/dist/serialization/types/MediaRcs.d.ts +0 -16
  404. package/dist/serialization/types/MediaRcs.js +0 -37
  405. package/dist/serialization/types/MediaRcsMessage.d.ts +0 -16
  406. package/dist/serialization/types/MediaRcsMessage.js +0 -37
  407. package/dist/serialization/types/MediaType.d.ts +0 -10
  408. package/dist/serialization/types/MediaType.js +0 -31
  409. package/dist/serialization/types/PhoneNumber.d.ts +0 -10
  410. package/dist/serialization/types/PhoneNumber.js +0 -31
  411. package/dist/serialization/types/Postback.d.ts +0 -15
  412. package/dist/serialization/types/Postback.js +0 -36
  413. package/dist/serialization/types/RegisterCompanyResponse.d.ts +0 -14
  414. package/dist/serialization/types/RegisterCompanyResponse.js +0 -35
  415. package/dist/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
  416. package/dist/serialization/types/RegisterCompanyResponseBrand.js +0 -34
  417. package/dist/serialization/types/SendMessageRequest.d.ts +0 -15
  418. package/dist/serialization/types/SendMessageRequest.js +0 -36
  419. package/dist/serialization/types/SendMessageResponse.d.ts +0 -12
  420. package/dist/serialization/types/SendMessageResponse.js +0 -33
  421. package/dist/serialization/types/ShareLocation.d.ts +0 -13
  422. package/dist/serialization/types/ShareLocation.js +0 -34
  423. package/dist/serialization/types/Sms.d.ts +0 -16
  424. package/dist/serialization/types/Sms.js +0 -37
  425. package/dist/serialization/types/SmsMessage.d.ts +0 -13
  426. package/dist/serialization/types/UpdateCompanyResponse.d.ts +0 -14
  427. package/dist/serialization/types/UpdateCompanyResponse.js +0 -35
  428. package/dist/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
  429. package/dist/serialization/types/UpdateCompanyResponseBrand.js +0 -34
  430. package/dist/serialization/types/UpdateSettingsResponse.d.ts +0 -12
  431. package/dist/serialization/types/UpdateSettingsResponse.js +0 -33
  432. package/dist/serialization/types/Url.d.ts +0 -14
  433. package/dist/serialization/types/Url.js +0 -35
  434. package/dist/serialization/types/ViewLocation.d.ts +0 -16
  435. package/dist/serialization/types/ViewLocation.js +0 -37
  436. package/serialization/client/getCompany.d.ts +0 -11
  437. package/serialization/client/index.d.ts +0 -2
  438. package/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
  439. package/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
  440. package/serialization/client/requests/UpdateSettingsRequest.d.ts +0 -12
  441. package/serialization/client/requests/UpdateSettingsRequest.js +0 -33
  442. package/serialization/client/requests/index.d.ts +0 -3
  443. package/serialization/client/requests/index.js +0 -9
  444. package/serialization/types/BadRequestErrorBodyError.d.ts +0 -16
  445. package/serialization/types/BadRequestErrorBodyError.js +0 -37
  446. package/serialization/types/BasicRcs.d.ts +0 -18
  447. package/serialization/types/BasicRcs.js +0 -39
  448. package/serialization/types/BasicRcsMessage.d.ts +0 -12
  449. package/serialization/types/Call.d.ts +0 -14
  450. package/serialization/types/Call.js +0 -35
  451. package/serialization/types/CardRcs.d.ts +0 -16
  452. package/serialization/types/CardRcs.js +0 -37
  453. package/serialization/types/CardRcsMessage.d.ts +0 -15
  454. package/serialization/types/CardRcsMessage.js +0 -36
  455. package/serialization/types/CardStyle.d.ts +0 -20
  456. package/serialization/types/CardStyle.js +0 -41
  457. package/serialization/types/CardStyleImageAlignment.d.ts +0 -10
  458. package/serialization/types/CardStyleImageAlignment.js +0 -31
  459. package/serialization/types/CardStyleMediaHeight.d.ts +0 -10
  460. package/serialization/types/CardStyleMediaHeight.js +0 -31
  461. package/serialization/types/CardStyleOrientation.d.ts +0 -10
  462. package/serialization/types/CardStyleOrientation.js +0 -31
  463. package/serialization/types/CardStyleWidth.d.ts +0 -10
  464. package/serialization/types/CardStyleWidth.js +0 -31
  465. package/serialization/types/CarouselRcs.d.ts +0 -16
  466. package/serialization/types/CarouselRcs.js +0 -37
  467. package/serialization/types/CarouselRcsMessage.d.ts +0 -15
  468. package/serialization/types/CarouselRcsMessage.js +0 -36
  469. package/serialization/types/CheckRcsCapabilityResponse.d.ts +0 -13
  470. package/serialization/types/CheckRcsCapabilityResponse.js +0 -34
  471. package/serialization/types/Event.d.ts +0 -17
  472. package/serialization/types/Event.js +0 -38
  473. package/serialization/types/GetAccountNumberResponse.d.ts +0 -12
  474. package/serialization/types/GetAccountNumberResponse.js +0 -33
  475. package/serialization/types/LatLng.d.ts +0 -13
  476. package/serialization/types/LatLng.js +0 -34
  477. package/serialization/types/MediaRcs.d.ts +0 -16
  478. package/serialization/types/MediaRcs.js +0 -37
  479. package/serialization/types/MediaRcsMessage.d.ts +0 -16
  480. package/serialization/types/MediaRcsMessage.js +0 -37
  481. package/serialization/types/MediaType.d.ts +0 -10
  482. package/serialization/types/MediaType.js +0 -31
  483. package/serialization/types/NotFoundErrorBody.d.ts +0 -12
  484. package/serialization/types/NotFoundErrorBody.js +0 -33
  485. package/serialization/types/PhoneNumber.d.ts +0 -10
  486. package/serialization/types/PhoneNumber.js +0 -31
  487. package/serialization/types/Postback.d.ts +0 -15
  488. package/serialization/types/Postback.js +0 -36
  489. package/serialization/types/RegisterCompanyResponse.d.ts +0 -14
  490. package/serialization/types/RegisterCompanyResponse.js +0 -35
  491. package/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
  492. package/serialization/types/RegisterCompanyResponseBrand.js +0 -34
  493. package/serialization/types/SendMessageRequest.d.ts +0 -15
  494. package/serialization/types/SendMessageRequest.js +0 -36
  495. package/serialization/types/SendMessageResponse.d.ts +0 -12
  496. package/serialization/types/SendMessageResponse.js +0 -33
  497. package/serialization/types/ShareLocation.d.ts +0 -13
  498. package/serialization/types/ShareLocation.js +0 -34
  499. package/serialization/types/Sms.d.ts +0 -16
  500. package/serialization/types/Sms.js +0 -37
  501. package/serialization/types/SmsMessage.d.ts +0 -13
  502. package/serialization/types/UpdateCompanyResponse.d.ts +0 -14
  503. package/serialization/types/UpdateCompanyResponse.js +0 -35
  504. package/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
  505. package/serialization/types/UpdateCompanyResponseBrand.js +0 -34
  506. package/serialization/types/UpdateSettingsResponse.d.ts +0 -12
  507. package/serialization/types/UpdateSettingsResponse.js +0 -33
  508. package/serialization/types/Url.d.ts +0 -14
  509. package/serialization/types/Url.js +0 -35
  510. package/serialization/types/ViewLocation.d.ts +0 -16
  511. package/serialization/types/ViewLocation.js +0 -37
  512. /package/api/client/requests/{CheckRcsCapabilityRequest.js → GetRcsFunctionalityRequest.js} +0 -0
  513. /package/api/{client/requests/GetCompanyRequest.js → resources/company/client/requests/CompanyGetRequest.js} +0 -0
  514. /package/api/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
  515. /package/api/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
  516. /package/api/{client/requests/UpdateSettingsRequest.js → resources/company/types/CompanyRegisterResponse.js} +0 -0
  517. /package/api/{types/BadRequestErrorBodyError.js → resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
  518. /package/api/{types/BasicRcs.js → resources/company/types/CompanyUpdateResponse.js} +0 -0
  519. /package/api/{types/BasicRcsMessage.js → resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
  520. /package/api/{types/Call.js → resources/send/client/requests/Rcs.js} +0 -0
  521. /package/api/{types/CardRcs.js → resources/send/client/requests/SendMmsRequest.js} +0 -0
  522. /package/api/{types/CardRcsMessage.js → resources/send/client/requests/SendSmsRequest.js} +0 -0
  523. /package/api/{types/CardStyle.js → resources/send/types/SendMmsResponse.js} +0 -0
  524. /package/api/{types/CarouselRcs.js → resources/send/types/SendRcsResponse.js} +0 -0
  525. /package/api/{types/CarouselRcsMessage.js → resources/send/types/SendSmsResponse.js} +0 -0
  526. /package/api/types/{CheckRcsCapabilityResponse.js → ActionLatLong.js} +0 -0
  527. /package/api/types/{Event.js → ForbiddenErrorBody.js} +0 -0
  528. /package/api/types/{GetAccountNumberResponse.js → RcsFunctionalities.js} +0 -0
  529. /package/{api/types/LatLng.js → dist/api/client/requests/GetRcsFunctionalityRequest.js} +0 -0
  530. /package/{api/types/MediaRcs.js → dist/api/resources/company/client/requests/CompanyGetRequest.js} +0 -0
  531. /package/{api/types/MediaRcsMessage.js → dist/api/resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
  532. /package/{api/types/NotFoundErrorBody.js → dist/api/resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
  533. /package/{api/types/PhoneNumber.js → dist/api/resources/company/types/CompanyRegisterResponse.js} +0 -0
  534. /package/{api/types/Postback.js → dist/api/resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
  535. /package/{api/types/RegisterCompanyResponse.js → dist/api/resources/company/types/CompanyUpdateResponse.js} +0 -0
  536. /package/{api/types/RegisterCompanyResponseBrand.js → dist/api/resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
  537. /package/{api/types/SendMessageRequest.js → dist/api/resources/send/client/requests/Rcs.js} +0 -0
  538. /package/{api/types/SendMessageResponse.js → dist/api/resources/send/client/requests/SendMmsRequest.js} +0 -0
  539. /package/{api/types/ShareLocation.js → dist/api/resources/send/client/requests/SendSmsRequest.js} +0 -0
  540. /package/{api/types/Sms.js → dist/api/resources/send/types/SendMmsResponse.js} +0 -0
  541. /package/{api/types/SmsMessage.js → dist/api/resources/send/types/SendRcsResponse.js} +0 -0
  542. /package/{api/types/UpdateCompanyResponse.js → dist/api/resources/send/types/SendSmsResponse.js} +0 -0
  543. /package/{api/types/UpdateCompanyResponseBrand.js → dist/api/types/ActionLatLong.js} +0 -0
  544. /package/{api/types/UpdateSettingsResponse.js → dist/api/types/ForbiddenErrorBody.js} +0 -0
  545. /package/{api/types/Url.js → dist/api/types/RcsFunctionalities.js} +0 -0
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Postback = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.Postback = core.serialization.object({
32
- actionType: core.serialization.property("action_type", core.serialization.stringLiteral("postback")),
33
- title: core.serialization.string(),
34
- payload: core.serialization.string(),
35
- execute: core.serialization.string().optional(),
36
- });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- import { RegisterCompanyResponseBrand } from "./RegisterCompanyResponseBrand";
8
- export declare const RegisterCompanyResponse: core.serialization.ObjectSchema<serializers.RegisterCompanyResponse.Raw, Pinnacle.RegisterCompanyResponse>;
9
- export declare namespace RegisterCompanyResponse {
10
- interface Raw {
11
- success?: boolean | null;
12
- brand?: RegisterCompanyResponseBrand.Raw | null;
13
- }
14
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.RegisterCompanyResponse = void 0;
30
- const core = __importStar(require("../../core"));
31
- const RegisterCompanyResponseBrand_1 = require("./RegisterCompanyResponseBrand");
32
- exports.RegisterCompanyResponse = core.serialization.object({
33
- success: core.serialization.boolean().optional(),
34
- brand: RegisterCompanyResponseBrand_1.RegisterCompanyResponseBrand.optional(),
35
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const RegisterCompanyResponseBrand: core.serialization.ObjectSchema<serializers.RegisterCompanyResponseBrand.Raw, Pinnacle.RegisterCompanyResponseBrand>;
8
- export declare namespace RegisterCompanyResponseBrand {
9
- interface Raw {
10
- name?: string | null;
11
- id?: number | null;
12
- }
13
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.RegisterCompanyResponseBrand = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.RegisterCompanyResponseBrand = core.serialization.object({
32
- name: core.serialization.string().optional(),
33
- id: core.serialization.number().optional(),
34
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- import { CardRcs } from "./CardRcs";
8
- import { Sms } from "./Sms";
9
- import { BasicRcs } from "./BasicRcs";
10
- import { MediaRcs } from "./MediaRcs";
11
- import { CarouselRcs } from "./CarouselRcs";
12
- export declare const SendMessageRequest: core.serialization.Schema<serializers.SendMessageRequest.Raw, Pinnacle.SendMessageRequest>;
13
- export declare namespace SendMessageRequest {
14
- type Raw = CardRcs.Raw | Sms.Raw | BasicRcs.Raw | MediaRcs.Raw | CarouselRcs.Raw;
15
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.SendMessageRequest = void 0;
30
- const core = __importStar(require("../../core"));
31
- const CardRcs_1 = require("./CardRcs");
32
- const Sms_1 = require("./Sms");
33
- const BasicRcs_1 = require("./BasicRcs");
34
- const MediaRcs_1 = require("./MediaRcs");
35
- const CarouselRcs_1 = require("./CarouselRcs");
36
- exports.SendMessageRequest = core.serialization.undiscriminatedUnion([CardRcs_1.CardRcs, Sms_1.Sms, BasicRcs_1.BasicRcs, MediaRcs_1.MediaRcs, CarouselRcs_1.CarouselRcs]);
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const SendMessageResponse: core.serialization.ObjectSchema<serializers.SendMessageResponse.Raw, Pinnacle.SendMessageResponse>;
8
- export declare namespace SendMessageResponse {
9
- interface Raw {
10
- message?: string | null;
11
- }
12
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.SendMessageResponse = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.SendMessageResponse = core.serialization.object({
32
- message: core.serialization.string().optional(),
33
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const ShareLocation: core.serialization.ObjectSchema<serializers.ShareLocation.Raw, Pinnacle.ShareLocation>;
8
- export declare namespace ShareLocation {
9
- interface Raw {
10
- title: string;
11
- action_type: "share_location";
12
- }
13
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ShareLocation = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.ShareLocation = core.serialization.object({
32
- title: core.serialization.string(),
33
- actionType: core.serialization.property("action_type", core.serialization.stringLiteral("share_location")),
34
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- import { PhoneNumber } from "./PhoneNumber";
8
- import { SmsMessage } from "./SmsMessage";
9
- export declare const Sms: core.serialization.ObjectSchema<serializers.Sms.Raw, Pinnacle.Sms>;
10
- export declare namespace Sms {
11
- interface Raw {
12
- phone_number: PhoneNumber.Raw;
13
- message_type: "sms";
14
- message: SmsMessage.Raw;
15
- }
16
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Sms = void 0;
30
- const core = __importStar(require("../../core"));
31
- const PhoneNumber_1 = require("./PhoneNumber");
32
- const SmsMessage_1 = require("./SmsMessage");
33
- exports.Sms = core.serialization.object({
34
- phoneNumber: core.serialization.property("phone_number", PhoneNumber_1.PhoneNumber),
35
- messageType: core.serialization.property("message_type", core.serialization.stringLiteral("sms")),
36
- message: SmsMessage_1.SmsMessage,
37
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const SmsMessage: core.serialization.ObjectSchema<serializers.SmsMessage.Raw, Pinnacle.SmsMessage>;
8
- export declare namespace SmsMessage {
9
- interface Raw {
10
- body: string;
11
- mediaUrl?: string | null;
12
- }
13
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- import { UpdateCompanyResponseBrand } from "./UpdateCompanyResponseBrand";
8
- export declare const UpdateCompanyResponse: core.serialization.ObjectSchema<serializers.UpdateCompanyResponse.Raw, Pinnacle.UpdateCompanyResponse>;
9
- export declare namespace UpdateCompanyResponse {
10
- interface Raw {
11
- success?: boolean | null;
12
- brand?: UpdateCompanyResponseBrand.Raw | null;
13
- }
14
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UpdateCompanyResponse = void 0;
30
- const core = __importStar(require("../../core"));
31
- const UpdateCompanyResponseBrand_1 = require("./UpdateCompanyResponseBrand");
32
- exports.UpdateCompanyResponse = core.serialization.object({
33
- success: core.serialization.boolean().optional(),
34
- brand: UpdateCompanyResponseBrand_1.UpdateCompanyResponseBrand.optional(),
35
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const UpdateCompanyResponseBrand: core.serialization.ObjectSchema<serializers.UpdateCompanyResponseBrand.Raw, Pinnacle.UpdateCompanyResponseBrand>;
8
- export declare namespace UpdateCompanyResponseBrand {
9
- interface Raw {
10
- name?: string | null;
11
- id?: number | null;
12
- }
13
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UpdateCompanyResponseBrand = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.UpdateCompanyResponseBrand = core.serialization.object({
32
- name: core.serialization.string().optional(),
33
- id: core.serialization.number().optional(),
34
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const UpdateSettingsResponse: core.serialization.ObjectSchema<serializers.UpdateSettingsResponse.Raw, Pinnacle.UpdateSettingsResponse>;
8
- export declare namespace UpdateSettingsResponse {
9
- interface Raw {
10
- message?: string | null;
11
- }
12
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.UpdateSettingsResponse = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.UpdateSettingsResponse = core.serialization.object({
32
- message: core.serialization.string().optional(),
33
- });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const Url: core.serialization.ObjectSchema<serializers.Url.Raw, Pinnacle.Url>;
8
- export declare namespace Url {
9
- interface Raw {
10
- action_type: "weburl";
11
- title: string;
12
- payload: string;
13
- }
14
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Url = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.Url = core.serialization.object({
32
- actionType: core.serialization.property("action_type", core.serialization.stringLiteral("weburl")),
33
- title: core.serialization.string(),
34
- payload: core.serialization.string(),
35
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Pinnacle from "../../api/index";
6
- import * as core from "../../core";
7
- import { LatLng } from "./LatLng";
8
- export declare const ViewLocation: core.serialization.ObjectSchema<serializers.ViewLocation.Raw, Pinnacle.ViewLocation>;
9
- export declare namespace ViewLocation {
10
- interface Raw {
11
- title?: string | null;
12
- action_type: "view_location";
13
- lat_lng: LatLng.Raw;
14
- label: string;
15
- }
16
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ViewLocation = void 0;
30
- const core = __importStar(require("../../core"));
31
- const LatLng_1 = require("./LatLng");
32
- exports.ViewLocation = core.serialization.object({
33
- title: core.serialization.string().optional(),
34
- actionType: core.serialization.property("action_type", core.serialization.stringLiteral("view_location")),
35
- latLng: core.serialization.property("lat_lng", LatLng_1.LatLng),
36
- label: core.serialization.string(),
37
- });