wallet 2.1.533 → 2.1.535

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