wallet 2.1.514 → 2.1.519

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 (1342) hide show
  1. package/.openapi-generator/FILES +4 -2
  2. package/api/advertisementCreditsApi.ts +589 -0
  3. package/api/analyticsApi.ts +6193 -0
  4. package/api/apis.ts +96 -0
  5. package/api/appleWalletSubscribersApi.ts +235 -0
  6. package/api/billingApi.ts +680 -0
  7. package/api/clubMembersPointsApi.ts +797 -0
  8. package/api/configurationApi.ts +226 -0
  9. package/api/countriesApi.ts +155 -0
  10. package/api/customerApi.ts +737 -0
  11. package/api/dashboardApi.ts +1552 -0
  12. package/api/dynamicVouchersApi.ts +603 -0
  13. package/api/employeeAPIKeysApi.ts +448 -0
  14. package/api/employeeAccessApi.ts +165 -0
  15. package/api/employeesApi.ts +3210 -0
  16. package/api/imageGridApi.ts +447 -0
  17. package/api/industriesApi.ts +155 -0
  18. package/api/infoGenesisReportsApi.ts +2004 -0
  19. package/api/integratedTerminalsApi.ts +447 -0
  20. package/api/interactionsApi.ts +885 -0
  21. package/api/linkBookApi.ts +517 -0
  22. package/api/linkBookSectionApi.ts +447 -0
  23. package/api/loginAndLogoutApi.ts +297 -0
  24. package/api/membershipTiersApi.ts +728 -0
  25. package/api/merchantApi.ts +1987 -0
  26. package/api/merchantCreditsApi.ts +797 -0
  27. package/api/merchantURLsApi.ts +586 -0
  28. package/api/mobileTerminalApi.ts +310 -0
  29. package/api/newsApi.ts +447 -0
  30. package/api/paymentDesignsApi.ts +519 -0
  31. package/api/performancesApi.ts +447 -0
  32. package/api/promoCodesApi.ts +447 -0
  33. package/api/sMSApi.ts +2959 -0
  34. package/api/settingsApi.ts +220 -0
  35. package/api/shopifyTerminalApi.ts +309 -0
  36. package/api/staticVoucherCampaignGroupsApi.ts +165 -0
  37. package/api/staticVoucherCampaignsApi.ts +1484 -0
  38. package/api/staticVouchersApi.ts +535 -0
  39. package/api/systemApi.ts +603 -0
  40. package/api/transactionLedgerApi.ts +203 -0
  41. package/api/utilitiesApi.ts +157 -0
  42. package/api/webTerminalApi.ts +309 -0
  43. package/api/wixTerminalApi.ts +309 -0
  44. package/api/wooCommerceTerminalApi.ts +309 -0
  45. package/dist/api/advertisementCreditsApi.d.ts +86 -0
  46. package/dist/api/advertisementCreditsApi.js +502 -0
  47. package/dist/api/advertisementCreditsApi.js.map +1 -0
  48. package/dist/api/analyticsApi.d.ts +578 -0
  49. package/dist/api/analyticsApi.js +5072 -0
  50. package/dist/api/analyticsApi.js.map +1 -0
  51. package/dist/api/apis.d.ts +94 -0
  52. package/dist/api/apis.js +113 -0
  53. package/dist/api/apis.js.map +1 -0
  54. package/dist/api/appleWalletSubscribersApi.d.ts +42 -0
  55. package/dist/api/appleWalletSubscribersApi.js +196 -0
  56. package/dist/api/appleWalletSubscribersApi.js.map +1 -0
  57. package/dist/api/billingApi.d.ts +102 -0
  58. package/dist/api/billingApi.js +599 -0
  59. package/dist/api/billingApi.js.map +1 -0
  60. package/dist/api/clubMembersPointsApi.d.ts +116 -0
  61. package/dist/api/clubMembersPointsApi.js +682 -0
  62. package/dist/api/clubMembersPointsApi.js.map +1 -0
  63. package/dist/api/configurationApi.d.ts +44 -0
  64. package/dist/api/configurationApi.js +190 -0
  65. package/dist/api/configurationApi.js.map +1 -0
  66. package/dist/api/countriesApi.d.ts +35 -0
  67. package/dist/api/countriesApi.js +129 -0
  68. package/dist/api/countriesApi.js.map +1 -0
  69. package/dist/api/customerApi.d.ts +102 -0
  70. package/dist/api/customerApi.js +633 -0
  71. package/dist/api/customerApi.js.map +1 -0
  72. package/dist/api/dashboardApi.d.ts +172 -0
  73. package/dist/api/dashboardApi.js +1302 -0
  74. package/dist/api/dashboardApi.js.map +1 -0
  75. package/dist/api/dynamicVouchersApi.d.ts +87 -0
  76. package/dist/api/dynamicVouchersApi.js +510 -0
  77. package/dist/api/dynamicVouchersApi.js.map +1 -0
  78. package/dist/api/employeeAPIKeysApi.d.ts +70 -0
  79. package/dist/api/employeeAPIKeysApi.js +380 -0
  80. package/dist/api/employeeAPIKeysApi.js.map +1 -0
  81. package/dist/api/employeeAccessApi.d.ts +36 -0
  82. package/dist/api/employeeAccessApi.js +133 -0
  83. package/dist/api/employeeAccessApi.js.map +1 -0
  84. package/dist/api/employeesApi.d.ts +420 -0
  85. package/dist/api/employeesApi.js +2804 -0
  86. package/dist/api/employeesApi.js.map +1 -0
  87. package/dist/api/imageGridApi.d.ts +69 -0
  88. package/dist/api/imageGridApi.js +380 -0
  89. package/dist/api/imageGridApi.js.map +1 -0
  90. package/dist/api/industriesApi.d.ts +35 -0
  91. package/dist/api/industriesApi.js +129 -0
  92. package/dist/api/industriesApi.js.map +1 -0
  93. package/dist/api/infoGenesisReportsApi.d.ts +250 -0
  94. package/dist/api/infoGenesisReportsApi.js +1743 -0
  95. package/dist/api/infoGenesisReportsApi.js.map +1 -0
  96. package/dist/api/integratedTerminalsApi.d.ts +69 -0
  97. package/dist/api/integratedTerminalsApi.js +380 -0
  98. package/dist/api/integratedTerminalsApi.js.map +1 -0
  99. package/dist/api/interactionsApi.d.ts +121 -0
  100. package/dist/api/interactionsApi.js +759 -0
  101. package/dist/api/interactionsApi.js.map +1 -0
  102. package/dist/api/linkBookApi.d.ts +78 -0
  103. package/dist/api/linkBookApi.js +441 -0
  104. package/dist/api/linkBookApi.js.map +1 -0
  105. package/dist/api/linkBookSectionApi.d.ts +69 -0
  106. package/dist/api/linkBookSectionApi.js +380 -0
  107. package/dist/api/linkBookSectionApi.js.map +1 -0
  108. package/dist/api/loginAndLogoutApi.d.ts +53 -0
  109. package/dist/api/loginAndLogoutApi.js +251 -0
  110. package/dist/api/loginAndLogoutApi.js.map +1 -0
  111. package/dist/api/membershipTiersApi.d.ts +105 -0
  112. package/dist/api/membershipTiersApi.js +623 -0
  113. package/dist/api/membershipTiersApi.js.map +1 -0
  114. package/dist/api/merchantApi.d.ts +258 -0
  115. package/dist/api/merchantApi.js +1730 -0
  116. package/dist/api/merchantApi.js.map +1 -0
  117. package/dist/api/merchantCreditsApi.d.ts +116 -0
  118. package/dist/api/merchantCreditsApi.js +682 -0
  119. package/dist/api/merchantCreditsApi.js.map +1 -0
  120. package/dist/api/merchantURLsApi.d.ts +86 -0
  121. package/dist/api/merchantURLsApi.js +502 -0
  122. package/dist/api/merchantURLsApi.js.map +1 -0
  123. package/dist/api/mobileTerminalApi.d.ts +52 -0
  124. package/dist/api/mobileTerminalApi.js +259 -0
  125. package/dist/api/mobileTerminalApi.js.map +1 -0
  126. package/dist/api/newsApi.d.ts +69 -0
  127. package/dist/api/newsApi.js +380 -0
  128. package/dist/api/newsApi.js.map +1 -0
  129. package/dist/api/paymentDesignsApi.d.ts +77 -0
  130. package/dist/api/paymentDesignsApi.js +441 -0
  131. package/dist/api/paymentDesignsApi.js.map +1 -0
  132. package/dist/api/performancesApi.d.ts +69 -0
  133. package/dist/api/performancesApi.js +380 -0
  134. package/dist/api/performancesApi.js.map +1 -0
  135. package/dist/api/promoCodesApi.d.ts +69 -0
  136. package/dist/api/promoCodesApi.js +380 -0
  137. package/dist/api/promoCodesApi.js.map +1 -0
  138. package/dist/api/sMSApi.d.ts +355 -0
  139. package/dist/api/sMSApi.js +2520 -0
  140. package/dist/api/sMSApi.js.map +1 -0
  141. package/dist/api/settingsApi.d.ts +44 -0
  142. package/dist/api/settingsApi.js +186 -0
  143. package/dist/api/settingsApi.js.map +1 -0
  144. package/dist/api/shopifyTerminalApi.d.ts +51 -0
  145. package/dist/api/shopifyTerminalApi.js +259 -0
  146. package/dist/api/shopifyTerminalApi.js.map +1 -0
  147. package/dist/api/staticVoucherCampaignGroupsApi.d.ts +34 -0
  148. package/dist/api/staticVoucherCampaignGroupsApi.js +133 -0
  149. package/dist/api/staticVoucherCampaignGroupsApi.js.map +1 -0
  150. package/dist/api/staticVoucherCampaignsApi.d.ts +193 -0
  151. package/dist/api/staticVoucherCampaignsApi.js +1269 -0
  152. package/dist/api/staticVoucherCampaignsApi.js.map +1 -0
  153. package/dist/api/staticVouchersApi.d.ts +78 -0
  154. package/dist/api/staticVouchersApi.js +450 -0
  155. package/dist/api/staticVouchersApi.js.map +1 -0
  156. package/dist/api/systemApi.d.ts +88 -0
  157. package/dist/api/systemApi.js +511 -0
  158. package/dist/api/systemApi.js.map +1 -0
  159. package/dist/api/transactionLedgerApi.d.ts +36 -0
  160. package/dist/api/transactionLedgerApi.js +156 -0
  161. package/dist/api/transactionLedgerApi.js.map +1 -0
  162. package/dist/api/utilitiesApi.d.ts +35 -0
  163. package/dist/api/utilitiesApi.js +129 -0
  164. package/dist/api/utilitiesApi.js.map +1 -0
  165. package/dist/api/webTerminalApi.d.ts +51 -0
  166. package/dist/api/webTerminalApi.js +259 -0
  167. package/dist/api/webTerminalApi.js.map +1 -0
  168. package/dist/api/wixTerminalApi.d.ts +51 -0
  169. package/dist/api/wixTerminalApi.js +259 -0
  170. package/dist/api/wixTerminalApi.js.map +1 -0
  171. package/dist/api/wooCommerceTerminalApi.d.ts +51 -0
  172. package/dist/api/wooCommerceTerminalApi.js +259 -0
  173. package/dist/api/wooCommerceTerminalApi.js.map +1 -0
  174. package/dist/api.d.ts +2 -0
  175. package/dist/api.js +19 -0
  176. package/dist/api.js.map +1 -0
  177. package/dist/examples/advertisementcredits.example.d.ts +1 -0
  178. package/dist/examples/advertisementcredits.example.js +87 -0
  179. package/dist/examples/advertisementcredits.example.js.map +1 -0
  180. package/dist/examples/clubmembers.example.d.ts +1 -0
  181. package/dist/examples/clubmembers.example.js +96 -0
  182. package/dist/examples/clubmembers.example.js.map +1 -0
  183. package/dist/examples/constants.d.ts +6 -0
  184. package/dist/examples/constants.js +10 -0
  185. package/dist/examples/constants.js.map +1 -0
  186. package/dist/examples/dynamicvouchers.example.d.ts +1 -0
  187. package/dist/examples/dynamicvouchers.example.js +114 -0
  188. package/dist/examples/dynamicvouchers.example.js.map +1 -0
  189. package/dist/examples/linkbook.example.d.ts +1 -0
  190. package/dist/examples/linkbook.example.js +76 -0
  191. package/dist/examples/linkbook.example.js.map +1 -0
  192. package/dist/examples/membershiptiers.example.d.ts +1 -0
  193. package/dist/examples/membershiptiers.example.js +90 -0
  194. package/dist/examples/membershiptiers.example.js.map +1 -0
  195. package/dist/examples/merchantcredits.example.d.ts +1 -0
  196. package/dist/examples/merchantcredits.example.js +93 -0
  197. package/dist/examples/merchantcredits.example.js.map +1 -0
  198. package/dist/examples/merchanturls.example.d.ts +1 -0
  199. package/dist/examples/merchanturls.example.js +77 -0
  200. package/dist/examples/merchanturls.example.js.map +1 -0
  201. package/dist/examples/news.example.d.ts +1 -0
  202. package/dist/examples/news.example.js +76 -0
  203. package/dist/examples/news.example.js.map +1 -0
  204. package/dist/examples/paymentdesigns.example.d.ts +1 -0
  205. package/dist/examples/paymentdesigns.example.js +84 -0
  206. package/dist/examples/paymentdesigns.example.js.map +1 -0
  207. package/dist/examples/performances.example.d.ts +1 -0
  208. package/dist/examples/performances.example.js +79 -0
  209. package/dist/examples/performances.example.js.map +1 -0
  210. package/dist/examples/promocodes.example.d.ts +1 -0
  211. package/dist/examples/promocodes.example.js +78 -0
  212. package/dist/examples/promocodes.example.js.map +1 -0
  213. package/dist/examples/sms.example.d.ts +1 -0
  214. package/dist/examples/sms.example.js +268 -0
  215. package/dist/examples/sms.example.js.map +1 -0
  216. package/dist/examples/staticvouchercampaigns.example.d.ts +1 -0
  217. package/dist/examples/staticvouchercampaigns.example.js +170 -0
  218. package/dist/examples/staticvouchercampaigns.example.js.map +1 -0
  219. package/dist/examples/staticvouchers.example.d.ts +1 -0
  220. package/dist/examples/staticvouchers.example.js +82 -0
  221. package/dist/examples/staticvouchers.example.js.map +1 -0
  222. package/dist/model/advertisementCredit.d.ts +26 -0
  223. package/dist/model/advertisementCredit.js +78 -0
  224. package/dist/model/advertisementCredit.js.map +1 -0
  225. package/dist/model/advertisementCreditBroadcast.d.ts +37 -0
  226. package/dist/model/advertisementCreditBroadcast.js +118 -0
  227. package/dist/model/advertisementCreditBroadcast.js.map +1 -0
  228. package/dist/model/advertisementCreditScan.d.ts +37 -0
  229. package/dist/model/advertisementCreditScan.js +128 -0
  230. package/dist/model/advertisementCreditScan.js.map +1 -0
  231. package/dist/model/agreement.d.ts +31 -0
  232. package/dist/model/agreement.js +103 -0
  233. package/dist/model/agreement.js.map +1 -0
  234. package/dist/model/alert.d.ts +22 -0
  235. package/dist/model/alert.js +58 -0
  236. package/dist/model/alert.js.map +1 -0
  237. package/dist/model/announcement.d.ts +20 -0
  238. package/dist/model/announcement.js +48 -0
  239. package/dist/model/announcement.js.map +1 -0
  240. package/dist/model/applicableTerminals.d.ts +13 -0
  241. package/dist/model/applicableTerminals.js +12 -0
  242. package/dist/model/applicableTerminals.js.map +1 -0
  243. package/dist/model/applicableTerminalsAnyOf.d.ts +3 -0
  244. package/dist/model/applicableTerminalsAnyOf.js +8 -0
  245. package/dist/model/applicableTerminalsAnyOf.js.map +1 -0
  246. package/dist/model/applicableTerminalsAnyOf1.d.ts +3 -0
  247. package/dist/model/applicableTerminalsAnyOf1.js +8 -0
  248. package/dist/model/applicableTerminalsAnyOf1.js.map +1 -0
  249. package/dist/model/applicableTerminalsAnyOf2.d.ts +3 -0
  250. package/dist/model/applicableTerminalsAnyOf2.js +8 -0
  251. package/dist/model/applicableTerminalsAnyOf2.js.map +1 -0
  252. package/dist/model/applicableTerminalsAnyOf3.d.ts +3 -0
  253. package/dist/model/applicableTerminalsAnyOf3.js +8 -0
  254. package/dist/model/applicableTerminalsAnyOf3.js.map +1 -0
  255. package/dist/model/applicableTerminalsAnyOf4.d.ts +3 -0
  256. package/dist/model/applicableTerminalsAnyOf4.js +8 -0
  257. package/dist/model/applicableTerminalsAnyOf4.js.map +1 -0
  258. package/dist/model/applicableTerminalsAnyOf5.d.ts +3 -0
  259. package/dist/model/applicableTerminalsAnyOf5.js +8 -0
  260. package/dist/model/applicableTerminalsAnyOf5.js.map +1 -0
  261. package/dist/model/applicableTerminalsAnyOf6.d.ts +3 -0
  262. package/dist/model/applicableTerminalsAnyOf6.js +8 -0
  263. package/dist/model/applicableTerminalsAnyOf6.js.map +1 -0
  264. package/dist/model/authError.d.ts +18 -0
  265. package/dist/model/authError.js +38 -0
  266. package/dist/model/authError.js.map +1 -0
  267. package/dist/model/availablePhoneNumbersRequest.d.ts +15 -0
  268. package/dist/model/availablePhoneNumbersRequest.js +23 -0
  269. package/dist/model/availablePhoneNumbersRequest.js.map +1 -0
  270. package/dist/model/clickFunnelAmount.d.ts +15 -0
  271. package/dist/model/clickFunnelAmount.js +23 -0
  272. package/dist/model/clickFunnelAmount.js.map +1 -0
  273. package/dist/model/clickFunnelContact.d.ts +51 -0
  274. package/dist/model/clickFunnelContact.js +198 -0
  275. package/dist/model/clickFunnelContact.js.map +1 -0
  276. package/dist/model/clickFunnelContactProfile.d.ts +48 -0
  277. package/dist/model/clickFunnelContactProfile.js +188 -0
  278. package/dist/model/clickFunnelContactProfile.js.map +1 -0
  279. package/dist/model/clickFunnelEvent.d.ts +16 -0
  280. package/dist/model/clickFunnelEvent.js +23 -0
  281. package/dist/model/clickFunnelEvent.js.map +1 -0
  282. package/dist/model/clickFunnelOriginalAmount.d.ts +15 -0
  283. package/dist/model/clickFunnelOriginalAmount.js +23 -0
  284. package/dist/model/clickFunnelOriginalAmount.js.map +1 -0
  285. package/dist/model/clickFunnelProduct.d.ts +42 -0
  286. package/dist/model/clickFunnelProduct.js +153 -0
  287. package/dist/model/clickFunnelProduct.js.map +1 -0
  288. package/dist/model/clickFunnelPurchase.d.ts +41 -0
  289. package/dist/model/clickFunnelPurchase.js +138 -0
  290. package/dist/model/clickFunnelPurchase.js.map +1 -0
  291. package/dist/model/clickFunnelRegistration.d.ts +16 -0
  292. package/dist/model/clickFunnelRegistration.js +23 -0
  293. package/dist/model/clickFunnelRegistration.js.map +1 -0
  294. package/dist/model/createStaticVoucherCampaign.d.ts +27 -0
  295. package/dist/model/createStaticVoucherCampaign.js +83 -0
  296. package/dist/model/createStaticVoucherCampaign.js.map +1 -0
  297. package/dist/model/createStaticVoucherCampaignWithVoucher.d.ts +27 -0
  298. package/dist/model/createStaticVoucherCampaignWithVoucher.js +83 -0
  299. package/dist/model/createStaticVoucherCampaignWithVoucher.js.map +1 -0
  300. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.d.ts +27 -0
  301. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js +83 -0
  302. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js.map +1 -0
  303. package/dist/model/dashboardWidget.d.ts +29 -0
  304. package/dist/model/dashboardWidget.js +93 -0
  305. package/dist/model/dashboardWidget.js.map +1 -0
  306. package/dist/model/document.d.ts +23 -0
  307. package/dist/model/document.js +63 -0
  308. package/dist/model/document.js.map +1 -0
  309. package/dist/model/duplicateRowFound.d.ts +18 -0
  310. package/dist/model/duplicateRowFound.js +38 -0
  311. package/dist/model/duplicateRowFound.js.map +1 -0
  312. package/dist/model/dynamicVoucher.d.ts +47 -0
  313. package/dist/model/dynamicVoucher.js +178 -0
  314. package/dist/model/dynamicVoucher.js.map +1 -0
  315. package/dist/model/dynamicVoucherBroadcast.d.ts +37 -0
  316. package/dist/model/dynamicVoucherBroadcast.js +118 -0
  317. package/dist/model/dynamicVoucherBroadcast.js.map +1 -0
  318. package/dist/model/employee.d.ts +30 -0
  319. package/dist/model/employee.js +98 -0
  320. package/dist/model/employee.js.map +1 -0
  321. package/dist/model/employeeAPIKey.d.ts +22 -0
  322. package/dist/model/employeeAPIKey.js +58 -0
  323. package/dist/model/employeeAPIKey.js.map +1 -0
  324. package/dist/model/employeeActivityLog.d.ts +20 -0
  325. package/dist/model/employeeActivityLog.js +48 -0
  326. package/dist/model/employeeActivityLog.js.map +1 -0
  327. package/dist/model/entityTooLarge.d.ts +18 -0
  328. package/dist/model/entityTooLarge.js +38 -0
  329. package/dist/model/entityTooLarge.js.map +1 -0
  330. package/dist/model/exportDataFile.d.ts +23 -0
  331. package/dist/model/exportDataFile.js +63 -0
  332. package/dist/model/exportDataFile.js.map +1 -0
  333. package/dist/model/falsumError.d.ts +16 -0
  334. package/dist/model/falsumError.js +23 -0
  335. package/dist/model/falsumError.js.map +1 -0
  336. package/dist/model/falsumField.d.ts +16 -0
  337. package/dist/model/falsumField.js +28 -0
  338. package/dist/model/falsumField.js.map +1 -0
  339. package/dist/model/feature.d.ts +22 -0
  340. package/dist/model/feature.js +58 -0
  341. package/dist/model/feature.js.map +1 -0
  342. package/dist/model/forbiddenRequest.d.ts +18 -0
  343. package/dist/model/forbiddenRequest.js +38 -0
  344. package/dist/model/forbiddenRequest.js.map +1 -0
  345. package/dist/model/foreignKeyDoesNotExist.d.ts +18 -0
  346. package/dist/model/foreignKeyDoesNotExist.js +38 -0
  347. package/dist/model/foreignKeyDoesNotExist.js.map +1 -0
  348. package/dist/model/helpDeskRequest.d.ts +23 -0
  349. package/dist/model/helpDeskRequest.js +63 -0
  350. package/dist/model/helpDeskRequest.js.map +1 -0
  351. package/dist/model/imageGrid.d.ts +22 -0
  352. package/dist/model/imageGrid.js +58 -0
  353. package/dist/model/imageGrid.js.map +1 -0
  354. package/dist/model/importedList.d.ts +21 -0
  355. package/dist/model/importedList.js +53 -0
  356. package/dist/model/importedList.js.map +1 -0
  357. package/dist/model/importedListRecipient.d.ts +21 -0
  358. package/dist/model/importedListRecipient.js +53 -0
  359. package/dist/model/importedListRecipient.js.map +1 -0
  360. package/dist/model/inboundSMS.d.ts +47 -0
  361. package/dist/model/inboundSMS.js +183 -0
  362. package/dist/model/inboundSMS.js.map +1 -0
  363. package/dist/model/inlineResponse200.d.ts +19 -0
  364. package/dist/model/inlineResponse200.js +38 -0
  365. package/dist/model/inlineResponse200.js.map +1 -0
  366. package/dist/model/inlineResponse2001.d.ts +16 -0
  367. package/dist/model/inlineResponse2001.js +28 -0
  368. package/dist/model/inlineResponse2001.js.map +1 -0
  369. package/dist/model/inlineResponse20010.d.ts +17 -0
  370. package/dist/model/inlineResponse20010.js +33 -0
  371. package/dist/model/inlineResponse20010.js.map +1 -0
  372. package/dist/model/inlineResponse2002.d.ts +14 -0
  373. package/dist/model/inlineResponse2002.js +18 -0
  374. package/dist/model/inlineResponse2002.js.map +1 -0
  375. package/dist/model/inlineResponse2003.d.ts +17 -0
  376. package/dist/model/inlineResponse2003.js +28 -0
  377. package/dist/model/inlineResponse2003.js.map +1 -0
  378. package/dist/model/inlineResponse2004.d.ts +16 -0
  379. package/dist/model/inlineResponse2004.js +23 -0
  380. package/dist/model/inlineResponse2004.js.map +1 -0
  381. package/dist/model/inlineResponse2005.d.ts +17 -0
  382. package/dist/model/inlineResponse2005.js +28 -0
  383. package/dist/model/inlineResponse2005.js.map +1 -0
  384. package/dist/model/inlineResponse2006.d.ts +17 -0
  385. package/dist/model/inlineResponse2006.js +28 -0
  386. package/dist/model/inlineResponse2006.js.map +1 -0
  387. package/dist/model/inlineResponse2007.d.ts +17 -0
  388. package/dist/model/inlineResponse2007.js +28 -0
  389. package/dist/model/inlineResponse2007.js.map +1 -0
  390. package/dist/model/inlineResponse2008.d.ts +17 -0
  391. package/dist/model/inlineResponse2008.js +28 -0
  392. package/dist/model/inlineResponse2008.js.map +1 -0
  393. package/dist/model/inlineResponse2009.d.ts +26 -0
  394. package/dist/model/inlineResponse2009.js +73 -0
  395. package/dist/model/inlineResponse2009.js.map +1 -0
  396. package/dist/model/internalServerError.d.ts +18 -0
  397. package/dist/model/internalServerError.js +38 -0
  398. package/dist/model/internalServerError.js.map +1 -0
  399. package/dist/model/ledgerEntry.d.ts +39 -0
  400. package/dist/model/ledgerEntry.js +138 -0
  401. package/dist/model/ledgerEntry.js.map +1 -0
  402. package/dist/model/linkBook.d.ts +23 -0
  403. package/dist/model/linkBook.js +63 -0
  404. package/dist/model/linkBook.js.map +1 -0
  405. package/dist/model/linkBookSection.d.ts +20 -0
  406. package/dist/model/linkBookSection.js +48 -0
  407. package/dist/model/linkBookSection.js.map +1 -0
  408. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.d.ts +15 -0
  409. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.js +23 -0
  410. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.js.map +1 -0
  411. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.d.ts +15 -0
  412. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.js +23 -0
  413. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.js.map +1 -0
  414. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.d.ts +15 -0
  415. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.js +23 -0
  416. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.js.map +1 -0
  417. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.d.ts +15 -0
  418. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.js +23 -0
  419. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.js.map +1 -0
  420. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.d.ts +15 -0
  421. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.js +23 -0
  422. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.js.map +1 -0
  423. package/dist/model/mSMemberHistory.d.ts +24 -0
  424. package/dist/model/mSMemberHistory.js +68 -0
  425. package/dist/model/mSMemberHistory.js.map +1 -0
  426. package/dist/model/mSMemberHistoryPagination.d.ts +17 -0
  427. package/dist/model/mSMemberHistoryPagination.js +28 -0
  428. package/dist/model/mSMemberHistoryPagination.js.map +1 -0
  429. package/dist/model/mSMemberRedemption.d.ts +23 -0
  430. package/dist/model/mSMemberRedemption.js +63 -0
  431. package/dist/model/mSMemberRedemption.js.map +1 -0
  432. package/dist/model/mSMemberRedemptionPagination.d.ts +17 -0
  433. package/dist/model/mSMemberRedemptionPagination.js +28 -0
  434. package/dist/model/mSMemberRedemptionPagination.js.map +1 -0
  435. package/dist/model/mSMembershipTierHistory.d.ts +23 -0
  436. package/dist/model/mSMembershipTierHistory.js +63 -0
  437. package/dist/model/mSMembershipTierHistory.js.map +1 -0
  438. package/dist/model/mSMembershipTierHistoryPagination.d.ts +17 -0
  439. package/dist/model/mSMembershipTierHistoryPagination.js +28 -0
  440. package/dist/model/mSMembershipTierHistoryPagination.js.map +1 -0
  441. package/dist/model/mSMembershipTierRedemption.d.ts +24 -0
  442. package/dist/model/mSMembershipTierRedemption.js +68 -0
  443. package/dist/model/mSMembershipTierRedemption.js.map +1 -0
  444. package/dist/model/mSMembershipTierRedemptionPagination.d.ts +17 -0
  445. package/dist/model/mSMembershipTierRedemptionPagination.js +28 -0
  446. package/dist/model/mSMembershipTierRedemptionPagination.js.map +1 -0
  447. package/dist/model/mSMerchantCreditHistory.d.ts +21 -0
  448. package/dist/model/mSMerchantCreditHistory.js +53 -0
  449. package/dist/model/mSMerchantCreditHistory.js.map +1 -0
  450. package/dist/model/mSMerchantCreditHistoryPagination.d.ts +17 -0
  451. package/dist/model/mSMerchantCreditHistoryPagination.js +28 -0
  452. package/dist/model/mSMerchantCreditHistoryPagination.js.map +1 -0
  453. package/dist/model/mSMerchantCreditRedemption.d.ts +23 -0
  454. package/dist/model/mSMerchantCreditRedemption.js +63 -0
  455. package/dist/model/mSMerchantCreditRedemption.js.map +1 -0
  456. package/dist/model/mSMerchantCreditRedemptionPagination.d.ts +17 -0
  457. package/dist/model/mSMerchantCreditRedemptionPagination.js +28 -0
  458. package/dist/model/mSMerchantCreditRedemptionPagination.js.map +1 -0
  459. package/dist/model/mediaFile.d.ts +23 -0
  460. package/dist/model/mediaFile.js +63 -0
  461. package/dist/model/mediaFile.js.map +1 -0
  462. package/dist/model/member.d.ts +25 -0
  463. package/dist/model/member.js +73 -0
  464. package/dist/model/member.js.map +1 -0
  465. package/dist/model/memberSearch.d.ts +20 -0
  466. package/dist/model/memberSearch.js +48 -0
  467. package/dist/model/memberSearch.js.map +1 -0
  468. package/dist/model/merchant.d.ts +33 -0
  469. package/dist/model/merchant.js +113 -0
  470. package/dist/model/merchant.js.map +1 -0
  471. package/dist/model/merchantCreditSearch.d.ts +17 -0
  472. package/dist/model/merchantCreditSearch.js +33 -0
  473. package/dist/model/merchantCreditSearch.js.map +1 -0
  474. package/dist/model/merchantNotInitialized.d.ts +18 -0
  475. package/dist/model/merchantNotInitialized.js +38 -0
  476. package/dist/model/merchantNotInitialized.js.map +1 -0
  477. package/dist/model/merchantURL.d.ts +20 -0
  478. package/dist/model/merchantURL.js +48 -0
  479. package/dist/model/merchantURL.js.map +1 -0
  480. package/dist/model/message.d.ts +22 -0
  481. package/dist/model/message.js +53 -0
  482. package/dist/model/message.js.map +1 -0
  483. package/dist/model/models.d.ts +325 -0
  484. package/dist/model/models.js +1055 -0
  485. package/dist/model/models.js.map +1 -0
  486. package/dist/model/moduleError.d.ts +34 -0
  487. package/dist/model/moduleError.js +118 -0
  488. package/dist/model/moduleError.js.map +1 -0
  489. package/dist/model/newsArticle.d.ts +23 -0
  490. package/dist/model/newsArticle.js +63 -0
  491. package/dist/model/newsArticle.js.map +1 -0
  492. package/dist/model/optInList.d.ts +31 -0
  493. package/dist/model/optInList.js +103 -0
  494. package/dist/model/optInList.js.map +1 -0
  495. package/dist/model/optInListSource.d.ts +21 -0
  496. package/dist/model/optInListSource.js +53 -0
  497. package/dist/model/optInListSource.js.map +1 -0
  498. package/dist/model/optInListSubscriber.d.ts +27 -0
  499. package/dist/model/optInListSubscriber.js +78 -0
  500. package/dist/model/optInListSubscriber.js.map +1 -0
  501. package/dist/model/outboundSMS.d.ts +35 -0
  502. package/dist/model/outboundSMS.js +123 -0
  503. package/dist/model/outboundSMS.js.map +1 -0
  504. package/dist/model/paginatedWTMembers.d.ts +17 -0
  505. package/dist/model/paginatedWTMembers.js +28 -0
  506. package/dist/model/paginatedWTMembers.js.map +1 -0
  507. package/dist/model/paginatedWTMerchantCredits.d.ts +17 -0
  508. package/dist/model/paginatedWTMerchantCredits.js +28 -0
  509. package/dist/model/paginatedWTMerchantCredits.js.map +1 -0
  510. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.d.ts +16 -0
  511. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js +28 -0
  512. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js.map +1 -0
  513. package/dist/model/paginationRequestWithSortOptions.d.ts +23 -0
  514. package/dist/model/paginationRequestWithSortOptions.js +44 -0
  515. package/dist/model/paginationRequestWithSortOptions.js.map +1 -0
  516. package/dist/model/paymentDesign.d.ts +32 -0
  517. package/dist/model/paymentDesign.js +108 -0
  518. package/dist/model/paymentDesign.js.map +1 -0
  519. package/dist/model/paymentPrefixes.d.ts +25 -0
  520. package/dist/model/paymentPrefixes.js +73 -0
  521. package/dist/model/paymentPrefixes.js.map +1 -0
  522. package/dist/model/performance.d.ts +26 -0
  523. package/dist/model/performance.js +78 -0
  524. package/dist/model/performance.js.map +1 -0
  525. package/dist/model/phoneNumber.d.ts +35 -0
  526. package/dist/model/phoneNumber.js +123 -0
  527. package/dist/model/phoneNumber.js.map +1 -0
  528. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.d.ts +26 -0
  529. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js +78 -0
  530. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js.map +1 -0
  531. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.d.ts +15 -0
  532. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js +23 -0
  533. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js.map +1 -0
  534. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.d.ts +15 -0
  535. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js +23 -0
  536. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js.map +1 -0
  537. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.d.ts +18 -0
  538. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js +38 -0
  539. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js.map +1 -0
  540. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.d.ts +23 -0
  541. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js +63 -0
  542. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js.map +1 -0
  543. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.d.ts +15 -0
  544. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js +23 -0
  545. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js.map +1 -0
  546. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.d.ts +20 -0
  547. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js +48 -0
  548. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js.map +1 -0
  549. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.d.ts +17 -0
  550. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js +33 -0
  551. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js.map +1 -0
  552. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.d.ts +15 -0
  553. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js +23 -0
  554. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js.map +1 -0
  555. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.d.ts +15 -0
  556. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.js +23 -0
  557. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.js.map +1 -0
  558. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.d.ts +17 -0
  559. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js +33 -0
  560. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js.map +1 -0
  561. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.d.ts +25 -0
  562. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js +73 -0
  563. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js.map +1 -0
  564. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.d.ts +24 -0
  565. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.js +68 -0
  566. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.js.map +1 -0
  567. package/dist/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.d.ts +19 -0
  568. package/dist/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.js +43 -0
  569. package/dist/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.js.map +1 -0
  570. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.d.ts +27 -0
  571. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js +83 -0
  572. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js.map +1 -0
  573. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.d.ts +16 -0
  574. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js +28 -0
  575. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js.map +1 -0
  576. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +34 -0
  577. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +118 -0
  578. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -0
  579. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.d.ts +18 -0
  580. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js +38 -0
  581. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js.map +1 -0
  582. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.d.ts +31 -0
  583. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js +98 -0
  584. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js.map +1 -0
  585. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.d.ts +18 -0
  586. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js +38 -0
  587. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js.map +1 -0
  588. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.d.ts +26 -0
  589. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js +78 -0
  590. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js.map +1 -0
  591. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.d.ts +32 -0
  592. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js +108 -0
  593. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -0
  594. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.d.ts +24 -0
  595. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.js +68 -0
  596. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.js.map +1 -0
  597. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.d.ts +26 -0
  598. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js +78 -0
  599. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js.map +1 -0
  600. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.d.ts +36 -0
  601. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js +123 -0
  602. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js.map +1 -0
  603. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +21 -0
  604. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +53 -0
  605. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -0
  606. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.d.ts +19 -0
  607. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.js +43 -0
  608. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.js.map +1 -0
  609. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.d.ts +16 -0
  610. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js +28 -0
  611. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js.map +1 -0
  612. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.d.ts +15 -0
  613. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js +23 -0
  614. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js.map +1 -0
  615. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.d.ts +18 -0
  616. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js +38 -0
  617. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js.map +1 -0
  618. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +33 -0
  619. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js +103 -0
  620. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js.map +1 -0
  621. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.d.ts +27 -0
  622. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js +83 -0
  623. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js.map +1 -0
  624. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.d.ts +16 -0
  625. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js +28 -0
  626. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js.map +1 -0
  627. package/dist/model/plan.d.ts +20 -0
  628. package/dist/model/plan.js +43 -0
  629. package/dist/model/plan.js.map +1 -0
  630. package/dist/model/portalPage.d.ts +54 -0
  631. package/dist/model/portalPage.js +59 -0
  632. package/dist/model/portalPage.js.map +1 -0
  633. package/dist/model/presignedPost.d.ts +16 -0
  634. package/dist/model/presignedPost.js +23 -0
  635. package/dist/model/presignedPost.js.map +1 -0
  636. package/dist/model/presignedPostFields.d.ts +11 -0
  637. package/dist/model/presignedPostFields.js +23 -0
  638. package/dist/model/presignedPostFields.js.map +1 -0
  639. package/dist/model/product.d.ts +22 -0
  640. package/dist/model/product.js +53 -0
  641. package/dist/model/product.js.map +1 -0
  642. package/dist/model/promoCode.d.ts +26 -0
  643. package/dist/model/promoCode.js +78 -0
  644. package/dist/model/promoCode.js.map +1 -0
  645. package/dist/model/reachPerformanceStats.d.ts +24 -0
  646. package/dist/model/reachPerformanceStats.js +68 -0
  647. package/dist/model/reachPerformanceStats.js.map +1 -0
  648. package/dist/model/request.d.ts +67 -0
  649. package/dist/model/request.js +283 -0
  650. package/dist/model/request.js.map +1 -0
  651. package/dist/model/response.d.ts +20 -0
  652. package/dist/model/response.js +48 -0
  653. package/dist/model/response.js.map +1 -0
  654. package/dist/model/role.d.ts +30 -0
  655. package/dist/model/role.js +88 -0
  656. package/dist/model/role.js.map +1 -0
  657. package/dist/model/roleAuditLog.d.ts +25 -0
  658. package/dist/model/roleAuditLog.js +73 -0
  659. package/dist/model/roleAuditLog.js.map +1 -0
  660. package/dist/model/sSImportedListRecipientCreateParams.d.ts +15 -0
  661. package/dist/model/sSImportedListRecipientCreateParams.js +23 -0
  662. package/dist/model/sSImportedListRecipientCreateParams.js.map +1 -0
  663. package/dist/model/sSOptInSource.d.ts +21 -0
  664. package/dist/model/sSOptInSource.js +53 -0
  665. package/dist/model/sSOptInSource.js.map +1 -0
  666. package/dist/model/simpleSMSBroadcast.d.ts +35 -0
  667. package/dist/model/simpleSMSBroadcast.js +113 -0
  668. package/dist/model/simpleSMSBroadcast.js.map +1 -0
  669. package/dist/model/staticVoucher.d.ts +46 -0
  670. package/dist/model/staticVoucher.js +173 -0
  671. package/dist/model/staticVoucher.js.map +1 -0
  672. package/dist/model/staticVoucherCampaign.d.ts +38 -0
  673. package/dist/model/staticVoucherCampaign.js +138 -0
  674. package/dist/model/staticVoucherCampaign.js.map +1 -0
  675. package/dist/model/staticVoucherCampaignBroadcast.d.ts +35 -0
  676. package/dist/model/staticVoucherCampaignBroadcast.js +108 -0
  677. package/dist/model/staticVoucherCampaignBroadcast.js.map +1 -0
  678. package/dist/model/staticVoucherCampaignGroup.d.ts +23 -0
  679. package/dist/model/staticVoucherCampaignGroup.js +63 -0
  680. package/dist/model/staticVoucherCampaignGroup.js.map +1 -0
  681. package/dist/model/staticVoucherCampaignUpdate.d.ts +23 -0
  682. package/dist/model/staticVoucherCampaignUpdate.js +63 -0
  683. package/dist/model/staticVoucherCampaignUpdate.js.map +1 -0
  684. package/dist/model/status.d.ts +13 -0
  685. package/dist/model/status.js +12 -0
  686. package/dist/model/status.js.map +1 -0
  687. package/dist/model/statusAnyOf.d.ts +3 -0
  688. package/dist/model/statusAnyOf.js +8 -0
  689. package/dist/model/statusAnyOf.js.map +1 -0
  690. package/dist/model/statusAnyOf1.d.ts +3 -0
  691. package/dist/model/statusAnyOf1.js +8 -0
  692. package/dist/model/statusAnyOf1.js.map +1 -0
  693. package/dist/model/statusAnyOf2.d.ts +3 -0
  694. package/dist/model/statusAnyOf2.js +8 -0
  695. package/dist/model/statusAnyOf2.js.map +1 -0
  696. package/dist/model/statusAnyOf3.d.ts +3 -0
  697. package/dist/model/statusAnyOf3.js +8 -0
  698. package/dist/model/statusAnyOf3.js.map +1 -0
  699. package/dist/model/subscriptionFeature.d.ts +22 -0
  700. package/dist/model/subscriptionFeature.js +58 -0
  701. package/dist/model/subscriptionFeature.js.map +1 -0
  702. package/dist/model/subscriptionPlan.d.ts +22 -0
  703. package/dist/model/subscriptionPlan.js +48 -0
  704. package/dist/model/subscriptionPlan.js.map +1 -0
  705. package/dist/model/subscriptionProduct.d.ts +24 -0
  706. package/dist/model/subscriptionProduct.js +58 -0
  707. package/dist/model/subscriptionProduct.js.map +1 -0
  708. package/dist/model/tcpa.d.ts +20 -0
  709. package/dist/model/tcpa.js +48 -0
  710. package/dist/model/tcpa.js.map +1 -0
  711. package/dist/model/updateStaticVoucherCampaignWithVoucher.d.ts +27 -0
  712. package/dist/model/updateStaticVoucherCampaignWithVoucher.js +83 -0
  713. package/dist/model/updateStaticVoucherCampaignWithVoucher.js.map +1 -0
  714. package/dist/model/vSCampaignGeneratedMessage.d.ts +16 -0
  715. package/dist/model/vSCampaignGeneratedMessage.js +28 -0
  716. package/dist/model/vSCampaignGeneratedMessage.js.map +1 -0
  717. package/dist/model/vSCampaignGeneratedMessagePagination.d.ts +17 -0
  718. package/dist/model/vSCampaignGeneratedMessagePagination.js +28 -0
  719. package/dist/model/vSCampaignGeneratedMessagePagination.js.map +1 -0
  720. package/dist/model/vSDynamicVoucherStatus.d.ts +13 -0
  721. package/dist/model/vSDynamicVoucherStatus.js +12 -0
  722. package/dist/model/vSDynamicVoucherStatus.js.map +1 -0
  723. package/dist/model/wTAdvertisementCredit.d.ts +26 -0
  724. package/dist/model/wTAdvertisementCredit.js +78 -0
  725. package/dist/model/wTAdvertisementCredit.js.map +1 -0
  726. package/dist/model/wTAdvertisementCreditCreateParams.d.ts +18 -0
  727. package/dist/model/wTAdvertisementCreditCreateParams.js +38 -0
  728. package/dist/model/wTAdvertisementCreditCreateParams.js.map +1 -0
  729. package/dist/model/wTAdvertisementCreditScan.d.ts +37 -0
  730. package/dist/model/wTAdvertisementCreditScan.js +128 -0
  731. package/dist/model/wTAdvertisementCreditScan.js.map +1 -0
  732. package/dist/model/wTAdvertisementCreditUpdateParams.d.ts +18 -0
  733. package/dist/model/wTAdvertisementCreditUpdateParams.js +38 -0
  734. package/dist/model/wTAdvertisementCreditUpdateParams.js.map +1 -0
  735. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.d.ts +19 -0
  736. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js +24 -0
  737. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js.map +1 -0
  738. package/dist/model/wTAuthenticationForgotPassword.d.ts +14 -0
  739. package/dist/model/wTAuthenticationForgotPassword.js +18 -0
  740. package/dist/model/wTAuthenticationForgotPassword.js.map +1 -0
  741. package/dist/model/wTAuthenticationLoginRequest.d.ts +15 -0
  742. package/dist/model/wTAuthenticationLoginRequest.js +23 -0
  743. package/dist/model/wTAuthenticationLoginRequest.js.map +1 -0
  744. package/dist/model/wTAuthenticationLoginResponse.d.ts +28 -0
  745. package/dist/model/wTAuthenticationLoginResponse.js +88 -0
  746. package/dist/model/wTAuthenticationLoginResponse.js.map +1 -0
  747. package/dist/model/wTAuthenticationRegister.d.ts +29 -0
  748. package/dist/model/wTAuthenticationRegister.js +93 -0
  749. package/dist/model/wTAuthenticationRegister.js.map +1 -0
  750. package/dist/model/wTAuthenticationRequestResetPassword.d.ts +14 -0
  751. package/dist/model/wTAuthenticationRequestResetPassword.js +18 -0
  752. package/dist/model/wTAuthenticationRequestResetPassword.js.map +1 -0
  753. package/dist/model/wTAuthenticationResetPassword.d.ts +16 -0
  754. package/dist/model/wTAuthenticationResetPassword.js +28 -0
  755. package/dist/model/wTAuthenticationResetPassword.js.map +1 -0
  756. package/dist/model/wTAuthenticationSSOLoginForDiscourse.d.ts +17 -0
  757. package/dist/model/wTAuthenticationSSOLoginForDiscourse.js +33 -0
  758. package/dist/model/wTAuthenticationSSOLoginForDiscourse.js.map +1 -0
  759. package/dist/model/wTBillingChangePlan.d.ts +14 -0
  760. package/dist/model/wTBillingChangePlan.js +18 -0
  761. package/dist/model/wTBillingChangePlan.js.map +1 -0
  762. package/dist/model/wTBillingSavePaymentMethod.d.ts +14 -0
  763. package/dist/model/wTBillingSavePaymentMethod.js +18 -0
  764. package/dist/model/wTBillingSavePaymentMethod.js.map +1 -0
  765. package/dist/model/wTBillingVerifyPaymentMethodResponse.d.ts +16 -0
  766. package/dist/model/wTBillingVerifyPaymentMethodResponse.js +23 -0
  767. package/dist/model/wTBillingVerifyPaymentMethodResponse.js.map +1 -0
  768. package/dist/model/wTCountResult.d.ts +14 -0
  769. package/dist/model/wTCountResult.js +18 -0
  770. package/dist/model/wTCountResult.js.map +1 -0
  771. package/dist/model/wTCustomerSearchByMemberID.d.ts +14 -0
  772. package/dist/model/wTCustomerSearchByMemberID.js +18 -0
  773. package/dist/model/wTCustomerSearchByMemberID.js.map +1 -0
  774. package/dist/model/wTCustomerSearchByPhoneNumber.d.ts +14 -0
  775. package/dist/model/wTCustomerSearchByPhoneNumber.js +18 -0
  776. package/dist/model/wTCustomerSearchByPhoneNumber.js.map +1 -0
  777. package/dist/model/wTDynamicVoucher.d.ts +47 -0
  778. package/dist/model/wTDynamicVoucher.js +178 -0
  779. package/dist/model/wTDynamicVoucher.js.map +1 -0
  780. package/dist/model/wTDynamicVoucherCreateParams.d.ts +26 -0
  781. package/dist/model/wTDynamicVoucherCreateParams.js +78 -0
  782. package/dist/model/wTDynamicVoucherCreateParams.js.map +1 -0
  783. package/dist/model/wTDynamicVoucherRedemption.d.ts +36 -0
  784. package/dist/model/wTDynamicVoucherRedemption.js +123 -0
  785. package/dist/model/wTDynamicVoucherRedemption.js.map +1 -0
  786. package/dist/model/wTDynamicVoucherSummary.d.ts +37 -0
  787. package/dist/model/wTDynamicVoucherSummary.js +133 -0
  788. package/dist/model/wTDynamicVoucherSummary.js.map +1 -0
  789. package/dist/model/wTDynamicVoucherUpdateParams.d.ts +26 -0
  790. package/dist/model/wTDynamicVoucherUpdateParams.js +78 -0
  791. package/dist/model/wTDynamicVoucherUpdateParams.js.map +1 -0
  792. package/dist/model/wTEmployee.d.ts +30 -0
  793. package/dist/model/wTEmployee.js +98 -0
  794. package/dist/model/wTEmployee.js.map +1 -0
  795. package/dist/model/wTEmployeeAPIKey.d.ts +22 -0
  796. package/dist/model/wTEmployeeAPIKey.js +58 -0
  797. package/dist/model/wTEmployeeAPIKey.js.map +1 -0
  798. package/dist/model/wTEmployeeAPIKeyCreateParams.d.ts +15 -0
  799. package/dist/model/wTEmployeeAPIKeyCreateParams.js +23 -0
  800. package/dist/model/wTEmployeeAPIKeyCreateParams.js.map +1 -0
  801. package/dist/model/wTEmployeeAPIKeyUpdateParams.d.ts +15 -0
  802. package/dist/model/wTEmployeeAPIKeyUpdateParams.js +23 -0
  803. package/dist/model/wTEmployeeAPIKeyUpdateParams.js.map +1 -0
  804. package/dist/model/wTEmployeeCreate.d.ts +22 -0
  805. package/dist/model/wTEmployeeCreate.js +58 -0
  806. package/dist/model/wTEmployeeCreate.js.map +1 -0
  807. package/dist/model/wTEmployeeCreateAlert.d.ts +15 -0
  808. package/dist/model/wTEmployeeCreateAlert.js +23 -0
  809. package/dist/model/wTEmployeeCreateAlert.js.map +1 -0
  810. package/dist/model/wTEmployeeCreateDocument.d.ts +16 -0
  811. package/dist/model/wTEmployeeCreateDocument.js +28 -0
  812. package/dist/model/wTEmployeeCreateDocument.js.map +1 -0
  813. package/dist/model/wTEmployeeCreateMediaFile.d.ts +16 -0
  814. package/dist/model/wTEmployeeCreateMediaFile.js +28 -0
  815. package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -0
  816. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.d.ts +14 -0
  817. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js +18 -0
  818. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js.map +1 -0
  819. package/dist/model/wTEmployeeFileCreate.d.ts +15 -0
  820. package/dist/model/wTEmployeeFileCreate.js +23 -0
  821. package/dist/model/wTEmployeeFileCreate.js.map +1 -0
  822. package/dist/model/wTEmployeeImportRecords.d.ts +15 -0
  823. package/dist/model/wTEmployeeImportRecords.js +23 -0
  824. package/dist/model/wTEmployeeImportRecords.js.map +1 -0
  825. package/dist/model/wTEmployeeNotification.d.ts +17 -0
  826. package/dist/model/wTEmployeeNotification.js +33 -0
  827. package/dist/model/wTEmployeeNotification.js.map +1 -0
  828. package/dist/model/wTEmployeePeerRoles.d.ts +14 -0
  829. package/dist/model/wTEmployeePeerRoles.js +18 -0
  830. package/dist/model/wTEmployeePeerRoles.js.map +1 -0
  831. package/dist/model/wTEmployeeS3FilePresign.d.ts +16 -0
  832. package/dist/model/wTEmployeeS3FilePresign.js +28 -0
  833. package/dist/model/wTEmployeeS3FilePresign.js.map +1 -0
  834. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.d.ts +20 -0
  835. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js +48 -0
  836. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js.map +1 -0
  837. package/dist/model/wTEmployeeScheduleSimpleSMS.d.ts +19 -0
  838. package/dist/model/wTEmployeeScheduleSimpleSMS.js +43 -0
  839. package/dist/model/wTEmployeeScheduleSimpleSMS.js.map +1 -0
  840. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.d.ts +18 -0
  841. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js +38 -0
  842. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js.map +1 -0
  843. package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +16 -0
  844. package/dist/model/wTEmployeeSendHelpDeskResponse.js +28 -0
  845. package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -0
  846. package/dist/model/wTEmployeeUpdate.d.ts +21 -0
  847. package/dist/model/wTEmployeeUpdate.js +53 -0
  848. package/dist/model/wTEmployeeUpdate.js.map +1 -0
  849. package/dist/model/wTEmployeeUpdateRecords.d.ts +15 -0
  850. package/dist/model/wTEmployeeUpdateRecords.js +23 -0
  851. package/dist/model/wTEmployeeUpdateRecords.js.map +1 -0
  852. package/dist/model/wTFetchWalletPaymentObjectWithToken.d.ts +17 -0
  853. package/dist/model/wTFetchWalletPaymentObjectWithToken.js +33 -0
  854. package/dist/model/wTFetchWalletPaymentObjectWithToken.js.map +1 -0
  855. package/dist/model/wTImageGridCreateParams.d.ts +17 -0
  856. package/dist/model/wTImageGridCreateParams.js +33 -0
  857. package/dist/model/wTImageGridCreateParams.js.map +1 -0
  858. package/dist/model/wTImageGridUpdateParams.d.ts +17 -0
  859. package/dist/model/wTImageGridUpdateParams.js +33 -0
  860. package/dist/model/wTImageGridUpdateParams.js.map +1 -0
  861. package/dist/model/wTImportedList.d.ts +21 -0
  862. package/dist/model/wTImportedList.js +53 -0
  863. package/dist/model/wTImportedList.js.map +1 -0
  864. package/dist/model/wTImportedListRecipientFromMembershipTierImport.d.ts +16 -0
  865. package/dist/model/wTImportedListRecipientFromMembershipTierImport.js +28 -0
  866. package/dist/model/wTImportedListRecipientFromMembershipTierImport.js.map +1 -0
  867. package/dist/model/wTInfoGenesisLookupRequestErrors.d.ts +17 -0
  868. package/dist/model/wTInfoGenesisLookupRequestErrors.js +33 -0
  869. package/dist/model/wTInfoGenesisLookupRequestErrors.js.map +1 -0
  870. package/dist/model/wTInfoGenesisRecordFilterParameters.d.ts +16 -0
  871. package/dist/model/wTInfoGenesisRecordFilterParameters.js +28 -0
  872. package/dist/model/wTInfoGenesisRecordFilterParameters.js.map +1 -0
  873. package/dist/model/wTInfoGenesisRoutingIDs.d.ts +14 -0
  874. package/dist/model/wTInfoGenesisRoutingIDs.js +18 -0
  875. package/dist/model/wTInfoGenesisRoutingIDs.js.map +1 -0
  876. package/dist/model/wTInfoGenesisUniquePostingIDs.d.ts +14 -0
  877. package/dist/model/wTInfoGenesisUniquePostingIDs.js +18 -0
  878. package/dist/model/wTInfoGenesisUniquePostingIDs.js.map +1 -0
  879. package/dist/model/wTLinkBook.d.ts +23 -0
  880. package/dist/model/wTLinkBook.js +63 -0
  881. package/dist/model/wTLinkBook.js.map +1 -0
  882. package/dist/model/wTLinkBookCreateParams.d.ts +18 -0
  883. package/dist/model/wTLinkBookCreateParams.js +38 -0
  884. package/dist/model/wTLinkBookCreateParams.js.map +1 -0
  885. package/dist/model/wTLinkBookSectionCreateParams.d.ts +15 -0
  886. package/dist/model/wTLinkBookSectionCreateParams.js +23 -0
  887. package/dist/model/wTLinkBookSectionCreateParams.js.map +1 -0
  888. package/dist/model/wTLinkBookSectionUpdateParams.d.ts +15 -0
  889. package/dist/model/wTLinkBookSectionUpdateParams.js +23 -0
  890. package/dist/model/wTLinkBookSectionUpdateParams.js.map +1 -0
  891. package/dist/model/wTLinkBookUpdateParams.d.ts +18 -0
  892. package/dist/model/wTLinkBookUpdateParams.js +38 -0
  893. package/dist/model/wTLinkBookUpdateParams.js.map +1 -0
  894. package/dist/model/wTMember.d.ts +25 -0
  895. package/dist/model/wTMember.js +73 -0
  896. package/dist/model/wTMember.js.map +1 -0
  897. package/dist/model/wTMemberCreationParams.d.ts +19 -0
  898. package/dist/model/wTMemberCreationParams.js +43 -0
  899. package/dist/model/wTMemberCreationParams.js.map +1 -0
  900. package/dist/model/wTMembershipTier.d.ts +23 -0
  901. package/dist/model/wTMembershipTier.js +63 -0
  902. package/dist/model/wTMembershipTier.js.map +1 -0
  903. package/dist/model/wTMembershipTierCreationParams.d.ts +18 -0
  904. package/dist/model/wTMembershipTierCreationParams.js +38 -0
  905. package/dist/model/wTMembershipTierCreationParams.js.map +1 -0
  906. package/dist/model/wTMembershipTierUpdateParams.d.ts +18 -0
  907. package/dist/model/wTMembershipTierUpdateParams.js +38 -0
  908. package/dist/model/wTMembershipTierUpdateParams.js.map +1 -0
  909. package/dist/model/wTMembershipTierWithMemberCount.d.ts +24 -0
  910. package/dist/model/wTMembershipTierWithMemberCount.js +68 -0
  911. package/dist/model/wTMembershipTierWithMemberCount.js.map +1 -0
  912. package/dist/model/wTMerchantCredit.d.ts +23 -0
  913. package/dist/model/wTMerchantCredit.js +63 -0
  914. package/dist/model/wTMerchantCredit.js.map +1 -0
  915. package/dist/model/wTMerchantCreditCreationParams.d.ts +16 -0
  916. package/dist/model/wTMerchantCreditCreationParams.js +28 -0
  917. package/dist/model/wTMerchantCreditCreationParams.js.map +1 -0
  918. package/dist/model/wTMerchantURLCreate.d.ts +15 -0
  919. package/dist/model/wTMerchantURLCreate.js +23 -0
  920. package/dist/model/wTMerchantURLCreate.js.map +1 -0
  921. package/dist/model/wTMerchantURLUpdate.d.ts +15 -0
  922. package/dist/model/wTMerchantURLUpdate.js +23 -0
  923. package/dist/model/wTMerchantURLUpdate.js.map +1 -0
  924. package/dist/model/wTMerchantUpdate.d.ts +22 -0
  925. package/dist/model/wTMerchantUpdate.js +58 -0
  926. package/dist/model/wTMerchantUpdate.js.map +1 -0
  927. package/dist/model/wTMerchantUpdateBillingContact.d.ts +14 -0
  928. package/dist/model/wTMerchantUpdateBillingContact.js +18 -0
  929. package/dist/model/wTMerchantUpdateBillingContact.js.map +1 -0
  930. package/dist/model/wTMerchantUpdatePOSIntegration.d.ts +14 -0
  931. package/dist/model/wTMerchantUpdatePOSIntegration.js +18 -0
  932. package/dist/model/wTMerchantUpdatePOSIntegration.js.map +1 -0
  933. package/dist/model/wTNewsArticleCreateParams.d.ts +18 -0
  934. package/dist/model/wTNewsArticleCreateParams.js +38 -0
  935. package/dist/model/wTNewsArticleCreateParams.js.map +1 -0
  936. package/dist/model/wTNewsArticleUpdateParams.d.ts +18 -0
  937. package/dist/model/wTNewsArticleUpdateParams.js +38 -0
  938. package/dist/model/wTNewsArticleUpdateParams.js.map +1 -0
  939. package/dist/model/wTOptInList.d.ts +31 -0
  940. package/dist/model/wTOptInList.js +103 -0
  941. package/dist/model/wTOptInList.js.map +1 -0
  942. package/dist/model/wTOptInListCreationParams.d.ts +26 -0
  943. package/dist/model/wTOptInListCreationParams.js +78 -0
  944. package/dist/model/wTOptInListCreationParams.js.map +1 -0
  945. package/dist/model/wTPaymentDesign.d.ts +32 -0
  946. package/dist/model/wTPaymentDesign.js +108 -0
  947. package/dist/model/wTPaymentDesign.js.map +1 -0
  948. package/dist/model/wTPaymentDesignCreateParams.d.ts +28 -0
  949. package/dist/model/wTPaymentDesignCreateParams.js +88 -0
  950. package/dist/model/wTPaymentDesignCreateParams.js.map +1 -0
  951. package/dist/model/wTPaymentDesignUpdateParams.d.ts +28 -0
  952. package/dist/model/wTPaymentDesignUpdateParams.js +88 -0
  953. package/dist/model/wTPaymentDesignUpdateParams.js.map +1 -0
  954. package/dist/model/wTPerformanceCreateParams.d.ts +21 -0
  955. package/dist/model/wTPerformanceCreateParams.js +53 -0
  956. package/dist/model/wTPerformanceCreateParams.js.map +1 -0
  957. package/dist/model/wTPerformanceUpdateParams.d.ts +21 -0
  958. package/dist/model/wTPerformanceUpdateParams.js +53 -0
  959. package/dist/model/wTPerformanceUpdateParams.js.map +1 -0
  960. package/dist/model/wTPosMachine.d.ts +23 -0
  961. package/dist/model/wTPosMachine.js +63 -0
  962. package/dist/model/wTPosMachine.js.map +1 -0
  963. package/dist/model/wTPosMachineCreateParams.d.ts +18 -0
  964. package/dist/model/wTPosMachineCreateParams.js +38 -0
  965. package/dist/model/wTPosMachineCreateParams.js.map +1 -0
  966. package/dist/model/wTPosMachineUpdateParams.d.ts +18 -0
  967. package/dist/model/wTPosMachineUpdateParams.js +38 -0
  968. package/dist/model/wTPosMachineUpdateParams.js.map +1 -0
  969. package/dist/model/wTPromoCodeCreateParams.d.ts +21 -0
  970. package/dist/model/wTPromoCodeCreateParams.js +53 -0
  971. package/dist/model/wTPromoCodeCreateParams.js.map +1 -0
  972. package/dist/model/wTPromoCodeUpdateParams.d.ts +21 -0
  973. package/dist/model/wTPromoCodeUpdateParams.js +53 -0
  974. package/dist/model/wTPromoCodeUpdateParams.js.map +1 -0
  975. package/dist/model/wTRole.d.ts +29 -0
  976. package/dist/model/wTRole.js +88 -0
  977. package/dist/model/wTRole.js.map +1 -0
  978. package/dist/model/wTSMSAcquirePhoneNumber.d.ts +14 -0
  979. package/dist/model/wTSMSAcquirePhoneNumber.js +18 -0
  980. package/dist/model/wTSMSAcquirePhoneNumber.js.map +1 -0
  981. package/dist/model/wTSMSCreateAgreement.d.ts +25 -0
  982. package/dist/model/wTSMSCreateAgreement.js +73 -0
  983. package/dist/model/wTSMSCreateAgreement.js.map +1 -0
  984. package/dist/model/wTSMSImportOptInListSubscribers.d.ts +16 -0
  985. package/dist/model/wTSMSImportOptInListSubscribers.js +28 -0
  986. package/dist/model/wTSMSImportOptInListSubscribers.js.map +1 -0
  987. package/dist/model/wTSMSImportedListCreate.d.ts +16 -0
  988. package/dist/model/wTSMSImportedListCreate.js +28 -0
  989. package/dist/model/wTSMSImportedListCreate.js.map +1 -0
  990. package/dist/model/wTSMSLimits.d.ts +15 -0
  991. package/dist/model/wTSMSLimits.js +23 -0
  992. package/dist/model/wTSMSLimits.js.map +1 -0
  993. package/dist/model/wTSMSOptInListSourceCreate.d.ts +15 -0
  994. package/dist/model/wTSMSOptInListSourceCreate.js +23 -0
  995. package/dist/model/wTSMSOptInListSourceCreate.js.map +1 -0
  996. package/dist/model/wTSMSUpdatePhoneNumberConfig.d.ts +25 -0
  997. package/dist/model/wTSMSUpdatePhoneNumberConfig.js +73 -0
  998. package/dist/model/wTSMSUpdatePhoneNumberConfig.js.map +1 -0
  999. package/dist/model/wTSettingsSetPassword.d.ts +14 -0
  1000. package/dist/model/wTSettingsSetPassword.js +18 -0
  1001. package/dist/model/wTSettingsSetPassword.js.map +1 -0
  1002. package/dist/model/wTStaticVoucher.d.ts +46 -0
  1003. package/dist/model/wTStaticVoucher.js +173 -0
  1004. package/dist/model/wTStaticVoucher.js.map +1 -0
  1005. package/dist/model/wTStaticVoucherCampaign.d.ts +38 -0
  1006. package/dist/model/wTStaticVoucherCampaign.js +138 -0
  1007. package/dist/model/wTStaticVoucherCampaign.js.map +1 -0
  1008. package/dist/model/wTStaticVoucherCampaignPreviewMessages.d.ts +16 -0
  1009. package/dist/model/wTStaticVoucherCampaignPreviewMessages.js +28 -0
  1010. package/dist/model/wTStaticVoucherCampaignPreviewMessages.js.map +1 -0
  1011. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.d.ts +18 -0
  1012. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js +38 -0
  1013. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js.map +1 -0
  1014. package/dist/model/wTStaticVoucherCreateParams.d.ts +17 -0
  1015. package/dist/model/wTStaticVoucherCreateParams.js +33 -0
  1016. package/dist/model/wTStaticVoucherCreateParams.js.map +1 -0
  1017. package/dist/model/wTStaticVoucherUpdateParams.d.ts +16 -0
  1018. package/dist/model/wTStaticVoucherUpdateParams.js +28 -0
  1019. package/dist/model/wTStaticVoucherUpdateParams.js.map +1 -0
  1020. package/dist/model/wTSystemApprovePhoneNumber.d.ts +15 -0
  1021. package/dist/model/wTSystemApprovePhoneNumber.js +23 -0
  1022. package/dist/model/wTSystemApprovePhoneNumber.js.map +1 -0
  1023. package/dist/model/wTSystemRoleCreate.d.ts +15 -0
  1024. package/dist/model/wTSystemRoleCreate.js +23 -0
  1025. package/dist/model/wTSystemRoleCreate.js.map +1 -0
  1026. package/dist/model/wTTCPAOpt.d.ts +16 -0
  1027. package/dist/model/wTTCPAOpt.js +28 -0
  1028. package/dist/model/wTTCPAOpt.js.map +1 -0
  1029. package/dist/model/wTTwilioRequestAuthyCode.d.ts +15 -0
  1030. package/dist/model/wTTwilioRequestAuthyCode.js +23 -0
  1031. package/dist/model/wTTwilioRequestAuthyCode.js.map +1 -0
  1032. package/dist/model/wTTwilioVerifyAuthyCode.d.ts +16 -0
  1033. package/dist/model/wTTwilioVerifyAuthyCode.js +28 -0
  1034. package/dist/model/wTTwilioVerifyAuthyCode.js.map +1 -0
  1035. package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +50 -0
  1036. package/dist/model/wTWalletConfigurationSaveWalletRecord.js +198 -0
  1037. package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -0
  1038. package/dist/model/wTWalletItemRedemption.d.ts +16 -0
  1039. package/dist/model/wTWalletItemRedemption.js +28 -0
  1040. package/dist/model/wTWalletItemRedemption.js.map +1 -0
  1041. package/dist/model/wTWalletObjectPrefixCounts.d.ts +17 -0
  1042. package/dist/model/wTWalletObjectPrefixCounts.js +28 -0
  1043. package/dist/model/wTWalletObjectPrefixCounts.js.map +1 -0
  1044. package/dist/model/wTWalletPageView.d.ts +51 -0
  1045. package/dist/model/wTWalletPageView.js +198 -0
  1046. package/dist/model/wTWalletPageView.js.map +1 -0
  1047. package/dist/model/wTWalletPageViewCount.d.ts +16 -0
  1048. package/dist/model/wTWalletPageViewCount.js +28 -0
  1049. package/dist/model/wTWalletPageViewCount.js.map +1 -0
  1050. package/dist/model/wTWalletPageViewGeoPoint.d.ts +15 -0
  1051. package/dist/model/wTWalletPageViewGeoPoint.js +23 -0
  1052. package/dist/model/wTWalletPageViewGeoPoint.js.map +1 -0
  1053. package/dist/model/walletConfiguration.d.ts +54 -0
  1054. package/dist/model/walletConfiguration.js +218 -0
  1055. package/dist/model/walletConfiguration.js.map +1 -0
  1056. package/dist/model/walletPageView.d.ts +51 -0
  1057. package/dist/model/walletPageView.js +198 -0
  1058. package/dist/model/walletPageView.js.map +1 -0
  1059. package/dist/model/webpage.d.ts +23 -0
  1060. package/dist/model/webpage.js +63 -0
  1061. package/dist/model/webpage.js.map +1 -0
  1062. package/model/advertisementCredit.ts +103 -0
  1063. package/model/advertisementCreditBroadcast.ts +154 -0
  1064. package/model/advertisementCreditScan.ts +170 -0
  1065. package/model/agreement.ts +133 -0
  1066. package/model/alert.ts +79 -0
  1067. package/model/announcement.ts +67 -0
  1068. package/model/applicableTerminals.ts +33 -0
  1069. package/model/applicableTerminalsAnyOf.ts +17 -0
  1070. package/model/applicableTerminalsAnyOf1.ts +17 -0
  1071. package/model/applicableTerminalsAnyOf2.ts +17 -0
  1072. package/model/applicableTerminalsAnyOf3.ts +17 -0
  1073. package/model/applicableTerminalsAnyOf4.ts +17 -0
  1074. package/model/applicableTerminalsAnyOf5.ts +17 -0
  1075. package/model/applicableTerminalsAnyOf6.ts +17 -0
  1076. package/model/authError.ts +55 -0
  1077. package/model/availablePhoneNumbersRequest.ts +43 -0
  1078. package/model/clickFunnelAmount.ts +37 -0
  1079. package/model/clickFunnelContact.ts +248 -0
  1080. package/model/clickFunnelContactProfile.ts +235 -0
  1081. package/model/clickFunnelEvent.ts +38 -0
  1082. package/model/clickFunnelOriginalAmount.ts +37 -0
  1083. package/model/clickFunnelProduct.ts +194 -0
  1084. package/model/clickFunnelPurchase.ts +178 -0
  1085. package/model/clickFunnelRegistration.ts +38 -0
  1086. package/model/createStaticVoucherCampaign.ts +109 -0
  1087. package/model/createStaticVoucherCampaignWithVoucher.ts +109 -0
  1088. package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +109 -0
  1089. package/model/dashboardWidget.ts +121 -0
  1090. package/model/document.ts +100 -0
  1091. package/model/duplicateRowFound.ts +55 -0
  1092. package/model/dynamicVoucher.ts +224 -0
  1093. package/model/dynamicVoucherBroadcast.ts +154 -0
  1094. package/model/employee.ts +127 -0
  1095. package/model/employeeAPIKey.ts +82 -0
  1096. package/model/employeeActivityLog.ts +67 -0
  1097. package/model/entityTooLarge.ts +55 -0
  1098. package/model/exportDataFile.ts +85 -0
  1099. package/model/falsumError.ts +41 -0
  1100. package/model/falsumField.ts +55 -0
  1101. package/model/feature.ts +79 -0
  1102. package/model/forbiddenRequest.ts +55 -0
  1103. package/model/foreignKeyDoesNotExist.ts +55 -0
  1104. package/model/helpDeskRequest.ts +85 -0
  1105. package/model/imageGrid.ts +79 -0
  1106. package/model/importedList.ts +73 -0
  1107. package/model/importedListRecipient.ts +73 -0
  1108. package/model/inboundSMS.ts +229 -0
  1109. package/model/inlineResponse200.ts +56 -0
  1110. package/model/inlineResponse2001.ts +43 -0
  1111. package/model/inlineResponse20010.ts +49 -0
  1112. package/model/inlineResponse2002.ts +31 -0
  1113. package/model/inlineResponse2003.ts +44 -0
  1114. package/model/inlineResponse2004.ts +38 -0
  1115. package/model/inlineResponse2005.ts +44 -0
  1116. package/model/inlineResponse2006.ts +44 -0
  1117. package/model/inlineResponse2007.ts +44 -0
  1118. package/model/inlineResponse2008.ts +44 -0
  1119. package/model/inlineResponse2009.ts +98 -0
  1120. package/model/internalServerError.ts +55 -0
  1121. package/model/ledgerEntry.ts +176 -0
  1122. package/model/linkBook.ts +85 -0
  1123. package/model/linkBookSection.ts +67 -0
  1124. package/model/mSAnalyticsMemberCountPartitionedByDate.ts +43 -0
  1125. package/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.ts +43 -0
  1126. package/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.ts +43 -0
  1127. package/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.ts +43 -0
  1128. package/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.ts +43 -0
  1129. package/model/mSMemberHistory.ts +112 -0
  1130. package/model/mSMemberHistoryPagination.ts +53 -0
  1131. package/model/mSMemberRedemption.ts +109 -0
  1132. package/model/mSMemberRedemptionPagination.ts +53 -0
  1133. package/model/mSMembershipTierHistory.ts +106 -0
  1134. package/model/mSMembershipTierHistoryPagination.ts +53 -0
  1135. package/model/mSMembershipTierRedemption.ts +121 -0
  1136. package/model/mSMembershipTierRedemptionPagination.ts +53 -0
  1137. package/model/mSMerchantCreditHistory.ts +88 -0
  1138. package/model/mSMerchantCreditHistoryPagination.ts +53 -0
  1139. package/model/mSMerchantCreditRedemption.ts +109 -0
  1140. package/model/mSMerchantCreditRedemptionPagination.ts +53 -0
  1141. package/model/mediaFile.ts +100 -0
  1142. package/model/member.ts +118 -0
  1143. package/model/memberSearch.ts +88 -0
  1144. package/model/merchant.ts +145 -0
  1145. package/model/merchantCreditSearch.ts +61 -0
  1146. package/model/merchantNotInitialized.ts +55 -0
  1147. package/model/merchantURL.ts +67 -0
  1148. package/model/message.ts +74 -0
  1149. package/model/models.ts +1058 -0
  1150. package/model/moduleError.ts +151 -0
  1151. package/model/newsArticle.ts +85 -0
  1152. package/model/optInList.ts +133 -0
  1153. package/model/optInListSource.ts +73 -0
  1154. package/model/optInListSubscriber.ts +104 -0
  1155. package/model/outboundSMS.ts +157 -0
  1156. package/model/paginatedWTMembers.ts +53 -0
  1157. package/model/paginatedWTMerchantCredits.ts +53 -0
  1158. package/model/paginationRequestWithIDAndWithoutSortOptions.ts +49 -0
  1159. package/model/paginationRequestWithSortOptions.ts +75 -0
  1160. package/model/paymentDesign.ts +139 -0
  1161. package/model/paymentPrefixes.ts +97 -0
  1162. package/model/performance.ts +109 -0
  1163. package/model/phoneNumber.ts +157 -0
  1164. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +106 -0
  1165. package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +40 -0
  1166. package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +40 -0
  1167. package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +67 -0
  1168. package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +106 -0
  1169. package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +43 -0
  1170. package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +82 -0
  1171. package/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.ts +64 -0
  1172. package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +46 -0
  1173. package/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.ts +40 -0
  1174. package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +52 -0
  1175. package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +100 -0
  1176. package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.ts +94 -0
  1177. package/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts +64 -0
  1178. package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +112 -0
  1179. package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +46 -0
  1180. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +154 -0
  1181. package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +58 -0
  1182. package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +137 -0
  1183. package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +58 -0
  1184. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +106 -0
  1185. package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +142 -0
  1186. package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +94 -0
  1187. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +106 -0
  1188. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +167 -0
  1189. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +76 -0
  1190. package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +76 -0
  1191. package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +52 -0
  1192. package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +40 -0
  1193. package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +58 -0
  1194. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +138 -0
  1195. package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +112 -0
  1196. package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +46 -0
  1197. package/model/plan.ts +62 -0
  1198. package/model/portalPage.ts +68 -0
  1199. package/model/presignedPost.ts +41 -0
  1200. package/model/presignedPostFields.ts +43 -0
  1201. package/model/product.ts +74 -0
  1202. package/model/promoCode.ts +103 -0
  1203. package/model/reachPerformanceStats.ts +124 -0
  1204. package/model/request.ts +349 -0
  1205. package/model/response.ts +67 -0
  1206. package/model/role.ts +117 -0
  1207. package/model/roleAuditLog.ts +97 -0
  1208. package/model/sSImportedListRecipientCreateParams.ts +37 -0
  1209. package/model/sSOptInSource.ts +73 -0
  1210. package/model/simpleSMSBroadcast.ts +147 -0
  1211. package/model/staticVoucher.ts +224 -0
  1212. package/model/staticVoucherCampaign.ts +175 -0
  1213. package/model/staticVoucherCampaignBroadcast.ts +142 -0
  1214. package/model/staticVoucherCampaignGroup.ts +85 -0
  1215. package/model/staticVoucherCampaignUpdate.ts +85 -0
  1216. package/model/status.ts +30 -0
  1217. package/model/statusAnyOf.ts +17 -0
  1218. package/model/statusAnyOf1.ts +17 -0
  1219. package/model/statusAnyOf2.ts +17 -0
  1220. package/model/statusAnyOf3.ts +17 -0
  1221. package/model/subscriptionFeature.ts +79 -0
  1222. package/model/subscriptionPlan.ts +69 -0
  1223. package/model/subscriptionProduct.ts +81 -0
  1224. package/model/tcpa.ts +67 -0
  1225. package/model/updateStaticVoucherCampaignWithVoucher.ts +109 -0
  1226. package/model/vSCampaignGeneratedMessage.ts +43 -0
  1227. package/model/vSCampaignGeneratedMessagePagination.ts +53 -0
  1228. package/model/vSDynamicVoucherStatus.ts +28 -0
  1229. package/model/wTAdvertisementCredit.ts +103 -0
  1230. package/model/wTAdvertisementCreditCreateParams.ts +55 -0
  1231. package/model/wTAdvertisementCreditScan.ts +170 -0
  1232. package/model/wTAdvertisementCreditUpdateParams.ts +55 -0
  1233. package/model/wTAuthenticationCheckSessionTokenStatusResponse.ts +36 -0
  1234. package/model/wTAuthenticationForgotPassword.ts +31 -0
  1235. package/model/wTAuthenticationLoginRequest.ts +37 -0
  1236. package/model/wTAuthenticationLoginResponse.ts +115 -0
  1237. package/model/wTAuthenticationRegister.ts +121 -0
  1238. package/model/wTAuthenticationRequestResetPassword.ts +31 -0
  1239. package/model/wTAuthenticationResetPassword.ts +43 -0
  1240. package/model/wTAuthenticationSSOLoginForDiscourse.ts +49 -0
  1241. package/model/wTBillingChangePlan.ts +31 -0
  1242. package/model/wTBillingSavePaymentMethod.ts +31 -0
  1243. package/model/wTBillingVerifyPaymentMethodResponse.ts +38 -0
  1244. package/model/wTCountResult.ts +31 -0
  1245. package/model/wTCustomerSearchByMemberID.ts +31 -0
  1246. package/model/wTCustomerSearchByPhoneNumber.ts +31 -0
  1247. package/model/wTDynamicVoucher.ts +224 -0
  1248. package/model/wTDynamicVoucherCreateParams.ts +103 -0
  1249. package/model/wTDynamicVoucherRedemption.ts +164 -0
  1250. package/model/wTDynamicVoucherSummary.ts +169 -0
  1251. package/model/wTDynamicVoucherUpdateParams.ts +103 -0
  1252. package/model/wTEmployee.ts +127 -0
  1253. package/model/wTEmployeeAPIKey.ts +82 -0
  1254. package/model/wTEmployeeAPIKeyCreateParams.ts +37 -0
  1255. package/model/wTEmployeeAPIKeyUpdateParams.ts +37 -0
  1256. package/model/wTEmployeeCreate.ts +79 -0
  1257. package/model/wTEmployeeCreateAlert.ts +37 -0
  1258. package/model/wTEmployeeCreateDocument.ts +43 -0
  1259. package/model/wTEmployeeCreateMediaFile.ts +43 -0
  1260. package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +31 -0
  1261. package/model/wTEmployeeFileCreate.ts +37 -0
  1262. package/model/wTEmployeeImportRecords.ts +37 -0
  1263. package/model/wTEmployeeNotification.ts +49 -0
  1264. package/model/wTEmployeePeerRoles.ts +31 -0
  1265. package/model/wTEmployeeS3FilePresign.ts +43 -0
  1266. package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +67 -0
  1267. package/model/wTEmployeeScheduleSimpleSMS.ts +61 -0
  1268. package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +55 -0
  1269. package/model/wTEmployeeSendHelpDeskResponse.ts +43 -0
  1270. package/model/wTEmployeeUpdate.ts +73 -0
  1271. package/model/wTEmployeeUpdateRecords.ts +37 -0
  1272. package/model/wTFetchWalletPaymentObjectWithToken.ts +49 -0
  1273. package/model/wTImageGridCreateParams.ts +49 -0
  1274. package/model/wTImageGridUpdateParams.ts +49 -0
  1275. package/model/wTImportedList.ts +73 -0
  1276. package/model/wTImportedListRecipientFromMembershipTierImport.ts +43 -0
  1277. package/model/wTInfoGenesisLookupRequestErrors.ts +49 -0
  1278. package/model/wTInfoGenesisRecordFilterParameters.ts +43 -0
  1279. package/model/wTInfoGenesisRoutingIDs.ts +31 -0
  1280. package/model/wTInfoGenesisUniquePostingIDs.ts +31 -0
  1281. package/model/wTLinkBook.ts +85 -0
  1282. package/model/wTLinkBookCreateParams.ts +55 -0
  1283. package/model/wTLinkBookSectionCreateParams.ts +37 -0
  1284. package/model/wTLinkBookSectionUpdateParams.ts +37 -0
  1285. package/model/wTLinkBookUpdateParams.ts +55 -0
  1286. package/model/wTMember.ts +118 -0
  1287. package/model/wTMemberCreationParams.ts +73 -0
  1288. package/model/wTMembershipTier.ts +106 -0
  1289. package/model/wTMembershipTierCreationParams.ts +64 -0
  1290. package/model/wTMembershipTierUpdateParams.ts +64 -0
  1291. package/model/wTMembershipTierWithMemberCount.ts +115 -0
  1292. package/model/wTMerchantCredit.ts +106 -0
  1293. package/model/wTMerchantCreditCreationParams.ts +49 -0
  1294. package/model/wTMerchantURLCreate.ts +37 -0
  1295. package/model/wTMerchantURLUpdate.ts +37 -0
  1296. package/model/wTMerchantUpdate.ts +79 -0
  1297. package/model/wTMerchantUpdateBillingContact.ts +31 -0
  1298. package/model/wTMerchantUpdatePOSIntegration.ts +31 -0
  1299. package/model/wTNewsArticleCreateParams.ts +55 -0
  1300. package/model/wTNewsArticleUpdateParams.ts +55 -0
  1301. package/model/wTOptInList.ts +133 -0
  1302. package/model/wTOptInListCreationParams.ts +103 -0
  1303. package/model/wTPaymentDesign.ts +139 -0
  1304. package/model/wTPaymentDesignCreateParams.ts +115 -0
  1305. package/model/wTPaymentDesignUpdateParams.ts +115 -0
  1306. package/model/wTPerformanceCreateParams.ts +79 -0
  1307. package/model/wTPerformanceUpdateParams.ts +79 -0
  1308. package/model/wTPosMachine.ts +88 -0
  1309. package/model/wTPosMachineCreateParams.ts +58 -0
  1310. package/model/wTPosMachineUpdateParams.ts +58 -0
  1311. package/model/wTPromoCodeCreateParams.ts +73 -0
  1312. package/model/wTPromoCodeUpdateParams.ts +73 -0
  1313. package/model/wTRole.ts +116 -0
  1314. package/model/wTSMSAcquirePhoneNumber.ts +31 -0
  1315. package/model/wTSMSCreateAgreement.ts +97 -0
  1316. package/model/wTSMSImportOptInListSubscribers.ts +43 -0
  1317. package/model/wTSMSImportedListCreate.ts +43 -0
  1318. package/model/wTSMSLimits.ts +37 -0
  1319. package/model/wTSMSOptInListSourceCreate.ts +37 -0
  1320. package/model/wTSMSUpdatePhoneNumberConfig.ts +97 -0
  1321. package/model/wTSettingsSetPassword.ts +31 -0
  1322. package/model/wTStaticVoucher.ts +224 -0
  1323. package/model/wTStaticVoucherCampaign.ts +175 -0
  1324. package/model/wTStaticVoucherCampaignPreviewMessages.ts +43 -0
  1325. package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +55 -0
  1326. package/model/wTStaticVoucherCreateParams.ts +49 -0
  1327. package/model/wTStaticVoucherUpdateParams.ts +43 -0
  1328. package/model/wTSystemApprovePhoneNumber.ts +37 -0
  1329. package/model/wTSystemRoleCreate.ts +37 -0
  1330. package/model/wTTCPAOpt.ts +43 -0
  1331. package/model/wTTwilioRequestAuthyCode.ts +37 -0
  1332. package/model/wTTwilioVerifyAuthyCode.ts +43 -0
  1333. package/model/wTWalletConfigurationSaveWalletRecord.ts +247 -0
  1334. package/model/wTWalletItemRedemption.ts +43 -0
  1335. package/model/wTWalletObjectPrefixCounts.ts +44 -0
  1336. package/model/wTWalletPageView.ts +251 -0
  1337. package/model/wTWalletPageViewCount.ts +43 -0
  1338. package/model/wTWalletPageViewGeoPoint.ts +37 -0
  1339. package/model/walletConfiguration.ts +271 -0
  1340. package/model/walletPageView.ts +251 -0
  1341. package/model/webpage.ts +85 -0
  1342. package/package.json +1 -1
@@ -0,0 +1,1987 @@
1
+ /**
2
+ * wallet-api
3
+ * API
4
+ *
5
+ * The version of the OpenAPI document: 2.1.519
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 { AdvertisementCreditBroadcast } from '../model/advertisementCreditBroadcast';
19
+ import { AuthError } from '../model/authError';
20
+ import { DynamicVoucherBroadcast } from '../model/dynamicVoucherBroadcast';
21
+ import { FalsumError } from '../model/falsumError';
22
+ import { HelpDeskRequest } from '../model/helpDeskRequest';
23
+ import { ImportedList } from '../model/importedList';
24
+ import { InboundSMS } from '../model/inboundSMS';
25
+ import { InlineResponse2003 } from '../model/inlineResponse2003';
26
+ import { InternalServerError } from '../model/internalServerError';
27
+ import { OptInList } from '../model/optInList';
28
+ import { OutboundSMS } from '../model/outboundSMS';
29
+ import { PhoneNumber } from '../model/phoneNumber';
30
+ import { SimpleSMSBroadcast } from '../model/simpleSMSBroadcast';
31
+ import { StaticVoucherCampaignBroadcast } from '../model/staticVoucherCampaignBroadcast';
32
+ import { Tcpa } from '../model/tcpa';
33
+ import { WTCountResult } from '../model/wTCountResult';
34
+ import { WTMerchantUpdate } from '../model/wTMerchantUpdate';
35
+ import { WTMerchantUpdateBillingContact } from '../model/wTMerchantUpdateBillingContact';
36
+ import { WTMerchantUpdatePOSIntegration } from '../model/wTMerchantUpdatePOSIntegration';
37
+
38
+ import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
39
+ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
40
+
41
+ import { HttpError, RequestFile } from './apis';
42
+
43
+ let defaultBasePath = 'https://api.wall.et';
44
+
45
+ // ===============================================
46
+ // This file is autogenerated - Please do not edit
47
+ // ===============================================
48
+
49
+ export enum MerchantApiApiKeys {
50
+ api_key,
51
+ }
52
+
53
+ export class MerchantApi {
54
+ protected _basePath = defaultBasePath;
55
+ protected _defaultHeaders : any = {};
56
+ protected _useQuerystring : boolean = false;
57
+
58
+ protected authentications = {
59
+ 'default': <Authentication>new VoidAuth(),
60
+ 'api_key': new ApiKeyAuth('header', 'access-token'),
61
+ }
62
+
63
+ protected interceptors: Interceptor[] = [];
64
+
65
+ constructor(basePath?: string);
66
+ constructor(basePathOrUsername: string, password?: string, basePath?: string) {
67
+ if (password) {
68
+ if (basePath) {
69
+ this.basePath = basePath;
70
+ }
71
+ } else {
72
+ if (basePathOrUsername) {
73
+ this.basePath = basePathOrUsername
74
+ }
75
+ }
76
+ }
77
+
78
+ set useQuerystring(value: boolean) {
79
+ this._useQuerystring = value;
80
+ }
81
+
82
+ set basePath(basePath: string) {
83
+ this._basePath = basePath;
84
+ }
85
+
86
+ set defaultHeaders(defaultHeaders: any) {
87
+ this._defaultHeaders = defaultHeaders;
88
+ }
89
+
90
+ get defaultHeaders() {
91
+ return this._defaultHeaders;
92
+ }
93
+
94
+ get basePath() {
95
+ return this._basePath;
96
+ }
97
+
98
+ public setDefaultAuthentication(auth: Authentication) {
99
+ this.authentications.default = auth;
100
+ }
101
+
102
+ public setApiKey(key: MerchantApiApiKeys, value: string) {
103
+ (this.authentications as any)[MerchantApiApiKeys[key]].apiKey = value;
104
+ }
105
+
106
+ public addInterceptor(interceptor: Interceptor) {
107
+ this.interceptors.push(interceptor);
108
+ }
109
+
110
+ /**
111
+ *
112
+ * @summary Archive Merchant
113
+ */
114
+ public async archiveMerchantProfile (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
115
+ const localVarPath = this.basePath + '/v2/merchant/delete';
116
+ let localVarQueryParameters: any = {};
117
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
118
+ const produces = ['application/json'];
119
+ // give precedence to 'application/json'
120
+ if (produces.indexOf('application/json') >= 0) {
121
+ localVarHeaderParams.Accept = 'application/json';
122
+ } else {
123
+ localVarHeaderParams.Accept = produces.join(',');
124
+ }
125
+ let localVarFormParams: any = {};
126
+
127
+ (<any>Object).assign(localVarHeaderParams, options.headers);
128
+
129
+ let localVarUseFormData = false;
130
+
131
+ let localVarRequestOptions: localVarRequest.Options = {
132
+ method: 'DELETE',
133
+ qs: localVarQueryParameters,
134
+ headers: localVarHeaderParams,
135
+ uri: localVarPath,
136
+ useQuerystring: this._useQuerystring,
137
+ json: true,
138
+ };
139
+
140
+ let authenticationPromise = Promise.resolve();
141
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
142
+
143
+ let interceptorPromise = authenticationPromise;
144
+ for (const interceptor of this.interceptors) {
145
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
146
+ }
147
+
148
+ return interceptorPromise.then(() => {
149
+ if (Object.keys(localVarFormParams).length) {
150
+ if (localVarUseFormData) {
151
+ (<any>localVarRequestOptions).formData = localVarFormParams;
152
+ } else {
153
+ localVarRequestOptions.form = localVarFormParams;
154
+ }
155
+ }
156
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
157
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
158
+ if (error) {
159
+ reject(error);
160
+ } else {
161
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
162
+ body = ObjectSerializer.deserialize(body, "any");
163
+ resolve({ response: response, body: body });
164
+ } else {
165
+ reject(new HttpError(response, body, response.statusCode));
166
+ }
167
+ }
168
+ });
169
+ });
170
+ });
171
+ }
172
+ /**
173
+ *
174
+ * @summary Archive payment object broadcast
175
+ * @param broadcastID
176
+ */
177
+ public async archivePaymentObjectBroadcast (broadcastID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
178
+ const localVarPath = this.basePath + '/v2/merchant/paymentObjectBroadcast/{broadcastID}'
179
+ .replace('{' + 'broadcastID' + '}', encodeURIComponent(String(broadcastID)));
180
+ let localVarQueryParameters: any = {};
181
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
182
+ const produces = ['application/json'];
183
+ // give precedence to 'application/json'
184
+ if (produces.indexOf('application/json') >= 0) {
185
+ localVarHeaderParams.Accept = 'application/json';
186
+ } else {
187
+ localVarHeaderParams.Accept = produces.join(',');
188
+ }
189
+ let localVarFormParams: any = {};
190
+
191
+ // verify required parameter 'broadcastID' is not null or undefined
192
+ if (broadcastID === null || broadcastID === undefined) {
193
+ throw new Error('Required parameter broadcastID was null or undefined when calling archivePaymentObjectBroadcast.');
194
+ }
195
+
196
+ (<any>Object).assign(localVarHeaderParams, options.headers);
197
+
198
+ let localVarUseFormData = false;
199
+
200
+ let localVarRequestOptions: localVarRequest.Options = {
201
+ method: 'DELETE',
202
+ qs: localVarQueryParameters,
203
+ headers: localVarHeaderParams,
204
+ uri: localVarPath,
205
+ useQuerystring: this._useQuerystring,
206
+ json: true,
207
+ };
208
+
209
+ let authenticationPromise = Promise.resolve();
210
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
211
+
212
+ let interceptorPromise = authenticationPromise;
213
+ for (const interceptor of this.interceptors) {
214
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
215
+ }
216
+
217
+ return interceptorPromise.then(() => {
218
+ if (Object.keys(localVarFormParams).length) {
219
+ if (localVarUseFormData) {
220
+ (<any>localVarRequestOptions).formData = localVarFormParams;
221
+ } else {
222
+ localVarRequestOptions.form = localVarFormParams;
223
+ }
224
+ }
225
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
226
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
227
+ if (error) {
228
+ reject(error);
229
+ } else {
230
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
231
+ body = ObjectSerializer.deserialize(body, "any");
232
+ resolve({ response: response, body: body });
233
+ } else {
234
+ reject(new HttpError(response, body, response.statusCode));
235
+ }
236
+ }
237
+ });
238
+ });
239
+ });
240
+ }
241
+ /**
242
+ *
243
+ * @summary Count inbound SMSes
244
+ * @param phoneNumberID
245
+ * @param fromPhoneNumber
246
+ * @param body
247
+ */
248
+ public async countInboundSMS (phoneNumberID: any, fromPhoneNumber?: string, body?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
249
+ const localVarPath = this.basePath + '/v2/merchant/sms/inbound/count/{phoneNumberID}'
250
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
251
+ let localVarQueryParameters: any = {};
252
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
253
+ const produces = ['application/json'];
254
+ // give precedence to 'application/json'
255
+ if (produces.indexOf('application/json') >= 0) {
256
+ localVarHeaderParams.Accept = 'application/json';
257
+ } else {
258
+ localVarHeaderParams.Accept = produces.join(',');
259
+ }
260
+ let localVarFormParams: any = {};
261
+
262
+ // verify required parameter 'phoneNumberID' is not null or undefined
263
+ if (phoneNumberID === null || phoneNumberID === undefined) {
264
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling countInboundSMS.');
265
+ }
266
+
267
+ if (fromPhoneNumber !== undefined) {
268
+ localVarQueryParameters['fromPhoneNumber'] = ObjectSerializer.serialize(fromPhoneNumber, "string");
269
+ }
270
+
271
+ if (body !== undefined) {
272
+ localVarQueryParameters['body'] = ObjectSerializer.serialize(body, "string");
273
+ }
274
+
275
+ (<any>Object).assign(localVarHeaderParams, options.headers);
276
+
277
+ let localVarUseFormData = false;
278
+
279
+ let localVarRequestOptions: localVarRequest.Options = {
280
+ method: 'GET',
281
+ qs: localVarQueryParameters,
282
+ headers: localVarHeaderParams,
283
+ uri: localVarPath,
284
+ useQuerystring: this._useQuerystring,
285
+ json: true,
286
+ };
287
+
288
+ let authenticationPromise = Promise.resolve();
289
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
290
+
291
+ let interceptorPromise = authenticationPromise;
292
+ for (const interceptor of this.interceptors) {
293
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
294
+ }
295
+
296
+ return interceptorPromise.then(() => {
297
+ if (Object.keys(localVarFormParams).length) {
298
+ if (localVarUseFormData) {
299
+ (<any>localVarRequestOptions).formData = localVarFormParams;
300
+ } else {
301
+ localVarRequestOptions.form = localVarFormParams;
302
+ }
303
+ }
304
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
305
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
306
+ if (error) {
307
+ reject(error);
308
+ } else {
309
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
310
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
311
+ resolve({ response: response, body: body });
312
+ } else {
313
+ reject(new HttpError(response, body, response.statusCode));
314
+ }
315
+ }
316
+ });
317
+ });
318
+ });
319
+ }
320
+ /**
321
+ *
322
+ * @summary Export inbound messages
323
+ * @param phoneNumberID
324
+ * @param locale
325
+ */
326
+ public async exportInboundMessages (phoneNumberID: string, locale: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
327
+ const localVarPath = this.basePath + '/v2/merchant/sms/inbound/export/{phoneNumberID}'
328
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
329
+ let localVarQueryParameters: any = {};
330
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
331
+ const produces = ['application/json'];
332
+ // give precedence to 'application/json'
333
+ if (produces.indexOf('application/json') >= 0) {
334
+ localVarHeaderParams.Accept = 'application/json';
335
+ } else {
336
+ localVarHeaderParams.Accept = produces.join(',');
337
+ }
338
+ let localVarFormParams: any = {};
339
+
340
+ // verify required parameter 'phoneNumberID' is not null or undefined
341
+ if (phoneNumberID === null || phoneNumberID === undefined) {
342
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling exportInboundMessages.');
343
+ }
344
+
345
+ // verify required parameter 'locale' is not null or undefined
346
+ if (locale === null || locale === undefined) {
347
+ throw new Error('Required parameter locale was null or undefined when calling exportInboundMessages.');
348
+ }
349
+
350
+ if (locale !== undefined) {
351
+ localVarQueryParameters['locale'] = ObjectSerializer.serialize(locale, "string");
352
+ }
353
+
354
+ (<any>Object).assign(localVarHeaderParams, options.headers);
355
+
356
+ let localVarUseFormData = false;
357
+
358
+ let localVarRequestOptions: localVarRequest.Options = {
359
+ method: 'PUT',
360
+ qs: localVarQueryParameters,
361
+ headers: localVarHeaderParams,
362
+ uri: localVarPath,
363
+ useQuerystring: this._useQuerystring,
364
+ json: true,
365
+ };
366
+
367
+ let authenticationPromise = Promise.resolve();
368
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
369
+
370
+ let interceptorPromise = authenticationPromise;
371
+ for (const interceptor of this.interceptors) {
372
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
373
+ }
374
+
375
+ return interceptorPromise.then(() => {
376
+ if (Object.keys(localVarFormParams).length) {
377
+ if (localVarUseFormData) {
378
+ (<any>localVarRequestOptions).formData = localVarFormParams;
379
+ } else {
380
+ localVarRequestOptions.form = localVarFormParams;
381
+ }
382
+ }
383
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
384
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
385
+ if (error) {
386
+ reject(error);
387
+ } else {
388
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
389
+ body = ObjectSerializer.deserialize(body, "string");
390
+ resolve({ response: response, body: body });
391
+ } else {
392
+ reject(new HttpError(response, body, response.statusCode));
393
+ }
394
+ }
395
+ });
396
+ });
397
+ });
398
+ }
399
+ /**
400
+ *
401
+ * @summary Export outbound messages
402
+ * @param phoneNumberID
403
+ * @param locale
404
+ */
405
+ public async exportOutboundMessages (phoneNumberID: string, locale: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
406
+ const localVarPath = this.basePath + '/v2/merchant/sms/outbound/export/{phoneNumberID}'
407
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
408
+ let localVarQueryParameters: any = {};
409
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
410
+ const produces = ['application/json'];
411
+ // give precedence to 'application/json'
412
+ if (produces.indexOf('application/json') >= 0) {
413
+ localVarHeaderParams.Accept = 'application/json';
414
+ } else {
415
+ localVarHeaderParams.Accept = produces.join(',');
416
+ }
417
+ let localVarFormParams: any = {};
418
+
419
+ // verify required parameter 'phoneNumberID' is not null or undefined
420
+ if (phoneNumberID === null || phoneNumberID === undefined) {
421
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling exportOutboundMessages.');
422
+ }
423
+
424
+ // verify required parameter 'locale' is not null or undefined
425
+ if (locale === null || locale === undefined) {
426
+ throw new Error('Required parameter locale was null or undefined when calling exportOutboundMessages.');
427
+ }
428
+
429
+ if (locale !== undefined) {
430
+ localVarQueryParameters['locale'] = ObjectSerializer.serialize(locale, "string");
431
+ }
432
+
433
+ (<any>Object).assign(localVarHeaderParams, options.headers);
434
+
435
+ let localVarUseFormData = false;
436
+
437
+ let localVarRequestOptions: localVarRequest.Options = {
438
+ method: 'PUT',
439
+ qs: localVarQueryParameters,
440
+ headers: localVarHeaderParams,
441
+ uri: localVarPath,
442
+ useQuerystring: this._useQuerystring,
443
+ json: true,
444
+ };
445
+
446
+ let authenticationPromise = Promise.resolve();
447
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
448
+
449
+ let interceptorPromise = authenticationPromise;
450
+ for (const interceptor of this.interceptors) {
451
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
452
+ }
453
+
454
+ return interceptorPromise.then(() => {
455
+ if (Object.keys(localVarFormParams).length) {
456
+ if (localVarUseFormData) {
457
+ (<any>localVarRequestOptions).formData = localVarFormParams;
458
+ } else {
459
+ localVarRequestOptions.form = localVarFormParams;
460
+ }
461
+ }
462
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
463
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
464
+ if (error) {
465
+ reject(error);
466
+ } else {
467
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
468
+ body = ObjectSerializer.deserialize(body, "string");
469
+ resolve({ response: response, body: body });
470
+ } else {
471
+ reject(new HttpError(response, body, response.statusCode));
472
+ }
473
+ }
474
+ });
475
+ });
476
+ });
477
+ }
478
+ /**
479
+ *
480
+ * @summary Fetch all ad credit broadcasts
481
+ * @param isArchiveIncluded
482
+ */
483
+ public async fetchAdvertisementCreditBroadcasts (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<AdvertisementCreditBroadcast>; }> {
484
+ const localVarPath = this.basePath + '/v2/merchant/broadcasts/adCredits/all';
485
+ let localVarQueryParameters: any = {};
486
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
487
+ const produces = ['application/json'];
488
+ // give precedence to 'application/json'
489
+ if (produces.indexOf('application/json') >= 0) {
490
+ localVarHeaderParams.Accept = 'application/json';
491
+ } else {
492
+ localVarHeaderParams.Accept = produces.join(',');
493
+ }
494
+ let localVarFormParams: any = {};
495
+
496
+ if (isArchiveIncluded !== undefined) {
497
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
498
+ }
499
+
500
+ (<any>Object).assign(localVarHeaderParams, options.headers);
501
+
502
+ let localVarUseFormData = false;
503
+
504
+ let localVarRequestOptions: localVarRequest.Options = {
505
+ method: 'GET',
506
+ qs: localVarQueryParameters,
507
+ headers: localVarHeaderParams,
508
+ uri: localVarPath,
509
+ useQuerystring: this._useQuerystring,
510
+ json: true,
511
+ };
512
+
513
+ let authenticationPromise = Promise.resolve();
514
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
515
+
516
+ let interceptorPromise = authenticationPromise;
517
+ for (const interceptor of this.interceptors) {
518
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
519
+ }
520
+
521
+ return interceptorPromise.then(() => {
522
+ if (Object.keys(localVarFormParams).length) {
523
+ if (localVarUseFormData) {
524
+ (<any>localVarRequestOptions).formData = localVarFormParams;
525
+ } else {
526
+ localVarRequestOptions.form = localVarFormParams;
527
+ }
528
+ }
529
+ return new Promise<{ response: http.IncomingMessage; body: Array<AdvertisementCreditBroadcast>; }>((resolve, reject) => {
530
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
531
+ if (error) {
532
+ reject(error);
533
+ } else {
534
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
535
+ body = ObjectSerializer.deserialize(body, "Array<AdvertisementCreditBroadcast>");
536
+ resolve({ response: response, body: body });
537
+ } else {
538
+ reject(new HttpError(response, body, response.statusCode));
539
+ }
540
+ }
541
+ });
542
+ });
543
+ });
544
+ }
545
+ /**
546
+ *
547
+ * @summary Fetch custom roles
548
+ */
549
+ public async fetchCustomRoles (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
550
+ const localVarPath = this.basePath + '/v2/merchant/roles/custom';
551
+ let localVarQueryParameters: any = {};
552
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
553
+ const produces = ['application/json'];
554
+ // give precedence to 'application/json'
555
+ if (produces.indexOf('application/json') >= 0) {
556
+ localVarHeaderParams.Accept = 'application/json';
557
+ } else {
558
+ localVarHeaderParams.Accept = produces.join(',');
559
+ }
560
+ let localVarFormParams: any = {};
561
+
562
+ (<any>Object).assign(localVarHeaderParams, options.headers);
563
+
564
+ let localVarUseFormData = false;
565
+
566
+ let localVarRequestOptions: localVarRequest.Options = {
567
+ method: 'GET',
568
+ qs: localVarQueryParameters,
569
+ headers: localVarHeaderParams,
570
+ uri: localVarPath,
571
+ useQuerystring: this._useQuerystring,
572
+ json: true,
573
+ };
574
+
575
+ let authenticationPromise = Promise.resolve();
576
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
577
+
578
+ let interceptorPromise = authenticationPromise;
579
+ for (const interceptor of this.interceptors) {
580
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
581
+ }
582
+
583
+ return interceptorPromise.then(() => {
584
+ if (Object.keys(localVarFormParams).length) {
585
+ if (localVarUseFormData) {
586
+ (<any>localVarRequestOptions).formData = localVarFormParams;
587
+ } else {
588
+ localVarRequestOptions.form = localVarFormParams;
589
+ }
590
+ }
591
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
592
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
593
+ if (error) {
594
+ reject(error);
595
+ } else {
596
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
597
+ body = ObjectSerializer.deserialize(body, "any");
598
+ resolve({ response: response, body: body });
599
+ } else {
600
+ reject(new HttpError(response, body, response.statusCode));
601
+ }
602
+ }
603
+ });
604
+ });
605
+ });
606
+ }
607
+ /**
608
+ *
609
+ * @summary Fetch all dynamic voucher broadcasts
610
+ * @param isArchiveIncluded
611
+ */
612
+ public async fetchDynamicVoucherBroadcasts (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<DynamicVoucherBroadcast>; }> {
613
+ const localVarPath = this.basePath + '/v2/merchant/broadcasts/dynamicVouchers/all';
614
+ let localVarQueryParameters: any = {};
615
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
616
+ const produces = ['application/json'];
617
+ // give precedence to 'application/json'
618
+ if (produces.indexOf('application/json') >= 0) {
619
+ localVarHeaderParams.Accept = 'application/json';
620
+ } else {
621
+ localVarHeaderParams.Accept = produces.join(',');
622
+ }
623
+ let localVarFormParams: any = {};
624
+
625
+ if (isArchiveIncluded !== undefined) {
626
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
627
+ }
628
+
629
+ (<any>Object).assign(localVarHeaderParams, options.headers);
630
+
631
+ let localVarUseFormData = false;
632
+
633
+ let localVarRequestOptions: localVarRequest.Options = {
634
+ method: 'GET',
635
+ qs: localVarQueryParameters,
636
+ headers: localVarHeaderParams,
637
+ uri: localVarPath,
638
+ useQuerystring: this._useQuerystring,
639
+ json: true,
640
+ };
641
+
642
+ let authenticationPromise = Promise.resolve();
643
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
644
+
645
+ let interceptorPromise = authenticationPromise;
646
+ for (const interceptor of this.interceptors) {
647
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
648
+ }
649
+
650
+ return interceptorPromise.then(() => {
651
+ if (Object.keys(localVarFormParams).length) {
652
+ if (localVarUseFormData) {
653
+ (<any>localVarRequestOptions).formData = localVarFormParams;
654
+ } else {
655
+ localVarRequestOptions.form = localVarFormParams;
656
+ }
657
+ }
658
+ return new Promise<{ response: http.IncomingMessage; body: Array<DynamicVoucherBroadcast>; }>((resolve, reject) => {
659
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
660
+ if (error) {
661
+ reject(error);
662
+ } else {
663
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
664
+ body = ObjectSerializer.deserialize(body, "Array<DynamicVoucherBroadcast>");
665
+ resolve({ response: response, body: body });
666
+ } else {
667
+ reject(new HttpError(response, body, response.statusCode));
668
+ }
669
+ }
670
+ });
671
+ });
672
+ });
673
+ }
674
+ /**
675
+ *
676
+ * @summary Fetch all employees
677
+ */
678
+ public async fetchEmployees (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
679
+ const localVarPath = this.basePath + '/v2/merchant/employees/all';
680
+ let localVarQueryParameters: any = {};
681
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
682
+ const produces = ['application/json'];
683
+ // give precedence to 'application/json'
684
+ if (produces.indexOf('application/json') >= 0) {
685
+ localVarHeaderParams.Accept = 'application/json';
686
+ } else {
687
+ localVarHeaderParams.Accept = produces.join(',');
688
+ }
689
+ let localVarFormParams: any = {};
690
+
691
+ (<any>Object).assign(localVarHeaderParams, options.headers);
692
+
693
+ let localVarUseFormData = false;
694
+
695
+ let localVarRequestOptions: localVarRequest.Options = {
696
+ method: 'GET',
697
+ qs: localVarQueryParameters,
698
+ headers: localVarHeaderParams,
699
+ uri: localVarPath,
700
+ useQuerystring: this._useQuerystring,
701
+ json: true,
702
+ };
703
+
704
+ let authenticationPromise = Promise.resolve();
705
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
706
+
707
+ let interceptorPromise = authenticationPromise;
708
+ for (const interceptor of this.interceptors) {
709
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
710
+ }
711
+
712
+ return interceptorPromise.then(() => {
713
+ if (Object.keys(localVarFormParams).length) {
714
+ if (localVarUseFormData) {
715
+ (<any>localVarRequestOptions).formData = localVarFormParams;
716
+ } else {
717
+ localVarRequestOptions.form = localVarFormParams;
718
+ }
719
+ }
720
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
721
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
722
+ if (error) {
723
+ reject(error);
724
+ } else {
725
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
726
+ body = ObjectSerializer.deserialize(body, "any");
727
+ resolve({ response: response, body: body });
728
+ } else {
729
+ reject(new HttpError(response, body, response.statusCode));
730
+ }
731
+ }
732
+ });
733
+ });
734
+ });
735
+ }
736
+ /**
737
+ *
738
+ * @summary Fetch help desk requests
739
+ * @param phoneNumberID
740
+ * @param isResolved
741
+ */
742
+ public async fetchHelpDeskRequests (phoneNumberID: any, isResolved?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<HelpDeskRequest>; }> {
743
+ const localVarPath = this.basePath + '/v2/merchant/helpDeskRequests/{phoneNumberID}'
744
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
745
+ let localVarQueryParameters: any = {};
746
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
747
+ const produces = ['application/json'];
748
+ // give precedence to 'application/json'
749
+ if (produces.indexOf('application/json') >= 0) {
750
+ localVarHeaderParams.Accept = 'application/json';
751
+ } else {
752
+ localVarHeaderParams.Accept = produces.join(',');
753
+ }
754
+ let localVarFormParams: any = {};
755
+
756
+ // verify required parameter 'phoneNumberID' is not null or undefined
757
+ if (phoneNumberID === null || phoneNumberID === undefined) {
758
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchHelpDeskRequests.');
759
+ }
760
+
761
+ if (isResolved !== undefined) {
762
+ localVarQueryParameters['isResolved'] = ObjectSerializer.serialize(isResolved, "boolean");
763
+ }
764
+
765
+ (<any>Object).assign(localVarHeaderParams, options.headers);
766
+
767
+ let localVarUseFormData = false;
768
+
769
+ let localVarRequestOptions: localVarRequest.Options = {
770
+ method: 'GET',
771
+ qs: localVarQueryParameters,
772
+ headers: localVarHeaderParams,
773
+ uri: localVarPath,
774
+ useQuerystring: this._useQuerystring,
775
+ json: true,
776
+ };
777
+
778
+ let authenticationPromise = Promise.resolve();
779
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
780
+
781
+ let interceptorPromise = authenticationPromise;
782
+ for (const interceptor of this.interceptors) {
783
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
784
+ }
785
+
786
+ return interceptorPromise.then(() => {
787
+ if (Object.keys(localVarFormParams).length) {
788
+ if (localVarUseFormData) {
789
+ (<any>localVarRequestOptions).formData = localVarFormParams;
790
+ } else {
791
+ localVarRequestOptions.form = localVarFormParams;
792
+ }
793
+ }
794
+ return new Promise<{ response: http.IncomingMessage; body: Array<HelpDeskRequest>; }>((resolve, reject) => {
795
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
796
+ if (error) {
797
+ reject(error);
798
+ } else {
799
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
800
+ body = ObjectSerializer.deserialize(body, "Array<HelpDeskRequest>");
801
+ resolve({ response: response, body: body });
802
+ } else {
803
+ reject(new HttpError(response, body, response.statusCode));
804
+ }
805
+ }
806
+ });
807
+ });
808
+ });
809
+ }
810
+ /**
811
+ *
812
+ * @summary Fetch imported list
813
+ * @param listID
814
+ */
815
+ public async fetchImportedList (listID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedList; }> {
816
+ const localVarPath = this.basePath + '/v2/merchant/lists/imported/{listID}'
817
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
818
+ let localVarQueryParameters: any = {};
819
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
820
+ const produces = ['application/json'];
821
+ // give precedence to 'application/json'
822
+ if (produces.indexOf('application/json') >= 0) {
823
+ localVarHeaderParams.Accept = 'application/json';
824
+ } else {
825
+ localVarHeaderParams.Accept = produces.join(',');
826
+ }
827
+ let localVarFormParams: any = {};
828
+
829
+ // verify required parameter 'listID' is not null or undefined
830
+ if (listID === null || listID === undefined) {
831
+ throw new Error('Required parameter listID was null or undefined when calling fetchImportedList.');
832
+ }
833
+
834
+ (<any>Object).assign(localVarHeaderParams, options.headers);
835
+
836
+ let localVarUseFormData = false;
837
+
838
+ let localVarRequestOptions: localVarRequest.Options = {
839
+ method: 'GET',
840
+ qs: localVarQueryParameters,
841
+ headers: localVarHeaderParams,
842
+ uri: localVarPath,
843
+ useQuerystring: this._useQuerystring,
844
+ json: true,
845
+ };
846
+
847
+ let authenticationPromise = Promise.resolve();
848
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
849
+
850
+ let interceptorPromise = authenticationPromise;
851
+ for (const interceptor of this.interceptors) {
852
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
853
+ }
854
+
855
+ return interceptorPromise.then(() => {
856
+ if (Object.keys(localVarFormParams).length) {
857
+ if (localVarUseFormData) {
858
+ (<any>localVarRequestOptions).formData = localVarFormParams;
859
+ } else {
860
+ localVarRequestOptions.form = localVarFormParams;
861
+ }
862
+ }
863
+ return new Promise<{ response: http.IncomingMessage; body: ImportedList; }>((resolve, reject) => {
864
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
865
+ if (error) {
866
+ reject(error);
867
+ } else {
868
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
869
+ body = ObjectSerializer.deserialize(body, "ImportedList");
870
+ resolve({ response: response, body: body });
871
+ } else {
872
+ reject(new HttpError(response, body, response.statusCode));
873
+ }
874
+ }
875
+ });
876
+ });
877
+ });
878
+ }
879
+ /**
880
+ *
881
+ * @summary Fetch all imported lists
882
+ * @param isArchiveIncluded
883
+ */
884
+ public async fetchImportedLists (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
885
+ const localVarPath = this.basePath + '/v2/merchant/lists/imported/all';
886
+ let localVarQueryParameters: any = {};
887
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
888
+ const produces = ['application/json'];
889
+ // give precedence to 'application/json'
890
+ if (produces.indexOf('application/json') >= 0) {
891
+ localVarHeaderParams.Accept = 'application/json';
892
+ } else {
893
+ localVarHeaderParams.Accept = produces.join(',');
894
+ }
895
+ let localVarFormParams: any = {};
896
+
897
+ if (isArchiveIncluded !== undefined) {
898
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
899
+ }
900
+
901
+ (<any>Object).assign(localVarHeaderParams, options.headers);
902
+
903
+ let localVarUseFormData = false;
904
+
905
+ let localVarRequestOptions: localVarRequest.Options = {
906
+ method: 'GET',
907
+ qs: localVarQueryParameters,
908
+ headers: localVarHeaderParams,
909
+ uri: localVarPath,
910
+ useQuerystring: this._useQuerystring,
911
+ json: true,
912
+ };
913
+
914
+ let authenticationPromise = Promise.resolve();
915
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
916
+
917
+ let interceptorPromise = authenticationPromise;
918
+ for (const interceptor of this.interceptors) {
919
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
920
+ }
921
+
922
+ return interceptorPromise.then(() => {
923
+ if (Object.keys(localVarFormParams).length) {
924
+ if (localVarUseFormData) {
925
+ (<any>localVarRequestOptions).formData = localVarFormParams;
926
+ } else {
927
+ localVarRequestOptions.form = localVarFormParams;
928
+ }
929
+ }
930
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
931
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
932
+ if (error) {
933
+ reject(error);
934
+ } else {
935
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
936
+ body = ObjectSerializer.deserialize(body, "any");
937
+ resolve({ response: response, body: body });
938
+ } else {
939
+ reject(new HttpError(response, body, response.statusCode));
940
+ }
941
+ }
942
+ });
943
+ });
944
+ });
945
+ }
946
+ /**
947
+ *
948
+ * @summary Fetch inbound SMSes
949
+ * @param phoneNumberID
950
+ * @param fromPhoneNumber
951
+ */
952
+ public async fetchInboundSMS (phoneNumberID: any, fromPhoneNumber?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<InboundSMS>; }> {
953
+ const localVarPath = this.basePath + '/v2/merchant/sms/inbound/{phoneNumberID}'
954
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
955
+ let localVarQueryParameters: any = {};
956
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
957
+ const produces = ['application/json'];
958
+ // give precedence to 'application/json'
959
+ if (produces.indexOf('application/json') >= 0) {
960
+ localVarHeaderParams.Accept = 'application/json';
961
+ } else {
962
+ localVarHeaderParams.Accept = produces.join(',');
963
+ }
964
+ let localVarFormParams: any = {};
965
+
966
+ // verify required parameter 'phoneNumberID' is not null or undefined
967
+ if (phoneNumberID === null || phoneNumberID === undefined) {
968
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchInboundSMS.');
969
+ }
970
+
971
+ if (fromPhoneNumber !== undefined) {
972
+ localVarQueryParameters['fromPhoneNumber'] = ObjectSerializer.serialize(fromPhoneNumber, "string");
973
+ }
974
+
975
+ (<any>Object).assign(localVarHeaderParams, options.headers);
976
+
977
+ let localVarUseFormData = false;
978
+
979
+ let localVarRequestOptions: localVarRequest.Options = {
980
+ method: 'GET',
981
+ qs: localVarQueryParameters,
982
+ headers: localVarHeaderParams,
983
+ uri: localVarPath,
984
+ useQuerystring: this._useQuerystring,
985
+ json: true,
986
+ };
987
+
988
+ let authenticationPromise = Promise.resolve();
989
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
990
+
991
+ let interceptorPromise = authenticationPromise;
992
+ for (const interceptor of this.interceptors) {
993
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
994
+ }
995
+
996
+ return interceptorPromise.then(() => {
997
+ if (Object.keys(localVarFormParams).length) {
998
+ if (localVarUseFormData) {
999
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1000
+ } else {
1001
+ localVarRequestOptions.form = localVarFormParams;
1002
+ }
1003
+ }
1004
+ return new Promise<{ response: http.IncomingMessage; body: Array<InboundSMS>; }>((resolve, reject) => {
1005
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1006
+ if (error) {
1007
+ reject(error);
1008
+ } else {
1009
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1010
+ body = ObjectSerializer.deserialize(body, "Array<InboundSMS>");
1011
+ resolve({ response: response, body: body });
1012
+ } else {
1013
+ reject(new HttpError(response, body, response.statusCode));
1014
+ }
1015
+ }
1016
+ });
1017
+ });
1018
+ });
1019
+ }
1020
+ /**
1021
+ *
1022
+ * @summary Fetch inbound SMSes by page
1023
+ * @param phoneNumberID
1024
+ * @param fromPhoneNumber
1025
+ * @param pageSize
1026
+ * @param pageNum
1027
+ */
1028
+ public async fetchInboundSMSByPage (phoneNumberID: any, fromPhoneNumber?: string, pageSize?: number, pageNum?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }> {
1029
+ const localVarPath = this.basePath + '/v2/merchant/sms/inbound/page/{phoneNumberID}'
1030
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1031
+ let localVarQueryParameters: any = {};
1032
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1033
+ const produces = ['application/json'];
1034
+ // give precedence to 'application/json'
1035
+ if (produces.indexOf('application/json') >= 0) {
1036
+ localVarHeaderParams.Accept = 'application/json';
1037
+ } else {
1038
+ localVarHeaderParams.Accept = produces.join(',');
1039
+ }
1040
+ let localVarFormParams: any = {};
1041
+
1042
+ // verify required parameter 'phoneNumberID' is not null or undefined
1043
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1044
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchInboundSMSByPage.');
1045
+ }
1046
+
1047
+ if (fromPhoneNumber !== undefined) {
1048
+ localVarQueryParameters['fromPhoneNumber'] = ObjectSerializer.serialize(fromPhoneNumber, "string");
1049
+ }
1050
+
1051
+ if (pageSize !== undefined) {
1052
+ localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
1053
+ }
1054
+
1055
+ if (pageNum !== undefined) {
1056
+ localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
1057
+ }
1058
+
1059
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1060
+
1061
+ let localVarUseFormData = false;
1062
+
1063
+ let localVarRequestOptions: localVarRequest.Options = {
1064
+ method: 'GET',
1065
+ qs: localVarQueryParameters,
1066
+ headers: localVarHeaderParams,
1067
+ uri: localVarPath,
1068
+ useQuerystring: this._useQuerystring,
1069
+ json: true,
1070
+ };
1071
+
1072
+ let authenticationPromise = Promise.resolve();
1073
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1074
+
1075
+ let interceptorPromise = authenticationPromise;
1076
+ for (const interceptor of this.interceptors) {
1077
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1078
+ }
1079
+
1080
+ return interceptorPromise.then(() => {
1081
+ if (Object.keys(localVarFormParams).length) {
1082
+ if (localVarUseFormData) {
1083
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1084
+ } else {
1085
+ localVarRequestOptions.form = localVarFormParams;
1086
+ }
1087
+ }
1088
+ return new Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }>((resolve, reject) => {
1089
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1090
+ if (error) {
1091
+ reject(error);
1092
+ } else {
1093
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1094
+ body = ObjectSerializer.deserialize(body, "InlineResponse2003");
1095
+ resolve({ response: response, body: body });
1096
+ } else {
1097
+ reject(new HttpError(response, body, response.statusCode));
1098
+ }
1099
+ }
1100
+ });
1101
+ });
1102
+ });
1103
+ }
1104
+ /**
1105
+ *
1106
+ * @summary Fetch outbound SMSes
1107
+ * @param phoneNumberID
1108
+ * @param toPhoneNumber
1109
+ */
1110
+ public async fetchMerchantOutboundSMS (phoneNumberID: any, toPhoneNumber: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OutboundSMS>; }> {
1111
+ const localVarPath = this.basePath + '/v2/merchant/sms/outbound/{phoneNumberID}'
1112
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1113
+ let localVarQueryParameters: any = {};
1114
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1115
+ const produces = ['application/json'];
1116
+ // give precedence to 'application/json'
1117
+ if (produces.indexOf('application/json') >= 0) {
1118
+ localVarHeaderParams.Accept = 'application/json';
1119
+ } else {
1120
+ localVarHeaderParams.Accept = produces.join(',');
1121
+ }
1122
+ let localVarFormParams: any = {};
1123
+
1124
+ // verify required parameter 'phoneNumberID' is not null or undefined
1125
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1126
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchMerchantOutboundSMS.');
1127
+ }
1128
+
1129
+ // verify required parameter 'toPhoneNumber' is not null or undefined
1130
+ if (toPhoneNumber === null || toPhoneNumber === undefined) {
1131
+ throw new Error('Required parameter toPhoneNumber was null or undefined when calling fetchMerchantOutboundSMS.');
1132
+ }
1133
+
1134
+ if (toPhoneNumber !== undefined) {
1135
+ localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
1136
+ }
1137
+
1138
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1139
+
1140
+ let localVarUseFormData = false;
1141
+
1142
+ let localVarRequestOptions: localVarRequest.Options = {
1143
+ method: 'GET',
1144
+ qs: localVarQueryParameters,
1145
+ headers: localVarHeaderParams,
1146
+ uri: localVarPath,
1147
+ useQuerystring: this._useQuerystring,
1148
+ json: true,
1149
+ };
1150
+
1151
+ let authenticationPromise = Promise.resolve();
1152
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1153
+
1154
+ let interceptorPromise = authenticationPromise;
1155
+ for (const interceptor of this.interceptors) {
1156
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1157
+ }
1158
+
1159
+ return interceptorPromise.then(() => {
1160
+ if (Object.keys(localVarFormParams).length) {
1161
+ if (localVarUseFormData) {
1162
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1163
+ } else {
1164
+ localVarRequestOptions.form = localVarFormParams;
1165
+ }
1166
+ }
1167
+ return new Promise<{ response: http.IncomingMessage; body: Array<OutboundSMS>; }>((resolve, reject) => {
1168
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1169
+ if (error) {
1170
+ reject(error);
1171
+ } else {
1172
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1173
+ body = ObjectSerializer.deserialize(body, "Array<OutboundSMS>");
1174
+ resolve({ response: response, body: body });
1175
+ } else {
1176
+ reject(new HttpError(response, body, response.statusCode));
1177
+ }
1178
+ }
1179
+ });
1180
+ });
1181
+ });
1182
+ }
1183
+ /**
1184
+ *
1185
+ * @summary Fetch all phone numbers
1186
+ * @param isArchiveIncluded
1187
+ * @param isApproved
1188
+ */
1189
+ public async fetchMerchantPhoneNumbers (isArchiveIncluded?: boolean, isApproved?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1190
+ const localVarPath = this.basePath + '/v2/merchant/phoneNumbers/all';
1191
+ let localVarQueryParameters: any = {};
1192
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1193
+ const produces = ['application/json'];
1194
+ // give precedence to 'application/json'
1195
+ if (produces.indexOf('application/json') >= 0) {
1196
+ localVarHeaderParams.Accept = 'application/json';
1197
+ } else {
1198
+ localVarHeaderParams.Accept = produces.join(',');
1199
+ }
1200
+ let localVarFormParams: any = {};
1201
+
1202
+ if (isArchiveIncluded !== undefined) {
1203
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1204
+ }
1205
+
1206
+ if (isApproved !== undefined) {
1207
+ localVarQueryParameters['isApproved'] = ObjectSerializer.serialize(isApproved, "boolean");
1208
+ }
1209
+
1210
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1211
+
1212
+ let localVarUseFormData = false;
1213
+
1214
+ let localVarRequestOptions: localVarRequest.Options = {
1215
+ method: 'GET',
1216
+ qs: localVarQueryParameters,
1217
+ headers: localVarHeaderParams,
1218
+ uri: localVarPath,
1219
+ useQuerystring: this._useQuerystring,
1220
+ json: true,
1221
+ };
1222
+
1223
+ let authenticationPromise = Promise.resolve();
1224
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1225
+
1226
+ let interceptorPromise = authenticationPromise;
1227
+ for (const interceptor of this.interceptors) {
1228
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1229
+ }
1230
+
1231
+ return interceptorPromise.then(() => {
1232
+ if (Object.keys(localVarFormParams).length) {
1233
+ if (localVarUseFormData) {
1234
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1235
+ } else {
1236
+ localVarRequestOptions.form = localVarFormParams;
1237
+ }
1238
+ }
1239
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1240
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1241
+ if (error) {
1242
+ reject(error);
1243
+ } else {
1244
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1245
+ body = ObjectSerializer.deserialize(body, "any");
1246
+ resolve({ response: response, body: body });
1247
+ } else {
1248
+ reject(new HttpError(response, body, response.statusCode));
1249
+ }
1250
+ }
1251
+ });
1252
+ });
1253
+ });
1254
+ }
1255
+ /**
1256
+ *
1257
+ * @summary Fetch opt in list
1258
+ * @param listID
1259
+ */
1260
+ public async fetchOptInList (listID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInList; }> {
1261
+ const localVarPath = this.basePath + '/v2/merchant/lists/optIn/{listID}'
1262
+ .replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
1263
+ let localVarQueryParameters: any = {};
1264
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1265
+ const produces = ['application/json'];
1266
+ // give precedence to 'application/json'
1267
+ if (produces.indexOf('application/json') >= 0) {
1268
+ localVarHeaderParams.Accept = 'application/json';
1269
+ } else {
1270
+ localVarHeaderParams.Accept = produces.join(',');
1271
+ }
1272
+ let localVarFormParams: any = {};
1273
+
1274
+ // verify required parameter 'listID' is not null or undefined
1275
+ if (listID === null || listID === undefined) {
1276
+ throw new Error('Required parameter listID was null or undefined when calling fetchOptInList.');
1277
+ }
1278
+
1279
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1280
+
1281
+ let localVarUseFormData = false;
1282
+
1283
+ let localVarRequestOptions: localVarRequest.Options = {
1284
+ method: 'GET',
1285
+ qs: localVarQueryParameters,
1286
+ headers: localVarHeaderParams,
1287
+ uri: localVarPath,
1288
+ useQuerystring: this._useQuerystring,
1289
+ json: true,
1290
+ };
1291
+
1292
+ let authenticationPromise = Promise.resolve();
1293
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1294
+
1295
+ let interceptorPromise = authenticationPromise;
1296
+ for (const interceptor of this.interceptors) {
1297
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1298
+ }
1299
+
1300
+ return interceptorPromise.then(() => {
1301
+ if (Object.keys(localVarFormParams).length) {
1302
+ if (localVarUseFormData) {
1303
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1304
+ } else {
1305
+ localVarRequestOptions.form = localVarFormParams;
1306
+ }
1307
+ }
1308
+ return new Promise<{ response: http.IncomingMessage; body: OptInList; }>((resolve, reject) => {
1309
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1310
+ if (error) {
1311
+ reject(error);
1312
+ } else {
1313
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1314
+ body = ObjectSerializer.deserialize(body, "OptInList");
1315
+ resolve({ response: response, body: body });
1316
+ } else {
1317
+ reject(new HttpError(response, body, response.statusCode));
1318
+ }
1319
+ }
1320
+ });
1321
+ });
1322
+ });
1323
+ }
1324
+ /**
1325
+ *
1326
+ * @summary Fetch all opt in lists
1327
+ * @param isArchiveIncluded
1328
+ */
1329
+ public async fetchOptInLists (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1330
+ const localVarPath = this.basePath + '/v2/merchant/lists/optIn/all';
1331
+ let localVarQueryParameters: any = {};
1332
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1333
+ const produces = ['application/json'];
1334
+ // give precedence to 'application/json'
1335
+ if (produces.indexOf('application/json') >= 0) {
1336
+ localVarHeaderParams.Accept = 'application/json';
1337
+ } else {
1338
+ localVarHeaderParams.Accept = produces.join(',');
1339
+ }
1340
+ let localVarFormParams: any = {};
1341
+
1342
+ if (isArchiveIncluded !== undefined) {
1343
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1344
+ }
1345
+
1346
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1347
+
1348
+ let localVarUseFormData = false;
1349
+
1350
+ let localVarRequestOptions: localVarRequest.Options = {
1351
+ method: 'GET',
1352
+ qs: localVarQueryParameters,
1353
+ headers: localVarHeaderParams,
1354
+ uri: localVarPath,
1355
+ useQuerystring: this._useQuerystring,
1356
+ json: true,
1357
+ };
1358
+
1359
+ let authenticationPromise = Promise.resolve();
1360
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1361
+
1362
+ let interceptorPromise = authenticationPromise;
1363
+ for (const interceptor of this.interceptors) {
1364
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1365
+ }
1366
+
1367
+ return interceptorPromise.then(() => {
1368
+ if (Object.keys(localVarFormParams).length) {
1369
+ if (localVarUseFormData) {
1370
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1371
+ } else {
1372
+ localVarRequestOptions.form = localVarFormParams;
1373
+ }
1374
+ }
1375
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1376
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1377
+ if (error) {
1378
+ reject(error);
1379
+ } else {
1380
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1381
+ body = ObjectSerializer.deserialize(body, "any");
1382
+ resolve({ response: response, body: body });
1383
+ } else {
1384
+ reject(new HttpError(response, body, response.statusCode));
1385
+ }
1386
+ }
1387
+ });
1388
+ });
1389
+ });
1390
+ }
1391
+ /**
1392
+ *
1393
+ * @summary Fetch phone number
1394
+ * @param phoneNumberID
1395
+ */
1396
+ public async fetchPhoneNumber (phoneNumberID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
1397
+ const localVarPath = this.basePath + '/v2/merchant/phoneNumber/{phoneNumberID}'
1398
+ .replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
1399
+ let localVarQueryParameters: any = {};
1400
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1401
+ const produces = ['application/json'];
1402
+ // give precedence to 'application/json'
1403
+ if (produces.indexOf('application/json') >= 0) {
1404
+ localVarHeaderParams.Accept = 'application/json';
1405
+ } else {
1406
+ localVarHeaderParams.Accept = produces.join(',');
1407
+ }
1408
+ let localVarFormParams: any = {};
1409
+
1410
+ // verify required parameter 'phoneNumberID' is not null or undefined
1411
+ if (phoneNumberID === null || phoneNumberID === undefined) {
1412
+ throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchPhoneNumber.');
1413
+ }
1414
+
1415
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1416
+
1417
+ let localVarUseFormData = false;
1418
+
1419
+ let localVarRequestOptions: localVarRequest.Options = {
1420
+ method: 'GET',
1421
+ qs: localVarQueryParameters,
1422
+ headers: localVarHeaderParams,
1423
+ uri: localVarPath,
1424
+ useQuerystring: this._useQuerystring,
1425
+ json: true,
1426
+ };
1427
+
1428
+ let authenticationPromise = Promise.resolve();
1429
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1430
+
1431
+ let interceptorPromise = authenticationPromise;
1432
+ for (const interceptor of this.interceptors) {
1433
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1434
+ }
1435
+
1436
+ return interceptorPromise.then(() => {
1437
+ if (Object.keys(localVarFormParams).length) {
1438
+ if (localVarUseFormData) {
1439
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1440
+ } else {
1441
+ localVarRequestOptions.form = localVarFormParams;
1442
+ }
1443
+ }
1444
+ return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
1445
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1446
+ if (error) {
1447
+ reject(error);
1448
+ } else {
1449
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1450
+ body = ObjectSerializer.deserialize(body, "PhoneNumber");
1451
+ resolve({ response: response, body: body });
1452
+ } else {
1453
+ reject(new HttpError(response, body, response.statusCode));
1454
+ }
1455
+ }
1456
+ });
1457
+ });
1458
+ });
1459
+ }
1460
+ /**
1461
+ *
1462
+ * @summary Fetch public representative employees of the merchant
1463
+ */
1464
+ public async fetchPublicEmployees (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1465
+ const localVarPath = this.basePath + '/v2/merchant/employees/public';
1466
+ let localVarQueryParameters: any = {};
1467
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1468
+ const produces = ['application/json'];
1469
+ // give precedence to 'application/json'
1470
+ if (produces.indexOf('application/json') >= 0) {
1471
+ localVarHeaderParams.Accept = 'application/json';
1472
+ } else {
1473
+ localVarHeaderParams.Accept = produces.join(',');
1474
+ }
1475
+ let localVarFormParams: any = {};
1476
+
1477
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1478
+
1479
+ let localVarUseFormData = false;
1480
+
1481
+ let localVarRequestOptions: localVarRequest.Options = {
1482
+ method: 'GET',
1483
+ qs: localVarQueryParameters,
1484
+ headers: localVarHeaderParams,
1485
+ uri: localVarPath,
1486
+ useQuerystring: this._useQuerystring,
1487
+ json: true,
1488
+ };
1489
+
1490
+ let authenticationPromise = Promise.resolve();
1491
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1492
+
1493
+ let interceptorPromise = authenticationPromise;
1494
+ for (const interceptor of this.interceptors) {
1495
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1496
+ }
1497
+
1498
+ return interceptorPromise.then(() => {
1499
+ if (Object.keys(localVarFormParams).length) {
1500
+ if (localVarUseFormData) {
1501
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1502
+ } else {
1503
+ localVarRequestOptions.form = localVarFormParams;
1504
+ }
1505
+ }
1506
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1507
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1508
+ if (error) {
1509
+ reject(error);
1510
+ } else {
1511
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1512
+ body = ObjectSerializer.deserialize(body, "any");
1513
+ resolve({ response: response, body: body });
1514
+ } else {
1515
+ reject(new HttpError(response, body, response.statusCode));
1516
+ }
1517
+ }
1518
+ });
1519
+ });
1520
+ });
1521
+ }
1522
+ /**
1523
+ *
1524
+ * @summary Fetch all simple SMS broadcasts
1525
+ * @param isArchiveIncluded
1526
+ */
1527
+ public async fetchSimpleSMSBroadcasts (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<SimpleSMSBroadcast>; }> {
1528
+ const localVarPath = this.basePath + '/v2/merchant/broadcasts/simpleSMS/all';
1529
+ let localVarQueryParameters: any = {};
1530
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1531
+ const produces = ['application/json'];
1532
+ // give precedence to 'application/json'
1533
+ if (produces.indexOf('application/json') >= 0) {
1534
+ localVarHeaderParams.Accept = 'application/json';
1535
+ } else {
1536
+ localVarHeaderParams.Accept = produces.join(',');
1537
+ }
1538
+ let localVarFormParams: any = {};
1539
+
1540
+ if (isArchiveIncluded !== undefined) {
1541
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1542
+ }
1543
+
1544
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1545
+
1546
+ let localVarUseFormData = false;
1547
+
1548
+ let localVarRequestOptions: localVarRequest.Options = {
1549
+ method: 'GET',
1550
+ qs: localVarQueryParameters,
1551
+ headers: localVarHeaderParams,
1552
+ uri: localVarPath,
1553
+ useQuerystring: this._useQuerystring,
1554
+ json: true,
1555
+ };
1556
+
1557
+ let authenticationPromise = Promise.resolve();
1558
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1559
+
1560
+ let interceptorPromise = authenticationPromise;
1561
+ for (const interceptor of this.interceptors) {
1562
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1563
+ }
1564
+
1565
+ return interceptorPromise.then(() => {
1566
+ if (Object.keys(localVarFormParams).length) {
1567
+ if (localVarUseFormData) {
1568
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1569
+ } else {
1570
+ localVarRequestOptions.form = localVarFormParams;
1571
+ }
1572
+ }
1573
+ return new Promise<{ response: http.IncomingMessage; body: Array<SimpleSMSBroadcast>; }>((resolve, reject) => {
1574
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1575
+ if (error) {
1576
+ reject(error);
1577
+ } else {
1578
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1579
+ body = ObjectSerializer.deserialize(body, "Array<SimpleSMSBroadcast>");
1580
+ resolve({ response: response, body: body });
1581
+ } else {
1582
+ reject(new HttpError(response, body, response.statusCode));
1583
+ }
1584
+ }
1585
+ });
1586
+ });
1587
+ });
1588
+ }
1589
+ /**
1590
+ *
1591
+ * @summary Fetch all static voucher campaign broadcasts
1592
+ * @param isArchiveIncluded
1593
+ */
1594
+ public async fetchStaticVoucherCampaignBroadcasts (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<StaticVoucherCampaignBroadcast>; }> {
1595
+ const localVarPath = this.basePath + '/v2/merchant/broadcasts/staticVoucherCampaign/all';
1596
+ let localVarQueryParameters: any = {};
1597
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1598
+ const produces = ['application/json'];
1599
+ // give precedence to 'application/json'
1600
+ if (produces.indexOf('application/json') >= 0) {
1601
+ localVarHeaderParams.Accept = 'application/json';
1602
+ } else {
1603
+ localVarHeaderParams.Accept = produces.join(',');
1604
+ }
1605
+ let localVarFormParams: any = {};
1606
+
1607
+ if (isArchiveIncluded !== undefined) {
1608
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
1609
+ }
1610
+
1611
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1612
+
1613
+ let localVarUseFormData = false;
1614
+
1615
+ let localVarRequestOptions: localVarRequest.Options = {
1616
+ method: 'GET',
1617
+ qs: localVarQueryParameters,
1618
+ headers: localVarHeaderParams,
1619
+ uri: localVarPath,
1620
+ useQuerystring: this._useQuerystring,
1621
+ json: true,
1622
+ };
1623
+
1624
+ let authenticationPromise = Promise.resolve();
1625
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1626
+
1627
+ let interceptorPromise = authenticationPromise;
1628
+ for (const interceptor of this.interceptors) {
1629
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1630
+ }
1631
+
1632
+ return interceptorPromise.then(() => {
1633
+ if (Object.keys(localVarFormParams).length) {
1634
+ if (localVarUseFormData) {
1635
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1636
+ } else {
1637
+ localVarRequestOptions.form = localVarFormParams;
1638
+ }
1639
+ }
1640
+ return new Promise<{ response: http.IncomingMessage; body: Array<StaticVoucherCampaignBroadcast>; }>((resolve, reject) => {
1641
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1642
+ if (error) {
1643
+ reject(error);
1644
+ } else {
1645
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1646
+ body = ObjectSerializer.deserialize(body, "Array<StaticVoucherCampaignBroadcast>");
1647
+ resolve({ response: response, body: body });
1648
+ } else {
1649
+ reject(new HttpError(response, body, response.statusCode));
1650
+ }
1651
+ }
1652
+ });
1653
+ });
1654
+ });
1655
+ }
1656
+ /**
1657
+ *
1658
+ * @summary Fetch all TCPA Filters
1659
+ */
1660
+ public async fetchTCPAFilter (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<Tcpa>; }> {
1661
+ const localVarPath = this.basePath + '/v2/merchant/tcpa/filter/all';
1662
+ let localVarQueryParameters: any = {};
1663
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1664
+ const produces = ['application/json'];
1665
+ // give precedence to 'application/json'
1666
+ if (produces.indexOf('application/json') >= 0) {
1667
+ localVarHeaderParams.Accept = 'application/json';
1668
+ } else {
1669
+ localVarHeaderParams.Accept = produces.join(',');
1670
+ }
1671
+ let localVarFormParams: any = {};
1672
+
1673
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1674
+
1675
+ let localVarUseFormData = false;
1676
+
1677
+ let localVarRequestOptions: localVarRequest.Options = {
1678
+ method: 'GET',
1679
+ qs: localVarQueryParameters,
1680
+ headers: localVarHeaderParams,
1681
+ uri: localVarPath,
1682
+ useQuerystring: this._useQuerystring,
1683
+ json: true,
1684
+ };
1685
+
1686
+ let authenticationPromise = Promise.resolve();
1687
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1688
+
1689
+ let interceptorPromise = authenticationPromise;
1690
+ for (const interceptor of this.interceptors) {
1691
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1692
+ }
1693
+
1694
+ return interceptorPromise.then(() => {
1695
+ if (Object.keys(localVarFormParams).length) {
1696
+ if (localVarUseFormData) {
1697
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1698
+ } else {
1699
+ localVarRequestOptions.form = localVarFormParams;
1700
+ }
1701
+ }
1702
+ return new Promise<{ response: http.IncomingMessage; body: Array<Tcpa>; }>((resolve, reject) => {
1703
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1704
+ if (error) {
1705
+ reject(error);
1706
+ } else {
1707
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1708
+ body = ObjectSerializer.deserialize(body, "Array<Tcpa>");
1709
+ resolve({ response: response, body: body });
1710
+ } else {
1711
+ reject(new HttpError(response, body, response.statusCode));
1712
+ }
1713
+ }
1714
+ });
1715
+ });
1716
+ });
1717
+ }
1718
+ /**
1719
+ *
1720
+ * @summary Fetch wallet configuration
1721
+ */
1722
+ public async fetchWalletConfiguration (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1723
+ const localVarPath = this.basePath + '/v2/merchant/wallet/configuration';
1724
+ let localVarQueryParameters: any = {};
1725
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1726
+ const produces = ['application/json'];
1727
+ // give precedence to 'application/json'
1728
+ if (produces.indexOf('application/json') >= 0) {
1729
+ localVarHeaderParams.Accept = 'application/json';
1730
+ } else {
1731
+ localVarHeaderParams.Accept = produces.join(',');
1732
+ }
1733
+ let localVarFormParams: any = {};
1734
+
1735
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1736
+
1737
+ let localVarUseFormData = false;
1738
+
1739
+ let localVarRequestOptions: localVarRequest.Options = {
1740
+ method: 'GET',
1741
+ qs: localVarQueryParameters,
1742
+ headers: localVarHeaderParams,
1743
+ uri: localVarPath,
1744
+ useQuerystring: this._useQuerystring,
1745
+ json: true,
1746
+ };
1747
+
1748
+ let authenticationPromise = Promise.resolve();
1749
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1750
+
1751
+ let interceptorPromise = authenticationPromise;
1752
+ for (const interceptor of this.interceptors) {
1753
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1754
+ }
1755
+
1756
+ return interceptorPromise.then(() => {
1757
+ if (Object.keys(localVarFormParams).length) {
1758
+ if (localVarUseFormData) {
1759
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1760
+ } else {
1761
+ localVarRequestOptions.form = localVarFormParams;
1762
+ }
1763
+ }
1764
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1765
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1766
+ if (error) {
1767
+ reject(error);
1768
+ } else {
1769
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1770
+ body = ObjectSerializer.deserialize(body, "any");
1771
+ resolve({ response: response, body: body });
1772
+ } else {
1773
+ reject(new HttpError(response, body, response.statusCode));
1774
+ }
1775
+ }
1776
+ });
1777
+ });
1778
+ });
1779
+ }
1780
+ /**
1781
+ *
1782
+ * @summary Update billing contact
1783
+ * @param wTMerchantUpdateBillingContact
1784
+ */
1785
+ public async updateBillingContact (wTMerchantUpdateBillingContact: WTMerchantUpdateBillingContact, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1786
+ const localVarPath = this.basePath + '/v2/merchant/billing/contact';
1787
+ let localVarQueryParameters: any = {};
1788
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1789
+ const produces = ['application/json'];
1790
+ // give precedence to 'application/json'
1791
+ if (produces.indexOf('application/json') >= 0) {
1792
+ localVarHeaderParams.Accept = 'application/json';
1793
+ } else {
1794
+ localVarHeaderParams.Accept = produces.join(',');
1795
+ }
1796
+ let localVarFormParams: any = {};
1797
+
1798
+ // verify required parameter 'wTMerchantUpdateBillingContact' is not null or undefined
1799
+ if (wTMerchantUpdateBillingContact === null || wTMerchantUpdateBillingContact === undefined) {
1800
+ throw new Error('Required parameter wTMerchantUpdateBillingContact was null or undefined when calling updateBillingContact.');
1801
+ }
1802
+
1803
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1804
+
1805
+ let localVarUseFormData = false;
1806
+
1807
+ let localVarRequestOptions: localVarRequest.Options = {
1808
+ method: 'PUT',
1809
+ qs: localVarQueryParameters,
1810
+ headers: localVarHeaderParams,
1811
+ uri: localVarPath,
1812
+ useQuerystring: this._useQuerystring,
1813
+ json: true,
1814
+ body: ObjectSerializer.serialize(wTMerchantUpdateBillingContact, "WTMerchantUpdateBillingContact")
1815
+ };
1816
+
1817
+ let authenticationPromise = Promise.resolve();
1818
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1819
+
1820
+ let interceptorPromise = authenticationPromise;
1821
+ for (const interceptor of this.interceptors) {
1822
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1823
+ }
1824
+
1825
+ return interceptorPromise.then(() => {
1826
+ if (Object.keys(localVarFormParams).length) {
1827
+ if (localVarUseFormData) {
1828
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1829
+ } else {
1830
+ localVarRequestOptions.form = localVarFormParams;
1831
+ }
1832
+ }
1833
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1834
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1835
+ if (error) {
1836
+ reject(error);
1837
+ } else {
1838
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1839
+ body = ObjectSerializer.deserialize(body, "any");
1840
+ resolve({ response: response, body: body });
1841
+ } else {
1842
+ reject(new HttpError(response, body, response.statusCode));
1843
+ }
1844
+ }
1845
+ });
1846
+ });
1847
+ });
1848
+ }
1849
+ /**
1850
+ *
1851
+ * @summary Update merchant details
1852
+ * @param wTMerchantUpdate
1853
+ */
1854
+ public async updateMerchant (wTMerchantUpdate: WTMerchantUpdate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1855
+ const localVarPath = this.basePath + '/v2/merchant';
1856
+ let localVarQueryParameters: any = {};
1857
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1858
+ const produces = ['application/json'];
1859
+ // give precedence to 'application/json'
1860
+ if (produces.indexOf('application/json') >= 0) {
1861
+ localVarHeaderParams.Accept = 'application/json';
1862
+ } else {
1863
+ localVarHeaderParams.Accept = produces.join(',');
1864
+ }
1865
+ let localVarFormParams: any = {};
1866
+
1867
+ // verify required parameter 'wTMerchantUpdate' is not null or undefined
1868
+ if (wTMerchantUpdate === null || wTMerchantUpdate === undefined) {
1869
+ throw new Error('Required parameter wTMerchantUpdate was null or undefined when calling updateMerchant.');
1870
+ }
1871
+
1872
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1873
+
1874
+ let localVarUseFormData = false;
1875
+
1876
+ let localVarRequestOptions: localVarRequest.Options = {
1877
+ method: 'PUT',
1878
+ qs: localVarQueryParameters,
1879
+ headers: localVarHeaderParams,
1880
+ uri: localVarPath,
1881
+ useQuerystring: this._useQuerystring,
1882
+ json: true,
1883
+ body: ObjectSerializer.serialize(wTMerchantUpdate, "WTMerchantUpdate")
1884
+ };
1885
+
1886
+ let authenticationPromise = Promise.resolve();
1887
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1888
+
1889
+ let interceptorPromise = authenticationPromise;
1890
+ for (const interceptor of this.interceptors) {
1891
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1892
+ }
1893
+
1894
+ return interceptorPromise.then(() => {
1895
+ if (Object.keys(localVarFormParams).length) {
1896
+ if (localVarUseFormData) {
1897
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1898
+ } else {
1899
+ localVarRequestOptions.form = localVarFormParams;
1900
+ }
1901
+ }
1902
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1903
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1904
+ if (error) {
1905
+ reject(error);
1906
+ } else {
1907
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1908
+ body = ObjectSerializer.deserialize(body, "any");
1909
+ resolve({ response: response, body: body });
1910
+ } else {
1911
+ reject(new HttpError(response, body, response.statusCode));
1912
+ }
1913
+ }
1914
+ });
1915
+ });
1916
+ });
1917
+ }
1918
+ /**
1919
+ *
1920
+ * @summary Update POS Integration
1921
+ * @param wTMerchantUpdatePOSIntegration
1922
+ */
1923
+ public async updatePosIntegration (wTMerchantUpdatePOSIntegration: WTMerchantUpdatePOSIntegration, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
1924
+ const localVarPath = this.basePath + '/v2/merchant/pos/integration';
1925
+ let localVarQueryParameters: any = {};
1926
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1927
+ const produces = ['application/json'];
1928
+ // give precedence to 'application/json'
1929
+ if (produces.indexOf('application/json') >= 0) {
1930
+ localVarHeaderParams.Accept = 'application/json';
1931
+ } else {
1932
+ localVarHeaderParams.Accept = produces.join(',');
1933
+ }
1934
+ let localVarFormParams: any = {};
1935
+
1936
+ // verify required parameter 'wTMerchantUpdatePOSIntegration' is not null or undefined
1937
+ if (wTMerchantUpdatePOSIntegration === null || wTMerchantUpdatePOSIntegration === undefined) {
1938
+ throw new Error('Required parameter wTMerchantUpdatePOSIntegration was null or undefined when calling updatePosIntegration.');
1939
+ }
1940
+
1941
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1942
+
1943
+ let localVarUseFormData = false;
1944
+
1945
+ let localVarRequestOptions: localVarRequest.Options = {
1946
+ method: 'PUT',
1947
+ qs: localVarQueryParameters,
1948
+ headers: localVarHeaderParams,
1949
+ uri: localVarPath,
1950
+ useQuerystring: this._useQuerystring,
1951
+ json: true,
1952
+ body: ObjectSerializer.serialize(wTMerchantUpdatePOSIntegration, "WTMerchantUpdatePOSIntegration")
1953
+ };
1954
+
1955
+ let authenticationPromise = Promise.resolve();
1956
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1957
+
1958
+ let interceptorPromise = authenticationPromise;
1959
+ for (const interceptor of this.interceptors) {
1960
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1961
+ }
1962
+
1963
+ return interceptorPromise.then(() => {
1964
+ if (Object.keys(localVarFormParams).length) {
1965
+ if (localVarUseFormData) {
1966
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1967
+ } else {
1968
+ localVarRequestOptions.form = localVarFormParams;
1969
+ }
1970
+ }
1971
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
1972
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1973
+ if (error) {
1974
+ reject(error);
1975
+ } else {
1976
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1977
+ body = ObjectSerializer.deserialize(body, "any");
1978
+ resolve({ response: response, body: body });
1979
+ } else {
1980
+ reject(new HttpError(response, body, response.statusCode));
1981
+ }
1982
+ }
1983
+ });
1984
+ });
1985
+ });
1986
+ }
1987
+ }