wallet 2.1.513 → 2.1.514

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