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