wallet 2.1.513 → 2.1.514

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