wallet 2.1.600 → 2.1.603

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 (1964) hide show
  1. package/.github/workflows/ci.yml +163 -163
  2. package/.openapi-generator/FILES +460 -434
  3. package/.openapi-generator-ignore +27 -23
  4. package/LICENSE +201 -201
  5. package/README.md +1530 -1457
  6. package/api/{employeeAPIKeysApi.ts → aPIKeysApi.ts} +448 -448
  7. package/api/amenitiesApi.ts +447 -447
  8. package/api/analyticsApi.ts +7516 -7516
  9. package/api/apis.ts +118 -122
  10. package/api/{a2PApi.ts → appToPersonA2PRegistrationApi.ts} +365 -365
  11. package/api/appleWalletSubscribersApi.ts +235 -235
  12. package/api/{loginAndLogoutApi.ts → authenticationApi.ts} +368 -297
  13. package/api/{billingApi.ts → billingPaymentsApi.ts} +1075 -942
  14. package/api/{clubMembersPointsApi.ts → clubMembersApi.ts} +797 -797
  15. package/api/countriesApi.ts +155 -155
  16. package/api/customerApi.ts +737 -737
  17. package/api/{dashboardApi.ts → dashboardSummariesApi.ts} +1566 -1557
  18. package/api/defaultApi.ts +1571 -0
  19. package/api/diningApi.ts +447 -447
  20. package/api/dynamicVouchersApi.ts +742 -742
  21. package/api/{emailSubscriberApi.ts → emailSubscribersApi.ts} +457 -457
  22. package/api/employeesApi.ts +3064 -3270
  23. package/api/{imageGridApi.ts → galleryApi.ts} +447 -447
  24. package/api/gamingApi.ts +447 -447
  25. package/api/industriesApi.ts +280 -280
  26. package/api/infoGenesisReportsApi.ts +2004 -2004
  27. package/api/interactionsApi.ts +1475 -1326
  28. package/api/loungeApi.ts +447 -447
  29. package/api/membershipTiersApi.ts +728 -728
  30. package/api/merchantApi.ts +2012 -1992
  31. package/api/merchantCreditsApi.ts +797 -797
  32. package/api/newsApi.ts +447 -447
  33. package/api/openAIApi.ts +1439 -0
  34. package/api/paymentDesignsApi.ts +519 -519
  35. package/api/performancesApi.ts +1070 -1068
  36. package/api/{integratedTerminalsApi.ts → pointOfSaleConfigurationApi.ts} +447 -447
  37. package/api/{advertisementCreditsApi.ts → prizesApi.ts} +589 -589
  38. package/api/productsApi.ts +447 -447
  39. package/api/promotionCodesApi.ts +447 -447
  40. package/api/qRCodeDesignsApi.ts +520 -520
  41. package/api/quickLinksApi.ts +517 -517
  42. package/api/quickLinksSectionApi.ts +447 -447
  43. package/api/roomRatesApi.ts +447 -447
  44. package/api/{sMSApi.ts → sMSOperationsApi.ts} +2913 -2893
  45. package/api/{smsSubscriberApi.ts → sMSSubscribersApi.ts} +457 -457
  46. package/api/servicesApi.ts +447 -447
  47. package/api/shopifyTerminalApi.ts +309 -309
  48. package/api/{merchantURLsApi.ts → shortLinksApi.ts} +586 -586
  49. package/api/staticVoucherCampaignsApi.ts +1545 -1623
  50. package/api/staticVouchersApi.ts +535 -535
  51. package/api/systemApi.ts +665 -665
  52. package/api/{ticketApi.ts → ticketsApi.ts} +451 -451
  53. package/api/videosApi.ts +447 -447
  54. package/api/virtualBusinessCardApi.ts +586 -586
  55. package/api/{configurationApi.ts → walletConfigurationApi.ts} +302 -296
  56. package/api/{mobileTerminalApi.ts → walletMobileTerminalApi.ts} +310 -310
  57. package/api/{transactionLedgerApi.ts → walletTransactionLedgerApi.ts} +203 -203
  58. package/api/{webTerminalApi.ts → walletWebTerminalApi.ts} +309 -309
  59. package/api/wixTerminalApi.ts +309 -309
  60. package/api/wooCommerceTerminalApi.ts +309 -309
  61. package/api.ts +3 -3
  62. package/dist/api/{employeeAPIKeysApi.d.ts → aPIKeysApi.d.ts} +70 -68
  63. package/dist/api/{employeeAPIKeysApi.js → aPIKeysApi.js} +380 -378
  64. package/dist/api/aPIKeysApi.js.map +1 -0
  65. package/dist/api/amenitiesApi.d.ts +69 -67
  66. package/dist/api/amenitiesApi.js +379 -377
  67. package/dist/api/amenitiesApi.js.map +1 -1
  68. package/dist/api/analyticsApi.d.ts +707 -705
  69. package/dist/api/analyticsApi.js +6181 -6179
  70. package/dist/api/analyticsApi.js.map +1 -1
  71. package/dist/api/apis.d.ts +116 -120
  72. package/dist/api/apis.js +134 -126
  73. package/dist/api/apis.js.map +1 -1
  74. package/dist/api/{a2PApi.d.ts → appToPersonA2PRegistrationApi.d.ts} +60 -58
  75. package/dist/api/{a2PApi.js → appToPersonA2PRegistrationApi.js} +312 -310
  76. package/dist/api/appToPersonA2PRegistrationApi.js.map +1 -0
  77. package/dist/api/appleWalletSubscribersApi.d.ts +42 -40
  78. package/dist/api/appleWalletSubscribersApi.js +195 -193
  79. package/dist/api/appleWalletSubscribersApi.js.map +1 -1
  80. package/dist/api/{loginAndLogoutApi.d.ts → authenticationApi.d.ts} +63 -51
  81. package/dist/api/{loginAndLogoutApi.js → authenticationApi.js} +312 -249
  82. package/dist/api/authenticationApi.js.map +1 -0
  83. package/dist/api/{billingApi.d.ts → billingPaymentsApi.d.ts} +152 -132
  84. package/dist/api/{billingApi.js → billingPaymentsApi.js} +953 -833
  85. package/dist/api/billingPaymentsApi.js.map +1 -0
  86. package/dist/api/{clubMembersPointsApi.d.ts → clubMembersApi.d.ts} +116 -114
  87. package/dist/api/{clubMembersPointsApi.js → clubMembersApi.js} +682 -680
  88. package/dist/api/clubMembersApi.js.map +1 -0
  89. package/dist/api/countriesApi.d.ts +35 -33
  90. package/dist/api/countriesApi.js +128 -126
  91. package/dist/api/countriesApi.js.map +1 -1
  92. package/dist/api/customerApi.d.ts +102 -100
  93. package/dist/api/customerApi.js +632 -630
  94. package/dist/api/customerApi.js.map +1 -1
  95. package/dist/api/{dashboardApi.d.ts → dashboardSummariesApi.d.ts} +171 -170
  96. package/dist/api/{dashboardApi.js → dashboardSummariesApi.js} +1311 -1303
  97. package/dist/api/dashboardSummariesApi.js.map +1 -0
  98. package/dist/api/defaultApi.d.ts +253 -0
  99. package/dist/api/defaultApi.js +1414 -0
  100. package/dist/api/defaultApi.js.map +1 -0
  101. package/dist/api/diningApi.d.ts +69 -67
  102. package/dist/api/diningApi.js +379 -377
  103. package/dist/api/diningApi.js.map +1 -1
  104. package/dist/api/dynamicVouchersApi.d.ts +104 -102
  105. package/dist/api/dynamicVouchersApi.js +631 -629
  106. package/dist/api/dynamicVouchersApi.js.map +1 -1
  107. package/dist/api/{emailSubscriberApi.d.ts → emailSubscribersApi.d.ts} +69 -67
  108. package/dist/api/{emailSubscriberApi.js → emailSubscribersApi.js} +386 -384
  109. package/dist/api/emailSubscribersApi.js.map +1 -0
  110. package/dist/api/employeesApi.d.ts +399 -424
  111. package/dist/api/employeesApi.js +2679 -2858
  112. package/dist/api/employeesApi.js.map +1 -1
  113. package/dist/api/{imageGridApi.d.ts → galleryApi.d.ts} +69 -67
  114. package/dist/api/{imageGridApi.js → galleryApi.js} +380 -378
  115. package/dist/api/galleryApi.js.map +1 -0
  116. package/dist/api/gamingApi.d.ts +69 -67
  117. package/dist/api/gamingApi.js +379 -377
  118. package/dist/api/gamingApi.js.map +1 -1
  119. package/dist/api/industriesApi.d.ts +52 -50
  120. package/dist/api/industriesApi.js +242 -240
  121. package/dist/api/industriesApi.js.map +1 -1
  122. package/dist/api/infoGenesisReportsApi.d.ts +250 -248
  123. package/dist/api/infoGenesisReportsApi.js +1742 -1740
  124. package/dist/api/infoGenesisReportsApi.js.map +1 -1
  125. package/dist/api/interactionsApi.d.ts +194 -175
  126. package/dist/api/interactionsApi.js +1263 -1133
  127. package/dist/api/interactionsApi.js.map +1 -1
  128. package/dist/api/loungeApi.d.ts +69 -67
  129. package/dist/api/loungeApi.js +379 -377
  130. package/dist/api/loungeApi.js.map +1 -1
  131. package/dist/api/membershipTiersApi.d.ts +105 -103
  132. package/dist/api/membershipTiersApi.js +622 -620
  133. package/dist/api/membershipTiersApi.js.map +1 -1
  134. package/dist/api/merchantApi.d.ts +258 -256
  135. package/dist/api/merchantApi.js +1744 -1730
  136. package/dist/api/merchantApi.js.map +1 -1
  137. package/dist/api/merchantCreditsApi.d.ts +116 -114
  138. package/dist/api/merchantCreditsApi.js +681 -679
  139. package/dist/api/merchantCreditsApi.js.map +1 -1
  140. package/dist/api/newsApi.d.ts +69 -67
  141. package/dist/api/newsApi.js +379 -377
  142. package/dist/api/newsApi.js.map +1 -1
  143. package/dist/api/openAIApi.d.ts +193 -0
  144. package/dist/api/openAIApi.js +1246 -0
  145. package/dist/api/openAIApi.js.map +1 -0
  146. package/dist/api/paymentDesignsApi.d.ts +77 -75
  147. package/dist/api/paymentDesignsApi.js +440 -438
  148. package/dist/api/paymentDesignsApi.js.map +1 -1
  149. package/dist/api/performancesApi.d.ts +140 -136
  150. package/dist/api/performancesApi.js +905 -903
  151. package/dist/api/performancesApi.js.map +1 -1
  152. package/dist/api/{integratedTerminalsApi.d.ts → pointOfSaleConfigurationApi.d.ts} +69 -67
  153. package/dist/api/{integratedTerminalsApi.js → pointOfSaleConfigurationApi.js} +380 -378
  154. package/dist/api/pointOfSaleConfigurationApi.js.map +1 -0
  155. package/dist/api/{advertisementCreditsApi.d.ts → prizesApi.d.ts} +86 -84
  156. package/dist/api/{advertisementCreditsApi.js → prizesApi.js} +502 -500
  157. package/dist/api/prizesApi.js.map +1 -0
  158. package/dist/api/productsApi.d.ts +69 -67
  159. package/dist/api/productsApi.js +379 -377
  160. package/dist/api/productsApi.js.map +1 -1
  161. package/dist/api/promotionCodesApi.d.ts +69 -67
  162. package/dist/api/promotionCodesApi.js +379 -377
  163. package/dist/api/promotionCodesApi.js.map +1 -1
  164. package/dist/api/qRCodeDesignsApi.d.ts +78 -76
  165. package/dist/api/qRCodeDesignsApi.js +440 -438
  166. package/dist/api/qRCodeDesignsApi.js.map +1 -1
  167. package/dist/api/quickLinksApi.d.ts +78 -76
  168. package/dist/api/quickLinksApi.js +440 -438
  169. package/dist/api/quickLinksApi.js.map +1 -1
  170. package/dist/api/quickLinksSectionApi.d.ts +69 -67
  171. package/dist/api/quickLinksSectionApi.js +379 -377
  172. package/dist/api/quickLinksSectionApi.js.map +1 -1
  173. package/dist/api/roomRatesApi.d.ts +69 -67
  174. package/dist/api/roomRatesApi.js +379 -377
  175. package/dist/api/roomRatesApi.js.map +1 -1
  176. package/dist/api/{sMSApi.d.ts → sMSOperationsApi.d.ts} +345 -343
  177. package/dist/api/{sMSApi.js → sMSOperationsApi.js} +2474 -2460
  178. package/dist/api/sMSOperationsApi.js.map +1 -0
  179. package/dist/api/{smsSubscriberApi.d.ts → sMSSubscribersApi.d.ts} +69 -67
  180. package/dist/api/{smsSubscriberApi.js → sMSSubscribersApi.js} +386 -384
  181. package/dist/api/sMSSubscribersApi.js.map +1 -0
  182. package/dist/api/servicesApi.d.ts +69 -67
  183. package/dist/api/servicesApi.js +379 -377
  184. package/dist/api/servicesApi.js.map +1 -1
  185. package/dist/api/shopifyTerminalApi.d.ts +51 -49
  186. package/dist/api/shopifyTerminalApi.js +258 -256
  187. package/dist/api/shopifyTerminalApi.js.map +1 -1
  188. package/dist/api/{merchantURLsApi.d.ts → shortLinksApi.d.ts} +86 -84
  189. package/dist/api/{merchantURLsApi.js → shortLinksApi.js} +502 -500
  190. package/dist/api/shortLinksApi.js.map +1 -0
  191. package/dist/api/staticVoucherCampaignsApi.d.ts +200 -208
  192. package/dist/api/staticVoucherCampaignsApi.js +1325 -1388
  193. package/dist/api/staticVoucherCampaignsApi.js.map +1 -1
  194. package/dist/api/staticVouchersApi.d.ts +78 -76
  195. package/dist/api/staticVouchersApi.js +449 -447
  196. package/dist/api/staticVouchersApi.js.map +1 -1
  197. package/dist/api/systemApi.d.ts +96 -94
  198. package/dist/api/systemApi.js +567 -565
  199. package/dist/api/systemApi.js.map +1 -1
  200. package/dist/api/{ticketApi.d.ts → ticketsApi.d.ts} +70 -68
  201. package/dist/api/{ticketApi.js → ticketsApi.js} +381 -379
  202. package/dist/api/ticketsApi.js.map +1 -0
  203. package/dist/api/videosApi.d.ts +69 -67
  204. package/dist/api/videosApi.js +379 -377
  205. package/dist/api/videosApi.js.map +1 -1
  206. package/dist/api/virtualBusinessCardApi.d.ts +86 -84
  207. package/dist/api/virtualBusinessCardApi.js +501 -499
  208. package/dist/api/virtualBusinessCardApi.js.map +1 -1
  209. package/dist/api/{configurationApi.d.ts → walletConfigurationApi.d.ts} +53 -51
  210. package/dist/api/{configurationApi.js → walletConfigurationApi.js} +254 -249
  211. package/dist/api/walletConfigurationApi.js.map +1 -0
  212. package/dist/api/{mobileTerminalApi.d.ts → walletMobileTerminalApi.d.ts} +52 -50
  213. package/dist/api/{mobileTerminalApi.js → walletMobileTerminalApi.js} +259 -257
  214. package/dist/api/walletMobileTerminalApi.js.map +1 -0
  215. package/dist/api/{transactionLedgerApi.d.ts → walletTransactionLedgerApi.d.ts} +36 -34
  216. package/dist/api/{transactionLedgerApi.js → walletTransactionLedgerApi.js} +156 -154
  217. package/dist/api/walletTransactionLedgerApi.js.map +1 -0
  218. package/dist/api/{webTerminalApi.d.ts → walletWebTerminalApi.d.ts} +51 -49
  219. package/dist/api/{webTerminalApi.js → walletWebTerminalApi.js} +259 -257
  220. package/dist/api/walletWebTerminalApi.js.map +1 -0
  221. package/dist/api/wixTerminalApi.d.ts +51 -49
  222. package/dist/api/wixTerminalApi.js +258 -256
  223. package/dist/api/wixTerminalApi.js.map +1 -1
  224. package/dist/api/wooCommerceTerminalApi.d.ts +51 -49
  225. package/dist/api/wooCommerceTerminalApi.js +258 -256
  226. package/dist/api/wooCommerceTerminalApi.js.map +1 -1
  227. package/dist/api.d.ts +2 -2
  228. package/dist/api.js +18 -7
  229. package/dist/api.js.map +1 -1
  230. package/dist/examples/advertisementcredits.example.d.ts +1 -1
  231. package/dist/examples/advertisementcredits.example.js +86 -69
  232. package/dist/examples/advertisementcredits.example.js.map +1 -1
  233. package/dist/examples/clubmembers.example.d.ts +1 -1
  234. package/dist/examples/clubmembers.example.js +95 -78
  235. package/dist/examples/clubmembers.example.js.map +1 -1
  236. package/dist/examples/constants.d.ts +6 -6
  237. package/dist/examples/constants.js +9 -8
  238. package/dist/examples/constants.js.map +1 -1
  239. package/dist/examples/dynamicvouchers.example.d.ts +1 -1
  240. package/dist/examples/dynamicvouchers.example.js +113 -96
  241. package/dist/examples/dynamicvouchers.example.js.map +1 -1
  242. package/dist/examples/linkbook.example.d.ts +1 -1
  243. package/dist/examples/linkbook.example.js +75 -58
  244. package/dist/examples/linkbook.example.js.map +1 -1
  245. package/dist/examples/membershiptiers.example.d.ts +1 -1
  246. package/dist/examples/membershiptiers.example.js +89 -72
  247. package/dist/examples/membershiptiers.example.js.map +1 -1
  248. package/dist/examples/merchantcredits.example.d.ts +1 -1
  249. package/dist/examples/merchantcredits.example.js +92 -75
  250. package/dist/examples/merchantcredits.example.js.map +1 -1
  251. package/dist/examples/merchanturls.example.d.ts +1 -1
  252. package/dist/examples/merchanturls.example.js +76 -59
  253. package/dist/examples/merchanturls.example.js.map +1 -1
  254. package/dist/examples/news.example.d.ts +1 -1
  255. package/dist/examples/news.example.js +75 -58
  256. package/dist/examples/news.example.js.map +1 -1
  257. package/dist/examples/paymentdesigns.example.d.ts +1 -1
  258. package/dist/examples/paymentdesigns.example.js +83 -66
  259. package/dist/examples/paymentdesigns.example.js.map +1 -1
  260. package/dist/examples/performances.example.d.ts +1 -1
  261. package/dist/examples/performances.example.js +78 -61
  262. package/dist/examples/performances.example.js.map +1 -1
  263. package/dist/examples/promocodes.example.d.ts +1 -1
  264. package/dist/examples/promocodes.example.js +77 -60
  265. package/dist/examples/promocodes.example.js.map +1 -1
  266. package/dist/examples/sms.example.d.ts +1 -1
  267. package/dist/examples/sms.example.js +267 -250
  268. package/dist/examples/sms.example.js.map +1 -1
  269. package/dist/examples/staticvouchercampaigns.example.d.ts +1 -1
  270. package/dist/examples/staticvouchercampaigns.example.js +169 -152
  271. package/dist/examples/staticvouchercampaigns.example.js.map +1 -1
  272. package/dist/examples/staticvouchers.example.d.ts +1 -1
  273. package/dist/examples/staticvouchers.example.js +81 -64
  274. package/dist/examples/staticvouchers.example.js.map +1 -1
  275. package/dist/model/a2PApplicationSubmission.d.ts +53 -58
  276. package/dist/model/a2PApplicationSubmission.js +192 -191
  277. package/dist/model/a2PApplicationSubmission.js.map +1 -1
  278. package/dist/model/advertisementCredit.d.ts +24 -28
  279. package/dist/model/advertisementCredit.js +77 -76
  280. package/dist/model/advertisementCredit.js.map +1 -1
  281. package/dist/model/advertisementCreditBroadcast.d.ts +37 -41
  282. package/dist/model/advertisementCreditBroadcast.js +117 -116
  283. package/dist/model/advertisementCreditBroadcast.js.map +1 -1
  284. package/dist/model/advertisementCreditScan.d.ts +36 -40
  285. package/dist/model/advertisementCreditScan.js +127 -126
  286. package/dist/model/advertisementCreditScan.js.map +1 -1
  287. package/dist/model/amenity.d.ts +21 -25
  288. package/dist/model/amenity.js +67 -66
  289. package/dist/model/amenity.js.map +1 -1
  290. package/dist/model/{messageDirection.d.ts → amenityId.d.ts} +13 -13
  291. package/dist/model/amenityId.js +12 -0
  292. package/dist/model/amenityId.js.map +1 -0
  293. package/dist/model/announcement.d.ts +16 -20
  294. package/dist/model/announcement.js +47 -46
  295. package/dist/model/announcement.js.map +1 -1
  296. package/dist/model/applicableTerminals.d.ts +13 -13
  297. package/dist/model/applicableTerminals.js +11 -10
  298. package/dist/model/applicableTerminals.js.map +1 -1
  299. package/dist/model/assistant.d.ts +25 -0
  300. package/dist/model/assistant.js +88 -0
  301. package/dist/model/assistant.js.map +1 -0
  302. package/dist/model/authError.d.ts +14 -18
  303. package/dist/model/authError.js +37 -36
  304. package/dist/model/authError.js.map +1 -1
  305. package/dist/model/availablePhoneNumbersRequest.d.ts +11 -15
  306. package/dist/model/availablePhoneNumbersRequest.js +22 -21
  307. package/dist/model/availablePhoneNumbersRequest.js.map +1 -1
  308. package/dist/model/browserDetails.d.ts +14 -18
  309. package/dist/model/browserDetails.js +37 -36
  310. package/dist/model/browserDetails.js.map +1 -1
  311. package/dist/model/businessClassification.d.ts +6 -6
  312. package/dist/model/businessClassification.js +10 -9
  313. package/dist/model/businessClassification.js.map +1 -1
  314. package/dist/model/businessIndustry.d.ts +35 -35
  315. package/dist/model/businessIndustry.js +39 -38
  316. package/dist/model/businessIndustry.js.map +1 -1
  317. package/dist/model/businessRegionsOfOperation.d.ts +8 -8
  318. package/dist/model/businessRegionsOfOperation.js +12 -11
  319. package/dist/model/businessRegionsOfOperation.js.map +1 -1
  320. package/dist/model/businessRegistrationIdentifier.d.ts +12 -12
  321. package/dist/model/businessRegistrationIdentifier.js +16 -15
  322. package/dist/model/businessRegistrationIdentifier.js.map +1 -1
  323. package/dist/model/businessStockExchanges.d.ts +29 -29
  324. package/dist/model/businessStockExchanges.js +33 -32
  325. package/dist/model/businessStockExchanges.js.map +1 -1
  326. package/dist/model/businessType.d.ts +8 -8
  327. package/dist/model/businessType.js +12 -11
  328. package/dist/model/businessType.js.map +1 -1
  329. package/dist/model/chatCompletionAudio.d.ts +13 -0
  330. package/dist/model/chatCompletionAudio.js +33 -0
  331. package/dist/model/chatCompletionAudio.js.map +1 -0
  332. package/dist/model/chatCompletionMessage.d.ts +22 -0
  333. package/dist/model/chatCompletionMessage.js +49 -0
  334. package/dist/model/chatCompletionMessage.js.map +1 -0
  335. package/dist/model/chatCompletionMessageAudio.d.ts +17 -0
  336. package/dist/model/chatCompletionMessageAudio.js +33 -0
  337. package/dist/model/chatCompletionMessageAudio.js.map +1 -0
  338. package/dist/model/chatCompletionMessageFunctionCall.d.ts +15 -0
  339. package/dist/model/chatCompletionMessageFunctionCall.js +23 -0
  340. package/dist/model/chatCompletionMessageFunctionCall.js.map +1 -0
  341. package/dist/model/chatCompletionMessageToolCall.d.ts +18 -0
  342. package/dist/model/chatCompletionMessageToolCall.js +34 -0
  343. package/dist/model/chatCompletionMessageToolCall.js.map +1 -0
  344. package/dist/model/chatCompletionMessageToolCallFunction.d.ts +11 -0
  345. package/dist/model/chatCompletionMessageToolCallFunction.js +23 -0
  346. package/dist/model/chatCompletionMessageToolCallFunction.js.map +1 -0
  347. package/dist/model/claimTicketRequest.d.ts +14 -14
  348. package/dist/model/claimTicketRequest.js +17 -16
  349. package/dist/model/claimTicketRequest.js.map +1 -1
  350. package/dist/model/clickFunnelAmount.d.ts +11 -15
  351. package/dist/model/clickFunnelAmount.js +22 -21
  352. package/dist/model/clickFunnelAmount.js.map +1 -1
  353. package/dist/model/clickFunnelContact.d.ts +53 -54
  354. package/dist/model/clickFunnelContact.js +227 -211
  355. package/dist/model/clickFunnelContact.js.map +1 -1
  356. package/dist/model/clickFunnelContactProfile.d.ts +44 -48
  357. package/dist/model/clickFunnelContactProfile.js +187 -186
  358. package/dist/model/clickFunnelContactProfile.js.map +1 -1
  359. package/dist/model/clickFunnelEvent.d.ts +12 -16
  360. package/dist/model/clickFunnelEvent.js +22 -21
  361. package/dist/model/clickFunnelEvent.js.map +1 -1
  362. package/dist/model/clickFunnelOriginalAmount.d.ts +11 -15
  363. package/dist/model/clickFunnelOriginalAmount.js +22 -21
  364. package/dist/model/clickFunnelOriginalAmount.js.map +1 -1
  365. package/dist/model/clickFunnelProduct.d.ts +38 -42
  366. package/dist/model/clickFunnelProduct.js +152 -151
  367. package/dist/model/clickFunnelProduct.js.map +1 -1
  368. package/dist/model/clickFunnelPurchase.d.ts +38 -41
  369. package/dist/model/clickFunnelPurchase.js +137 -136
  370. package/dist/model/clickFunnelPurchase.js.map +1 -1
  371. package/dist/model/clickFunnelRegistration.d.ts +12 -16
  372. package/dist/model/clickFunnelRegistration.js +22 -21
  373. package/dist/model/clickFunnelRegistration.js.map +1 -1
  374. package/dist/model/countClaimedComps200Response.d.ts +15 -15
  375. package/dist/model/countClaimedComps200Response.js +22 -21
  376. package/dist/model/countClaimedComps200Response.js.map +1 -1
  377. package/dist/model/createFile200Response.d.ts +16 -16
  378. package/dist/model/createFile200Response.js +27 -26
  379. package/dist/model/createFile200Response.js.map +1 -1
  380. package/dist/model/createRunOnThreadRequest.d.ts +15 -0
  381. package/dist/model/createRunOnThreadRequest.js +23 -0
  382. package/dist/model/createRunOnThreadRequest.js.map +1 -0
  383. package/dist/model/createStaticVoucherCampaign.d.ts +23 -28
  384. package/dist/model/createStaticVoucherCampaign.js +77 -76
  385. package/dist/model/createStaticVoucherCampaign.js.map +1 -1
  386. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.d.ts +23 -28
  387. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js +77 -76
  388. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js.map +1 -1
  389. package/dist/model/dashboardWidget.d.ts +25 -29
  390. package/dist/model/dashboardWidget.js +92 -91
  391. package/dist/model/dashboardWidget.js.map +1 -1
  392. package/dist/model/dining.d.ts +21 -25
  393. package/dist/model/dining.js +67 -66
  394. package/dist/model/dining.js.map +1 -1
  395. package/dist/model/document.d.ts +19 -23
  396. package/dist/model/document.js +62 -61
  397. package/dist/model/document.js.map +1 -1
  398. package/dist/model/duplicateRowFound.d.ts +14 -18
  399. package/dist/model/duplicateRowFound.js +37 -36
  400. package/dist/model/duplicateRowFound.js.map +1 -1
  401. package/dist/model/dynamicVoucher.d.ts +46 -50
  402. package/dist/model/dynamicVoucher.js +177 -176
  403. package/dist/model/dynamicVoucher.js.map +1 -1
  404. package/dist/model/dynamicVoucherBroadcast.d.ts +37 -41
  405. package/dist/model/dynamicVoucherBroadcast.js +117 -116
  406. package/dist/model/dynamicVoucherBroadcast.js.map +1 -1
  407. package/dist/model/dynamicVoucherBroadcastListType.d.ts +13 -13
  408. package/dist/model/dynamicVoucherBroadcastListType.js +11 -10
  409. package/dist/model/dynamicVoucherBroadcastListType.js.map +1 -1
  410. package/dist/model/dynamicVoucherTemporalDecreaseFrequencyType.d.ts +13 -13
  411. package/dist/model/dynamicVoucherTemporalDecreaseFrequencyType.js +11 -10
  412. package/dist/model/dynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -1
  413. package/dist/model/emailSubscriber.d.ts +18 -22
  414. package/dist/model/emailSubscriber.js +52 -51
  415. package/dist/model/emailSubscriber.js.map +1 -1
  416. package/dist/model/employee.d.ts +43 -47
  417. package/dist/model/employee.js +162 -161
  418. package/dist/model/employee.js.map +1 -1
  419. package/dist/model/employeeAPIKey.d.ts +19 -23
  420. package/dist/model/employeeAPIKey.js +57 -56
  421. package/dist/model/employeeAPIKey.js.map +1 -1
  422. package/dist/model/employeeActivityLog.d.ts +16 -20
  423. package/dist/model/employeeActivityLog.js +47 -46
  424. package/dist/model/employeeActivityLog.js.map +1 -1
  425. package/dist/model/employeeAlert.d.ts +19 -23
  426. package/dist/model/employeeAlert.js +62 -61
  427. package/dist/model/employeeAlert.js.map +1 -1
  428. package/dist/model/employeeScheduleStartDay.d.ts +13 -13
  429. package/dist/model/employeeScheduleStartDay.js +11 -10
  430. package/dist/model/employeeScheduleStartDay.js.map +1 -1
  431. package/dist/model/employeeScheduleStartHour.d.ts +13 -13
  432. package/dist/model/employeeScheduleStartHour.js +11 -10
  433. package/dist/model/employeeScheduleStartHour.js.map +1 -1
  434. package/dist/model/employeeScheduleStartMeridiem.d.ts +13 -13
  435. package/dist/model/employeeScheduleStartMeridiem.js +11 -10
  436. package/dist/model/employeeScheduleStartMeridiem.js.map +1 -1
  437. package/dist/model/employeeScheduleStartMinute.d.ts +13 -13
  438. package/dist/model/employeeScheduleStartMinute.js +11 -10
  439. package/dist/model/employeeScheduleStartMinute.js.map +1 -1
  440. package/dist/model/entityTooLarge.d.ts +14 -18
  441. package/dist/model/entityTooLarge.js +37 -36
  442. package/dist/model/entityTooLarge.js.map +1 -1
  443. package/dist/model/exportDataFile.d.ts +19 -23
  444. package/dist/model/exportDataFile.js +62 -61
  445. package/dist/model/exportDataFile.js.map +1 -1
  446. package/dist/model/falsumError.d.ts +11 -16
  447. package/dist/model/falsumError.js +22 -21
  448. package/dist/model/falsumError.js.map +1 -1
  449. package/dist/model/falsumField.d.ts +12 -16
  450. package/dist/model/falsumField.js +27 -26
  451. package/dist/model/falsumField.js.map +1 -1
  452. package/dist/model/feature.d.ts +18 -22
  453. package/dist/model/feature.js +57 -56
  454. package/dist/model/feature.js.map +1 -1
  455. package/dist/model/fetchAdvertisementCreditScansFromListRequest.d.ts +14 -0
  456. package/dist/model/fetchAdvertisementCreditScansFromListRequest.js +18 -0
  457. package/dist/model/fetchAdvertisementCreditScansFromListRequest.js.map +1 -0
  458. package/dist/model/fetchAllCountries200ResponseInner.d.ts +17 -17
  459. package/dist/model/fetchAllCountries200ResponseInner.js +32 -31
  460. package/dist/model/fetchAllCountries200ResponseInner.js.map +1 -1
  461. package/dist/model/fetchAllLedgerTransactions200Response.d.ts +17 -17
  462. package/dist/model/fetchAllLedgerTransactions200Response.js +27 -26
  463. package/dist/model/fetchAllLedgerTransactions200Response.js.map +1 -1
  464. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.d.ts +28 -28
  465. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.js +77 -76
  466. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.js.map +1 -1
  467. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.d.ts +13 -13
  468. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.js +11 -10
  469. package/dist/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.js.map +1 -1
  470. package/dist/model/fetchCustomerTicketsWithTokenRequest.d.ts +15 -15
  471. package/dist/model/fetchCustomerTicketsWithTokenRequest.js +22 -21
  472. package/dist/model/fetchCustomerTicketsWithTokenRequest.js.map +1 -1
  473. package/dist/model/fetchDomainsByIndustry200Response.d.ts +20 -20
  474. package/dist/model/fetchDomainsByIndustry200Response.js +47 -46
  475. package/dist/model/fetchDomainsByIndustry200Response.js.map +1 -1
  476. package/dist/model/fetchImportedListRecipientsByPage200Response.d.ts +17 -17
  477. package/dist/model/fetchImportedListRecipientsByPage200Response.js +27 -26
  478. package/dist/model/fetchImportedListRecipientsByPage200Response.js.map +1 -1
  479. package/dist/model/fetchInboundSMSByPage200Response.d.ts +17 -17
  480. package/dist/model/fetchInboundSMSByPage200Response.js +27 -26
  481. package/dist/model/fetchInboundSMSByPage200Response.js.map +1 -1
  482. package/dist/model/fetchIndustry200Response.d.ts +19 -19
  483. package/dist/model/fetchIndustry200Response.js +37 -36
  484. package/dist/model/fetchIndustry200Response.js.map +1 -1
  485. package/dist/model/fetchMembersCount200Response.d.ts +14 -14
  486. package/dist/model/fetchMembersCount200Response.js +17 -16
  487. package/dist/model/fetchMembersCount200Response.js.map +1 -1
  488. package/dist/model/fetchOptInListSubscribersByPage200Response.d.ts +17 -17
  489. package/dist/model/fetchOptInListSubscribersByPage200Response.js +27 -26
  490. package/dist/model/fetchOptInListSubscribersByPage200Response.js.map +1 -1
  491. package/dist/model/fetchOutboundSMSByPage200Response.d.ts +17 -17
  492. package/dist/model/fetchOutboundSMSByPage200Response.js +27 -26
  493. package/dist/model/fetchOutboundSMSByPage200Response.js.map +1 -1
  494. package/dist/model/fetchPerformanceTicketsPage200Response.d.ts +16 -16
  495. package/dist/model/fetchPerformanceTicketsPage200Response.js +22 -21
  496. package/dist/model/fetchPerformanceTicketsPage200Response.js.map +1 -1
  497. package/dist/model/fetchStaticVouchersPage200Response.d.ts +16 -16
  498. package/dist/model/fetchStaticVouchersPage200Response.js +22 -21
  499. package/dist/model/fetchStaticVouchersPage200Response.js.map +1 -1
  500. package/dist/model/forbiddenRequest.d.ts +14 -18
  501. package/dist/model/forbiddenRequest.js +37 -36
  502. package/dist/model/forbiddenRequest.js.map +1 -1
  503. package/dist/model/foreignKeyDoesNotExist.d.ts +14 -18
  504. package/dist/model/foreignKeyDoesNotExist.js +37 -36
  505. package/dist/model/foreignKeyDoesNotExist.js.map +1 -1
  506. package/dist/model/gaming.d.ts +21 -25
  507. package/dist/model/gaming.js +67 -66
  508. package/dist/model/gaming.js.map +1 -1
  509. package/dist/model/helpDeskRequest.d.ts +20 -24
  510. package/dist/model/helpDeskRequest.js +62 -61
  511. package/dist/model/helpDeskRequest.js.map +1 -1
  512. package/dist/model/imageGrid.d.ts +20 -24
  513. package/dist/model/imageGrid.js +62 -61
  514. package/dist/model/imageGrid.js.map +1 -1
  515. package/dist/model/importTicketsRequest.d.ts +15 -15
  516. package/dist/model/importTicketsRequest.js +17 -16
  517. package/dist/model/importTicketsRequest.js.map +1 -1
  518. package/dist/model/importedList.d.ts +18 -22
  519. package/dist/model/importedList.js +52 -51
  520. package/dist/model/importedList.js.map +1 -1
  521. package/dist/model/importedListRecipient.d.ts +18 -22
  522. package/dist/model/importedListRecipient.js +52 -51
  523. package/dist/model/importedListRecipient.js.map +1 -1
  524. package/dist/model/inboundSMS.d.ts +46 -50
  525. package/dist/model/inboundSMS.js +192 -191
  526. package/dist/model/inboundSMS.js.map +1 -1
  527. package/dist/model/{internalServerError.d.ts → internalServerError500.d.ts} +14 -18
  528. package/dist/model/{internalServerError.js → internalServerError500.js} +38 -37
  529. package/dist/model/internalServerError500.js.map +1 -0
  530. package/dist/model/jobPosition.d.ts +9 -9
  531. package/dist/model/jobPosition.js +13 -12
  532. package/dist/model/jobPosition.js.map +1 -1
  533. package/dist/model/ledgerEntry.d.ts +38 -42
  534. package/dist/model/ledgerEntry.js +137 -136
  535. package/dist/model/ledgerEntry.js.map +1 -1
  536. package/dist/model/ledgerEntryParentObjectID.d.ts +13 -13
  537. package/dist/model/ledgerEntryParentObjectID.js +11 -10
  538. package/dist/model/ledgerEntryParentObjectID.js.map +1 -1
  539. package/dist/model/ledgerEntryTransactionType.d.ts +13 -13
  540. package/dist/model/ledgerEntryTransactionType.js +11 -10
  541. package/dist/model/ledgerEntryTransactionType.js.map +1 -1
  542. package/dist/model/linkBook.d.ts +21 -25
  543. package/dist/model/linkBook.js +62 -61
  544. package/dist/model/linkBook.js.map +1 -1
  545. package/dist/model/linkBookSection.d.ts +17 -21
  546. package/dist/model/linkBookSection.js +47 -46
  547. package/dist/model/linkBookSection.js.map +1 -1
  548. package/dist/model/loginStatus200Response.d.ts +21 -21
  549. package/dist/model/loginStatus200Response.js +33 -32
  550. package/dist/model/loginStatus200Response.js.map +1 -1
  551. package/dist/model/loginStatus200ResponseAnyOf.d.ts +15 -15
  552. package/dist/model/loginStatus200ResponseAnyOf.js +22 -21
  553. package/dist/model/loginStatus200ResponseAnyOf.js.map +1 -1
  554. package/dist/model/lounge.d.ts +21 -25
  555. package/dist/model/lounge.js +67 -66
  556. package/dist/model/lounge.js.map +1 -1
  557. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.d.ts +11 -15
  558. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.js +22 -21
  559. package/dist/model/mSAnalyticsMemberCountPartitionedByDate.js.map +1 -1
  560. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.d.ts +11 -15
  561. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.js +22 -21
  562. package/dist/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.js.map +1 -1
  563. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.d.ts +11 -15
  564. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.js +22 -21
  565. package/dist/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.js.map +1 -1
  566. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.d.ts +11 -15
  567. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.js +22 -21
  568. package/dist/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.js.map +1 -1
  569. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.d.ts +11 -15
  570. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.js +22 -21
  571. package/dist/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.js.map +1 -1
  572. package/dist/model/mSMemberHistory.d.ts +22 -26
  573. package/dist/model/mSMemberHistory.js +77 -76
  574. package/dist/model/mSMemberHistory.js.map +1 -1
  575. package/dist/model/mSMemberHistoryPagination.d.ts +12 -17
  576. package/dist/model/mSMemberHistoryPagination.js +27 -26
  577. package/dist/model/mSMemberHistoryPagination.js.map +1 -1
  578. package/dist/model/mSMemberRedemption.d.ts +21 -25
  579. package/dist/model/mSMemberRedemption.js +62 -61
  580. package/dist/model/mSMemberRedemption.js.map +1 -1
  581. package/dist/model/mSMemberRedemptionPagination.d.ts +12 -17
  582. package/dist/model/mSMemberRedemptionPagination.js +27 -26
  583. package/dist/model/mSMemberRedemptionPagination.js.map +1 -1
  584. package/dist/model/{saveTicketSettingsRequestPaymentDesignID.d.ts → mSMemberRedemptionRegisterID.d.ts} +13 -13
  585. package/dist/model/mSMemberRedemptionRegisterID.js +12 -0
  586. package/dist/model/mSMemberRedemptionRegisterID.js.map +1 -0
  587. package/dist/model/mSMemberRedemptionTransactionType.d.ts +13 -13
  588. package/dist/model/mSMemberRedemptionTransactionType.js +11 -10
  589. package/dist/model/mSMemberRedemptionTransactionType.js.map +1 -1
  590. package/dist/model/mSMembershipTierHistory.d.ts +19 -23
  591. package/dist/model/mSMembershipTierHistory.js +62 -61
  592. package/dist/model/mSMembershipTierHistory.js.map +1 -1
  593. package/dist/model/mSMembershipTierHistoryPagination.d.ts +12 -17
  594. package/dist/model/mSMembershipTierHistoryPagination.js +27 -26
  595. package/dist/model/mSMembershipTierHistoryPagination.js.map +1 -1
  596. package/dist/model/mSMembershipTierRedemption.d.ts +22 -26
  597. package/dist/model/mSMembershipTierRedemption.js +67 -66
  598. package/dist/model/mSMembershipTierRedemption.js.map +1 -1
  599. package/dist/model/mSMembershipTierRedemptionPagination.d.ts +12 -17
  600. package/dist/model/mSMembershipTierRedemptionPagination.js +27 -26
  601. package/dist/model/mSMembershipTierRedemptionPagination.js.map +1 -1
  602. package/dist/model/mSMerchantCreditHistory.d.ts +17 -21
  603. package/dist/model/mSMerchantCreditHistory.js +52 -51
  604. package/dist/model/mSMerchantCreditHistory.js.map +1 -1
  605. package/dist/model/mSMerchantCreditHistoryPagination.d.ts +12 -17
  606. package/dist/model/mSMerchantCreditHistoryPagination.js +27 -26
  607. package/dist/model/mSMerchantCreditHistoryPagination.js.map +1 -1
  608. package/dist/model/mSMerchantCreditRedemption.d.ts +21 -25
  609. package/dist/model/mSMerchantCreditRedemption.js +62 -61
  610. package/dist/model/mSMerchantCreditRedemption.js.map +1 -1
  611. package/dist/model/mSMerchantCreditRedemptionPagination.d.ts +12 -17
  612. package/dist/model/mSMerchantCreditRedemptionPagination.js +27 -26
  613. package/dist/model/mSMerchantCreditRedemptionPagination.js.map +1 -1
  614. package/dist/model/mediaFile.d.ts +19 -23
  615. package/dist/model/mediaFile.js +62 -61
  616. package/dist/model/mediaFile.js.map +1 -1
  617. package/dist/model/member.d.ts +23 -27
  618. package/dist/model/member.js +82 -81
  619. package/dist/model/member.js.map +1 -1
  620. package/dist/model/memberSearch.d.ts +19 -23
  621. package/dist/model/memberSearch.js +47 -46
  622. package/dist/model/memberSearch.js.map +1 -1
  623. package/dist/model/memberSearchSearchKey.d.ts +13 -13
  624. package/dist/model/memberSearchSearchKey.js +11 -10
  625. package/dist/model/memberSearchSearchKey.js.map +1 -1
  626. package/dist/model/memberSearchSortKey.d.ts +13 -13
  627. package/dist/model/memberSearchSortKey.js +11 -10
  628. package/dist/model/memberSearchSortKey.js.map +1 -1
  629. package/dist/model/merchant.d.ts +36 -40
  630. package/dist/model/merchant.js +147 -146
  631. package/dist/model/merchant.js.map +1 -1
  632. package/dist/model/merchantCreditSearch.d.ts +13 -17
  633. package/dist/model/merchantCreditSearch.js +32 -31
  634. package/dist/model/merchantCreditSearch.js.map +1 -1
  635. package/dist/model/merchantNotInitialized.d.ts +14 -18
  636. package/dist/model/merchantNotInitialized.js +37 -36
  637. package/dist/model/merchantNotInitialized.js.map +1 -1
  638. package/dist/model/merchantURL.d.ts +17 -21
  639. package/dist/model/merchantURL.js +47 -46
  640. package/dist/model/merchantURL.js.map +1 -1
  641. package/dist/model/message.d.ts +18 -22
  642. package/dist/model/message.js +52 -51
  643. package/dist/model/message.js.map +1 -1
  644. package/dist/model/models.d.ts +445 -417
  645. package/dist/model/models.js +1417 -1322
  646. package/dist/model/models.js.map +1 -1
  647. package/dist/model/moduleError.d.ts +31 -35
  648. package/dist/model/moduleError.js +122 -121
  649. package/dist/model/moduleError.js.map +1 -1
  650. package/dist/model/newsArticle.d.ts +21 -25
  651. package/dist/model/newsArticle.js +67 -66
  652. package/dist/model/newsArticle.js.map +1 -1
  653. package/dist/model/oAIAssistantUpdateParams.d.ts +18 -0
  654. package/dist/model/oAIAssistantUpdateParams.js +58 -0
  655. package/dist/model/oAIAssistantUpdateParams.js.map +1 -0
  656. package/dist/model/oAIAssistantUpdateParamsCreateParams.d.ts +18 -0
  657. package/dist/model/oAIAssistantUpdateParamsCreateParams.js +58 -0
  658. package/dist/model/oAIAssistantUpdateParamsCreateParams.js.map +1 -0
  659. package/dist/model/optInList.d.ts +28 -32
  660. package/dist/model/optInList.js +102 -101
  661. package/dist/model/optInList.js.map +1 -1
  662. package/dist/model/optInListSource.d.ts +18 -22
  663. package/dist/model/optInListSource.js +52 -51
  664. package/dist/model/optInListSource.js.map +1 -1
  665. package/dist/model/optInListSubscriber.d.ts +27 -31
  666. package/dist/model/optInListSubscriber.js +87 -86
  667. package/dist/model/optInListSubscriber.js.map +1 -1
  668. package/dist/model/optInListSubscriberOptInSourceID.d.ts +13 -0
  669. package/dist/model/optInListSubscriberOptInSourceID.js +12 -0
  670. package/dist/model/optInListSubscriberOptInSourceID.js.map +1 -0
  671. package/dist/model/outboundSMS.d.ts +34 -38
  672. package/dist/model/outboundSMS.js +122 -121
  673. package/dist/model/outboundSMS.js.map +1 -1
  674. package/dist/model/{updateStaticVoucherCampaignWithVoucherVoucherID.d.ts → outboundSMSPaymentObjectBroadcastID.d.ts} +13 -13
  675. package/dist/model/outboundSMSPaymentObjectBroadcastID.js +12 -0
  676. package/dist/model/outboundSMSPaymentObjectBroadcastID.js.map +1 -0
  677. package/dist/model/{wTWalletPageViewId.d.ts → outboundSMSStatus.d.ts} +13 -13
  678. package/dist/model/outboundSMSStatus.js +12 -0
  679. package/dist/model/outboundSMSStatus.js.map +1 -0
  680. package/dist/model/paginatedWTMembers.d.ts +12 -17
  681. package/dist/model/paginatedWTMembers.js +27 -26
  682. package/dist/model/paginatedWTMembers.js.map +1 -1
  683. package/dist/model/paginatedWTMerchantCredits.d.ts +12 -17
  684. package/dist/model/paginatedWTMerchantCredits.js +27 -26
  685. package/dist/model/paginatedWTMerchantCredits.js.map +1 -1
  686. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.d.ts +12 -16
  687. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js +27 -26
  688. package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js.map +1 -1
  689. package/dist/model/paginationRequestWithSortOptions.d.ts +20 -24
  690. package/dist/model/paginationRequestWithSortOptions.js +43 -42
  691. package/dist/model/paginationRequestWithSortOptions.js.map +1 -1
  692. package/dist/model/paginationRequestWithSortOptionsSortOrder.d.ts +13 -13
  693. package/dist/model/paginationRequestWithSortOptionsSortOrder.js +11 -10
  694. package/dist/model/paginationRequestWithSortOptionsSortOrder.js.map +1 -1
  695. package/dist/model/paymentDesign.d.ts +30 -34
  696. package/dist/model/paymentDesign.js +107 -106
  697. package/dist/model/paymentDesign.js.map +1 -1
  698. package/dist/model/performance.d.ts +27 -31
  699. package/dist/model/performance.js +97 -96
  700. package/dist/model/performance.js.map +1 -1
  701. package/dist/model/phoneNumber.d.ts +32 -36
  702. package/dist/model/phoneNumber.js +122 -121
  703. package/dist/model/phoneNumber.js.map +1 -1
  704. package/dist/model/phoneNumberCapabilities.d.ts +17 -17
  705. package/dist/model/phoneNumberCapabilities.js +32 -31
  706. package/dist/model/phoneNumberCapabilities.js.map +1 -1
  707. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.d.ts +27 -27
  708. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.js +77 -76
  709. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.js.map +1 -1
  710. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.d.ts +26 -26
  711. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js +72 -71
  712. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js.map +1 -1
  713. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.d.ts +15 -15
  714. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js +22 -21
  715. package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js.map +1 -1
  716. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.d.ts +15 -15
  717. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js +22 -21
  718. package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js.map +1 -1
  719. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.d.ts +20 -20
  720. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js +47 -46
  721. package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js.map +1 -1
  722. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.d.ts +25 -25
  723. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js +72 -71
  724. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js.map +1 -1
  725. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.d.ts +15 -15
  726. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js +22 -21
  727. package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js.map +1 -1
  728. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.d.ts +20 -20
  729. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js +47 -46
  730. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js.map +1 -1
  731. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.d.ts +18 -18
  732. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js +32 -31
  733. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js.map +1 -1
  734. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKeySortOrder.d.ts +13 -0
  735. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKeySortOrder.js +12 -0
  736. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKeySortOrder.js.map +1 -0
  737. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.d.ts +15 -15
  738. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js +22 -21
  739. package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js.map +1 -1
  740. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.d.ts +15 -15
  741. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.js +22 -21
  742. package/dist/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.js.map +1 -1
  743. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.d.ts +17 -17
  744. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js +32 -31
  745. package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js.map +1 -1
  746. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.d.ts +25 -25
  747. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js +72 -71
  748. package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js.map +1 -1
  749. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.d.ts +24 -24
  750. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.js +67 -66
  751. package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.js.map +1 -1
  752. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.d.ts +22 -22
  753. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.js +52 -51
  754. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.js.map +1 -1
  755. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.d.ts +13 -13
  756. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.js +11 -10
  757. package/dist/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.js.map +1 -1
  758. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.d.ts +27 -27
  759. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js +82 -81
  760. package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js.map +1 -1
  761. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.d.ts +16 -16
  762. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js +27 -26
  763. package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js.map +1 -1
  764. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +36 -36
  765. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +117 -116
  766. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -1
  767. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.d.ts +13 -13
  768. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.js +11 -10
  769. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.js.map +1 -1
  770. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.d.ts +13 -13
  771. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.js +11 -10
  772. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.js.map +1 -1
  773. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.d.ts +19 -19
  774. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js +37 -36
  775. package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js.map +1 -1
  776. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.d.ts +33 -33
  777. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js +97 -96
  778. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js.map +1 -1
  779. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.d.ts +19 -19
  780. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js +37 -36
  781. package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js.map +1 -1
  782. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.d.ts +26 -26
  783. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js +72 -71
  784. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js.map +1 -1
  785. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.d.ts +13 -13
  786. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.js +11 -10
  787. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.js.map +1 -1
  788. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.d.ts +32 -32
  789. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js +107 -106
  790. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -1
  791. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.d.ts +27 -27
  792. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.js +77 -76
  793. package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.js.map +1 -1
  794. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.d.ts +27 -27
  795. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js +77 -76
  796. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js.map +1 -1
  797. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.d.ts +13 -13
  798. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.js +11 -10
  799. package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.js.map +1 -1
  800. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.d.ts +38 -38
  801. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js +122 -121
  802. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js.map +1 -1
  803. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.d.ts +13 -13
  804. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.js +11 -10
  805. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.js.map +1 -1
  806. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.d.ts +13 -13
  807. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.js +11 -10
  808. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.js.map +1 -1
  809. package/dist/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.d.ts +16 -16
  810. package/dist/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.js +27 -26
  811. package/dist/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.js.map +1 -1
  812. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +33 -33
  813. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +92 -91
  814. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -1
  815. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartDay.d.ts +13 -0
  816. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartDay.js +12 -0
  817. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartDay.js.map +1 -0
  818. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartHour.d.ts +13 -0
  819. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartHour.js +12 -0
  820. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartHour.js.map +1 -0
  821. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMeridiem.d.ts +13 -0
  822. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMeridiem.js +12 -0
  823. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMeridiem.js.map +1 -0
  824. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMinute.d.ts +13 -0
  825. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMinute.js +12 -0
  826. package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMinute.js.map +1 -0
  827. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.d.ts +21 -21
  828. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.js +52 -51
  829. package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.js.map +1 -1
  830. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.d.ts +16 -16
  831. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js +27 -26
  832. package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js.map +1 -1
  833. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.d.ts +15 -15
  834. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js +22 -21
  835. package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js.map +1 -1
  836. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.d.ts +19 -19
  837. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js +42 -41
  838. package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js.map +1 -1
  839. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +36 -36
  840. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js +102 -101
  841. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js.map +1 -1
  842. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.d.ts +13 -13
  843. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.js +11 -10
  844. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.js.map +1 -1
  845. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.d.ts +13 -13
  846. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.js +11 -10
  847. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.js.map +1 -1
  848. package/dist/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.d.ts +14 -14
  849. package/dist/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.js +17 -16
  850. package/dist/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.js.map +1 -1
  851. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.d.ts +27 -27
  852. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js +77 -76
  853. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js.map +1 -1
  854. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.d.ts +16 -16
  855. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js +27 -26
  856. package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js.map +1 -1
  857. package/dist/model/plan.d.ts +15 -20
  858. package/dist/model/plan.js +42 -41
  859. package/dist/model/plan.js.map +1 -1
  860. package/dist/model/portalPage.d.ts +74 -69
  861. package/dist/model/portalPage.js +78 -72
  862. package/dist/model/portalPage.js.map +1 -1
  863. package/dist/model/presignedPost.d.ts +12 -16
  864. package/dist/model/presignedPost.js +22 -21
  865. package/dist/model/presignedPost.js.map +1 -1
  866. package/dist/model/presignedPostFields.d.ts +11 -11
  867. package/dist/model/presignedPostFields.js +22 -21
  868. package/dist/model/presignedPostFields.js.map +1 -1
  869. package/dist/model/product.d.ts +17 -22
  870. package/dist/model/product.js +52 -51
  871. package/dist/model/product.js.map +1 -1
  872. package/dist/model/profileStatuses.d.ts +7 -7
  873. package/dist/model/profileStatuses.js +11 -10
  874. package/dist/model/profileStatuses.js.map +1 -1
  875. package/dist/model/promoCode.d.ts +23 -27
  876. package/dist/model/promoCode.js +77 -76
  877. package/dist/model/promoCode.js.map +1 -1
  878. package/dist/model/qRCodeDesign.d.ts +18 -30
  879. package/dist/model/qRCodeDesign.js +52 -91
  880. package/dist/model/qRCodeDesign.js.map +1 -1
  881. package/dist/model/reachPerformanceStats.d.ts +20 -24
  882. package/dist/model/reachPerformanceStats.js +67 -66
  883. package/dist/model/reachPerformanceStats.js.map +1 -1
  884. package/dist/model/request.d.ts +63 -67
  885. package/dist/model/request.js +282 -281
  886. package/dist/model/request.js.map +1 -1
  887. package/dist/model/response.d.ts +16 -20
  888. package/dist/model/response.js +47 -46
  889. package/dist/model/response.js.map +1 -1
  890. package/dist/model/role.d.ts +24 -30
  891. package/dist/model/role.js +87 -86
  892. package/dist/model/role.js.map +1 -1
  893. package/dist/model/roleAuditLog.d.ts +21 -25
  894. package/dist/model/roleAuditLog.js +72 -71
  895. package/dist/model/roleAuditLog.js.map +1 -1
  896. package/dist/model/roomRate.d.ts +21 -25
  897. package/dist/model/roomRate.js +67 -66
  898. package/dist/model/roomRate.js.map +1 -1
  899. package/dist/model/sSImportedListRecipientCreateParams.d.ts +11 -15
  900. package/dist/model/sSImportedListRecipientCreateParams.js +22 -21
  901. package/dist/model/sSImportedListRecipientCreateParams.js.map +1 -1
  902. package/dist/model/sSOptInSource.d.ts +17 -21
  903. package/dist/model/sSOptInSource.js +52 -51
  904. package/dist/model/sSOptInSource.js.map +1 -1
  905. package/dist/model/sSOutboundStatuses.d.ts +13 -13
  906. package/dist/model/sSOutboundStatuses.js +11 -10
  907. package/dist/model/sSOutboundStatuses.js.map +1 -1
  908. package/dist/model/saveMerchantCreditPaymentDesignRequest.d.ts +14 -14
  909. package/dist/model/saveMerchantCreditPaymentDesignRequest.js +17 -16
  910. package/dist/model/saveMerchantCreditPaymentDesignRequest.js.map +1 -1
  911. package/dist/model/saveTicketSettingsRequest.d.ts +17 -18
  912. package/dist/model/saveTicketSettingsRequest.js +32 -31
  913. package/dist/model/saveTicketSettingsRequest.js.map +1 -1
  914. package/dist/model/service.d.ts +21 -25
  915. package/dist/model/service.js +67 -66
  916. package/dist/model/service.js.map +1 -1
  917. package/dist/model/setDefaultPaymentMethodRequest.d.ts +14 -0
  918. package/dist/model/setDefaultPaymentMethodRequest.js +18 -0
  919. package/dist/model/setDefaultPaymentMethodRequest.js.map +1 -0
  920. package/dist/model/simpleSMSBroadcast.d.ts +35 -39
  921. package/dist/model/simpleSMSBroadcast.js +112 -111
  922. package/dist/model/simpleSMSBroadcast.js.map +1 -1
  923. package/dist/model/smsSubscriber.d.ts +16 -20
  924. package/dist/model/smsSubscriber.js +42 -41
  925. package/dist/model/smsSubscriber.js.map +1 -1
  926. package/dist/model/sortDirection.d.ts +4 -0
  927. package/dist/model/sortDirection.js +9 -0
  928. package/dist/model/sortDirection.js.map +1 -0
  929. package/dist/model/staticVoucher.d.ts +45 -49
  930. package/dist/model/staticVoucher.js +172 -171
  931. package/dist/model/staticVoucher.js.map +1 -1
  932. package/dist/model/staticVoucherCampaign.d.ts +36 -40
  933. package/dist/model/staticVoucherCampaign.js +137 -136
  934. package/dist/model/staticVoucherCampaign.js.map +1 -1
  935. package/dist/model/staticVoucherCampaignBroadcast.d.ts +34 -38
  936. package/dist/model/staticVoucherCampaignBroadcast.js +107 -106
  937. package/dist/model/staticVoucherCampaignBroadcast.js.map +1 -1
  938. package/dist/model/staticVoucherCampaignBroadcastBroadcastStatus.d.ts +13 -0
  939. package/dist/model/staticVoucherCampaignBroadcastBroadcastStatus.js +12 -0
  940. package/dist/model/staticVoucherCampaignBroadcastBroadcastStatus.js.map +1 -0
  941. package/dist/model/staticVoucherCampaignBroadcastPaymentObjectPrefix.d.ts +13 -0
  942. package/dist/model/staticVoucherCampaignBroadcastPaymentObjectPrefix.js +12 -0
  943. package/dist/model/staticVoucherCampaignBroadcastPaymentObjectPrefix.js.map +1 -0
  944. package/dist/model/staticVoucherCampaignUpdate.d.ts +19 -23
  945. package/dist/model/staticVoucherCampaignUpdate.js +57 -56
  946. package/dist/model/staticVoucherCampaignUpdate.js.map +1 -1
  947. package/dist/model/staticVoucherCampaignValueType.d.ts +13 -0
  948. package/dist/model/staticVoucherCampaignValueType.js +12 -0
  949. package/dist/model/staticVoucherCampaignValueType.js.map +1 -0
  950. package/dist/model/{wTLinkBookLinkBookSectionID.d.ts → staticVoucherId.d.ts} +13 -13
  951. package/dist/model/staticVoucherId.js +12 -0
  952. package/dist/model/staticVoucherId.js.map +1 -0
  953. package/dist/model/status.d.ts +13 -13
  954. package/dist/model/status.js +11 -10
  955. package/dist/model/status.js.map +1 -1
  956. package/dist/model/subscriptionFeature.d.ts +18 -22
  957. package/dist/model/subscriptionFeature.js +57 -56
  958. package/dist/model/subscriptionFeature.js.map +1 -1
  959. package/dist/model/subscriptionPlan.d.ts +16 -22
  960. package/dist/model/subscriptionPlan.js +47 -46
  961. package/dist/model/subscriptionPlan.js.map +1 -1
  962. package/dist/model/subscriptionProduct.d.ts +21 -26
  963. package/dist/model/subscriptionProduct.js +72 -66
  964. package/dist/model/subscriptionProduct.js.map +1 -1
  965. package/dist/model/tcpa.d.ts +17 -21
  966. package/dist/model/tcpa.js +47 -46
  967. package/dist/model/tcpa.js.map +1 -1
  968. package/dist/model/thread.d.ts +16 -0
  969. package/dist/model/thread.js +43 -0
  970. package/dist/model/thread.js.map +1 -0
  971. package/dist/model/ticket.d.ts +30 -34
  972. package/dist/model/ticket.js +112 -111
  973. package/dist/model/ticket.js.map +1 -1
  974. package/dist/model/ticketSortKeys.d.ts +8 -0
  975. package/dist/model/ticketSortKeys.js +13 -0
  976. package/dist/model/ticketSortKeys.js.map +1 -0
  977. package/dist/model/trustBundleStatuses.d.ts +7 -7
  978. package/dist/model/trustBundleStatuses.js +11 -10
  979. package/dist/model/trustBundleStatuses.js.map +1 -1
  980. package/dist/model/updateEmailNotificationPreferenceRequest.d.ts +14 -14
  981. package/dist/model/updateEmailNotificationPreferenceRequest.js +17 -16
  982. package/dist/model/updateEmailNotificationPreferenceRequest.js.map +1 -1
  983. package/dist/model/updateStaticVoucherCampaignWithVoucher.d.ts +23 -28
  984. package/dist/model/updateStaticVoucherCampaignWithVoucher.js +77 -76
  985. package/dist/model/updateStaticVoucherCampaignWithVoucher.js.map +1 -1
  986. package/dist/model/vSCampaignGeneratedMessage.d.ts +12 -16
  987. package/dist/model/vSCampaignGeneratedMessage.js +27 -26
  988. package/dist/model/vSCampaignGeneratedMessage.js.map +1 -1
  989. package/dist/model/vSCampaignGeneratedMessagePagination.d.ts +12 -17
  990. package/dist/model/vSCampaignGeneratedMessagePagination.js +27 -26
  991. package/dist/model/vSCampaignGeneratedMessagePagination.js.map +1 -1
  992. package/dist/model/vSDynamicVoucherStatus.d.ts +13 -13
  993. package/dist/model/vSDynamicVoucherStatus.js +11 -10
  994. package/dist/model/vSDynamicVoucherStatus.js.map +1 -1
  995. package/dist/model/vectorStore.d.ts +16 -0
  996. package/dist/model/vectorStore.js +43 -0
  997. package/dist/model/vectorStore.js.map +1 -0
  998. package/dist/model/video.d.ts +20 -24
  999. package/dist/model/video.js +62 -61
  1000. package/dist/model/video.js.map +1 -1
  1001. package/dist/model/virtualBusinessCard.d.ts +28 -32
  1002. package/dist/model/virtualBusinessCard.js +102 -101
  1003. package/dist/model/virtualBusinessCard.js.map +1 -1
  1004. package/dist/model/wTA2PApplicationUpdateParams.d.ts +41 -46
  1005. package/dist/model/wTA2PApplicationUpdateParams.js +132 -131
  1006. package/dist/model/wTA2PApplicationUpdateParams.js.map +1 -1
  1007. package/dist/model/wTAdvertisementCredit.d.ts +24 -28
  1008. package/dist/model/wTAdvertisementCredit.js +77 -76
  1009. package/dist/model/wTAdvertisementCredit.js.map +1 -1
  1010. package/dist/model/wTAdvertisementCreditCreateParams.d.ts +15 -19
  1011. package/dist/model/wTAdvertisementCreditCreateParams.js +37 -36
  1012. package/dist/model/wTAdvertisementCreditCreateParams.js.map +1 -1
  1013. package/dist/model/wTAdvertisementCreditScan.d.ts +36 -40
  1014. package/dist/model/wTAdvertisementCreditScan.js +127 -126
  1015. package/dist/model/wTAdvertisementCreditScan.js.map +1 -1
  1016. package/dist/model/wTAdvertisementCreditUpdateParams.d.ts +15 -19
  1017. package/dist/model/wTAdvertisementCreditUpdateParams.js +37 -36
  1018. package/dist/model/wTAdvertisementCreditUpdateParams.js.map +1 -1
  1019. package/dist/model/wTAmenityCreateParams.d.ts +15 -19
  1020. package/dist/model/wTAmenityCreateParams.js +42 -41
  1021. package/dist/model/wTAmenityCreateParams.js.map +1 -1
  1022. package/dist/model/wTAmenityUpdateParams.d.ts +15 -19
  1023. package/dist/model/wTAmenityUpdateParams.js +42 -41
  1024. package/dist/model/wTAmenityUpdateParams.js.map +1 -1
  1025. package/dist/model/wTAndroidKeystoreResponse.d.ts +11 -0
  1026. package/dist/model/wTAndroidKeystoreResponse.js +23 -0
  1027. package/dist/model/wTAndroidKeystoreResponse.js.map +1 -0
  1028. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.d.ts +15 -19
  1029. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js +23 -22
  1030. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js.map +1 -1
  1031. package/dist/model/wTAuthenticationForgotPassword.d.ts +10 -14
  1032. package/dist/model/wTAuthenticationForgotPassword.js +17 -16
  1033. package/dist/model/wTAuthenticationForgotPassword.js.map +1 -1
  1034. package/dist/model/wTAuthenticationLoginRequest.d.ts +11 -15
  1035. package/dist/model/wTAuthenticationLoginRequest.js +22 -21
  1036. package/dist/model/wTAuthenticationLoginRequest.js.map +1 -1
  1037. package/dist/model/wTAuthenticationLoginResponse.d.ts +25 -29
  1038. package/dist/model/wTAuthenticationLoginResponse.js +92 -91
  1039. package/dist/model/wTAuthenticationLoginResponse.js.map +1 -1
  1040. package/dist/model/wTAuthenticationRegister.d.ts +31 -29
  1041. package/dist/model/wTAuthenticationRegister.js +122 -91
  1042. package/dist/model/wTAuthenticationRegister.js.map +1 -1
  1043. package/dist/model/wTAuthenticationRequestResetPassword.d.ts +10 -14
  1044. package/dist/model/wTAuthenticationRequestResetPassword.js +17 -16
  1045. package/dist/model/wTAuthenticationRequestResetPassword.js.map +1 -1
  1046. package/dist/model/wTAuthenticationResetPassword.d.ts +12 -16
  1047. package/dist/model/wTAuthenticationResetPassword.js +27 -26
  1048. package/dist/model/wTAuthenticationResetPassword.js.map +1 -1
  1049. package/dist/model/wTAuthenticationSSOLoginForDiscourse.d.ts +13 -17
  1050. package/dist/model/wTAuthenticationSSOLoginForDiscourse.js +32 -31
  1051. package/dist/model/wTAuthenticationSSOLoginForDiscourse.js.map +1 -1
  1052. package/dist/model/wTBillingChangePlan.d.ts +10 -14
  1053. package/dist/model/wTBillingChangePlan.js +17 -16
  1054. package/dist/model/wTBillingChangePlan.js.map +1 -1
  1055. package/dist/model/wTBillingSavePaymentMethod.d.ts +10 -14
  1056. package/dist/model/wTBillingSavePaymentMethod.js +17 -16
  1057. package/dist/model/wTBillingSavePaymentMethod.js.map +1 -1
  1058. package/dist/model/wTBillingVerifyPaymentMethodResponse.d.ts +12 -16
  1059. package/dist/model/wTBillingVerifyPaymentMethodResponse.js +22 -21
  1060. package/dist/model/wTBillingVerifyPaymentMethodResponse.js.map +1 -1
  1061. package/dist/model/wTCountResult.d.ts +10 -14
  1062. package/dist/model/wTCountResult.js +17 -16
  1063. package/dist/model/wTCountResult.js.map +1 -1
  1064. package/dist/model/wTCustomerSearchByMemberID.d.ts +10 -14
  1065. package/dist/model/wTCustomerSearchByMemberID.js +17 -16
  1066. package/dist/model/wTCustomerSearchByMemberID.js.map +1 -1
  1067. package/dist/model/wTCustomerSearchByPhoneNumber.d.ts +10 -14
  1068. package/dist/model/wTCustomerSearchByPhoneNumber.js +17 -16
  1069. package/dist/model/wTCustomerSearchByPhoneNumber.js.map +1 -1
  1070. package/dist/model/wTDiningCreateParams.d.ts +15 -19
  1071. package/dist/model/wTDiningCreateParams.js +42 -41
  1072. package/dist/model/wTDiningCreateParams.js.map +1 -1
  1073. package/dist/model/wTDiningUpdateParams.d.ts +15 -19
  1074. package/dist/model/wTDiningUpdateParams.js +42 -41
  1075. package/dist/model/wTDiningUpdateParams.js.map +1 -1
  1076. package/dist/model/wTDynamicVoucher.d.ts +46 -50
  1077. package/dist/model/wTDynamicVoucher.js +177 -176
  1078. package/dist/model/wTDynamicVoucher.js.map +1 -1
  1079. package/dist/model/wTDynamicVoucherCreateParams.d.ts +22 -26
  1080. package/dist/model/wTDynamicVoucherCreateParams.js +72 -71
  1081. package/dist/model/wTDynamicVoucherCreateParams.js.map +1 -1
  1082. package/dist/model/wTDynamicVoucherRedemption.d.ts +35 -39
  1083. package/dist/model/wTDynamicVoucherRedemption.js +122 -121
  1084. package/dist/model/wTDynamicVoucherRedemption.js.map +1 -1
  1085. package/dist/model/wTDynamicVoucherRedemptionTransactionType.d.ts +13 -13
  1086. package/dist/model/wTDynamicVoucherRedemptionTransactionType.js +11 -10
  1087. package/dist/model/wTDynamicVoucherRedemptionTransactionType.js.map +1 -1
  1088. package/dist/model/wTDynamicVoucherSummary.d.ts +34 -38
  1089. package/dist/model/wTDynamicVoucherSummary.js +132 -131
  1090. package/dist/model/wTDynamicVoucherSummary.js.map +1 -1
  1091. package/dist/model/wTDynamicVoucherSummaryStatus.d.ts +13 -13
  1092. package/dist/model/wTDynamicVoucherSummaryStatus.js +11 -10
  1093. package/dist/model/wTDynamicVoucherSummaryStatus.js.map +1 -1
  1094. package/dist/model/wTDynamicVoucherUpdateParams.d.ts +22 -26
  1095. package/dist/model/wTDynamicVoucherUpdateParams.js +72 -71
  1096. package/dist/model/wTDynamicVoucherUpdateParams.js.map +1 -1
  1097. package/dist/model/wTEmailSubscriberCreateParams.d.ts +12 -16
  1098. package/dist/model/wTEmailSubscriberCreateParams.js +27 -26
  1099. package/dist/model/wTEmailSubscriberCreateParams.js.map +1 -1
  1100. package/dist/model/wTEmailSubscriberCreateParamsWalletUI.d.ts +13 -17
  1101. package/dist/model/wTEmailSubscriberCreateParamsWalletUI.js +32 -31
  1102. package/dist/model/wTEmailSubscriberCreateParamsWalletUI.js.map +1 -1
  1103. package/dist/model/wTEmailSubscriberUpdateParams.d.ts +12 -16
  1104. package/dist/model/wTEmailSubscriberUpdateParams.js +27 -26
  1105. package/dist/model/wTEmailSubscriberUpdateParams.js.map +1 -1
  1106. package/dist/model/wTEmployee.d.ts +43 -47
  1107. package/dist/model/wTEmployee.js +162 -161
  1108. package/dist/model/wTEmployee.js.map +1 -1
  1109. package/dist/model/wTEmployeeAPIKey.d.ts +19 -23
  1110. package/dist/model/wTEmployeeAPIKey.js +57 -56
  1111. package/dist/model/wTEmployeeAPIKey.js.map +1 -1
  1112. package/dist/model/wTEmployeeAPIKeyCreateParams.d.ts +11 -15
  1113. package/dist/model/wTEmployeeAPIKeyCreateParams.js +22 -21
  1114. package/dist/model/wTEmployeeAPIKeyCreateParams.js.map +1 -1
  1115. package/dist/model/wTEmployeeAPIKeyUpdateParams.d.ts +11 -15
  1116. package/dist/model/wTEmployeeAPIKeyUpdateParams.js +22 -21
  1117. package/dist/model/wTEmployeeAPIKeyUpdateParams.js.map +1 -1
  1118. package/dist/model/wTEmployeeCreate.d.ts +30 -34
  1119. package/dist/model/wTEmployeeCreate.js +97 -96
  1120. package/dist/model/wTEmployeeCreate.js.map +1 -1
  1121. package/dist/model/wTEmployeeCreateDocument.d.ts +12 -16
  1122. package/dist/model/wTEmployeeCreateDocument.js +27 -26
  1123. package/dist/model/wTEmployeeCreateDocument.js.map +1 -1
  1124. package/dist/model/wTEmployeeCreateMediaFile.d.ts +12 -16
  1125. package/dist/model/wTEmployeeCreateMediaFile.js +27 -26
  1126. package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -1
  1127. package/dist/model/wTEmployeeFileCreate.d.ts +11 -15
  1128. package/dist/model/wTEmployeeFileCreate.js +22 -21
  1129. package/dist/model/wTEmployeeFileCreate.js.map +1 -1
  1130. package/dist/model/wTEmployeeImportRecords.d.ts +11 -15
  1131. package/dist/model/wTEmployeeImportRecords.js +22 -21
  1132. package/dist/model/wTEmployeeImportRecords.js.map +1 -1
  1133. package/dist/model/wTEmployeeNotification.d.ts +14 -18
  1134. package/dist/model/wTEmployeeNotification.js +32 -31
  1135. package/dist/model/wTEmployeeNotification.js.map +1 -1
  1136. package/dist/model/wTEmployeeNotificationType.d.ts +13 -13
  1137. package/dist/model/wTEmployeeNotificationType.js +11 -10
  1138. package/dist/model/wTEmployeeNotificationType.js.map +1 -1
  1139. package/dist/model/wTEmployeePeerRoles.d.ts +10 -14
  1140. package/dist/model/wTEmployeePeerRoles.js +17 -16
  1141. package/dist/model/wTEmployeePeerRoles.js.map +1 -1
  1142. package/dist/model/wTEmployeeS3FilePresign.d.ts +13 -17
  1143. package/dist/model/wTEmployeeS3FilePresign.js +27 -26
  1144. package/dist/model/wTEmployeeS3FilePresign.js.map +1 -1
  1145. package/dist/model/wTEmployeeS3FilePresignContext.d.ts +13 -13
  1146. package/dist/model/wTEmployeeS3FilePresignContext.js +11 -10
  1147. package/dist/model/wTEmployeeS3FilePresignContext.js.map +1 -1
  1148. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.d.ts +16 -20
  1149. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js +47 -46
  1150. package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js.map +1 -1
  1151. package/dist/model/wTEmployeeScheduleSimpleSMS.d.ts +16 -20
  1152. package/dist/model/wTEmployeeScheduleSimpleSMS.js +42 -41
  1153. package/dist/model/wTEmployeeScheduleSimpleSMS.js.map +1 -1
  1154. package/dist/model/wTEmployeeScheduleSimpleSMSListType.d.ts +13 -13
  1155. package/dist/model/wTEmployeeScheduleSimpleSMSListType.js +11 -10
  1156. package/dist/model/wTEmployeeScheduleSimpleSMSListType.js.map +1 -1
  1157. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.d.ts +14 -18
  1158. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js +37 -36
  1159. package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js.map +1 -1
  1160. package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +12 -16
  1161. package/dist/model/wTEmployeeSendHelpDeskResponse.js +27 -26
  1162. package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -1
  1163. package/dist/model/wTEmployeeUpdate.d.ts +29 -33
  1164. package/dist/model/wTEmployeeUpdate.js +92 -91
  1165. package/dist/model/wTEmployeeUpdate.js.map +1 -1
  1166. package/dist/model/wTEmployeeUpdateRecords.d.ts +11 -15
  1167. package/dist/model/wTEmployeeUpdateRecords.js +22 -21
  1168. package/dist/model/wTEmployeeUpdateRecords.js.map +1 -1
  1169. package/dist/model/wTFetchWalletPaymentObjectsWithToken.d.ts +14 -18
  1170. package/dist/model/wTFetchWalletPaymentObjectsWithToken.js +37 -36
  1171. package/dist/model/wTFetchWalletPaymentObjectsWithToken.js.map +1 -1
  1172. package/dist/model/wTGamingCreateParams.d.ts +15 -19
  1173. package/dist/model/wTGamingCreateParams.js +42 -41
  1174. package/dist/model/wTGamingCreateParams.js.map +1 -1
  1175. package/dist/model/wTGamingUpdateParams.d.ts +15 -19
  1176. package/dist/model/wTGamingUpdateParams.js +42 -41
  1177. package/dist/model/wTGamingUpdateParams.js.map +1 -1
  1178. package/dist/model/wTImageGridCreateParams.d.ts +14 -18
  1179. package/dist/model/wTImageGridCreateParams.js +37 -36
  1180. package/dist/model/wTImageGridCreateParams.js.map +1 -1
  1181. package/dist/model/wTImageGridUpdateParams.d.ts +14 -18
  1182. package/dist/model/wTImageGridUpdateParams.js +37 -36
  1183. package/dist/model/wTImageGridUpdateParams.js.map +1 -1
  1184. package/dist/model/wTImportedList.d.ts +18 -22
  1185. package/dist/model/wTImportedList.js +52 -51
  1186. package/dist/model/wTImportedList.js.map +1 -1
  1187. package/dist/model/wTImportedListRecipientFromMembershipTierImport.d.ts +13 -17
  1188. package/dist/model/wTImportedListRecipientFromMembershipTierImport.js +27 -26
  1189. package/dist/model/wTImportedListRecipientFromMembershipTierImport.js.map +1 -1
  1190. package/dist/model/wTImportedListRecipientFromMembershipTierImportTierID.d.ts +13 -13
  1191. package/dist/model/wTImportedListRecipientFromMembershipTierImportTierID.js +11 -10
  1192. package/dist/model/wTImportedListRecipientFromMembershipTierImportTierID.js.map +1 -1
  1193. package/dist/model/wTInfoGenesisLookupRequestErrors.d.ts +13 -17
  1194. package/dist/model/wTInfoGenesisLookupRequestErrors.js +32 -31
  1195. package/dist/model/wTInfoGenesisLookupRequestErrors.js.map +1 -1
  1196. package/dist/model/wTInfoGenesisRecordFilterParameters.d.ts +12 -16
  1197. package/dist/model/wTInfoGenesisRecordFilterParameters.js +27 -26
  1198. package/dist/model/wTInfoGenesisRecordFilterParameters.js.map +1 -1
  1199. package/dist/model/wTInfoGenesisRoutingIDs.d.ts +10 -14
  1200. package/dist/model/wTInfoGenesisRoutingIDs.js +17 -16
  1201. package/dist/model/wTInfoGenesisRoutingIDs.js.map +1 -1
  1202. package/dist/model/wTInfoGenesisUniquePostingIDs.d.ts +10 -14
  1203. package/dist/model/wTInfoGenesisUniquePostingIDs.js +17 -16
  1204. package/dist/model/wTInfoGenesisUniquePostingIDs.js.map +1 -1
  1205. package/dist/model/wTLocalInstance.d.ts +27 -27
  1206. package/dist/model/wTLocalInstance.js +77 -76
  1207. package/dist/model/wTLocalInstance.js.map +1 -1
  1208. package/dist/model/wTLoungeCreateParams.d.ts +15 -19
  1209. package/dist/model/wTLoungeCreateParams.js +42 -41
  1210. package/dist/model/wTLoungeCreateParams.js.map +1 -1
  1211. package/dist/model/wTLoungeUpdateParams.d.ts +15 -19
  1212. package/dist/model/wTLoungeUpdateParams.js +42 -41
  1213. package/dist/model/wTLoungeUpdateParams.js.map +1 -1
  1214. package/dist/model/wTMember.d.ts +23 -27
  1215. package/dist/model/wTMember.js +82 -81
  1216. package/dist/model/wTMember.js.map +1 -1
  1217. package/dist/model/wTMemberCreationParams.d.ts +17 -21
  1218. package/dist/model/wTMemberCreationParams.js +52 -51
  1219. package/dist/model/wTMemberCreationParams.js.map +1 -1
  1220. package/dist/model/wTMembershipTier.d.ts +20 -24
  1221. package/dist/model/wTMembershipTier.js +62 -61
  1222. package/dist/model/wTMembershipTier.js.map +1 -1
  1223. package/dist/model/wTMembershipTierCreationParams.d.ts +14 -18
  1224. package/dist/model/wTMembershipTierCreationParams.js +37 -36
  1225. package/dist/model/wTMembershipTierCreationParams.js.map +1 -1
  1226. package/dist/model/wTMembershipTierId.d.ts +13 -13
  1227. package/dist/model/wTMembershipTierId.js +11 -10
  1228. package/dist/model/wTMembershipTierId.js.map +1 -1
  1229. package/dist/model/wTMembershipTierUpdateParams.d.ts +14 -18
  1230. package/dist/model/wTMembershipTierUpdateParams.js +37 -36
  1231. package/dist/model/wTMembershipTierUpdateParams.js.map +1 -1
  1232. package/dist/model/wTMembershipTierWithMemberCount.d.ts +21 -25
  1233. package/dist/model/wTMembershipTierWithMemberCount.js +67 -66
  1234. package/dist/model/wTMembershipTierWithMemberCount.js.map +1 -1
  1235. package/dist/model/wTMerchantCredit.d.ts +19 -23
  1236. package/dist/model/wTMerchantCredit.js +62 -61
  1237. package/dist/model/wTMerchantCredit.js.map +1 -1
  1238. package/dist/model/wTMerchantCreditCreationParams.d.ts +12 -16
  1239. package/dist/model/wTMerchantCreditCreationParams.js +27 -26
  1240. package/dist/model/wTMerchantCreditCreationParams.js.map +1 -1
  1241. package/dist/model/wTMerchantURLCreate.d.ts +11 -15
  1242. package/dist/model/wTMerchantURLCreate.js +22 -21
  1243. package/dist/model/wTMerchantURLCreate.js.map +1 -1
  1244. package/dist/model/wTMerchantURLUpdate.d.ts +11 -15
  1245. package/dist/model/wTMerchantURLUpdate.js +22 -21
  1246. package/dist/model/wTMerchantURLUpdate.js.map +1 -1
  1247. package/dist/model/wTMerchantUpdate.d.ts +18 -22
  1248. package/dist/model/wTMerchantUpdate.js +57 -56
  1249. package/dist/model/wTMerchantUpdate.js.map +1 -1
  1250. package/dist/model/wTMerchantUpdatePOSIntegration.d.ts +10 -14
  1251. package/dist/model/wTMerchantUpdatePOSIntegration.js +17 -16
  1252. package/dist/model/wTMerchantUpdatePOSIntegration.js.map +1 -1
  1253. package/dist/model/wTMerchantUpdatePointsOfContact.d.ts +13 -17
  1254. package/dist/model/wTMerchantUpdatePointsOfContact.js +32 -31
  1255. package/dist/model/wTMerchantUpdatePointsOfContact.js.map +1 -1
  1256. package/dist/model/wTMessageInstance.d.ts +13 -35
  1257. package/dist/model/wTMessageInstance.js +11 -111
  1258. package/dist/model/wTMessageInstance.js.map +1 -1
  1259. package/dist/model/wTNewsArticleCreateParams.d.ts +15 -19
  1260. package/dist/model/wTNewsArticleCreateParams.js +42 -41
  1261. package/dist/model/wTNewsArticleCreateParams.js.map +1 -1
  1262. package/dist/model/wTNewsArticleUpdateParams.d.ts +15 -19
  1263. package/dist/model/wTNewsArticleUpdateParams.js +42 -41
  1264. package/dist/model/wTNewsArticleUpdateParams.js.map +1 -1
  1265. package/dist/model/wTOptInList.d.ts +28 -32
  1266. package/dist/model/wTOptInList.js +102 -101
  1267. package/dist/model/wTOptInList.js.map +1 -1
  1268. package/dist/model/wTOptInListCreationParams.d.ts +22 -26
  1269. package/dist/model/wTOptInListCreationParams.js +77 -76
  1270. package/dist/model/wTOptInListCreationParams.js.map +1 -1
  1271. package/dist/model/wTPassBrandKit.d.ts +15 -0
  1272. package/dist/model/wTPassBrandKit.js +43 -0
  1273. package/dist/model/wTPassBrandKit.js.map +1 -0
  1274. package/dist/model/wTPaymentDesign.d.ts +30 -34
  1275. package/dist/model/wTPaymentDesign.js +107 -106
  1276. package/dist/model/wTPaymentDesign.js.map +1 -1
  1277. package/dist/model/wTPaymentDesignCreateParams.d.ts +23 -27
  1278. package/dist/model/wTPaymentDesignCreateParams.js +77 -76
  1279. package/dist/model/wTPaymentDesignCreateParams.js.map +1 -1
  1280. package/dist/model/wTPaymentDesignUpdateParams.d.ts +23 -27
  1281. package/dist/model/wTPaymentDesignUpdateParams.js +77 -76
  1282. package/dist/model/wTPaymentDesignUpdateParams.js.map +1 -1
  1283. package/dist/model/wTPerformanceCreateParams.d.ts +21 -25
  1284. package/dist/model/wTPerformanceCreateParams.js +72 -71
  1285. package/dist/model/wTPerformanceCreateParams.js.map +1 -1
  1286. package/dist/model/wTPerformanceUpdateParams.d.ts +21 -25
  1287. package/dist/model/wTPerformanceUpdateParams.js +72 -71
  1288. package/dist/model/wTPerformanceUpdateParams.js.map +1 -1
  1289. package/dist/model/wTPosMachine.d.ts +19 -23
  1290. package/dist/model/wTPosMachine.js +62 -61
  1291. package/dist/model/wTPosMachine.js.map +1 -1
  1292. package/dist/model/wTPosMachineCreateParams.d.ts +14 -18
  1293. package/dist/model/wTPosMachineCreateParams.js +37 -36
  1294. package/dist/model/wTPosMachineCreateParams.js.map +1 -1
  1295. package/dist/model/wTPosMachineUpdateParams.d.ts +14 -18
  1296. package/dist/model/wTPosMachineUpdateParams.js +37 -36
  1297. package/dist/model/wTPosMachineUpdateParams.js.map +1 -1
  1298. package/dist/model/wTProductCreateParams.d.ts +15 -19
  1299. package/dist/model/wTProductCreateParams.js +42 -41
  1300. package/dist/model/wTProductCreateParams.js.map +1 -1
  1301. package/dist/model/wTProductUpdateParams.d.ts +15 -19
  1302. package/dist/model/wTProductUpdateParams.js +42 -41
  1303. package/dist/model/wTProductUpdateParams.js.map +1 -1
  1304. package/dist/model/wTPromoCodeCreateParams.d.ts +17 -21
  1305. package/dist/model/wTPromoCodeCreateParams.js +52 -51
  1306. package/dist/model/wTPromoCodeCreateParams.js.map +1 -1
  1307. package/dist/model/wTPromoCodeUpdateParams.d.ts +17 -21
  1308. package/dist/model/wTPromoCodeUpdateParams.js +52 -51
  1309. package/dist/model/wTPromoCodeUpdateParams.js.map +1 -1
  1310. package/dist/model/wTQRCodeDesign.d.ts +18 -30
  1311. package/dist/model/wTQRCodeDesign.js +52 -91
  1312. package/dist/model/wTQRCodeDesign.js.map +1 -1
  1313. package/dist/model/wTQRCodeDesignCreateParams.d.ts +12 -24
  1314. package/dist/model/wTQRCodeDesignCreateParams.js +27 -66
  1315. package/dist/model/wTQRCodeDesignCreateParams.js.map +1 -1
  1316. package/dist/model/wTQRCodeDesignUpdateParams.d.ts +12 -24
  1317. package/dist/model/wTQRCodeDesignUpdateParams.js +27 -66
  1318. package/dist/model/wTQRCodeDesignUpdateParams.js.map +1 -1
  1319. package/dist/model/wTQuickLink.d.ts +21 -0
  1320. package/dist/model/{wTLinkBook.js → wTQuickLink.js} +63 -62
  1321. package/dist/model/wTQuickLink.js.map +1 -0
  1322. package/dist/model/wTQuickLinkCreateParams.d.ts +15 -0
  1323. package/dist/model/{wTLinkBookUpdateParams.js → wTQuickLinkCreateParams.js} +38 -37
  1324. package/dist/model/wTQuickLinkCreateParams.js.map +1 -0
  1325. package/dist/model/{messageStatus.d.ts → wTQuickLinkLinkBookSectionID.d.ts} +13 -13
  1326. package/dist/model/wTQuickLinkLinkBookSectionID.js +12 -0
  1327. package/dist/model/wTQuickLinkLinkBookSectionID.js.map +1 -0
  1328. package/dist/model/{wTLinkBookSectionCreateParams.d.ts → wTQuickLinkSectionCreateParams.d.ts} +11 -15
  1329. package/dist/model/wTQuickLinkSectionCreateParams.js +23 -0
  1330. package/dist/model/wTQuickLinkSectionCreateParams.js.map +1 -0
  1331. package/dist/model/{wTLinkBookSectionUpdateParams.d.ts → wTQuickLinkSectionUpdateParams.d.ts} +11 -15
  1332. package/dist/model/wTQuickLinkSectionUpdateParams.js +23 -0
  1333. package/dist/model/wTQuickLinkSectionUpdateParams.js.map +1 -0
  1334. package/dist/model/wTQuickLinkUpdateParams.d.ts +15 -0
  1335. package/dist/model/{wTLinkBookCreateParams.js → wTQuickLinkUpdateParams.js} +38 -37
  1336. package/dist/model/wTQuickLinkUpdateParams.js.map +1 -0
  1337. package/dist/model/wTRole.d.ts +24 -29
  1338. package/dist/model/wTRole.js +87 -86
  1339. package/dist/model/wTRole.js.map +1 -1
  1340. package/dist/model/wTRoomRateCreateParams.d.ts +15 -19
  1341. package/dist/model/wTRoomRateCreateParams.js +42 -41
  1342. package/dist/model/wTRoomRateCreateParams.js.map +1 -1
  1343. package/dist/model/wTRoomRateUpdateParams.d.ts +15 -19
  1344. package/dist/model/wTRoomRateUpdateParams.js +42 -41
  1345. package/dist/model/wTRoomRateUpdateParams.js.map +1 -1
  1346. package/dist/model/wTSMSAcquirePhoneNumber.d.ts +10 -14
  1347. package/dist/model/wTSMSAcquirePhoneNumber.js +17 -16
  1348. package/dist/model/wTSMSAcquirePhoneNumber.js.map +1 -1
  1349. package/dist/model/wTSMSImportOptInListSubscribers.d.ts +12 -16
  1350. package/dist/model/wTSMSImportOptInListSubscribers.js +27 -26
  1351. package/dist/model/wTSMSImportOptInListSubscribers.js.map +1 -1
  1352. package/dist/model/wTSMSImportedListCreate.d.ts +12 -16
  1353. package/dist/model/wTSMSImportedListCreate.js +27 -26
  1354. package/dist/model/wTSMSImportedListCreate.js.map +1 -1
  1355. package/dist/model/wTSMSOptInListSourceCreate.d.ts +11 -15
  1356. package/dist/model/wTSMSOptInListSourceCreate.js +22 -21
  1357. package/dist/model/wTSMSOptInListSourceCreate.js.map +1 -1
  1358. package/dist/model/wTSMSUpdatePhoneNumberConfig.d.ts +21 -25
  1359. package/dist/model/wTSMSUpdatePhoneNumberConfig.js +72 -71
  1360. package/dist/model/wTSMSUpdatePhoneNumberConfig.js.map +1 -1
  1361. package/dist/model/wTServiceCreateParams.d.ts +15 -19
  1362. package/dist/model/wTServiceCreateParams.js +42 -41
  1363. package/dist/model/wTServiceCreateParams.js.map +1 -1
  1364. package/dist/model/wTServiceUpdateParams.d.ts +15 -19
  1365. package/dist/model/wTServiceUpdateParams.js +42 -41
  1366. package/dist/model/wTServiceUpdateParams.js.map +1 -1
  1367. package/dist/model/wTSettingsSetPassword.d.ts +10 -14
  1368. package/dist/model/wTSettingsSetPassword.js +17 -16
  1369. package/dist/model/wTSettingsSetPassword.js.map +1 -1
  1370. package/dist/model/wTSmsSubscriberCreateParams.d.ts +10 -14
  1371. package/dist/model/wTSmsSubscriberCreateParams.js +17 -16
  1372. package/dist/model/wTSmsSubscriberCreateParams.js.map +1 -1
  1373. package/dist/model/wTSmsSubscriberCreateParamsWalletUI.d.ts +11 -15
  1374. package/dist/model/wTSmsSubscriberCreateParamsWalletUI.js +22 -21
  1375. package/dist/model/wTSmsSubscriberCreateParamsWalletUI.js.map +1 -1
  1376. package/dist/model/wTSmsSubscriberUpdateParams.d.ts +10 -14
  1377. package/dist/model/wTSmsSubscriberUpdateParams.js +17 -16
  1378. package/dist/model/wTSmsSubscriberUpdateParams.js.map +1 -1
  1379. package/dist/model/wTStaticVoucher.d.ts +45 -49
  1380. package/dist/model/wTStaticVoucher.js +172 -171
  1381. package/dist/model/wTStaticVoucher.js.map +1 -1
  1382. package/dist/model/wTStaticVoucherCampaign.d.ts +36 -40
  1383. package/dist/model/wTStaticVoucherCampaign.js +137 -136
  1384. package/dist/model/wTStaticVoucherCampaign.js.map +1 -1
  1385. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.d.ts +14 -18
  1386. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js +37 -36
  1387. package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js.map +1 -1
  1388. package/dist/model/wTStaticVoucherCreateParams.d.ts +14 -18
  1389. package/dist/model/wTStaticVoucherCreateParams.js +32 -31
  1390. package/dist/model/wTStaticVoucherCreateParams.js.map +1 -1
  1391. package/dist/model/wTStaticVoucherUpdateParams.d.ts +12 -16
  1392. package/dist/model/wTStaticVoucherUpdateParams.js +27 -26
  1393. package/dist/model/wTStaticVoucherUpdateParams.js.map +1 -1
  1394. package/dist/model/wTSystemApprovePhoneNumber.d.ts +11 -15
  1395. package/dist/model/wTSystemApprovePhoneNumber.js +22 -21
  1396. package/dist/model/wTSystemApprovePhoneNumber.js.map +1 -1
  1397. package/dist/model/wTSystemRoleCreate.d.ts +11 -15
  1398. package/dist/model/wTSystemRoleCreate.js +22 -21
  1399. package/dist/model/wTSystemRoleCreate.js.map +1 -1
  1400. package/dist/model/wTTCPAOpt.d.ts +14 -18
  1401. package/dist/model/wTTCPAOpt.js +27 -26
  1402. package/dist/model/wTTCPAOpt.js.map +1 -1
  1403. package/dist/model/wTTCPAOptListID.d.ts +13 -13
  1404. package/dist/model/wTTCPAOptListID.js +11 -10
  1405. package/dist/model/wTTCPAOptListID.js.map +1 -1
  1406. package/dist/model/wTTCPAOptSourceID.d.ts +13 -13
  1407. package/dist/model/wTTCPAOptSourceID.js +11 -10
  1408. package/dist/model/wTTCPAOptSourceID.js.map +1 -1
  1409. package/dist/model/wTTicket.d.ts +30 -34
  1410. package/dist/model/wTTicket.js +112 -111
  1411. package/dist/model/wTTicket.js.map +1 -1
  1412. package/dist/model/wTTicketCreateParams.d.ts +15 -19
  1413. package/dist/model/wTTicketCreateParams.js +42 -41
  1414. package/dist/model/wTTicketCreateParams.js.map +1 -1
  1415. package/dist/model/wTTicketUpdateParams.d.ts +14 -18
  1416. package/dist/model/wTTicketUpdateParams.js +37 -36
  1417. package/dist/model/wTTicketUpdateParams.js.map +1 -1
  1418. package/dist/model/wTTwilioRequestAuthyCode.d.ts +11 -15
  1419. package/dist/model/wTTwilioRequestAuthyCode.js +22 -21
  1420. package/dist/model/wTTwilioRequestAuthyCode.js.map +1 -1
  1421. package/dist/model/wTTwilioVerifyAuthyCode.d.ts +12 -16
  1422. package/dist/model/wTTwilioVerifyAuthyCode.js +27 -26
  1423. package/dist/model/wTTwilioVerifyAuthyCode.js.map +1 -1
  1424. package/dist/model/wTVideoCreateParams.d.ts +14 -18
  1425. package/dist/model/wTVideoCreateParams.js +37 -36
  1426. package/dist/model/wTVideoCreateParams.js.map +1 -1
  1427. package/dist/model/wTVideoUpdateParams.d.ts +14 -18
  1428. package/dist/model/wTVideoUpdateParams.js +37 -36
  1429. package/dist/model/wTVideoUpdateParams.js.map +1 -1
  1430. package/dist/model/wTVirtualBusinessCardCreateParams.d.ts +22 -26
  1431. package/dist/model/wTVirtualBusinessCardCreateParams.js +77 -76
  1432. package/dist/model/wTVirtualBusinessCardCreateParams.js.map +1 -1
  1433. package/dist/model/wTVirtualBusinessCardUpdateParams.d.ts +22 -26
  1434. package/dist/model/wTVirtualBusinessCardUpdateParams.js +77 -76
  1435. package/dist/model/wTVirtualBusinessCardUpdateParams.js.map +1 -1
  1436. package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +86 -80
  1437. package/dist/model/wTWalletConfigurationSaveWalletRecord.js +387 -341
  1438. package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -1
  1439. package/dist/model/wTWalletConfigurationSaveWalletRecordPassBrandKit.d.ts +19 -0
  1440. package/dist/model/wTWalletConfigurationSaveWalletRecordPassBrandKit.js +43 -0
  1441. package/dist/model/wTWalletConfigurationSaveWalletRecordPassBrandKit.js.map +1 -0
  1442. package/dist/model/wTWalletConfigurationSaveWalletRecordSmsOptInSourceID.d.ts +13 -0
  1443. package/dist/model/wTWalletConfigurationSaveWalletRecordSmsOptInSourceID.js +12 -0
  1444. package/dist/model/wTWalletConfigurationSaveWalletRecordSmsOptInSourceID.js.map +1 -0
  1445. package/dist/model/wTWalletItemRedemption.d.ts +12 -16
  1446. package/dist/model/wTWalletItemRedemption.js +27 -26
  1447. package/dist/model/wTWalletItemRedemption.js.map +1 -1
  1448. package/dist/model/wTWalletObjectPrefixCounts.d.ts +12 -17
  1449. package/dist/model/wTWalletObjectPrefixCounts.js +27 -26
  1450. package/dist/model/wTWalletObjectPrefixCounts.js.map +1 -1
  1451. package/dist/model/wTWalletPageView.d.ts +49 -54
  1452. package/dist/model/wTWalletPageView.js +207 -206
  1453. package/dist/model/wTWalletPageView.js.map +1 -1
  1454. package/dist/model/wTWalletPageViewCount.d.ts +13 -17
  1455. package/dist/model/wTWalletPageViewCount.js +32 -31
  1456. package/dist/model/wTWalletPageViewCount.js.map +1 -1
  1457. package/dist/model/wTWalletPageViewGeoPoint.d.ts +15 -15
  1458. package/dist/model/wTWalletPageViewGeoPoint.js +22 -21
  1459. package/dist/model/wTWalletPageViewGeoPoint.js.map +1 -1
  1460. package/dist/model/wTWhatsAppInboundWebhook.d.ts +23 -0
  1461. package/dist/model/wTWhatsAppInboundWebhook.js +83 -0
  1462. package/dist/model/wTWhatsAppInboundWebhook.js.map +1 -0
  1463. package/dist/model/wTWhatsAppStatusCallback.d.ts +20 -0
  1464. package/dist/model/wTWhatsAppStatusCallback.js +68 -0
  1465. package/dist/model/wTWhatsAppStatusCallback.js.map +1 -0
  1466. package/dist/model/walletConfiguration.d.ts +91 -84
  1467. package/dist/model/walletConfiguration.js +412 -361
  1468. package/dist/model/walletConfiguration.js.map +1 -1
  1469. package/dist/model/walletPageView.d.ts +49 -54
  1470. package/dist/model/walletPageView.js +207 -206
  1471. package/dist/model/walletPageView.js.map +1 -1
  1472. package/dist/model/webpage.d.ts +19 -23
  1473. package/dist/model/webpage.js +62 -61
  1474. package/dist/model/webpage.js.map +1 -1
  1475. package/examples/advertisementcredits.example.ts +70 -70
  1476. package/examples/clubmembers.example.ts +86 -86
  1477. package/examples/constants.ts +5 -5
  1478. package/examples/dynamicvouchers.example.ts +106 -106
  1479. package/examples/linkbook.example.ts +57 -57
  1480. package/examples/membershiptiers.example.ts +77 -77
  1481. package/examples/merchantcredits.example.ts +84 -84
  1482. package/examples/merchanturls.example.ts +62 -62
  1483. package/examples/news.example.ts +58 -58
  1484. package/examples/package-lock.json +2108 -2108
  1485. package/examples/package.json +17 -17
  1486. package/examples/paymentdesigns.example.ts +67 -67
  1487. package/examples/performances.example.ts +62 -62
  1488. package/examples/promocodes.example.ts +59 -59
  1489. package/examples/sms.example.ts +304 -304
  1490. package/examples/staticvouchercampaigns.example.ts +191 -191
  1491. package/examples/staticvouchers.example.ts +66 -66
  1492. package/git_push.sh +57 -57
  1493. package/model/a2PApplicationSubmission.ts +249 -250
  1494. package/model/advertisementCredit.ts +105 -105
  1495. package/model/advertisementCreditBroadcast.ts +158 -158
  1496. package/model/advertisementCreditScan.ts +167 -167
  1497. package/model/amenity.ts +92 -92
  1498. package/model/{messageDirection.ts → amenityId.ts} +26 -26
  1499. package/model/announcement.ts +67 -67
  1500. package/model/applicableTerminals.ts +26 -26
  1501. package/model/assistant.ts +116 -0
  1502. package/model/authError.ts +55 -55
  1503. package/model/availablePhoneNumbersRequest.ts +43 -43
  1504. package/model/browserDetails.ts +55 -55
  1505. package/model/businessClassification.ts +20 -20
  1506. package/model/businessIndustry.ts +49 -49
  1507. package/model/businessRegionsOfOperation.ts +22 -22
  1508. package/model/businessRegistrationIdentifier.ts +26 -26
  1509. package/model/businessStockExchanges.ts +43 -43
  1510. package/model/businessType.ts +22 -22
  1511. package/model/chatCompletionAudio.ts +64 -0
  1512. package/model/chatCompletionMessage.ts +83 -0
  1513. package/model/chatCompletionMessageAudio.ts +65 -0
  1514. package/model/chatCompletionMessageFunctionCall.ts +43 -0
  1515. package/model/chatCompletionMessageToolCall.ts +58 -0
  1516. package/model/chatCompletionMessageToolCallFunction.ts +46 -0
  1517. package/model/claimTicketRequest.ts +31 -31
  1518. package/model/clickFunnelAmount.ts +37 -37
  1519. package/model/clickFunnelContact.ts +284 -266
  1520. package/model/clickFunnelContactProfile.ts +235 -235
  1521. package/model/clickFunnelEvent.ts +38 -38
  1522. package/model/clickFunnelOriginalAmount.ts +37 -37
  1523. package/model/clickFunnelProduct.ts +194 -194
  1524. package/model/clickFunnelPurchase.ts +177 -178
  1525. package/model/clickFunnelRegistration.ts +38 -38
  1526. package/model/countClaimedComps200Response.ts +37 -37
  1527. package/model/createFile200Response.ts +43 -43
  1528. package/model/{wTStaticVoucherCampaignPreviewMessages.ts → createRunOnThreadRequest.ts} +37 -43
  1529. package/model/createStaticVoucherCampaign.ts +104 -105
  1530. package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +104 -105
  1531. package/model/dashboardWidget.ts +121 -121
  1532. package/model/dining.ts +92 -92
  1533. package/model/document.ts +100 -100
  1534. package/model/duplicateRowFound.ts +55 -55
  1535. package/model/dynamicVoucher.ts +227 -227
  1536. package/model/dynamicVoucherBroadcast.ts +158 -158
  1537. package/model/dynamicVoucherBroadcastListType.ts +26 -26
  1538. package/model/dynamicVoucherTemporalDecreaseFrequencyType.ts +26 -26
  1539. package/model/emailSubscriber.ts +74 -74
  1540. package/model/employee.ts +212 -209
  1541. package/model/employeeAPIKey.ts +83 -83
  1542. package/model/employeeActivityLog.ts +67 -67
  1543. package/model/employeeAlert.ts +85 -85
  1544. package/model/employeeScheduleStartDay.ts +26 -26
  1545. package/model/employeeScheduleStartHour.ts +26 -26
  1546. package/model/employeeScheduleStartMeridiem.ts +26 -26
  1547. package/model/employeeScheduleStartMinute.ts +26 -26
  1548. package/model/entityTooLarge.ts +55 -55
  1549. package/model/exportDataFile.ts +85 -85
  1550. package/model/falsumError.ts +40 -41
  1551. package/model/falsumField.ts +55 -55
  1552. package/model/feature.ts +79 -79
  1553. package/model/fetchAdvertisementCreditScansFromListRequest.ts +31 -0
  1554. package/model/fetchAllCountries200ResponseInner.ts +49 -49
  1555. package/model/fetchAllLedgerTransactions200Response.ts +44 -44
  1556. package/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInner.ts +105 -105
  1557. package/model/fetchAllStaticVouchersAssociatedWithCustomerWithVoucherID200ResponseInnerValueType.ts +26 -26
  1558. package/model/fetchCustomerTicketsWithTokenRequest.ts +37 -37
  1559. package/model/fetchDomainsByIndustry200Response.ts +67 -67
  1560. package/model/fetchImportedListRecipientsByPage200Response.ts +44 -44
  1561. package/model/fetchInboundSMSByPage200Response.ts +44 -44
  1562. package/model/fetchIndustry200Response.ts +56 -56
  1563. package/model/fetchMembersCount200Response.ts +31 -31
  1564. package/model/fetchOptInListSubscribersByPage200Response.ts +44 -44
  1565. package/model/fetchOutboundSMSByPage200Response.ts +44 -44
  1566. package/model/fetchPerformanceTicketsPage200Response.ts +38 -38
  1567. package/model/fetchStaticVouchersPage200Response.ts +38 -38
  1568. package/model/forbiddenRequest.ts +55 -55
  1569. package/model/foreignKeyDoesNotExist.ts +55 -55
  1570. package/model/gaming.ts +92 -92
  1571. package/model/helpDeskRequest.ts +86 -86
  1572. package/model/imageGrid.ts +86 -86
  1573. package/model/importTicketsRequest.ts +32 -32
  1574. package/model/importedList.ts +74 -74
  1575. package/model/importedListRecipient.ts +74 -74
  1576. package/model/inboundSMS.ts +242 -242
  1577. package/model/{internalServerError.ts → internalServerError500.ts} +55 -55
  1578. package/model/jobPosition.ts +23 -23
  1579. package/model/ledgerEntry.ts +179 -179
  1580. package/model/ledgerEntryParentObjectID.ts +26 -26
  1581. package/model/ledgerEntryTransactionType.ts +26 -26
  1582. package/model/linkBook.ts +87 -87
  1583. package/model/linkBookSection.ts +68 -68
  1584. package/model/loginStatus200Response.ts +50 -50
  1585. package/model/loginStatus200ResponseAnyOf.ts +37 -37
  1586. package/model/lounge.ts +92 -92
  1587. package/model/mSAnalyticsMemberCountPartitionedByDate.ts +43 -43
  1588. package/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.ts +43 -43
  1589. package/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.ts +43 -43
  1590. package/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.ts +43 -43
  1591. package/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.ts +43 -43
  1592. package/model/mSMemberHistory.ts +127 -127
  1593. package/model/mSMemberHistoryPagination.ts +52 -53
  1594. package/model/mSMemberRedemption.ts +105 -105
  1595. package/model/mSMemberRedemptionPagination.ts +52 -53
  1596. package/model/mSMemberRedemptionRegisterID.ts +29 -0
  1597. package/model/mSMemberRedemptionTransactionType.ts +29 -29
  1598. package/model/mSMembershipTierHistory.ts +106 -106
  1599. package/model/mSMembershipTierHistoryPagination.ts +52 -53
  1600. package/model/mSMembershipTierRedemption.ts +117 -117
  1601. package/model/mSMembershipTierRedemptionPagination.ts +52 -53
  1602. package/model/mSMerchantCreditHistory.ts +88 -88
  1603. package/model/mSMerchantCreditHistoryPagination.ts +52 -53
  1604. package/model/mSMerchantCreditRedemption.ts +105 -105
  1605. package/model/mSMerchantCreditRedemptionPagination.ts +52 -53
  1606. package/model/mediaFile.ts +100 -100
  1607. package/model/member.ts +133 -133
  1608. package/model/memberSearch.ts +82 -82
  1609. package/model/memberSearchSearchKey.ts +29 -29
  1610. package/model/memberSearchSortKey.ts +29 -29
  1611. package/model/merchant.ts +187 -187
  1612. package/model/merchantCreditSearch.ts +61 -61
  1613. package/model/merchantNotInitialized.ts +55 -55
  1614. package/model/merchantURL.ts +68 -68
  1615. package/model/message.ts +74 -74
  1616. package/model/models.ts +1421 -1338
  1617. package/model/moduleError.ts +157 -157
  1618. package/model/newsArticle.ts +92 -92
  1619. package/model/oAIAssistantUpdateParams.ts +79 -0
  1620. package/model/oAIAssistantUpdateParamsCreateParams.ts +79 -0
  1621. package/model/optInList.ts +134 -134
  1622. package/model/optInListSource.ts +74 -74
  1623. package/model/optInListSubscriber.ts +118 -118
  1624. package/model/optInListSubscriberOptInSourceID.ts +26 -0
  1625. package/model/outboundSMS.ts +160 -160
  1626. package/model/{walletConfigurationSmsOptInSourceID.ts → outboundSMSPaymentObjectBroadcastID.ts} +26 -26
  1627. package/model/{wTWalletPageViewId.ts → outboundSMSStatus.ts} +26 -26
  1628. package/model/paginatedWTMembers.ts +52 -53
  1629. package/model/paginatedWTMerchantCredits.ts +52 -53
  1630. package/model/paginationRequestWithIDAndWithoutSortOptions.ts +49 -49
  1631. package/model/paginationRequestWithSortOptions.ts +73 -73
  1632. package/model/paginationRequestWithSortOptionsSortOrder.ts +29 -29
  1633. package/model/paymentDesign.ts +141 -141
  1634. package/model/performance.ts +134 -134
  1635. package/model/phoneNumber.ts +158 -158
  1636. package/model/phoneNumberCapabilities.ts +49 -49
  1637. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.ts +107 -107
  1638. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +101 -101
  1639. package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +40 -40
  1640. package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +40 -40
  1641. package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +82 -82
  1642. package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +121 -121
  1643. package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +43 -43
  1644. package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +82 -82
  1645. package/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.ts +62 -62
  1646. package/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKeySortOrder.ts +29 -0
  1647. package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +46 -46
  1648. package/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.ts +40 -40
  1649. package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +52 -52
  1650. package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +100 -100
  1651. package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.ts +94 -94
  1652. package/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCount.ts +77 -77
  1653. package/model/pickSSOptInListMemberUpdateParamsExcludeKeyofSSOptInListMemberUpdateParamsMerchantCreatedAtOrMaxSMSCountOptInSourceID.ts +26 -26
  1654. package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +112 -112
  1655. package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +46 -46
  1656. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +156 -156
  1657. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhonePaymentObjectBroadcastID.ts +26 -26
  1658. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhoneStatus.ts +26 -26
  1659. package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +59 -59
  1660. package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +133 -133
  1661. package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +59 -59
  1662. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +101 -101
  1663. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDateValueType.ts +26 -26
  1664. package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +142 -142
  1665. package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsEmployeeID.ts +107 -107
  1666. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +107 -107
  1667. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsIdBorderStyleType.ts +26 -26
  1668. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +163 -163
  1669. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtRegisterID.ts +29 -29
  1670. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAtTransactionType.ts +29 -29
  1671. package/model/pickWTEmailSubscriberUpdateParamsExcludeKeyofWTEmailSubscriberUpdateParamsId.ts +46 -46
  1672. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +128 -128
  1673. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartDay.ts +26 -0
  1674. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartHour.ts +26 -0
  1675. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMeridiem.ts +26 -0
  1676. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmailScheduleStartMinute.ts +26 -0
  1677. package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday.ts +91 -91
  1678. package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +52 -52
  1679. package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +40 -40
  1680. package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +64 -64
  1681. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +141 -141
  1682. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDBroadcastStatus.ts +26 -26
  1683. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListIDPaymentObjectPrefix.ts +26 -26
  1684. package/model/pickWTSmsSubscriberUpdateParamsExcludeKeyofWTSmsSubscriberUpdateParamsId.ts +34 -34
  1685. package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +107 -107
  1686. package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +46 -46
  1687. package/model/plan.ts +61 -62
  1688. package/model/portalPage.ts +88 -83
  1689. package/model/presignedPost.ts +44 -41
  1690. package/model/presignedPostFields.ts +43 -43
  1691. package/model/product.ts +73 -74
  1692. package/model/profileStatuses.ts +21 -21
  1693. package/model/promoCode.ts +104 -104
  1694. package/model/qRCodeDesign.ts +80 -122
  1695. package/model/reachPerformanceStats.ts +124 -124
  1696. package/model/request.ts +349 -349
  1697. package/model/response.ts +67 -67
  1698. package/model/role.ts +115 -117
  1699. package/model/roleAuditLog.ts +97 -97
  1700. package/model/roomRate.ts +92 -92
  1701. package/model/sSImportedListRecipientCreateParams.ts +37 -37
  1702. package/model/sSOptInSource.ts +73 -73
  1703. package/model/sSOutboundStatuses.ts +26 -26
  1704. package/model/saveMerchantCreditPaymentDesignRequest.ts +31 -31
  1705. package/model/saveTicketSettingsRequest.ts +49 -50
  1706. package/model/service.ts +92 -92
  1707. package/model/{wTEmployeeCreateStaticVoucherCampaignGroup.ts → setDefaultPaymentMethodRequest.ts} +31 -31
  1708. package/model/simpleSMSBroadcast.ts +151 -151
  1709. package/model/smsSubscriber.ts +62 -62
  1710. package/model/sortDirection.ts +18 -0
  1711. package/model/staticVoucher.ts +221 -221
  1712. package/model/staticVoucherCampaign.ts +177 -177
  1713. package/model/staticVoucherCampaignBroadcast.ts +145 -145
  1714. package/model/{updateStaticVoucherCampaignWithVoucherVoucherID.ts → staticVoucherCampaignBroadcastBroadcastStatus.ts} +26 -26
  1715. package/model/staticVoucherCampaignBroadcastPaymentObjectPrefix.ts +26 -0
  1716. package/model/staticVoucherCampaignUpdate.ts +80 -80
  1717. package/model/{wTLinkBookLinkBookSectionID.ts → staticVoucherCampaignValueType.ts} +26 -26
  1718. package/model/{messageStatus.ts → staticVoucherId.ts} +26 -26
  1719. package/model/status.ts +26 -26
  1720. package/model/subscriptionFeature.ts +79 -79
  1721. package/model/subscriptionPlan.ts +67 -69
  1722. package/model/subscriptionProduct.ts +97 -93
  1723. package/model/tcpa.ts +68 -68
  1724. package/model/thread.ts +62 -0
  1725. package/model/ticket.ts +149 -149
  1726. package/model/ticketSortKeys.ts +22 -0
  1727. package/model/trustBundleStatuses.ts +21 -21
  1728. package/model/updateEmailNotificationPreferenceRequest.ts +31 -31
  1729. package/model/updateStaticVoucherCampaignWithVoucher.ts +104 -105
  1730. package/model/vSCampaignGeneratedMessage.ts +43 -43
  1731. package/model/vSCampaignGeneratedMessagePagination.ts +52 -53
  1732. package/model/vSDynamicVoucherStatus.ts +26 -26
  1733. package/model/vectorStore.ts +62 -0
  1734. package/model/video.ts +86 -86
  1735. package/model/virtualBusinessCard.ts +134 -134
  1736. package/model/wTA2PApplicationUpdateParams.ts +177 -178
  1737. package/model/wTAdvertisementCredit.ts +105 -105
  1738. package/model/wTAdvertisementCreditCreateParams.ts +56 -56
  1739. package/model/wTAdvertisementCreditScan.ts +167 -167
  1740. package/model/wTAdvertisementCreditUpdateParams.ts +56 -56
  1741. package/model/wTAmenityCreateParams.ts +61 -61
  1742. package/model/wTAmenityUpdateParams.ts +61 -61
  1743. package/model/wTAndroidKeystoreResponse.ts +37 -0
  1744. package/model/wTAuthenticationCheckSessionTokenStatusResponse.ts +36 -36
  1745. package/model/wTAuthenticationForgotPassword.ts +31 -31
  1746. package/model/wTAuthenticationLoginRequest.ts +37 -37
  1747. package/model/wTAuthenticationLoginResponse.ts +121 -121
  1748. package/model/wTAuthenticationRegister.ts +157 -121
  1749. package/model/wTAuthenticationRequestResetPassword.ts +31 -31
  1750. package/model/wTAuthenticationResetPassword.ts +43 -43
  1751. package/model/wTAuthenticationSSOLoginForDiscourse.ts +49 -49
  1752. package/model/wTBillingChangePlan.ts +31 -31
  1753. package/model/wTBillingSavePaymentMethod.ts +31 -31
  1754. package/model/wTBillingVerifyPaymentMethodResponse.ts +38 -38
  1755. package/model/wTCountResult.ts +31 -31
  1756. package/model/wTCustomerSearchByMemberID.ts +31 -31
  1757. package/model/wTCustomerSearchByPhoneNumber.ts +31 -31
  1758. package/model/wTDiningCreateParams.ts +61 -61
  1759. package/model/wTDiningUpdateParams.ts +61 -61
  1760. package/model/wTDynamicVoucher.ts +227 -227
  1761. package/model/wTDynamicVoucherCreateParams.ts +98 -98
  1762. package/model/wTDynamicVoucherRedemption.ts +161 -161
  1763. package/model/wTDynamicVoucherRedemptionTransactionType.ts +29 -29
  1764. package/model/wTDynamicVoucherSummary.ts +170 -170
  1765. package/model/wTDynamicVoucherSummaryStatus.ts +26 -26
  1766. package/model/wTDynamicVoucherUpdateParams.ts +98 -98
  1767. package/model/wTEmailSubscriberCreateParams.ts +43 -43
  1768. package/model/wTEmailSubscriberCreateParamsWalletUI.ts +49 -49
  1769. package/model/wTEmailSubscriberUpdateParams.ts +43 -43
  1770. package/model/wTEmployee.ts +212 -209
  1771. package/model/wTEmployeeAPIKey.ts +83 -83
  1772. package/model/wTEmployeeAPIKeyCreateParams.ts +37 -37
  1773. package/model/wTEmployeeAPIKeyUpdateParams.ts +37 -37
  1774. package/model/wTEmployeeCreate.ts +131 -131
  1775. package/model/wTEmployeeCreateDocument.ts +43 -43
  1776. package/model/wTEmployeeCreateMediaFile.ts +43 -43
  1777. package/model/wTEmployeeFileCreate.ts +37 -37
  1778. package/model/wTEmployeeImportRecords.ts +37 -37
  1779. package/model/wTEmployeeNotification.ts +50 -50
  1780. package/model/wTEmployeeNotificationType.ts +26 -26
  1781. package/model/wTEmployeePeerRoles.ts +31 -31
  1782. package/model/wTEmployeeS3FilePresign.ts +44 -44
  1783. package/model/wTEmployeeS3FilePresignContext.ts +26 -26
  1784. package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +67 -67
  1785. package/model/wTEmployeeScheduleSimpleSMS.ts +62 -62
  1786. package/model/wTEmployeeScheduleSimpleSMSListType.ts +26 -26
  1787. package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +55 -55
  1788. package/model/wTEmployeeSendHelpDeskResponse.ts +43 -43
  1789. package/model/wTEmployeeUpdate.ts +125 -125
  1790. package/model/wTEmployeeUpdateRecords.ts +37 -37
  1791. package/model/wTFetchWalletPaymentObjectsWithToken.ts +55 -55
  1792. package/model/wTGamingCreateParams.ts +61 -61
  1793. package/model/wTGamingUpdateParams.ts +61 -61
  1794. package/model/wTImageGridCreateParams.ts +55 -55
  1795. package/model/wTImageGridUpdateParams.ts +55 -55
  1796. package/model/wTImportedList.ts +74 -74
  1797. package/model/wTImportedListRecipientFromMembershipTierImport.ts +44 -44
  1798. package/model/wTImportedListRecipientFromMembershipTierImportTierID.ts +26 -26
  1799. package/model/wTInfoGenesisLookupRequestErrors.ts +49 -49
  1800. package/model/wTInfoGenesisRecordFilterParameters.ts +43 -43
  1801. package/model/wTInfoGenesisRoutingIDs.ts +31 -31
  1802. package/model/wTInfoGenesisUniquePostingIDs.ts +31 -31
  1803. package/model/wTLocalInstance.ts +107 -107
  1804. package/model/wTLoungeCreateParams.ts +61 -61
  1805. package/model/wTLoungeUpdateParams.ts +61 -61
  1806. package/model/wTMember.ts +133 -133
  1807. package/model/wTMemberCreationParams.ts +88 -88
  1808. package/model/wTMembershipTier.ts +104 -104
  1809. package/model/wTMembershipTierCreationParams.ts +64 -64
  1810. package/model/wTMembershipTierId.ts +29 -29
  1811. package/model/wTMembershipTierUpdateParams.ts +64 -64
  1812. package/model/wTMembershipTierWithMemberCount.ts +113 -113
  1813. package/model/wTMerchantCredit.ts +106 -106
  1814. package/model/wTMerchantCreditCreationParams.ts +49 -49
  1815. package/model/wTMerchantURLCreate.ts +37 -37
  1816. package/model/wTMerchantURLUpdate.ts +37 -37
  1817. package/model/wTMerchantUpdate.ts +79 -79
  1818. package/model/wTMerchantUpdatePOSIntegration.ts +31 -31
  1819. package/model/wTMerchantUpdatePointsOfContact.ts +49 -49
  1820. package/model/wTMessageInstance.ts +26 -153
  1821. package/model/wTNewsArticleCreateParams.ts +61 -61
  1822. package/model/wTNewsArticleUpdateParams.ts +61 -61
  1823. package/model/wTOptInList.ts +134 -134
  1824. package/model/wTOptInListCreationParams.ts +103 -103
  1825. package/model/wTPassBrandKit.ts +61 -0
  1826. package/model/wTPaymentDesign.ts +141 -141
  1827. package/model/wTPaymentDesignCreateParams.ts +104 -104
  1828. package/model/wTPaymentDesignUpdateParams.ts +104 -104
  1829. package/model/wTPerformanceCreateParams.ts +103 -103
  1830. package/model/wTPerformanceUpdateParams.ts +103 -103
  1831. package/model/wTPosMachine.ts +88 -88
  1832. package/model/wTPosMachineCreateParams.ts +58 -58
  1833. package/model/wTPosMachineUpdateParams.ts +58 -58
  1834. package/model/wTProductCreateParams.ts +61 -61
  1835. package/model/wTProductUpdateParams.ts +61 -61
  1836. package/model/wTPromoCodeCreateParams.ts +73 -73
  1837. package/model/wTPromoCodeUpdateParams.ts +73 -73
  1838. package/model/wTQRCodeDesign.ts +80 -122
  1839. package/model/wTQRCodeDesignCreateParams.ts +49 -91
  1840. package/model/wTQRCodeDesignUpdateParams.ts +49 -91
  1841. package/model/{wTLinkBook.ts → wTQuickLink.ts} +87 -87
  1842. package/model/{wTLinkBookUpdateParams.ts → wTQuickLinkCreateParams.ts} +56 -56
  1843. package/model/{saveTicketSettingsRequestPaymentDesignID.ts → wTQuickLinkLinkBookSectionID.ts} +26 -26
  1844. package/model/{wTLinkBookSectionCreateParams.ts → wTQuickLinkSectionCreateParams.ts} +37 -37
  1845. package/model/{wTLinkBookSectionUpdateParams.ts → wTQuickLinkSectionUpdateParams.ts} +37 -37
  1846. package/model/{wTLinkBookCreateParams.ts → wTQuickLinkUpdateParams.ts} +56 -56
  1847. package/model/wTRole.ts +115 -116
  1848. package/model/wTRoomRateCreateParams.ts +61 -61
  1849. package/model/wTRoomRateUpdateParams.ts +61 -61
  1850. package/model/wTSMSAcquirePhoneNumber.ts +31 -31
  1851. package/model/wTSMSImportOptInListSubscribers.ts +43 -43
  1852. package/model/wTSMSImportedListCreate.ts +43 -43
  1853. package/model/wTSMSOptInListSourceCreate.ts +37 -37
  1854. package/model/wTSMSUpdatePhoneNumberConfig.ts +97 -97
  1855. package/model/wTServiceCreateParams.ts +61 -61
  1856. package/model/wTServiceUpdateParams.ts +61 -61
  1857. package/model/wTSettingsSetPassword.ts +31 -31
  1858. package/model/wTSmsSubscriberCreateParams.ts +31 -31
  1859. package/model/wTSmsSubscriberCreateParamsWalletUI.ts +37 -37
  1860. package/model/wTSmsSubscriberUpdateParams.ts +31 -31
  1861. package/model/wTStaticVoucher.ts +221 -221
  1862. package/model/wTStaticVoucherCampaign.ts +177 -177
  1863. package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +55 -55
  1864. package/model/wTStaticVoucherCreateParams.ts +50 -50
  1865. package/model/wTStaticVoucherUpdateParams.ts +43 -43
  1866. package/model/wTSystemApprovePhoneNumber.ts +37 -37
  1867. package/model/wTSystemRoleCreate.ts +37 -37
  1868. package/model/wTTCPAOpt.ts +45 -45
  1869. package/model/wTTCPAOptListID.ts +26 -26
  1870. package/model/wTTCPAOptSourceID.ts +26 -26
  1871. package/model/wTTicket.ts +149 -149
  1872. package/model/wTTicketCreateParams.ts +64 -64
  1873. package/model/wTTicketUpdateParams.ts +58 -58
  1874. package/model/wTTwilioRequestAuthyCode.ts +37 -37
  1875. package/model/wTTwilioVerifyAuthyCode.ts +43 -43
  1876. package/model/wTVideoCreateParams.ts +55 -55
  1877. package/model/wTVideoUpdateParams.ts +55 -55
  1878. package/model/wTVirtualBusinessCardCreateParams.ts +103 -103
  1879. package/model/wTVirtualBusinessCardUpdateParams.ts +103 -103
  1880. package/model/wTWalletConfigurationSaveWalletRecord.ts +477 -422
  1881. package/model/wTWalletConfigurationSaveWalletRecordPassBrandKit.ts +62 -0
  1882. package/model/wTWalletConfigurationSaveWalletRecordSmsOptInSourceID.ts +26 -0
  1883. package/model/wTWalletItemRedemption.ts +43 -43
  1884. package/model/wTWalletObjectPrefixCounts.ts +43 -44
  1885. package/model/wTWalletPageView.ts +263 -264
  1886. package/model/wTWalletPageViewCount.ts +49 -49
  1887. package/model/wTWalletPageViewGeoPoint.ts +37 -37
  1888. package/model/wTWhatsAppInboundWebhook.ts +109 -0
  1889. package/model/wTWhatsAppStatusCallback.ts +91 -0
  1890. package/model/walletConfiguration.ts +510 -446
  1891. package/model/walletPageView.ts +263 -264
  1892. package/model/webpage.ts +85 -85
  1893. package/openapitools.json +7 -7
  1894. package/package.json +1 -1
  1895. package/readme-generator.py +107 -71
  1896. package/scripts/failure.py +67 -67
  1897. package/scripts/slack.py +94 -94
  1898. package/tsconfig.json +25 -25
  1899. package/api/employeeAccessApi.ts +0 -165
  1900. package/api/settingsApi.ts +0 -220
  1901. package/api/staticVoucherCampaignGroupsApi.ts +0 -165
  1902. package/dist/api/a2PApi.js.map +0 -1
  1903. package/dist/api/advertisementCreditsApi.js.map +0 -1
  1904. package/dist/api/billingApi.js.map +0 -1
  1905. package/dist/api/clubMembersPointsApi.js.map +0 -1
  1906. package/dist/api/configurationApi.js.map +0 -1
  1907. package/dist/api/dashboardApi.js.map +0 -1
  1908. package/dist/api/emailSubscriberApi.js.map +0 -1
  1909. package/dist/api/employeeAPIKeysApi.js.map +0 -1
  1910. package/dist/api/employeeAccessApi.d.ts +0 -34
  1911. package/dist/api/employeeAccessApi.js +0 -131
  1912. package/dist/api/employeeAccessApi.js.map +0 -1
  1913. package/dist/api/imageGridApi.js.map +0 -1
  1914. package/dist/api/integratedTerminalsApi.js.map +0 -1
  1915. package/dist/api/loginAndLogoutApi.js.map +0 -1
  1916. package/dist/api/merchantURLsApi.js.map +0 -1
  1917. package/dist/api/mobileTerminalApi.js.map +0 -1
  1918. package/dist/api/sMSApi.js.map +0 -1
  1919. package/dist/api/settingsApi.d.ts +0 -42
  1920. package/dist/api/settingsApi.js +0 -184
  1921. package/dist/api/settingsApi.js.map +0 -1
  1922. package/dist/api/smsSubscriberApi.js.map +0 -1
  1923. package/dist/api/staticVoucherCampaignGroupsApi.d.ts +0 -32
  1924. package/dist/api/staticVoucherCampaignGroupsApi.js +0 -131
  1925. package/dist/api/staticVoucherCampaignGroupsApi.js.map +0 -1
  1926. package/dist/api/ticketApi.js.map +0 -1
  1927. package/dist/api/transactionLedgerApi.js.map +0 -1
  1928. package/dist/api/webTerminalApi.js.map +0 -1
  1929. package/dist/model/internalServerError.js.map +0 -1
  1930. package/dist/model/messageDirection.js +0 -11
  1931. package/dist/model/messageDirection.js.map +0 -1
  1932. package/dist/model/messageStatus.js +0 -11
  1933. package/dist/model/messageStatus.js.map +0 -1
  1934. package/dist/model/saveTicketSettingsRequestPaymentDesignID.js +0 -11
  1935. package/dist/model/saveTicketSettingsRequestPaymentDesignID.js.map +0 -1
  1936. package/dist/model/staticVoucherCampaignGroup.d.ts +0 -24
  1937. package/dist/model/staticVoucherCampaignGroup.js +0 -62
  1938. package/dist/model/staticVoucherCampaignGroup.js.map +0 -1
  1939. package/dist/model/updateStaticVoucherCampaignWithVoucherVoucherID.js +0 -11
  1940. package/dist/model/updateStaticVoucherCampaignWithVoucherVoucherID.js.map +0 -1
  1941. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.d.ts +0 -14
  1942. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js +0 -17
  1943. package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js.map +0 -1
  1944. package/dist/model/wTLinkBook.d.ts +0 -25
  1945. package/dist/model/wTLinkBook.js.map +0 -1
  1946. package/dist/model/wTLinkBookCreateParams.d.ts +0 -19
  1947. package/dist/model/wTLinkBookCreateParams.js.map +0 -1
  1948. package/dist/model/wTLinkBookLinkBookSectionID.js +0 -11
  1949. package/dist/model/wTLinkBookLinkBookSectionID.js.map +0 -1
  1950. package/dist/model/wTLinkBookSectionCreateParams.js +0 -22
  1951. package/dist/model/wTLinkBookSectionCreateParams.js.map +0 -1
  1952. package/dist/model/wTLinkBookSectionUpdateParams.js +0 -22
  1953. package/dist/model/wTLinkBookSectionUpdateParams.js.map +0 -1
  1954. package/dist/model/wTLinkBookUpdateParams.d.ts +0 -19
  1955. package/dist/model/wTLinkBookUpdateParams.js.map +0 -1
  1956. package/dist/model/wTStaticVoucherCampaignPreviewMessages.d.ts +0 -16
  1957. package/dist/model/wTStaticVoucherCampaignPreviewMessages.js +0 -27
  1958. package/dist/model/wTStaticVoucherCampaignPreviewMessages.js.map +0 -1
  1959. package/dist/model/wTWalletPageViewId.js +0 -11
  1960. package/dist/model/wTWalletPageViewId.js.map +0 -1
  1961. package/dist/model/walletConfigurationSmsOptInSourceID.d.ts +0 -13
  1962. package/dist/model/walletConfigurationSmsOptInSourceID.js +0 -11
  1963. package/dist/model/walletConfigurationSmsOptInSourceID.js.map +0 -1
  1964. package/model/staticVoucherCampaignGroup.ts +0 -86
@@ -1,1557 +1,1566 @@
1
- /**
2
- * wallet-api
3
- * API
4
- *
5
- * The version of the OpenAPI document: 2.1.600
6
- * Contact: development@wallet.inc
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
-
14
- import localVarRequest from 'request';
15
- import http from 'http';
16
-
17
- /* tslint:disable:no-unused-locals */
18
- import { AuthError } from '../model/authError';
19
- import { DashboardWidget } from '../model/dashboardWidget';
20
- import { FalsumError } from '../model/falsumError';
21
- import { InternalServerError } from '../model/internalServerError';
22
- import { WTCountResult } from '../model/wTCountResult';
23
-
24
- import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
25
- import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
26
-
27
- import { HttpError, RequestFile } from './apis';
28
-
29
- let defaultBasePath = 'https://api.wall.et';
30
-
31
- // ===============================================
32
- // This file is autogenerated - Please do not edit
33
- // ===============================================
34
-
35
- export enum DashboardApiApiKeys {
36
- api_key,
37
- }
38
-
39
- export class DashboardApi {
40
- protected _basePath = defaultBasePath;
41
- protected _defaultHeaders : any = {};
42
- protected _useQuerystring : boolean = false;
43
-
44
- protected authentications = {
45
- 'default': <Authentication>new VoidAuth(),
46
- 'api_key': new ApiKeyAuth('header', 'access-token'),
47
- }
48
-
49
- protected interceptors: Interceptor[] = [];
50
-
51
- constructor(basePath?: string);
52
- constructor(basePathOrUsername: string, password?: string, basePath?: string) {
53
- if (password) {
54
- if (basePath) {
55
- this.basePath = basePath;
56
- }
57
- } else {
58
- if (basePathOrUsername) {
59
- this.basePath = basePathOrUsername
60
- }
61
- }
62
- }
63
-
64
- set useQuerystring(value: boolean) {
65
- this._useQuerystring = value;
66
- }
67
-
68
- set basePath(basePath: string) {
69
- this._basePath = basePath;
70
- }
71
-
72
- set defaultHeaders(defaultHeaders: any) {
73
- this._defaultHeaders = defaultHeaders;
74
- }
75
-
76
- get defaultHeaders() {
77
- return this._defaultHeaders;
78
- }
79
-
80
- get basePath() {
81
- return this._basePath;
82
- }
83
-
84
- public setDefaultAuthentication(auth: Authentication) {
85
- this.authentications.default = auth;
86
- }
87
-
88
- public setApiKey(key: DashboardApiApiKeys, value: string) {
89
- (this.authentications as any)[DashboardApiApiKeys[key]].apiKey = value;
90
- }
91
-
92
- public addInterceptor(interceptor: Interceptor) {
93
- this.interceptors.push(interceptor);
94
- }
95
-
96
- /**
97
- *
98
- * @summary Count active static voucher campaigns
99
- * @param startDateTime
100
- * @param endDateTime
101
- */
102
- public async fetchDashboardActiveStaticVoucherCampaignsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
103
- const localVarPath = this.basePath + '/v2/dashboard/count/staticVoucherCampaigns/active';
104
- let localVarQueryParameters: any = {};
105
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
106
- const produces = ['application/json'];
107
- // give precedence to 'application/json'
108
- if (produces.indexOf('application/json') >= 0) {
109
- localVarHeaderParams.Accept = 'application/json';
110
- } else {
111
- localVarHeaderParams.Accept = produces.join(',');
112
- }
113
- let localVarFormParams: any = {};
114
-
115
- // verify required parameter 'startDateTime' is not null or undefined
116
- if (startDateTime === null || startDateTime === undefined) {
117
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardActiveStaticVoucherCampaignsCount.');
118
- }
119
-
120
- // verify required parameter 'endDateTime' is not null or undefined
121
- if (endDateTime === null || endDateTime === undefined) {
122
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardActiveStaticVoucherCampaignsCount.');
123
- }
124
-
125
- if (startDateTime !== undefined) {
126
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
127
- }
128
-
129
- if (endDateTime !== undefined) {
130
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
131
- }
132
-
133
- (<any>Object).assign(localVarHeaderParams, options.headers);
134
-
135
- let localVarUseFormData = false;
136
-
137
- let localVarRequestOptions: localVarRequest.Options = {
138
- method: 'GET',
139
- qs: localVarQueryParameters,
140
- headers: localVarHeaderParams,
141
- uri: localVarPath,
142
- useQuerystring: this._useQuerystring,
143
- json: true,
144
- };
145
-
146
- let authenticationPromise = Promise.resolve();
147
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
148
-
149
- let interceptorPromise = authenticationPromise;
150
- for (const interceptor of this.interceptors) {
151
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
152
- }
153
-
154
- return interceptorPromise.then(() => {
155
- if (Object.keys(localVarFormParams).length) {
156
- if (localVarUseFormData) {
157
- (<any>localVarRequestOptions).formData = localVarFormParams;
158
- } else {
159
- localVarRequestOptions.form = localVarFormParams;
160
- }
161
- }
162
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
163
- localVarRequest(localVarRequestOptions, (error, response, body) => {
164
- if (error) {
165
- reject(error);
166
- } else {
167
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
168
- body = ObjectSerializer.deserialize(body, "WTCountResult");
169
- resolve({ response: response, body: body });
170
- } else {
171
- reject(new HttpError(response, body, response.statusCode));
172
- }
173
- }
174
- });
175
- });
176
- });
177
- }
178
- /**
179
- *
180
- * @summary Count active static vouchers
181
- * @param startDateTime
182
- * @param endDateTime
183
- */
184
- public async fetchDashboardActiveStaticVouchersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
185
- const localVarPath = this.basePath + '/v2/dashboard/count/staticVouchers/active';
186
- let localVarQueryParameters: any = {};
187
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
188
- const produces = ['application/json'];
189
- // give precedence to 'application/json'
190
- if (produces.indexOf('application/json') >= 0) {
191
- localVarHeaderParams.Accept = 'application/json';
192
- } else {
193
- localVarHeaderParams.Accept = produces.join(',');
194
- }
195
- let localVarFormParams: any = {};
196
-
197
- // verify required parameter 'startDateTime' is not null or undefined
198
- if (startDateTime === null || startDateTime === undefined) {
199
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardActiveStaticVouchersCount.');
200
- }
201
-
202
- // verify required parameter 'endDateTime' is not null or undefined
203
- if (endDateTime === null || endDateTime === undefined) {
204
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardActiveStaticVouchersCount.');
205
- }
206
-
207
- if (startDateTime !== undefined) {
208
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
209
- }
210
-
211
- if (endDateTime !== undefined) {
212
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
213
- }
214
-
215
- (<any>Object).assign(localVarHeaderParams, options.headers);
216
-
217
- let localVarUseFormData = false;
218
-
219
- let localVarRequestOptions: localVarRequest.Options = {
220
- method: 'GET',
221
- qs: localVarQueryParameters,
222
- headers: localVarHeaderParams,
223
- uri: localVarPath,
224
- useQuerystring: this._useQuerystring,
225
- json: true,
226
- };
227
-
228
- let authenticationPromise = Promise.resolve();
229
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
230
-
231
- let interceptorPromise = authenticationPromise;
232
- for (const interceptor of this.interceptors) {
233
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
234
- }
235
-
236
- return interceptorPromise.then(() => {
237
- if (Object.keys(localVarFormParams).length) {
238
- if (localVarUseFormData) {
239
- (<any>localVarRequestOptions).formData = localVarFormParams;
240
- } else {
241
- localVarRequestOptions.form = localVarFormParams;
242
- }
243
- }
244
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
245
- localVarRequest(localVarRequestOptions, (error, response, body) => {
246
- if (error) {
247
- reject(error);
248
- } else {
249
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
250
- body = ObjectSerializer.deserialize(body, "WTCountResult");
251
- resolve({ response: response, body: body });
252
- } else {
253
- reject(new HttpError(response, body, response.statusCode));
254
- }
255
- }
256
- });
257
- });
258
- });
259
- }
260
- /**
261
- *
262
- * @summary Count Apple Wallet Subscribers
263
- * @param startDateTime
264
- * @param endDateTime
265
- */
266
- public async fetchDashboardAppleWalletSubscribersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
267
- const localVarPath = this.basePath + '/v2/dashboard/count/appleWallet/subscribers';
268
- let localVarQueryParameters: any = {};
269
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
270
- const produces = ['application/json'];
271
- // give precedence to 'application/json'
272
- if (produces.indexOf('application/json') >= 0) {
273
- localVarHeaderParams.Accept = 'application/json';
274
- } else {
275
- localVarHeaderParams.Accept = produces.join(',');
276
- }
277
- let localVarFormParams: any = {};
278
-
279
- // verify required parameter 'startDateTime' is not null or undefined
280
- if (startDateTime === null || startDateTime === undefined) {
281
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardAppleWalletSubscribersCount.');
282
- }
283
-
284
- // verify required parameter 'endDateTime' is not null or undefined
285
- if (endDateTime === null || endDateTime === undefined) {
286
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardAppleWalletSubscribersCount.');
287
- }
288
-
289
- if (startDateTime !== undefined) {
290
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
291
- }
292
-
293
- if (endDateTime !== undefined) {
294
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
295
- }
296
-
297
- (<any>Object).assign(localVarHeaderParams, options.headers);
298
-
299
- let localVarUseFormData = false;
300
-
301
- let localVarRequestOptions: localVarRequest.Options = {
302
- method: 'GET',
303
- qs: localVarQueryParameters,
304
- headers: localVarHeaderParams,
305
- uri: localVarPath,
306
- useQuerystring: this._useQuerystring,
307
- json: true,
308
- };
309
-
310
- let authenticationPromise = Promise.resolve();
311
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
312
-
313
- let interceptorPromise = authenticationPromise;
314
- for (const interceptor of this.interceptors) {
315
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
316
- }
317
-
318
- return interceptorPromise.then(() => {
319
- if (Object.keys(localVarFormParams).length) {
320
- if (localVarUseFormData) {
321
- (<any>localVarRequestOptions).formData = localVarFormParams;
322
- } else {
323
- localVarRequestOptions.form = localVarFormParams;
324
- }
325
- }
326
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
327
- localVarRequest(localVarRequestOptions, (error, response, body) => {
328
- if (error) {
329
- reject(error);
330
- } else {
331
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
332
- body = ObjectSerializer.deserialize(body, "WTCountResult");
333
- resolve({ response: response, body: body });
334
- } else {
335
- reject(new HttpError(response, body, response.statusCode));
336
- }
337
- }
338
- });
339
- });
340
- });
341
- }
342
- /**
343
- *
344
- * @summary Count employees
345
- * @param startDateTime
346
- * @param endDateTime
347
- */
348
- public async fetchDashboardEmployeesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
349
- const localVarPath = this.basePath + '/v2/dashboard/count/employees';
350
- let localVarQueryParameters: any = {};
351
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
352
- const produces = ['application/json'];
353
- // give precedence to 'application/json'
354
- if (produces.indexOf('application/json') >= 0) {
355
- localVarHeaderParams.Accept = 'application/json';
356
- } else {
357
- localVarHeaderParams.Accept = produces.join(',');
358
- }
359
- let localVarFormParams: any = {};
360
-
361
- // verify required parameter 'startDateTime' is not null or undefined
362
- if (startDateTime === null || startDateTime === undefined) {
363
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardEmployeesCount.');
364
- }
365
-
366
- // verify required parameter 'endDateTime' is not null or undefined
367
- if (endDateTime === null || endDateTime === undefined) {
368
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardEmployeesCount.');
369
- }
370
-
371
- if (startDateTime !== undefined) {
372
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
373
- }
374
-
375
- if (endDateTime !== undefined) {
376
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
377
- }
378
-
379
- (<any>Object).assign(localVarHeaderParams, options.headers);
380
-
381
- let localVarUseFormData = false;
382
-
383
- let localVarRequestOptions: localVarRequest.Options = {
384
- method: 'GET',
385
- qs: localVarQueryParameters,
386
- headers: localVarHeaderParams,
387
- uri: localVarPath,
388
- useQuerystring: this._useQuerystring,
389
- json: true,
390
- };
391
-
392
- let authenticationPromise = Promise.resolve();
393
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
394
-
395
- let interceptorPromise = authenticationPromise;
396
- for (const interceptor of this.interceptors) {
397
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
398
- }
399
-
400
- return interceptorPromise.then(() => {
401
- if (Object.keys(localVarFormParams).length) {
402
- if (localVarUseFormData) {
403
- (<any>localVarRequestOptions).formData = localVarFormParams;
404
- } else {
405
- localVarRequestOptions.form = localVarFormParams;
406
- }
407
- }
408
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
409
- localVarRequest(localVarRequestOptions, (error, response, body) => {
410
- if (error) {
411
- reject(error);
412
- } else {
413
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
414
- body = ObjectSerializer.deserialize(body, "WTCountResult");
415
- resolve({ response: response, body: body });
416
- } else {
417
- reject(new HttpError(response, body, response.statusCode));
418
- }
419
- }
420
- });
421
- });
422
- });
423
- }
424
- /**
425
- *
426
- * @summary Count members
427
- * @param startDateTime
428
- * @param endDateTime
429
- */
430
- public async fetchDashboardMembersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
431
- const localVarPath = this.basePath + '/v2/dashboard/count/members';
432
- let localVarQueryParameters: any = {};
433
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
434
- const produces = ['application/json'];
435
- // give precedence to 'application/json'
436
- if (produces.indexOf('application/json') >= 0) {
437
- localVarHeaderParams.Accept = 'application/json';
438
- } else {
439
- localVarHeaderParams.Accept = produces.join(',');
440
- }
441
- let localVarFormParams: any = {};
442
-
443
- // verify required parameter 'startDateTime' is not null or undefined
444
- if (startDateTime === null || startDateTime === undefined) {
445
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardMembersCount.');
446
- }
447
-
448
- // verify required parameter 'endDateTime' is not null or undefined
449
- if (endDateTime === null || endDateTime === undefined) {
450
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardMembersCount.');
451
- }
452
-
453
- if (startDateTime !== undefined) {
454
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
455
- }
456
-
457
- if (endDateTime !== undefined) {
458
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
459
- }
460
-
461
- (<any>Object).assign(localVarHeaderParams, options.headers);
462
-
463
- let localVarUseFormData = false;
464
-
465
- let localVarRequestOptions: localVarRequest.Options = {
466
- method: 'GET',
467
- qs: localVarQueryParameters,
468
- headers: localVarHeaderParams,
469
- uri: localVarPath,
470
- useQuerystring: this._useQuerystring,
471
- json: true,
472
- };
473
-
474
- let authenticationPromise = Promise.resolve();
475
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
476
-
477
- let interceptorPromise = authenticationPromise;
478
- for (const interceptor of this.interceptors) {
479
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
480
- }
481
-
482
- return interceptorPromise.then(() => {
483
- if (Object.keys(localVarFormParams).length) {
484
- if (localVarUseFormData) {
485
- (<any>localVarRequestOptions).formData = localVarFormParams;
486
- } else {
487
- localVarRequestOptions.form = localVarFormParams;
488
- }
489
- }
490
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
491
- localVarRequest(localVarRequestOptions, (error, response, body) => {
492
- if (error) {
493
- reject(error);
494
- } else {
495
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
496
- body = ObjectSerializer.deserialize(body, "WTCountResult");
497
- resolve({ response: response, body: body });
498
- } else {
499
- reject(new HttpError(response, body, response.statusCode));
500
- }
501
- }
502
- });
503
- });
504
- });
505
- }
506
- /**
507
- *
508
- * @summary Count tiers
509
- * @param startDateTime
510
- * @param endDateTime
511
- */
512
- public async fetchDashboardMembershipTiersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
513
- const localVarPath = this.basePath + '/v2/dashboard/count/membershipTiers';
514
- let localVarQueryParameters: any = {};
515
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
516
- const produces = ['application/json'];
517
- // give precedence to 'application/json'
518
- if (produces.indexOf('application/json') >= 0) {
519
- localVarHeaderParams.Accept = 'application/json';
520
- } else {
521
- localVarHeaderParams.Accept = produces.join(',');
522
- }
523
- let localVarFormParams: any = {};
524
-
525
- // verify required parameter 'startDateTime' is not null or undefined
526
- if (startDateTime === null || startDateTime === undefined) {
527
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardMembershipTiersCount.');
528
- }
529
-
530
- // verify required parameter 'endDateTime' is not null or undefined
531
- if (endDateTime === null || endDateTime === undefined) {
532
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardMembershipTiersCount.');
533
- }
534
-
535
- if (startDateTime !== undefined) {
536
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
537
- }
538
-
539
- if (endDateTime !== undefined) {
540
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
541
- }
542
-
543
- (<any>Object).assign(localVarHeaderParams, options.headers);
544
-
545
- let localVarUseFormData = false;
546
-
547
- let localVarRequestOptions: localVarRequest.Options = {
548
- method: 'GET',
549
- qs: localVarQueryParameters,
550
- headers: localVarHeaderParams,
551
- uri: localVarPath,
552
- useQuerystring: this._useQuerystring,
553
- json: true,
554
- };
555
-
556
- let authenticationPromise = Promise.resolve();
557
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
558
-
559
- let interceptorPromise = authenticationPromise;
560
- for (const interceptor of this.interceptors) {
561
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
562
- }
563
-
564
- return interceptorPromise.then(() => {
565
- if (Object.keys(localVarFormParams).length) {
566
- if (localVarUseFormData) {
567
- (<any>localVarRequestOptions).formData = localVarFormParams;
568
- } else {
569
- localVarRequestOptions.form = localVarFormParams;
570
- }
571
- }
572
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
573
- localVarRequest(localVarRequestOptions, (error, response, body) => {
574
- if (error) {
575
- reject(error);
576
- } else {
577
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
578
- body = ObjectSerializer.deserialize(body, "WTCountResult");
579
- resolve({ response: response, body: body });
580
- } else {
581
- reject(new HttpError(response, body, response.statusCode));
582
- }
583
- }
584
- });
585
- });
586
- });
587
- }
588
- /**
589
- *
590
- * @summary Count News Articles
591
- * @param startDateTime
592
- * @param endDateTime
593
- */
594
- public async fetchDashboardNewsArticlesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
595
- const localVarPath = this.basePath + '/v2/dashboard/count/newsArticles';
596
- let localVarQueryParameters: any = {};
597
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
598
- const produces = ['application/json'];
599
- // give precedence to 'application/json'
600
- if (produces.indexOf('application/json') >= 0) {
601
- localVarHeaderParams.Accept = 'application/json';
602
- } else {
603
- localVarHeaderParams.Accept = produces.join(',');
604
- }
605
- let localVarFormParams: any = {};
606
-
607
- // verify required parameter 'startDateTime' is not null or undefined
608
- if (startDateTime === null || startDateTime === undefined) {
609
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardNewsArticlesCount.');
610
- }
611
-
612
- // verify required parameter 'endDateTime' is not null or undefined
613
- if (endDateTime === null || endDateTime === undefined) {
614
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardNewsArticlesCount.');
615
- }
616
-
617
- if (startDateTime !== undefined) {
618
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
619
- }
620
-
621
- if (endDateTime !== undefined) {
622
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
623
- }
624
-
625
- (<any>Object).assign(localVarHeaderParams, options.headers);
626
-
627
- let localVarUseFormData = false;
628
-
629
- let localVarRequestOptions: localVarRequest.Options = {
630
- method: 'GET',
631
- qs: localVarQueryParameters,
632
- headers: localVarHeaderParams,
633
- uri: localVarPath,
634
- useQuerystring: this._useQuerystring,
635
- json: true,
636
- };
637
-
638
- let authenticationPromise = Promise.resolve();
639
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
640
-
641
- let interceptorPromise = authenticationPromise;
642
- for (const interceptor of this.interceptors) {
643
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
644
- }
645
-
646
- return interceptorPromise.then(() => {
647
- if (Object.keys(localVarFormParams).length) {
648
- if (localVarUseFormData) {
649
- (<any>localVarRequestOptions).formData = localVarFormParams;
650
- } else {
651
- localVarRequestOptions.form = localVarFormParams;
652
- }
653
- }
654
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
655
- localVarRequest(localVarRequestOptions, (error, response, body) => {
656
- if (error) {
657
- reject(error);
658
- } else {
659
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
660
- body = ObjectSerializer.deserialize(body, "WTCountResult");
661
- resolve({ response: response, body: body });
662
- } else {
663
- reject(new HttpError(response, body, response.statusCode));
664
- }
665
- }
666
- });
667
- });
668
- });
669
- }
670
- /**
671
- *
672
- * @summary Count opt in lists
673
- * @param startDateTime
674
- * @param endDateTime
675
- */
676
- public async fetchDashboardOptInListsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
677
- const localVarPath = this.basePath + '/v2/dashboard/count/optInLists';
678
- let localVarQueryParameters: any = {};
679
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
680
- const produces = ['application/json'];
681
- // give precedence to 'application/json'
682
- if (produces.indexOf('application/json') >= 0) {
683
- localVarHeaderParams.Accept = 'application/json';
684
- } else {
685
- localVarHeaderParams.Accept = produces.join(',');
686
- }
687
- let localVarFormParams: any = {};
688
-
689
- // verify required parameter 'startDateTime' is not null or undefined
690
- if (startDateTime === null || startDateTime === undefined) {
691
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardOptInListsCount.');
692
- }
693
-
694
- // verify required parameter 'endDateTime' is not null or undefined
695
- if (endDateTime === null || endDateTime === undefined) {
696
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardOptInListsCount.');
697
- }
698
-
699
- if (startDateTime !== undefined) {
700
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
701
- }
702
-
703
- if (endDateTime !== undefined) {
704
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
705
- }
706
-
707
- (<any>Object).assign(localVarHeaderParams, options.headers);
708
-
709
- let localVarUseFormData = false;
710
-
711
- let localVarRequestOptions: localVarRequest.Options = {
712
- method: 'GET',
713
- qs: localVarQueryParameters,
714
- headers: localVarHeaderParams,
715
- uri: localVarPath,
716
- useQuerystring: this._useQuerystring,
717
- json: true,
718
- };
719
-
720
- let authenticationPromise = Promise.resolve();
721
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
722
-
723
- let interceptorPromise = authenticationPromise;
724
- for (const interceptor of this.interceptors) {
725
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
726
- }
727
-
728
- return interceptorPromise.then(() => {
729
- if (Object.keys(localVarFormParams).length) {
730
- if (localVarUseFormData) {
731
- (<any>localVarRequestOptions).formData = localVarFormParams;
732
- } else {
733
- localVarRequestOptions.form = localVarFormParams;
734
- }
735
- }
736
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
737
- localVarRequest(localVarRequestOptions, (error, response, body) => {
738
- if (error) {
739
- reject(error);
740
- } else {
741
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
742
- body = ObjectSerializer.deserialize(body, "WTCountResult");
743
- resolve({ response: response, body: body });
744
- } else {
745
- reject(new HttpError(response, body, response.statusCode));
746
- }
747
- }
748
- });
749
- });
750
- });
751
- }
752
- /**
753
- *
754
- * @summary Count opt in sources
755
- * @param startDateTime
756
- * @param endDateTime
757
- */
758
- public async fetchDashboardOptInSourcesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
759
- const localVarPath = this.basePath + '/v2/dashboard/count/optInSources';
760
- let localVarQueryParameters: any = {};
761
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
762
- const produces = ['application/json'];
763
- // give precedence to 'application/json'
764
- if (produces.indexOf('application/json') >= 0) {
765
- localVarHeaderParams.Accept = 'application/json';
766
- } else {
767
- localVarHeaderParams.Accept = produces.join(',');
768
- }
769
- let localVarFormParams: any = {};
770
-
771
- // verify required parameter 'startDateTime' is not null or undefined
772
- if (startDateTime === null || startDateTime === undefined) {
773
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardOptInSourcesCount.');
774
- }
775
-
776
- // verify required parameter 'endDateTime' is not null or undefined
777
- if (endDateTime === null || endDateTime === undefined) {
778
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardOptInSourcesCount.');
779
- }
780
-
781
- if (startDateTime !== undefined) {
782
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
783
- }
784
-
785
- if (endDateTime !== undefined) {
786
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
787
- }
788
-
789
- (<any>Object).assign(localVarHeaderParams, options.headers);
790
-
791
- let localVarUseFormData = false;
792
-
793
- let localVarRequestOptions: localVarRequest.Options = {
794
- method: 'GET',
795
- qs: localVarQueryParameters,
796
- headers: localVarHeaderParams,
797
- uri: localVarPath,
798
- useQuerystring: this._useQuerystring,
799
- json: true,
800
- };
801
-
802
- let authenticationPromise = Promise.resolve();
803
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
804
-
805
- let interceptorPromise = authenticationPromise;
806
- for (const interceptor of this.interceptors) {
807
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
808
- }
809
-
810
- return interceptorPromise.then(() => {
811
- if (Object.keys(localVarFormParams).length) {
812
- if (localVarUseFormData) {
813
- (<any>localVarRequestOptions).formData = localVarFormParams;
814
- } else {
815
- localVarRequestOptions.form = localVarFormParams;
816
- }
817
- }
818
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
819
- localVarRequest(localVarRequestOptions, (error, response, body) => {
820
- if (error) {
821
- reject(error);
822
- } else {
823
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
824
- body = ObjectSerializer.deserialize(body, "WTCountResult");
825
- resolve({ response: response, body: body });
826
- } else {
827
- reject(new HttpError(response, body, response.statusCode));
828
- }
829
- }
830
- });
831
- });
832
- });
833
- }
834
- /**
835
- *
836
- * @summary Count Outbound SMS
837
- * @param startDateTime
838
- * @param endDateTime
839
- */
840
- public async fetchDashboardOutboundSMSCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
841
- const localVarPath = this.basePath + '/v2/dashboard/count/sms/outbound';
842
- let localVarQueryParameters: any = {};
843
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
844
- const produces = ['application/json'];
845
- // give precedence to 'application/json'
846
- if (produces.indexOf('application/json') >= 0) {
847
- localVarHeaderParams.Accept = 'application/json';
848
- } else {
849
- localVarHeaderParams.Accept = produces.join(',');
850
- }
851
- let localVarFormParams: any = {};
852
-
853
- // verify required parameter 'startDateTime' is not null or undefined
854
- if (startDateTime === null || startDateTime === undefined) {
855
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardOutboundSMSCount.');
856
- }
857
-
858
- // verify required parameter 'endDateTime' is not null or undefined
859
- if (endDateTime === null || endDateTime === undefined) {
860
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardOutboundSMSCount.');
861
- }
862
-
863
- if (startDateTime !== undefined) {
864
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
865
- }
866
-
867
- if (endDateTime !== undefined) {
868
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
869
- }
870
-
871
- (<any>Object).assign(localVarHeaderParams, options.headers);
872
-
873
- let localVarUseFormData = false;
874
-
875
- let localVarRequestOptions: localVarRequest.Options = {
876
- method: 'GET',
877
- qs: localVarQueryParameters,
878
- headers: localVarHeaderParams,
879
- uri: localVarPath,
880
- useQuerystring: this._useQuerystring,
881
- json: true,
882
- };
883
-
884
- let authenticationPromise = Promise.resolve();
885
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
886
-
887
- let interceptorPromise = authenticationPromise;
888
- for (const interceptor of this.interceptors) {
889
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
890
- }
891
-
892
- return interceptorPromise.then(() => {
893
- if (Object.keys(localVarFormParams).length) {
894
- if (localVarUseFormData) {
895
- (<any>localVarRequestOptions).formData = localVarFormParams;
896
- } else {
897
- localVarRequestOptions.form = localVarFormParams;
898
- }
899
- }
900
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
901
- localVarRequest(localVarRequestOptions, (error, response, body) => {
902
- if (error) {
903
- reject(error);
904
- } else {
905
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
906
- body = ObjectSerializer.deserialize(body, "WTCountResult");
907
- resolve({ response: response, body: body });
908
- } else {
909
- reject(new HttpError(response, body, response.statusCode));
910
- }
911
- }
912
- });
913
- });
914
- });
915
- }
916
- /**
917
- *
918
- * @summary Count POS Machines
919
- * @param startDateTime
920
- * @param endDateTime
921
- */
922
- public async fetchDashboardPOSMachinesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
923
- const localVarPath = this.basePath + '/v2/dashboard/count/pos/machines';
924
- let localVarQueryParameters: any = {};
925
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
926
- const produces = ['application/json'];
927
- // give precedence to 'application/json'
928
- if (produces.indexOf('application/json') >= 0) {
929
- localVarHeaderParams.Accept = 'application/json';
930
- } else {
931
- localVarHeaderParams.Accept = produces.join(',');
932
- }
933
- let localVarFormParams: any = {};
934
-
935
- // verify required parameter 'startDateTime' is not null or undefined
936
- if (startDateTime === null || startDateTime === undefined) {
937
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPOSMachinesCount.');
938
- }
939
-
940
- // verify required parameter 'endDateTime' is not null or undefined
941
- if (endDateTime === null || endDateTime === undefined) {
942
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPOSMachinesCount.');
943
- }
944
-
945
- if (startDateTime !== undefined) {
946
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
947
- }
948
-
949
- if (endDateTime !== undefined) {
950
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
951
- }
952
-
953
- (<any>Object).assign(localVarHeaderParams, options.headers);
954
-
955
- let localVarUseFormData = false;
956
-
957
- let localVarRequestOptions: localVarRequest.Options = {
958
- method: 'GET',
959
- qs: localVarQueryParameters,
960
- headers: localVarHeaderParams,
961
- uri: localVarPath,
962
- useQuerystring: this._useQuerystring,
963
- json: true,
964
- };
965
-
966
- let authenticationPromise = Promise.resolve();
967
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
968
-
969
- let interceptorPromise = authenticationPromise;
970
- for (const interceptor of this.interceptors) {
971
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
972
- }
973
-
974
- return interceptorPromise.then(() => {
975
- if (Object.keys(localVarFormParams).length) {
976
- if (localVarUseFormData) {
977
- (<any>localVarRequestOptions).formData = localVarFormParams;
978
- } else {
979
- localVarRequestOptions.form = localVarFormParams;
980
- }
981
- }
982
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
983
- localVarRequest(localVarRequestOptions, (error, response, body) => {
984
- if (error) {
985
- reject(error);
986
- } else {
987
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
988
- body = ObjectSerializer.deserialize(body, "WTCountResult");
989
- resolve({ response: response, body: body });
990
- } else {
991
- reject(new HttpError(response, body, response.statusCode));
992
- }
993
- }
994
- });
995
- });
996
- });
997
- }
998
- /**
999
- *
1000
- * @summary Count POS Transactions
1001
- * @param startDateTime
1002
- * @param endDateTime
1003
- */
1004
- public async fetchDashboardPOSTransactionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1005
- const localVarPath = this.basePath + '/v2/dashboard/count/pos/transactions';
1006
- let localVarQueryParameters: any = {};
1007
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1008
- const produces = ['application/json'];
1009
- // give precedence to 'application/json'
1010
- if (produces.indexOf('application/json') >= 0) {
1011
- localVarHeaderParams.Accept = 'application/json';
1012
- } else {
1013
- localVarHeaderParams.Accept = produces.join(',');
1014
- }
1015
- let localVarFormParams: any = {};
1016
-
1017
- // verify required parameter 'startDateTime' is not null or undefined
1018
- if (startDateTime === null || startDateTime === undefined) {
1019
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPOSTransactionsCount.');
1020
- }
1021
-
1022
- // verify required parameter 'endDateTime' is not null or undefined
1023
- if (endDateTime === null || endDateTime === undefined) {
1024
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPOSTransactionsCount.');
1025
- }
1026
-
1027
- if (startDateTime !== undefined) {
1028
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1029
- }
1030
-
1031
- if (endDateTime !== undefined) {
1032
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1033
- }
1034
-
1035
- (<any>Object).assign(localVarHeaderParams, options.headers);
1036
-
1037
- let localVarUseFormData = false;
1038
-
1039
- let localVarRequestOptions: localVarRequest.Options = {
1040
- method: 'GET',
1041
- qs: localVarQueryParameters,
1042
- headers: localVarHeaderParams,
1043
- uri: localVarPath,
1044
- useQuerystring: this._useQuerystring,
1045
- json: true,
1046
- };
1047
-
1048
- let authenticationPromise = Promise.resolve();
1049
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1050
-
1051
- let interceptorPromise = authenticationPromise;
1052
- for (const interceptor of this.interceptors) {
1053
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1054
- }
1055
-
1056
- return interceptorPromise.then(() => {
1057
- if (Object.keys(localVarFormParams).length) {
1058
- if (localVarUseFormData) {
1059
- (<any>localVarRequestOptions).formData = localVarFormParams;
1060
- } else {
1061
- localVarRequestOptions.form = localVarFormParams;
1062
- }
1063
- }
1064
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1065
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1066
- if (error) {
1067
- reject(error);
1068
- } else {
1069
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1070
- body = ObjectSerializer.deserialize(body, "WTCountResult");
1071
- resolve({ response: response, body: body });
1072
- } else {
1073
- reject(new HttpError(response, body, response.statusCode));
1074
- }
1075
- }
1076
- });
1077
- });
1078
- });
1079
- }
1080
- /**
1081
- *
1082
- * @summary Count Performances
1083
- * @param startDateTime
1084
- * @param endDateTime
1085
- */
1086
- public async fetchDashboardPerformancesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1087
- const localVarPath = this.basePath + '/v2/dashboard/count/performances';
1088
- let localVarQueryParameters: any = {};
1089
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1090
- const produces = ['application/json'];
1091
- // give precedence to 'application/json'
1092
- if (produces.indexOf('application/json') >= 0) {
1093
- localVarHeaderParams.Accept = 'application/json';
1094
- } else {
1095
- localVarHeaderParams.Accept = produces.join(',');
1096
- }
1097
- let localVarFormParams: any = {};
1098
-
1099
- // verify required parameter 'startDateTime' is not null or undefined
1100
- if (startDateTime === null || startDateTime === undefined) {
1101
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPerformancesCount.');
1102
- }
1103
-
1104
- // verify required parameter 'endDateTime' is not null or undefined
1105
- if (endDateTime === null || endDateTime === undefined) {
1106
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPerformancesCount.');
1107
- }
1108
-
1109
- if (startDateTime !== undefined) {
1110
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1111
- }
1112
-
1113
- if (endDateTime !== undefined) {
1114
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1115
- }
1116
-
1117
- (<any>Object).assign(localVarHeaderParams, options.headers);
1118
-
1119
- let localVarUseFormData = false;
1120
-
1121
- let localVarRequestOptions: localVarRequest.Options = {
1122
- method: 'GET',
1123
- qs: localVarQueryParameters,
1124
- headers: localVarHeaderParams,
1125
- uri: localVarPath,
1126
- useQuerystring: this._useQuerystring,
1127
- json: true,
1128
- };
1129
-
1130
- let authenticationPromise = Promise.resolve();
1131
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1132
-
1133
- let interceptorPromise = authenticationPromise;
1134
- for (const interceptor of this.interceptors) {
1135
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1136
- }
1137
-
1138
- return interceptorPromise.then(() => {
1139
- if (Object.keys(localVarFormParams).length) {
1140
- if (localVarUseFormData) {
1141
- (<any>localVarRequestOptions).formData = localVarFormParams;
1142
- } else {
1143
- localVarRequestOptions.form = localVarFormParams;
1144
- }
1145
- }
1146
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1147
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1148
- if (error) {
1149
- reject(error);
1150
- } else {
1151
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1152
- body = ObjectSerializer.deserialize(body, "WTCountResult");
1153
- resolve({ response: response, body: body });
1154
- } else {
1155
- reject(new HttpError(response, body, response.statusCode));
1156
- }
1157
- }
1158
- });
1159
- });
1160
- });
1161
- }
1162
- /**
1163
- *
1164
- * @summary Count phone numbers
1165
- * @param startDateTime
1166
- * @param endDateTime
1167
- */
1168
- public async fetchDashboardPhoneNumbersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1169
- const localVarPath = this.basePath + '/v2/dashboard/count/phoneNumbers';
1170
- let localVarQueryParameters: any = {};
1171
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1172
- const produces = ['application/json'];
1173
- // give precedence to 'application/json'
1174
- if (produces.indexOf('application/json') >= 0) {
1175
- localVarHeaderParams.Accept = 'application/json';
1176
- } else {
1177
- localVarHeaderParams.Accept = produces.join(',');
1178
- }
1179
- let localVarFormParams: any = {};
1180
-
1181
- // verify required parameter 'startDateTime' is not null or undefined
1182
- if (startDateTime === null || startDateTime === undefined) {
1183
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPhoneNumbersCount.');
1184
- }
1185
-
1186
- // verify required parameter 'endDateTime' is not null or undefined
1187
- if (endDateTime === null || endDateTime === undefined) {
1188
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPhoneNumbersCount.');
1189
- }
1190
-
1191
- if (startDateTime !== undefined) {
1192
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1193
- }
1194
-
1195
- if (endDateTime !== undefined) {
1196
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1197
- }
1198
-
1199
- (<any>Object).assign(localVarHeaderParams, options.headers);
1200
-
1201
- let localVarUseFormData = false;
1202
-
1203
- let localVarRequestOptions: localVarRequest.Options = {
1204
- method: 'GET',
1205
- qs: localVarQueryParameters,
1206
- headers: localVarHeaderParams,
1207
- uri: localVarPath,
1208
- useQuerystring: this._useQuerystring,
1209
- json: true,
1210
- };
1211
-
1212
- let authenticationPromise = Promise.resolve();
1213
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1214
-
1215
- let interceptorPromise = authenticationPromise;
1216
- for (const interceptor of this.interceptors) {
1217
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1218
- }
1219
-
1220
- return interceptorPromise.then(() => {
1221
- if (Object.keys(localVarFormParams).length) {
1222
- if (localVarUseFormData) {
1223
- (<any>localVarRequestOptions).formData = localVarFormParams;
1224
- } else {
1225
- localVarRequestOptions.form = localVarFormParams;
1226
- }
1227
- }
1228
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1229
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1230
- if (error) {
1231
- reject(error);
1232
- } else {
1233
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1234
- body = ObjectSerializer.deserialize(body, "WTCountResult");
1235
- resolve({ response: response, body: body });
1236
- } else {
1237
- reject(new HttpError(response, body, response.statusCode));
1238
- }
1239
- }
1240
- });
1241
- });
1242
- });
1243
- }
1244
- /**
1245
- *
1246
- * @summary Count POS redemptions
1247
- * @param startDateTime
1248
- * @param endDateTime
1249
- */
1250
- public async fetchDashboardRedemptionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1251
- const localVarPath = this.basePath + '/v2/dashboard/count/pos/redemptions';
1252
- let localVarQueryParameters: any = {};
1253
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1254
- const produces = ['application/json'];
1255
- // give precedence to 'application/json'
1256
- if (produces.indexOf('application/json') >= 0) {
1257
- localVarHeaderParams.Accept = 'application/json';
1258
- } else {
1259
- localVarHeaderParams.Accept = produces.join(',');
1260
- }
1261
- let localVarFormParams: any = {};
1262
-
1263
- // verify required parameter 'startDateTime' is not null or undefined
1264
- if (startDateTime === null || startDateTime === undefined) {
1265
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardRedemptionsCount.');
1266
- }
1267
-
1268
- // verify required parameter 'endDateTime' is not null or undefined
1269
- if (endDateTime === null || endDateTime === undefined) {
1270
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardRedemptionsCount.');
1271
- }
1272
-
1273
- if (startDateTime !== undefined) {
1274
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1275
- }
1276
-
1277
- if (endDateTime !== undefined) {
1278
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1279
- }
1280
-
1281
- (<any>Object).assign(localVarHeaderParams, options.headers);
1282
-
1283
- let localVarUseFormData = false;
1284
-
1285
- let localVarRequestOptions: localVarRequest.Options = {
1286
- method: 'GET',
1287
- qs: localVarQueryParameters,
1288
- headers: localVarHeaderParams,
1289
- uri: localVarPath,
1290
- useQuerystring: this._useQuerystring,
1291
- json: true,
1292
- };
1293
-
1294
- let authenticationPromise = Promise.resolve();
1295
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1296
-
1297
- let interceptorPromise = authenticationPromise;
1298
- for (const interceptor of this.interceptors) {
1299
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1300
- }
1301
-
1302
- return interceptorPromise.then(() => {
1303
- if (Object.keys(localVarFormParams).length) {
1304
- if (localVarUseFormData) {
1305
- (<any>localVarRequestOptions).formData = localVarFormParams;
1306
- } else {
1307
- localVarRequestOptions.form = localVarFormParams;
1308
- }
1309
- }
1310
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1311
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1312
- if (error) {
1313
- reject(error);
1314
- } else {
1315
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1316
- body = ObjectSerializer.deserialize(body, "WTCountResult");
1317
- resolve({ response: response, body: body });
1318
- } else {
1319
- reject(new HttpError(response, body, response.statusCode));
1320
- }
1321
- }
1322
- });
1323
- });
1324
- });
1325
- }
1326
- /**
1327
- *
1328
- * @summary Count POS refunds
1329
- * @param startDateTime
1330
- * @param endDateTime
1331
- */
1332
- public async fetchDashboardRefundsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1333
- const localVarPath = this.basePath + '/v2/dashboard/count/pos/refunds';
1334
- let localVarQueryParameters: any = {};
1335
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1336
- const produces = ['application/json'];
1337
- // give precedence to 'application/json'
1338
- if (produces.indexOf('application/json') >= 0) {
1339
- localVarHeaderParams.Accept = 'application/json';
1340
- } else {
1341
- localVarHeaderParams.Accept = produces.join(',');
1342
- }
1343
- let localVarFormParams: any = {};
1344
-
1345
- // verify required parameter 'startDateTime' is not null or undefined
1346
- if (startDateTime === null || startDateTime === undefined) {
1347
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardRefundsCount.');
1348
- }
1349
-
1350
- // verify required parameter 'endDateTime' is not null or undefined
1351
- if (endDateTime === null || endDateTime === undefined) {
1352
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardRefundsCount.');
1353
- }
1354
-
1355
- if (startDateTime !== undefined) {
1356
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1357
- }
1358
-
1359
- if (endDateTime !== undefined) {
1360
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1361
- }
1362
-
1363
- (<any>Object).assign(localVarHeaderParams, options.headers);
1364
-
1365
- let localVarUseFormData = false;
1366
-
1367
- let localVarRequestOptions: localVarRequest.Options = {
1368
- method: 'GET',
1369
- qs: localVarQueryParameters,
1370
- headers: localVarHeaderParams,
1371
- uri: localVarPath,
1372
- useQuerystring: this._useQuerystring,
1373
- json: true,
1374
- };
1375
-
1376
- let authenticationPromise = Promise.resolve();
1377
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1378
-
1379
- let interceptorPromise = authenticationPromise;
1380
- for (const interceptor of this.interceptors) {
1381
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1382
- }
1383
-
1384
- return interceptorPromise.then(() => {
1385
- if (Object.keys(localVarFormParams).length) {
1386
- if (localVarUseFormData) {
1387
- (<any>localVarRequestOptions).formData = localVarFormParams;
1388
- } else {
1389
- localVarRequestOptions.form = localVarFormParams;
1390
- }
1391
- }
1392
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1393
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1394
- if (error) {
1395
- reject(error);
1396
- } else {
1397
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1398
- body = ObjectSerializer.deserialize(body, "WTCountResult");
1399
- resolve({ response: response, body: body });
1400
- } else {
1401
- reject(new HttpError(response, body, response.statusCode));
1402
- }
1403
- }
1404
- });
1405
- });
1406
- });
1407
- }
1408
- /**
1409
- *
1410
- * @summary Count Wallet page views
1411
- * @param startDateTime
1412
- * @param endDateTime
1413
- * @param walletObjectPrefix
1414
- */
1415
- public async fetchDashboardWalletPageViewsCount (startDateTime: Date, endDateTime: Date, walletObjectPrefix?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1416
- const localVarPath = this.basePath + '/v2/dashboard/count/wallet/pageViews';
1417
- let localVarQueryParameters: any = {};
1418
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1419
- const produces = ['application/json'];
1420
- // give precedence to 'application/json'
1421
- if (produces.indexOf('application/json') >= 0) {
1422
- localVarHeaderParams.Accept = 'application/json';
1423
- } else {
1424
- localVarHeaderParams.Accept = produces.join(',');
1425
- }
1426
- let localVarFormParams: any = {};
1427
-
1428
- // verify required parameter 'startDateTime' is not null or undefined
1429
- if (startDateTime === null || startDateTime === undefined) {
1430
- throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardWalletPageViewsCount.');
1431
- }
1432
-
1433
- // verify required parameter 'endDateTime' is not null or undefined
1434
- if (endDateTime === null || endDateTime === undefined) {
1435
- throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardWalletPageViewsCount.');
1436
- }
1437
-
1438
- if (startDateTime !== undefined) {
1439
- localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1440
- }
1441
-
1442
- if (endDateTime !== undefined) {
1443
- localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1444
- }
1445
-
1446
- if (walletObjectPrefix !== undefined) {
1447
- localVarQueryParameters['walletObjectPrefix'] = ObjectSerializer.serialize(walletObjectPrefix, "string");
1448
- }
1449
-
1450
- (<any>Object).assign(localVarHeaderParams, options.headers);
1451
-
1452
- let localVarUseFormData = false;
1453
-
1454
- let localVarRequestOptions: localVarRequest.Options = {
1455
- method: 'GET',
1456
- qs: localVarQueryParameters,
1457
- headers: localVarHeaderParams,
1458
- uri: localVarPath,
1459
- useQuerystring: this._useQuerystring,
1460
- json: true,
1461
- };
1462
-
1463
- let authenticationPromise = Promise.resolve();
1464
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1465
-
1466
- let interceptorPromise = authenticationPromise;
1467
- for (const interceptor of this.interceptors) {
1468
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1469
- }
1470
-
1471
- return interceptorPromise.then(() => {
1472
- if (Object.keys(localVarFormParams).length) {
1473
- if (localVarUseFormData) {
1474
- (<any>localVarRequestOptions).formData = localVarFormParams;
1475
- } else {
1476
- localVarRequestOptions.form = localVarFormParams;
1477
- }
1478
- }
1479
- return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1480
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1481
- if (error) {
1482
- reject(error);
1483
- } else {
1484
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1485
- body = ObjectSerializer.deserialize(body, "WTCountResult");
1486
- resolve({ response: response, body: body });
1487
- } else {
1488
- reject(new HttpError(response, body, response.statusCode));
1489
- }
1490
- }
1491
- });
1492
- });
1493
- });
1494
- }
1495
- /**
1496
- *
1497
- * @summary Fetch widgets catalog
1498
- */
1499
- public async fetchDashboardWidgetsCatalog (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<DashboardWidget>; }> {
1500
- const localVarPath = this.basePath + '/v2/dashboard/widgets';
1501
- let localVarQueryParameters: any = {};
1502
- let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1503
- const produces = ['application/json'];
1504
- // give precedence to 'application/json'
1505
- if (produces.indexOf('application/json') >= 0) {
1506
- localVarHeaderParams.Accept = 'application/json';
1507
- } else {
1508
- localVarHeaderParams.Accept = produces.join(',');
1509
- }
1510
- let localVarFormParams: any = {};
1511
-
1512
- (<any>Object).assign(localVarHeaderParams, options.headers);
1513
-
1514
- let localVarUseFormData = false;
1515
-
1516
- let localVarRequestOptions: localVarRequest.Options = {
1517
- method: 'GET',
1518
- qs: localVarQueryParameters,
1519
- headers: localVarHeaderParams,
1520
- uri: localVarPath,
1521
- useQuerystring: this._useQuerystring,
1522
- json: true,
1523
- };
1524
-
1525
- let authenticationPromise = Promise.resolve();
1526
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1527
-
1528
- let interceptorPromise = authenticationPromise;
1529
- for (const interceptor of this.interceptors) {
1530
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1531
- }
1532
-
1533
- return interceptorPromise.then(() => {
1534
- if (Object.keys(localVarFormParams).length) {
1535
- if (localVarUseFormData) {
1536
- (<any>localVarRequestOptions).formData = localVarFormParams;
1537
- } else {
1538
- localVarRequestOptions.form = localVarFormParams;
1539
- }
1540
- }
1541
- return new Promise<{ response: http.IncomingMessage; body: Array<DashboardWidget>; }>((resolve, reject) => {
1542
- localVarRequest(localVarRequestOptions, (error, response, body) => {
1543
- if (error) {
1544
- reject(error);
1545
- } else {
1546
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1547
- body = ObjectSerializer.deserialize(body, "Array<DashboardWidget>");
1548
- resolve({ response: response, body: body });
1549
- } else {
1550
- reject(new HttpError(response, body, response.statusCode));
1551
- }
1552
- }
1553
- });
1554
- });
1555
- });
1556
- }
1557
- }
1
+ /**
2
+ * wallet-api
3
+ * API
4
+ *
5
+ * The version of the OpenAPI document: 2.1.602
6
+ * Contact: development@wallet.inc
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ import localVarRequest from 'request';
15
+ import http from 'http';
16
+
17
+ /* tslint:disable:no-unused-locals */
18
+ import { AuthError } from '../model/authError';
19
+ import { FalsumError } from '../model/falsumError';
20
+ import { InternalServerError500 } from '../model/internalServerError500';
21
+ import { WTCountResult } from '../model/wTCountResult';
22
+
23
+ import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
24
+ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
25
+
26
+ import { HttpError, RequestFile } from './apis';
27
+
28
+ let defaultBasePath = 'https://api.wall.et';
29
+
30
+ // ===============================================
31
+ // This file is autogenerated - Please do not edit
32
+ // ===============================================
33
+
34
+ export enum DashboardSummariesApiApiKeys {
35
+ api_key,
36
+ }
37
+
38
+ export class DashboardSummariesApi {
39
+ protected _basePath = defaultBasePath;
40
+ protected _defaultHeaders : any = {};
41
+ protected _useQuerystring : boolean = false;
42
+
43
+ protected authentications = {
44
+ 'default': <Authentication>new VoidAuth(),
45
+ 'api_key': new ApiKeyAuth('header', 'access-token'),
46
+ }
47
+
48
+ protected interceptors: Interceptor[] = [];
49
+
50
+ constructor(basePath?: string);
51
+ constructor(basePathOrUsername: string, password?: string, basePath?: string) {
52
+ if (password) {
53
+ if (basePath) {
54
+ this.basePath = basePath;
55
+ }
56
+ } else {
57
+ if (basePathOrUsername) {
58
+ this.basePath = basePathOrUsername
59
+ }
60
+ }
61
+ }
62
+
63
+ set useQuerystring(value: boolean) {
64
+ this._useQuerystring = value;
65
+ }
66
+
67
+ set basePath(basePath: string) {
68
+ this._basePath = basePath;
69
+ }
70
+
71
+ set defaultHeaders(defaultHeaders: any) {
72
+ this._defaultHeaders = defaultHeaders;
73
+ }
74
+
75
+ get defaultHeaders() {
76
+ return this._defaultHeaders;
77
+ }
78
+
79
+ get basePath() {
80
+ return this._basePath;
81
+ }
82
+
83
+ public setDefaultAuthentication(auth: Authentication) {
84
+ this.authentications.default = auth;
85
+ }
86
+
87
+ public setApiKey(key: DashboardSummariesApiApiKeys, value: string) {
88
+ (this.authentications as any)[DashboardSummariesApiApiKeys[key]].apiKey = value;
89
+ }
90
+
91
+ public addInterceptor(interceptor: Interceptor) {
92
+ this.interceptors.push(interceptor);
93
+ }
94
+
95
+ /**
96
+ *
97
+ * @summary Count new sessions
98
+ * @param startDate
99
+ * @param endDate
100
+ */
101
+ public async countTotalWalletSessions (startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
102
+ const localVarPath = this.basePath + '/v2/dashboard/count/visitors';
103
+ let localVarQueryParameters: any = {};
104
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
105
+ const produces = ['application/json'];
106
+ // give precedence to 'application/json'
107
+ if (produces.indexOf('application/json') >= 0) {
108
+ localVarHeaderParams.Accept = 'application/json';
109
+ } else {
110
+ localVarHeaderParams.Accept = produces.join(',');
111
+ }
112
+ let localVarFormParams: any = {};
113
+
114
+ if (startDate !== undefined) {
115
+ localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
116
+ }
117
+
118
+ if (endDate !== undefined) {
119
+ localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
120
+ }
121
+
122
+ (<any>Object).assign(localVarHeaderParams, options.headers);
123
+
124
+ let localVarUseFormData = false;
125
+
126
+ let localVarRequestOptions: localVarRequest.Options = {
127
+ method: 'GET',
128
+ qs: localVarQueryParameters,
129
+ headers: localVarHeaderParams,
130
+ uri: localVarPath,
131
+ useQuerystring: this._useQuerystring,
132
+ json: true,
133
+ };
134
+
135
+ let authenticationPromise = Promise.resolve();
136
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
137
+
138
+ let interceptorPromise = authenticationPromise;
139
+ for (const interceptor of this.interceptors) {
140
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
141
+ }
142
+
143
+ return interceptorPromise.then(() => {
144
+ if (Object.keys(localVarFormParams).length) {
145
+ if (localVarUseFormData) {
146
+ (<any>localVarRequestOptions).formData = localVarFormParams;
147
+ } else {
148
+ localVarRequestOptions.form = localVarFormParams;
149
+ }
150
+ }
151
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
152
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
153
+ if (error) {
154
+ reject(error);
155
+ } else {
156
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
157
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
158
+ resolve({ response: response, body: body });
159
+ } else {
160
+ reject(new HttpError(response, body, response.statusCode));
161
+ }
162
+ }
163
+ });
164
+ });
165
+ });
166
+ }
167
+ /**
168
+ *
169
+ * @summary Count active static vouchers
170
+ * @param startDateTime
171
+ * @param endDateTime
172
+ */
173
+ public async fetchDashboardActiveStaticVouchersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
174
+ const localVarPath = this.basePath + '/v2/dashboard/count/staticVouchers/active';
175
+ let localVarQueryParameters: any = {};
176
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
177
+ const produces = ['application/json'];
178
+ // give precedence to 'application/json'
179
+ if (produces.indexOf('application/json') >= 0) {
180
+ localVarHeaderParams.Accept = 'application/json';
181
+ } else {
182
+ localVarHeaderParams.Accept = produces.join(',');
183
+ }
184
+ let localVarFormParams: any = {};
185
+
186
+ // verify required parameter 'startDateTime' is not null or undefined
187
+ if (startDateTime === null || startDateTime === undefined) {
188
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardActiveStaticVouchersCount.');
189
+ }
190
+
191
+ // verify required parameter 'endDateTime' is not null or undefined
192
+ if (endDateTime === null || endDateTime === undefined) {
193
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardActiveStaticVouchersCount.');
194
+ }
195
+
196
+ if (startDateTime !== undefined) {
197
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
198
+ }
199
+
200
+ if (endDateTime !== undefined) {
201
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
202
+ }
203
+
204
+ (<any>Object).assign(localVarHeaderParams, options.headers);
205
+
206
+ let localVarUseFormData = false;
207
+
208
+ let localVarRequestOptions: localVarRequest.Options = {
209
+ method: 'GET',
210
+ qs: localVarQueryParameters,
211
+ headers: localVarHeaderParams,
212
+ uri: localVarPath,
213
+ useQuerystring: this._useQuerystring,
214
+ json: true,
215
+ };
216
+
217
+ let authenticationPromise = Promise.resolve();
218
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
219
+
220
+ let interceptorPromise = authenticationPromise;
221
+ for (const interceptor of this.interceptors) {
222
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
223
+ }
224
+
225
+ return interceptorPromise.then(() => {
226
+ if (Object.keys(localVarFormParams).length) {
227
+ if (localVarUseFormData) {
228
+ (<any>localVarRequestOptions).formData = localVarFormParams;
229
+ } else {
230
+ localVarRequestOptions.form = localVarFormParams;
231
+ }
232
+ }
233
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
234
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
235
+ if (error) {
236
+ reject(error);
237
+ } else {
238
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
239
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
240
+ resolve({ response: response, body: body });
241
+ } else {
242
+ reject(new HttpError(response, body, response.statusCode));
243
+ }
244
+ }
245
+ });
246
+ });
247
+ });
248
+ }
249
+ /**
250
+ *
251
+ * @summary Count Apple Wallet Subscribers
252
+ * @param startDateTime
253
+ * @param endDateTime
254
+ */
255
+ public async fetchDashboardAppleWalletSubscribersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
256
+ const localVarPath = this.basePath + '/v2/dashboard/count/appleWallet/subscribers';
257
+ let localVarQueryParameters: any = {};
258
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
259
+ const produces = ['application/json'];
260
+ // give precedence to 'application/json'
261
+ if (produces.indexOf('application/json') >= 0) {
262
+ localVarHeaderParams.Accept = 'application/json';
263
+ } else {
264
+ localVarHeaderParams.Accept = produces.join(',');
265
+ }
266
+ let localVarFormParams: any = {};
267
+
268
+ // verify required parameter 'startDateTime' is not null or undefined
269
+ if (startDateTime === null || startDateTime === undefined) {
270
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardAppleWalletSubscribersCount.');
271
+ }
272
+
273
+ // verify required parameter 'endDateTime' is not null or undefined
274
+ if (endDateTime === null || endDateTime === undefined) {
275
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardAppleWalletSubscribersCount.');
276
+ }
277
+
278
+ if (startDateTime !== undefined) {
279
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
280
+ }
281
+
282
+ if (endDateTime !== undefined) {
283
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
284
+ }
285
+
286
+ (<any>Object).assign(localVarHeaderParams, options.headers);
287
+
288
+ let localVarUseFormData = false;
289
+
290
+ let localVarRequestOptions: localVarRequest.Options = {
291
+ method: 'GET',
292
+ qs: localVarQueryParameters,
293
+ headers: localVarHeaderParams,
294
+ uri: localVarPath,
295
+ useQuerystring: this._useQuerystring,
296
+ json: true,
297
+ };
298
+
299
+ let authenticationPromise = Promise.resolve();
300
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
301
+
302
+ let interceptorPromise = authenticationPromise;
303
+ for (const interceptor of this.interceptors) {
304
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
305
+ }
306
+
307
+ return interceptorPromise.then(() => {
308
+ if (Object.keys(localVarFormParams).length) {
309
+ if (localVarUseFormData) {
310
+ (<any>localVarRequestOptions).formData = localVarFormParams;
311
+ } else {
312
+ localVarRequestOptions.form = localVarFormParams;
313
+ }
314
+ }
315
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
316
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
317
+ if (error) {
318
+ reject(error);
319
+ } else {
320
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
321
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
322
+ resolve({ response: response, body: body });
323
+ } else {
324
+ reject(new HttpError(response, body, response.statusCode));
325
+ }
326
+ }
327
+ });
328
+ });
329
+ });
330
+ }
331
+ /**
332
+ *
333
+ * @summary Count employees
334
+ * @param startDateTime
335
+ * @param endDateTime
336
+ */
337
+ public async fetchDashboardEmployeesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
338
+ const localVarPath = this.basePath + '/v2/dashboard/count/employees';
339
+ let localVarQueryParameters: any = {};
340
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
341
+ const produces = ['application/json'];
342
+ // give precedence to 'application/json'
343
+ if (produces.indexOf('application/json') >= 0) {
344
+ localVarHeaderParams.Accept = 'application/json';
345
+ } else {
346
+ localVarHeaderParams.Accept = produces.join(',');
347
+ }
348
+ let localVarFormParams: any = {};
349
+
350
+ // verify required parameter 'startDateTime' is not null or undefined
351
+ if (startDateTime === null || startDateTime === undefined) {
352
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardEmployeesCount.');
353
+ }
354
+
355
+ // verify required parameter 'endDateTime' is not null or undefined
356
+ if (endDateTime === null || endDateTime === undefined) {
357
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardEmployeesCount.');
358
+ }
359
+
360
+ if (startDateTime !== undefined) {
361
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
362
+ }
363
+
364
+ if (endDateTime !== undefined) {
365
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
366
+ }
367
+
368
+ (<any>Object).assign(localVarHeaderParams, options.headers);
369
+
370
+ let localVarUseFormData = false;
371
+
372
+ let localVarRequestOptions: localVarRequest.Options = {
373
+ method: 'GET',
374
+ qs: localVarQueryParameters,
375
+ headers: localVarHeaderParams,
376
+ uri: localVarPath,
377
+ useQuerystring: this._useQuerystring,
378
+ json: true,
379
+ };
380
+
381
+ let authenticationPromise = Promise.resolve();
382
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
383
+
384
+ let interceptorPromise = authenticationPromise;
385
+ for (const interceptor of this.interceptors) {
386
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
387
+ }
388
+
389
+ return interceptorPromise.then(() => {
390
+ if (Object.keys(localVarFormParams).length) {
391
+ if (localVarUseFormData) {
392
+ (<any>localVarRequestOptions).formData = localVarFormParams;
393
+ } else {
394
+ localVarRequestOptions.form = localVarFormParams;
395
+ }
396
+ }
397
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
398
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
399
+ if (error) {
400
+ reject(error);
401
+ } else {
402
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
403
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
404
+ resolve({ response: response, body: body });
405
+ } else {
406
+ reject(new HttpError(response, body, response.statusCode));
407
+ }
408
+ }
409
+ });
410
+ });
411
+ });
412
+ }
413
+ /**
414
+ *
415
+ * @summary Count members
416
+ * @param startDateTime
417
+ * @param endDateTime
418
+ */
419
+ public async fetchDashboardMembersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
420
+ const localVarPath = this.basePath + '/v2/dashboard/count/members';
421
+ let localVarQueryParameters: any = {};
422
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
423
+ const produces = ['application/json'];
424
+ // give precedence to 'application/json'
425
+ if (produces.indexOf('application/json') >= 0) {
426
+ localVarHeaderParams.Accept = 'application/json';
427
+ } else {
428
+ localVarHeaderParams.Accept = produces.join(',');
429
+ }
430
+ let localVarFormParams: any = {};
431
+
432
+ // verify required parameter 'startDateTime' is not null or undefined
433
+ if (startDateTime === null || startDateTime === undefined) {
434
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardMembersCount.');
435
+ }
436
+
437
+ // verify required parameter 'endDateTime' is not null or undefined
438
+ if (endDateTime === null || endDateTime === undefined) {
439
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardMembersCount.');
440
+ }
441
+
442
+ if (startDateTime !== undefined) {
443
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
444
+ }
445
+
446
+ if (endDateTime !== undefined) {
447
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
448
+ }
449
+
450
+ (<any>Object).assign(localVarHeaderParams, options.headers);
451
+
452
+ let localVarUseFormData = false;
453
+
454
+ let localVarRequestOptions: localVarRequest.Options = {
455
+ method: 'GET',
456
+ qs: localVarQueryParameters,
457
+ headers: localVarHeaderParams,
458
+ uri: localVarPath,
459
+ useQuerystring: this._useQuerystring,
460
+ json: true,
461
+ };
462
+
463
+ let authenticationPromise = Promise.resolve();
464
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
465
+
466
+ let interceptorPromise = authenticationPromise;
467
+ for (const interceptor of this.interceptors) {
468
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
469
+ }
470
+
471
+ return interceptorPromise.then(() => {
472
+ if (Object.keys(localVarFormParams).length) {
473
+ if (localVarUseFormData) {
474
+ (<any>localVarRequestOptions).formData = localVarFormParams;
475
+ } else {
476
+ localVarRequestOptions.form = localVarFormParams;
477
+ }
478
+ }
479
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
480
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
481
+ if (error) {
482
+ reject(error);
483
+ } else {
484
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
485
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
486
+ resolve({ response: response, body: body });
487
+ } else {
488
+ reject(new HttpError(response, body, response.statusCode));
489
+ }
490
+ }
491
+ });
492
+ });
493
+ });
494
+ }
495
+ /**
496
+ *
497
+ * @summary Count tiers
498
+ * @param startDateTime
499
+ * @param endDateTime
500
+ */
501
+ public async fetchDashboardMembershipTiersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
502
+ const localVarPath = this.basePath + '/v2/dashboard/count/membershipTiers';
503
+ let localVarQueryParameters: any = {};
504
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
505
+ const produces = ['application/json'];
506
+ // give precedence to 'application/json'
507
+ if (produces.indexOf('application/json') >= 0) {
508
+ localVarHeaderParams.Accept = 'application/json';
509
+ } else {
510
+ localVarHeaderParams.Accept = produces.join(',');
511
+ }
512
+ let localVarFormParams: any = {};
513
+
514
+ // verify required parameter 'startDateTime' is not null or undefined
515
+ if (startDateTime === null || startDateTime === undefined) {
516
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardMembershipTiersCount.');
517
+ }
518
+
519
+ // verify required parameter 'endDateTime' is not null or undefined
520
+ if (endDateTime === null || endDateTime === undefined) {
521
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardMembershipTiersCount.');
522
+ }
523
+
524
+ if (startDateTime !== undefined) {
525
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
526
+ }
527
+
528
+ if (endDateTime !== undefined) {
529
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
530
+ }
531
+
532
+ (<any>Object).assign(localVarHeaderParams, options.headers);
533
+
534
+ let localVarUseFormData = false;
535
+
536
+ let localVarRequestOptions: localVarRequest.Options = {
537
+ method: 'GET',
538
+ qs: localVarQueryParameters,
539
+ headers: localVarHeaderParams,
540
+ uri: localVarPath,
541
+ useQuerystring: this._useQuerystring,
542
+ json: true,
543
+ };
544
+
545
+ let authenticationPromise = Promise.resolve();
546
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
547
+
548
+ let interceptorPromise = authenticationPromise;
549
+ for (const interceptor of this.interceptors) {
550
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
551
+ }
552
+
553
+ return interceptorPromise.then(() => {
554
+ if (Object.keys(localVarFormParams).length) {
555
+ if (localVarUseFormData) {
556
+ (<any>localVarRequestOptions).formData = localVarFormParams;
557
+ } else {
558
+ localVarRequestOptions.form = localVarFormParams;
559
+ }
560
+ }
561
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
562
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
563
+ if (error) {
564
+ reject(error);
565
+ } else {
566
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
567
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
568
+ resolve({ response: response, body: body });
569
+ } else {
570
+ reject(new HttpError(response, body, response.statusCode));
571
+ }
572
+ }
573
+ });
574
+ });
575
+ });
576
+ }
577
+ /**
578
+ *
579
+ * @summary Count News Articles
580
+ * @param startDateTime
581
+ * @param endDateTime
582
+ */
583
+ public async fetchDashboardNewsArticlesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
584
+ const localVarPath = this.basePath + '/v2/dashboard/count/newsArticles';
585
+ let localVarQueryParameters: any = {};
586
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
587
+ const produces = ['application/json'];
588
+ // give precedence to 'application/json'
589
+ if (produces.indexOf('application/json') >= 0) {
590
+ localVarHeaderParams.Accept = 'application/json';
591
+ } else {
592
+ localVarHeaderParams.Accept = produces.join(',');
593
+ }
594
+ let localVarFormParams: any = {};
595
+
596
+ // verify required parameter 'startDateTime' is not null or undefined
597
+ if (startDateTime === null || startDateTime === undefined) {
598
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardNewsArticlesCount.');
599
+ }
600
+
601
+ // verify required parameter 'endDateTime' is not null or undefined
602
+ if (endDateTime === null || endDateTime === undefined) {
603
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardNewsArticlesCount.');
604
+ }
605
+
606
+ if (startDateTime !== undefined) {
607
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
608
+ }
609
+
610
+ if (endDateTime !== undefined) {
611
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
612
+ }
613
+
614
+ (<any>Object).assign(localVarHeaderParams, options.headers);
615
+
616
+ let localVarUseFormData = false;
617
+
618
+ let localVarRequestOptions: localVarRequest.Options = {
619
+ method: 'GET',
620
+ qs: localVarQueryParameters,
621
+ headers: localVarHeaderParams,
622
+ uri: localVarPath,
623
+ useQuerystring: this._useQuerystring,
624
+ json: true,
625
+ };
626
+
627
+ let authenticationPromise = Promise.resolve();
628
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
629
+
630
+ let interceptorPromise = authenticationPromise;
631
+ for (const interceptor of this.interceptors) {
632
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
633
+ }
634
+
635
+ return interceptorPromise.then(() => {
636
+ if (Object.keys(localVarFormParams).length) {
637
+ if (localVarUseFormData) {
638
+ (<any>localVarRequestOptions).formData = localVarFormParams;
639
+ } else {
640
+ localVarRequestOptions.form = localVarFormParams;
641
+ }
642
+ }
643
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
644
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
645
+ if (error) {
646
+ reject(error);
647
+ } else {
648
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
649
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
650
+ resolve({ response: response, body: body });
651
+ } else {
652
+ reject(new HttpError(response, body, response.statusCode));
653
+ }
654
+ }
655
+ });
656
+ });
657
+ });
658
+ }
659
+ /**
660
+ *
661
+ * @summary Count opt in lists
662
+ * @param startDateTime
663
+ * @param endDateTime
664
+ */
665
+ public async fetchDashboardOptInListsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
666
+ const localVarPath = this.basePath + '/v2/dashboard/count/optInLists';
667
+ let localVarQueryParameters: any = {};
668
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
669
+ const produces = ['application/json'];
670
+ // give precedence to 'application/json'
671
+ if (produces.indexOf('application/json') >= 0) {
672
+ localVarHeaderParams.Accept = 'application/json';
673
+ } else {
674
+ localVarHeaderParams.Accept = produces.join(',');
675
+ }
676
+ let localVarFormParams: any = {};
677
+
678
+ // verify required parameter 'startDateTime' is not null or undefined
679
+ if (startDateTime === null || startDateTime === undefined) {
680
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardOptInListsCount.');
681
+ }
682
+
683
+ // verify required parameter 'endDateTime' is not null or undefined
684
+ if (endDateTime === null || endDateTime === undefined) {
685
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardOptInListsCount.');
686
+ }
687
+
688
+ if (startDateTime !== undefined) {
689
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
690
+ }
691
+
692
+ if (endDateTime !== undefined) {
693
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
694
+ }
695
+
696
+ (<any>Object).assign(localVarHeaderParams, options.headers);
697
+
698
+ let localVarUseFormData = false;
699
+
700
+ let localVarRequestOptions: localVarRequest.Options = {
701
+ method: 'GET',
702
+ qs: localVarQueryParameters,
703
+ headers: localVarHeaderParams,
704
+ uri: localVarPath,
705
+ useQuerystring: this._useQuerystring,
706
+ json: true,
707
+ };
708
+
709
+ let authenticationPromise = Promise.resolve();
710
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
711
+
712
+ let interceptorPromise = authenticationPromise;
713
+ for (const interceptor of this.interceptors) {
714
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
715
+ }
716
+
717
+ return interceptorPromise.then(() => {
718
+ if (Object.keys(localVarFormParams).length) {
719
+ if (localVarUseFormData) {
720
+ (<any>localVarRequestOptions).formData = localVarFormParams;
721
+ } else {
722
+ localVarRequestOptions.form = localVarFormParams;
723
+ }
724
+ }
725
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
726
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
727
+ if (error) {
728
+ reject(error);
729
+ } else {
730
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
731
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
732
+ resolve({ response: response, body: body });
733
+ } else {
734
+ reject(new HttpError(response, body, response.statusCode));
735
+ }
736
+ }
737
+ });
738
+ });
739
+ });
740
+ }
741
+ /**
742
+ *
743
+ * @summary Count opt in sources
744
+ * @param startDateTime
745
+ * @param endDateTime
746
+ */
747
+ public async fetchDashboardOptInSourcesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
748
+ const localVarPath = this.basePath + '/v2/dashboard/count/optInSources';
749
+ let localVarQueryParameters: any = {};
750
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
751
+ const produces = ['application/json'];
752
+ // give precedence to 'application/json'
753
+ if (produces.indexOf('application/json') >= 0) {
754
+ localVarHeaderParams.Accept = 'application/json';
755
+ } else {
756
+ localVarHeaderParams.Accept = produces.join(',');
757
+ }
758
+ let localVarFormParams: any = {};
759
+
760
+ // verify required parameter 'startDateTime' is not null or undefined
761
+ if (startDateTime === null || startDateTime === undefined) {
762
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardOptInSourcesCount.');
763
+ }
764
+
765
+ // verify required parameter 'endDateTime' is not null or undefined
766
+ if (endDateTime === null || endDateTime === undefined) {
767
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardOptInSourcesCount.');
768
+ }
769
+
770
+ if (startDateTime !== undefined) {
771
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
772
+ }
773
+
774
+ if (endDateTime !== undefined) {
775
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
776
+ }
777
+
778
+ (<any>Object).assign(localVarHeaderParams, options.headers);
779
+
780
+ let localVarUseFormData = false;
781
+
782
+ let localVarRequestOptions: localVarRequest.Options = {
783
+ method: 'GET',
784
+ qs: localVarQueryParameters,
785
+ headers: localVarHeaderParams,
786
+ uri: localVarPath,
787
+ useQuerystring: this._useQuerystring,
788
+ json: true,
789
+ };
790
+
791
+ let authenticationPromise = Promise.resolve();
792
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
793
+
794
+ let interceptorPromise = authenticationPromise;
795
+ for (const interceptor of this.interceptors) {
796
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
797
+ }
798
+
799
+ return interceptorPromise.then(() => {
800
+ if (Object.keys(localVarFormParams).length) {
801
+ if (localVarUseFormData) {
802
+ (<any>localVarRequestOptions).formData = localVarFormParams;
803
+ } else {
804
+ localVarRequestOptions.form = localVarFormParams;
805
+ }
806
+ }
807
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
808
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
809
+ if (error) {
810
+ reject(error);
811
+ } else {
812
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
813
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
814
+ resolve({ response: response, body: body });
815
+ } else {
816
+ reject(new HttpError(response, body, response.statusCode));
817
+ }
818
+ }
819
+ });
820
+ });
821
+ });
822
+ }
823
+ /**
824
+ *
825
+ * @summary Count Outbound SMS
826
+ * @param startDateTime
827
+ * @param endDateTime
828
+ */
829
+ public async fetchDashboardOutboundSMSCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
830
+ const localVarPath = this.basePath + '/v2/dashboard/count/sms/outbound';
831
+ let localVarQueryParameters: any = {};
832
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
833
+ const produces = ['application/json'];
834
+ // give precedence to 'application/json'
835
+ if (produces.indexOf('application/json') >= 0) {
836
+ localVarHeaderParams.Accept = 'application/json';
837
+ } else {
838
+ localVarHeaderParams.Accept = produces.join(',');
839
+ }
840
+ let localVarFormParams: any = {};
841
+
842
+ // verify required parameter 'startDateTime' is not null or undefined
843
+ if (startDateTime === null || startDateTime === undefined) {
844
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardOutboundSMSCount.');
845
+ }
846
+
847
+ // verify required parameter 'endDateTime' is not null or undefined
848
+ if (endDateTime === null || endDateTime === undefined) {
849
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardOutboundSMSCount.');
850
+ }
851
+
852
+ if (startDateTime !== undefined) {
853
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
854
+ }
855
+
856
+ if (endDateTime !== undefined) {
857
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
858
+ }
859
+
860
+ (<any>Object).assign(localVarHeaderParams, options.headers);
861
+
862
+ let localVarUseFormData = false;
863
+
864
+ let localVarRequestOptions: localVarRequest.Options = {
865
+ method: 'GET',
866
+ qs: localVarQueryParameters,
867
+ headers: localVarHeaderParams,
868
+ uri: localVarPath,
869
+ useQuerystring: this._useQuerystring,
870
+ json: true,
871
+ };
872
+
873
+ let authenticationPromise = Promise.resolve();
874
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
875
+
876
+ let interceptorPromise = authenticationPromise;
877
+ for (const interceptor of this.interceptors) {
878
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
879
+ }
880
+
881
+ return interceptorPromise.then(() => {
882
+ if (Object.keys(localVarFormParams).length) {
883
+ if (localVarUseFormData) {
884
+ (<any>localVarRequestOptions).formData = localVarFormParams;
885
+ } else {
886
+ localVarRequestOptions.form = localVarFormParams;
887
+ }
888
+ }
889
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
890
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
891
+ if (error) {
892
+ reject(error);
893
+ } else {
894
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
895
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
896
+ resolve({ response: response, body: body });
897
+ } else {
898
+ reject(new HttpError(response, body, response.statusCode));
899
+ }
900
+ }
901
+ });
902
+ });
903
+ });
904
+ }
905
+ /**
906
+ *
907
+ * @summary Count POS Machines
908
+ * @param startDateTime
909
+ * @param endDateTime
910
+ */
911
+ public async fetchDashboardPOSMachinesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
912
+ const localVarPath = this.basePath + '/v2/dashboard/count/pos/machines';
913
+ let localVarQueryParameters: any = {};
914
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
915
+ const produces = ['application/json'];
916
+ // give precedence to 'application/json'
917
+ if (produces.indexOf('application/json') >= 0) {
918
+ localVarHeaderParams.Accept = 'application/json';
919
+ } else {
920
+ localVarHeaderParams.Accept = produces.join(',');
921
+ }
922
+ let localVarFormParams: any = {};
923
+
924
+ // verify required parameter 'startDateTime' is not null or undefined
925
+ if (startDateTime === null || startDateTime === undefined) {
926
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPOSMachinesCount.');
927
+ }
928
+
929
+ // verify required parameter 'endDateTime' is not null or undefined
930
+ if (endDateTime === null || endDateTime === undefined) {
931
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPOSMachinesCount.');
932
+ }
933
+
934
+ if (startDateTime !== undefined) {
935
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
936
+ }
937
+
938
+ if (endDateTime !== undefined) {
939
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
940
+ }
941
+
942
+ (<any>Object).assign(localVarHeaderParams, options.headers);
943
+
944
+ let localVarUseFormData = false;
945
+
946
+ let localVarRequestOptions: localVarRequest.Options = {
947
+ method: 'GET',
948
+ qs: localVarQueryParameters,
949
+ headers: localVarHeaderParams,
950
+ uri: localVarPath,
951
+ useQuerystring: this._useQuerystring,
952
+ json: true,
953
+ };
954
+
955
+ let authenticationPromise = Promise.resolve();
956
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
957
+
958
+ let interceptorPromise = authenticationPromise;
959
+ for (const interceptor of this.interceptors) {
960
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
961
+ }
962
+
963
+ return interceptorPromise.then(() => {
964
+ if (Object.keys(localVarFormParams).length) {
965
+ if (localVarUseFormData) {
966
+ (<any>localVarRequestOptions).formData = localVarFormParams;
967
+ } else {
968
+ localVarRequestOptions.form = localVarFormParams;
969
+ }
970
+ }
971
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
972
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
973
+ if (error) {
974
+ reject(error);
975
+ } else {
976
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
977
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
978
+ resolve({ response: response, body: body });
979
+ } else {
980
+ reject(new HttpError(response, body, response.statusCode));
981
+ }
982
+ }
983
+ });
984
+ });
985
+ });
986
+ }
987
+ /**
988
+ *
989
+ * @summary Count POS Transactions
990
+ * @param startDateTime
991
+ * @param endDateTime
992
+ */
993
+ public async fetchDashboardPOSTransactionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
994
+ const localVarPath = this.basePath + '/v2/dashboard/count/pos/transactions';
995
+ let localVarQueryParameters: any = {};
996
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
997
+ const produces = ['application/json'];
998
+ // give precedence to 'application/json'
999
+ if (produces.indexOf('application/json') >= 0) {
1000
+ localVarHeaderParams.Accept = 'application/json';
1001
+ } else {
1002
+ localVarHeaderParams.Accept = produces.join(',');
1003
+ }
1004
+ let localVarFormParams: any = {};
1005
+
1006
+ // verify required parameter 'startDateTime' is not null or undefined
1007
+ if (startDateTime === null || startDateTime === undefined) {
1008
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPOSTransactionsCount.');
1009
+ }
1010
+
1011
+ // verify required parameter 'endDateTime' is not null or undefined
1012
+ if (endDateTime === null || endDateTime === undefined) {
1013
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPOSTransactionsCount.');
1014
+ }
1015
+
1016
+ if (startDateTime !== undefined) {
1017
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1018
+ }
1019
+
1020
+ if (endDateTime !== undefined) {
1021
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1022
+ }
1023
+
1024
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1025
+
1026
+ let localVarUseFormData = false;
1027
+
1028
+ let localVarRequestOptions: localVarRequest.Options = {
1029
+ method: 'GET',
1030
+ qs: localVarQueryParameters,
1031
+ headers: localVarHeaderParams,
1032
+ uri: localVarPath,
1033
+ useQuerystring: this._useQuerystring,
1034
+ json: true,
1035
+ };
1036
+
1037
+ let authenticationPromise = Promise.resolve();
1038
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1039
+
1040
+ let interceptorPromise = authenticationPromise;
1041
+ for (const interceptor of this.interceptors) {
1042
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1043
+ }
1044
+
1045
+ return interceptorPromise.then(() => {
1046
+ if (Object.keys(localVarFormParams).length) {
1047
+ if (localVarUseFormData) {
1048
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1049
+ } else {
1050
+ localVarRequestOptions.form = localVarFormParams;
1051
+ }
1052
+ }
1053
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1054
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1055
+ if (error) {
1056
+ reject(error);
1057
+ } else {
1058
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1059
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1060
+ resolve({ response: response, body: body });
1061
+ } else {
1062
+ reject(new HttpError(response, body, response.statusCode));
1063
+ }
1064
+ }
1065
+ });
1066
+ });
1067
+ });
1068
+ }
1069
+ /**
1070
+ *
1071
+ * @summary Count Performances
1072
+ * @param startDateTime
1073
+ * @param endDateTime
1074
+ */
1075
+ public async fetchDashboardPerformancesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1076
+ const localVarPath = this.basePath + '/v2/dashboard/count/performances';
1077
+ let localVarQueryParameters: any = {};
1078
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1079
+ const produces = ['application/json'];
1080
+ // give precedence to 'application/json'
1081
+ if (produces.indexOf('application/json') >= 0) {
1082
+ localVarHeaderParams.Accept = 'application/json';
1083
+ } else {
1084
+ localVarHeaderParams.Accept = produces.join(',');
1085
+ }
1086
+ let localVarFormParams: any = {};
1087
+
1088
+ // verify required parameter 'startDateTime' is not null or undefined
1089
+ if (startDateTime === null || startDateTime === undefined) {
1090
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPerformancesCount.');
1091
+ }
1092
+
1093
+ // verify required parameter 'endDateTime' is not null or undefined
1094
+ if (endDateTime === null || endDateTime === undefined) {
1095
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPerformancesCount.');
1096
+ }
1097
+
1098
+ if (startDateTime !== undefined) {
1099
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1100
+ }
1101
+
1102
+ if (endDateTime !== undefined) {
1103
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1104
+ }
1105
+
1106
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1107
+
1108
+ let localVarUseFormData = false;
1109
+
1110
+ let localVarRequestOptions: localVarRequest.Options = {
1111
+ method: 'GET',
1112
+ qs: localVarQueryParameters,
1113
+ headers: localVarHeaderParams,
1114
+ uri: localVarPath,
1115
+ useQuerystring: this._useQuerystring,
1116
+ json: true,
1117
+ };
1118
+
1119
+ let authenticationPromise = Promise.resolve();
1120
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1121
+
1122
+ let interceptorPromise = authenticationPromise;
1123
+ for (const interceptor of this.interceptors) {
1124
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1125
+ }
1126
+
1127
+ return interceptorPromise.then(() => {
1128
+ if (Object.keys(localVarFormParams).length) {
1129
+ if (localVarUseFormData) {
1130
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1131
+ } else {
1132
+ localVarRequestOptions.form = localVarFormParams;
1133
+ }
1134
+ }
1135
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1136
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1137
+ if (error) {
1138
+ reject(error);
1139
+ } else {
1140
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1141
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1142
+ resolve({ response: response, body: body });
1143
+ } else {
1144
+ reject(new HttpError(response, body, response.statusCode));
1145
+ }
1146
+ }
1147
+ });
1148
+ });
1149
+ });
1150
+ }
1151
+ /**
1152
+ *
1153
+ * @summary Count phone numbers
1154
+ * @param startDateTime
1155
+ * @param endDateTime
1156
+ */
1157
+ public async fetchDashboardPhoneNumbersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1158
+ const localVarPath = this.basePath + '/v2/dashboard/count/phoneNumbers';
1159
+ let localVarQueryParameters: any = {};
1160
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1161
+ const produces = ['application/json'];
1162
+ // give precedence to 'application/json'
1163
+ if (produces.indexOf('application/json') >= 0) {
1164
+ localVarHeaderParams.Accept = 'application/json';
1165
+ } else {
1166
+ localVarHeaderParams.Accept = produces.join(',');
1167
+ }
1168
+ let localVarFormParams: any = {};
1169
+
1170
+ // verify required parameter 'startDateTime' is not null or undefined
1171
+ if (startDateTime === null || startDateTime === undefined) {
1172
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardPhoneNumbersCount.');
1173
+ }
1174
+
1175
+ // verify required parameter 'endDateTime' is not null or undefined
1176
+ if (endDateTime === null || endDateTime === undefined) {
1177
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardPhoneNumbersCount.');
1178
+ }
1179
+
1180
+ if (startDateTime !== undefined) {
1181
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1182
+ }
1183
+
1184
+ if (endDateTime !== undefined) {
1185
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1186
+ }
1187
+
1188
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1189
+
1190
+ let localVarUseFormData = false;
1191
+
1192
+ let localVarRequestOptions: localVarRequest.Options = {
1193
+ method: 'GET',
1194
+ qs: localVarQueryParameters,
1195
+ headers: localVarHeaderParams,
1196
+ uri: localVarPath,
1197
+ useQuerystring: this._useQuerystring,
1198
+ json: true,
1199
+ };
1200
+
1201
+ let authenticationPromise = Promise.resolve();
1202
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1203
+
1204
+ let interceptorPromise = authenticationPromise;
1205
+ for (const interceptor of this.interceptors) {
1206
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1207
+ }
1208
+
1209
+ return interceptorPromise.then(() => {
1210
+ if (Object.keys(localVarFormParams).length) {
1211
+ if (localVarUseFormData) {
1212
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1213
+ } else {
1214
+ localVarRequestOptions.form = localVarFormParams;
1215
+ }
1216
+ }
1217
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1218
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1219
+ if (error) {
1220
+ reject(error);
1221
+ } else {
1222
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1223
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1224
+ resolve({ response: response, body: body });
1225
+ } else {
1226
+ reject(new HttpError(response, body, response.statusCode));
1227
+ }
1228
+ }
1229
+ });
1230
+ });
1231
+ });
1232
+ }
1233
+ /**
1234
+ *
1235
+ * @summary Count POS redemptions
1236
+ * @param startDateTime
1237
+ * @param endDateTime
1238
+ */
1239
+ public async fetchDashboardRedemptionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1240
+ const localVarPath = this.basePath + '/v2/dashboard/count/pos/redemptions';
1241
+ let localVarQueryParameters: any = {};
1242
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1243
+ const produces = ['application/json'];
1244
+ // give precedence to 'application/json'
1245
+ if (produces.indexOf('application/json') >= 0) {
1246
+ localVarHeaderParams.Accept = 'application/json';
1247
+ } else {
1248
+ localVarHeaderParams.Accept = produces.join(',');
1249
+ }
1250
+ let localVarFormParams: any = {};
1251
+
1252
+ // verify required parameter 'startDateTime' is not null or undefined
1253
+ if (startDateTime === null || startDateTime === undefined) {
1254
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardRedemptionsCount.');
1255
+ }
1256
+
1257
+ // verify required parameter 'endDateTime' is not null or undefined
1258
+ if (endDateTime === null || endDateTime === undefined) {
1259
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardRedemptionsCount.');
1260
+ }
1261
+
1262
+ if (startDateTime !== undefined) {
1263
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1264
+ }
1265
+
1266
+ if (endDateTime !== undefined) {
1267
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1268
+ }
1269
+
1270
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1271
+
1272
+ let localVarUseFormData = false;
1273
+
1274
+ let localVarRequestOptions: localVarRequest.Options = {
1275
+ method: 'GET',
1276
+ qs: localVarQueryParameters,
1277
+ headers: localVarHeaderParams,
1278
+ uri: localVarPath,
1279
+ useQuerystring: this._useQuerystring,
1280
+ json: true,
1281
+ };
1282
+
1283
+ let authenticationPromise = Promise.resolve();
1284
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1285
+
1286
+ let interceptorPromise = authenticationPromise;
1287
+ for (const interceptor of this.interceptors) {
1288
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1289
+ }
1290
+
1291
+ return interceptorPromise.then(() => {
1292
+ if (Object.keys(localVarFormParams).length) {
1293
+ if (localVarUseFormData) {
1294
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1295
+ } else {
1296
+ localVarRequestOptions.form = localVarFormParams;
1297
+ }
1298
+ }
1299
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1300
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1301
+ if (error) {
1302
+ reject(error);
1303
+ } else {
1304
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1305
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1306
+ resolve({ response: response, body: body });
1307
+ } else {
1308
+ reject(new HttpError(response, body, response.statusCode));
1309
+ }
1310
+ }
1311
+ });
1312
+ });
1313
+ });
1314
+ }
1315
+ /**
1316
+ *
1317
+ * @summary Count POS refunds
1318
+ * @param startDateTime
1319
+ * @param endDateTime
1320
+ */
1321
+ public async fetchDashboardRefundsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1322
+ const localVarPath = this.basePath + '/v2/dashboard/count/pos/refunds';
1323
+ let localVarQueryParameters: any = {};
1324
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1325
+ const produces = ['application/json'];
1326
+ // give precedence to 'application/json'
1327
+ if (produces.indexOf('application/json') >= 0) {
1328
+ localVarHeaderParams.Accept = 'application/json';
1329
+ } else {
1330
+ localVarHeaderParams.Accept = produces.join(',');
1331
+ }
1332
+ let localVarFormParams: any = {};
1333
+
1334
+ // verify required parameter 'startDateTime' is not null or undefined
1335
+ if (startDateTime === null || startDateTime === undefined) {
1336
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardRefundsCount.');
1337
+ }
1338
+
1339
+ // verify required parameter 'endDateTime' is not null or undefined
1340
+ if (endDateTime === null || endDateTime === undefined) {
1341
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardRefundsCount.');
1342
+ }
1343
+
1344
+ if (startDateTime !== undefined) {
1345
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1346
+ }
1347
+
1348
+ if (endDateTime !== undefined) {
1349
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1350
+ }
1351
+
1352
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1353
+
1354
+ let localVarUseFormData = false;
1355
+
1356
+ let localVarRequestOptions: localVarRequest.Options = {
1357
+ method: 'GET',
1358
+ qs: localVarQueryParameters,
1359
+ headers: localVarHeaderParams,
1360
+ uri: localVarPath,
1361
+ useQuerystring: this._useQuerystring,
1362
+ json: true,
1363
+ };
1364
+
1365
+ let authenticationPromise = Promise.resolve();
1366
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1367
+
1368
+ let interceptorPromise = authenticationPromise;
1369
+ for (const interceptor of this.interceptors) {
1370
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1371
+ }
1372
+
1373
+ return interceptorPromise.then(() => {
1374
+ if (Object.keys(localVarFormParams).length) {
1375
+ if (localVarUseFormData) {
1376
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1377
+ } else {
1378
+ localVarRequestOptions.form = localVarFormParams;
1379
+ }
1380
+ }
1381
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1382
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1383
+ if (error) {
1384
+ reject(error);
1385
+ } else {
1386
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1387
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1388
+ resolve({ response: response, body: body });
1389
+ } else {
1390
+ reject(new HttpError(response, body, response.statusCode));
1391
+ }
1392
+ }
1393
+ });
1394
+ });
1395
+ });
1396
+ }
1397
+ /**
1398
+ *
1399
+ * @summary Count Wallet page views
1400
+ * @param startDateTime
1401
+ * @param endDateTime
1402
+ * @param walletObjectPrefix
1403
+ */
1404
+ public async fetchDashboardWalletPageViewsCount (startDateTime: Date, endDateTime: Date, walletObjectPrefix?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1405
+ const localVarPath = this.basePath + '/v2/dashboard/count/wallet/pageViews';
1406
+ let localVarQueryParameters: any = {};
1407
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1408
+ const produces = ['application/json'];
1409
+ // give precedence to 'application/json'
1410
+ if (produces.indexOf('application/json') >= 0) {
1411
+ localVarHeaderParams.Accept = 'application/json';
1412
+ } else {
1413
+ localVarHeaderParams.Accept = produces.join(',');
1414
+ }
1415
+ let localVarFormParams: any = {};
1416
+
1417
+ // verify required parameter 'startDateTime' is not null or undefined
1418
+ if (startDateTime === null || startDateTime === undefined) {
1419
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchDashboardWalletPageViewsCount.');
1420
+ }
1421
+
1422
+ // verify required parameter 'endDateTime' is not null or undefined
1423
+ if (endDateTime === null || endDateTime === undefined) {
1424
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchDashboardWalletPageViewsCount.');
1425
+ }
1426
+
1427
+ if (startDateTime !== undefined) {
1428
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1429
+ }
1430
+
1431
+ if (endDateTime !== undefined) {
1432
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1433
+ }
1434
+
1435
+ if (walletObjectPrefix !== undefined) {
1436
+ localVarQueryParameters['walletObjectPrefix'] = ObjectSerializer.serialize(walletObjectPrefix, "string");
1437
+ }
1438
+
1439
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1440
+
1441
+ let localVarUseFormData = false;
1442
+
1443
+ let localVarRequestOptions: localVarRequest.Options = {
1444
+ method: 'GET',
1445
+ qs: localVarQueryParameters,
1446
+ headers: localVarHeaderParams,
1447
+ uri: localVarPath,
1448
+ useQuerystring: this._useQuerystring,
1449
+ json: true,
1450
+ };
1451
+
1452
+ let authenticationPromise = Promise.resolve();
1453
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1454
+
1455
+ let interceptorPromise = authenticationPromise;
1456
+ for (const interceptor of this.interceptors) {
1457
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1458
+ }
1459
+
1460
+ return interceptorPromise.then(() => {
1461
+ if (Object.keys(localVarFormParams).length) {
1462
+ if (localVarUseFormData) {
1463
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1464
+ } else {
1465
+ localVarRequestOptions.form = localVarFormParams;
1466
+ }
1467
+ }
1468
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1469
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1470
+ if (error) {
1471
+ reject(error);
1472
+ } else {
1473
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1474
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1475
+ resolve({ response: response, body: body });
1476
+ } else {
1477
+ reject(new HttpError(response, body, response.statusCode));
1478
+ }
1479
+ }
1480
+ });
1481
+ });
1482
+ });
1483
+ }
1484
+ /**
1485
+ *
1486
+ * @summary Count Performances
1487
+ * @param startDateTime
1488
+ * @param endDateTime
1489
+ */
1490
+ public async fetchSubscriberCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1491
+ const localVarPath = this.basePath + '/v2/dashboard/count/subscribers';
1492
+ let localVarQueryParameters: any = {};
1493
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
1494
+ const produces = ['application/json'];
1495
+ // give precedence to 'application/json'
1496
+ if (produces.indexOf('application/json') >= 0) {
1497
+ localVarHeaderParams.Accept = 'application/json';
1498
+ } else {
1499
+ localVarHeaderParams.Accept = produces.join(',');
1500
+ }
1501
+ let localVarFormParams: any = {};
1502
+
1503
+ // verify required parameter 'startDateTime' is not null or undefined
1504
+ if (startDateTime === null || startDateTime === undefined) {
1505
+ throw new Error('Required parameter startDateTime was null or undefined when calling fetchSubscriberCount.');
1506
+ }
1507
+
1508
+ // verify required parameter 'endDateTime' is not null or undefined
1509
+ if (endDateTime === null || endDateTime === undefined) {
1510
+ throw new Error('Required parameter endDateTime was null or undefined when calling fetchSubscriberCount.');
1511
+ }
1512
+
1513
+ if (startDateTime !== undefined) {
1514
+ localVarQueryParameters['startDateTime'] = ObjectSerializer.serialize(startDateTime, "Date");
1515
+ }
1516
+
1517
+ if (endDateTime !== undefined) {
1518
+ localVarQueryParameters['endDateTime'] = ObjectSerializer.serialize(endDateTime, "Date");
1519
+ }
1520
+
1521
+ (<any>Object).assign(localVarHeaderParams, options.headers);
1522
+
1523
+ let localVarUseFormData = false;
1524
+
1525
+ let localVarRequestOptions: localVarRequest.Options = {
1526
+ method: 'GET',
1527
+ qs: localVarQueryParameters,
1528
+ headers: localVarHeaderParams,
1529
+ uri: localVarPath,
1530
+ useQuerystring: this._useQuerystring,
1531
+ json: true,
1532
+ };
1533
+
1534
+ let authenticationPromise = Promise.resolve();
1535
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1536
+
1537
+ let interceptorPromise = authenticationPromise;
1538
+ for (const interceptor of this.interceptors) {
1539
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1540
+ }
1541
+
1542
+ return interceptorPromise.then(() => {
1543
+ if (Object.keys(localVarFormParams).length) {
1544
+ if (localVarUseFormData) {
1545
+ (<any>localVarRequestOptions).formData = localVarFormParams;
1546
+ } else {
1547
+ localVarRequestOptions.form = localVarFormParams;
1548
+ }
1549
+ }
1550
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1551
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1552
+ if (error) {
1553
+ reject(error);
1554
+ } else {
1555
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1556
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1557
+ resolve({ response: response, body: body });
1558
+ } else {
1559
+ reject(new HttpError(response, body, response.statusCode));
1560
+ }
1561
+ }
1562
+ });
1563
+ });
1564
+ });
1565
+ }
1566
+ }