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