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