wallet 2.1.527 → 2.1.533

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