wallet 2.1.528 → 2.1.533

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