wallet 2.1.512 → 2.1.514

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