wallet 2.1.508 → 2.1.511

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 (525) hide show
  1. package/.openapi-generator/FILES +17 -5
  2. package/api/advertisementCreditsApi.ts +1 -1
  3. package/api/analyticsApi.ts +84 -1
  4. package/api/apis.ts +3 -1
  5. package/api/appleWalletSubscribersApi.ts +1 -1
  6. package/api/billingApi.ts +8 -8
  7. package/api/clubMembersPointsApi.ts +5 -5
  8. package/api/configurationApi.ts +5 -4
  9. package/api/countriesApi.ts +5 -5
  10. package/api/customerApi.ts +1 -1
  11. package/api/dashboardApi.ts +53 -54
  12. package/api/dynamicVouchersApi.ts +1 -1
  13. package/api/employeeAPIKeysApi.ts +1 -1
  14. package/api/employeeAccessApi.ts +1 -1
  15. package/api/employeesApi.ts +81 -6
  16. package/api/imageGridApi.ts +447 -0
  17. package/api/industriesApi.ts +5 -5
  18. package/api/infoGenesisReportsApi.ts +38 -38
  19. package/api/integratedTerminalsApi.ts +1 -1
  20. package/api/interactionsApi.ts +5 -5
  21. package/api/linkBookApi.ts +1 -1
  22. package/api/linkBookSectionApi.ts +1 -1
  23. package/api/loginAndLogoutApi.ts +15 -14
  24. package/api/membershipTiersApi.ts +1 -1
  25. package/api/merchantApi.ts +33 -26
  26. package/api/merchantCreditsApi.ts +5 -5
  27. package/api/merchantURLsApi.ts +1 -1
  28. package/api/mobileTerminalApi.ts +1 -1
  29. package/api/newsApi.ts +1 -1
  30. package/api/paymentDesignsApi.ts +1 -1
  31. package/api/performancesApi.ts +1 -1
  32. package/api/promoCodesApi.ts +1 -1
  33. package/api/sMSApi.ts +43 -42
  34. package/api/settingsApi.ts +5 -5
  35. package/api/staticVoucherCampaignGroupsApi.ts +1 -1
  36. package/api/staticVoucherCampaignsApi.ts +12 -12
  37. package/api/staticVouchersApi.ts +1 -1
  38. package/api/systemApi.ts +1 -1
  39. package/api/transactionLedgerApi.ts +5 -5
  40. package/api/utilitiesApi.ts +5 -5
  41. package/api/webTerminalApi.ts +1 -1
  42. package/dist/api/analyticsApi.d.ts +9 -0
  43. package/dist/api/analyticsApi.js +69 -0
  44. package/dist/api/analyticsApi.js.map +1 -1
  45. package/dist/api/apis.d.ts +3 -1
  46. package/dist/api/apis.js +3 -1
  47. package/dist/api/apis.js.map +1 -1
  48. package/dist/api/billingApi.d.ts +3 -3
  49. package/dist/api/billingApi.js +2 -2
  50. package/dist/api/billingApi.js.map +1 -1
  51. package/dist/api/clubMembersPointsApi.d.ts +2 -2
  52. package/dist/api/clubMembersPointsApi.js +1 -1
  53. package/dist/api/configurationApi.d.ts +2 -1
  54. package/dist/api/configurationApi.js +1 -1
  55. package/dist/api/configurationApi.js.map +1 -1
  56. package/dist/api/countriesApi.d.ts +2 -2
  57. package/dist/api/countriesApi.js +1 -1
  58. package/dist/api/dashboardApi.d.ts +18 -19
  59. package/dist/api/dashboardApi.js +17 -17
  60. package/dist/api/dashboardApi.js.map +1 -1
  61. package/dist/api/employeesApi.d.ts +12 -3
  62. package/dist/api/employeesApi.js +66 -2
  63. package/dist/api/employeesApi.js.map +1 -1
  64. package/dist/api/imageGridApi.d.ts +69 -0
  65. package/dist/api/imageGridApi.js +380 -0
  66. package/dist/api/imageGridApi.js.map +1 -0
  67. package/dist/api/industriesApi.d.ts +2 -2
  68. package/dist/api/industriesApi.js +1 -1
  69. package/dist/api/industriesApi.js.map +1 -1
  70. package/dist/api/infoGenesisReportsApi.d.ts +13 -13
  71. package/dist/api/infoGenesisReportsApi.js +12 -12
  72. package/dist/api/infoGenesisReportsApi.js.map +1 -1
  73. package/dist/api/interactionsApi.d.ts +2 -2
  74. package/dist/api/interactionsApi.js +1 -1
  75. package/dist/api/interactionsApi.js.map +1 -1
  76. package/dist/api/loginAndLogoutApi.d.ts +6 -5
  77. package/dist/api/loginAndLogoutApi.js +6 -6
  78. package/dist/api/loginAndLogoutApi.js.map +1 -1
  79. package/dist/api/merchantApi.d.ts +16 -9
  80. package/dist/api/merchantApi.js +8 -8
  81. package/dist/api/merchantApi.js.map +1 -1
  82. package/dist/api/merchantCreditsApi.d.ts +2 -2
  83. package/dist/api/merchantCreditsApi.js +1 -1
  84. package/dist/api/sMSApi.d.ts +18 -17
  85. package/dist/api/sMSApi.js +12 -12
  86. package/dist/api/sMSApi.js.map +1 -1
  87. package/dist/api/settingsApi.d.ts +2 -2
  88. package/dist/api/settingsApi.js +1 -1
  89. package/dist/api/settingsApi.js.map +1 -1
  90. package/dist/api/staticVoucherCampaignsApi.d.ts +5 -5
  91. package/dist/api/staticVoucherCampaignsApi.js +3 -3
  92. package/dist/api/transactionLedgerApi.d.ts +2 -2
  93. package/dist/api/transactionLedgerApi.js +1 -1
  94. package/dist/api/utilitiesApi.d.ts +2 -2
  95. package/dist/api/utilitiesApi.js +1 -1
  96. package/dist/api/utilitiesApi.js.map +1 -1
  97. package/dist/model/advertisementCredit.d.ts +1 -1
  98. package/dist/model/advertisementCreditBroadcast.d.ts +1 -1
  99. package/dist/model/advertisementCreditScan.d.ts +1 -1
  100. package/dist/model/agreement.d.ts +1 -1
  101. package/dist/model/clickFunnelContact.d.ts +3 -3
  102. package/dist/model/clickFunnelContactProfile.d.ts +5 -5
  103. package/dist/model/clickFunnelRegistration.d.ts +16 -0
  104. package/dist/model/clickFunnelRegistration.js +23 -0
  105. package/dist/model/clickFunnelRegistration.js.map +1 -0
  106. package/dist/model/dynamicVoucher.d.ts +1 -1
  107. package/dist/model/dynamicVoucherBroadcast.d.ts +1 -1
  108. package/dist/model/employeeAPIKey.d.ts +1 -1
  109. package/dist/model/helpDeskRequest.d.ts +1 -1
  110. package/dist/model/imageGrid.d.ts +22 -0
  111. package/dist/model/imageGrid.js +58 -0
  112. package/dist/model/imageGrid.js.map +1 -0
  113. package/dist/model/importedList.d.ts +1 -1
  114. package/dist/model/importedListRecipient.d.ts +1 -1
  115. package/dist/model/inboundSMS.d.ts +1 -1
  116. package/dist/model/inlineResponse200.d.ts +6 -2
  117. package/dist/model/inlineResponse200.js +21 -6
  118. package/dist/model/inlineResponse200.js.map +1 -1
  119. package/dist/model/inlineResponse2001.d.ts +3 -6
  120. package/dist/model/inlineResponse2001.js +7 -17
  121. package/dist/model/inlineResponse2001.js.map +1 -1
  122. package/dist/model/inlineResponse20010.d.ts +3 -4
  123. package/dist/model/inlineResponse20010.js +9 -9
  124. package/dist/model/inlineResponse20010.js.map +1 -1
  125. package/dist/model/inlineResponse20011.d.ts +14 -2
  126. package/dist/model/inlineResponse20011.js +66 -6
  127. package/dist/model/inlineResponse20011.js.map +1 -1
  128. package/dist/model/inlineResponse20012.d.ts +3 -13
  129. package/dist/model/inlineResponse20012.js +6 -51
  130. package/dist/model/inlineResponse20012.js.map +1 -1
  131. package/dist/model/inlineResponse2002.d.ts +1 -1
  132. package/dist/model/inlineResponse2002.js +1 -1
  133. package/dist/model/inlineResponse2002.js.map +1 -1
  134. package/dist/model/inlineResponse2003.d.ts +4 -1
  135. package/dist/model/inlineResponse2003.js +12 -2
  136. package/dist/model/inlineResponse2003.js.map +1 -1
  137. package/dist/model/inlineResponse2004.d.ts +3 -3
  138. package/dist/model/inlineResponse2004.js +6 -11
  139. package/dist/model/inlineResponse2004.js.map +1 -1
  140. package/dist/model/inlineResponse2005.d.ts +4 -3
  141. package/dist/model/inlineResponse2005.js +10 -5
  142. package/dist/model/inlineResponse2005.js.map +1 -1
  143. package/dist/model/inlineResponse2006.d.ts +4 -12
  144. package/dist/model/inlineResponse2006.js +9 -54
  145. package/dist/model/inlineResponse2006.js.map +1 -1
  146. package/dist/model/inlineResponse2007.d.ts +4 -4
  147. package/dist/model/inlineResponse2007.js +8 -8
  148. package/dist/model/inlineResponse2007.js.map +1 -1
  149. package/dist/model/inlineResponse2008.d.ts +4 -1
  150. package/dist/model/inlineResponse2008.js +12 -2
  151. package/dist/model/inlineResponse2008.js.map +1 -1
  152. package/dist/model/inlineResponse2009.d.ts +13 -4
  153. package/dist/model/inlineResponse2009.js +52 -7
  154. package/dist/model/inlineResponse2009.js.map +1 -1
  155. package/dist/model/ledgerEntry.d.ts +1 -1
  156. package/dist/model/memberSearch.d.ts +4 -1
  157. package/dist/model/memberSearch.js +17 -2
  158. package/dist/model/memberSearch.js.map +1 -1
  159. package/dist/model/merchant.d.ts +1 -0
  160. package/dist/model/merchant.js +5 -0
  161. package/dist/model/merchant.js.map +1 -1
  162. package/dist/model/models.d.ts +16 -5
  163. package/dist/model/models.js +49 -15
  164. package/dist/model/models.js.map +1 -1
  165. package/dist/model/optInList.d.ts +1 -1
  166. package/dist/model/optInListSource.d.ts +1 -1
  167. package/dist/model/optInListSubscriber.d.ts +1 -1
  168. package/dist/model/outboundSMS.d.ts +2 -2
  169. package/dist/model/outboundSMS.js +5 -5
  170. package/dist/model/outboundSMS.js.map +1 -1
  171. package/dist/model/paymentDesign.d.ts +1 -1
  172. package/dist/model/paymentPrefixes.d.ts +25 -0
  173. package/dist/model/paymentPrefixes.js +73 -0
  174. package/dist/model/paymentPrefixes.js.map +1 -0
  175. package/dist/model/phoneNumber.d.ts +1 -1
  176. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.d.ts +17 -0
  177. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js +33 -0
  178. package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js.map +1 -0
  179. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +1 -1
  180. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +5 -5
  181. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -1
  182. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +1 -1
  183. package/dist/model/portalPage.d.ts +2 -0
  184. package/dist/model/portalPage.js +2 -0
  185. package/dist/model/portalPage.js.map +1 -1
  186. package/dist/model/simpleSMSBroadcast.d.ts +1 -1
  187. package/dist/model/staticVoucher.d.ts +1 -1
  188. package/dist/model/staticVoucherCampaign.d.ts +1 -1
  189. package/dist/model/staticVoucherCampaignBroadcast.d.ts +1 -1
  190. package/dist/model/staticVoucherCampaignGroup.d.ts +1 -1
  191. package/dist/model/tcpa.d.ts +1 -1
  192. package/dist/model/wTAdvertisementCredit.d.ts +1 -1
  193. package/dist/model/wTAdvertisementCreditScan.d.ts +1 -1
  194. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.d.ts +19 -0
  195. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js +24 -0
  196. package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js.map +1 -0
  197. package/dist/model/wTAuthenticationLoginRequest.d.ts +15 -0
  198. package/dist/model/wTAuthenticationLoginRequest.js +23 -0
  199. package/dist/model/wTAuthenticationLoginRequest.js.map +1 -0
  200. package/dist/model/wTAuthenticationLoginResponse.d.ts +28 -0
  201. package/dist/model/wTAuthenticationLoginResponse.js +88 -0
  202. package/dist/model/wTAuthenticationLoginResponse.js.map +1 -0
  203. package/dist/model/wTBillingVerifyPaymentMethodResponse.d.ts +16 -0
  204. package/dist/model/wTBillingVerifyPaymentMethodResponse.js +23 -0
  205. package/dist/model/wTBillingVerifyPaymentMethodResponse.js.map +1 -0
  206. package/dist/model/wTCountResult.d.ts +14 -0
  207. package/dist/model/wTCountResult.js +18 -0
  208. package/dist/model/wTCountResult.js.map +1 -0
  209. package/dist/model/wTDynamicVoucher.d.ts +1 -1
  210. package/dist/model/wTDynamicVoucherRedemption.d.ts +1 -1
  211. package/dist/model/wTEmployeeAPIKey.d.ts +1 -1
  212. package/dist/model/wTEmployeeCreateMediaFile.d.ts +1 -0
  213. package/dist/model/wTEmployeeCreateMediaFile.js +5 -0
  214. package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -1
  215. package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +1 -0
  216. package/dist/model/wTEmployeeSendHelpDeskResponse.js +5 -0
  217. package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -1
  218. package/dist/model/wTEmployeeUpdateRecords.d.ts +15 -0
  219. package/dist/model/wTEmployeeUpdateRecords.js +23 -0
  220. package/dist/model/wTEmployeeUpdateRecords.js.map +1 -0
  221. package/dist/model/wTImageGridCreateParams.d.ts +17 -0
  222. package/dist/model/wTImageGridCreateParams.js +33 -0
  223. package/dist/model/wTImageGridCreateParams.js.map +1 -0
  224. package/dist/model/wTImageGridUpdateParams.d.ts +17 -0
  225. package/dist/model/wTImageGridUpdateParams.js +33 -0
  226. package/dist/model/wTImageGridUpdateParams.js.map +1 -0
  227. package/dist/model/wTImportedList.d.ts +1 -1
  228. package/dist/model/wTMembershipTier.d.ts +1 -1
  229. package/dist/model/wTMembershipTierWithMemberCount.d.ts +1 -1
  230. package/dist/model/wTMerchantUpdate.d.ts +1 -0
  231. package/dist/model/wTMerchantUpdate.js +5 -0
  232. package/dist/model/wTMerchantUpdate.js.map +1 -1
  233. package/dist/model/wTOptInList.d.ts +1 -1
  234. package/dist/model/wTPaymentDesign.d.ts +1 -1
  235. package/dist/model/wTSMSLimits.d.ts +15 -0
  236. package/dist/model/wTSMSLimits.js +23 -0
  237. package/dist/model/wTSMSLimits.js.map +1 -0
  238. package/dist/model/wTStaticVoucher.d.ts +1 -1
  239. package/dist/model/wTStaticVoucherCampaign.d.ts +1 -1
  240. package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +1 -0
  241. package/dist/model/wTWalletConfigurationSaveWalletRecord.js +5 -0
  242. package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -1
  243. package/dist/model/wTWalletItemRedemption.d.ts +1 -1
  244. package/dist/model/wTWalletObjectPrefixCounts.d.ts +17 -0
  245. package/dist/model/wTWalletObjectPrefixCounts.js +28 -0
  246. package/dist/model/wTWalletObjectPrefixCounts.js.map +1 -0
  247. package/dist/model/wTWalletPageView.d.ts +1 -1
  248. package/dist/model/wTWalletPageViewCount.d.ts +16 -0
  249. package/dist/model/wTWalletPageViewCount.js +28 -0
  250. package/dist/model/wTWalletPageViewCount.js.map +1 -0
  251. package/dist/model/walletConfiguration.d.ts +1 -0
  252. package/dist/model/walletConfiguration.js +5 -0
  253. package/dist/model/walletConfiguration.js.map +1 -1
  254. package/dist/model/walletPageView.d.ts +1 -1
  255. package/model/advertisementCredit.ts +2 -2
  256. package/model/advertisementCreditBroadcast.ts +2 -2
  257. package/model/advertisementCreditScan.ts +2 -2
  258. package/model/agreement.ts +2 -2
  259. package/model/alert.ts +1 -1
  260. package/model/announcement.ts +1 -1
  261. package/model/applicableTerminals.ts +1 -1
  262. package/model/applicableTerminalsAnyOf.ts +1 -1
  263. package/model/applicableTerminalsAnyOf1.ts +1 -1
  264. package/model/applicableTerminalsAnyOf2.ts +1 -1
  265. package/model/applicableTerminalsAnyOf3.ts +1 -1
  266. package/model/authError.ts +1 -1
  267. package/model/availablePhoneNumbersRequest.ts +1 -1
  268. package/model/clickFunnelAmount.ts +1 -1
  269. package/model/clickFunnelContact.ts +4 -4
  270. package/model/clickFunnelContactProfile.ts +6 -6
  271. package/model/clickFunnelEvent.ts +1 -1
  272. package/model/clickFunnelOriginalAmount.ts +1 -1
  273. package/model/clickFunnelProduct.ts +1 -1
  274. package/model/clickFunnelPurchase.ts +1 -1
  275. package/model/clickFunnelRegistration.ts +38 -0
  276. package/model/createStaticVoucherCampaign.ts +1 -1
  277. package/model/createStaticVoucherCampaignWithVoucher.ts +1 -1
  278. package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +1 -1
  279. package/model/dashboardWidget.ts +1 -1
  280. package/model/duplicateRowFound.ts +1 -1
  281. package/model/dynamicVoucher.ts +2 -2
  282. package/model/dynamicVoucherBroadcast.ts +2 -2
  283. package/model/employee.ts +1 -1
  284. package/model/employeeAPIKey.ts +2 -2
  285. package/model/employeeActivityLog.ts +1 -1
  286. package/model/entityTooLarge.ts +1 -1
  287. package/model/exportDataFile.ts +1 -1
  288. package/model/falsumError.ts +1 -1
  289. package/model/falsumField.ts +1 -1
  290. package/model/feature.ts +1 -1
  291. package/model/forbiddenRequest.ts +1 -1
  292. package/model/foreignKeyDoesNotExist.ts +1 -1
  293. package/model/helpDeskRequest.ts +2 -2
  294. package/model/imageGrid.ts +79 -0
  295. package/model/importedList.ts +2 -2
  296. package/model/importedListRecipient.ts +2 -2
  297. package/model/inboundSMS.ts +2 -2
  298. package/model/inlineResponse200.ts +28 -9
  299. package/model/inlineResponse2001.ts +11 -24
  300. package/model/inlineResponse20010.ts +13 -14
  301. package/model/inlineResponse20011.ts +80 -8
  302. package/model/inlineResponse20012.ts +9 -64
  303. package/model/inlineResponse2002.ts +3 -3
  304. package/model/inlineResponse2003.ts +17 -4
  305. package/model/inlineResponse2004.ts +10 -15
  306. package/model/inlineResponse2005.ts +15 -9
  307. package/model/inlineResponse2006.ts +14 -67
  308. package/model/inlineResponse2007.ts +13 -13
  309. package/model/inlineResponse2008.ts +17 -4
  310. package/model/inlineResponse2009.ts +66 -12
  311. package/model/internalServerError.ts +1 -1
  312. package/model/ledgerEntry.ts +2 -2
  313. package/model/linkBook.ts +1 -1
  314. package/model/linkBookSection.ts +1 -1
  315. package/model/mSMemberHistory.ts +1 -1
  316. package/model/mSMemberHistoryPagination.ts +1 -1
  317. package/model/mSMemberRedemption.ts +1 -1
  318. package/model/mSMemberRedemptionPagination.ts +1 -1
  319. package/model/mSMembershipTierHistory.ts +1 -1
  320. package/model/mSMembershipTierHistoryPagination.ts +1 -1
  321. package/model/mSMembershipTierRedemption.ts +1 -1
  322. package/model/mSMembershipTierRedemptionPagination.ts +1 -1
  323. package/model/mSMerchantCreditHistory.ts +1 -1
  324. package/model/mSMerchantCreditHistoryPagination.ts +1 -1
  325. package/model/mSMerchantCreditRedemption.ts +1 -1
  326. package/model/mSMerchantCreditRedemptionPagination.ts +1 -1
  327. package/model/mediaFile.ts +1 -1
  328. package/model/member.ts +1 -1
  329. package/model/memberSearch.ts +31 -4
  330. package/model/merchant.ts +7 -1
  331. package/model/merchantCreditSearch.ts +1 -1
  332. package/model/merchantNotInitialized.ts +1 -1
  333. package/model/merchantURL.ts +1 -1
  334. package/model/message.ts +1 -1
  335. package/model/models.ts +49 -15
  336. package/model/moduleError.ts +1 -1
  337. package/model/newsArticle.ts +1 -1
  338. package/model/optInList.ts +2 -2
  339. package/model/optInListSource.ts +2 -2
  340. package/model/optInListSubscriber.ts +2 -2
  341. package/model/outboundSMS.ts +8 -8
  342. package/model/paginatedWTMembers.ts +1 -1
  343. package/model/paginatedWTMerchantCredits.ts +1 -1
  344. package/model/paginationRequestWithIDAndWithoutSortOptions.ts +1 -1
  345. package/model/paginationRequestWithSortOptions.ts +1 -1
  346. package/model/paymentDesign.ts +2 -2
  347. package/model/paymentPrefixes.ts +97 -0
  348. package/model/performance.ts +1 -1
  349. package/model/phoneNumber.ts +2 -2
  350. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +1 -1
  351. package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +1 -1
  352. package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +1 -1
  353. package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +1 -1
  354. package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +1 -1
  355. package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +1 -1
  356. package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +1 -1
  357. package/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.ts +64 -0
  358. package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +1 -1
  359. package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +1 -1
  360. package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +1 -1
  361. package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.ts +1 -1
  362. package/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts +1 -1
  363. package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +1 -1
  364. package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +1 -1
  365. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +7 -7
  366. package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +1 -1
  367. package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +1 -1
  368. package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +1 -1
  369. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +1 -1
  370. package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +1 -1
  371. package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +1 -1
  372. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +1 -1
  373. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +1 -1
  374. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +1 -1
  375. package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +1 -1
  376. package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +1 -1
  377. package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +1 -1
  378. package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +1 -1
  379. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +2 -2
  380. package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
  381. package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
  382. package/model/plan.ts +1 -1
  383. package/model/portalPage.ts +3 -1
  384. package/model/presignedPost.ts +1 -1
  385. package/model/presignedPostFields.ts +1 -1
  386. package/model/product.ts +1 -1
  387. package/model/promoCode.ts +1 -1
  388. package/model/reachPerformanceStats.ts +1 -1
  389. package/model/request.ts +1 -1
  390. package/model/response.ts +1 -1
  391. package/model/role.ts +1 -1
  392. package/model/roleAuditLog.ts +1 -1
  393. package/model/sSImportedListRecipientCreateParams.ts +1 -1
  394. package/model/sSOptInSource.ts +1 -1
  395. package/model/simpleSMSBroadcast.ts +2 -2
  396. package/model/staticVoucher.ts +2 -2
  397. package/model/staticVoucherCampaign.ts +2 -2
  398. package/model/staticVoucherCampaignBroadcast.ts +2 -2
  399. package/model/staticVoucherCampaignGroup.ts +2 -2
  400. package/model/staticVoucherCampaignUpdate.ts +1 -1
  401. package/model/status.ts +1 -1
  402. package/model/statusAnyOf.ts +1 -1
  403. package/model/statusAnyOf1.ts +1 -1
  404. package/model/statusAnyOf2.ts +1 -1
  405. package/model/statusAnyOf3.ts +1 -1
  406. package/model/subscriptionFeature.ts +1 -1
  407. package/model/subscriptionPlan.ts +1 -1
  408. package/model/subscriptionProduct.ts +1 -1
  409. package/model/tcpa.ts +2 -2
  410. package/model/updateStaticVoucherCampaignWithVoucher.ts +1 -1
  411. package/model/vSCampaignGeneratedMessage.ts +1 -1
  412. package/model/vSCampaignGeneratedMessagePagination.ts +1 -1
  413. package/model/vSDynamicVoucherStatus.ts +1 -1
  414. package/model/wTAdvertisementCredit.ts +2 -2
  415. package/model/wTAdvertisementCreditCreateParams.ts +1 -1
  416. package/model/wTAdvertisementCreditScan.ts +2 -2
  417. package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
  418. package/model/wTAuthenticationCheckSessionTokenStatusResponse.ts +36 -0
  419. package/model/wTAuthenticationForgotPassword.ts +1 -1
  420. package/model/wTAuthenticationLoginRequest.ts +37 -0
  421. package/model/wTAuthenticationLoginResponse.ts +115 -0
  422. package/model/wTAuthenticationRegister.ts +1 -1
  423. package/model/wTAuthenticationRequestResetPassword.ts +1 -1
  424. package/model/wTAuthenticationResetPassword.ts +1 -1
  425. package/model/wTAuthenticationSSOLoginForDiscourse.ts +1 -1
  426. package/model/wTBillingChangePlan.ts +1 -1
  427. package/model/wTBillingSavePaymentMethod.ts +1 -1
  428. package/model/wTBillingVerifyPaymentMethodResponse.ts +38 -0
  429. package/model/wTCountResult.ts +31 -0
  430. package/model/wTCustomerSearchByMemberID.ts +1 -1
  431. package/model/wTCustomerSearchByPhoneNumber.ts +1 -1
  432. package/model/wTDynamicVoucher.ts +2 -2
  433. package/model/wTDynamicVoucherCreateParams.ts +1 -1
  434. package/model/wTDynamicVoucherRedemption.ts +2 -2
  435. package/model/wTDynamicVoucherSummary.ts +1 -1
  436. package/model/wTDynamicVoucherUpdateParams.ts +1 -1
  437. package/model/wTEmployee.ts +1 -1
  438. package/model/wTEmployeeAPIKey.ts +2 -2
  439. package/model/wTEmployeeAPIKeyCreateParams.ts +1 -1
  440. package/model/wTEmployeeAPIKeyUpdateParams.ts +1 -1
  441. package/model/wTEmployeeCreate.ts +1 -1
  442. package/model/wTEmployeeCreateAlert.ts +1 -1
  443. package/model/wTEmployeeCreateMediaFile.ts +7 -1
  444. package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +1 -1
  445. package/model/wTEmployeeFileCreate.ts +1 -1
  446. package/model/wTEmployeeImportRecords.ts +1 -1
  447. package/model/wTEmployeeNotification.ts +1 -1
  448. package/model/wTEmployeePeerRoles.ts +1 -1
  449. package/model/wTEmployeeS3FilePresign.ts +1 -1
  450. package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +1 -1
  451. package/model/wTEmployeeScheduleSimpleSMS.ts +1 -1
  452. package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +1 -1
  453. package/model/wTEmployeeSendHelpDeskResponse.ts +7 -1
  454. package/model/wTEmployeeUpdate.ts +1 -1
  455. package/model/wTEmployeeUpdateRecords.ts +37 -0
  456. package/model/wTFetchWalletPaymentObjectWithToken.ts +1 -1
  457. package/model/wTImageGridCreateParams.ts +49 -0
  458. package/model/wTImageGridUpdateParams.ts +49 -0
  459. package/model/wTImportedList.ts +2 -2
  460. package/model/wTInfoGenesisLookupRequestErrors.ts +1 -1
  461. package/model/wTInfoGenesisRecordFilterParameters.ts +1 -1
  462. package/model/wTInfoGenesisRoutingIDs.ts +1 -1
  463. package/model/wTInfoGenesisUniquePostingIDs.ts +1 -1
  464. package/model/wTLinkBookCreateParams.ts +1 -1
  465. package/model/wTLinkBookSectionCreateParams.ts +1 -1
  466. package/model/wTLinkBookSectionUpdateParams.ts +1 -1
  467. package/model/wTLinkBookUpdateParams.ts +1 -1
  468. package/model/wTMember.ts +1 -1
  469. package/model/wTMemberCreationParams.ts +1 -1
  470. package/model/wTMembershipTier.ts +2 -2
  471. package/model/wTMembershipTierCreationParams.ts +1 -1
  472. package/model/wTMembershipTierUpdateParams.ts +1 -1
  473. package/model/wTMembershipTierWithMemberCount.ts +2 -2
  474. package/model/wTMerchantCredit.ts +1 -1
  475. package/model/wTMerchantCreditCreationParams.ts +1 -1
  476. package/model/wTMerchantURLCreate.ts +1 -1
  477. package/model/wTMerchantURLUpdate.ts +1 -1
  478. package/model/wTMerchantUpdate.ts +7 -1
  479. package/model/wTMerchantUpdateBillingContact.ts +1 -1
  480. package/model/wTMerchantUpdatePOSIntegration.ts +1 -1
  481. package/model/wTNewsArticleCreateParams.ts +1 -1
  482. package/model/wTNewsArticleUpdateParams.ts +1 -1
  483. package/model/wTOptInList.ts +2 -2
  484. package/model/wTOptInListCreationParams.ts +1 -1
  485. package/model/wTPaymentDesign.ts +2 -2
  486. package/model/wTPaymentDesignCreateParams.ts +1 -1
  487. package/model/wTPaymentDesignUpdateParams.ts +1 -1
  488. package/model/wTPerformanceCreateParams.ts +1 -1
  489. package/model/wTPerformanceUpdateParams.ts +1 -1
  490. package/model/wTPosMachine.ts +1 -1
  491. package/model/wTPosMachineCreateParams.ts +1 -1
  492. package/model/wTPosMachineUpdateParams.ts +1 -1
  493. package/model/wTPromoCodeCreateParams.ts +1 -1
  494. package/model/wTPromoCodeUpdateParams.ts +1 -1
  495. package/model/wTRole.ts +1 -1
  496. package/model/wTSMSAcquirePhoneNumber.ts +1 -1
  497. package/model/wTSMSCreateAgreement.ts +1 -1
  498. package/model/wTSMSImportOptInListSubscribers.ts +1 -1
  499. package/model/wTSMSImportedListCreate.ts +1 -1
  500. package/model/wTSMSLimits.ts +37 -0
  501. package/model/wTSMSOptInListSourceCreate.ts +1 -1
  502. package/model/wTSMSUpdatePhoneNumberConfig.ts +1 -1
  503. package/model/wTSettingsSetPassword.ts +1 -1
  504. package/model/wTStaticVoucher.ts +2 -2
  505. package/model/wTStaticVoucherCampaign.ts +2 -2
  506. package/model/wTStaticVoucherCampaignPreviewMessages.ts +1 -1
  507. package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +1 -1
  508. package/model/wTStaticVoucherCreateParams.ts +1 -1
  509. package/model/wTStaticVoucherUpdateParams.ts +1 -1
  510. package/model/wTSystemApprovePhoneNumber.ts +1 -1
  511. package/model/wTSystemRoleCreate.ts +1 -1
  512. package/model/wTTCPAOpt.ts +1 -1
  513. package/model/wTTwilioRequestAuthyCode.ts +1 -1
  514. package/model/wTTwilioVerifyAuthyCode.ts +1 -1
  515. package/model/wTWalletConfigurationSaveWalletRecord.ts +7 -1
  516. package/model/wTWalletItemRedemption.ts +2 -2
  517. package/model/wTWalletObjectPrefixCounts.ts +44 -0
  518. package/model/wTWalletPageView.ts +2 -2
  519. package/model/wTWalletPageViewCount.ts +43 -0
  520. package/model/wTWalletPageViewGeoPoint.ts +1 -1
  521. package/model/walletConfiguration.ts +7 -1
  522. package/model/walletPageView.ts +2 -2
  523. package/model/webpage.ts +1 -1
  524. package/package.json +1 -1
  525. package/tsconfig.json +1 -2
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.508
5
+ * The version of the OpenAPI document: 2.1.511
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,9 +18,8 @@ import http from 'http';
18
18
  import { AuthError } from '../model/authError';
19
19
  import { DashboardWidget } from '../model/dashboardWidget';
20
20
  import { FalsumError } from '../model/falsumError';
21
- import { InlineResponse2002 } from '../model/inlineResponse2002';
22
- import { InlineResponse2003 } from '../model/inlineResponse2003';
23
21
  import { InternalServerError } from '../model/internalServerError';
22
+ import { WTCountResult } from '../model/wTCountResult';
24
23
 
25
24
  import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
26
25
  import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
@@ -100,7 +99,7 @@ export class DashboardApi {
100
99
  * @param startDateTime
101
100
  * @param endDateTime
102
101
  */
103
- public async fetchDashboardActiveStaticVoucherCampaignsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }> {
102
+ public async fetchDashboardActiveStaticVoucherCampaignsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
104
103
  const localVarPath = this.basePath + '/v2/dashboard/count/staticVoucherCampaigns/active';
105
104
  let localVarQueryParameters: any = {};
106
105
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -160,13 +159,13 @@ export class DashboardApi {
160
159
  localVarRequestOptions.form = localVarFormParams;
161
160
  }
162
161
  }
163
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }>((resolve, reject) => {
162
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
164
163
  localVarRequest(localVarRequestOptions, (error, response, body) => {
165
164
  if (error) {
166
165
  reject(error);
167
166
  } else {
168
167
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
169
- body = ObjectSerializer.deserialize(body, "InlineResponse2003");
168
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
170
169
  resolve({ response: response, body: body });
171
170
  } else {
172
171
  reject(new HttpError(response, body, response.statusCode));
@@ -182,7 +181,7 @@ export class DashboardApi {
182
181
  * @param startDateTime
183
182
  * @param endDateTime
184
183
  */
185
- public async fetchDashboardActiveStaticVouchersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
184
+ public async fetchDashboardActiveStaticVouchersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
186
185
  const localVarPath = this.basePath + '/v2/dashboard/count/staticVouchers/active';
187
186
  let localVarQueryParameters: any = {};
188
187
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -242,13 +241,13 @@ export class DashboardApi {
242
241
  localVarRequestOptions.form = localVarFormParams;
243
242
  }
244
243
  }
245
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
244
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
246
245
  localVarRequest(localVarRequestOptions, (error, response, body) => {
247
246
  if (error) {
248
247
  reject(error);
249
248
  } else {
250
249
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
251
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
250
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
252
251
  resolve({ response: response, body: body });
253
252
  } else {
254
253
  reject(new HttpError(response, body, response.statusCode));
@@ -264,7 +263,7 @@ export class DashboardApi {
264
263
  * @param startDateTime
265
264
  * @param endDateTime
266
265
  */
267
- public async fetchDashboardAppleWalletSubscribersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
266
+ public async fetchDashboardAppleWalletSubscribersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
268
267
  const localVarPath = this.basePath + '/v2/dashboard/count/appleWallet/subscribers';
269
268
  let localVarQueryParameters: any = {};
270
269
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -324,13 +323,13 @@ export class DashboardApi {
324
323
  localVarRequestOptions.form = localVarFormParams;
325
324
  }
326
325
  }
327
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
326
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
328
327
  localVarRequest(localVarRequestOptions, (error, response, body) => {
329
328
  if (error) {
330
329
  reject(error);
331
330
  } else {
332
331
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
333
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
332
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
334
333
  resolve({ response: response, body: body });
335
334
  } else {
336
335
  reject(new HttpError(response, body, response.statusCode));
@@ -346,7 +345,7 @@ export class DashboardApi {
346
345
  * @param startDateTime
347
346
  * @param endDateTime
348
347
  */
349
- public async fetchDashboardEmployeesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
348
+ public async fetchDashboardEmployeesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
350
349
  const localVarPath = this.basePath + '/v2/dashboard/count/employees';
351
350
  let localVarQueryParameters: any = {};
352
351
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -406,13 +405,13 @@ export class DashboardApi {
406
405
  localVarRequestOptions.form = localVarFormParams;
407
406
  }
408
407
  }
409
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
408
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
410
409
  localVarRequest(localVarRequestOptions, (error, response, body) => {
411
410
  if (error) {
412
411
  reject(error);
413
412
  } else {
414
413
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
415
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
414
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
416
415
  resolve({ response: response, body: body });
417
416
  } else {
418
417
  reject(new HttpError(response, body, response.statusCode));
@@ -428,7 +427,7 @@ export class DashboardApi {
428
427
  * @param startDateTime
429
428
  * @param endDateTime
430
429
  */
431
- public async fetchDashboardMembersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
430
+ public async fetchDashboardMembersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
432
431
  const localVarPath = this.basePath + '/v2/dashboard/count/members';
433
432
  let localVarQueryParameters: any = {};
434
433
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -488,13 +487,13 @@ export class DashboardApi {
488
487
  localVarRequestOptions.form = localVarFormParams;
489
488
  }
490
489
  }
491
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
490
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
492
491
  localVarRequest(localVarRequestOptions, (error, response, body) => {
493
492
  if (error) {
494
493
  reject(error);
495
494
  } else {
496
495
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
497
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
496
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
498
497
  resolve({ response: response, body: body });
499
498
  } else {
500
499
  reject(new HttpError(response, body, response.statusCode));
@@ -510,7 +509,7 @@ export class DashboardApi {
510
509
  * @param startDateTime
511
510
  * @param endDateTime
512
511
  */
513
- public async fetchDashboardMembershipTiersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
512
+ public async fetchDashboardMembershipTiersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
514
513
  const localVarPath = this.basePath + '/v2/dashboard/count/membershipTiers';
515
514
  let localVarQueryParameters: any = {};
516
515
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -570,13 +569,13 @@ export class DashboardApi {
570
569
  localVarRequestOptions.form = localVarFormParams;
571
570
  }
572
571
  }
573
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
572
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
574
573
  localVarRequest(localVarRequestOptions, (error, response, body) => {
575
574
  if (error) {
576
575
  reject(error);
577
576
  } else {
578
577
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
579
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
578
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
580
579
  resolve({ response: response, body: body });
581
580
  } else {
582
581
  reject(new HttpError(response, body, response.statusCode));
@@ -592,7 +591,7 @@ export class DashboardApi {
592
591
  * @param startDateTime
593
592
  * @param endDateTime
594
593
  */
595
- public async fetchDashboardNewsArticlesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
594
+ public async fetchDashboardNewsArticlesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
596
595
  const localVarPath = this.basePath + '/v2/dashboard/count/newsArticles';
597
596
  let localVarQueryParameters: any = {};
598
597
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -652,13 +651,13 @@ export class DashboardApi {
652
651
  localVarRequestOptions.form = localVarFormParams;
653
652
  }
654
653
  }
655
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
654
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
656
655
  localVarRequest(localVarRequestOptions, (error, response, body) => {
657
656
  if (error) {
658
657
  reject(error);
659
658
  } else {
660
659
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
661
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
660
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
662
661
  resolve({ response: response, body: body });
663
662
  } else {
664
663
  reject(new HttpError(response, body, response.statusCode));
@@ -674,7 +673,7 @@ export class DashboardApi {
674
673
  * @param startDateTime
675
674
  * @param endDateTime
676
675
  */
677
- public async fetchDashboardOptInListsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
676
+ public async fetchDashboardOptInListsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
678
677
  const localVarPath = this.basePath + '/v2/dashboard/count/optInLists';
679
678
  let localVarQueryParameters: any = {};
680
679
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -734,13 +733,13 @@ export class DashboardApi {
734
733
  localVarRequestOptions.form = localVarFormParams;
735
734
  }
736
735
  }
737
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
736
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
738
737
  localVarRequest(localVarRequestOptions, (error, response, body) => {
739
738
  if (error) {
740
739
  reject(error);
741
740
  } else {
742
741
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
743
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
742
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
744
743
  resolve({ response: response, body: body });
745
744
  } else {
746
745
  reject(new HttpError(response, body, response.statusCode));
@@ -756,7 +755,7 @@ export class DashboardApi {
756
755
  * @param startDateTime
757
756
  * @param endDateTime
758
757
  */
759
- public async fetchDashboardOptInSourcesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
758
+ public async fetchDashboardOptInSourcesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
760
759
  const localVarPath = this.basePath + '/v2/dashboard/count/optInSources';
761
760
  let localVarQueryParameters: any = {};
762
761
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -816,13 +815,13 @@ export class DashboardApi {
816
815
  localVarRequestOptions.form = localVarFormParams;
817
816
  }
818
817
  }
819
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
818
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
820
819
  localVarRequest(localVarRequestOptions, (error, response, body) => {
821
820
  if (error) {
822
821
  reject(error);
823
822
  } else {
824
823
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
825
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
824
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
826
825
  resolve({ response: response, body: body });
827
826
  } else {
828
827
  reject(new HttpError(response, body, response.statusCode));
@@ -838,7 +837,7 @@ export class DashboardApi {
838
837
  * @param startDateTime
839
838
  * @param endDateTime
840
839
  */
841
- public async fetchDashboardOutboundSMSCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
840
+ public async fetchDashboardOutboundSMSCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
842
841
  const localVarPath = this.basePath + '/v2/dashboard/count/sms/outbound';
843
842
  let localVarQueryParameters: any = {};
844
843
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -898,13 +897,13 @@ export class DashboardApi {
898
897
  localVarRequestOptions.form = localVarFormParams;
899
898
  }
900
899
  }
901
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
900
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
902
901
  localVarRequest(localVarRequestOptions, (error, response, body) => {
903
902
  if (error) {
904
903
  reject(error);
905
904
  } else {
906
905
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
907
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
906
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
908
907
  resolve({ response: response, body: body });
909
908
  } else {
910
909
  reject(new HttpError(response, body, response.statusCode));
@@ -920,7 +919,7 @@ export class DashboardApi {
920
919
  * @param startDateTime
921
920
  * @param endDateTime
922
921
  */
923
- public async fetchDashboardPOSMachinesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
922
+ public async fetchDashboardPOSMachinesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
924
923
  const localVarPath = this.basePath + '/v2/dashboard/count/pos/machines';
925
924
  let localVarQueryParameters: any = {};
926
925
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -980,13 +979,13 @@ export class DashboardApi {
980
979
  localVarRequestOptions.form = localVarFormParams;
981
980
  }
982
981
  }
983
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
982
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
984
983
  localVarRequest(localVarRequestOptions, (error, response, body) => {
985
984
  if (error) {
986
985
  reject(error);
987
986
  } else {
988
987
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
989
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
988
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
990
989
  resolve({ response: response, body: body });
991
990
  } else {
992
991
  reject(new HttpError(response, body, response.statusCode));
@@ -1002,7 +1001,7 @@ export class DashboardApi {
1002
1001
  * @param startDateTime
1003
1002
  * @param endDateTime
1004
1003
  */
1005
- public async fetchDashboardPOSTransactionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
1004
+ public async fetchDashboardPOSTransactionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1006
1005
  const localVarPath = this.basePath + '/v2/dashboard/count/pos/transactions';
1007
1006
  let localVarQueryParameters: any = {};
1008
1007
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1062,13 +1061,13 @@ export class DashboardApi {
1062
1061
  localVarRequestOptions.form = localVarFormParams;
1063
1062
  }
1064
1063
  }
1065
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
1064
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1066
1065
  localVarRequest(localVarRequestOptions, (error, response, body) => {
1067
1066
  if (error) {
1068
1067
  reject(error);
1069
1068
  } else {
1070
1069
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1071
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
1070
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1072
1071
  resolve({ response: response, body: body });
1073
1072
  } else {
1074
1073
  reject(new HttpError(response, body, response.statusCode));
@@ -1084,7 +1083,7 @@ export class DashboardApi {
1084
1083
  * @param startDateTime
1085
1084
  * @param endDateTime
1086
1085
  */
1087
- public async fetchDashboardPerformancesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
1086
+ public async fetchDashboardPerformancesCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1088
1087
  const localVarPath = this.basePath + '/v2/dashboard/count/performances';
1089
1088
  let localVarQueryParameters: any = {};
1090
1089
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1144,13 +1143,13 @@ export class DashboardApi {
1144
1143
  localVarRequestOptions.form = localVarFormParams;
1145
1144
  }
1146
1145
  }
1147
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
1146
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1148
1147
  localVarRequest(localVarRequestOptions, (error, response, body) => {
1149
1148
  if (error) {
1150
1149
  reject(error);
1151
1150
  } else {
1152
1151
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1153
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
1152
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1154
1153
  resolve({ response: response, body: body });
1155
1154
  } else {
1156
1155
  reject(new HttpError(response, body, response.statusCode));
@@ -1166,7 +1165,7 @@ export class DashboardApi {
1166
1165
  * @param startDateTime
1167
1166
  * @param endDateTime
1168
1167
  */
1169
- public async fetchDashboardPhoneNumbersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
1168
+ public async fetchDashboardPhoneNumbersCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1170
1169
  const localVarPath = this.basePath + '/v2/dashboard/count/phoneNumbers';
1171
1170
  let localVarQueryParameters: any = {};
1172
1171
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1226,13 +1225,13 @@ export class DashboardApi {
1226
1225
  localVarRequestOptions.form = localVarFormParams;
1227
1226
  }
1228
1227
  }
1229
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
1228
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1230
1229
  localVarRequest(localVarRequestOptions, (error, response, body) => {
1231
1230
  if (error) {
1232
1231
  reject(error);
1233
1232
  } else {
1234
1233
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1235
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
1234
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1236
1235
  resolve({ response: response, body: body });
1237
1236
  } else {
1238
1237
  reject(new HttpError(response, body, response.statusCode));
@@ -1248,7 +1247,7 @@ export class DashboardApi {
1248
1247
  * @param startDateTime
1249
1248
  * @param endDateTime
1250
1249
  */
1251
- public async fetchDashboardRedemptionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
1250
+ public async fetchDashboardRedemptionsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1252
1251
  const localVarPath = this.basePath + '/v2/dashboard/count/pos/redemptions';
1253
1252
  let localVarQueryParameters: any = {};
1254
1253
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1308,13 +1307,13 @@ export class DashboardApi {
1308
1307
  localVarRequestOptions.form = localVarFormParams;
1309
1308
  }
1310
1309
  }
1311
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
1310
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1312
1311
  localVarRequest(localVarRequestOptions, (error, response, body) => {
1313
1312
  if (error) {
1314
1313
  reject(error);
1315
1314
  } else {
1316
1315
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1317
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
1316
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1318
1317
  resolve({ response: response, body: body });
1319
1318
  } else {
1320
1319
  reject(new HttpError(response, body, response.statusCode));
@@ -1330,7 +1329,7 @@ export class DashboardApi {
1330
1329
  * @param startDateTime
1331
1330
  * @param endDateTime
1332
1331
  */
1333
- public async fetchDashboardRefundsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
1332
+ public async fetchDashboardRefundsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1334
1333
  const localVarPath = this.basePath + '/v2/dashboard/count/pos/refunds';
1335
1334
  let localVarQueryParameters: any = {};
1336
1335
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1390,13 +1389,13 @@ export class DashboardApi {
1390
1389
  localVarRequestOptions.form = localVarFormParams;
1391
1390
  }
1392
1391
  }
1393
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
1392
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1394
1393
  localVarRequest(localVarRequestOptions, (error, response, body) => {
1395
1394
  if (error) {
1396
1395
  reject(error);
1397
1396
  } else {
1398
1397
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1399
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
1398
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1400
1399
  resolve({ response: response, body: body });
1401
1400
  } else {
1402
1401
  reject(new HttpError(response, body, response.statusCode));
@@ -1412,7 +1411,7 @@ export class DashboardApi {
1412
1411
  * @param startDateTime
1413
1412
  * @param endDateTime
1414
1413
  */
1415
- public async fetchDashboardWalletPageViewsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
1414
+ public async fetchDashboardWalletPageViewsCount (startDateTime: Date, endDateTime: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
1416
1415
  const localVarPath = this.basePath + '/v2/dashboard/count/wallet/pageViews';
1417
1416
  let localVarQueryParameters: any = {};
1418
1417
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1472,13 +1471,13 @@ export class DashboardApi {
1472
1471
  localVarRequestOptions.form = localVarFormParams;
1473
1472
  }
1474
1473
  }
1475
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
1474
+ return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
1476
1475
  localVarRequest(localVarRequestOptions, (error, response, body) => {
1477
1476
  if (error) {
1478
1477
  reject(error);
1479
1478
  } else {
1480
1479
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1481
- body = ObjectSerializer.deserialize(body, "InlineResponse2002");
1480
+ body = ObjectSerializer.deserialize(body, "WTCountResult");
1482
1481
  resolve({ response: response, body: body });
1483
1482
  } else {
1484
1483
  reject(new HttpError(response, body, response.statusCode));
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.508
5
+ * The version of the OpenAPI document: 2.1.511
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.508
5
+ * The version of the OpenAPI document: 2.1.511
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.508
5
+ * The version of the OpenAPI document: 2.1.511
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.508
5
+ * The version of the OpenAPI document: 2.1.511
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,7 @@ import { EmployeeActivityLog } from '../model/employeeActivityLog';
25
25
  import { EntityTooLarge } from '../model/entityTooLarge';
26
26
  import { FalsumError } from '../model/falsumError';
27
27
  import { HelpDeskRequest } from '../model/helpDeskRequest';
28
- import { InlineResponse2004 } from '../model/inlineResponse2004';
28
+ import { InlineResponse2001 } from '../model/inlineResponse2001';
29
29
  import { InternalServerError } from '../model/internalServerError';
30
30
  import { MediaFile } from '../model/mediaFile';
31
31
  import { Message } from '../model/message';
@@ -49,6 +49,7 @@ import { WTEmployeeScheduleSimpleSMS } from '../model/wTEmployeeScheduleSimpleSM
49
49
  import { WTEmployeeScheduleSimpleSMSToRecipient } from '../model/wTEmployeeScheduleSimpleSMSToRecipient';
50
50
  import { WTEmployeeSendHelpDeskResponse } from '../model/wTEmployeeSendHelpDeskResponse';
51
51
  import { WTEmployeeUpdate } from '../model/wTEmployeeUpdate';
52
+ import { WTEmployeeUpdateRecords } from '../model/wTEmployeeUpdateRecords';
52
53
  import { Webpage } from '../model/webpage';
53
54
 
54
55
  import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
@@ -342,7 +343,7 @@ export class EmployeesApi {
342
343
  * @summary Create file
343
344
  * @param wTEmployeeFileCreate
344
345
  */
345
- public async createFile (wTEmployeeFileCreate: WTEmployeeFileCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2004; }> {
346
+ public async createFile (wTEmployeeFileCreate: WTEmployeeFileCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2001; }> {
346
347
  const localVarPath = this.basePath + '/v2/employee/file/create';
347
348
  let localVarQueryParameters: any = {};
348
349
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -390,13 +391,13 @@ export class EmployeesApi {
390
391
  localVarRequestOptions.form = localVarFormParams;
391
392
  }
392
393
  }
393
- return new Promise<{ response: http.IncomingMessage; body: InlineResponse2004; }>((resolve, reject) => {
394
+ return new Promise<{ response: http.IncomingMessage; body: InlineResponse2001; }>((resolve, reject) => {
394
395
  localVarRequest(localVarRequestOptions, (error, response, body) => {
395
396
  if (error) {
396
397
  reject(error);
397
398
  } else {
398
399
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
399
- body = ObjectSerializer.deserialize(body, "InlineResponse2004");
400
+ body = ObjectSerializer.deserialize(body, "InlineResponse2001");
400
401
  resolve({ response: response, body: body });
401
402
  } else {
402
403
  reject(new HttpError(response, body, response.statusCode));
@@ -1148,8 +1149,9 @@ export class EmployeesApi {
1148
1149
  /**
1149
1150
  *
1150
1151
  * @summary Fetch all media files
1152
+ * @param folder
1151
1153
  */
1152
- public async fetchMediaFiles (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<MediaFile>; }> {
1154
+ public async fetchMediaFiles (folder?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<MediaFile>; }> {
1153
1155
  const localVarPath = this.basePath + '/v2/employee/mediaFiles/all';
1154
1156
  let localVarQueryParameters: any = {};
1155
1157
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -1162,6 +1164,10 @@ export class EmployeesApi {
1162
1164
  }
1163
1165
  let localVarFormParams: any = {};
1164
1166
 
1167
+ if (folder !== undefined) {
1168
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
1169
+ }
1170
+
1165
1171
  (<any>Object).assign(localVarHeaderParams, options.headers);
1166
1172
 
1167
1173
  let localVarUseFormData = false;
@@ -2849,6 +2855,75 @@ export class EmployeesApi {
2849
2855
  });
2850
2856
  });
2851
2857
  }
2858
+ /**
2859
+ *
2860
+ * @summary Update club members
2861
+ * @param wTEmployeeUpdateRecords
2862
+ */
2863
+ public async updateClubMembers (wTEmployeeUpdateRecords: WTEmployeeUpdateRecords, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
2864
+ const localVarPath = this.basePath + '/v2/employee/update/members';
2865
+ let localVarQueryParameters: any = {};
2866
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
2867
+ const produces = ['application/json'];
2868
+ // give precedence to 'application/json'
2869
+ if (produces.indexOf('application/json') >= 0) {
2870
+ localVarHeaderParams.Accept = 'application/json';
2871
+ } else {
2872
+ localVarHeaderParams.Accept = produces.join(',');
2873
+ }
2874
+ let localVarFormParams: any = {};
2875
+
2876
+ // verify required parameter 'wTEmployeeUpdateRecords' is not null or undefined
2877
+ if (wTEmployeeUpdateRecords === null || wTEmployeeUpdateRecords === undefined) {
2878
+ throw new Error('Required parameter wTEmployeeUpdateRecords was null or undefined when calling updateClubMembers.');
2879
+ }
2880
+
2881
+ (<any>Object).assign(localVarHeaderParams, options.headers);
2882
+
2883
+ let localVarUseFormData = false;
2884
+
2885
+ let localVarRequestOptions: localVarRequest.Options = {
2886
+ method: 'PUT',
2887
+ qs: localVarQueryParameters,
2888
+ headers: localVarHeaderParams,
2889
+ uri: localVarPath,
2890
+ useQuerystring: this._useQuerystring,
2891
+ json: true,
2892
+ body: ObjectSerializer.serialize(wTEmployeeUpdateRecords, "WTEmployeeUpdateRecords")
2893
+ };
2894
+
2895
+ let authenticationPromise = Promise.resolve();
2896
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2897
+
2898
+ let interceptorPromise = authenticationPromise;
2899
+ for (const interceptor of this.interceptors) {
2900
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
2901
+ }
2902
+
2903
+ return interceptorPromise.then(() => {
2904
+ if (Object.keys(localVarFormParams).length) {
2905
+ if (localVarUseFormData) {
2906
+ (<any>localVarRequestOptions).formData = localVarFormParams;
2907
+ } else {
2908
+ localVarRequestOptions.form = localVarFormParams;
2909
+ }
2910
+ }
2911
+ return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
2912
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2913
+ if (error) {
2914
+ reject(error);
2915
+ } else {
2916
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2917
+ body = ObjectSerializer.deserialize(body, "string");
2918
+ resolve({ response: response, body: body });
2919
+ } else {
2920
+ reject(new HttpError(response, body, response.statusCode));
2921
+ }
2922
+ }
2923
+ });
2924
+ });
2925
+ });
2926
+ }
2852
2927
  /**
2853
2928
  *
2854
2929
  * @summary Update peer