wallet 2.1.534 → 2.1.600

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 (1769) hide show
  1. package/.openapi-generator/FILES +140 -41
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/a2PApi.ts +365 -0
  4. package/api/advertisementCreditsApi.ts +589 -0
  5. package/api/amenitiesApi.ts +447 -0
  6. package/api/analyticsApi.ts +7516 -0
  7. package/api/apis.ts +122 -0
  8. package/api/appleWalletSubscribersApi.ts +235 -0
  9. package/api/billingApi.ts +942 -0
  10. package/api/clubMembersPointsApi.ts +797 -0
  11. package/api/configurationApi.ts +296 -0
  12. package/api/countriesApi.ts +155 -0
  13. package/api/customerApi.ts +737 -0
  14. package/api/dashboardApi.ts +1557 -0
  15. package/api/diningApi.ts +447 -0
  16. package/api/dynamicVouchersApi.ts +742 -0
  17. package/api/emailSubscriberApi.ts +457 -0
  18. package/api/employeeAPIKeysApi.ts +448 -0
  19. package/api/employeeAccessApi.ts +165 -0
  20. package/api/employeesApi.ts +3270 -0
  21. package/api/gamingApi.ts +447 -0
  22. package/api/imageGridApi.ts +447 -0
  23. package/api/industriesApi.ts +280 -0
  24. package/api/infoGenesisReportsApi.ts +2004 -0
  25. package/api/integratedTerminalsApi.ts +447 -0
  26. package/api/interactionsApi.ts +1326 -0
  27. package/api/loginAndLogoutApi.ts +297 -0
  28. package/api/loungeApi.ts +447 -0
  29. package/api/membershipTiersApi.ts +728 -0
  30. package/api/merchantApi.ts +1992 -0
  31. package/api/merchantCreditsApi.ts +797 -0
  32. package/api/merchantURLsApi.ts +586 -0
  33. package/api/mobileTerminalApi.ts +310 -0
  34. package/api/newsApi.ts +447 -0
  35. package/api/paymentDesignsApi.ts +519 -0
  36. package/api/performancesApi.ts +1068 -0
  37. package/api/productsApi.ts +447 -0
  38. package/api/promotionCodesApi.ts +447 -0
  39. package/api/qRCodeDesignsApi.ts +520 -0
  40. package/api/quickLinksApi.ts +517 -0
  41. package/api/quickLinksSectionApi.ts +447 -0
  42. package/api/roomRatesApi.ts +447 -0
  43. package/api/sMSApi.ts +2893 -0
  44. package/api/servicesApi.ts +447 -0
  45. package/api/settingsApi.ts +220 -0
  46. package/api/shopifyTerminalApi.ts +309 -0
  47. package/api/smsSubscriberApi.ts +457 -0
  48. package/api/staticVoucherCampaignGroupsApi.ts +165 -0
  49. package/api/staticVoucherCampaignsApi.ts +1623 -0
  50. package/api/staticVouchersApi.ts +535 -0
  51. package/api/systemApi.ts +665 -0
  52. package/api/ticketApi.ts +451 -0
  53. package/api/transactionLedgerApi.ts +203 -0
  54. package/api/videosApi.ts +447 -0
  55. package/api/virtualBusinessCardApi.ts +586 -0
  56. package/api/webTerminalApi.ts +309 -0
  57. package/api/wixTerminalApi.ts +309 -0
  58. package/api/wooCommerceTerminalApi.ts +309 -0
  59. package/api.ts +1 -1
  60. package/dist/api/a2PApi.d.ts +58 -0
  61. package/dist/api/a2PApi.js +310 -0
  62. package/dist/api/a2PApi.js.map +1 -0
  63. package/dist/api/advertisementCreditsApi.d.ts +84 -0
  64. package/dist/api/advertisementCreditsApi.js +500 -0
  65. package/dist/api/advertisementCreditsApi.js.map +1 -0
  66. package/dist/api/amenitiesApi.d.ts +67 -0
  67. package/dist/api/amenitiesApi.js +378 -0
  68. package/dist/api/amenitiesApi.js.map +1 -0
  69. package/dist/api/analyticsApi.d.ts +705 -0
  70. package/dist/api/analyticsApi.js +6180 -0
  71. package/dist/api/analyticsApi.js.map +1 -0
  72. package/dist/api/apis.d.ts +120 -0
  73. package/dist/api/apis.js +127 -0
  74. package/dist/api/apis.js.map +1 -0
  75. package/dist/api/appleWalletSubscribersApi.d.ts +40 -0
  76. package/dist/api/appleWalletSubscribersApi.js +194 -0
  77. package/dist/api/appleWalletSubscribersApi.js.map +1 -0
  78. package/dist/api/billingApi.d.ts +132 -0
  79. package/dist/api/billingApi.js +833 -0
  80. package/dist/api/billingApi.js.map +1 -0
  81. package/dist/api/clubMembersPointsApi.d.ts +114 -0
  82. package/dist/api/clubMembersPointsApi.js +680 -0
  83. package/dist/api/clubMembersPointsApi.js.map +1 -0
  84. package/dist/api/configurationApi.d.ts +51 -0
  85. package/dist/api/configurationApi.js +249 -0
  86. package/dist/api/configurationApi.js.map +1 -0
  87. package/dist/api/countriesApi.d.ts +33 -0
  88. package/dist/api/countriesApi.js +127 -0
  89. package/dist/api/countriesApi.js.map +1 -0
  90. package/dist/api/customerApi.d.ts +100 -0
  91. package/dist/api/customerApi.js +631 -0
  92. package/dist/api/customerApi.js.map +1 -0
  93. package/dist/api/dashboardApi.d.ts +170 -0
  94. package/dist/api/dashboardApi.js +1303 -0
  95. package/dist/api/dashboardApi.js.map +1 -0
  96. package/dist/api/diningApi.d.ts +67 -0
  97. package/dist/api/diningApi.js +378 -0
  98. package/dist/api/diningApi.js.map +1 -0
  99. package/dist/api/dynamicVouchersApi.d.ts +102 -0
  100. package/dist/api/dynamicVouchersApi.js +630 -0
  101. package/dist/api/dynamicVouchersApi.js.map +1 -0
  102. package/dist/api/emailSubscriberApi.d.ts +67 -0
  103. package/dist/api/emailSubscriberApi.js +384 -0
  104. package/dist/api/emailSubscriberApi.js.map +1 -0
  105. package/dist/api/employeeAPIKeysApi.d.ts +68 -0
  106. package/dist/api/employeeAPIKeysApi.js +378 -0
  107. package/dist/api/employeeAPIKeysApi.js.map +1 -0
  108. package/dist/api/employeeAccessApi.d.ts +34 -0
  109. package/dist/api/employeeAccessApi.js +131 -0
  110. package/dist/api/employeeAccessApi.js.map +1 -0
  111. package/dist/api/employeesApi.d.ts +424 -0
  112. package/dist/api/employeesApi.js +2859 -0
  113. package/dist/api/employeesApi.js.map +1 -0
  114. package/dist/api/gamingApi.d.ts +67 -0
  115. package/dist/api/gamingApi.js +378 -0
  116. package/dist/api/gamingApi.js.map +1 -0
  117. package/dist/api/imageGridApi.d.ts +67 -0
  118. package/dist/api/imageGridApi.js +378 -0
  119. package/dist/api/imageGridApi.js.map +1 -0
  120. package/dist/api/industriesApi.d.ts +50 -0
  121. package/dist/api/industriesApi.js +241 -0
  122. package/dist/api/industriesApi.js.map +1 -0
  123. package/dist/api/infoGenesisReportsApi.d.ts +248 -0
  124. package/dist/api/infoGenesisReportsApi.js +1741 -0
  125. package/dist/api/infoGenesisReportsApi.js.map +1 -0
  126. package/dist/api/integratedTerminalsApi.d.ts +67 -0
  127. package/dist/api/integratedTerminalsApi.js +378 -0
  128. package/dist/api/integratedTerminalsApi.js.map +1 -0
  129. package/dist/api/interactionsApi.d.ts +175 -0
  130. package/dist/api/interactionsApi.js +1134 -0
  131. package/dist/api/interactionsApi.js.map +1 -0
  132. package/dist/api/loginAndLogoutApi.d.ts +51 -0
  133. package/dist/api/loginAndLogoutApi.js +249 -0
  134. package/dist/api/loginAndLogoutApi.js.map +1 -0
  135. package/dist/api/loungeApi.d.ts +67 -0
  136. package/dist/api/loungeApi.js +378 -0
  137. package/dist/api/loungeApi.js.map +1 -0
  138. package/dist/api/membershipTiersApi.d.ts +103 -0
  139. package/dist/api/membershipTiersApi.js +621 -0
  140. package/dist/api/membershipTiersApi.js.map +1 -0
  141. package/dist/api/merchantApi.d.ts +256 -0
  142. package/dist/api/merchantApi.js +1731 -0
  143. package/dist/api/merchantApi.js.map +1 -0
  144. package/dist/api/merchantCreditsApi.d.ts +114 -0
  145. package/dist/api/merchantCreditsApi.js +680 -0
  146. package/dist/api/merchantCreditsApi.js.map +1 -0
  147. package/dist/api/merchantURLsApi.d.ts +84 -0
  148. package/dist/api/merchantURLsApi.js +500 -0
  149. package/dist/api/merchantURLsApi.js.map +1 -0
  150. package/dist/api/mobileTerminalApi.d.ts +50 -0
  151. package/dist/api/mobileTerminalApi.js +257 -0
  152. package/dist/api/mobileTerminalApi.js.map +1 -0
  153. package/dist/api/newsApi.d.ts +67 -0
  154. package/dist/api/newsApi.js +378 -0
  155. package/dist/api/newsApi.js.map +1 -0
  156. package/dist/api/paymentDesignsApi.d.ts +75 -0
  157. package/dist/api/paymentDesignsApi.js +439 -0
  158. package/dist/api/paymentDesignsApi.js.map +1 -0
  159. package/dist/api/performancesApi.d.ts +136 -0
  160. package/dist/api/performancesApi.js +904 -0
  161. package/dist/api/performancesApi.js.map +1 -0
  162. package/dist/api/productsApi.d.ts +67 -0
  163. package/dist/api/productsApi.js +378 -0
  164. package/dist/api/productsApi.js.map +1 -0
  165. package/dist/api/promotionCodesApi.d.ts +67 -0
  166. package/dist/api/promotionCodesApi.js +378 -0
  167. package/dist/api/promotionCodesApi.js.map +1 -0
  168. package/dist/api/qRCodeDesignsApi.d.ts +76 -0
  169. package/dist/api/qRCodeDesignsApi.js +439 -0
  170. package/dist/api/qRCodeDesignsApi.js.map +1 -0
  171. package/dist/api/quickLinksApi.d.ts +76 -0
  172. package/dist/api/quickLinksApi.js +439 -0
  173. package/dist/api/quickLinksApi.js.map +1 -0
  174. package/dist/api/quickLinksSectionApi.d.ts +67 -0
  175. package/dist/api/quickLinksSectionApi.js +378 -0
  176. package/dist/api/quickLinksSectionApi.js.map +1 -0
  177. package/dist/api/roomRatesApi.d.ts +67 -0
  178. package/dist/api/roomRatesApi.js +378 -0
  179. package/dist/api/roomRatesApi.js.map +1 -0
  180. package/dist/api/sMSApi.d.ts +343 -0
  181. package/dist/api/sMSApi.js +2460 -0
  182. package/dist/api/sMSApi.js.map +1 -0
  183. package/dist/api/servicesApi.d.ts +67 -0
  184. package/dist/api/servicesApi.js +378 -0
  185. package/dist/api/servicesApi.js.map +1 -0
  186. package/dist/api/settingsApi.d.ts +42 -0
  187. package/dist/api/settingsApi.js +184 -0
  188. package/dist/api/settingsApi.js.map +1 -0
  189. package/dist/api/shopifyTerminalApi.d.ts +49 -0
  190. package/dist/api/shopifyTerminalApi.js +257 -0
  191. package/dist/api/shopifyTerminalApi.js.map +1 -0
  192. package/dist/api/smsSubscriberApi.d.ts +67 -0
  193. package/dist/api/smsSubscriberApi.js +384 -0
  194. package/dist/api/smsSubscriberApi.js.map +1 -0
  195. package/dist/api/staticVoucherCampaignGroupsApi.d.ts +32 -0
  196. package/dist/api/staticVoucherCampaignGroupsApi.js +131 -0
  197. package/dist/api/staticVoucherCampaignGroupsApi.js.map +1 -0
  198. package/dist/api/staticVoucherCampaignsApi.d.ts +208 -0
  199. package/dist/api/staticVoucherCampaignsApi.js +1389 -0
  200. package/dist/api/staticVoucherCampaignsApi.js.map +1 -0
  201. package/dist/api/staticVouchersApi.d.ts +76 -0
  202. package/dist/api/staticVouchersApi.js +448 -0
  203. package/dist/api/staticVouchersApi.js.map +1 -0
  204. package/dist/api/systemApi.d.ts +94 -0
  205. package/dist/api/systemApi.js +566 -0
  206. package/dist/api/systemApi.js.map +1 -0
  207. package/dist/api/ticketApi.d.ts +68 -0
  208. package/dist/api/ticketApi.js +379 -0
  209. package/dist/api/ticketApi.js.map +1 -0
  210. package/dist/api/transactionLedgerApi.d.ts +34 -0
  211. package/dist/api/transactionLedgerApi.js +154 -0
  212. package/dist/api/transactionLedgerApi.js.map +1 -0
  213. package/dist/api/videosApi.d.ts +67 -0
  214. package/dist/api/videosApi.js +378 -0
  215. package/dist/api/videosApi.js.map +1 -0
  216. package/dist/api/virtualBusinessCardApi.d.ts +84 -0
  217. package/dist/api/virtualBusinessCardApi.js +500 -0
  218. package/dist/api/virtualBusinessCardApi.js.map +1 -0
  219. package/dist/api/webTerminalApi.d.ts +49 -0
  220. package/dist/api/webTerminalApi.js +257 -0
  221. package/dist/api/webTerminalApi.js.map +1 -0
  222. package/dist/api/wixTerminalApi.d.ts +49 -0
  223. package/dist/api/wixTerminalApi.js +257 -0
  224. package/dist/api/wixTerminalApi.js.map +1 -0
  225. package/dist/api/wooCommerceTerminalApi.d.ts +49 -0
  226. package/dist/api/wooCommerceTerminalApi.js +257 -0
  227. package/dist/api/wooCommerceTerminalApi.js.map +1 -0
  228. package/dist/api.d.ts +2 -0
  229. package/dist/api.js +8 -0
  230. package/dist/api.js.map +1 -0
  231. package/dist/examples/advertisementcredits.example.d.ts +1 -0
  232. package/dist/examples/advertisementcredits.example.js +70 -0
  233. package/dist/examples/advertisementcredits.example.js.map +1 -0
  234. package/dist/examples/clubmembers.example.d.ts +1 -0
  235. package/dist/examples/clubmembers.example.js +79 -0
  236. package/dist/examples/clubmembers.example.js.map +1 -0
  237. package/dist/examples/constants.d.ts +6 -0
  238. package/dist/examples/constants.js +9 -0
  239. package/dist/examples/constants.js.map +1 -0
  240. package/dist/examples/dynamicvouchers.example.d.ts +1 -0
  241. package/dist/examples/dynamicvouchers.example.js +97 -0
  242. package/dist/examples/dynamicvouchers.example.js.map +1 -0
  243. package/dist/examples/linkbook.example.d.ts +1 -0
  244. package/dist/examples/linkbook.example.js +59 -0
  245. package/dist/examples/linkbook.example.js.map +1 -0
  246. package/dist/examples/membershiptiers.example.d.ts +1 -0
  247. package/dist/examples/membershiptiers.example.js +73 -0
  248. package/dist/examples/membershiptiers.example.js.map +1 -0
  249. package/dist/examples/merchantcredits.example.d.ts +1 -0
  250. package/dist/examples/merchantcredits.example.js +76 -0
  251. package/dist/examples/merchantcredits.example.js.map +1 -0
  252. package/dist/examples/merchanturls.example.d.ts +1 -0
  253. package/dist/examples/merchanturls.example.js +60 -0
  254. package/dist/examples/merchanturls.example.js.map +1 -0
  255. package/dist/examples/news.example.d.ts +1 -0
  256. package/dist/examples/news.example.js +59 -0
  257. package/dist/examples/news.example.js.map +1 -0
  258. package/dist/examples/paymentdesigns.example.d.ts +1 -0
  259. package/dist/examples/paymentdesigns.example.js +67 -0
  260. package/dist/examples/paymentdesigns.example.js.map +1 -0
  261. package/dist/examples/performances.example.d.ts +1 -0
  262. package/dist/examples/performances.example.js +62 -0
  263. package/dist/examples/performances.example.js.map +1 -0
  264. package/dist/examples/promocodes.example.d.ts +1 -0
  265. package/dist/examples/promocodes.example.js +61 -0
  266. package/dist/examples/promocodes.example.js.map +1 -0
  267. package/dist/examples/sms.example.d.ts +1 -0
  268. package/dist/examples/sms.example.js +251 -0
  269. package/dist/examples/sms.example.js.map +1 -0
  270. package/dist/examples/staticvouchercampaigns.example.d.ts +1 -0
  271. package/dist/examples/staticvouchercampaigns.example.js +153 -0
  272. package/dist/examples/staticvouchercampaigns.example.js.map +1 -0
  273. package/dist/examples/staticvouchers.example.d.ts +1 -0
  274. package/dist/examples/staticvouchers.example.js +65 -0
  275. package/dist/examples/staticvouchers.example.js.map +1 -0
  276. package/dist/model/a2PApplicationSubmission.d.ts +58 -0
  277. package/dist/model/a2PApplicationSubmission.js +192 -0
  278. package/dist/model/a2PApplicationSubmission.js.map +1 -0
  279. package/dist/model/advertisementCredit.d.ts +28 -0
  280. package/dist/model/advertisementCredit.js +77 -0
  281. package/dist/model/advertisementCredit.js.map +1 -0
  282. package/dist/model/advertisementCreditBroadcast.d.ts +41 -0
  283. package/dist/model/advertisementCreditBroadcast.js +117 -0
  284. package/dist/model/advertisementCreditBroadcast.js.map +1 -0
  285. package/dist/model/advertisementCreditScan.d.ts +40 -0
  286. package/dist/model/advertisementCreditScan.js +127 -0
  287. package/dist/model/advertisementCreditScan.js.map +1 -0
  288. package/dist/model/amenity.d.ts +25 -0
  289. package/dist/model/amenity.js +67 -0
  290. package/dist/model/amenity.js.map +1 -0
  291. package/dist/model/announcement.d.ts +20 -0
  292. package/dist/model/announcement.js +47 -0
  293. package/dist/model/announcement.js.map +1 -0
  294. package/dist/model/applicableTerminals.d.ts +13 -0
  295. package/dist/model/applicableTerminals.js +11 -0
  296. package/dist/model/applicableTerminals.js.map +1 -0
  297. package/dist/model/authError.d.ts +18 -0
  298. package/dist/model/authError.js +37 -0
  299. package/dist/model/authError.js.map +1 -0
  300. package/dist/model/availablePhoneNumbersRequest.d.ts +15 -0
  301. package/dist/model/availablePhoneNumbersRequest.js +22 -0
  302. package/dist/model/availablePhoneNumbersRequest.js.map +1 -0
  303. package/dist/model/browserDetails.d.ts +18 -0
  304. package/dist/model/browserDetails.js +37 -0
  305. package/dist/model/browserDetails.js.map +1 -0
  306. package/dist/model/businessClassification.d.ts +6 -0
  307. package/dist/model/businessClassification.js +10 -0
  308. package/dist/model/businessClassification.js.map +1 -0
  309. package/dist/model/businessIndustry.d.ts +35 -0
  310. package/dist/model/businessIndustry.js +39 -0
  311. package/dist/model/businessIndustry.js.map +1 -0
  312. package/dist/model/businessRegionsOfOperation.d.ts +8 -0
  313. package/dist/model/businessRegionsOfOperation.js +12 -0
  314. package/dist/model/businessRegionsOfOperation.js.map +1 -0
  315. package/dist/model/businessRegistrationIdentifier.d.ts +12 -0
  316. package/dist/model/businessRegistrationIdentifier.js +16 -0
  317. package/dist/model/businessRegistrationIdentifier.js.map +1 -0
  318. package/dist/model/businessStockExchanges.d.ts +29 -0
  319. package/dist/model/businessStockExchanges.js +33 -0
  320. package/dist/model/businessStockExchanges.js.map +1 -0
  321. package/dist/model/businessType.d.ts +8 -0
  322. package/dist/model/businessType.js +12 -0
  323. package/dist/model/businessType.js.map +1 -0
  324. package/dist/model/claimTicketRequest.d.ts +14 -0
  325. package/dist/model/claimTicketRequest.js +17 -0
  326. package/dist/model/claimTicketRequest.js.map +1 -0
  327. package/dist/model/clickFunnelAmount.d.ts +15 -0
  328. package/dist/model/clickFunnelAmount.js +22 -0
  329. package/dist/model/clickFunnelAmount.js.map +1 -0
  330. package/dist/model/clickFunnelContact.d.ts +54 -0
  331. package/dist/model/clickFunnelContact.js +212 -0
  332. package/dist/model/clickFunnelContact.js.map +1 -0
  333. package/dist/model/clickFunnelContactProfile.d.ts +48 -0
  334. package/dist/model/clickFunnelContactProfile.js +187 -0
  335. package/dist/model/clickFunnelContactProfile.js.map +1 -0
  336. package/dist/model/clickFunnelEvent.d.ts +16 -0
  337. package/dist/model/clickFunnelEvent.js +22 -0
  338. package/dist/model/clickFunnelEvent.js.map +1 -0
  339. package/dist/model/clickFunnelOriginalAmount.d.ts +15 -0
  340. package/dist/model/clickFunnelOriginalAmount.js +22 -0
  341. package/dist/model/clickFunnelOriginalAmount.js.map +1 -0
  342. package/dist/model/clickFunnelProduct.d.ts +42 -0
  343. package/dist/model/clickFunnelProduct.js +152 -0
  344. package/dist/model/clickFunnelProduct.js.map +1 -0
  345. package/dist/model/clickFunnelPurchase.d.ts +41 -0
  346. package/dist/model/clickFunnelPurchase.js +137 -0
  347. package/dist/model/clickFunnelPurchase.js.map +1 -0
  348. package/dist/model/clickFunnelRegistration.d.ts +16 -0
  349. package/dist/model/clickFunnelRegistration.js +22 -0
  350. package/dist/model/clickFunnelRegistration.js.map +1 -0
  351. package/dist/model/countClaimedComps200Response.d.ts +15 -0
  352. package/dist/model/countClaimedComps200Response.js +22 -0
  353. package/dist/model/countClaimedComps200Response.js.map +1 -0
  354. package/dist/model/createFile200Response.d.ts +16 -0
  355. package/dist/model/createFile200Response.js +27 -0
  356. package/dist/model/createFile200Response.js.map +1 -0
  357. package/dist/model/createStaticVoucherCampaign.d.ts +28 -0
  358. package/dist/model/createStaticVoucherCampaign.js +77 -0
  359. package/dist/model/createStaticVoucherCampaign.js.map +1 -0
  360. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.d.ts +28 -0
  361. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js +77 -0
  362. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js.map +1 -0
  363. package/dist/model/dashboardWidget.d.ts +29 -0
  364. package/dist/model/dashboardWidget.js +92 -0
  365. package/dist/model/dashboardWidget.js.map +1 -0
  366. package/dist/model/dining.d.ts +25 -0
  367. package/dist/model/dining.js +67 -0
  368. package/dist/model/dining.js.map +1 -0
  369. package/dist/model/document.d.ts +23 -0
  370. package/dist/model/document.js +62 -0
  371. package/dist/model/document.js.map +1 -0
  372. package/dist/model/duplicateRowFound.d.ts +18 -0
  373. package/dist/model/duplicateRowFound.js +37 -0
  374. package/dist/model/duplicateRowFound.js.map +1 -0
  375. package/dist/model/dynamicVoucher.d.ts +50 -0
  376. package/dist/model/dynamicVoucher.js +177 -0
  377. package/dist/model/dynamicVoucher.js.map +1 -0
  378. package/dist/model/dynamicVoucherBroadcast.d.ts +41 -0
  379. package/dist/model/dynamicVoucherBroadcast.js +117 -0
  380. package/dist/model/dynamicVoucherBroadcast.js.map +1 -0
  381. package/dist/model/dynamicVoucherBroadcastListType.d.ts +13 -0
  382. package/dist/model/dynamicVoucherBroadcastListType.js +11 -0
  383. package/dist/model/dynamicVoucherBroadcastListType.js.map +1 -0
  384. package/dist/model/dynamicVoucherTemporalDecreaseFrequencyType.d.ts +13 -0
  385. package/dist/model/dynamicVoucherTemporalDecreaseFrequencyType.js +11 -0
  386. package/dist/model/dynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -0
  387. package/dist/model/emailSubscriber.d.ts +22 -0
  388. package/dist/model/emailSubscriber.js +52 -0
  389. package/dist/model/emailSubscriber.js.map +1 -0
  390. package/dist/model/employee.d.ts +47 -0
  391. package/dist/model/employee.js +162 -0
  392. package/dist/model/employee.js.map +1 -0
  393. package/dist/model/employeeAPIKey.d.ts +23 -0
  394. package/dist/model/employeeAPIKey.js +57 -0
  395. package/dist/model/employeeAPIKey.js.map +1 -0
  396. package/dist/model/employeeActivityLog.d.ts +20 -0
  397. package/dist/model/employeeActivityLog.js +47 -0
  398. package/dist/model/employeeActivityLog.js.map +1 -0
  399. package/dist/model/employeeAlert.d.ts +23 -0
  400. package/dist/model/employeeAlert.js +62 -0
  401. package/dist/model/employeeAlert.js.map +1 -0
  402. package/dist/model/employeeScheduleStartDay.d.ts +13 -0
  403. package/dist/model/employeeScheduleStartDay.js +11 -0
  404. package/dist/model/employeeScheduleStartDay.js.map +1 -0
  405. package/dist/model/employeeScheduleStartHour.d.ts +13 -0
  406. package/dist/model/employeeScheduleStartHour.js +11 -0
  407. package/dist/model/employeeScheduleStartHour.js.map +1 -0
  408. package/dist/model/employeeScheduleStartMeridiem.d.ts +13 -0
  409. package/dist/model/employeeScheduleStartMeridiem.js +11 -0
  410. package/dist/model/employeeScheduleStartMeridiem.js.map +1 -0
  411. package/dist/model/employeeScheduleStartMinute.d.ts +13 -0
  412. package/dist/model/employeeScheduleStartMinute.js +11 -0
  413. package/dist/model/employeeScheduleStartMinute.js.map +1 -0
  414. package/dist/model/entityTooLarge.d.ts +18 -0
  415. package/dist/model/entityTooLarge.js +37 -0
  416. package/dist/model/entityTooLarge.js.map +1 -0
  417. package/dist/model/exportDataFile.d.ts +23 -0
  418. package/dist/model/exportDataFile.js +62 -0
  419. package/dist/model/exportDataFile.js.map +1 -0
  420. package/dist/model/falsumError.d.ts +16 -0
  421. package/dist/model/falsumError.js +22 -0
  422. package/dist/model/falsumError.js.map +1 -0
  423. package/dist/model/falsumField.d.ts +16 -0
  424. package/dist/model/falsumField.js +27 -0
  425. package/dist/model/falsumField.js.map +1 -0
  426. package/dist/model/feature.d.ts +22 -0
  427. package/dist/model/feature.js +57 -0
  428. package/dist/model/feature.js.map +1 -0
  429. package/dist/model/fetchAllCountries200ResponseInner.d.ts +17 -0
  430. package/dist/model/fetchAllCountries200ResponseInner.js +32 -0
  431. package/dist/model/fetchAllCountries200ResponseInner.js.map +1 -0
  432. package/dist/model/fetchAllLedgerTransactions200Response.d.ts +17 -0
  433. package/dist/model/fetchAllLedgerTransactions200Response.js +27 -0
  434. package/dist/model/fetchAllLedgerTransactions200Response.js.map +1 -0
  435. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.d.ts +28 -0
  436. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.js +77 -0
  437. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.js.map +1 -0
  438. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.d.ts +13 -0
  439. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.js +11 -0
  440. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.js.map +1 -0
  441. package/dist/model/fetchCustomerTicketsWithTokenRequest.d.ts +15 -0
  442. package/dist/model/fetchCustomerTicketsWithTokenRequest.js +22 -0
  443. package/dist/model/fetchCustomerTicketsWithTokenRequest.js.map +1 -0
  444. package/dist/model/fetchDomainsByIndustry200Response.d.ts +20 -0
  445. package/dist/model/fetchDomainsByIndustry200Response.js +47 -0
  446. package/dist/model/fetchDomainsByIndustry200Response.js.map +1 -0
  447. package/dist/model/fetchImportedListRecipientsByPage200Response.d.ts +17 -0
  448. package/dist/model/fetchImportedListRecipientsByPage200Response.js +27 -0
  449. package/dist/model/fetchImportedListRecipientsByPage200Response.js.map +1 -0
  450. package/dist/model/fetchInboundSMSByPage200Response.d.ts +17 -0
  451. package/dist/model/fetchInboundSMSByPage200Response.js +27 -0
  452. package/dist/model/fetchInboundSMSByPage200Response.js.map +1 -0
  453. package/dist/model/fetchIndustry200Response.d.ts +19 -0
  454. package/dist/model/fetchIndustry200Response.js +37 -0
  455. package/dist/model/fetchIndustry200Response.js.map +1 -0
  456. package/dist/model/fetchMembersCount200Response.d.ts +14 -0
  457. package/dist/model/fetchMembersCount200Response.js +17 -0
  458. package/dist/model/fetchMembersCount200Response.js.map +1 -0
  459. package/dist/model/fetchOptInListSubscribersByPage200Response.d.ts +17 -0
  460. package/dist/model/fetchOptInListSubscribersByPage200Response.js +27 -0
  461. package/dist/model/fetchOptInListSubscribersByPage200Response.js.map +1 -0
  462. package/dist/model/fetchOutboundSMSByPage200Response.d.ts +17 -0
  463. package/dist/model/fetchOutboundSMSByPage200Response.js +27 -0
  464. package/dist/model/fetchOutboundSMSByPage200Response.js.map +1 -0
  465. package/dist/model/fetchPerformanceTicketsPage200Response.d.ts +16 -0
  466. package/dist/model/fetchPerformanceTicketsPage200Response.js +22 -0
  467. package/dist/model/fetchPerformanceTicketsPage200Response.js.map +1 -0
  468. package/dist/model/fetchStaticVouchersPage200Response.d.ts +16 -0
  469. package/dist/model/fetchStaticVouchersPage200Response.js +22 -0
  470. package/dist/model/fetchStaticVouchersPage200Response.js.map +1 -0
  471. package/dist/model/forbiddenRequest.d.ts +18 -0
  472. package/dist/model/forbiddenRequest.js +37 -0
  473. package/dist/model/forbiddenRequest.js.map +1 -0
  474. package/dist/model/foreignKeyDoesNotExist.d.ts +18 -0
  475. package/dist/model/foreignKeyDoesNotExist.js +37 -0
  476. package/dist/model/foreignKeyDoesNotExist.js.map +1 -0
  477. package/dist/model/gaming.d.ts +25 -0
  478. package/dist/model/gaming.js +67 -0
  479. package/dist/model/gaming.js.map +1 -0
  480. package/dist/model/helpDeskRequest.d.ts +24 -0
  481. package/dist/model/helpDeskRequest.js +62 -0
  482. package/dist/model/helpDeskRequest.js.map +1 -0
  483. package/dist/model/imageGrid.d.ts +24 -0
  484. package/dist/model/imageGrid.js +62 -0
  485. package/dist/model/imageGrid.js.map +1 -0
  486. package/dist/model/importTicketsRequest.d.ts +15 -0
  487. package/dist/model/importTicketsRequest.js +17 -0
  488. package/dist/model/importTicketsRequest.js.map +1 -0
  489. package/dist/model/importedList.d.ts +22 -0
  490. package/dist/model/importedList.js +52 -0
  491. package/dist/model/importedList.js.map +1 -0
  492. package/dist/model/importedListRecipient.d.ts +22 -0
  493. package/dist/model/importedListRecipient.js +52 -0
  494. package/dist/model/importedListRecipient.js.map +1 -0
  495. package/dist/model/inboundSMS.d.ts +50 -0
  496. package/dist/model/inboundSMS.js +192 -0
  497. package/dist/model/inboundSMS.js.map +1 -0
  498. package/dist/model/internalServerError.d.ts +18 -0
  499. package/dist/model/internalServerError.js +37 -0
  500. package/dist/model/internalServerError.js.map +1 -0
  501. package/dist/model/jobPosition.d.ts +9 -0
  502. package/dist/model/jobPosition.js +13 -0
  503. package/dist/model/jobPosition.js.map +1 -0
  504. package/dist/model/ledgerEntry.d.ts +42 -0
  505. package/dist/model/ledgerEntry.js +137 -0
  506. package/dist/model/ledgerEntry.js.map +1 -0
  507. package/dist/model/ledgerEntryParentObjectID.d.ts +13 -0
  508. package/dist/model/ledgerEntryParentObjectID.js +11 -0
  509. package/dist/model/ledgerEntryParentObjectID.js.map +1 -0
  510. package/dist/model/ledgerEntryTransactionType.d.ts +13 -0
  511. package/dist/model/ledgerEntryTransactionType.js +11 -0
  512. package/dist/model/ledgerEntryTransactionType.js.map +1 -0
  513. package/dist/model/linkBook.d.ts +25 -0
  514. package/dist/model/linkBook.js +62 -0
  515. package/dist/model/linkBook.js.map +1 -0
  516. package/dist/model/linkBookSection.d.ts +21 -0
  517. package/dist/model/linkBookSection.js +47 -0
  518. package/dist/model/linkBookSection.js.map +1 -0
  519. package/dist/model/loginStatus200Response.d.ts +21 -0
  520. package/dist/model/loginStatus200Response.js +33 -0
  521. package/dist/model/loginStatus200Response.js.map +1 -0
  522. package/dist/model/loginStatus200ResponseAnyOf.d.ts +15 -0
  523. package/dist/model/loginStatus200ResponseAnyOf.js +22 -0
  524. package/dist/model/loginStatus200ResponseAnyOf.js.map +1 -0
  525. package/dist/model/lounge.d.ts +25 -0
  526. package/dist/model/lounge.js +67 -0
  527. package/dist/model/lounge.js.map +1 -0
  528. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.d.ts +15 -0
  529. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.js +22 -0
  530. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.js.map +1 -0
  531. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.d.ts +15 -0
  532. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.js +22 -0
  533. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.js.map +1 -0
  534. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.d.ts +15 -0
  535. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.js +22 -0
  536. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.js.map +1 -0
  537. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.d.ts +15 -0
  538. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.js +22 -0
  539. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.js.map +1 -0
  540. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.d.ts +15 -0
  541. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.js +22 -0
  542. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.js.map +1 -0
  543. package/dist/model/mSMemberHistory.d.ts +26 -0
  544. package/dist/model/mSMemberHistory.js +77 -0
  545. package/dist/model/mSMemberHistory.js.map +1 -0
  546. package/dist/model/mSMemberHistoryPagination.d.ts +17 -0
  547. package/dist/model/mSMemberHistoryPagination.js +27 -0
  548. package/dist/model/mSMemberHistoryPagination.js.map +1 -0
  549. package/dist/model/mSMemberRedemption.d.ts +25 -0
  550. package/dist/model/mSMemberRedemption.js +62 -0
  551. package/dist/model/mSMemberRedemption.js.map +1 -0
  552. package/dist/model/mSMemberRedemptionPagination.d.ts +17 -0
  553. package/dist/model/mSMemberRedemptionPagination.js +27 -0
  554. package/dist/model/mSMemberRedemptionPagination.js.map +1 -0
  555. package/dist/model/mSMemberRedemptionTransactionType.d.ts +13 -0
  556. package/dist/model/mSMemberRedemptionTransactionType.js +11 -0
  557. package/dist/model/mSMemberRedemptionTransactionType.js.map +1 -0
  558. package/dist/model/mSMembershipTierHistory.d.ts +23 -0
  559. package/dist/model/mSMembershipTierHistory.js +62 -0
  560. package/dist/model/mSMembershipTierHistory.js.map +1 -0
  561. package/dist/model/mSMembershipTierHistoryPagination.d.ts +17 -0
  562. package/dist/model/mSMembershipTierHistoryPagination.js +27 -0
  563. package/dist/model/mSMembershipTierHistoryPagination.js.map +1 -0
  564. package/dist/model/mSMembershipTierRedemption.d.ts +26 -0
  565. package/dist/model/mSMembershipTierRedemption.js +67 -0
  566. package/dist/model/mSMembershipTierRedemption.js.map +1 -0
  567. package/dist/model/mSMembershipTierRedemptionPagination.d.ts +17 -0
  568. package/dist/model/mSMembershipTierRedemptionPagination.js +27 -0
  569. package/dist/model/mSMembershipTierRedemptionPagination.js.map +1 -0
  570. package/dist/model/mSMerchantCreditHistory.d.ts +21 -0
  571. package/dist/model/mSMerchantCreditHistory.js +52 -0
  572. package/dist/model/mSMerchantCreditHistory.js.map +1 -0
  573. package/dist/model/mSMerchantCreditHistoryPagination.d.ts +17 -0
  574. package/dist/model/mSMerchantCreditHistoryPagination.js +27 -0
  575. package/dist/model/mSMerchantCreditHistoryPagination.js.map +1 -0
  576. package/dist/model/mSMerchantCreditRedemption.d.ts +25 -0
  577. package/dist/model/mSMerchantCreditRedemption.js +62 -0
  578. package/dist/model/mSMerchantCreditRedemption.js.map +1 -0
  579. package/dist/model/mSMerchantCreditRedemptionPagination.d.ts +17 -0
  580. package/dist/model/mSMerchantCreditRedemptionPagination.js +27 -0
  581. package/dist/model/mSMerchantCreditRedemptionPagination.js.map +1 -0
  582. package/dist/model/mediaFile.d.ts +23 -0
  583. package/dist/model/mediaFile.js +62 -0
  584. package/dist/model/mediaFile.js.map +1 -0
  585. package/dist/model/member.d.ts +27 -0
  586. package/dist/model/member.js +82 -0
  587. package/dist/model/member.js.map +1 -0
  588. package/dist/model/memberSearch.d.ts +23 -0
  589. package/dist/model/memberSearch.js +47 -0
  590. package/dist/model/memberSearch.js.map +1 -0
  591. package/dist/model/memberSearchSearchKey.d.ts +13 -0
  592. package/dist/model/memberSearchSearchKey.js +11 -0
  593. package/dist/model/memberSearchSearchKey.js.map +1 -0
  594. package/dist/model/memberSearchSortKey.d.ts +13 -0
  595. package/dist/model/memberSearchSortKey.js +11 -0
  596. package/dist/model/memberSearchSortKey.js.map +1 -0
  597. package/dist/model/merchant.d.ts +40 -0
  598. package/dist/model/merchant.js +147 -0
  599. package/dist/model/merchant.js.map +1 -0
  600. package/dist/model/merchantCreditSearch.d.ts +17 -0
  601. package/dist/model/merchantCreditSearch.js +32 -0
  602. package/dist/model/merchantCreditSearch.js.map +1 -0
  603. package/dist/model/merchantNotInitialized.d.ts +18 -0
  604. package/dist/model/merchantNotInitialized.js +37 -0
  605. package/dist/model/merchantNotInitialized.js.map +1 -0
  606. package/dist/model/merchantURL.d.ts +21 -0
  607. package/dist/model/merchantURL.js +47 -0
  608. package/dist/model/merchantURL.js.map +1 -0
  609. package/dist/model/message.d.ts +22 -0
  610. package/dist/model/message.js +52 -0
  611. package/dist/model/message.js.map +1 -0
  612. package/dist/model/messageDirection.d.ts +13 -0
  613. package/dist/model/messageDirection.js +11 -0
  614. package/dist/model/messageDirection.js.map +1 -0
  615. package/dist/model/messageStatus.d.ts +13 -0
  616. package/dist/model/messageStatus.js +11 -0
  617. package/dist/model/messageStatus.js.map +1 -0
  618. package/dist/model/models.d.ts +417 -0
  619. package/dist/model/models.js +1323 -0
  620. package/dist/model/models.js.map +1 -0
  621. package/dist/model/moduleError.d.ts +35 -0
  622. package/dist/model/moduleError.js +122 -0
  623. package/dist/model/moduleError.js.map +1 -0
  624. package/dist/model/newsArticle.d.ts +25 -0
  625. package/dist/model/newsArticle.js +67 -0
  626. package/dist/model/newsArticle.js.map +1 -0
  627. package/dist/model/optInList.d.ts +32 -0
  628. package/dist/model/optInList.js +102 -0
  629. package/dist/model/optInList.js.map +1 -0
  630. package/dist/model/optInListSource.d.ts +22 -0
  631. package/dist/model/optInListSource.js +52 -0
  632. package/dist/model/optInListSource.js.map +1 -0
  633. package/dist/model/optInListSubscriber.d.ts +31 -0
  634. package/dist/model/optInListSubscriber.js +87 -0
  635. package/dist/model/optInListSubscriber.js.map +1 -0
  636. package/dist/model/outboundSMS.d.ts +38 -0
  637. package/dist/model/outboundSMS.js +122 -0
  638. package/dist/model/outboundSMS.js.map +1 -0
  639. package/dist/model/paginatedWTMembers.d.ts +17 -0
  640. package/dist/model/paginatedWTMembers.js +27 -0
  641. package/dist/model/paginatedWTMembers.js.map +1 -0
  642. package/dist/model/paginatedWTMerchantCredits.d.ts +17 -0
  643. package/dist/model/paginatedWTMerchantCredits.js +27 -0
  644. package/dist/model/paginatedWTMerchantCredits.js.map +1 -0
  645. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.d.ts +16 -0
  646. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js +27 -0
  647. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js.map +1 -0
  648. package/dist/model/paginationRequestWithSortOptions.d.ts +24 -0
  649. package/dist/model/paginationRequestWithSortOptions.js +43 -0
  650. package/dist/model/paginationRequestWithSortOptions.js.map +1 -0
  651. package/dist/model/paginationRequestWithSortOptionsSortOrder.d.ts +13 -0
  652. package/dist/model/paginationRequestWithSortOptionsSortOrder.js +11 -0
  653. package/dist/model/paginationRequestWithSortOptionsSortOrder.js.map +1 -0
  654. package/dist/model/paymentDesign.d.ts +34 -0
  655. package/dist/model/paymentDesign.js +107 -0
  656. package/dist/model/paymentDesign.js.map +1 -0
  657. package/dist/model/performance.d.ts +31 -0
  658. package/dist/model/performance.js +97 -0
  659. package/dist/model/performance.js.map +1 -0
  660. package/dist/model/phoneNumber.d.ts +36 -0
  661. package/dist/model/phoneNumber.js +122 -0
  662. package/dist/model/phoneNumber.js.map +1 -0
  663. package/dist/model/phoneNumberCapabilities.d.ts +17 -0
  664. package/dist/model/phoneNumberCapabilities.js +32 -0
  665. package/dist/model/phoneNumberCapabilities.js.map +1 -0
  666. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.d.ts +27 -0
  667. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.js +77 -0
  668. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.js.map +1 -0
  669. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.d.ts +26 -0
  670. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js +72 -0
  671. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js.map +1 -0
  672. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.d.ts +15 -0
  673. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js +22 -0
  674. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js.map +1 -0
  675. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.d.ts +15 -0
  676. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js +22 -0
  677. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js.map +1 -0
  678. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.d.ts +20 -0
  679. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js +47 -0
  680. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js.map +1 -0
  681. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.d.ts +25 -0
  682. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js +72 -0
  683. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js.map +1 -0
  684. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.d.ts +15 -0
  685. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js +22 -0
  686. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js.map +1 -0
  687. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.d.ts +20 -0
  688. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js +47 -0
  689. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js.map +1 -0
  690. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.d.ts +18 -0
  691. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js +32 -0
  692. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js.map +1 -0
  693. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.d.ts +15 -0
  694. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js +22 -0
  695. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js.map +1 -0
  696. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.d.ts +15 -0
  697. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.js +22 -0
  698. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.js.map +1 -0
  699. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.d.ts +17 -0
  700. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js +32 -0
  701. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js.map +1 -0
  702. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.d.ts +25 -0
  703. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js +72 -0
  704. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js.map +1 -0
  705. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.d.ts +24 -0
  706. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.js +67 -0
  707. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.js.map +1 -0
  708. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.d.ts +22 -0
  709. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.js +52 -0
  710. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.js.map +1 -0
  711. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.d.ts +13 -0
  712. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.js +11 -0
  713. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.js.map +1 -0
  714. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.d.ts +27 -0
  715. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js +82 -0
  716. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js.map +1 -0
  717. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.d.ts +16 -0
  718. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js +27 -0
  719. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js.map +1 -0
  720. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +36 -0
  721. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +117 -0
  722. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -0
  723. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.d.ts +13 -0
  724. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.js +11 -0
  725. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.js.map +1 -0
  726. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.d.ts +13 -0
  727. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.js +11 -0
  728. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.js.map +1 -0
  729. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.d.ts +19 -0
  730. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js +37 -0
  731. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js.map +1 -0
  732. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.d.ts +33 -0
  733. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js +97 -0
  734. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js.map +1 -0
  735. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.d.ts +19 -0
  736. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js +37 -0
  737. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js.map +1 -0
  738. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.d.ts +26 -0
  739. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js +72 -0
  740. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js.map +1 -0
  741. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.d.ts +13 -0
  742. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.js +11 -0
  743. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.js.map +1 -0
  744. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.d.ts +32 -0
  745. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js +107 -0
  746. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -0
  747. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.d.ts +27 -0
  748. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.js +77 -0
  749. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.js.map +1 -0
  750. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.d.ts +27 -0
  751. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js +77 -0
  752. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js.map +1 -0
  753. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.d.ts +13 -0
  754. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.js +11 -0
  755. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.js.map +1 -0
  756. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.d.ts +38 -0
  757. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js +122 -0
  758. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js.map +1 -0
  759. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.d.ts +13 -0
  760. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.js +11 -0
  761. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.js.map +1 -0
  762. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.d.ts +13 -0
  763. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.js +11 -0
  764. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.js.map +1 -0
  765. package/dist/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.d.ts +16 -0
  766. package/dist/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.js +27 -0
  767. package/dist/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.js.map +1 -0
  768. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +33 -0
  769. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +92 -0
  770. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -0
  771. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.d.ts +21 -0
  772. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.js +52 -0
  773. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.js.map +1 -0
  774. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.d.ts +16 -0
  775. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js +27 -0
  776. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js.map +1 -0
  777. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.d.ts +15 -0
  778. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js +22 -0
  779. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js.map +1 -0
  780. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.d.ts +19 -0
  781. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js +42 -0
  782. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js.map +1 -0
  783. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +36 -0
  784. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js +102 -0
  785. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js.map +1 -0
  786. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.d.ts +13 -0
  787. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.js +11 -0
  788. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.js.map +1 -0
  789. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.d.ts +13 -0
  790. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.js +11 -0
  791. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.js.map +1 -0
  792. package/dist/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.d.ts +14 -0
  793. package/dist/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.js +17 -0
  794. package/dist/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.js.map +1 -0
  795. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.d.ts +27 -0
  796. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js +77 -0
  797. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js.map +1 -0
  798. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.d.ts +16 -0
  799. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js +27 -0
  800. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js.map +1 -0
  801. package/dist/model/plan.d.ts +20 -0
  802. package/dist/model/plan.js +42 -0
  803. package/dist/model/plan.js.map +1 -0
  804. package/dist/model/portalPage.d.ts +69 -0
  805. package/dist/model/portalPage.js +73 -0
  806. package/dist/model/portalPage.js.map +1 -0
  807. package/dist/model/presignedPost.d.ts +16 -0
  808. package/dist/model/presignedPost.js +22 -0
  809. package/dist/model/presignedPost.js.map +1 -0
  810. package/dist/model/presignedPostFields.d.ts +11 -0
  811. package/dist/model/presignedPostFields.js +22 -0
  812. package/dist/model/presignedPostFields.js.map +1 -0
  813. package/dist/model/product.d.ts +22 -0
  814. package/dist/model/product.js +52 -0
  815. package/dist/model/product.js.map +1 -0
  816. package/dist/model/profileStatuses.d.ts +7 -0
  817. package/dist/model/profileStatuses.js +11 -0
  818. package/dist/model/profileStatuses.js.map +1 -0
  819. package/dist/model/promoCode.d.ts +27 -0
  820. package/dist/model/promoCode.js +77 -0
  821. package/dist/model/promoCode.js.map +1 -0
  822. package/dist/model/qRCodeDesign.d.ts +30 -0
  823. package/dist/model/qRCodeDesign.js +92 -0
  824. package/dist/model/qRCodeDesign.js.map +1 -0
  825. package/dist/model/reachPerformanceStats.d.ts +24 -0
  826. package/dist/model/reachPerformanceStats.js +67 -0
  827. package/dist/model/reachPerformanceStats.js.map +1 -0
  828. package/dist/model/request.d.ts +67 -0
  829. package/dist/model/request.js +282 -0
  830. package/dist/model/request.js.map +1 -0
  831. package/dist/model/response.d.ts +20 -0
  832. package/dist/model/response.js +47 -0
  833. package/dist/model/response.js.map +1 -0
  834. package/dist/model/role.d.ts +30 -0
  835. package/dist/model/role.js +87 -0
  836. package/dist/model/role.js.map +1 -0
  837. package/dist/model/roleAuditLog.d.ts +25 -0
  838. package/dist/model/roleAuditLog.js +72 -0
  839. package/dist/model/roleAuditLog.js.map +1 -0
  840. package/dist/model/roomRate.d.ts +25 -0
  841. package/dist/model/roomRate.js +67 -0
  842. package/dist/model/roomRate.js.map +1 -0
  843. package/dist/model/sSImportedListRecipientCreateParams.d.ts +15 -0
  844. package/dist/model/sSImportedListRecipientCreateParams.js +22 -0
  845. package/dist/model/sSImportedListRecipientCreateParams.js.map +1 -0
  846. package/dist/model/sSOptInSource.d.ts +21 -0
  847. package/dist/model/sSOptInSource.js +52 -0
  848. package/dist/model/sSOptInSource.js.map +1 -0
  849. package/dist/model/sSOutboundStatuses.d.ts +13 -0
  850. package/dist/model/sSOutboundStatuses.js +11 -0
  851. package/dist/model/sSOutboundStatuses.js.map +1 -0
  852. package/dist/model/saveMerchantCreditPaymentDesignRequest.d.ts +14 -0
  853. package/dist/model/saveMerchantCreditPaymentDesignRequest.js +17 -0
  854. package/dist/model/saveMerchantCreditPaymentDesignRequest.js.map +1 -0
  855. package/dist/model/saveTicketSettingsRequest.d.ts +18 -0
  856. package/dist/model/saveTicketSettingsRequest.js +32 -0
  857. package/dist/model/saveTicketSettingsRequest.js.map +1 -0
  858. package/dist/model/saveTicketSettingsRequestPaymentDesignID.d.ts +13 -0
  859. package/dist/model/saveTicketSettingsRequestPaymentDesignID.js +11 -0
  860. package/dist/model/saveTicketSettingsRequestPaymentDesignID.js.map +1 -0
  861. package/dist/model/service.d.ts +25 -0
  862. package/dist/model/service.js +67 -0
  863. package/dist/model/service.js.map +1 -0
  864. package/dist/model/simpleSMSBroadcast.d.ts +39 -0
  865. package/dist/model/simpleSMSBroadcast.js +112 -0
  866. package/dist/model/simpleSMSBroadcast.js.map +1 -0
  867. package/dist/model/smsSubscriber.d.ts +20 -0
  868. package/dist/model/smsSubscriber.js +42 -0
  869. package/dist/model/smsSubscriber.js.map +1 -0
  870. package/dist/model/staticVoucher.d.ts +49 -0
  871. package/dist/model/staticVoucher.js +172 -0
  872. package/dist/model/staticVoucher.js.map +1 -0
  873. package/dist/model/staticVoucherCampaign.d.ts +40 -0
  874. package/dist/model/staticVoucherCampaign.js +137 -0
  875. package/dist/model/staticVoucherCampaign.js.map +1 -0
  876. package/dist/model/staticVoucherCampaignBroadcast.d.ts +38 -0
  877. package/dist/model/staticVoucherCampaignBroadcast.js +107 -0
  878. package/dist/model/staticVoucherCampaignBroadcast.js.map +1 -0
  879. package/dist/model/staticVoucherCampaignGroup.d.ts +24 -0
  880. package/dist/model/staticVoucherCampaignGroup.js +62 -0
  881. package/dist/model/staticVoucherCampaignGroup.js.map +1 -0
  882. package/dist/model/staticVoucherCampaignUpdate.d.ts +23 -0
  883. package/dist/model/staticVoucherCampaignUpdate.js +57 -0
  884. package/dist/model/staticVoucherCampaignUpdate.js.map +1 -0
  885. package/dist/model/status.d.ts +13 -0
  886. package/dist/model/status.js +11 -0
  887. package/dist/model/status.js.map +1 -0
  888. package/dist/model/subscriptionFeature.d.ts +22 -0
  889. package/dist/model/subscriptionFeature.js +57 -0
  890. package/dist/model/subscriptionFeature.js.map +1 -0
  891. package/dist/model/subscriptionPlan.d.ts +22 -0
  892. package/dist/model/subscriptionPlan.js +47 -0
  893. package/dist/model/subscriptionPlan.js.map +1 -0
  894. package/dist/model/subscriptionProduct.d.ts +26 -0
  895. package/dist/model/subscriptionProduct.js +67 -0
  896. package/dist/model/subscriptionProduct.js.map +1 -0
  897. package/dist/model/tcpa.d.ts +21 -0
  898. package/dist/model/tcpa.js +47 -0
  899. package/dist/model/tcpa.js.map +1 -0
  900. package/dist/model/ticket.d.ts +34 -0
  901. package/dist/model/ticket.js +112 -0
  902. package/dist/model/ticket.js.map +1 -0
  903. package/dist/model/trustBundleStatuses.d.ts +7 -0
  904. package/dist/model/trustBundleStatuses.js +11 -0
  905. package/dist/model/trustBundleStatuses.js.map +1 -0
  906. package/dist/model/updateEmailNotificationPreferenceRequest.d.ts +14 -0
  907. package/dist/model/updateEmailNotificationPreferenceRequest.js +17 -0
  908. package/dist/model/updateEmailNotificationPreferenceRequest.js.map +1 -0
  909. package/dist/model/updateStaticVoucherCampaignWithVoucher.d.ts +28 -0
  910. package/dist/model/updateStaticVoucherCampaignWithVoucher.js +77 -0
  911. package/dist/model/updateStaticVoucherCampaignWithVoucher.js.map +1 -0
  912. package/dist/model/updateStaticVoucherCampaignWithVoucherVoucherID.d.ts +13 -0
  913. package/dist/model/updateStaticVoucherCampaignWithVoucherVoucherID.js +11 -0
  914. package/dist/model/updateStaticVoucherCampaignWithVoucherVoucherID.js.map +1 -0
  915. package/dist/model/vSCampaignGeneratedMessage.d.ts +16 -0
  916. package/dist/model/vSCampaignGeneratedMessage.js +27 -0
  917. package/dist/model/vSCampaignGeneratedMessage.js.map +1 -0
  918. package/dist/model/vSCampaignGeneratedMessagePagination.d.ts +17 -0
  919. package/dist/model/vSCampaignGeneratedMessagePagination.js +27 -0
  920. package/dist/model/vSCampaignGeneratedMessagePagination.js.map +1 -0
  921. package/dist/model/vSDynamicVoucherStatus.d.ts +13 -0
  922. package/dist/model/vSDynamicVoucherStatus.js +11 -0
  923. package/dist/model/vSDynamicVoucherStatus.js.map +1 -0
  924. package/dist/model/video.d.ts +24 -0
  925. package/dist/model/video.js +62 -0
  926. package/dist/model/video.js.map +1 -0
  927. package/dist/model/virtualBusinessCard.d.ts +32 -0
  928. package/dist/model/virtualBusinessCard.js +102 -0
  929. package/dist/model/virtualBusinessCard.js.map +1 -0
  930. package/dist/model/wTA2PApplicationUpdateParams.d.ts +46 -0
  931. package/dist/model/wTA2PApplicationUpdateParams.js +132 -0
  932. package/dist/model/wTA2PApplicationUpdateParams.js.map +1 -0
  933. package/dist/model/wTAdvertisementCredit.d.ts +28 -0
  934. package/dist/model/wTAdvertisementCredit.js +77 -0
  935. package/dist/model/wTAdvertisementCredit.js.map +1 -0
  936. package/dist/model/wTAdvertisementCreditCreateParams.d.ts +19 -0
  937. package/dist/model/wTAdvertisementCreditCreateParams.js +37 -0
  938. package/dist/model/wTAdvertisementCreditCreateParams.js.map +1 -0
  939. package/dist/model/wTAdvertisementCreditScan.d.ts +40 -0
  940. package/dist/model/wTAdvertisementCreditScan.js +127 -0
  941. package/dist/model/wTAdvertisementCreditScan.js.map +1 -0
  942. package/dist/model/wTAdvertisementCreditUpdateParams.d.ts +19 -0
  943. package/dist/model/wTAdvertisementCreditUpdateParams.js +37 -0
  944. package/dist/model/wTAdvertisementCreditUpdateParams.js.map +1 -0
  945. package/dist/model/wTAmenityCreateParams.d.ts +19 -0
  946. package/dist/model/wTAmenityCreateParams.js +42 -0
  947. package/dist/model/wTAmenityCreateParams.js.map +1 -0
  948. package/dist/model/wTAmenityUpdateParams.d.ts +19 -0
  949. package/dist/model/wTAmenityUpdateParams.js +42 -0
  950. package/dist/model/wTAmenityUpdateParams.js.map +1 -0
  951. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.d.ts +19 -0
  952. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js +23 -0
  953. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js.map +1 -0
  954. package/dist/model/wTAuthenticationForgotPassword.d.ts +14 -0
  955. package/dist/model/wTAuthenticationForgotPassword.js +17 -0
  956. package/dist/model/wTAuthenticationForgotPassword.js.map +1 -0
  957. package/dist/model/wTAuthenticationLoginRequest.d.ts +15 -0
  958. package/dist/model/wTAuthenticationLoginRequest.js +22 -0
  959. package/dist/model/wTAuthenticationLoginRequest.js.map +1 -0
  960. package/dist/model/wTAuthenticationLoginResponse.d.ts +29 -0
  961. package/dist/model/wTAuthenticationLoginResponse.js +92 -0
  962. package/dist/model/wTAuthenticationLoginResponse.js.map +1 -0
  963. package/dist/model/wTAuthenticationRegister.d.ts +29 -0
  964. package/dist/model/wTAuthenticationRegister.js +92 -0
  965. package/dist/model/wTAuthenticationRegister.js.map +1 -0
  966. package/dist/model/wTAuthenticationRequestResetPassword.d.ts +14 -0
  967. package/dist/model/wTAuthenticationRequestResetPassword.js +17 -0
  968. package/dist/model/wTAuthenticationRequestResetPassword.js.map +1 -0
  969. package/dist/model/wTAuthenticationResetPassword.d.ts +16 -0
  970. package/dist/model/wTAuthenticationResetPassword.js +27 -0
  971. package/dist/model/wTAuthenticationResetPassword.js.map +1 -0
  972. package/dist/model/wTAuthenticationSSOLoginForDiscourse.d.ts +17 -0
  973. package/dist/model/wTAuthenticationSSOLoginForDiscourse.js +32 -0
  974. package/dist/model/wTAuthenticationSSOLoginForDiscourse.js.map +1 -0
  975. package/dist/model/wTBillingChangePlan.d.ts +14 -0
  976. package/dist/model/wTBillingChangePlan.js +17 -0
  977. package/dist/model/wTBillingChangePlan.js.map +1 -0
  978. package/dist/model/wTBillingSavePaymentMethod.d.ts +14 -0
  979. package/dist/model/wTBillingSavePaymentMethod.js +17 -0
  980. package/dist/model/wTBillingSavePaymentMethod.js.map +1 -0
  981. package/dist/model/wTBillingVerifyPaymentMethodResponse.d.ts +16 -0
  982. package/dist/model/wTBillingVerifyPaymentMethodResponse.js +22 -0
  983. package/dist/model/wTBillingVerifyPaymentMethodResponse.js.map +1 -0
  984. package/dist/model/wTCountResult.d.ts +14 -0
  985. package/dist/model/wTCountResult.js +17 -0
  986. package/dist/model/wTCountResult.js.map +1 -0
  987. package/dist/model/wTCustomerSearchByMemberID.d.ts +14 -0
  988. package/dist/model/wTCustomerSearchByMemberID.js +17 -0
  989. package/dist/model/wTCustomerSearchByMemberID.js.map +1 -0
  990. package/dist/model/wTCustomerSearchByPhoneNumber.d.ts +14 -0
  991. package/dist/model/wTCustomerSearchByPhoneNumber.js +17 -0
  992. package/dist/model/wTCustomerSearchByPhoneNumber.js.map +1 -0
  993. package/dist/model/wTDiningCreateParams.d.ts +19 -0
  994. package/dist/model/wTDiningCreateParams.js +42 -0
  995. package/dist/model/wTDiningCreateParams.js.map +1 -0
  996. package/dist/model/wTDiningUpdateParams.d.ts +19 -0
  997. package/dist/model/wTDiningUpdateParams.js +42 -0
  998. package/dist/model/wTDiningUpdateParams.js.map +1 -0
  999. package/dist/model/wTDynamicVoucher.d.ts +50 -0
  1000. package/dist/model/wTDynamicVoucher.js +177 -0
  1001. package/dist/model/wTDynamicVoucher.js.map +1 -0
  1002. package/dist/model/wTDynamicVoucherCreateParams.d.ts +26 -0
  1003. package/dist/model/wTDynamicVoucherCreateParams.js +72 -0
  1004. package/dist/model/wTDynamicVoucherCreateParams.js.map +1 -0
  1005. package/dist/model/wTDynamicVoucherRedemption.d.ts +39 -0
  1006. package/dist/model/wTDynamicVoucherRedemption.js +122 -0
  1007. package/dist/model/wTDynamicVoucherRedemption.js.map +1 -0
  1008. package/dist/model/wTDynamicVoucherRedemptionTransactionType.d.ts +13 -0
  1009. package/dist/model/wTDynamicVoucherRedemptionTransactionType.js +11 -0
  1010. package/dist/model/wTDynamicVoucherRedemptionTransactionType.js.map +1 -0
  1011. package/dist/model/wTDynamicVoucherSummary.d.ts +38 -0
  1012. package/dist/model/wTDynamicVoucherSummary.js +132 -0
  1013. package/dist/model/wTDynamicVoucherSummary.js.map +1 -0
  1014. package/dist/model/wTDynamicVoucherSummaryStatus.d.ts +13 -0
  1015. package/dist/model/wTDynamicVoucherSummaryStatus.js +11 -0
  1016. package/dist/model/wTDynamicVoucherSummaryStatus.js.map +1 -0
  1017. package/dist/model/wTDynamicVoucherUpdateParams.d.ts +26 -0
  1018. package/dist/model/wTDynamicVoucherUpdateParams.js +72 -0
  1019. package/dist/model/wTDynamicVoucherUpdateParams.js.map +1 -0
  1020. package/dist/model/wTEmailSubscriberCreateParams.d.ts +16 -0
  1021. package/dist/model/wTEmailSubscriberCreateParams.js +27 -0
  1022. package/dist/model/wTEmailSubscriberCreateParams.js.map +1 -0
  1023. package/dist/model/wTEmailSubscriberCreateParamsWalletUI.d.ts +17 -0
  1024. package/dist/model/wTEmailSubscriberCreateParamsWalletUI.js +32 -0
  1025. package/dist/model/wTEmailSubscriberCreateParamsWalletUI.js.map +1 -0
  1026. package/dist/model/wTEmailSubscriberUpdateParams.d.ts +16 -0
  1027. package/dist/model/wTEmailSubscriberUpdateParams.js +27 -0
  1028. package/dist/model/wTEmailSubscriberUpdateParams.js.map +1 -0
  1029. package/dist/model/wTEmployee.d.ts +47 -0
  1030. package/dist/model/wTEmployee.js +162 -0
  1031. package/dist/model/wTEmployee.js.map +1 -0
  1032. package/dist/model/wTEmployeeAPIKey.d.ts +23 -0
  1033. package/dist/model/wTEmployeeAPIKey.js +57 -0
  1034. package/dist/model/wTEmployeeAPIKey.js.map +1 -0
  1035. package/dist/model/wTEmployeeAPIKeyCreateParams.d.ts +15 -0
  1036. package/dist/model/wTEmployeeAPIKeyCreateParams.js +22 -0
  1037. package/dist/model/wTEmployeeAPIKeyCreateParams.js.map +1 -0
  1038. package/dist/model/wTEmployeeAPIKeyUpdateParams.d.ts +15 -0
  1039. package/dist/model/wTEmployeeAPIKeyUpdateParams.js +22 -0
  1040. package/dist/model/wTEmployeeAPIKeyUpdateParams.js.map +1 -0
  1041. package/dist/model/wTEmployeeCreate.d.ts +34 -0
  1042. package/dist/model/wTEmployeeCreate.js +97 -0
  1043. package/dist/model/wTEmployeeCreate.js.map +1 -0
  1044. package/dist/model/wTEmployeeCreateDocument.d.ts +16 -0
  1045. package/dist/model/wTEmployeeCreateDocument.js +27 -0
  1046. package/dist/model/wTEmployeeCreateDocument.js.map +1 -0
  1047. package/dist/model/wTEmployeeCreateMediaFile.d.ts +16 -0
  1048. package/dist/model/wTEmployeeCreateMediaFile.js +27 -0
  1049. package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -0
  1050. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.d.ts +14 -0
  1051. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js +17 -0
  1052. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js.map +1 -0
  1053. package/dist/model/wTEmployeeFileCreate.d.ts +15 -0
  1054. package/dist/model/wTEmployeeFileCreate.js +22 -0
  1055. package/dist/model/wTEmployeeFileCreate.js.map +1 -0
  1056. package/dist/model/wTEmployeeImportRecords.d.ts +15 -0
  1057. package/dist/model/wTEmployeeImportRecords.js +22 -0
  1058. package/dist/model/wTEmployeeImportRecords.js.map +1 -0
  1059. package/dist/model/wTEmployeeNotification.d.ts +18 -0
  1060. package/dist/model/wTEmployeeNotification.js +32 -0
  1061. package/dist/model/wTEmployeeNotification.js.map +1 -0
  1062. package/dist/model/wTEmployeeNotificationType.d.ts +13 -0
  1063. package/dist/model/wTEmployeeNotificationType.js +11 -0
  1064. package/dist/model/wTEmployeeNotificationType.js.map +1 -0
  1065. package/dist/model/wTEmployeePeerRoles.d.ts +14 -0
  1066. package/dist/model/wTEmployeePeerRoles.js +17 -0
  1067. package/dist/model/wTEmployeePeerRoles.js.map +1 -0
  1068. package/dist/model/wTEmployeeS3FilePresign.d.ts +17 -0
  1069. package/dist/model/wTEmployeeS3FilePresign.js +27 -0
  1070. package/dist/model/wTEmployeeS3FilePresign.js.map +1 -0
  1071. package/dist/model/wTEmployeeS3FilePresignContext.d.ts +13 -0
  1072. package/dist/model/wTEmployeeS3FilePresignContext.js +11 -0
  1073. package/dist/model/wTEmployeeS3FilePresignContext.js.map +1 -0
  1074. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.d.ts +20 -0
  1075. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js +47 -0
  1076. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js.map +1 -0
  1077. package/dist/model/wTEmployeeScheduleSimpleSMS.d.ts +20 -0
  1078. package/dist/model/wTEmployeeScheduleSimpleSMS.js +42 -0
  1079. package/dist/model/wTEmployeeScheduleSimpleSMS.js.map +1 -0
  1080. package/dist/model/wTEmployeeScheduleSimpleSMSListType.d.ts +13 -0
  1081. package/dist/model/wTEmployeeScheduleSimpleSMSListType.js +11 -0
  1082. package/dist/model/wTEmployeeScheduleSimpleSMSListType.js.map +1 -0
  1083. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.d.ts +18 -0
  1084. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js +37 -0
  1085. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js.map +1 -0
  1086. package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +16 -0
  1087. package/dist/model/wTEmployeeSendHelpDeskResponse.js +27 -0
  1088. package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -0
  1089. package/dist/model/wTEmployeeUpdate.d.ts +33 -0
  1090. package/dist/model/wTEmployeeUpdate.js +92 -0
  1091. package/dist/model/wTEmployeeUpdate.js.map +1 -0
  1092. package/dist/model/wTEmployeeUpdateRecords.d.ts +15 -0
  1093. package/dist/model/wTEmployeeUpdateRecords.js +22 -0
  1094. package/dist/model/wTEmployeeUpdateRecords.js.map +1 -0
  1095. package/dist/model/wTFetchWalletPaymentObjectsWithToken.d.ts +18 -0
  1096. package/dist/model/wTFetchWalletPaymentObjectsWithToken.js +37 -0
  1097. package/dist/model/wTFetchWalletPaymentObjectsWithToken.js.map +1 -0
  1098. package/dist/model/wTGamingCreateParams.d.ts +19 -0
  1099. package/dist/model/wTGamingCreateParams.js +42 -0
  1100. package/dist/model/wTGamingCreateParams.js.map +1 -0
  1101. package/dist/model/wTGamingUpdateParams.d.ts +19 -0
  1102. package/dist/model/wTGamingUpdateParams.js +42 -0
  1103. package/dist/model/wTGamingUpdateParams.js.map +1 -0
  1104. package/dist/model/wTImageGridCreateParams.d.ts +18 -0
  1105. package/dist/model/wTImageGridCreateParams.js +37 -0
  1106. package/dist/model/wTImageGridCreateParams.js.map +1 -0
  1107. package/dist/model/wTImageGridUpdateParams.d.ts +18 -0
  1108. package/dist/model/wTImageGridUpdateParams.js +37 -0
  1109. package/dist/model/wTImageGridUpdateParams.js.map +1 -0
  1110. package/dist/model/wTImportedList.d.ts +22 -0
  1111. package/dist/model/wTImportedList.js +52 -0
  1112. package/dist/model/wTImportedList.js.map +1 -0
  1113. package/dist/model/wTImportedListRecipientFromMembershipTierImport.d.ts +17 -0
  1114. package/dist/model/wTImportedListRecipientFromMembershipTierImport.js +27 -0
  1115. package/dist/model/wTImportedListRecipientFromMembershipTierImport.js.map +1 -0
  1116. package/dist/model/wTImportedListRecipientFromMembershipTierImportTierID.d.ts +13 -0
  1117. package/dist/model/wTImportedListRecipientFromMembershipTierImportTierID.js +11 -0
  1118. package/dist/model/wTImportedListRecipientFromMembershipTierImportTierID.js.map +1 -0
  1119. package/dist/model/wTInfoGenesisLookupRequestErrors.d.ts +17 -0
  1120. package/dist/model/wTInfoGenesisLookupRequestErrors.js +32 -0
  1121. package/dist/model/wTInfoGenesisLookupRequestErrors.js.map +1 -0
  1122. package/dist/model/wTInfoGenesisRecordFilterParameters.d.ts +16 -0
  1123. package/dist/model/wTInfoGenesisRecordFilterParameters.js +27 -0
  1124. package/dist/model/wTInfoGenesisRecordFilterParameters.js.map +1 -0
  1125. package/dist/model/wTInfoGenesisRoutingIDs.d.ts +14 -0
  1126. package/dist/model/wTInfoGenesisRoutingIDs.js +17 -0
  1127. package/dist/model/wTInfoGenesisRoutingIDs.js.map +1 -0
  1128. package/dist/model/wTInfoGenesisUniquePostingIDs.d.ts +14 -0
  1129. package/dist/model/wTInfoGenesisUniquePostingIDs.js +17 -0
  1130. package/dist/model/wTInfoGenesisUniquePostingIDs.js.map +1 -0
  1131. package/dist/model/wTLinkBook.d.ts +25 -0
  1132. package/dist/model/wTLinkBook.js +62 -0
  1133. package/dist/model/wTLinkBook.js.map +1 -0
  1134. package/dist/model/wTLinkBookCreateParams.d.ts +19 -0
  1135. package/dist/model/wTLinkBookCreateParams.js +37 -0
  1136. package/dist/model/wTLinkBookCreateParams.js.map +1 -0
  1137. package/dist/model/wTLinkBookLinkBookSectionID.d.ts +13 -0
  1138. package/dist/model/wTLinkBookLinkBookSectionID.js +11 -0
  1139. package/dist/model/wTLinkBookLinkBookSectionID.js.map +1 -0
  1140. package/dist/model/wTLinkBookSectionCreateParams.d.ts +15 -0
  1141. package/dist/model/wTLinkBookSectionCreateParams.js +22 -0
  1142. package/dist/model/wTLinkBookSectionCreateParams.js.map +1 -0
  1143. package/dist/model/wTLinkBookSectionUpdateParams.d.ts +15 -0
  1144. package/dist/model/wTLinkBookSectionUpdateParams.js +22 -0
  1145. package/dist/model/wTLinkBookSectionUpdateParams.js.map +1 -0
  1146. package/dist/model/wTLinkBookUpdateParams.d.ts +19 -0
  1147. package/dist/model/wTLinkBookUpdateParams.js +37 -0
  1148. package/dist/model/wTLinkBookUpdateParams.js.map +1 -0
  1149. package/dist/model/wTLocalInstance.d.ts +27 -0
  1150. package/dist/model/wTLocalInstance.js +77 -0
  1151. package/dist/model/wTLocalInstance.js.map +1 -0
  1152. package/dist/model/wTLoungeCreateParams.d.ts +19 -0
  1153. package/dist/model/wTLoungeCreateParams.js +42 -0
  1154. package/dist/model/wTLoungeCreateParams.js.map +1 -0
  1155. package/dist/model/wTLoungeUpdateParams.d.ts +19 -0
  1156. package/dist/model/wTLoungeUpdateParams.js +42 -0
  1157. package/dist/model/wTLoungeUpdateParams.js.map +1 -0
  1158. package/dist/model/wTMember.d.ts +27 -0
  1159. package/dist/model/wTMember.js +82 -0
  1160. package/dist/model/wTMember.js.map +1 -0
  1161. package/dist/model/wTMemberCreationParams.d.ts +21 -0
  1162. package/dist/model/wTMemberCreationParams.js +52 -0
  1163. package/dist/model/wTMemberCreationParams.js.map +1 -0
  1164. package/dist/model/wTMembershipTier.d.ts +24 -0
  1165. package/dist/model/wTMembershipTier.js +62 -0
  1166. package/dist/model/wTMembershipTier.js.map +1 -0
  1167. package/dist/model/wTMembershipTierCreationParams.d.ts +18 -0
  1168. package/dist/model/wTMembershipTierCreationParams.js +37 -0
  1169. package/dist/model/wTMembershipTierCreationParams.js.map +1 -0
  1170. package/dist/model/wTMembershipTierId.d.ts +13 -0
  1171. package/dist/model/wTMembershipTierId.js +11 -0
  1172. package/dist/model/wTMembershipTierId.js.map +1 -0
  1173. package/dist/model/wTMembershipTierUpdateParams.d.ts +18 -0
  1174. package/dist/model/wTMembershipTierUpdateParams.js +37 -0
  1175. package/dist/model/wTMembershipTierUpdateParams.js.map +1 -0
  1176. package/dist/model/wTMembershipTierWithMemberCount.d.ts +25 -0
  1177. package/dist/model/wTMembershipTierWithMemberCount.js +67 -0
  1178. package/dist/model/wTMembershipTierWithMemberCount.js.map +1 -0
  1179. package/dist/model/wTMerchantCredit.d.ts +23 -0
  1180. package/dist/model/wTMerchantCredit.js +62 -0
  1181. package/dist/model/wTMerchantCredit.js.map +1 -0
  1182. package/dist/model/wTMerchantCreditCreationParams.d.ts +16 -0
  1183. package/dist/model/wTMerchantCreditCreationParams.js +27 -0
  1184. package/dist/model/wTMerchantCreditCreationParams.js.map +1 -0
  1185. package/dist/model/wTMerchantURLCreate.d.ts +15 -0
  1186. package/dist/model/wTMerchantURLCreate.js +22 -0
  1187. package/dist/model/wTMerchantURLCreate.js.map +1 -0
  1188. package/dist/model/wTMerchantURLUpdate.d.ts +15 -0
  1189. package/dist/model/wTMerchantURLUpdate.js +22 -0
  1190. package/dist/model/wTMerchantURLUpdate.js.map +1 -0
  1191. package/dist/model/wTMerchantUpdate.d.ts +22 -0
  1192. package/dist/model/wTMerchantUpdate.js +57 -0
  1193. package/dist/model/wTMerchantUpdate.js.map +1 -0
  1194. package/dist/model/wTMerchantUpdatePOSIntegration.d.ts +14 -0
  1195. package/dist/model/wTMerchantUpdatePOSIntegration.js +17 -0
  1196. package/dist/model/wTMerchantUpdatePOSIntegration.js.map +1 -0
  1197. package/dist/model/wTMerchantUpdatePointsOfContact.d.ts +17 -0
  1198. package/dist/model/wTMerchantUpdatePointsOfContact.js +32 -0
  1199. package/dist/model/wTMerchantUpdatePointsOfContact.js.map +1 -0
  1200. package/dist/model/wTMessageInstance.d.ts +35 -0
  1201. package/dist/model/wTMessageInstance.js +112 -0
  1202. package/dist/model/wTMessageInstance.js.map +1 -0
  1203. package/dist/model/wTNewsArticleCreateParams.d.ts +19 -0
  1204. package/dist/model/wTNewsArticleCreateParams.js +42 -0
  1205. package/dist/model/wTNewsArticleCreateParams.js.map +1 -0
  1206. package/dist/model/wTNewsArticleUpdateParams.d.ts +19 -0
  1207. package/dist/model/wTNewsArticleUpdateParams.js +42 -0
  1208. package/dist/model/wTNewsArticleUpdateParams.js.map +1 -0
  1209. package/dist/model/wTOptInList.d.ts +32 -0
  1210. package/dist/model/wTOptInList.js +102 -0
  1211. package/dist/model/wTOptInList.js.map +1 -0
  1212. package/dist/model/wTOptInListCreationParams.d.ts +26 -0
  1213. package/dist/model/wTOptInListCreationParams.js +77 -0
  1214. package/dist/model/wTOptInListCreationParams.js.map +1 -0
  1215. package/dist/model/wTPaymentDesign.d.ts +34 -0
  1216. package/dist/model/wTPaymentDesign.js +107 -0
  1217. package/dist/model/wTPaymentDesign.js.map +1 -0
  1218. package/dist/model/wTPaymentDesignCreateParams.d.ts +27 -0
  1219. package/dist/model/wTPaymentDesignCreateParams.js +77 -0
  1220. package/dist/model/wTPaymentDesignCreateParams.js.map +1 -0
  1221. package/dist/model/wTPaymentDesignUpdateParams.d.ts +27 -0
  1222. package/dist/model/wTPaymentDesignUpdateParams.js +77 -0
  1223. package/dist/model/wTPaymentDesignUpdateParams.js.map +1 -0
  1224. package/dist/model/wTPerformanceCreateParams.d.ts +25 -0
  1225. package/dist/model/wTPerformanceCreateParams.js +72 -0
  1226. package/dist/model/wTPerformanceCreateParams.js.map +1 -0
  1227. package/dist/model/wTPerformanceUpdateParams.d.ts +25 -0
  1228. package/dist/model/wTPerformanceUpdateParams.js +72 -0
  1229. package/dist/model/wTPerformanceUpdateParams.js.map +1 -0
  1230. package/dist/model/wTPosMachine.d.ts +23 -0
  1231. package/dist/model/wTPosMachine.js +62 -0
  1232. package/dist/model/wTPosMachine.js.map +1 -0
  1233. package/dist/model/wTPosMachineCreateParams.d.ts +18 -0
  1234. package/dist/model/wTPosMachineCreateParams.js +37 -0
  1235. package/dist/model/wTPosMachineCreateParams.js.map +1 -0
  1236. package/dist/model/wTPosMachineUpdateParams.d.ts +18 -0
  1237. package/dist/model/wTPosMachineUpdateParams.js +37 -0
  1238. package/dist/model/wTPosMachineUpdateParams.js.map +1 -0
  1239. package/dist/model/wTProductCreateParams.d.ts +19 -0
  1240. package/dist/model/wTProductCreateParams.js +42 -0
  1241. package/dist/model/wTProductCreateParams.js.map +1 -0
  1242. package/dist/model/wTProductUpdateParams.d.ts +19 -0
  1243. package/dist/model/wTProductUpdateParams.js +42 -0
  1244. package/dist/model/wTProductUpdateParams.js.map +1 -0
  1245. package/dist/model/wTPromoCodeCreateParams.d.ts +21 -0
  1246. package/dist/model/wTPromoCodeCreateParams.js +52 -0
  1247. package/dist/model/wTPromoCodeCreateParams.js.map +1 -0
  1248. package/dist/model/wTPromoCodeUpdateParams.d.ts +21 -0
  1249. package/dist/model/wTPromoCodeUpdateParams.js +52 -0
  1250. package/dist/model/wTPromoCodeUpdateParams.js.map +1 -0
  1251. package/dist/model/wTQRCodeDesign.d.ts +30 -0
  1252. package/dist/model/wTQRCodeDesign.js +92 -0
  1253. package/dist/model/wTQRCodeDesign.js.map +1 -0
  1254. package/dist/model/wTQRCodeDesignCreateParams.d.ts +24 -0
  1255. package/dist/model/wTQRCodeDesignCreateParams.js +67 -0
  1256. package/dist/model/wTQRCodeDesignCreateParams.js.map +1 -0
  1257. package/dist/model/wTQRCodeDesignUpdateParams.d.ts +24 -0
  1258. package/dist/model/wTQRCodeDesignUpdateParams.js +67 -0
  1259. package/dist/model/wTQRCodeDesignUpdateParams.js.map +1 -0
  1260. package/dist/model/wTRole.d.ts +29 -0
  1261. package/dist/model/wTRole.js +87 -0
  1262. package/dist/model/wTRole.js.map +1 -0
  1263. package/dist/model/wTRoomRateCreateParams.d.ts +19 -0
  1264. package/dist/model/wTRoomRateCreateParams.js +42 -0
  1265. package/dist/model/wTRoomRateCreateParams.js.map +1 -0
  1266. package/dist/model/wTRoomRateUpdateParams.d.ts +19 -0
  1267. package/dist/model/wTRoomRateUpdateParams.js +42 -0
  1268. package/dist/model/wTRoomRateUpdateParams.js.map +1 -0
  1269. package/dist/model/wTSMSAcquirePhoneNumber.d.ts +14 -0
  1270. package/dist/model/wTSMSAcquirePhoneNumber.js +17 -0
  1271. package/dist/model/wTSMSAcquirePhoneNumber.js.map +1 -0
  1272. package/dist/model/wTSMSImportOptInListSubscribers.d.ts +16 -0
  1273. package/dist/model/wTSMSImportOptInListSubscribers.js +27 -0
  1274. package/dist/model/wTSMSImportOptInListSubscribers.js.map +1 -0
  1275. package/dist/model/wTSMSImportedListCreate.d.ts +16 -0
  1276. package/dist/model/wTSMSImportedListCreate.js +27 -0
  1277. package/dist/model/wTSMSImportedListCreate.js.map +1 -0
  1278. package/dist/model/wTSMSOptInListSourceCreate.d.ts +15 -0
  1279. package/dist/model/wTSMSOptInListSourceCreate.js +22 -0
  1280. package/dist/model/wTSMSOptInListSourceCreate.js.map +1 -0
  1281. package/dist/model/wTSMSUpdatePhoneNumberConfig.d.ts +25 -0
  1282. package/dist/model/wTSMSUpdatePhoneNumberConfig.js +72 -0
  1283. package/dist/model/wTSMSUpdatePhoneNumberConfig.js.map +1 -0
  1284. package/dist/model/wTServiceCreateParams.d.ts +19 -0
  1285. package/dist/model/wTServiceCreateParams.js +42 -0
  1286. package/dist/model/wTServiceCreateParams.js.map +1 -0
  1287. package/dist/model/wTServiceUpdateParams.d.ts +19 -0
  1288. package/dist/model/wTServiceUpdateParams.js +42 -0
  1289. package/dist/model/wTServiceUpdateParams.js.map +1 -0
  1290. package/dist/model/wTSettingsSetPassword.d.ts +14 -0
  1291. package/dist/model/wTSettingsSetPassword.js +17 -0
  1292. package/dist/model/wTSettingsSetPassword.js.map +1 -0
  1293. package/dist/model/wTSmsSubscriberCreateParams.d.ts +14 -0
  1294. package/dist/model/wTSmsSubscriberCreateParams.js +17 -0
  1295. package/dist/model/wTSmsSubscriberCreateParams.js.map +1 -0
  1296. package/dist/model/wTSmsSubscriberCreateParamsWalletUI.d.ts +15 -0
  1297. package/dist/model/wTSmsSubscriberCreateParamsWalletUI.js +22 -0
  1298. package/dist/model/wTSmsSubscriberCreateParamsWalletUI.js.map +1 -0
  1299. package/dist/model/wTSmsSubscriberUpdateParams.d.ts +14 -0
  1300. package/dist/model/wTSmsSubscriberUpdateParams.js +17 -0
  1301. package/dist/model/wTSmsSubscriberUpdateParams.js.map +1 -0
  1302. package/dist/model/wTStaticVoucher.d.ts +49 -0
  1303. package/dist/model/wTStaticVoucher.js +172 -0
  1304. package/dist/model/wTStaticVoucher.js.map +1 -0
  1305. package/dist/model/wTStaticVoucherCampaign.d.ts +40 -0
  1306. package/dist/model/wTStaticVoucherCampaign.js +137 -0
  1307. package/dist/model/wTStaticVoucherCampaign.js.map +1 -0
  1308. package/dist/model/wTStaticVoucherCampaignPreviewMessages.d.ts +16 -0
  1309. package/dist/model/wTStaticVoucherCampaignPreviewMessages.js +27 -0
  1310. package/dist/model/wTStaticVoucherCampaignPreviewMessages.js.map +1 -0
  1311. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.d.ts +18 -0
  1312. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js +37 -0
  1313. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js.map +1 -0
  1314. package/dist/model/wTStaticVoucherCreateParams.d.ts +18 -0
  1315. package/dist/model/wTStaticVoucherCreateParams.js +32 -0
  1316. package/dist/model/wTStaticVoucherCreateParams.js.map +1 -0
  1317. package/dist/model/wTStaticVoucherUpdateParams.d.ts +16 -0
  1318. package/dist/model/wTStaticVoucherUpdateParams.js +27 -0
  1319. package/dist/model/wTStaticVoucherUpdateParams.js.map +1 -0
  1320. package/dist/model/wTSystemApprovePhoneNumber.d.ts +15 -0
  1321. package/dist/model/wTSystemApprovePhoneNumber.js +22 -0
  1322. package/dist/model/wTSystemApprovePhoneNumber.js.map +1 -0
  1323. package/dist/model/wTSystemRoleCreate.d.ts +15 -0
  1324. package/dist/model/wTSystemRoleCreate.js +22 -0
  1325. package/dist/model/wTSystemRoleCreate.js.map +1 -0
  1326. package/dist/model/wTTCPAOpt.d.ts +18 -0
  1327. package/dist/model/wTTCPAOpt.js +27 -0
  1328. package/dist/model/wTTCPAOpt.js.map +1 -0
  1329. package/dist/model/wTTCPAOptListID.d.ts +13 -0
  1330. package/dist/model/wTTCPAOptListID.js +11 -0
  1331. package/dist/model/wTTCPAOptListID.js.map +1 -0
  1332. package/dist/model/wTTCPAOptSourceID.d.ts +13 -0
  1333. package/dist/model/wTTCPAOptSourceID.js +11 -0
  1334. package/dist/model/wTTCPAOptSourceID.js.map +1 -0
  1335. package/dist/model/wTTicket.d.ts +34 -0
  1336. package/dist/model/wTTicket.js +112 -0
  1337. package/dist/model/wTTicket.js.map +1 -0
  1338. package/dist/model/wTTicketCreateParams.d.ts +19 -0
  1339. package/dist/model/wTTicketCreateParams.js +42 -0
  1340. package/dist/model/wTTicketCreateParams.js.map +1 -0
  1341. package/dist/model/wTTicketUpdateParams.d.ts +18 -0
  1342. package/dist/model/wTTicketUpdateParams.js +37 -0
  1343. package/dist/model/wTTicketUpdateParams.js.map +1 -0
  1344. package/dist/model/wTTwilioRequestAuthyCode.d.ts +15 -0
  1345. package/dist/model/wTTwilioRequestAuthyCode.js +22 -0
  1346. package/dist/model/wTTwilioRequestAuthyCode.js.map +1 -0
  1347. package/dist/model/wTTwilioVerifyAuthyCode.d.ts +16 -0
  1348. package/dist/model/wTTwilioVerifyAuthyCode.js +27 -0
  1349. package/dist/model/wTTwilioVerifyAuthyCode.js.map +1 -0
  1350. package/dist/model/wTVideoCreateParams.d.ts +18 -0
  1351. package/dist/model/wTVideoCreateParams.js +37 -0
  1352. package/dist/model/wTVideoCreateParams.js.map +1 -0
  1353. package/dist/model/wTVideoUpdateParams.d.ts +18 -0
  1354. package/dist/model/wTVideoUpdateParams.js +37 -0
  1355. package/dist/model/wTVideoUpdateParams.js.map +1 -0
  1356. package/dist/model/wTVirtualBusinessCardCreateParams.d.ts +26 -0
  1357. package/dist/model/wTVirtualBusinessCardCreateParams.js +77 -0
  1358. package/dist/model/wTVirtualBusinessCardCreateParams.js.map +1 -0
  1359. package/dist/model/wTVirtualBusinessCardUpdateParams.d.ts +26 -0
  1360. package/dist/model/wTVirtualBusinessCardUpdateParams.js +77 -0
  1361. package/dist/model/wTVirtualBusinessCardUpdateParams.js.map +1 -0
  1362. package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +80 -0
  1363. package/dist/model/wTWalletConfigurationSaveWalletRecord.js +342 -0
  1364. package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -0
  1365. package/dist/model/wTWalletItemRedemption.d.ts +16 -0
  1366. package/dist/model/wTWalletItemRedemption.js +27 -0
  1367. package/dist/model/wTWalletItemRedemption.js.map +1 -0
  1368. package/dist/model/wTWalletObjectPrefixCounts.d.ts +17 -0
  1369. package/dist/model/wTWalletObjectPrefixCounts.js +27 -0
  1370. package/dist/model/wTWalletObjectPrefixCounts.js.map +1 -0
  1371. package/dist/model/wTWalletPageView.d.ts +54 -0
  1372. package/dist/model/wTWalletPageView.js +207 -0
  1373. package/dist/model/wTWalletPageView.js.map +1 -0
  1374. package/dist/model/wTWalletPageViewCount.d.ts +17 -0
  1375. package/dist/model/wTWalletPageViewCount.js +32 -0
  1376. package/dist/model/wTWalletPageViewCount.js.map +1 -0
  1377. package/dist/model/wTWalletPageViewGeoPoint.d.ts +15 -0
  1378. package/dist/model/wTWalletPageViewGeoPoint.js +22 -0
  1379. package/dist/model/wTWalletPageViewGeoPoint.js.map +1 -0
  1380. package/dist/model/wTWalletPageViewId.d.ts +13 -0
  1381. package/dist/model/wTWalletPageViewId.js +11 -0
  1382. package/dist/model/wTWalletPageViewId.js.map +1 -0
  1383. package/dist/model/walletConfiguration.d.ts +84 -0
  1384. package/dist/model/walletConfiguration.js +362 -0
  1385. package/dist/model/walletConfiguration.js.map +1 -0
  1386. package/dist/model/walletConfigurationSmsOptInSourceID.d.ts +13 -0
  1387. package/dist/model/walletConfigurationSmsOptInSourceID.js +11 -0
  1388. package/dist/model/walletConfigurationSmsOptInSourceID.js.map +1 -0
  1389. package/dist/model/walletPageView.d.ts +54 -0
  1390. package/dist/model/walletPageView.js +207 -0
  1391. package/dist/model/walletPageView.js.map +1 -0
  1392. package/dist/model/webpage.d.ts +23 -0
  1393. package/dist/model/webpage.js +62 -0
  1394. package/dist/model/webpage.js.map +1 -0
  1395. package/model/a2PApplicationSubmission.ts +250 -0
  1396. package/model/advertisementCredit.ts +105 -0
  1397. package/model/advertisementCreditBroadcast.ts +158 -0
  1398. package/model/advertisementCreditScan.ts +167 -0
  1399. package/model/amenity.ts +92 -0
  1400. package/model/announcement.ts +67 -0
  1401. package/model/applicableTerminals.ts +26 -0
  1402. package/model/authError.ts +55 -0
  1403. package/model/availablePhoneNumbersRequest.ts +43 -0
  1404. package/model/browserDetails.ts +55 -0
  1405. package/model/businessClassification.ts +20 -0
  1406. package/model/businessIndustry.ts +49 -0
  1407. package/model/businessRegionsOfOperation.ts +22 -0
  1408. package/model/businessRegistrationIdentifier.ts +26 -0
  1409. package/model/businessStockExchanges.ts +43 -0
  1410. package/model/businessType.ts +22 -0
  1411. package/model/claimTicketRequest.ts +31 -0
  1412. package/model/clickFunnelAmount.ts +37 -0
  1413. package/model/clickFunnelContact.ts +266 -0
  1414. package/model/clickFunnelContactProfile.ts +235 -0
  1415. package/model/clickFunnelEvent.ts +38 -0
  1416. package/model/clickFunnelOriginalAmount.ts +37 -0
  1417. package/model/clickFunnelProduct.ts +194 -0
  1418. package/model/clickFunnelPurchase.ts +178 -0
  1419. package/model/clickFunnelRegistration.ts +38 -0
  1420. package/model/countClaimedComps200Response.ts +37 -0
  1421. package/model/createFile200Response.ts +43 -0
  1422. package/model/createStaticVoucherCampaign.ts +105 -0
  1423. package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +105 -0
  1424. package/model/dashboardWidget.ts +121 -0
  1425. package/model/dining.ts +92 -0
  1426. package/model/document.ts +100 -0
  1427. package/model/duplicateRowFound.ts +55 -0
  1428. package/model/dynamicVoucher.ts +227 -0
  1429. package/model/dynamicVoucherBroadcast.ts +158 -0
  1430. package/model/dynamicVoucherBroadcastListType.ts +26 -0
  1431. package/model/dynamicVoucherTemporalDecreaseFrequencyType.ts +26 -0
  1432. package/model/emailSubscriber.ts +74 -0
  1433. package/model/employee.ts +209 -0
  1434. package/model/employeeAPIKey.ts +83 -0
  1435. package/model/employeeActivityLog.ts +67 -0
  1436. package/model/employeeAlert.ts +85 -0
  1437. package/model/employeeScheduleStartDay.ts +26 -0
  1438. package/model/employeeScheduleStartHour.ts +26 -0
  1439. package/model/employeeScheduleStartMeridiem.ts +26 -0
  1440. package/model/employeeScheduleStartMinute.ts +26 -0
  1441. package/model/entityTooLarge.ts +55 -0
  1442. package/model/exportDataFile.ts +85 -0
  1443. package/model/falsumError.ts +41 -0
  1444. package/model/falsumField.ts +55 -0
  1445. package/model/feature.ts +79 -0
  1446. package/model/fetchAllCountries200ResponseInner.ts +49 -0
  1447. package/model/fetchAllLedgerTransactions200Response.ts +44 -0
  1448. package/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.ts +105 -0
  1449. package/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.ts +26 -0
  1450. package/model/fetchCustomerTicketsWithTokenRequest.ts +37 -0
  1451. package/model/fetchDomainsByIndustry200Response.ts +67 -0
  1452. package/model/fetchImportedListRecipientsByPage200Response.ts +44 -0
  1453. package/model/fetchInboundSMSByPage200Response.ts +44 -0
  1454. package/model/fetchIndustry200Response.ts +56 -0
  1455. package/model/fetchMembersCount200Response.ts +31 -0
  1456. package/model/fetchOptInListSubscribersByPage200Response.ts +44 -0
  1457. package/model/fetchOutboundSMSByPage200Response.ts +44 -0
  1458. package/model/fetchPerformanceTicketsPage200Response.ts +38 -0
  1459. package/model/fetchStaticVouchersPage200Response.ts +38 -0
  1460. package/model/forbiddenRequest.ts +55 -0
  1461. package/model/foreignKeyDoesNotExist.ts +55 -0
  1462. package/model/gaming.ts +92 -0
  1463. package/model/helpDeskRequest.ts +86 -0
  1464. package/model/imageGrid.ts +86 -0
  1465. package/model/importTicketsRequest.ts +32 -0
  1466. package/model/importedList.ts +74 -0
  1467. package/model/importedListRecipient.ts +74 -0
  1468. package/model/inboundSMS.ts +242 -0
  1469. package/model/internalServerError.ts +55 -0
  1470. package/model/jobPosition.ts +23 -0
  1471. package/model/ledgerEntry.ts +179 -0
  1472. package/model/ledgerEntryParentObjectID.ts +26 -0
  1473. package/model/ledgerEntryTransactionType.ts +26 -0
  1474. package/model/linkBook.ts +87 -0
  1475. package/model/linkBookSection.ts +68 -0
  1476. package/model/loginStatus200Response.ts +50 -0
  1477. package/model/loginStatus200ResponseAnyOf.ts +37 -0
  1478. package/model/lounge.ts +92 -0
  1479. package/model/mSAnalyticsMemberCountPartitionedByDate.ts +43 -0
  1480. package/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.ts +43 -0
  1481. package/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.ts +43 -0
  1482. package/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.ts +43 -0
  1483. package/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.ts +43 -0
  1484. package/model/mSMemberHistory.ts +127 -0
  1485. package/model/mSMemberHistoryPagination.ts +53 -0
  1486. package/model/mSMemberRedemption.ts +105 -0
  1487. package/model/mSMemberRedemptionPagination.ts +53 -0
  1488. package/model/mSMemberRedemptionTransactionType.ts +29 -0
  1489. package/model/mSMembershipTierHistory.ts +106 -0
  1490. package/model/mSMembershipTierHistoryPagination.ts +53 -0
  1491. package/model/mSMembershipTierRedemption.ts +117 -0
  1492. package/model/mSMembershipTierRedemptionPagination.ts +53 -0
  1493. package/model/mSMerchantCreditHistory.ts +88 -0
  1494. package/model/mSMerchantCreditHistoryPagination.ts +53 -0
  1495. package/model/mSMerchantCreditRedemption.ts +105 -0
  1496. package/model/mSMerchantCreditRedemptionPagination.ts +53 -0
  1497. package/model/mediaFile.ts +100 -0
  1498. package/model/member.ts +133 -0
  1499. package/model/memberSearch.ts +82 -0
  1500. package/model/memberSearchSearchKey.ts +29 -0
  1501. package/model/memberSearchSortKey.ts +29 -0
  1502. package/model/merchant.ts +187 -0
  1503. package/model/merchantCreditSearch.ts +61 -0
  1504. package/model/merchantNotInitialized.ts +55 -0
  1505. package/model/merchantURL.ts +68 -0
  1506. package/model/message.ts +74 -0
  1507. package/model/messageDirection.ts +26 -0
  1508. package/model/messageStatus.ts +26 -0
  1509. package/model/models.ts +1338 -0
  1510. package/model/moduleError.ts +157 -0
  1511. package/model/newsArticle.ts +92 -0
  1512. package/model/optInList.ts +134 -0
  1513. package/model/optInListSource.ts +74 -0
  1514. package/model/optInListSubscriber.ts +118 -0
  1515. package/model/outboundSMS.ts +160 -0
  1516. package/model/paginatedWTMembers.ts +53 -0
  1517. package/model/paginatedWTMerchantCredits.ts +53 -0
  1518. package/model/paginationRequestWithIDAndWithoutSortOptions.ts +49 -0
  1519. package/model/paginationRequestWithSortOptions.ts +73 -0
  1520. package/model/paginationRequestWithSortOptionsSortOrder.ts +29 -0
  1521. package/model/paymentDesign.ts +141 -0
  1522. package/model/performance.ts +134 -0
  1523. package/model/phoneNumber.ts +158 -0
  1524. package/model/phoneNumberCapabilities.ts +49 -0
  1525. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.ts +107 -0
  1526. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +101 -0
  1527. package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +40 -0
  1528. package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +40 -0
  1529. package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +82 -0
  1530. package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +121 -0
  1531. package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +43 -0
  1532. package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +82 -0
  1533. package/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.ts +62 -0
  1534. package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +46 -0
  1535. package/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.ts +40 -0
  1536. package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +52 -0
  1537. package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +100 -0
  1538. package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.ts +94 -0
  1539. package/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.ts +77 -0
  1540. package/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.ts +26 -0
  1541. package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +112 -0
  1542. package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +46 -0
  1543. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +156 -0
  1544. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.ts +26 -0
  1545. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.ts +26 -0
  1546. package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +59 -0
  1547. package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +133 -0
  1548. package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +59 -0
  1549. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +101 -0
  1550. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.ts +26 -0
  1551. package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +142 -0
  1552. package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.ts +107 -0
  1553. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +107 -0
  1554. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.ts +26 -0
  1555. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +163 -0
  1556. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.ts +29 -0
  1557. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.ts +29 -0
  1558. package/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.ts +46 -0
  1559. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +128 -0
  1560. package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.ts +91 -0
  1561. package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +52 -0
  1562. package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +40 -0
  1563. package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +64 -0
  1564. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +141 -0
  1565. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.ts +26 -0
  1566. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.ts +26 -0
  1567. package/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.ts +34 -0
  1568. package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +107 -0
  1569. package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +46 -0
  1570. package/model/plan.ts +62 -0
  1571. package/model/portalPage.ts +83 -0
  1572. package/model/presignedPost.ts +41 -0
  1573. package/model/presignedPostFields.ts +43 -0
  1574. package/model/product.ts +74 -0
  1575. package/model/profileStatuses.ts +21 -0
  1576. package/model/promoCode.ts +104 -0
  1577. package/model/qRCodeDesign.ts +122 -0
  1578. package/model/reachPerformanceStats.ts +124 -0
  1579. package/model/request.ts +349 -0
  1580. package/model/response.ts +67 -0
  1581. package/model/role.ts +117 -0
  1582. package/model/roleAuditLog.ts +97 -0
  1583. package/model/roomRate.ts +92 -0
  1584. package/model/sSImportedListRecipientCreateParams.ts +37 -0
  1585. package/model/sSOptInSource.ts +73 -0
  1586. package/model/sSOutboundStatuses.ts +26 -0
  1587. package/model/saveMerchantCreditPaymentDesignRequest.ts +31 -0
  1588. package/model/saveTicketSettingsRequest.ts +50 -0
  1589. package/model/saveTicketSettingsRequestPaymentDesignID.ts +26 -0
  1590. package/model/service.ts +92 -0
  1591. package/model/simpleSMSBroadcast.ts +151 -0
  1592. package/model/smsSubscriber.ts +62 -0
  1593. package/model/staticVoucher.ts +221 -0
  1594. package/model/staticVoucherCampaign.ts +177 -0
  1595. package/model/staticVoucherCampaignBroadcast.ts +145 -0
  1596. package/model/staticVoucherCampaignGroup.ts +86 -0
  1597. package/model/staticVoucherCampaignUpdate.ts +80 -0
  1598. package/model/status.ts +26 -0
  1599. package/model/subscriptionFeature.ts +79 -0
  1600. package/model/subscriptionPlan.ts +69 -0
  1601. package/model/subscriptionProduct.ts +93 -0
  1602. package/model/tcpa.ts +68 -0
  1603. package/model/ticket.ts +149 -0
  1604. package/model/trustBundleStatuses.ts +21 -0
  1605. package/model/updateEmailNotificationPreferenceRequest.ts +31 -0
  1606. package/model/updateStaticVoucherCampaignWithVoucher.ts +105 -0
  1607. package/model/updateStaticVoucherCampaignWithVoucherVoucherID.ts +26 -0
  1608. package/model/vSCampaignGeneratedMessage.ts +43 -0
  1609. package/model/vSCampaignGeneratedMessagePagination.ts +53 -0
  1610. package/model/vSDynamicVoucherStatus.ts +26 -0
  1611. package/model/video.ts +86 -0
  1612. package/model/virtualBusinessCard.ts +134 -0
  1613. package/model/wTA2PApplicationUpdateParams.ts +178 -0
  1614. package/model/wTAdvertisementCredit.ts +105 -0
  1615. package/model/wTAdvertisementCreditCreateParams.ts +56 -0
  1616. package/model/wTAdvertisementCreditScan.ts +167 -0
  1617. package/model/wTAdvertisementCreditUpdateParams.ts +56 -0
  1618. package/model/wTAmenityCreateParams.ts +61 -0
  1619. package/model/wTAmenityUpdateParams.ts +61 -0
  1620. package/model/wTAuthenticationCheckSessionTokenStatusResponse.ts +36 -0
  1621. package/model/wTAuthenticationForgotPassword.ts +31 -0
  1622. package/model/wTAuthenticationLoginRequest.ts +37 -0
  1623. package/model/wTAuthenticationLoginResponse.ts +121 -0
  1624. package/model/wTAuthenticationRegister.ts +121 -0
  1625. package/model/wTAuthenticationRequestResetPassword.ts +31 -0
  1626. package/model/wTAuthenticationResetPassword.ts +43 -0
  1627. package/model/wTAuthenticationSSOLoginForDiscourse.ts +49 -0
  1628. package/model/wTBillingChangePlan.ts +31 -0
  1629. package/model/wTBillingSavePaymentMethod.ts +31 -0
  1630. package/model/wTBillingVerifyPaymentMethodResponse.ts +38 -0
  1631. package/model/wTCountResult.ts +31 -0
  1632. package/model/wTCustomerSearchByMemberID.ts +31 -0
  1633. package/model/wTCustomerSearchByPhoneNumber.ts +31 -0
  1634. package/model/wTDiningCreateParams.ts +61 -0
  1635. package/model/wTDiningUpdateParams.ts +61 -0
  1636. package/model/wTDynamicVoucher.ts +227 -0
  1637. package/model/wTDynamicVoucherCreateParams.ts +98 -0
  1638. package/model/wTDynamicVoucherRedemption.ts +161 -0
  1639. package/model/wTDynamicVoucherRedemptionTransactionType.ts +29 -0
  1640. package/model/wTDynamicVoucherSummary.ts +170 -0
  1641. package/model/wTDynamicVoucherSummaryStatus.ts +26 -0
  1642. package/model/wTDynamicVoucherUpdateParams.ts +98 -0
  1643. package/model/wTEmailSubscriberCreateParams.ts +43 -0
  1644. package/model/wTEmailSubscriberCreateParamsWalletUI.ts +49 -0
  1645. package/model/wTEmailSubscriberUpdateParams.ts +43 -0
  1646. package/model/wTEmployee.ts +209 -0
  1647. package/model/wTEmployeeAPIKey.ts +83 -0
  1648. package/model/wTEmployeeAPIKeyCreateParams.ts +37 -0
  1649. package/model/wTEmployeeAPIKeyUpdateParams.ts +37 -0
  1650. package/model/wTEmployeeCreate.ts +131 -0
  1651. package/model/wTEmployeeCreateDocument.ts +43 -0
  1652. package/model/wTEmployeeCreateMediaFile.ts +43 -0
  1653. package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +31 -0
  1654. package/model/wTEmployeeFileCreate.ts +37 -0
  1655. package/model/wTEmployeeImportRecords.ts +37 -0
  1656. package/model/wTEmployeeNotification.ts +50 -0
  1657. package/model/wTEmployeeNotificationType.ts +26 -0
  1658. package/model/wTEmployeePeerRoles.ts +31 -0
  1659. package/model/wTEmployeeS3FilePresign.ts +44 -0
  1660. package/model/wTEmployeeS3FilePresignContext.ts +26 -0
  1661. package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +67 -0
  1662. package/model/wTEmployeeScheduleSimpleSMS.ts +62 -0
  1663. package/model/wTEmployeeScheduleSimpleSMSListType.ts +26 -0
  1664. package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +55 -0
  1665. package/model/wTEmployeeSendHelpDeskResponse.ts +43 -0
  1666. package/model/wTEmployeeUpdate.ts +125 -0
  1667. package/model/wTEmployeeUpdateRecords.ts +37 -0
  1668. package/model/wTFetchWalletPaymentObjectsWithToken.ts +55 -0
  1669. package/model/wTGamingCreateParams.ts +61 -0
  1670. package/model/wTGamingUpdateParams.ts +61 -0
  1671. package/model/wTImageGridCreateParams.ts +55 -0
  1672. package/model/wTImageGridUpdateParams.ts +55 -0
  1673. package/model/wTImportedList.ts +74 -0
  1674. package/model/wTImportedListRecipientFromMembershipTierImport.ts +44 -0
  1675. package/model/wTImportedListRecipientFromMembershipTierImportTierID.ts +26 -0
  1676. package/model/wTInfoGenesisLookupRequestErrors.ts +49 -0
  1677. package/model/wTInfoGenesisRecordFilterParameters.ts +43 -0
  1678. package/model/wTInfoGenesisRoutingIDs.ts +31 -0
  1679. package/model/wTInfoGenesisUniquePostingIDs.ts +31 -0
  1680. package/model/wTLinkBook.ts +87 -0
  1681. package/model/wTLinkBookCreateParams.ts +56 -0
  1682. package/model/wTLinkBookLinkBookSectionID.ts +26 -0
  1683. package/model/wTLinkBookSectionCreateParams.ts +37 -0
  1684. package/model/wTLinkBookSectionUpdateParams.ts +37 -0
  1685. package/model/wTLinkBookUpdateParams.ts +56 -0
  1686. package/model/wTLocalInstance.ts +107 -0
  1687. package/model/wTLoungeCreateParams.ts +61 -0
  1688. package/model/wTLoungeUpdateParams.ts +61 -0
  1689. package/model/wTMember.ts +133 -0
  1690. package/model/wTMemberCreationParams.ts +88 -0
  1691. package/model/wTMembershipTier.ts +104 -0
  1692. package/model/wTMembershipTierCreationParams.ts +64 -0
  1693. package/model/wTMembershipTierId.ts +29 -0
  1694. package/model/wTMembershipTierUpdateParams.ts +64 -0
  1695. package/model/wTMembershipTierWithMemberCount.ts +113 -0
  1696. package/model/wTMerchantCredit.ts +106 -0
  1697. package/model/wTMerchantCreditCreationParams.ts +49 -0
  1698. package/model/wTMerchantURLCreate.ts +37 -0
  1699. package/model/wTMerchantURLUpdate.ts +37 -0
  1700. package/model/wTMerchantUpdate.ts +79 -0
  1701. package/model/wTMerchantUpdatePOSIntegration.ts +31 -0
  1702. package/model/wTMerchantUpdatePointsOfContact.ts +49 -0
  1703. package/model/wTMessageInstance.ts +153 -0
  1704. package/model/wTNewsArticleCreateParams.ts +61 -0
  1705. package/model/wTNewsArticleUpdateParams.ts +61 -0
  1706. package/model/wTOptInList.ts +134 -0
  1707. package/model/wTOptInListCreationParams.ts +103 -0
  1708. package/model/wTPaymentDesign.ts +141 -0
  1709. package/model/wTPaymentDesignCreateParams.ts +104 -0
  1710. package/model/wTPaymentDesignUpdateParams.ts +104 -0
  1711. package/model/wTPerformanceCreateParams.ts +103 -0
  1712. package/model/wTPerformanceUpdateParams.ts +103 -0
  1713. package/model/wTPosMachine.ts +88 -0
  1714. package/model/wTPosMachineCreateParams.ts +58 -0
  1715. package/model/wTPosMachineUpdateParams.ts +58 -0
  1716. package/model/wTProductCreateParams.ts +61 -0
  1717. package/model/wTProductUpdateParams.ts +61 -0
  1718. package/model/wTPromoCodeCreateParams.ts +73 -0
  1719. package/model/wTPromoCodeUpdateParams.ts +73 -0
  1720. package/model/wTQRCodeDesign.ts +122 -0
  1721. package/model/wTQRCodeDesignCreateParams.ts +91 -0
  1722. package/model/wTQRCodeDesignUpdateParams.ts +91 -0
  1723. package/model/wTRole.ts +116 -0
  1724. package/model/wTRoomRateCreateParams.ts +61 -0
  1725. package/model/wTRoomRateUpdateParams.ts +61 -0
  1726. package/model/wTSMSAcquirePhoneNumber.ts +31 -0
  1727. package/model/wTSMSImportOptInListSubscribers.ts +43 -0
  1728. package/model/wTSMSImportedListCreate.ts +43 -0
  1729. package/model/wTSMSOptInListSourceCreate.ts +37 -0
  1730. package/model/wTSMSUpdatePhoneNumberConfig.ts +97 -0
  1731. package/model/wTServiceCreateParams.ts +61 -0
  1732. package/model/wTServiceUpdateParams.ts +61 -0
  1733. package/model/wTSettingsSetPassword.ts +31 -0
  1734. package/model/wTSmsSubscriberCreateParams.ts +31 -0
  1735. package/model/wTSmsSubscriberCreateParamsWalletUI.ts +37 -0
  1736. package/model/wTSmsSubscriberUpdateParams.ts +31 -0
  1737. package/model/wTStaticVoucher.ts +221 -0
  1738. package/model/wTStaticVoucherCampaign.ts +177 -0
  1739. package/model/wTStaticVoucherCampaignPreviewMessages.ts +43 -0
  1740. package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +55 -0
  1741. package/model/wTStaticVoucherCreateParams.ts +50 -0
  1742. package/model/wTStaticVoucherUpdateParams.ts +43 -0
  1743. package/model/wTSystemApprovePhoneNumber.ts +37 -0
  1744. package/model/wTSystemRoleCreate.ts +37 -0
  1745. package/model/wTTCPAOpt.ts +45 -0
  1746. package/model/wTTCPAOptListID.ts +26 -0
  1747. package/model/wTTCPAOptSourceID.ts +26 -0
  1748. package/model/wTTicket.ts +149 -0
  1749. package/model/wTTicketCreateParams.ts +64 -0
  1750. package/model/wTTicketUpdateParams.ts +58 -0
  1751. package/model/wTTwilioRequestAuthyCode.ts +37 -0
  1752. package/model/wTTwilioVerifyAuthyCode.ts +43 -0
  1753. package/model/wTVideoCreateParams.ts +55 -0
  1754. package/model/wTVideoUpdateParams.ts +55 -0
  1755. package/model/wTVirtualBusinessCardCreateParams.ts +103 -0
  1756. package/model/wTVirtualBusinessCardUpdateParams.ts +103 -0
  1757. package/model/wTWalletConfigurationSaveWalletRecord.ts +422 -0
  1758. package/model/wTWalletItemRedemption.ts +43 -0
  1759. package/model/wTWalletObjectPrefixCounts.ts +44 -0
  1760. package/model/wTWalletPageView.ts +264 -0
  1761. package/model/wTWalletPageViewCount.ts +49 -0
  1762. package/model/wTWalletPageViewGeoPoint.ts +37 -0
  1763. package/model/wTWalletPageViewId.ts +26 -0
  1764. package/model/walletConfiguration.ts +446 -0
  1765. package/model/walletConfigurationSmsOptInSourceID.ts +26 -0
  1766. package/model/walletPageView.ts +264 -0
  1767. package/model/webpage.ts +85 -0
  1768. package/openapitools.json +7 -0
  1769. package/package.json +1 -1
package/api/sMSApi.ts ADDED
@@ -0,0 +1,2893 @@
1
+ /**
2
+ * wallet-api
3
+ * API
4
+ *
5
+ * The version of the OpenAPI document: 2.1.600
6
+ * Contact: development@wallet.inc
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ import localVarRequest from 'request';
15
+ import http from 'http';
16
+
17
+ /* tslint:disable:no-unused-locals */
18
+ import { AuthError } from '../model/authError';
19
+ import { FalsumError } from '../model/falsumError';
20
+ import { FetchImportedListRecipientsByPage200Response } from '../model/fetchImportedListRecipientsByPage200Response';
21
+ import { FetchOptInListSubscribersByPage200Response } from '../model/fetchOptInListSubscribersByPage200Response';
22
+ import { FetchOutboundSMSByPage200Response } from '../model/fetchOutboundSMSByPage200Response';
23
+ import { ImportedList } from '../model/importedList';
24
+ import { ImportedListRecipient } from '../model/importedListRecipient';
25
+ import { InternalServerError } from '../model/internalServerError';
26
+ import { OptInList } from '../model/optInList';
27
+ import { OptInListSource } from '../model/optInListSource';
28
+ import { OptInListSubscriber } from '../model/optInListSubscriber';
29
+ import { OutboundSMS } from '../model/outboundSMS';
30
+ import { PhoneNumber } from '../model/phoneNumber';
31
+ import { SSImportedListRecipientCreateParams } from '../model/sSImportedListRecipientCreateParams';
32
+ import { SSOutboundStatuses } from '../model/sSOutboundStatuses';
33
+ import { StaticVoucherCampaignBroadcast } from '../model/staticVoucherCampaignBroadcast';
34
+ import { Tcpa } from '../model/tcpa';
35
+ import { WTCountResult } from '../model/wTCountResult';
36
+ import { WTEmployeeImportRecords } from '../model/wTEmployeeImportRecords';
37
+ import { WTImportedListRecipientFromMembershipTierImport } from '../model/wTImportedListRecipientFromMembershipTierImport';
38
+ import { WTOptInListCreationParams } from '../model/wTOptInListCreationParams';
39
+ import { WTSMSAcquirePhoneNumber } from '../model/wTSMSAcquirePhoneNumber';
40
+ import { WTSMSImportOptInListSubscribers } from '../model/wTSMSImportOptInListSubscribers';
41
+ import { WTSMSImportedListCreate } from '../model/wTSMSImportedListCreate';
42
+ import { WTSMSOptInListSourceCreate } from '../model/wTSMSOptInListSourceCreate';
43
+ import { WTSMSUpdatePhoneNumberConfig } from '../model/wTSMSUpdatePhoneNumberConfig';
44
+
45
+ import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
46
+ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
47
+
48
+ import { HttpError, RequestFile } from './apis';
49
+
50
+ let defaultBasePath = 'https://api.wall.et';
51
+
52
+ // ===============================================
53
+ // This file is autogenerated - Please do not edit
54
+ // ===============================================
55
+
56
+ export enum SMSApiApiKeys {
57
+ api_key,
58
+ }
59
+
60
+ export class SMSApi {
61
+ protected _basePath = defaultBasePath;
62
+ protected _defaultHeaders : any = {};
63
+ protected _useQuerystring : boolean = false;
64
+
65
+ protected authentications = {
66
+ 'default': <Authentication>new VoidAuth(),
67
+ 'api_key': new ApiKeyAuth('header', 'access-token'),
68
+ }
69
+
70
+ protected interceptors: Interceptor[] = [];
71
+
72
+ constructor(basePath?: string);
73
+ constructor(basePathOrUsername: string, password?: string, basePath?: string) {
74
+ if (password) {
75
+ if (basePath) {
76
+ this.basePath = basePath;
77
+ }
78
+ } else {
79
+ if (basePathOrUsername) {
80
+ this.basePath = basePathOrUsername
81
+ }
82
+ }
83
+ }
84
+
85
+ set useQuerystring(value: boolean) {
86
+ this._useQuerystring = value;
87
+ }
88
+
89
+ set basePath(basePath: string) {
90
+ this._basePath = basePath;
91
+ }
92
+
93
+ set defaultHeaders(defaultHeaders: any) {
94
+ this._defaultHeaders = defaultHeaders;
95
+ }
96
+
97
+ get defaultHeaders() {
98
+ return this._defaultHeaders;
99
+ }
100
+
101
+ get basePath() {
102
+ return this._basePath;
103
+ }
104
+
105
+ public setDefaultAuthentication(auth: Authentication) {
106
+ this.authentications.default = auth;
107
+ }
108
+
109
+ public setApiKey(key: SMSApiApiKeys, value: string) {
110
+ (this.authentications as any)[SMSApiApiKeys[key]].apiKey = value;
111
+ }
112
+
113
+ public addInterceptor(interceptor: Interceptor) {
114
+ this.interceptors.push(interceptor);
115
+ }
116
+
117
+ /**
118
+ *
119
+ * @summary Acquire phone number
120
+ * @param wTSMSAcquirePhoneNumber
121
+ */
122
+ public async acquirePhoneNumber (wTSMSAcquirePhoneNumber: WTSMSAcquirePhoneNumber, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
123
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/acquire';
124
+ let localVarQueryParameters: any = {};
125
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
126
+ const produces = ['application/json'];
127
+ // give precedence to 'application/json'
128
+ if (produces.indexOf('application/json') >= 0) {
129
+ localVarHeaderParams.Accept = 'application/json';
130
+ } else {
131
+ localVarHeaderParams.Accept = produces.join(',');
132
+ }
133
+ let localVarFormParams: any = {};
134
+
135
+ // verify required parameter 'wTSMSAcquirePhoneNumber' is not null or undefined
136
+ if (wTSMSAcquirePhoneNumber === null || wTSMSAcquirePhoneNumber === undefined) {
137
+ throw new Error('Required parameter wTSMSAcquirePhoneNumber was null or undefined when calling acquirePhoneNumber.');
138
+ }
139
+
140
+ (<any>Object).assign(localVarHeaderParams, options.headers);
141
+
142
+ let localVarUseFormData = false;
143
+
144
+ let localVarRequestOptions: localVarRequest.Options = {
145
+ method: 'POST',
146
+ qs: localVarQueryParameters,
147
+ headers: localVarHeaderParams,
148
+ uri: localVarPath,
149
+ useQuerystring: this._useQuerystring,
150
+ json: true,
151
+ body: ObjectSerializer.serialize(wTSMSAcquirePhoneNumber, "WTSMSAcquirePhoneNumber")
152
+ };
153
+
154
+ let authenticationPromise = Promise.resolve();
155
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
156
+
157
+ let interceptorPromise = authenticationPromise;
158
+ for (const interceptor of this.interceptors) {
159
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
160
+ }
161
+
162
+ return interceptorPromise.then(() => {
163
+ if (Object.keys(localVarFormParams).length) {
164
+ if (localVarUseFormData) {
165
+ (<any>localVarRequestOptions).formData = localVarFormParams;
166
+ } else {
167
+ localVarRequestOptions.form = localVarFormParams;
168
+ }
169
+ }
170
+ return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
171
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
172
+ if (error) {
173
+ reject(error);
174
+ } else {
175
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
176
+ body = ObjectSerializer.deserialize(body, "PhoneNumber");
177
+ resolve({ response: response, body: body });
178
+ } else {
179
+ reject(new HttpError(response, body, response.statusCode));
180
+ }
181
+ }
182
+ });
183
+ });
184
+ });
185
+ }
186
+ /**
187
+ *
188
+ * @summary Archive phone number
189
+ * @param phoneNumberID
190
+ */
191
+ public async archivePhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
192
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
193
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
194
+ let localVarQueryParameters: any = {};
195
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
196
+ const produces = ['application/json'];
197
+ // give precedence to 'application/json'
198
+ if (produces.indexOf('application/json') >= 0) {
199
+ localVarHeaderParams.Accept = 'application/json';
200
+ } else {
201
+ localVarHeaderParams.Accept = produces.join(',');
202
+ }
203
+ let localVarFormParams: any = {};
204
+
205
+ // verify required parameter 'phoneNumberID' is not null or undefined
206
+ if (phoneNumberID === null || phoneNumberID === undefined) {
207
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling archivePhoneNumber.');
208
+ }
209
+
210
+ (<any>Object).assign(localVarHeaderParams, options.headers);
211
+
212
+ let localVarUseFormData = false;
213
+
214
+ let localVarRequestOptions: localVarRequest.Options = {
215
+ method: 'DELETE',
216
+ qs: localVarQueryParameters,
217
+ headers: localVarHeaderParams,
218
+ uri: localVarPath,
219
+ useQuerystring: this._useQuerystring,
220
+ json: true,
221
+ };
222
+
223
+ let authenticationPromise = Promise.resolve();
224
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
225
+
226
+ let interceptorPromise = authenticationPromise;
227
+ for (const interceptor of this.interceptors) {
228
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
229
+ }
230
+
231
+ return interceptorPromise.then(() => {
232
+ if (Object.keys(localVarFormParams).length) {
233
+ if (localVarUseFormData) {
234
+ (<any>localVarRequestOptions).formData = localVarFormParams;
235
+ } else {
236
+ localVarRequestOptions.form = localVarFormParams;
237
+ }
238
+ }
239
+ return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
240
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
241
+ if (error) {
242
+ reject(error);
243
+ } else {
244
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
245
+ body = ObjectSerializer.deserialize(body, "PhoneNumber");
246
+ resolve({ response: response, body: body });
247
+ } else {
248
+ reject(new HttpError(response, body, response.statusCode));
249
+ }
250
+ }
251
+ });
252
+ });
253
+ });
254
+ }
255
+ /**
256
+ *
257
+ * @summary Archive recipient
258
+ * @param id
259
+ */
260
+ public async archiveRecipient (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }> {
261
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/{id}'
262
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
263
+ let localVarQueryParameters: any = {};
264
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
265
+ const produces = ['application/json'];
266
+ // give precedence to 'application/json'
267
+ if (produces.indexOf('application/json') >= 0) {
268
+ localVarHeaderParams.Accept = 'application/json';
269
+ } else {
270
+ localVarHeaderParams.Accept = produces.join(',');
271
+ }
272
+ let localVarFormParams: any = {};
273
+
274
+ // verify required parameter 'id' is not null or undefined
275
+ if (id === null || id === undefined) {
276
+ throw new Error('Required parameter id was null or undefined when calling archiveRecipient.');
277
+ }
278
+
279
+ (<any>Object).assign(localVarHeaderParams, options.headers);
280
+
281
+ let localVarUseFormData = false;
282
+
283
+ let localVarRequestOptions: localVarRequest.Options = {
284
+ method: 'DELETE',
285
+ qs: localVarQueryParameters,
286
+ headers: localVarHeaderParams,
287
+ uri: localVarPath,
288
+ useQuerystring: this._useQuerystring,
289
+ json: true,
290
+ };
291
+
292
+ let authenticationPromise = Promise.resolve();
293
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
294
+
295
+ let interceptorPromise = authenticationPromise;
296
+ for (const interceptor of this.interceptors) {
297
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
298
+ }
299
+
300
+ return interceptorPromise.then(() => {
301
+ if (Object.keys(localVarFormParams).length) {
302
+ if (localVarUseFormData) {
303
+ (<any>localVarRequestOptions).formData = localVarFormParams;
304
+ } else {
305
+ localVarRequestOptions.form = localVarFormParams;
306
+ }
307
+ }
308
+ return new Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }>((resolve, reject) => {
309
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
310
+ if (error) {
311
+ reject(error);
312
+ } else {
313
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
314
+ body = ObjectSerializer.deserialize(body, "ImportedListRecipient");
315
+ resolve({ response: response, body: body });
316
+ } else {
317
+ reject(new HttpError(response, body, response.statusCode));
318
+ }
319
+ }
320
+ });
321
+ });
322
+ });
323
+ }
324
+ /**
325
+ *
326
+ * @summary Count imported list recipients
327
+ * @param listID
328
+ * @param isArchiveIncluded
329
+ * @param startDate
330
+ * @param endDate
331
+ */
332
+ public async countImportedListRecipients (listID: string, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
333
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/count/{listID}'
334
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
335
+ let localVarQueryParameters: any = {};
336
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
337
+ const produces = ['application/json'];
338
+ // give precedence to 'application/json'
339
+ if (produces.indexOf('application/json') >= 0) {
340
+ localVarHeaderParams.Accept = 'application/json';
341
+ } else {
342
+ localVarHeaderParams.Accept = produces.join(',');
343
+ }
344
+ let localVarFormParams: any = {};
345
+
346
+ // verify required parameter 'listID' is not null or undefined
347
+ if (listID === null || listID === undefined) {
348
+ throw new Error('Required parameter listID was null or undefined when calling countImportedListRecipients.');
349
+ }
350
+
351
+ if (isArchiveIncluded !== undefined) {
352
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
353
+ }
354
+
355
+ if (startDate !== undefined) {
356
+ localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
357
+ }
358
+
359
+ if (endDate !== undefined) {
360
+ localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
361
+ }
362
+
363
+ (<any>Object).assign(localVarHeaderParams, options.headers);
364
+
365
+ let localVarUseFormData = false;
366
+
367
+ let localVarRequestOptions: localVarRequest.Options = {
368
+ method: 'GET',
369
+ qs: localVarQueryParameters,
370
+ headers: localVarHeaderParams,
371
+ uri: localVarPath,
372
+ useQuerystring: this._useQuerystring,
373
+ json: true,
374
+ };
375
+
376
+ let authenticationPromise = Promise.resolve();
377
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
378
+
379
+ let interceptorPromise = authenticationPromise;
380
+ for (const interceptor of this.interceptors) {
381
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
382
+ }
383
+
384
+ return interceptorPromise.then(() => {
385
+ if (Object.keys(localVarFormParams).length) {
386
+ if (localVarUseFormData) {
387
+ (<any>localVarRequestOptions).formData = localVarFormParams;
388
+ } else {
389
+ localVarRequestOptions.form = localVarFormParams;
390
+ }
391
+ }
392
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
393
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
394
+ if (error) {
395
+ reject(error);
396
+ } else {
397
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
398
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
399
+ resolve({ response: response, body: body });
400
+ } else {
401
+ reject(new HttpError(response, body, response.statusCode));
402
+ }
403
+ }
404
+ });
405
+ });
406
+ });
407
+ }
408
+ /**
409
+ *
410
+ * @summary Count opt in list subscribers
411
+ * @param listID
412
+ * @param isSubscribed
413
+ * @param isPendingAge21Verification
414
+ * @param isArchiveIncluded
415
+ * @param startDate
416
+ * @param endDate
417
+ */
418
+ public async countOptInListSubscribers (listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
419
+ const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/count/{listID}'
420
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
421
+ let localVarQueryParameters: any = {};
422
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
423
+ const produces = ['application/json'];
424
+ // give precedence to 'application/json'
425
+ if (produces.indexOf('application/json') >= 0) {
426
+ localVarHeaderParams.Accept = 'application/json';
427
+ } else {
428
+ localVarHeaderParams.Accept = produces.join(',');
429
+ }
430
+ let localVarFormParams: any = {};
431
+
432
+ // verify required parameter 'listID' is not null or undefined
433
+ if (listID === null || listID === undefined) {
434
+ throw new Error('Required parameter listID was null or undefined when calling countOptInListSubscribers.');
435
+ }
436
+
437
+ if (isSubscribed !== undefined) {
438
+ localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
439
+ }
440
+
441
+ if (isPendingAge21Verification !== undefined) {
442
+ localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
443
+ }
444
+
445
+ if (isArchiveIncluded !== undefined) {
446
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
447
+ }
448
+
449
+ if (startDate !== undefined) {
450
+ localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
451
+ }
452
+
453
+ if (endDate !== undefined) {
454
+ localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
455
+ }
456
+
457
+ (<any>Object).assign(localVarHeaderParams, options.headers);
458
+
459
+ let localVarUseFormData = false;
460
+
461
+ let localVarRequestOptions: localVarRequest.Options = {
462
+ method: 'GET',
463
+ qs: localVarQueryParameters,
464
+ headers: localVarHeaderParams,
465
+ uri: localVarPath,
466
+ useQuerystring: this._useQuerystring,
467
+ json: true,
468
+ };
469
+
470
+ let authenticationPromise = Promise.resolve();
471
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
472
+
473
+ let interceptorPromise = authenticationPromise;
474
+ for (const interceptor of this.interceptors) {
475
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
476
+ }
477
+
478
+ return interceptorPromise.then(() => {
479
+ if (Object.keys(localVarFormParams).length) {
480
+ if (localVarUseFormData) {
481
+ (<any>localVarRequestOptions).formData = localVarFormParams;
482
+ } else {
483
+ localVarRequestOptions.form = localVarFormParams;
484
+ }
485
+ }
486
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
487
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
488
+ if (error) {
489
+ reject(error);
490
+ } else {
491
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
492
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
493
+ resolve({ response: response, body: body });
494
+ } else {
495
+ reject(new HttpError(response, body, response.statusCode));
496
+ }
497
+ }
498
+ });
499
+ });
500
+ });
501
+ }
502
+ /**
503
+ *
504
+ * @summary Count opt in source subscribers
505
+ * @param sourceID
506
+ * @param isSubscribed
507
+ * @param isPendingAge21Verification
508
+ * @param isArchiveIncluded
509
+ * @param startDate
510
+ * @param endDate
511
+ */
512
+ public async countOptInSourceSubscribers (sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
513
+ const localVarPath = this.basePath + '/v2/sms/optInSource/subscribers/count/{sourceID}'
514
+ .replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
515
+ let localVarQueryParameters: any = {};
516
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
517
+ const produces = ['application/json'];
518
+ // give precedence to 'application/json'
519
+ if (produces.indexOf('application/json') >= 0) {
520
+ localVarHeaderParams.Accept = 'application/json';
521
+ } else {
522
+ localVarHeaderParams.Accept = produces.join(',');
523
+ }
524
+ let localVarFormParams: any = {};
525
+
526
+ // verify required parameter 'sourceID' is not null or undefined
527
+ if (sourceID === null || sourceID === undefined) {
528
+ throw new Error('Required parameter sourceID was null or undefined when calling countOptInSourceSubscribers.');
529
+ }
530
+
531
+ if (isSubscribed !== undefined) {
532
+ localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
533
+ }
534
+
535
+ if (isPendingAge21Verification !== undefined) {
536
+ localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
537
+ }
538
+
539
+ if (isArchiveIncluded !== undefined) {
540
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
541
+ }
542
+
543
+ if (startDate !== undefined) {
544
+ localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
545
+ }
546
+
547
+ if (endDate !== undefined) {
548
+ localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
549
+ }
550
+
551
+ (<any>Object).assign(localVarHeaderParams, options.headers);
552
+
553
+ let localVarUseFormData = false;
554
+
555
+ let localVarRequestOptions: localVarRequest.Options = {
556
+ method: 'GET',
557
+ qs: localVarQueryParameters,
558
+ headers: localVarHeaderParams,
559
+ uri: localVarPath,
560
+ useQuerystring: this._useQuerystring,
561
+ json: true,
562
+ };
563
+
564
+ let authenticationPromise = Promise.resolve();
565
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
566
+
567
+ let interceptorPromise = authenticationPromise;
568
+ for (const interceptor of this.interceptors) {
569
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
570
+ }
571
+
572
+ return interceptorPromise.then(() => {
573
+ if (Object.keys(localVarFormParams).length) {
574
+ if (localVarUseFormData) {
575
+ (<any>localVarRequestOptions).formData = localVarFormParams;
576
+ } else {
577
+ localVarRequestOptions.form = localVarFormParams;
578
+ }
579
+ }
580
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
581
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
582
+ if (error) {
583
+ reject(error);
584
+ } else {
585
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
586
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
587
+ resolve({ response: response, body: body });
588
+ } else {
589
+ reject(new HttpError(response, body, response.statusCode));
590
+ }
591
+ }
592
+ });
593
+ });
594
+ });
595
+ }
596
+ /**
597
+ *
598
+ * @summary Count outbound SMS
599
+ * @param phoneNumberID
600
+ * @param toPhoneNumber
601
+ * @param status
602
+ * @param paymentObjectBroadcastID
603
+ */
604
+ public async countOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
605
+ const localVarPath = this.basePath + '/v2/sms/outbound/count/{phoneNumberID}'
606
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
607
+ let localVarQueryParameters: any = {};
608
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
609
+ const produces = ['application/json'];
610
+ // give precedence to 'application/json'
611
+ if (produces.indexOf('application/json') >= 0) {
612
+ localVarHeaderParams.Accept = 'application/json';
613
+ } else {
614
+ localVarHeaderParams.Accept = produces.join(',');
615
+ }
616
+ let localVarFormParams: any = {};
617
+
618
+ // verify required parameter 'phoneNumberID' is not null or undefined
619
+ if (phoneNumberID === null || phoneNumberID === undefined) {
620
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling countOutboundSMS.');
621
+ }
622
+
623
+ if (toPhoneNumber !== undefined) {
624
+ localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
625
+ }
626
+
627
+ if (status !== undefined) {
628
+ localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "string");
629
+ }
630
+
631
+ if (paymentObjectBroadcastID !== undefined) {
632
+ localVarQueryParameters['paymentObjectBroadcastID'] = ObjectSerializer.serialize(paymentObjectBroadcastID, "string");
633
+ }
634
+
635
+ (<any>Object).assign(localVarHeaderParams, options.headers);
636
+
637
+ let localVarUseFormData = false;
638
+
639
+ let localVarRequestOptions: localVarRequest.Options = {
640
+ method: 'GET',
641
+ qs: localVarQueryParameters,
642
+ headers: localVarHeaderParams,
643
+ uri: localVarPath,
644
+ useQuerystring: this._useQuerystring,
645
+ json: true,
646
+ };
647
+
648
+ let authenticationPromise = Promise.resolve();
649
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
650
+
651
+ let interceptorPromise = authenticationPromise;
652
+ for (const interceptor of this.interceptors) {
653
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
654
+ }
655
+
656
+ return interceptorPromise.then(() => {
657
+ if (Object.keys(localVarFormParams).length) {
658
+ if (localVarUseFormData) {
659
+ (<any>localVarRequestOptions).formData = localVarFormParams;
660
+ } else {
661
+ localVarRequestOptions.form = localVarFormParams;
662
+ }
663
+ }
664
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
665
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
666
+ if (error) {
667
+ reject(error);
668
+ } else {
669
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
670
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
671
+ resolve({ response: response, body: body });
672
+ } else {
673
+ reject(new HttpError(response, body, response.statusCode));
674
+ }
675
+ }
676
+ });
677
+ });
678
+ });
679
+ }
680
+ /**
681
+ *
682
+ * @summary Create imported list
683
+ * @param wTSMSImportedListCreate
684
+ */
685
+ public async createImportedList (wTSMSImportedListCreate: WTSMSImportedListCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedList; }> {
686
+ const localVarPath = this.basePath + '/v2/sms/importedList';
687
+ let localVarQueryParameters: any = {};
688
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
689
+ const produces = ['application/json'];
690
+ // give precedence to 'application/json'
691
+ if (produces.indexOf('application/json') >= 0) {
692
+ localVarHeaderParams.Accept = 'application/json';
693
+ } else {
694
+ localVarHeaderParams.Accept = produces.join(',');
695
+ }
696
+ let localVarFormParams: any = {};
697
+
698
+ // verify required parameter 'wTSMSImportedListCreate' is not null or undefined
699
+ if (wTSMSImportedListCreate === null || wTSMSImportedListCreate === undefined) {
700
+ throw new Error('Required parameter wTSMSImportedListCreate was null or undefined when calling createImportedList.');
701
+ }
702
+
703
+ (<any>Object).assign(localVarHeaderParams, options.headers);
704
+
705
+ let localVarUseFormData = false;
706
+
707
+ let localVarRequestOptions: localVarRequest.Options = {
708
+ method: 'POST',
709
+ qs: localVarQueryParameters,
710
+ headers: localVarHeaderParams,
711
+ uri: localVarPath,
712
+ useQuerystring: this._useQuerystring,
713
+ json: true,
714
+ body: ObjectSerializer.serialize(wTSMSImportedListCreate, "WTSMSImportedListCreate")
715
+ };
716
+
717
+ let authenticationPromise = Promise.resolve();
718
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
719
+
720
+ let interceptorPromise = authenticationPromise;
721
+ for (const interceptor of this.interceptors) {
722
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
723
+ }
724
+
725
+ return interceptorPromise.then(() => {
726
+ if (Object.keys(localVarFormParams).length) {
727
+ if (localVarUseFormData) {
728
+ (<any>localVarRequestOptions).formData = localVarFormParams;
729
+ } else {
730
+ localVarRequestOptions.form = localVarFormParams;
731
+ }
732
+ }
733
+ return new Promise<{ response: http.IncomingMessage; body: ImportedList; }>((resolve, reject) => {
734
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
735
+ if (error) {
736
+ reject(error);
737
+ } else {
738
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
739
+ body = ObjectSerializer.deserialize(body, "ImportedList");
740
+ resolve({ response: response, body: body });
741
+ } else {
742
+ reject(new HttpError(response, body, response.statusCode));
743
+ }
744
+ }
745
+ });
746
+ });
747
+ });
748
+ }
749
+ /**
750
+ *
751
+ * @summary Create opt in list
752
+ * @param wTOptInListCreationParams
753
+ */
754
+ public async createOptInList (wTOptInListCreationParams: WTOptInListCreationParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInList; }> {
755
+ const localVarPath = this.basePath + '/v2/sms/optInList';
756
+ let localVarQueryParameters: any = {};
757
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
758
+ const produces = ['application/json'];
759
+ // give precedence to 'application/json'
760
+ if (produces.indexOf('application/json') >= 0) {
761
+ localVarHeaderParams.Accept = 'application/json';
762
+ } else {
763
+ localVarHeaderParams.Accept = produces.join(',');
764
+ }
765
+ let localVarFormParams: any = {};
766
+
767
+ // verify required parameter 'wTOptInListCreationParams' is not null or undefined
768
+ if (wTOptInListCreationParams === null || wTOptInListCreationParams === undefined) {
769
+ throw new Error('Required parameter wTOptInListCreationParams was null or undefined when calling createOptInList.');
770
+ }
771
+
772
+ (<any>Object).assign(localVarHeaderParams, options.headers);
773
+
774
+ let localVarUseFormData = false;
775
+
776
+ let localVarRequestOptions: localVarRequest.Options = {
777
+ method: 'POST',
778
+ qs: localVarQueryParameters,
779
+ headers: localVarHeaderParams,
780
+ uri: localVarPath,
781
+ useQuerystring: this._useQuerystring,
782
+ json: true,
783
+ body: ObjectSerializer.serialize(wTOptInListCreationParams, "WTOptInListCreationParams")
784
+ };
785
+
786
+ let authenticationPromise = Promise.resolve();
787
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
788
+
789
+ let interceptorPromise = authenticationPromise;
790
+ for (const interceptor of this.interceptors) {
791
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
792
+ }
793
+
794
+ return interceptorPromise.then(() => {
795
+ if (Object.keys(localVarFormParams).length) {
796
+ if (localVarUseFormData) {
797
+ (<any>localVarRequestOptions).formData = localVarFormParams;
798
+ } else {
799
+ localVarRequestOptions.form = localVarFormParams;
800
+ }
801
+ }
802
+ return new Promise<{ response: http.IncomingMessage; body: OptInList; }>((resolve, reject) => {
803
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
804
+ if (error) {
805
+ reject(error);
806
+ } else {
807
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
808
+ body = ObjectSerializer.deserialize(body, "OptInList");
809
+ resolve({ response: response, body: body });
810
+ } else {
811
+ reject(new HttpError(response, body, response.statusCode));
812
+ }
813
+ }
814
+ });
815
+ });
816
+ });
817
+ }
818
+ /**
819
+ *
820
+ * @summary Send SMS to opt in list
821
+ * @param wTSMSOptInListSourceCreate
822
+ */
823
+ public async createOptInListSource (wTSMSOptInListSourceCreate: WTSMSOptInListSourceCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInListSource; }> {
824
+ const localVarPath = this.basePath + '/v2/sms/optInListSource';
825
+ let localVarQueryParameters: any = {};
826
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
827
+ const produces = ['application/json'];
828
+ // give precedence to 'application/json'
829
+ if (produces.indexOf('application/json') >= 0) {
830
+ localVarHeaderParams.Accept = 'application/json';
831
+ } else {
832
+ localVarHeaderParams.Accept = produces.join(',');
833
+ }
834
+ let localVarFormParams: any = {};
835
+
836
+ // verify required parameter 'wTSMSOptInListSourceCreate' is not null or undefined
837
+ if (wTSMSOptInListSourceCreate === null || wTSMSOptInListSourceCreate === undefined) {
838
+ throw new Error('Required parameter wTSMSOptInListSourceCreate was null or undefined when calling createOptInListSource.');
839
+ }
840
+
841
+ (<any>Object).assign(localVarHeaderParams, options.headers);
842
+
843
+ let localVarUseFormData = false;
844
+
845
+ let localVarRequestOptions: localVarRequest.Options = {
846
+ method: 'POST',
847
+ qs: localVarQueryParameters,
848
+ headers: localVarHeaderParams,
849
+ uri: localVarPath,
850
+ useQuerystring: this._useQuerystring,
851
+ json: true,
852
+ body: ObjectSerializer.serialize(wTSMSOptInListSourceCreate, "WTSMSOptInListSourceCreate")
853
+ };
854
+
855
+ let authenticationPromise = Promise.resolve();
856
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
857
+
858
+ let interceptorPromise = authenticationPromise;
859
+ for (const interceptor of this.interceptors) {
860
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
861
+ }
862
+
863
+ return interceptorPromise.then(() => {
864
+ if (Object.keys(localVarFormParams).length) {
865
+ if (localVarUseFormData) {
866
+ (<any>localVarRequestOptions).formData = localVarFormParams;
867
+ } else {
868
+ localVarRequestOptions.form = localVarFormParams;
869
+ }
870
+ }
871
+ return new Promise<{ response: http.IncomingMessage; body: OptInListSource; }>((resolve, reject) => {
872
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
873
+ if (error) {
874
+ reject(error);
875
+ } else {
876
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
877
+ body = ObjectSerializer.deserialize(body, "OptInListSource");
878
+ resolve({ response: response, body: body });
879
+ } else {
880
+ reject(new HttpError(response, body, response.statusCode));
881
+ }
882
+ }
883
+ });
884
+ });
885
+ });
886
+ }
887
+ /**
888
+ *
889
+ * @summary Add new recipient in an imported list
890
+ * @param sSImportedListRecipientCreateParams
891
+ */
892
+ public async createRecipientInImportedList (sSImportedListRecipientCreateParams: SSImportedListRecipientCreateParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }> {
893
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/create';
894
+ let localVarQueryParameters: any = {};
895
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
896
+ const produces = ['application/json'];
897
+ // give precedence to 'application/json'
898
+ if (produces.indexOf('application/json') >= 0) {
899
+ localVarHeaderParams.Accept = 'application/json';
900
+ } else {
901
+ localVarHeaderParams.Accept = produces.join(',');
902
+ }
903
+ let localVarFormParams: any = {};
904
+
905
+ // verify required parameter 'sSImportedListRecipientCreateParams' is not null or undefined
906
+ if (sSImportedListRecipientCreateParams === null || sSImportedListRecipientCreateParams === undefined) {
907
+ throw new Error('Required parameter sSImportedListRecipientCreateParams was null or undefined when calling createRecipientInImportedList.');
908
+ }
909
+
910
+ (<any>Object).assign(localVarHeaderParams, options.headers);
911
+
912
+ let localVarUseFormData = false;
913
+
914
+ let localVarRequestOptions: localVarRequest.Options = {
915
+ method: 'POST',
916
+ qs: localVarQueryParameters,
917
+ headers: localVarHeaderParams,
918
+ uri: localVarPath,
919
+ useQuerystring: this._useQuerystring,
920
+ json: true,
921
+ body: ObjectSerializer.serialize(sSImportedListRecipientCreateParams, "SSImportedListRecipientCreateParams")
922
+ };
923
+
924
+ let authenticationPromise = Promise.resolve();
925
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
926
+
927
+ let interceptorPromise = authenticationPromise;
928
+ for (const interceptor of this.interceptors) {
929
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
930
+ }
931
+
932
+ return interceptorPromise.then(() => {
933
+ if (Object.keys(localVarFormParams).length) {
934
+ if (localVarUseFormData) {
935
+ (<any>localVarRequestOptions).formData = localVarFormParams;
936
+ } else {
937
+ localVarRequestOptions.form = localVarFormParams;
938
+ }
939
+ }
940
+ return new Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }>((resolve, reject) => {
941
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
942
+ if (error) {
943
+ reject(error);
944
+ } else {
945
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
946
+ body = ObjectSerializer.deserialize(body, "ImportedListRecipient");
947
+ resolve({ response: response, body: body });
948
+ } else {
949
+ reject(new HttpError(response, body, response.statusCode));
950
+ }
951
+ }
952
+ });
953
+ });
954
+ });
955
+ }
956
+ /**
957
+ *
958
+ * @summary Export imported list recipients
959
+ * @param importedListID
960
+ */
961
+ public async exportImportedListRecipients (importedListID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
962
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/export/{importedListID}'
963
+ .replace('{' + 'importedListID' + '}', encodeURIComponent(String(importedListID)));
964
+ let localVarQueryParameters: any = {};
965
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
966
+ const produces = ['application/json'];
967
+ // give precedence to 'application/json'
968
+ if (produces.indexOf('application/json') >= 0) {
969
+ localVarHeaderParams.Accept = 'application/json';
970
+ } else {
971
+ localVarHeaderParams.Accept = produces.join(',');
972
+ }
973
+ let localVarFormParams: any = {};
974
+
975
+ // verify required parameter 'importedListID' is not null or undefined
976
+ if (importedListID === null || importedListID === undefined) {
977
+ throw new Error('Required parameter importedListID was null or undefined when calling exportImportedListRecipients.');
978
+ }
979
+
980
+ (<any>Object).assign(localVarHeaderParams, options.headers);
981
+
982
+ let localVarUseFormData = false;
983
+
984
+ let localVarRequestOptions: localVarRequest.Options = {
985
+ method: 'POST',
986
+ qs: localVarQueryParameters,
987
+ headers: localVarHeaderParams,
988
+ uri: localVarPath,
989
+ useQuerystring: this._useQuerystring,
990
+ json: true,
991
+ };
992
+
993
+ let authenticationPromise = Promise.resolve();
994
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
995
+
996
+ let interceptorPromise = authenticationPromise;
997
+ for (const interceptor of this.interceptors) {
998
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
999
+ }
1000
+
1001
+ return interceptorPromise.then(() => {
1002
+ if (Object.keys(localVarFormParams).length) {
1003
+ if (localVarUseFormData) {
1004
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1005
+ } else {
1006
+ localVarRequestOptions.form = localVarFormParams;
1007
+ }
1008
+ }
1009
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
1010
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1011
+ if (error) {
1012
+ reject(error);
1013
+ } else {
1014
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1015
+ body = ObjectSerializer.deserialize(body, "string");
1016
+ resolve({ response: response, body: body });
1017
+ } else {
1018
+ reject(new HttpError(response, body, response.statusCode));
1019
+ }
1020
+ }
1021
+ });
1022
+ });
1023
+ });
1024
+ }
1025
+ /**
1026
+ *
1027
+ * @summary Export opt in list subscribers
1028
+ * @param listID
1029
+ */
1030
+ public async exportOptInListSubscribers (listID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
1031
+ const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/export/{listID}'
1032
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
1033
+ let localVarQueryParameters: any = {};
1034
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1035
+ const produces = ['application/json'];
1036
+ // give precedence to 'application/json'
1037
+ if (produces.indexOf('application/json') >= 0) {
1038
+ localVarHeaderParams.Accept = 'application/json';
1039
+ } else {
1040
+ localVarHeaderParams.Accept = produces.join(',');
1041
+ }
1042
+ let localVarFormParams: any = {};
1043
+
1044
+ // verify required parameter 'listID' is not null or undefined
1045
+ if (listID === null || listID === undefined) {
1046
+ throw new Error('Required parameter listID was null or undefined when calling exportOptInListSubscribers.');
1047
+ }
1048
+
1049
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1050
+
1051
+ let localVarUseFormData = false;
1052
+
1053
+ let localVarRequestOptions: localVarRequest.Options = {
1054
+ method: 'POST',
1055
+ qs: localVarQueryParameters,
1056
+ headers: localVarHeaderParams,
1057
+ uri: localVarPath,
1058
+ useQuerystring: this._useQuerystring,
1059
+ json: true,
1060
+ };
1061
+
1062
+ let authenticationPromise = Promise.resolve();
1063
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1064
+
1065
+ let interceptorPromise = authenticationPromise;
1066
+ for (const interceptor of this.interceptors) {
1067
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1068
+ }
1069
+
1070
+ return interceptorPromise.then(() => {
1071
+ if (Object.keys(localVarFormParams).length) {
1072
+ if (localVarUseFormData) {
1073
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1074
+ } else {
1075
+ localVarRequestOptions.form = localVarFormParams;
1076
+ }
1077
+ }
1078
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
1079
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1080
+ if (error) {
1081
+ reject(error);
1082
+ } else {
1083
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1084
+ body = ObjectSerializer.deserialize(body, "string");
1085
+ resolve({ response: response, body: body });
1086
+ } else {
1087
+ reject(new HttpError(response, body, response.statusCode));
1088
+ }
1089
+ }
1090
+ });
1091
+ });
1092
+ });
1093
+ }
1094
+ /**
1095
+ *
1096
+ * @summary Fetch blocked TCPA entries
1097
+ * @param phoneNumberID
1098
+ */
1099
+ public async fetchBlockedTCPAEntries (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<Tcpa>; }> {
1100
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/blocked/{phoneNumberID}'
1101
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1102
+ let localVarQueryParameters: any = {};
1103
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1104
+ const produces = ['application/json'];
1105
+ // give precedence to 'application/json'
1106
+ if (produces.indexOf('application/json') >= 0) {
1107
+ localVarHeaderParams.Accept = 'application/json';
1108
+ } else {
1109
+ localVarHeaderParams.Accept = produces.join(',');
1110
+ }
1111
+ let localVarFormParams: any = {};
1112
+
1113
+ // verify required parameter 'phoneNumberID' is not null or undefined
1114
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1115
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchBlockedTCPAEntries.');
1116
+ }
1117
+
1118
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1119
+
1120
+ let localVarUseFormData = false;
1121
+
1122
+ let localVarRequestOptions: localVarRequest.Options = {
1123
+ method: 'GET',
1124
+ qs: localVarQueryParameters,
1125
+ headers: localVarHeaderParams,
1126
+ uri: localVarPath,
1127
+ useQuerystring: this._useQuerystring,
1128
+ json: true,
1129
+ };
1130
+
1131
+ let authenticationPromise = Promise.resolve();
1132
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1133
+
1134
+ let interceptorPromise = authenticationPromise;
1135
+ for (const interceptor of this.interceptors) {
1136
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1137
+ }
1138
+
1139
+ return interceptorPromise.then(() => {
1140
+ if (Object.keys(localVarFormParams).length) {
1141
+ if (localVarUseFormData) {
1142
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1143
+ } else {
1144
+ localVarRequestOptions.form = localVarFormParams;
1145
+ }
1146
+ }
1147
+ return new Promise<{ response: http.IncomingMessage; body: Array<Tcpa>; }>((resolve, reject) => {
1148
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1149
+ if (error) {
1150
+ reject(error);
1151
+ } else {
1152
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1153
+ body = ObjectSerializer.deserialize(body, "Array<Tcpa>");
1154
+ resolve({ response: response, body: body });
1155
+ } else {
1156
+ reject(new HttpError(response, body, response.statusCode));
1157
+ }
1158
+ }
1159
+ });
1160
+ });
1161
+ });
1162
+ }
1163
+ /**
1164
+ *
1165
+ * @summary Fetch imported list recipients
1166
+ * @param listID
1167
+ */
1168
+ public async fetchImportedListRecipients (listID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<ImportedListRecipient>; }> {
1169
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/{listID}'
1170
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
1171
+ let localVarQueryParameters: any = {};
1172
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1173
+ const produces = ['application/json'];
1174
+ // give precedence to 'application/json'
1175
+ if (produces.indexOf('application/json') >= 0) {
1176
+ localVarHeaderParams.Accept = 'application/json';
1177
+ } else {
1178
+ localVarHeaderParams.Accept = produces.join(',');
1179
+ }
1180
+ let localVarFormParams: any = {};
1181
+
1182
+ // verify required parameter 'listID' is not null or undefined
1183
+ if (listID === null || listID === undefined) {
1184
+ throw new Error('Required parameter listID was null or undefined when calling fetchImportedListRecipients.');
1185
+ }
1186
+
1187
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1188
+
1189
+ let localVarUseFormData = false;
1190
+
1191
+ let localVarRequestOptions: localVarRequest.Options = {
1192
+ method: 'GET',
1193
+ qs: localVarQueryParameters,
1194
+ headers: localVarHeaderParams,
1195
+ uri: localVarPath,
1196
+ useQuerystring: this._useQuerystring,
1197
+ json: true,
1198
+ };
1199
+
1200
+ let authenticationPromise = Promise.resolve();
1201
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1202
+
1203
+ let interceptorPromise = authenticationPromise;
1204
+ for (const interceptor of this.interceptors) {
1205
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1206
+ }
1207
+
1208
+ return interceptorPromise.then(() => {
1209
+ if (Object.keys(localVarFormParams).length) {
1210
+ if (localVarUseFormData) {
1211
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1212
+ } else {
1213
+ localVarRequestOptions.form = localVarFormParams;
1214
+ }
1215
+ }
1216
+ return new Promise<{ response: http.IncomingMessage; body: Array<ImportedListRecipient>; }>((resolve, reject) => {
1217
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1218
+ if (error) {
1219
+ reject(error);
1220
+ } else {
1221
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1222
+ body = ObjectSerializer.deserialize(body, "Array<ImportedListRecipient>");
1223
+ resolve({ response: response, body: body });
1224
+ } else {
1225
+ reject(new HttpError(response, body, response.statusCode));
1226
+ }
1227
+ }
1228
+ });
1229
+ });
1230
+ });
1231
+ }
1232
+ /**
1233
+ *
1234
+ * @summary Fetch imported list recipients by page
1235
+ * @param listID
1236
+ * @param pageSize
1237
+ * @param pageNum
1238
+ * @param isArchiveIncluded
1239
+ */
1240
+ public async fetchImportedListRecipientsByPage (listID: string, pageSize?: number, pageNum?: number, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: FetchImportedListRecipientsByPage200Response; }> {
1241
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/page/{listID}'
1242
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
1243
+ let localVarQueryParameters: any = {};
1244
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1245
+ const produces = ['application/json'];
1246
+ // give precedence to 'application/json'
1247
+ if (produces.indexOf('application/json') >= 0) {
1248
+ localVarHeaderParams.Accept = 'application/json';
1249
+ } else {
1250
+ localVarHeaderParams.Accept = produces.join(',');
1251
+ }
1252
+ let localVarFormParams: any = {};
1253
+
1254
+ // verify required parameter 'listID' is not null or undefined
1255
+ if (listID === null || listID === undefined) {
1256
+ throw new Error('Required parameter listID was null or undefined when calling fetchImportedListRecipientsByPage.');
1257
+ }
1258
+
1259
+ if (pageSize !== undefined) {
1260
+ localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
1261
+ }
1262
+
1263
+ if (pageNum !== undefined) {
1264
+ localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
1265
+ }
1266
+
1267
+ if (isArchiveIncluded !== undefined) {
1268
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1269
+ }
1270
+
1271
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1272
+
1273
+ let localVarUseFormData = false;
1274
+
1275
+ let localVarRequestOptions: localVarRequest.Options = {
1276
+ method: 'GET',
1277
+ qs: localVarQueryParameters,
1278
+ headers: localVarHeaderParams,
1279
+ uri: localVarPath,
1280
+ useQuerystring: this._useQuerystring,
1281
+ json: true,
1282
+ };
1283
+
1284
+ let authenticationPromise = Promise.resolve();
1285
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1286
+
1287
+ let interceptorPromise = authenticationPromise;
1288
+ for (const interceptor of this.interceptors) {
1289
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1290
+ }
1291
+
1292
+ return interceptorPromise.then(() => {
1293
+ if (Object.keys(localVarFormParams).length) {
1294
+ if (localVarUseFormData) {
1295
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1296
+ } else {
1297
+ localVarRequestOptions.form = localVarFormParams;
1298
+ }
1299
+ }
1300
+ return new Promise<{ response: http.IncomingMessage; body: FetchImportedListRecipientsByPage200Response; }>((resolve, reject) => {
1301
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1302
+ if (error) {
1303
+ reject(error);
1304
+ } else {
1305
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1306
+ body = ObjectSerializer.deserialize(body, "FetchImportedListRecipientsByPage200Response");
1307
+ resolve({ response: response, body: body });
1308
+ } else {
1309
+ reject(new HttpError(response, body, response.statusCode));
1310
+ }
1311
+ }
1312
+ });
1313
+ });
1314
+ });
1315
+ }
1316
+ /**
1317
+ *
1318
+ * @summary Fetch all opt in list sources
1319
+ * @param isArchiveIncluded
1320
+ */
1321
+ public async fetchOptInListSources (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1322
+ const localVarPath = this.basePath + '/v2/sms/optInListSources/all';
1323
+ let localVarQueryParameters: any = {};
1324
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1325
+ const produces = ['application/json'];
1326
+ // give precedence to 'application/json'
1327
+ if (produces.indexOf('application/json') >= 0) {
1328
+ localVarHeaderParams.Accept = 'application/json';
1329
+ } else {
1330
+ localVarHeaderParams.Accept = produces.join(',');
1331
+ }
1332
+ let localVarFormParams: any = {};
1333
+
1334
+ if (isArchiveIncluded !== undefined) {
1335
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1336
+ }
1337
+
1338
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1339
+
1340
+ let localVarUseFormData = false;
1341
+
1342
+ let localVarRequestOptions: localVarRequest.Options = {
1343
+ method: 'GET',
1344
+ qs: localVarQueryParameters,
1345
+ headers: localVarHeaderParams,
1346
+ uri: localVarPath,
1347
+ useQuerystring: this._useQuerystring,
1348
+ json: true,
1349
+ };
1350
+
1351
+ let authenticationPromise = Promise.resolve();
1352
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1353
+
1354
+ let interceptorPromise = authenticationPromise;
1355
+ for (const interceptor of this.interceptors) {
1356
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1357
+ }
1358
+
1359
+ return interceptorPromise.then(() => {
1360
+ if (Object.keys(localVarFormParams).length) {
1361
+ if (localVarUseFormData) {
1362
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1363
+ } else {
1364
+ localVarRequestOptions.form = localVarFormParams;
1365
+ }
1366
+ }
1367
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1368
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1369
+ if (error) {
1370
+ reject(error);
1371
+ } else {
1372
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1373
+ body = ObjectSerializer.deserialize(body, "any");
1374
+ resolve({ response: response, body: body });
1375
+ } else {
1376
+ reject(new HttpError(response, body, response.statusCode));
1377
+ }
1378
+ }
1379
+ });
1380
+ });
1381
+ });
1382
+ }
1383
+ /**
1384
+ *
1385
+ * @summary Fetch opt in list subscribers
1386
+ * @param listID
1387
+ * @param isSubscribed
1388
+ * @param isPendingAge21Verification
1389
+ * @param isArchiveIncluded
1390
+ */
1391
+ public async fetchOptInListSubscribers (listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }> {
1392
+ const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/{listID}'
1393
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
1394
+ let localVarQueryParameters: any = {};
1395
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1396
+ const produces = ['application/json'];
1397
+ // give precedence to 'application/json'
1398
+ if (produces.indexOf('application/json') >= 0) {
1399
+ localVarHeaderParams.Accept = 'application/json';
1400
+ } else {
1401
+ localVarHeaderParams.Accept = produces.join(',');
1402
+ }
1403
+ let localVarFormParams: any = {};
1404
+
1405
+ // verify required parameter 'listID' is not null or undefined
1406
+ if (listID === null || listID === undefined) {
1407
+ throw new Error('Required parameter listID was null or undefined when calling fetchOptInListSubscribers.');
1408
+ }
1409
+
1410
+ if (isSubscribed !== undefined) {
1411
+ localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
1412
+ }
1413
+
1414
+ if (isPendingAge21Verification !== undefined) {
1415
+ localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
1416
+ }
1417
+
1418
+ if (isArchiveIncluded !== undefined) {
1419
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1420
+ }
1421
+
1422
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1423
+
1424
+ let localVarUseFormData = false;
1425
+
1426
+ let localVarRequestOptions: localVarRequest.Options = {
1427
+ method: 'GET',
1428
+ qs: localVarQueryParameters,
1429
+ headers: localVarHeaderParams,
1430
+ uri: localVarPath,
1431
+ useQuerystring: this._useQuerystring,
1432
+ json: true,
1433
+ };
1434
+
1435
+ let authenticationPromise = Promise.resolve();
1436
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1437
+
1438
+ let interceptorPromise = authenticationPromise;
1439
+ for (const interceptor of this.interceptors) {
1440
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1441
+ }
1442
+
1443
+ return interceptorPromise.then(() => {
1444
+ if (Object.keys(localVarFormParams).length) {
1445
+ if (localVarUseFormData) {
1446
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1447
+ } else {
1448
+ localVarRequestOptions.form = localVarFormParams;
1449
+ }
1450
+ }
1451
+ return new Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }>((resolve, reject) => {
1452
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1453
+ if (error) {
1454
+ reject(error);
1455
+ } else {
1456
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1457
+ body = ObjectSerializer.deserialize(body, "Array<OptInListSubscriber>");
1458
+ resolve({ response: response, body: body });
1459
+ } else {
1460
+ reject(new HttpError(response, body, response.statusCode));
1461
+ }
1462
+ }
1463
+ });
1464
+ });
1465
+ });
1466
+ }
1467
+ /**
1468
+ *
1469
+ * @summary Fetch opt in list subscribers by page
1470
+ * @param listID
1471
+ * @param pageSize
1472
+ * @param pageNum
1473
+ * @param isSubscribed
1474
+ * @param isPendingAge21Verification
1475
+ * @param isArchiveIncluded
1476
+ */
1477
+ public async fetchOptInListSubscribersByPage (listID: string, pageSize?: number, pageNum?: number, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: FetchOptInListSubscribersByPage200Response; }> {
1478
+ const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/page/{listID}'
1479
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
1480
+ let localVarQueryParameters: any = {};
1481
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1482
+ const produces = ['application/json'];
1483
+ // give precedence to 'application/json'
1484
+ if (produces.indexOf('application/json') >= 0) {
1485
+ localVarHeaderParams.Accept = 'application/json';
1486
+ } else {
1487
+ localVarHeaderParams.Accept = produces.join(',');
1488
+ }
1489
+ let localVarFormParams: any = {};
1490
+
1491
+ // verify required parameter 'listID' is not null or undefined
1492
+ if (listID === null || listID === undefined) {
1493
+ throw new Error('Required parameter listID was null or undefined when calling fetchOptInListSubscribersByPage.');
1494
+ }
1495
+
1496
+ if (pageSize !== undefined) {
1497
+ localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
1498
+ }
1499
+
1500
+ if (pageNum !== undefined) {
1501
+ localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
1502
+ }
1503
+
1504
+ if (isSubscribed !== undefined) {
1505
+ localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
1506
+ }
1507
+
1508
+ if (isPendingAge21Verification !== undefined) {
1509
+ localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
1510
+ }
1511
+
1512
+ if (isArchiveIncluded !== undefined) {
1513
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1514
+ }
1515
+
1516
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1517
+
1518
+ let localVarUseFormData = false;
1519
+
1520
+ let localVarRequestOptions: localVarRequest.Options = {
1521
+ method: 'GET',
1522
+ qs: localVarQueryParameters,
1523
+ headers: localVarHeaderParams,
1524
+ uri: localVarPath,
1525
+ useQuerystring: this._useQuerystring,
1526
+ json: true,
1527
+ };
1528
+
1529
+ let authenticationPromise = Promise.resolve();
1530
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1531
+
1532
+ let interceptorPromise = authenticationPromise;
1533
+ for (const interceptor of this.interceptors) {
1534
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1535
+ }
1536
+
1537
+ return interceptorPromise.then(() => {
1538
+ if (Object.keys(localVarFormParams).length) {
1539
+ if (localVarUseFormData) {
1540
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1541
+ } else {
1542
+ localVarRequestOptions.form = localVarFormParams;
1543
+ }
1544
+ }
1545
+ return new Promise<{ response: http.IncomingMessage; body: FetchOptInListSubscribersByPage200Response; }>((resolve, reject) => {
1546
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1547
+ if (error) {
1548
+ reject(error);
1549
+ } else {
1550
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1551
+ body = ObjectSerializer.deserialize(body, "FetchOptInListSubscribersByPage200Response");
1552
+ resolve({ response: response, body: body });
1553
+ } else {
1554
+ reject(new HttpError(response, body, response.statusCode));
1555
+ }
1556
+ }
1557
+ });
1558
+ });
1559
+ });
1560
+ }
1561
+ /**
1562
+ *
1563
+ * @summary Fetch opt in lists
1564
+ * @param phoneNumberID
1565
+ */
1566
+ public async fetchOptInListsAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInList>; }> {
1567
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/lists/{phoneNumberID}'
1568
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1569
+ let localVarQueryParameters: any = {};
1570
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1571
+ const produces = ['application/json'];
1572
+ // give precedence to 'application/json'
1573
+ if (produces.indexOf('application/json') >= 0) {
1574
+ localVarHeaderParams.Accept = 'application/json';
1575
+ } else {
1576
+ localVarHeaderParams.Accept = produces.join(',');
1577
+ }
1578
+ let localVarFormParams: any = {};
1579
+
1580
+ // verify required parameter 'phoneNumberID' is not null or undefined
1581
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1582
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchOptInListsAssociatedWithPhoneNumber.');
1583
+ }
1584
+
1585
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1586
+
1587
+ let localVarUseFormData = false;
1588
+
1589
+ let localVarRequestOptions: localVarRequest.Options = {
1590
+ method: 'GET',
1591
+ qs: localVarQueryParameters,
1592
+ headers: localVarHeaderParams,
1593
+ uri: localVarPath,
1594
+ useQuerystring: this._useQuerystring,
1595
+ json: true,
1596
+ };
1597
+
1598
+ let authenticationPromise = Promise.resolve();
1599
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1600
+
1601
+ let interceptorPromise = authenticationPromise;
1602
+ for (const interceptor of this.interceptors) {
1603
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1604
+ }
1605
+
1606
+ return interceptorPromise.then(() => {
1607
+ if (Object.keys(localVarFormParams).length) {
1608
+ if (localVarUseFormData) {
1609
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1610
+ } else {
1611
+ localVarRequestOptions.form = localVarFormParams;
1612
+ }
1613
+ }
1614
+ return new Promise<{ response: http.IncomingMessage; body: Array<OptInList>; }>((resolve, reject) => {
1615
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1616
+ if (error) {
1617
+ reject(error);
1618
+ } else {
1619
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1620
+ body = ObjectSerializer.deserialize(body, "Array<OptInList>");
1621
+ resolve({ response: response, body: body });
1622
+ } else {
1623
+ reject(new HttpError(response, body, response.statusCode));
1624
+ }
1625
+ }
1626
+ });
1627
+ });
1628
+ });
1629
+ }
1630
+ /**
1631
+ *
1632
+ * @summary Fetch opt in source subscribers
1633
+ * @param sourceID
1634
+ * @param isSubscribed
1635
+ * @param isPendingAge21Verification
1636
+ * @param isArchiveIncluded
1637
+ */
1638
+ public async fetchOptInSourceSubscribers (sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }> {
1639
+ const localVarPath = this.basePath + '/v2/sms/optInSource/subscribers/{sourceID}'
1640
+ .replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
1641
+ let localVarQueryParameters: any = {};
1642
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1643
+ const produces = ['application/json'];
1644
+ // give precedence to 'application/json'
1645
+ if (produces.indexOf('application/json') >= 0) {
1646
+ localVarHeaderParams.Accept = 'application/json';
1647
+ } else {
1648
+ localVarHeaderParams.Accept = produces.join(',');
1649
+ }
1650
+ let localVarFormParams: any = {};
1651
+
1652
+ // verify required parameter 'sourceID' is not null or undefined
1653
+ if (sourceID === null || sourceID === undefined) {
1654
+ throw new Error('Required parameter sourceID was null or undefined when calling fetchOptInSourceSubscribers.');
1655
+ }
1656
+
1657
+ if (isSubscribed !== undefined) {
1658
+ localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
1659
+ }
1660
+
1661
+ if (isPendingAge21Verification !== undefined) {
1662
+ localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
1663
+ }
1664
+
1665
+ if (isArchiveIncluded !== undefined) {
1666
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1667
+ }
1668
+
1669
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1670
+
1671
+ let localVarUseFormData = false;
1672
+
1673
+ let localVarRequestOptions: localVarRequest.Options = {
1674
+ method: 'GET',
1675
+ qs: localVarQueryParameters,
1676
+ headers: localVarHeaderParams,
1677
+ uri: localVarPath,
1678
+ useQuerystring: this._useQuerystring,
1679
+ json: true,
1680
+ };
1681
+
1682
+ let authenticationPromise = Promise.resolve();
1683
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1684
+
1685
+ let interceptorPromise = authenticationPromise;
1686
+ for (const interceptor of this.interceptors) {
1687
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1688
+ }
1689
+
1690
+ return interceptorPromise.then(() => {
1691
+ if (Object.keys(localVarFormParams).length) {
1692
+ if (localVarUseFormData) {
1693
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1694
+ } else {
1695
+ localVarRequestOptions.form = localVarFormParams;
1696
+ }
1697
+ }
1698
+ return new Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }>((resolve, reject) => {
1699
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1700
+ if (error) {
1701
+ reject(error);
1702
+ } else {
1703
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1704
+ body = ObjectSerializer.deserialize(body, "Array<OptInListSubscriber>");
1705
+ resolve({ response: response, body: body });
1706
+ } else {
1707
+ reject(new HttpError(response, body, response.statusCode));
1708
+ }
1709
+ }
1710
+ });
1711
+ });
1712
+ });
1713
+ }
1714
+ /**
1715
+ *
1716
+ * @summary Fetch opt in sources
1717
+ * @param phoneNumberID
1718
+ */
1719
+ public async fetchOptInSourcesAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInListSource>; }> {
1720
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/sources/{phoneNumberID}'
1721
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1722
+ let localVarQueryParameters: any = {};
1723
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1724
+ const produces = ['application/json'];
1725
+ // give precedence to 'application/json'
1726
+ if (produces.indexOf('application/json') >= 0) {
1727
+ localVarHeaderParams.Accept = 'application/json';
1728
+ } else {
1729
+ localVarHeaderParams.Accept = produces.join(',');
1730
+ }
1731
+ let localVarFormParams: any = {};
1732
+
1733
+ // verify required parameter 'phoneNumberID' is not null or undefined
1734
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1735
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchOptInSourcesAssociatedWithPhoneNumber.');
1736
+ }
1737
+
1738
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1739
+
1740
+ let localVarUseFormData = false;
1741
+
1742
+ let localVarRequestOptions: localVarRequest.Options = {
1743
+ method: 'GET',
1744
+ qs: localVarQueryParameters,
1745
+ headers: localVarHeaderParams,
1746
+ uri: localVarPath,
1747
+ useQuerystring: this._useQuerystring,
1748
+ json: true,
1749
+ };
1750
+
1751
+ let authenticationPromise = Promise.resolve();
1752
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1753
+
1754
+ let interceptorPromise = authenticationPromise;
1755
+ for (const interceptor of this.interceptors) {
1756
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1757
+ }
1758
+
1759
+ return interceptorPromise.then(() => {
1760
+ if (Object.keys(localVarFormParams).length) {
1761
+ if (localVarUseFormData) {
1762
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1763
+ } else {
1764
+ localVarRequestOptions.form = localVarFormParams;
1765
+ }
1766
+ }
1767
+ return new Promise<{ response: http.IncomingMessage; body: Array<OptInListSource>; }>((resolve, reject) => {
1768
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1769
+ if (error) {
1770
+ reject(error);
1771
+ } else {
1772
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1773
+ body = ObjectSerializer.deserialize(body, "Array<OptInListSource>");
1774
+ resolve({ response: response, body: body });
1775
+ } else {
1776
+ reject(new HttpError(response, body, response.statusCode));
1777
+ }
1778
+ }
1779
+ });
1780
+ });
1781
+ });
1782
+ }
1783
+ /**
1784
+ *
1785
+ * @summary Fetch outbound SMS
1786
+ * @param phoneNumberID
1787
+ * @param toPhoneNumber
1788
+ * @param status
1789
+ * @param paymentObjectBroadcastID
1790
+ */
1791
+ public async fetchOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OutboundSMS>; }> {
1792
+ const localVarPath = this.basePath + '/v2/sms/outbound/{phoneNumberID}'
1793
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1794
+ let localVarQueryParameters: any = {};
1795
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1796
+ const produces = ['application/json'];
1797
+ // give precedence to 'application/json'
1798
+ if (produces.indexOf('application/json') >= 0) {
1799
+ localVarHeaderParams.Accept = 'application/json';
1800
+ } else {
1801
+ localVarHeaderParams.Accept = produces.join(',');
1802
+ }
1803
+ let localVarFormParams: any = {};
1804
+
1805
+ // verify required parameter 'phoneNumberID' is not null or undefined
1806
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1807
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchOutboundSMS.');
1808
+ }
1809
+
1810
+ if (toPhoneNumber !== undefined) {
1811
+ localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
1812
+ }
1813
+
1814
+ if (status !== undefined) {
1815
+ localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "string");
1816
+ }
1817
+
1818
+ if (paymentObjectBroadcastID !== undefined) {
1819
+ localVarQueryParameters['paymentObjectBroadcastID'] = ObjectSerializer.serialize(paymentObjectBroadcastID, "string");
1820
+ }
1821
+
1822
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1823
+
1824
+ let localVarUseFormData = false;
1825
+
1826
+ let localVarRequestOptions: localVarRequest.Options = {
1827
+ method: 'GET',
1828
+ qs: localVarQueryParameters,
1829
+ headers: localVarHeaderParams,
1830
+ uri: localVarPath,
1831
+ useQuerystring: this._useQuerystring,
1832
+ json: true,
1833
+ };
1834
+
1835
+ let authenticationPromise = Promise.resolve();
1836
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1837
+
1838
+ let interceptorPromise = authenticationPromise;
1839
+ for (const interceptor of this.interceptors) {
1840
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1841
+ }
1842
+
1843
+ return interceptorPromise.then(() => {
1844
+ if (Object.keys(localVarFormParams).length) {
1845
+ if (localVarUseFormData) {
1846
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1847
+ } else {
1848
+ localVarRequestOptions.form = localVarFormParams;
1849
+ }
1850
+ }
1851
+ return new Promise<{ response: http.IncomingMessage; body: Array<OutboundSMS>; }>((resolve, reject) => {
1852
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1853
+ if (error) {
1854
+ reject(error);
1855
+ } else {
1856
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1857
+ body = ObjectSerializer.deserialize(body, "Array<OutboundSMS>");
1858
+ resolve({ response: response, body: body });
1859
+ } else {
1860
+ reject(new HttpError(response, body, response.statusCode));
1861
+ }
1862
+ }
1863
+ });
1864
+ });
1865
+ });
1866
+ }
1867
+ /**
1868
+ *
1869
+ * @summary Fetch outbound SMSes by page
1870
+ * @param phoneNumberID
1871
+ * @param toPhoneNumber
1872
+ * @param paymentObjectBroadcastID
1873
+ * @param pageSize
1874
+ * @param pageNum
1875
+ * @param status
1876
+ */
1877
+ public async fetchOutboundSMSByPage (phoneNumberID: string, toPhoneNumber?: string, paymentObjectBroadcastID?: string, pageSize?: number, pageNum?: number, status?: SSOutboundStatuses, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: FetchOutboundSMSByPage200Response; }> {
1878
+ const localVarPath = this.basePath + '/v2/sms/outbound/page/{phoneNumberID}'
1879
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1880
+ let localVarQueryParameters: any = {};
1881
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1882
+ const produces = ['application/json'];
1883
+ // give precedence to 'application/json'
1884
+ if (produces.indexOf('application/json') >= 0) {
1885
+ localVarHeaderParams.Accept = 'application/json';
1886
+ } else {
1887
+ localVarHeaderParams.Accept = produces.join(',');
1888
+ }
1889
+ let localVarFormParams: any = {};
1890
+
1891
+ // verify required parameter 'phoneNumberID' is not null or undefined
1892
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1893
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchOutboundSMSByPage.');
1894
+ }
1895
+
1896
+ if (toPhoneNumber !== undefined) {
1897
+ localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
1898
+ }
1899
+
1900
+ if (paymentObjectBroadcastID !== undefined) {
1901
+ localVarQueryParameters['paymentObjectBroadcastID'] = ObjectSerializer.serialize(paymentObjectBroadcastID, "string");
1902
+ }
1903
+
1904
+ if (pageSize !== undefined) {
1905
+ localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
1906
+ }
1907
+
1908
+ if (pageNum !== undefined) {
1909
+ localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
1910
+ }
1911
+
1912
+ if (status !== undefined) {
1913
+ localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "SSOutboundStatuses");
1914
+ }
1915
+
1916
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1917
+
1918
+ let localVarUseFormData = false;
1919
+
1920
+ let localVarRequestOptions: localVarRequest.Options = {
1921
+ method: 'GET',
1922
+ qs: localVarQueryParameters,
1923
+ headers: localVarHeaderParams,
1924
+ uri: localVarPath,
1925
+ useQuerystring: this._useQuerystring,
1926
+ json: true,
1927
+ };
1928
+
1929
+ let authenticationPromise = Promise.resolve();
1930
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1931
+
1932
+ let interceptorPromise = authenticationPromise;
1933
+ for (const interceptor of this.interceptors) {
1934
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1935
+ }
1936
+
1937
+ return interceptorPromise.then(() => {
1938
+ if (Object.keys(localVarFormParams).length) {
1939
+ if (localVarUseFormData) {
1940
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1941
+ } else {
1942
+ localVarRequestOptions.form = localVarFormParams;
1943
+ }
1944
+ }
1945
+ return new Promise<{ response: http.IncomingMessage; body: FetchOutboundSMSByPage200Response; }>((resolve, reject) => {
1946
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1947
+ if (error) {
1948
+ reject(error);
1949
+ } else {
1950
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1951
+ body = ObjectSerializer.deserialize(body, "FetchOutboundSMSByPage200Response");
1952
+ resolve({ response: response, body: body });
1953
+ } else {
1954
+ reject(new HttpError(response, body, response.statusCode));
1955
+ }
1956
+ }
1957
+ });
1958
+ });
1959
+ });
1960
+ }
1961
+ /**
1962
+ *
1963
+ * @summary Fetch payment object broadcasts
1964
+ * @param phoneNumberID
1965
+ */
1966
+ public async fetchPaymentObjectBroadcasts (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<StaticVoucherCampaignBroadcast>; }> {
1967
+ const localVarPath = this.basePath + '/v2/sms/paymentObjectBroadcasts/{phoneNumberID}'
1968
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1969
+ let localVarQueryParameters: any = {};
1970
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1971
+ const produces = ['application/json'];
1972
+ // give precedence to 'application/json'
1973
+ if (produces.indexOf('application/json') >= 0) {
1974
+ localVarHeaderParams.Accept = 'application/json';
1975
+ } else {
1976
+ localVarHeaderParams.Accept = produces.join(',');
1977
+ }
1978
+ let localVarFormParams: any = {};
1979
+
1980
+ // verify required parameter 'phoneNumberID' is not null or undefined
1981
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1982
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchPaymentObjectBroadcasts.');
1983
+ }
1984
+
1985
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1986
+
1987
+ let localVarUseFormData = false;
1988
+
1989
+ let localVarRequestOptions: localVarRequest.Options = {
1990
+ method: 'GET',
1991
+ qs: localVarQueryParameters,
1992
+ headers: localVarHeaderParams,
1993
+ uri: localVarPath,
1994
+ useQuerystring: this._useQuerystring,
1995
+ json: true,
1996
+ };
1997
+
1998
+ let authenticationPromise = Promise.resolve();
1999
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2000
+
2001
+ let interceptorPromise = authenticationPromise;
2002
+ for (const interceptor of this.interceptors) {
2003
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2004
+ }
2005
+
2006
+ return interceptorPromise.then(() => {
2007
+ if (Object.keys(localVarFormParams).length) {
2008
+ if (localVarUseFormData) {
2009
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2010
+ } else {
2011
+ localVarRequestOptions.form = localVarFormParams;
2012
+ }
2013
+ }
2014
+ return new Promise<{ response: http.IncomingMessage; body: Array<StaticVoucherCampaignBroadcast>; }>((resolve, reject) => {
2015
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2016
+ if (error) {
2017
+ reject(error);
2018
+ } else {
2019
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2020
+ body = ObjectSerializer.deserialize(body, "Array<StaticVoucherCampaignBroadcast>");
2021
+ resolve({ response: response, body: body });
2022
+ } else {
2023
+ reject(new HttpError(response, body, response.statusCode));
2024
+ }
2025
+ }
2026
+ });
2027
+ });
2028
+ });
2029
+ }
2030
+ /**
2031
+ *
2032
+ * @summary Accept SMS agreement (DEPRECATED)
2033
+ */
2034
+ public async fetchSMSAgreement (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
2035
+ const localVarPath = this.basePath + '/v2/sms/agreement';
2036
+ let localVarQueryParameters: any = {};
2037
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2038
+ const produces = ['application/json'];
2039
+ // give precedence to 'application/json'
2040
+ if (produces.indexOf('application/json') >= 0) {
2041
+ localVarHeaderParams.Accept = 'application/json';
2042
+ } else {
2043
+ localVarHeaderParams.Accept = produces.join(',');
2044
+ }
2045
+ let localVarFormParams: any = {};
2046
+
2047
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2048
+
2049
+ let localVarUseFormData = false;
2050
+
2051
+ let localVarRequestOptions: localVarRequest.Options = {
2052
+ method: 'GET',
2053
+ qs: localVarQueryParameters,
2054
+ headers: localVarHeaderParams,
2055
+ uri: localVarPath,
2056
+ useQuerystring: this._useQuerystring,
2057
+ json: true,
2058
+ };
2059
+
2060
+ let authenticationPromise = Promise.resolve();
2061
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2062
+
2063
+ let interceptorPromise = authenticationPromise;
2064
+ for (const interceptor of this.interceptors) {
2065
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2066
+ }
2067
+
2068
+ return interceptorPromise.then(() => {
2069
+ if (Object.keys(localVarFormParams).length) {
2070
+ if (localVarUseFormData) {
2071
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2072
+ } else {
2073
+ localVarRequestOptions.form = localVarFormParams;
2074
+ }
2075
+ }
2076
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
2077
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2078
+ if (error) {
2079
+ reject(error);
2080
+ } else {
2081
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2082
+ body = ObjectSerializer.deserialize(body, "any");
2083
+ resolve({ response: response, body: body });
2084
+ } else {
2085
+ reject(new HttpError(response, body, response.statusCode));
2086
+ }
2087
+ }
2088
+ });
2089
+ });
2090
+ });
2091
+ }
2092
+ /**
2093
+ *
2094
+ * @summary Import imported list recipients
2095
+ * @param importedListID
2096
+ * @param wTEmployeeImportRecords
2097
+ */
2098
+ public async importImportedListRecipients (importedListID: string, wTEmployeeImportRecords: WTEmployeeImportRecords, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
2099
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/import/{importedListID}'
2100
+ .replace('{' + 'importedListID' + '}', encodeURIComponent(String(importedListID)));
2101
+ let localVarQueryParameters: any = {};
2102
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2103
+ const produces = ['application/json'];
2104
+ // give precedence to 'application/json'
2105
+ if (produces.indexOf('application/json') >= 0) {
2106
+ localVarHeaderParams.Accept = 'application/json';
2107
+ } else {
2108
+ localVarHeaderParams.Accept = produces.join(',');
2109
+ }
2110
+ let localVarFormParams: any = {};
2111
+
2112
+ // verify required parameter 'importedListID' is not null or undefined
2113
+ if (importedListID === null || importedListID === undefined) {
2114
+ throw new Error('Required parameter importedListID was null or undefined when calling importImportedListRecipients.');
2115
+ }
2116
+
2117
+ // verify required parameter 'wTEmployeeImportRecords' is not null or undefined
2118
+ if (wTEmployeeImportRecords === null || wTEmployeeImportRecords === undefined) {
2119
+ throw new Error('Required parameter wTEmployeeImportRecords was null or undefined when calling importImportedListRecipients.');
2120
+ }
2121
+
2122
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2123
+
2124
+ let localVarUseFormData = false;
2125
+
2126
+ let localVarRequestOptions: localVarRequest.Options = {
2127
+ method: 'POST',
2128
+ qs: localVarQueryParameters,
2129
+ headers: localVarHeaderParams,
2130
+ uri: localVarPath,
2131
+ useQuerystring: this._useQuerystring,
2132
+ json: true,
2133
+ body: ObjectSerializer.serialize(wTEmployeeImportRecords, "WTEmployeeImportRecords")
2134
+ };
2135
+
2136
+ let authenticationPromise = Promise.resolve();
2137
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2138
+
2139
+ let interceptorPromise = authenticationPromise;
2140
+ for (const interceptor of this.interceptors) {
2141
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2142
+ }
2143
+
2144
+ return interceptorPromise.then(() => {
2145
+ if (Object.keys(localVarFormParams).length) {
2146
+ if (localVarUseFormData) {
2147
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2148
+ } else {
2149
+ localVarRequestOptions.form = localVarFormParams;
2150
+ }
2151
+ }
2152
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
2153
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2154
+ if (error) {
2155
+ reject(error);
2156
+ } else {
2157
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2158
+ body = ObjectSerializer.deserialize(body, "string");
2159
+ resolve({ response: response, body: body });
2160
+ } else {
2161
+ reject(new HttpError(response, body, response.statusCode));
2162
+ }
2163
+ }
2164
+ });
2165
+ });
2166
+ });
2167
+ }
2168
+ /**
2169
+ *
2170
+ * @summary Import imported list recipients from a given membership tier
2171
+ * @param wTImportedListRecipientFromMembershipTierImport
2172
+ */
2173
+ public async importImportedListRecipientsFromMembershipTier (wTImportedListRecipientFromMembershipTierImport: WTImportedListRecipientFromMembershipTierImport, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
2174
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/import-from-tier';
2175
+ let localVarQueryParameters: any = {};
2176
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2177
+ const produces = ['application/json'];
2178
+ // give precedence to 'application/json'
2179
+ if (produces.indexOf('application/json') >= 0) {
2180
+ localVarHeaderParams.Accept = 'application/json';
2181
+ } else {
2182
+ localVarHeaderParams.Accept = produces.join(',');
2183
+ }
2184
+ let localVarFormParams: any = {};
2185
+
2186
+ // verify required parameter 'wTImportedListRecipientFromMembershipTierImport' is not null or undefined
2187
+ if (wTImportedListRecipientFromMembershipTierImport === null || wTImportedListRecipientFromMembershipTierImport === undefined) {
2188
+ throw new Error('Required parameter wTImportedListRecipientFromMembershipTierImport was null or undefined when calling importImportedListRecipientsFromMembershipTier.');
2189
+ }
2190
+
2191
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2192
+
2193
+ let localVarUseFormData = false;
2194
+
2195
+ let localVarRequestOptions: localVarRequest.Options = {
2196
+ method: 'POST',
2197
+ qs: localVarQueryParameters,
2198
+ headers: localVarHeaderParams,
2199
+ uri: localVarPath,
2200
+ useQuerystring: this._useQuerystring,
2201
+ json: true,
2202
+ body: ObjectSerializer.serialize(wTImportedListRecipientFromMembershipTierImport, "WTImportedListRecipientFromMembershipTierImport")
2203
+ };
2204
+
2205
+ let authenticationPromise = Promise.resolve();
2206
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2207
+
2208
+ let interceptorPromise = authenticationPromise;
2209
+ for (const interceptor of this.interceptors) {
2210
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2211
+ }
2212
+
2213
+ return interceptorPromise.then(() => {
2214
+ if (Object.keys(localVarFormParams).length) {
2215
+ if (localVarUseFormData) {
2216
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2217
+ } else {
2218
+ localVarRequestOptions.form = localVarFormParams;
2219
+ }
2220
+ }
2221
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
2222
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2223
+ if (error) {
2224
+ reject(error);
2225
+ } else {
2226
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2227
+ body = ObjectSerializer.deserialize(body, "string");
2228
+ resolve({ response: response, body: body });
2229
+ } else {
2230
+ reject(new HttpError(response, body, response.statusCode));
2231
+ }
2232
+ }
2233
+ });
2234
+ });
2235
+ });
2236
+ }
2237
+ /**
2238
+ *
2239
+ * @summary Import opt in list subscribers
2240
+ * @param listID
2241
+ * @param wTSMSImportOptInListSubscribers
2242
+ */
2243
+ public async importOptInListSubscribers (listID: string, wTSMSImportOptInListSubscribers: WTSMSImportOptInListSubscribers, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
2244
+ const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/import/{listID}'
2245
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
2246
+ let localVarQueryParameters: any = {};
2247
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2248
+ const produces = ['application/json'];
2249
+ // give precedence to 'application/json'
2250
+ if (produces.indexOf('application/json') >= 0) {
2251
+ localVarHeaderParams.Accept = 'application/json';
2252
+ } else {
2253
+ localVarHeaderParams.Accept = produces.join(',');
2254
+ }
2255
+ let localVarFormParams: any = {};
2256
+
2257
+ // verify required parameter 'listID' is not null or undefined
2258
+ if (listID === null || listID === undefined) {
2259
+ throw new Error('Required parameter listID was null or undefined when calling importOptInListSubscribers.');
2260
+ }
2261
+
2262
+ // verify required parameter 'wTSMSImportOptInListSubscribers' is not null or undefined
2263
+ if (wTSMSImportOptInListSubscribers === null || wTSMSImportOptInListSubscribers === undefined) {
2264
+ throw new Error('Required parameter wTSMSImportOptInListSubscribers was null or undefined when calling importOptInListSubscribers.');
2265
+ }
2266
+
2267
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2268
+
2269
+ let localVarUseFormData = false;
2270
+
2271
+ let localVarRequestOptions: localVarRequest.Options = {
2272
+ method: 'POST',
2273
+ qs: localVarQueryParameters,
2274
+ headers: localVarHeaderParams,
2275
+ uri: localVarPath,
2276
+ useQuerystring: this._useQuerystring,
2277
+ json: true,
2278
+ body: ObjectSerializer.serialize(wTSMSImportOptInListSubscribers, "WTSMSImportOptInListSubscribers")
2279
+ };
2280
+
2281
+ let authenticationPromise = Promise.resolve();
2282
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2283
+
2284
+ let interceptorPromise = authenticationPromise;
2285
+ for (const interceptor of this.interceptors) {
2286
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2287
+ }
2288
+
2289
+ return interceptorPromise.then(() => {
2290
+ if (Object.keys(localVarFormParams).length) {
2291
+ if (localVarUseFormData) {
2292
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2293
+ } else {
2294
+ localVarRequestOptions.form = localVarFormParams;
2295
+ }
2296
+ }
2297
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
2298
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2299
+ if (error) {
2300
+ reject(error);
2301
+ } else {
2302
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2303
+ body = ObjectSerializer.deserialize(body, "string");
2304
+ resolve({ response: response, body: body });
2305
+ } else {
2306
+ reject(new HttpError(response, body, response.statusCode));
2307
+ }
2308
+ }
2309
+ });
2310
+ });
2311
+ });
2312
+ }
2313
+ /**
2314
+ *
2315
+ * @summary Restore phone number
2316
+ * @param phoneNumberID
2317
+ */
2318
+ public async restorePhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
2319
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
2320
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
2321
+ let localVarQueryParameters: any = {};
2322
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2323
+ const produces = ['application/json'];
2324
+ // give precedence to 'application/json'
2325
+ if (produces.indexOf('application/json') >= 0) {
2326
+ localVarHeaderParams.Accept = 'application/json';
2327
+ } else {
2328
+ localVarHeaderParams.Accept = produces.join(',');
2329
+ }
2330
+ let localVarFormParams: any = {};
2331
+
2332
+ // verify required parameter 'phoneNumberID' is not null or undefined
2333
+ if (phoneNumberID === null || phoneNumberID === undefined) {
2334
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling restorePhoneNumber.');
2335
+ }
2336
+
2337
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2338
+
2339
+ let localVarUseFormData = false;
2340
+
2341
+ let localVarRequestOptions: localVarRequest.Options = {
2342
+ method: 'PATCH',
2343
+ qs: localVarQueryParameters,
2344
+ headers: localVarHeaderParams,
2345
+ uri: localVarPath,
2346
+ useQuerystring: this._useQuerystring,
2347
+ json: true,
2348
+ };
2349
+
2350
+ let authenticationPromise = Promise.resolve();
2351
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2352
+
2353
+ let interceptorPromise = authenticationPromise;
2354
+ for (const interceptor of this.interceptors) {
2355
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2356
+ }
2357
+
2358
+ return interceptorPromise.then(() => {
2359
+ if (Object.keys(localVarFormParams).length) {
2360
+ if (localVarUseFormData) {
2361
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2362
+ } else {
2363
+ localVarRequestOptions.form = localVarFormParams;
2364
+ }
2365
+ }
2366
+ return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
2367
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2368
+ if (error) {
2369
+ reject(error);
2370
+ } else {
2371
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2372
+ body = ObjectSerializer.deserialize(body, "PhoneNumber");
2373
+ resolve({ response: response, body: body });
2374
+ } else {
2375
+ reject(new HttpError(response, body, response.statusCode));
2376
+ }
2377
+ }
2378
+ });
2379
+ });
2380
+ });
2381
+ }
2382
+ /**
2383
+ *
2384
+ * @summary Restore recipient
2385
+ * @param id
2386
+ */
2387
+ public async restoreRecipient (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }> {
2388
+ const localVarPath = this.basePath + '/v2/sms/importedList/recipients/{id}'
2389
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
2390
+ let localVarQueryParameters: any = {};
2391
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2392
+ const produces = ['application/json'];
2393
+ // give precedence to 'application/json'
2394
+ if (produces.indexOf('application/json') >= 0) {
2395
+ localVarHeaderParams.Accept = 'application/json';
2396
+ } else {
2397
+ localVarHeaderParams.Accept = produces.join(',');
2398
+ }
2399
+ let localVarFormParams: any = {};
2400
+
2401
+ // verify required parameter 'id' is not null or undefined
2402
+ if (id === null || id === undefined) {
2403
+ throw new Error('Required parameter id was null or undefined when calling restoreRecipient.');
2404
+ }
2405
+
2406
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2407
+
2408
+ let localVarUseFormData = false;
2409
+
2410
+ let localVarRequestOptions: localVarRequest.Options = {
2411
+ method: 'PATCH',
2412
+ qs: localVarQueryParameters,
2413
+ headers: localVarHeaderParams,
2414
+ uri: localVarPath,
2415
+ useQuerystring: this._useQuerystring,
2416
+ json: true,
2417
+ };
2418
+
2419
+ let authenticationPromise = Promise.resolve();
2420
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2421
+
2422
+ let interceptorPromise = authenticationPromise;
2423
+ for (const interceptor of this.interceptors) {
2424
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2425
+ }
2426
+
2427
+ return interceptorPromise.then(() => {
2428
+ if (Object.keys(localVarFormParams).length) {
2429
+ if (localVarUseFormData) {
2430
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2431
+ } else {
2432
+ localVarRequestOptions.form = localVarFormParams;
2433
+ }
2434
+ }
2435
+ return new Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }>((resolve, reject) => {
2436
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2437
+ if (error) {
2438
+ reject(error);
2439
+ } else {
2440
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2441
+ body = ObjectSerializer.deserialize(body, "ImportedListRecipient");
2442
+ resolve({ response: response, body: body });
2443
+ } else {
2444
+ reject(new HttpError(response, body, response.statusCode));
2445
+ }
2446
+ }
2447
+ });
2448
+ });
2449
+ });
2450
+ }
2451
+ /**
2452
+ *
2453
+ * @summary Retrieve the number of messages sent by the merchant within the current billing cycle
2454
+ */
2455
+ public async retrieveSentAndMaxCountOfMessages (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
2456
+ const localVarPath = this.basePath + '/v2/sms/sent';
2457
+ let localVarQueryParameters: any = {};
2458
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2459
+ const produces = ['application/json'];
2460
+ // give precedence to 'application/json'
2461
+ if (produces.indexOf('application/json') >= 0) {
2462
+ localVarHeaderParams.Accept = 'application/json';
2463
+ } else {
2464
+ localVarHeaderParams.Accept = produces.join(',');
2465
+ }
2466
+ let localVarFormParams: any = {};
2467
+
2468
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2469
+
2470
+ let localVarUseFormData = false;
2471
+
2472
+ let localVarRequestOptions: localVarRequest.Options = {
2473
+ method: 'GET',
2474
+ qs: localVarQueryParameters,
2475
+ headers: localVarHeaderParams,
2476
+ uri: localVarPath,
2477
+ useQuerystring: this._useQuerystring,
2478
+ json: true,
2479
+ };
2480
+
2481
+ let authenticationPromise = Promise.resolve();
2482
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2483
+
2484
+ let interceptorPromise = authenticationPromise;
2485
+ for (const interceptor of this.interceptors) {
2486
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2487
+ }
2488
+
2489
+ return interceptorPromise.then(() => {
2490
+ if (Object.keys(localVarFormParams).length) {
2491
+ if (localVarUseFormData) {
2492
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2493
+ } else {
2494
+ localVarRequestOptions.form = localVarFormParams;
2495
+ }
2496
+ }
2497
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
2498
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2499
+ if (error) {
2500
+ reject(error);
2501
+ } else {
2502
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2503
+ body = ObjectSerializer.deserialize(body, "any");
2504
+ resolve({ response: response, body: body });
2505
+ } else {
2506
+ reject(new HttpError(response, body, response.statusCode));
2507
+ }
2508
+ }
2509
+ });
2510
+ });
2511
+ });
2512
+ }
2513
+ /**
2514
+ *
2515
+ * @summary Save imported list
2516
+ * @param listID
2517
+ * @param wTSMSImportedListCreate
2518
+ */
2519
+ public async saveImportedList (listID: string, wTSMSImportedListCreate: WTSMSImportedListCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedList; }> {
2520
+ const localVarPath = this.basePath + '/v2/sms/importedList/{listID}'
2521
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
2522
+ let localVarQueryParameters: any = {};
2523
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2524
+ const produces = ['application/json'];
2525
+ // give precedence to 'application/json'
2526
+ if (produces.indexOf('application/json') >= 0) {
2527
+ localVarHeaderParams.Accept = 'application/json';
2528
+ } else {
2529
+ localVarHeaderParams.Accept = produces.join(',');
2530
+ }
2531
+ let localVarFormParams: any = {};
2532
+
2533
+ // verify required parameter 'listID' is not null or undefined
2534
+ if (listID === null || listID === undefined) {
2535
+ throw new Error('Required parameter listID was null or undefined when calling saveImportedList.');
2536
+ }
2537
+
2538
+ // verify required parameter 'wTSMSImportedListCreate' is not null or undefined
2539
+ if (wTSMSImportedListCreate === null || wTSMSImportedListCreate === undefined) {
2540
+ throw new Error('Required parameter wTSMSImportedListCreate was null or undefined when calling saveImportedList.');
2541
+ }
2542
+
2543
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2544
+
2545
+ let localVarUseFormData = false;
2546
+
2547
+ let localVarRequestOptions: localVarRequest.Options = {
2548
+ method: 'PUT',
2549
+ qs: localVarQueryParameters,
2550
+ headers: localVarHeaderParams,
2551
+ uri: localVarPath,
2552
+ useQuerystring: this._useQuerystring,
2553
+ json: true,
2554
+ body: ObjectSerializer.serialize(wTSMSImportedListCreate, "WTSMSImportedListCreate")
2555
+ };
2556
+
2557
+ let authenticationPromise = Promise.resolve();
2558
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2559
+
2560
+ let interceptorPromise = authenticationPromise;
2561
+ for (const interceptor of this.interceptors) {
2562
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2563
+ }
2564
+
2565
+ return interceptorPromise.then(() => {
2566
+ if (Object.keys(localVarFormParams).length) {
2567
+ if (localVarUseFormData) {
2568
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2569
+ } else {
2570
+ localVarRequestOptions.form = localVarFormParams;
2571
+ }
2572
+ }
2573
+ return new Promise<{ response: http.IncomingMessage; body: ImportedList; }>((resolve, reject) => {
2574
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2575
+ if (error) {
2576
+ reject(error);
2577
+ } else {
2578
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2579
+ body = ObjectSerializer.deserialize(body, "ImportedList");
2580
+ resolve({ response: response, body: body });
2581
+ } else {
2582
+ reject(new HttpError(response, body, response.statusCode));
2583
+ }
2584
+ }
2585
+ });
2586
+ });
2587
+ });
2588
+ }
2589
+ /**
2590
+ *
2591
+ * @summary Save opt in list
2592
+ * @param listID
2593
+ * @param wTOptInListCreationParams
2594
+ */
2595
+ public async saveOptInList (listID: string, wTOptInListCreationParams: WTOptInListCreationParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInList; }> {
2596
+ const localVarPath = this.basePath + '/v2/sms/optInList/{listID}'
2597
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
2598
+ let localVarQueryParameters: any = {};
2599
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2600
+ const produces = ['application/json'];
2601
+ // give precedence to 'application/json'
2602
+ if (produces.indexOf('application/json') >= 0) {
2603
+ localVarHeaderParams.Accept = 'application/json';
2604
+ } else {
2605
+ localVarHeaderParams.Accept = produces.join(',');
2606
+ }
2607
+ let localVarFormParams: any = {};
2608
+
2609
+ // verify required parameter 'listID' is not null or undefined
2610
+ if (listID === null || listID === undefined) {
2611
+ throw new Error('Required parameter listID was null or undefined when calling saveOptInList.');
2612
+ }
2613
+
2614
+ // verify required parameter 'wTOptInListCreationParams' is not null or undefined
2615
+ if (wTOptInListCreationParams === null || wTOptInListCreationParams === undefined) {
2616
+ throw new Error('Required parameter wTOptInListCreationParams was null or undefined when calling saveOptInList.');
2617
+ }
2618
+
2619
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2620
+
2621
+ let localVarUseFormData = false;
2622
+
2623
+ let localVarRequestOptions: localVarRequest.Options = {
2624
+ method: 'PUT',
2625
+ qs: localVarQueryParameters,
2626
+ headers: localVarHeaderParams,
2627
+ uri: localVarPath,
2628
+ useQuerystring: this._useQuerystring,
2629
+ json: true,
2630
+ body: ObjectSerializer.serialize(wTOptInListCreationParams, "WTOptInListCreationParams")
2631
+ };
2632
+
2633
+ let authenticationPromise = Promise.resolve();
2634
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2635
+
2636
+ let interceptorPromise = authenticationPromise;
2637
+ for (const interceptor of this.interceptors) {
2638
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2639
+ }
2640
+
2641
+ return interceptorPromise.then(() => {
2642
+ if (Object.keys(localVarFormParams).length) {
2643
+ if (localVarUseFormData) {
2644
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2645
+ } else {
2646
+ localVarRequestOptions.form = localVarFormParams;
2647
+ }
2648
+ }
2649
+ return new Promise<{ response: http.IncomingMessage; body: OptInList; }>((resolve, reject) => {
2650
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2651
+ if (error) {
2652
+ reject(error);
2653
+ } else {
2654
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2655
+ body = ObjectSerializer.deserialize(body, "OptInList");
2656
+ resolve({ response: response, body: body });
2657
+ } else {
2658
+ reject(new HttpError(response, body, response.statusCode));
2659
+ }
2660
+ }
2661
+ });
2662
+ });
2663
+ });
2664
+ }
2665
+ /**
2666
+ *
2667
+ * @summary Save opt in list source
2668
+ * @param sourceID
2669
+ * @param wTSMSOptInListSourceCreate
2670
+ */
2671
+ public async saveOptInListSource (sourceID: string, wTSMSOptInListSourceCreate: WTSMSOptInListSourceCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInListSource; }> {
2672
+ const localVarPath = this.basePath + '/v2/sms/optInListSource/{sourceID}'
2673
+ .replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
2674
+ let localVarQueryParameters: any = {};
2675
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2676
+ const produces = ['application/json'];
2677
+ // give precedence to 'application/json'
2678
+ if (produces.indexOf('application/json') >= 0) {
2679
+ localVarHeaderParams.Accept = 'application/json';
2680
+ } else {
2681
+ localVarHeaderParams.Accept = produces.join(',');
2682
+ }
2683
+ let localVarFormParams: any = {};
2684
+
2685
+ // verify required parameter 'sourceID' is not null or undefined
2686
+ if (sourceID === null || sourceID === undefined) {
2687
+ throw new Error('Required parameter sourceID was null or undefined when calling saveOptInListSource.');
2688
+ }
2689
+
2690
+ // verify required parameter 'wTSMSOptInListSourceCreate' is not null or undefined
2691
+ if (wTSMSOptInListSourceCreate === null || wTSMSOptInListSourceCreate === undefined) {
2692
+ throw new Error('Required parameter wTSMSOptInListSourceCreate was null or undefined when calling saveOptInListSource.');
2693
+ }
2694
+
2695
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2696
+
2697
+ let localVarUseFormData = false;
2698
+
2699
+ let localVarRequestOptions: localVarRequest.Options = {
2700
+ method: 'PUT',
2701
+ qs: localVarQueryParameters,
2702
+ headers: localVarHeaderParams,
2703
+ uri: localVarPath,
2704
+ useQuerystring: this._useQuerystring,
2705
+ json: true,
2706
+ body: ObjectSerializer.serialize(wTSMSOptInListSourceCreate, "WTSMSOptInListSourceCreate")
2707
+ };
2708
+
2709
+ let authenticationPromise = Promise.resolve();
2710
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2711
+
2712
+ let interceptorPromise = authenticationPromise;
2713
+ for (const interceptor of this.interceptors) {
2714
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2715
+ }
2716
+
2717
+ return interceptorPromise.then(() => {
2718
+ if (Object.keys(localVarFormParams).length) {
2719
+ if (localVarUseFormData) {
2720
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2721
+ } else {
2722
+ localVarRequestOptions.form = localVarFormParams;
2723
+ }
2724
+ }
2725
+ return new Promise<{ response: http.IncomingMessage; body: OptInListSource; }>((resolve, reject) => {
2726
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2727
+ if (error) {
2728
+ reject(error);
2729
+ } else {
2730
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2731
+ body = ObjectSerializer.deserialize(body, "OptInListSource");
2732
+ resolve({ response: response, body: body });
2733
+ } else {
2734
+ reject(new HttpError(response, body, response.statusCode));
2735
+ }
2736
+ }
2737
+ });
2738
+ });
2739
+ });
2740
+ }
2741
+ /**
2742
+ *
2743
+ * @summary Request phone number verification
2744
+ * @param phoneNumberID
2745
+ * @param wTSMSUpdatePhoneNumberConfig
2746
+ */
2747
+ public async sendPhoneNumberForVerification (phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
2748
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/verification/{phoneNumberID}'
2749
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
2750
+ let localVarQueryParameters: any = {};
2751
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2752
+ const produces = ['application/json'];
2753
+ // give precedence to 'application/json'
2754
+ if (produces.indexOf('application/json') >= 0) {
2755
+ localVarHeaderParams.Accept = 'application/json';
2756
+ } else {
2757
+ localVarHeaderParams.Accept = produces.join(',');
2758
+ }
2759
+ let localVarFormParams: any = {};
2760
+
2761
+ // verify required parameter 'phoneNumberID' is not null or undefined
2762
+ if (phoneNumberID === null || phoneNumberID === undefined) {
2763
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling sendPhoneNumberForVerification.');
2764
+ }
2765
+
2766
+ // verify required parameter 'wTSMSUpdatePhoneNumberConfig' is not null or undefined
2767
+ if (wTSMSUpdatePhoneNumberConfig === null || wTSMSUpdatePhoneNumberConfig === undefined) {
2768
+ throw new Error('Required parameter wTSMSUpdatePhoneNumberConfig was null or undefined when calling sendPhoneNumberForVerification.');
2769
+ }
2770
+
2771
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2772
+
2773
+ let localVarUseFormData = false;
2774
+
2775
+ let localVarRequestOptions: localVarRequest.Options = {
2776
+ method: 'PUT',
2777
+ qs: localVarQueryParameters,
2778
+ headers: localVarHeaderParams,
2779
+ uri: localVarPath,
2780
+ useQuerystring: this._useQuerystring,
2781
+ json: true,
2782
+ body: ObjectSerializer.serialize(wTSMSUpdatePhoneNumberConfig, "WTSMSUpdatePhoneNumberConfig")
2783
+ };
2784
+
2785
+ let authenticationPromise = Promise.resolve();
2786
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2787
+
2788
+ let interceptorPromise = authenticationPromise;
2789
+ for (const interceptor of this.interceptors) {
2790
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2791
+ }
2792
+
2793
+ return interceptorPromise.then(() => {
2794
+ if (Object.keys(localVarFormParams).length) {
2795
+ if (localVarUseFormData) {
2796
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2797
+ } else {
2798
+ localVarRequestOptions.form = localVarFormParams;
2799
+ }
2800
+ }
2801
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
2802
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2803
+ if (error) {
2804
+ reject(error);
2805
+ } else {
2806
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2807
+ body = ObjectSerializer.deserialize(body, "string");
2808
+ resolve({ response: response, body: body });
2809
+ } else {
2810
+ reject(new HttpError(response, body, response.statusCode));
2811
+ }
2812
+ }
2813
+ });
2814
+ });
2815
+ });
2816
+ }
2817
+ /**
2818
+ *
2819
+ * @summary Update phone number
2820
+ * @param phoneNumberID
2821
+ * @param wTSMSUpdatePhoneNumberConfig
2822
+ */
2823
+ public async updatePhoneNumber (phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
2824
+ const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
2825
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
2826
+ let localVarQueryParameters: any = {};
2827
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2828
+ const produces = ['application/json'];
2829
+ // give precedence to 'application/json'
2830
+ if (produces.indexOf('application/json') >= 0) {
2831
+ localVarHeaderParams.Accept = 'application/json';
2832
+ } else {
2833
+ localVarHeaderParams.Accept = produces.join(',');
2834
+ }
2835
+ let localVarFormParams: any = {};
2836
+
2837
+ // verify required parameter 'phoneNumberID' is not null or undefined
2838
+ if (phoneNumberID === null || phoneNumberID === undefined) {
2839
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling updatePhoneNumber.');
2840
+ }
2841
+
2842
+ // verify required parameter 'wTSMSUpdatePhoneNumberConfig' is not null or undefined
2843
+ if (wTSMSUpdatePhoneNumberConfig === null || wTSMSUpdatePhoneNumberConfig === undefined) {
2844
+ throw new Error('Required parameter wTSMSUpdatePhoneNumberConfig was null or undefined when calling updatePhoneNumber.');
2845
+ }
2846
+
2847
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2848
+
2849
+ let localVarUseFormData = false;
2850
+
2851
+ let localVarRequestOptions: localVarRequest.Options = {
2852
+ method: 'PUT',
2853
+ qs: localVarQueryParameters,
2854
+ headers: localVarHeaderParams,
2855
+ uri: localVarPath,
2856
+ useQuerystring: this._useQuerystring,
2857
+ json: true,
2858
+ body: ObjectSerializer.serialize(wTSMSUpdatePhoneNumberConfig, "WTSMSUpdatePhoneNumberConfig")
2859
+ };
2860
+
2861
+ let authenticationPromise = Promise.resolve();
2862
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2863
+
2864
+ let interceptorPromise = authenticationPromise;
2865
+ for (const interceptor of this.interceptors) {
2866
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2867
+ }
2868
+
2869
+ return interceptorPromise.then(() => {
2870
+ if (Object.keys(localVarFormParams).length) {
2871
+ if (localVarUseFormData) {
2872
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2873
+ } else {
2874
+ localVarRequestOptions.form = localVarFormParams;
2875
+ }
2876
+ }
2877
+ return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
2878
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2879
+ if (error) {
2880
+ reject(error);
2881
+ } else {
2882
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2883
+ body = ObjectSerializer.deserialize(body, "PhoneNumber");
2884
+ resolve({ response: response, body: body });
2885
+ } else {
2886
+ reject(new HttpError(response, body, response.statusCode));
2887
+ }
2888
+ }
2889
+ });
2890
+ });
2891
+ });
2892
+ }
2893
+ }