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
@@ -0,0 +1,447 @@
1
+ /**
2
+ * wallet-api
3
+ * API
4
+ *
5
+ * The version of the OpenAPI document: 2.1.511
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 { ImageGrid } from '../model/imageGrid';
21
+ import { InternalServerError } from '../model/internalServerError';
22
+ import { WTImageGridCreateParams } from '../model/wTImageGridCreateParams';
23
+ import { WTImageGridUpdateParams } from '../model/wTImageGridUpdateParams';
24
+
25
+ import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
26
+ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
27
+
28
+ import { HttpError, RequestFile } from './apis';
29
+
30
+ let defaultBasePath = 'https://api.wall.et';
31
+
32
+ // ===============================================
33
+ // This file is autogenerated - Please do not edit
34
+ // ===============================================
35
+
36
+ export enum ImageGridApiApiKeys {
37
+ api_key,
38
+ }
39
+
40
+ export class ImageGridApi {
41
+ protected _basePath = defaultBasePath;
42
+ protected _defaultHeaders : any = {};
43
+ protected _useQuerystring : boolean = false;
44
+
45
+ protected authentications = {
46
+ 'default': <Authentication>new VoidAuth(),
47
+ 'api_key': new ApiKeyAuth('header', 'access-token'),
48
+ }
49
+
50
+ protected interceptors: Interceptor[] = [];
51
+
52
+ constructor(basePath?: string);
53
+ constructor(basePathOrUsername: string, password?: string, basePath?: string) {
54
+ if (password) {
55
+ if (basePath) {
56
+ this.basePath = basePath;
57
+ }
58
+ } else {
59
+ if (basePathOrUsername) {
60
+ this.basePath = basePathOrUsername
61
+ }
62
+ }
63
+ }
64
+
65
+ set useQuerystring(value: boolean) {
66
+ this._useQuerystring = value;
67
+ }
68
+
69
+ set basePath(basePath: string) {
70
+ this._basePath = basePath;
71
+ }
72
+
73
+ set defaultHeaders(defaultHeaders: any) {
74
+ this._defaultHeaders = defaultHeaders;
75
+ }
76
+
77
+ get defaultHeaders() {
78
+ return this._defaultHeaders;
79
+ }
80
+
81
+ get basePath() {
82
+ return this._basePath;
83
+ }
84
+
85
+ public setDefaultAuthentication(auth: Authentication) {
86
+ this.authentications.default = auth;
87
+ }
88
+
89
+ public setApiKey(key: ImageGridApiApiKeys, value: string) {
90
+ (this.authentications as any)[ImageGridApiApiKeys[key]].apiKey = value;
91
+ }
92
+
93
+ public addInterceptor(interceptor: Interceptor) {
94
+ this.interceptors.push(interceptor);
95
+ }
96
+
97
+ /**
98
+ *
99
+ * @summary Archive image
100
+ * @param id
101
+ */
102
+ public async archiveImageGrid (id: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImageGrid; }> {
103
+ const localVarPath = this.basePath + '/v2/imageGrid/{id}'
104
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
105
+ let localVarQueryParameters: any = {};
106
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
107
+ const produces = ['application/json'];
108
+ // give precedence to 'application/json'
109
+ if (produces.indexOf('application/json') >= 0) {
110
+ localVarHeaderParams.Accept = 'application/json';
111
+ } else {
112
+ localVarHeaderParams.Accept = produces.join(',');
113
+ }
114
+ let localVarFormParams: any = {};
115
+
116
+ // verify required parameter 'id' is not null or undefined
117
+ if (id === null || id === undefined) {
118
+ throw new Error('Required parameter id was null or undefined when calling archiveImageGrid.');
119
+ }
120
+
121
+ (<any>Object).assign(localVarHeaderParams, options.headers);
122
+
123
+ let localVarUseFormData = false;
124
+
125
+ let localVarRequestOptions: localVarRequest.Options = {
126
+ method: 'DELETE',
127
+ qs: localVarQueryParameters,
128
+ headers: localVarHeaderParams,
129
+ uri: localVarPath,
130
+ useQuerystring: this._useQuerystring,
131
+ json: true,
132
+ };
133
+
134
+ let authenticationPromise = Promise.resolve();
135
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
136
+
137
+ let interceptorPromise = authenticationPromise;
138
+ for (const interceptor of this.interceptors) {
139
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
140
+ }
141
+
142
+ return interceptorPromise.then(() => {
143
+ if (Object.keys(localVarFormParams).length) {
144
+ if (localVarUseFormData) {
145
+ (<any>localVarRequestOptions).formData = localVarFormParams;
146
+ } else {
147
+ localVarRequestOptions.form = localVarFormParams;
148
+ }
149
+ }
150
+ return new Promise<{ response: http.IncomingMessage; body: ImageGrid; }>((resolve, reject) => {
151
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
152
+ if (error) {
153
+ reject(error);
154
+ } else {
155
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
156
+ body = ObjectSerializer.deserialize(body, "ImageGrid");
157
+ resolve({ response: response, body: body });
158
+ } else {
159
+ reject(new HttpError(response, body, response.statusCode));
160
+ }
161
+ }
162
+ });
163
+ });
164
+ });
165
+ }
166
+ /**
167
+ *
168
+ * @summary Create image
169
+ * @param wTImageGridCreateParams
170
+ */
171
+ public async createImageGrid (wTImageGridCreateParams: WTImageGridCreateParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImageGrid; }> {
172
+ const localVarPath = this.basePath + '/v2/imageGrid';
173
+ let localVarQueryParameters: any = {};
174
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
175
+ const produces = ['application/json'];
176
+ // give precedence to 'application/json'
177
+ if (produces.indexOf('application/json') >= 0) {
178
+ localVarHeaderParams.Accept = 'application/json';
179
+ } else {
180
+ localVarHeaderParams.Accept = produces.join(',');
181
+ }
182
+ let localVarFormParams: any = {};
183
+
184
+ // verify required parameter 'wTImageGridCreateParams' is not null or undefined
185
+ if (wTImageGridCreateParams === null || wTImageGridCreateParams === undefined) {
186
+ throw new Error('Required parameter wTImageGridCreateParams was null or undefined when calling createImageGrid.');
187
+ }
188
+
189
+ (<any>Object).assign(localVarHeaderParams, options.headers);
190
+
191
+ let localVarUseFormData = false;
192
+
193
+ let localVarRequestOptions: localVarRequest.Options = {
194
+ method: 'POST',
195
+ qs: localVarQueryParameters,
196
+ headers: localVarHeaderParams,
197
+ uri: localVarPath,
198
+ useQuerystring: this._useQuerystring,
199
+ json: true,
200
+ body: ObjectSerializer.serialize(wTImageGridCreateParams, "WTImageGridCreateParams")
201
+ };
202
+
203
+ let authenticationPromise = Promise.resolve();
204
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
205
+
206
+ let interceptorPromise = authenticationPromise;
207
+ for (const interceptor of this.interceptors) {
208
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
209
+ }
210
+
211
+ return interceptorPromise.then(() => {
212
+ if (Object.keys(localVarFormParams).length) {
213
+ if (localVarUseFormData) {
214
+ (<any>localVarRequestOptions).formData = localVarFormParams;
215
+ } else {
216
+ localVarRequestOptions.form = localVarFormParams;
217
+ }
218
+ }
219
+ return new Promise<{ response: http.IncomingMessage; body: ImageGrid; }>((resolve, reject) => {
220
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
221
+ if (error) {
222
+ reject(error);
223
+ } else {
224
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
225
+ body = ObjectSerializer.deserialize(body, "ImageGrid");
226
+ resolve({ response: response, body: body });
227
+ } else {
228
+ reject(new HttpError(response, body, response.statusCode));
229
+ }
230
+ }
231
+ });
232
+ });
233
+ });
234
+ }
235
+ /**
236
+ *
237
+ * @summary Fetch all images
238
+ * @param isArchiveIncluded
239
+ */
240
+ public async fetchAllImageGrid (isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
241
+ const localVarPath = this.basePath + '/v2/imageGrid/all';
242
+ let localVarQueryParameters: any = {};
243
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
244
+ const produces = ['application/json'];
245
+ // give precedence to 'application/json'
246
+ if (produces.indexOf('application/json') >= 0) {
247
+ localVarHeaderParams.Accept = 'application/json';
248
+ } else {
249
+ localVarHeaderParams.Accept = produces.join(',');
250
+ }
251
+ let localVarFormParams: any = {};
252
+
253
+ if (isArchiveIncluded !== undefined) {
254
+ localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
255
+ }
256
+
257
+ (<any>Object).assign(localVarHeaderParams, options.headers);
258
+
259
+ let localVarUseFormData = false;
260
+
261
+ let localVarRequestOptions: localVarRequest.Options = {
262
+ method: 'GET',
263
+ qs: localVarQueryParameters,
264
+ headers: localVarHeaderParams,
265
+ uri: localVarPath,
266
+ useQuerystring: this._useQuerystring,
267
+ json: true,
268
+ };
269
+
270
+ let authenticationPromise = Promise.resolve();
271
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
272
+
273
+ let interceptorPromise = authenticationPromise;
274
+ for (const interceptor of this.interceptors) {
275
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
276
+ }
277
+
278
+ return interceptorPromise.then(() => {
279
+ if (Object.keys(localVarFormParams).length) {
280
+ if (localVarUseFormData) {
281
+ (<any>localVarRequestOptions).formData = localVarFormParams;
282
+ } else {
283
+ localVarRequestOptions.form = localVarFormParams;
284
+ }
285
+ }
286
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
287
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
288
+ if (error) {
289
+ reject(error);
290
+ } else {
291
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
292
+ body = ObjectSerializer.deserialize(body, "any");
293
+ resolve({ response: response, body: body });
294
+ } else {
295
+ reject(new HttpError(response, body, response.statusCode));
296
+ }
297
+ }
298
+ });
299
+ });
300
+ });
301
+ }
302
+ /**
303
+ *
304
+ * @summary Restore image
305
+ * @param id
306
+ */
307
+ public async restoreImageGrid (id: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImageGrid; }> {
308
+ const localVarPath = this.basePath + '/v2/imageGrid/{id}'
309
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
310
+ let localVarQueryParameters: any = {};
311
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
312
+ const produces = ['application/json'];
313
+ // give precedence to 'application/json'
314
+ if (produces.indexOf('application/json') >= 0) {
315
+ localVarHeaderParams.Accept = 'application/json';
316
+ } else {
317
+ localVarHeaderParams.Accept = produces.join(',');
318
+ }
319
+ let localVarFormParams: any = {};
320
+
321
+ // verify required parameter 'id' is not null or undefined
322
+ if (id === null || id === undefined) {
323
+ throw new Error('Required parameter id was null or undefined when calling restoreImageGrid.');
324
+ }
325
+
326
+ (<any>Object).assign(localVarHeaderParams, options.headers);
327
+
328
+ let localVarUseFormData = false;
329
+
330
+ let localVarRequestOptions: localVarRequest.Options = {
331
+ method: 'PATCH',
332
+ qs: localVarQueryParameters,
333
+ headers: localVarHeaderParams,
334
+ uri: localVarPath,
335
+ useQuerystring: this._useQuerystring,
336
+ json: true,
337
+ };
338
+
339
+ let authenticationPromise = Promise.resolve();
340
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
341
+
342
+ let interceptorPromise = authenticationPromise;
343
+ for (const interceptor of this.interceptors) {
344
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
345
+ }
346
+
347
+ return interceptorPromise.then(() => {
348
+ if (Object.keys(localVarFormParams).length) {
349
+ if (localVarUseFormData) {
350
+ (<any>localVarRequestOptions).formData = localVarFormParams;
351
+ } else {
352
+ localVarRequestOptions.form = localVarFormParams;
353
+ }
354
+ }
355
+ return new Promise<{ response: http.IncomingMessage; body: ImageGrid; }>((resolve, reject) => {
356
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
357
+ if (error) {
358
+ reject(error);
359
+ } else {
360
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
361
+ body = ObjectSerializer.deserialize(body, "ImageGrid");
362
+ resolve({ response: response, body: body });
363
+ } else {
364
+ reject(new HttpError(response, body, response.statusCode));
365
+ }
366
+ }
367
+ });
368
+ });
369
+ });
370
+ }
371
+ /**
372
+ *
373
+ * @summary Update image
374
+ * @param id
375
+ * @param wTImageGridUpdateParams
376
+ */
377
+ public async updateImageGrid (id: any, wTImageGridUpdateParams: WTImageGridUpdateParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImageGrid; }> {
378
+ const localVarPath = this.basePath + '/v2/imageGrid/{id}'
379
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
380
+ let localVarQueryParameters: any = {};
381
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
382
+ const produces = ['application/json'];
383
+ // give precedence to 'application/json'
384
+ if (produces.indexOf('application/json') >= 0) {
385
+ localVarHeaderParams.Accept = 'application/json';
386
+ } else {
387
+ localVarHeaderParams.Accept = produces.join(',');
388
+ }
389
+ let localVarFormParams: any = {};
390
+
391
+ // verify required parameter 'id' is not null or undefined
392
+ if (id === null || id === undefined) {
393
+ throw new Error('Required parameter id was null or undefined when calling updateImageGrid.');
394
+ }
395
+
396
+ // verify required parameter 'wTImageGridUpdateParams' is not null or undefined
397
+ if (wTImageGridUpdateParams === null || wTImageGridUpdateParams === undefined) {
398
+ throw new Error('Required parameter wTImageGridUpdateParams was null or undefined when calling updateImageGrid.');
399
+ }
400
+
401
+ (<any>Object).assign(localVarHeaderParams, options.headers);
402
+
403
+ let localVarUseFormData = false;
404
+
405
+ let localVarRequestOptions: localVarRequest.Options = {
406
+ method: 'PUT',
407
+ qs: localVarQueryParameters,
408
+ headers: localVarHeaderParams,
409
+ uri: localVarPath,
410
+ useQuerystring: this._useQuerystring,
411
+ json: true,
412
+ body: ObjectSerializer.serialize(wTImageGridUpdateParams, "WTImageGridUpdateParams")
413
+ };
414
+
415
+ let authenticationPromise = Promise.resolve();
416
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
417
+
418
+ let interceptorPromise = authenticationPromise;
419
+ for (const interceptor of this.interceptors) {
420
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
421
+ }
422
+
423
+ return interceptorPromise.then(() => {
424
+ if (Object.keys(localVarFormParams).length) {
425
+ if (localVarUseFormData) {
426
+ (<any>localVarRequestOptions).formData = localVarFormParams;
427
+ } else {
428
+ localVarRequestOptions.form = localVarFormParams;
429
+ }
430
+ }
431
+ return new Promise<{ response: http.IncomingMessage; body: ImageGrid; }>((resolve, reject) => {
432
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
433
+ if (error) {
434
+ reject(error);
435
+ } else {
436
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
437
+ body = ObjectSerializer.deserialize(body, "ImageGrid");
438
+ resolve({ response: response, body: body });
439
+ } else {
440
+ reject(new HttpError(response, body, response.statusCode));
441
+ }
442
+ }
443
+ });
444
+ });
445
+ });
446
+ }
447
+ }
@@ -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).
@@ -15,7 +15,7 @@ import localVarRequest from 'request';
15
15
  import http from 'http';
16
16
 
17
17
  /* tslint:disable:no-unused-locals */
18
- import { InlineResponse2001 } from '../model/inlineResponse2001';
18
+ import { InlineResponse200 } from '../model/inlineResponse200';
19
19
  import { InternalServerError } from '../model/internalServerError';
20
20
 
21
21
  import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
@@ -94,7 +94,7 @@ export class IndustriesApi {
94
94
  *
95
95
  * @summary Fetch all industries
96
96
  */
97
- public async fetchAllIndustries (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<InlineResponse2001>; }> {
97
+ public async fetchAllIndustries (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<InlineResponse200>; }> {
98
98
  const localVarPath = this.basePath + '/system/industries/all';
99
99
  let localVarQueryParameters: any = {};
100
100
  let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -136,13 +136,13 @@ export class IndustriesApi {
136
136
  localVarRequestOptions.form = localVarFormParams;
137
137
  }
138
138
  }
139
- return new Promise<{ response: http.IncomingMessage; body: Array<InlineResponse2001>; }>((resolve, reject) => {
139
+ return new Promise<{ response: http.IncomingMessage; body: Array<InlineResponse200>; }>((resolve, reject) => {
140
140
  localVarRequest(localVarRequestOptions, (error, response, body) => {
141
141
  if (error) {
142
142
  reject(error);
143
143
  } else {
144
144
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
145
- body = ObjectSerializer.deserialize(body, "Array<InlineResponse2001>");
145
+ body = ObjectSerializer.deserialize(body, "Array<InlineResponse200>");
146
146
  resolve({ response: response, body: body });
147
147
  } else {
148
148
  reject(new HttpError(response, body, response.statusCode));