wallet 2.1.524 → 2.1.527

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 (438) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/README.md +15 -18
  3. package/api/advertisementCreditsApi.ts +1 -1
  4. package/api/analyticsApi.ts +1 -1
  5. package/api/appleWalletSubscribersApi.ts +1 -1
  6. package/api/billingApi.ts +263 -1
  7. package/api/clubMembersPointsApi.ts +1 -1
  8. package/api/configurationApi.ts +1 -1
  9. package/api/countriesApi.ts +1 -1
  10. package/api/customerApi.ts +1 -1
  11. package/api/dashboardApi.ts +1 -1
  12. package/api/dynamicVouchersApi.ts +140 -1
  13. package/api/employeeAPIKeysApi.ts +1 -1
  14. package/api/employeeAccessApi.ts +1 -1
  15. package/api/employeesApi.ts +1 -1
  16. package/api/imageGridApi.ts +1 -1
  17. package/api/industriesApi.ts +1 -1
  18. package/api/infoGenesisReportsApi.ts +1 -1
  19. package/api/integratedTerminalsApi.ts +1 -1
  20. package/api/interactionsApi.ts +78 -1
  21. package/api/linkBookApi.ts +1 -1
  22. package/api/linkBookSectionApi.ts +1 -1
  23. package/api/loginAndLogoutApi.ts +1 -1
  24. package/api/membershipTiersApi.ts +1 -1
  25. package/api/merchantApi.ts +1 -1
  26. package/api/merchantCreditsApi.ts +1 -1
  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 +1 -1
  34. package/api/settingsApi.ts +1 -1
  35. package/api/shopifyTerminalApi.ts +1 -1
  36. package/api/staticVoucherCampaignGroupsApi.ts +1 -1
  37. package/api/staticVoucherCampaignsApi.ts +147 -8
  38. package/api/staticVouchersApi.ts +1 -1
  39. package/api/systemApi.ts +1 -1
  40. package/api/transactionLedgerApi.ts +1 -1
  41. package/api/utilitiesApi.ts +1 -1
  42. package/api/webTerminalApi.ts +1 -1
  43. package/api/wixTerminalApi.ts +1 -1
  44. package/api/wooCommerceTerminalApi.ts +1 -1
  45. package/dist/api/billingApi.d.ts +32 -0
  46. package/dist/api/billingApi.js +236 -0
  47. package/dist/api/billingApi.js.map +1 -1
  48. package/dist/api/dynamicVouchersApi.d.ts +17 -0
  49. package/dist/api/dynamicVouchersApi.js +122 -0
  50. package/dist/api/dynamicVouchersApi.js.map +1 -1
  51. package/dist/api/interactionsApi.d.ts +9 -0
  52. package/dist/api/interactionsApi.js +65 -0
  53. package/dist/api/interactionsApi.js.map +1 -1
  54. package/dist/api/staticVoucherCampaignsApi.d.ts +19 -2
  55. package/dist/api/staticVoucherCampaignsApi.js +126 -4
  56. package/dist/api/staticVoucherCampaignsApi.js.map +1 -1
  57. package/dist/model/advertisementCreditScan.d.ts +1 -1
  58. package/dist/model/advertisementCreditScan.js +5 -5
  59. package/dist/model/advertisementCreditScan.js.map +1 -1
  60. package/dist/model/browserDetails.d.ts +17 -0
  61. package/dist/model/browserDetails.js +33 -0
  62. package/dist/model/browserDetails.js.map +1 -0
  63. package/dist/model/createStaticVoucherCampaign.d.ts +0 -1
  64. package/dist/model/createStaticVoucherCampaign.js +0 -5
  65. package/dist/model/createStaticVoucherCampaign.js.map +1 -1
  66. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.d.ts +0 -1
  67. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js +0 -5
  68. package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js.map +1 -1
  69. package/dist/model/dynamicVoucher.d.ts +1 -1
  70. package/dist/model/dynamicVoucher.js +5 -5
  71. package/dist/model/dynamicVoucher.js.map +1 -1
  72. package/dist/model/member.d.ts +1 -1
  73. package/dist/model/member.js +5 -5
  74. package/dist/model/member.js.map +1 -1
  75. package/dist/model/models.d.ts +4 -3
  76. package/dist/model/models.js +6 -3
  77. package/dist/model/models.js.map +1 -1
  78. package/dist/model/outboundSMS.d.ts +1 -1
  79. package/dist/model/outboundSMS.js +5 -5
  80. package/dist/model/outboundSMS.js.map +1 -1
  81. package/dist/model/{createStaticVoucherCampaignWithVoucher.d.ts → pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.d.ts} +4 -5
  82. package/dist/model/{createStaticVoucherCampaignWithVoucher.js → pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.js} +20 -25
  83. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.js.map +1 -0
  84. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.d.ts +0 -1
  85. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js +0 -5
  86. package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js.map +1 -1
  87. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.d.ts +1 -1
  88. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js +5 -5
  89. package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js.map +1 -1
  90. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.d.ts +1 -1
  91. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js +5 -5
  92. package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js.map +1 -1
  93. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +1 -1
  94. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +5 -5
  95. package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -1
  96. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.d.ts +1 -1
  97. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js +5 -5
  98. package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js.map +1 -1
  99. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.d.ts +0 -1
  100. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js +0 -5
  101. package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js.map +1 -1
  102. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.d.ts +1 -1
  103. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js +5 -5
  104. package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -1
  105. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.d.ts +1 -1
  106. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js +5 -5
  107. package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js.map +1 -1
  108. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +1 -1
  109. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js +5 -5
  110. package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js.map +1 -1
  111. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.d.ts +0 -1
  112. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js +0 -5
  113. package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js.map +1 -1
  114. package/dist/model/portalPage.d.ts +1 -0
  115. package/dist/model/portalPage.js +1 -0
  116. package/dist/model/portalPage.js.map +1 -1
  117. package/dist/model/staticVoucher.d.ts +1 -1
  118. package/dist/model/staticVoucher.js +5 -5
  119. package/dist/model/staticVoucher.js.map +1 -1
  120. package/dist/model/staticVoucherCampaign.d.ts +1 -1
  121. package/dist/model/staticVoucherCampaign.js +5 -5
  122. package/dist/model/staticVoucherCampaign.js.map +1 -1
  123. package/dist/model/staticVoucherCampaignBroadcast.d.ts +1 -1
  124. package/dist/model/staticVoucherCampaignBroadcast.js +5 -5
  125. package/dist/model/staticVoucherCampaignBroadcast.js.map +1 -1
  126. package/dist/model/staticVoucherCampaignUpdate.d.ts +0 -1
  127. package/dist/model/staticVoucherCampaignUpdate.js +0 -5
  128. package/dist/model/staticVoucherCampaignUpdate.js.map +1 -1
  129. package/dist/model/updateStaticVoucherCampaignWithVoucher.d.ts +0 -1
  130. package/dist/model/updateStaticVoucherCampaignWithVoucher.js +0 -5
  131. package/dist/model/updateStaticVoucherCampaignWithVoucher.js.map +1 -1
  132. package/dist/model/wTAdvertisementCreditScan.d.ts +1 -1
  133. package/dist/model/wTAdvertisementCreditScan.js +5 -5
  134. package/dist/model/wTAdvertisementCreditScan.js.map +1 -1
  135. package/dist/model/wTDynamicVoucher.d.ts +1 -1
  136. package/dist/model/wTDynamicVoucher.js +5 -5
  137. package/dist/model/wTDynamicVoucher.js.map +1 -1
  138. package/dist/model/wTDynamicVoucherCreateParams.d.ts +0 -1
  139. package/dist/model/wTDynamicVoucherCreateParams.js +0 -5
  140. package/dist/model/wTDynamicVoucherCreateParams.js.map +1 -1
  141. package/dist/model/wTDynamicVoucherUpdateParams.d.ts +0 -1
  142. package/dist/model/wTDynamicVoucherUpdateParams.js +0 -5
  143. package/dist/model/wTDynamicVoucherUpdateParams.js.map +1 -1
  144. package/dist/model/wTMember.d.ts +1 -1
  145. package/dist/model/wTMember.js +5 -5
  146. package/dist/model/wTMember.js.map +1 -1
  147. package/dist/model/wTMerchantCredit.d.ts +1 -1
  148. package/dist/model/wTMerchantCredit.js +5 -5
  149. package/dist/model/wTMerchantCredit.js.map +1 -1
  150. package/dist/model/wTStaticVoucher.d.ts +1 -1
  151. package/dist/model/wTStaticVoucher.js +5 -5
  152. package/dist/model/wTStaticVoucher.js.map +1 -1
  153. package/dist/model/wTStaticVoucherCampaign.d.ts +1 -1
  154. package/dist/model/wTStaticVoucherCampaign.js +5 -5
  155. package/dist/model/wTStaticVoucherCampaign.js.map +1 -1
  156. package/model/advertisementCredit.ts +1 -1
  157. package/model/advertisementCreditBroadcast.ts +1 -1
  158. package/model/advertisementCreditScan.ts +7 -7
  159. package/model/agreement.ts +1 -1
  160. package/model/alert.ts +1 -1
  161. package/model/announcement.ts +1 -1
  162. package/model/applicableTerminals.ts +1 -1
  163. package/model/applicableTerminalsAnyOf.ts +1 -1
  164. package/model/applicableTerminalsAnyOf1.ts +1 -1
  165. package/model/applicableTerminalsAnyOf2.ts +1 -1
  166. package/model/applicableTerminalsAnyOf3.ts +1 -1
  167. package/model/applicableTerminalsAnyOf4.ts +1 -1
  168. package/model/applicableTerminalsAnyOf5.ts +1 -1
  169. package/model/applicableTerminalsAnyOf6.ts +1 -1
  170. package/model/authError.ts +1 -1
  171. package/model/availablePhoneNumbersRequest.ts +1 -1
  172. package/model/browserDetails.ts +49 -0
  173. package/model/clickFunnelAmount.ts +1 -1
  174. package/model/clickFunnelContact.ts +1 -1
  175. package/model/clickFunnelContactProfile.ts +1 -1
  176. package/model/clickFunnelEvent.ts +1 -1
  177. package/model/clickFunnelOriginalAmount.ts +1 -1
  178. package/model/clickFunnelProduct.ts +1 -1
  179. package/model/clickFunnelPurchase.ts +1 -1
  180. package/model/clickFunnelRegistration.ts +1 -1
  181. package/model/createStaticVoucherCampaign.ts +1 -7
  182. package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +1 -7
  183. package/model/dashboardWidget.ts +1 -1
  184. package/model/document.ts +1 -1
  185. package/model/duplicateRowFound.ts +1 -1
  186. package/model/dynamicVoucher.ts +7 -7
  187. package/model/dynamicVoucherBroadcast.ts +1 -1
  188. package/model/employee.ts +1 -1
  189. package/model/employeeAPIKey.ts +1 -1
  190. package/model/employeeActivityLog.ts +1 -1
  191. package/model/entityTooLarge.ts +1 -1
  192. package/model/exportDataFile.ts +1 -1
  193. package/model/falsumError.ts +1 -1
  194. package/model/falsumField.ts +1 -1
  195. package/model/feature.ts +1 -1
  196. package/model/forbiddenRequest.ts +1 -1
  197. package/model/foreignKeyDoesNotExist.ts +1 -1
  198. package/model/helpDeskRequest.ts +1 -1
  199. package/model/imageGrid.ts +1 -1
  200. package/model/importedList.ts +1 -1
  201. package/model/importedListRecipient.ts +1 -1
  202. package/model/inboundSMS.ts +1 -1
  203. package/model/inlineResponse200.ts +1 -1
  204. package/model/inlineResponse2001.ts +1 -1
  205. package/model/inlineResponse20010.ts +1 -1
  206. package/model/inlineResponse2002.ts +1 -1
  207. package/model/inlineResponse2003.ts +1 -1
  208. package/model/inlineResponse2004.ts +1 -1
  209. package/model/inlineResponse2005.ts +1 -1
  210. package/model/inlineResponse2006.ts +1 -1
  211. package/model/inlineResponse2007.ts +1 -1
  212. package/model/inlineResponse2008.ts +1 -1
  213. package/model/inlineResponse2009.ts +1 -1
  214. package/model/internalServerError.ts +1 -1
  215. package/model/ledgerEntry.ts +1 -1
  216. package/model/linkBook.ts +1 -1
  217. package/model/linkBookSection.ts +1 -1
  218. package/model/mSAnalyticsMemberCountPartitionedByDate.ts +1 -1
  219. package/model/mSAnalyticsMemberPointsRedeemedPartitionedByDate.ts +1 -1
  220. package/model/mSAnalyticsMemberPointsRefundedPartitionedByDate.ts +1 -1
  221. package/model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate.ts +1 -1
  222. package/model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate.ts +1 -1
  223. package/model/mSMemberHistory.ts +1 -1
  224. package/model/mSMemberHistoryPagination.ts +1 -1
  225. package/model/mSMemberRedemption.ts +1 -1
  226. package/model/mSMemberRedemptionPagination.ts +1 -1
  227. package/model/mSMembershipTierHistory.ts +1 -1
  228. package/model/mSMembershipTierHistoryPagination.ts +1 -1
  229. package/model/mSMembershipTierRedemption.ts +1 -1
  230. package/model/mSMembershipTierRedemptionPagination.ts +1 -1
  231. package/model/mSMerchantCreditHistory.ts +1 -1
  232. package/model/mSMerchantCreditHistoryPagination.ts +1 -1
  233. package/model/mSMerchantCreditRedemption.ts +1 -1
  234. package/model/mSMerchantCreditRedemptionPagination.ts +1 -1
  235. package/model/mediaFile.ts +1 -1
  236. package/model/member.ts +10 -10
  237. package/model/memberSearch.ts +1 -1
  238. package/model/merchant.ts +1 -1
  239. package/model/merchantCreditSearch.ts +1 -1
  240. package/model/merchantNotInitialized.ts +1 -1
  241. package/model/merchantURL.ts +1 -1
  242. package/model/message.ts +1 -1
  243. package/model/models.ts +6 -3
  244. package/model/moduleError.ts +1 -1
  245. package/model/newsArticle.ts +1 -1
  246. package/model/optInList.ts +1 -1
  247. package/model/optInListSource.ts +1 -1
  248. package/model/optInListSubscriber.ts +1 -1
  249. package/model/outboundSMS.ts +7 -7
  250. package/model/paginatedWTMembers.ts +1 -1
  251. package/model/paginatedWTMerchantCredits.ts +1 -1
  252. package/model/paginationRequestWithIDAndWithoutSortOptions.ts +1 -1
  253. package/model/paginationRequestWithSortOptions.ts +1 -1
  254. package/model/paymentDesign.ts +1 -1
  255. package/model/paymentPrefixes.ts +1 -1
  256. package/model/performance.ts +1 -1
  257. package/model/phoneNumber.ts +1 -1
  258. package/model/{createStaticVoucherCampaignWithVoucher.ts → pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.ts} +22 -25
  259. package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +1 -7
  260. package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +1 -1
  261. package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +1 -1
  262. package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +1 -1
  263. package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +10 -10
  264. package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +1 -1
  265. package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +10 -10
  266. package/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.ts +1 -1
  267. package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +1 -1
  268. package/model/pickSSImportedListRecipientFromMembershipTierImportExcludeKeyofSSImportedListRecipientFromMembershipTierImportEmployeeIDOrTierID.ts +1 -1
  269. package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +1 -1
  270. package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +1 -1
  271. package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeIDOrOptInConfirmedMediaURLsOrOptOutConfirmedMediaURLs.ts +1 -1
  272. package/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts +1 -1
  273. package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +1 -1
  274. package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +1 -1
  275. package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +7 -7
  276. package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +1 -1
  277. package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +7 -7
  278. package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +1 -1
  279. package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +1 -7
  280. package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +7 -7
  281. package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +1 -1
  282. package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +1 -1
  283. package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +7 -7
  284. package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +1 -1
  285. package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +1 -1
  286. package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +1 -1
  287. package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +1 -1
  288. package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +1 -1
  289. package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +7 -7
  290. package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -7
  291. package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
  292. package/model/plan.ts +1 -1
  293. package/model/portalPage.ts +2 -1
  294. package/model/presignedPost.ts +1 -1
  295. package/model/presignedPostFields.ts +1 -1
  296. package/model/product.ts +1 -1
  297. package/model/promoCode.ts +1 -1
  298. package/model/reachPerformanceStats.ts +1 -1
  299. package/model/request.ts +1 -1
  300. package/model/response.ts +1 -1
  301. package/model/role.ts +1 -1
  302. package/model/roleAuditLog.ts +1 -1
  303. package/model/sSImportedListRecipientCreateParams.ts +1 -1
  304. package/model/sSOptInSource.ts +1 -1
  305. package/model/simpleSMSBroadcast.ts +1 -1
  306. package/model/staticVoucher.ts +7 -7
  307. package/model/staticVoucherCampaign.ts +7 -7
  308. package/model/staticVoucherCampaignBroadcast.ts +7 -7
  309. package/model/staticVoucherCampaignGroup.ts +1 -1
  310. package/model/staticVoucherCampaignUpdate.ts +1 -7
  311. package/model/status.ts +1 -1
  312. package/model/statusAnyOf.ts +1 -1
  313. package/model/statusAnyOf1.ts +1 -1
  314. package/model/statusAnyOf2.ts +1 -1
  315. package/model/statusAnyOf3.ts +1 -1
  316. package/model/subscriptionFeature.ts +1 -1
  317. package/model/subscriptionPlan.ts +1 -1
  318. package/model/subscriptionProduct.ts +1 -1
  319. package/model/tcpa.ts +1 -1
  320. package/model/updateStaticVoucherCampaignWithVoucher.ts +1 -7
  321. package/model/vSCampaignGeneratedMessage.ts +1 -1
  322. package/model/vSCampaignGeneratedMessagePagination.ts +1 -1
  323. package/model/vSDynamicVoucherStatus.ts +1 -1
  324. package/model/wTAdvertisementCredit.ts +1 -1
  325. package/model/wTAdvertisementCreditCreateParams.ts +1 -1
  326. package/model/wTAdvertisementCreditScan.ts +7 -7
  327. package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
  328. package/model/wTAuthenticationCheckSessionTokenStatusResponse.ts +1 -1
  329. package/model/wTAuthenticationForgotPassword.ts +1 -1
  330. package/model/wTAuthenticationLoginRequest.ts +1 -1
  331. package/model/wTAuthenticationLoginResponse.ts +1 -1
  332. package/model/wTAuthenticationRegister.ts +1 -1
  333. package/model/wTAuthenticationRequestResetPassword.ts +1 -1
  334. package/model/wTAuthenticationResetPassword.ts +1 -1
  335. package/model/wTAuthenticationSSOLoginForDiscourse.ts +1 -1
  336. package/model/wTBillingChangePlan.ts +1 -1
  337. package/model/wTBillingSavePaymentMethod.ts +1 -1
  338. package/model/wTBillingVerifyPaymentMethodResponse.ts +1 -1
  339. package/model/wTCountResult.ts +1 -1
  340. package/model/wTCustomerSearchByMemberID.ts +1 -1
  341. package/model/wTCustomerSearchByPhoneNumber.ts +1 -1
  342. package/model/wTDynamicVoucher.ts +7 -7
  343. package/model/wTDynamicVoucherCreateParams.ts +1 -7
  344. package/model/wTDynamicVoucherRedemption.ts +1 -1
  345. package/model/wTDynamicVoucherSummary.ts +1 -1
  346. package/model/wTDynamicVoucherUpdateParams.ts +1 -7
  347. package/model/wTEmployee.ts +1 -1
  348. package/model/wTEmployeeAPIKey.ts +1 -1
  349. package/model/wTEmployeeAPIKeyCreateParams.ts +1 -1
  350. package/model/wTEmployeeAPIKeyUpdateParams.ts +1 -1
  351. package/model/wTEmployeeCreate.ts +1 -1
  352. package/model/wTEmployeeCreateAlert.ts +1 -1
  353. package/model/wTEmployeeCreateDocument.ts +1 -1
  354. package/model/wTEmployeeCreateMediaFile.ts +1 -1
  355. package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +1 -1
  356. package/model/wTEmployeeFileCreate.ts +1 -1
  357. package/model/wTEmployeeImportRecords.ts +1 -1
  358. package/model/wTEmployeeNotification.ts +1 -1
  359. package/model/wTEmployeePeerRoles.ts +1 -1
  360. package/model/wTEmployeeS3FilePresign.ts +1 -1
  361. package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +1 -1
  362. package/model/wTEmployeeScheduleSimpleSMS.ts +1 -1
  363. package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +1 -1
  364. package/model/wTEmployeeSendHelpDeskResponse.ts +1 -1
  365. package/model/wTEmployeeUpdate.ts +1 -1
  366. package/model/wTEmployeeUpdateRecords.ts +1 -1
  367. package/model/wTFetchWalletPaymentObjectWithToken.ts +1 -1
  368. package/model/wTImageGridCreateParams.ts +1 -1
  369. package/model/wTImageGridUpdateParams.ts +1 -1
  370. package/model/wTImportedList.ts +1 -1
  371. package/model/wTImportedListRecipientFromMembershipTierImport.ts +1 -1
  372. package/model/wTInfoGenesisLookupRequestErrors.ts +1 -1
  373. package/model/wTInfoGenesisRecordFilterParameters.ts +1 -1
  374. package/model/wTInfoGenesisRoutingIDs.ts +1 -1
  375. package/model/wTInfoGenesisUniquePostingIDs.ts +1 -1
  376. package/model/wTLinkBook.ts +1 -1
  377. package/model/wTLinkBookCreateParams.ts +1 -1
  378. package/model/wTLinkBookSectionCreateParams.ts +1 -1
  379. package/model/wTLinkBookSectionUpdateParams.ts +1 -1
  380. package/model/wTLinkBookUpdateParams.ts +1 -1
  381. package/model/wTMember.ts +10 -10
  382. package/model/wTMemberCreationParams.ts +1 -1
  383. package/model/wTMembershipTier.ts +1 -1
  384. package/model/wTMembershipTierCreationParams.ts +1 -1
  385. package/model/wTMembershipTierUpdateParams.ts +1 -1
  386. package/model/wTMembershipTierWithMemberCount.ts +1 -1
  387. package/model/wTMerchantCredit.ts +10 -10
  388. package/model/wTMerchantCreditCreationParams.ts +1 -1
  389. package/model/wTMerchantURLCreate.ts +1 -1
  390. package/model/wTMerchantURLUpdate.ts +1 -1
  391. package/model/wTMerchantUpdate.ts +1 -1
  392. package/model/wTMerchantUpdateBillingContact.ts +1 -1
  393. package/model/wTMerchantUpdatePOSIntegration.ts +1 -1
  394. package/model/wTNewsArticleCreateParams.ts +1 -1
  395. package/model/wTNewsArticleUpdateParams.ts +1 -1
  396. package/model/wTOptInList.ts +1 -1
  397. package/model/wTOptInListCreationParams.ts +1 -1
  398. package/model/wTPaymentDesign.ts +1 -1
  399. package/model/wTPaymentDesignCreateParams.ts +1 -1
  400. package/model/wTPaymentDesignUpdateParams.ts +1 -1
  401. package/model/wTPerformanceCreateParams.ts +1 -1
  402. package/model/wTPerformanceUpdateParams.ts +1 -1
  403. package/model/wTPosMachine.ts +1 -1
  404. package/model/wTPosMachineCreateParams.ts +1 -1
  405. package/model/wTPosMachineUpdateParams.ts +1 -1
  406. package/model/wTPromoCodeCreateParams.ts +1 -1
  407. package/model/wTPromoCodeUpdateParams.ts +1 -1
  408. package/model/wTRole.ts +1 -1
  409. package/model/wTSMSAcquirePhoneNumber.ts +1 -1
  410. package/model/wTSMSCreateAgreement.ts +1 -1
  411. package/model/wTSMSImportOptInListSubscribers.ts +1 -1
  412. package/model/wTSMSImportedListCreate.ts +1 -1
  413. package/model/wTSMSLimits.ts +1 -1
  414. package/model/wTSMSOptInListSourceCreate.ts +1 -1
  415. package/model/wTSMSUpdatePhoneNumberConfig.ts +1 -1
  416. package/model/wTSettingsSetPassword.ts +1 -1
  417. package/model/wTStaticVoucher.ts +7 -7
  418. package/model/wTStaticVoucherCampaign.ts +7 -7
  419. package/model/wTStaticVoucherCampaignPreviewMessages.ts +1 -1
  420. package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +1 -1
  421. package/model/wTStaticVoucherCreateParams.ts +1 -1
  422. package/model/wTStaticVoucherUpdateParams.ts +1 -1
  423. package/model/wTSystemApprovePhoneNumber.ts +1 -1
  424. package/model/wTSystemRoleCreate.ts +1 -1
  425. package/model/wTTCPAOpt.ts +1 -1
  426. package/model/wTTwilioRequestAuthyCode.ts +1 -1
  427. package/model/wTTwilioVerifyAuthyCode.ts +1 -1
  428. package/model/wTWalletConfigurationSaveWalletRecord.ts +1 -1
  429. package/model/wTWalletItemRedemption.ts +1 -1
  430. package/model/wTWalletObjectPrefixCounts.ts +1 -1
  431. package/model/wTWalletPageView.ts +1 -1
  432. package/model/wTWalletPageViewCount.ts +1 -1
  433. package/model/wTWalletPageViewGeoPoint.ts +1 -1
  434. package/model/walletConfiguration.ts +1 -1
  435. package/model/walletPageView.ts +1 -1
  436. package/model/webpage.ts +1 -1
  437. package/package.json +1 -1
  438. package/dist/model/createStaticVoucherCampaignWithVoucher.js.map +0 -1
@@ -60,6 +60,7 @@ model/applicableTerminalsAnyOf5.ts
60
60
  model/applicableTerminalsAnyOf6.ts
61
61
  model/authError.ts
62
62
  model/availablePhoneNumbersRequest.ts
63
+ model/browserDetails.ts
63
64
  model/clickFunnelAmount.ts
64
65
  model/clickFunnelContact.ts
65
66
  model/clickFunnelContactProfile.ts
@@ -69,7 +70,6 @@ model/clickFunnelProduct.ts
69
70
  model/clickFunnelPurchase.ts
70
71
  model/clickFunnelRegistration.ts
71
72
  model/createStaticVoucherCampaign.ts
72
- model/createStaticVoucherCampaignWithVoucher.ts
73
73
  model/createStaticVoucherCampaignWithVoucherWithCSV.ts
74
74
  model/dashboardWidget.ts
75
75
  model/document.ts
@@ -146,6 +146,7 @@ model/paymentDesign.ts
146
146
  model/paymentPrefixes.ts
147
147
  model/performance.ts
148
148
  model/phoneNumber.ts
149
+ model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherIsActive.ts
149
150
  model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts
150
151
  model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts
151
152
  model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts
package/README.md CHANGED
@@ -1,13 +1,12 @@
1
-
2
1
  ![Wallet Inc](https://resources.wallet.inc/logos/wallet-350x96.png)
3
2
 
4
3
  > Access to this module is presently restricted to customers of Wallet Inc. Reach out on [Discord](https://discord.gg/xzwhcNCjcQ) for help.
5
4
 
6
5
  ## Summary
7
6
 
8
- This module provides a server-side SDK for integrating with the CRM & Digital Payments platform provided by Wallet Inc. For details about the [Wallet Platform](https://wallet.inc), please visit https://wallet.inc
7
+ This module provides a server-side SDK for integrating with the CRM & Digital Payments platform provided by Wallet Inc. For details about the [Wallet Platform](https://wall.et/MU8JyjoD9KwA), please visit https://wallet.inc
9
8
 
10
- For detailed API documentation and detailed steps to create your API key for authenticated requests, please visit the [Wallet Developer Hub](https://wallet.dev) (https://wallet.dev)
9
+ For detailed API documentation and detailed steps to create your API key for authenticated requests, please visit the [Wallet Developer Hub](https://wall.et/MURcyjCOBfEW) (https://wallet.dev)
11
10
 
12
11
  ## Install
13
12
 
@@ -24,7 +23,6 @@ npm install # Install ts-node to run typescript examples without transpilation
24
23
 
25
24
  ## Usage
26
25
 
27
-
28
26
  ### Create and manipulate Membership Tiers
29
27
 
30
28
  ```nodejs
@@ -107,7 +105,7 @@ async function membershipTiers() {
107
105
  console.log(tiersList);
108
106
  }
109
107
  ```
110
-
108
+
111
109
  ### Create and manipulate Payment Designs
112
110
 
113
111
  ```nodejs
@@ -180,7 +178,7 @@ async function paymentDesigns() {
180
178
  console.log(designs);
181
179
  }
182
180
  ```
183
-
181
+
184
182
  ### Create and manipulate Club Members
185
183
 
186
184
  ```nodejs
@@ -272,7 +270,7 @@ async function clubMembers() {
272
270
  console.log(membersCount);
273
271
  }
274
272
  ```
275
-
273
+
276
274
  ### Create and manipulate Advertisement Credits
277
275
 
278
276
  ```nodejs
@@ -348,7 +346,7 @@ async function advertisementCredits() {
348
346
  console.log("Active advertisement credits: ", JSON.stringify(adCredit));
349
347
  }
350
348
  ```
351
-
349
+
352
350
  ### Create and manipulate Link Book Links
353
351
 
354
352
  ```nodejs
@@ -411,7 +409,7 @@ async function linkBook() {
411
409
  console.log(links);
412
410
  }
413
411
  ```
414
-
412
+
415
413
  ### Create and manipulate Merchant URLs
416
414
 
417
415
  ```nodejs
@@ -479,7 +477,7 @@ async function merchantURLs() {
479
477
  console.log(pageViews);
480
478
  }
481
479
  ```
482
-
480
+
483
481
  ### Create and manipulate News Articles
484
482
 
485
483
  ```nodejs
@@ -543,7 +541,7 @@ async function news() {
543
541
  console.log(articles);
544
542
  }
545
543
  ```
546
-
544
+
547
545
  ### Create and manipulate Performances
548
546
 
549
547
  ```nodejs
@@ -611,7 +609,7 @@ async function performances() {
611
609
  console.log(performances);
612
610
  }
613
611
  ```
614
-
612
+
615
613
  ### Create and manipulate Promo Codes
616
614
 
617
615
  ```nodejs
@@ -676,7 +674,7 @@ async function promocodes() {
676
674
  console.log(promocodes);
677
675
  }
678
676
  ```
679
-
677
+
680
678
  ### Create and manipulate Merchant Credits
681
679
 
682
680
  ```nodejs
@@ -766,7 +764,7 @@ async function merchantCredits() {
766
764
  console.log(merchantcreditsCount);
767
765
  }
768
766
  ```
769
-
767
+
770
768
  ### Create and manipulate Dynamic Vouchers
771
769
 
772
770
  ```nodejs
@@ -878,7 +876,7 @@ async function dynamicVouchers() {
878
876
  console.log(allVouchersReachStats);
879
877
  }
880
878
  ```
881
-
879
+
882
880
  ### Create and manipulate Static Voucher Campaigns
883
881
 
884
882
  ```nodejs
@@ -1075,7 +1073,7 @@ async function staticVoucherCampaigns() {
1075
1073
  console.log(campaignWithVoucher);
1076
1074
  }
1077
1075
  ```
1078
-
1076
+
1079
1077
  ### Create and manipulate Static Vouchers
1080
1078
 
1081
1079
  ```nodejs
@@ -1147,7 +1145,7 @@ async function staticVouchers() {
1147
1145
  console.log(allVouchersReachStats);
1148
1146
  }
1149
1147
  ```
1150
-
1148
+
1151
1149
  ### Create and manipulate SMSes
1152
1150
 
1153
1151
  ```nodejs
@@ -1457,4 +1455,3 @@ async function smsExample() {
1457
1455
  console.log(`Max: ${limits.max}, Sent: ${limits.sent}`);
1458
1456
  }
1459
1457
  ```
1460
-
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.524
5
+ * The version of the OpenAPI document: 2.1.527
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.524
5
+ * The version of the OpenAPI document: 2.1.527
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.524
5
+ * The version of the OpenAPI document: 2.1.527
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/billingApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.524
5
+ * The version of the OpenAPI document: 2.1.527
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -95,6 +95,144 @@ export class BillingApi {
95
95
  this.interceptors.push(interceptor);
96
96
  }
97
97
 
98
+ /**
99
+ *
100
+ * @summary Fetch add-on products, or 1-time purchase products (non-subscription products)
101
+ * @param productID
102
+ */
103
+ public async buyAddOn (productID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
104
+ const localVarPath = this.basePath + '/v2/billing/products/addOns/{productID}'
105
+ .replace('{' + 'productID' + '}', encodeURIComponent(String(productID)));
106
+ let localVarQueryParameters: any = {};
107
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
108
+ const produces = ['application/json'];
109
+ // give precedence to 'application/json'
110
+ if (produces.indexOf('application/json') >= 0) {
111
+ localVarHeaderParams.Accept = 'application/json';
112
+ } else {
113
+ localVarHeaderParams.Accept = produces.join(',');
114
+ }
115
+ let localVarFormParams: any = {};
116
+
117
+ // verify required parameter 'productID' is not null or undefined
118
+ if (productID === null || productID === undefined) {
119
+ throw new Error('Required parameter productID was null or undefined when calling buyAddOn.');
120
+ }
121
+
122
+ (<any>Object).assign(localVarHeaderParams, options.headers);
123
+
124
+ let localVarUseFormData = false;
125
+
126
+ let localVarRequestOptions: localVarRequest.Options = {
127
+ method: 'POST',
128
+ qs: localVarQueryParameters,
129
+ headers: localVarHeaderParams,
130
+ uri: localVarPath,
131
+ useQuerystring: this._useQuerystring,
132
+ json: true,
133
+ };
134
+
135
+ let authenticationPromise = Promise.resolve();
136
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
137
+
138
+ let interceptorPromise = authenticationPromise;
139
+ for (const interceptor of this.interceptors) {
140
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
141
+ }
142
+
143
+ return interceptorPromise.then(() => {
144
+ if (Object.keys(localVarFormParams).length) {
145
+ if (localVarUseFormData) {
146
+ (<any>localVarRequestOptions).formData = localVarFormParams;
147
+ } else {
148
+ localVarRequestOptions.form = localVarFormParams;
149
+ }
150
+ }
151
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
152
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
153
+ if (error) {
154
+ reject(error);
155
+ } else {
156
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
157
+ body = ObjectSerializer.deserialize(body, "any");
158
+ resolve({ response: response, body: body });
159
+ } else {
160
+ reject(new HttpError(response, body, response.statusCode));
161
+ }
162
+ }
163
+ });
164
+ });
165
+ });
166
+ }
167
+ /**
168
+ *
169
+ * @summary Buy special offer
170
+ * @param productID
171
+ */
172
+ public async buySpecialOffer (productID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
173
+ const localVarPath = this.basePath + '/v2/billing/products/specialOffers/{productID}'
174
+ .replace('{' + 'productID' + '}', encodeURIComponent(String(productID)));
175
+ let localVarQueryParameters: any = {};
176
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
177
+ const produces = ['application/json'];
178
+ // give precedence to 'application/json'
179
+ if (produces.indexOf('application/json') >= 0) {
180
+ localVarHeaderParams.Accept = 'application/json';
181
+ } else {
182
+ localVarHeaderParams.Accept = produces.join(',');
183
+ }
184
+ let localVarFormParams: any = {};
185
+
186
+ // verify required parameter 'productID' is not null or undefined
187
+ if (productID === null || productID === undefined) {
188
+ throw new Error('Required parameter productID was null or undefined when calling buySpecialOffer.');
189
+ }
190
+
191
+ (<any>Object).assign(localVarHeaderParams, options.headers);
192
+
193
+ let localVarUseFormData = false;
194
+
195
+ let localVarRequestOptions: localVarRequest.Options = {
196
+ method: 'POST',
197
+ qs: localVarQueryParameters,
198
+ headers: localVarHeaderParams,
199
+ uri: localVarPath,
200
+ useQuerystring: this._useQuerystring,
201
+ json: true,
202
+ };
203
+
204
+ let authenticationPromise = Promise.resolve();
205
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
206
+
207
+ let interceptorPromise = authenticationPromise;
208
+ for (const interceptor of this.interceptors) {
209
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
210
+ }
211
+
212
+ return interceptorPromise.then(() => {
213
+ if (Object.keys(localVarFormParams).length) {
214
+ if (localVarUseFormData) {
215
+ (<any>localVarRequestOptions).formData = localVarFormParams;
216
+ } else {
217
+ localVarRequestOptions.form = localVarFormParams;
218
+ }
219
+ }
220
+ return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
221
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
222
+ if (error) {
223
+ reject(error);
224
+ } else {
225
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
226
+ body = ObjectSerializer.deserialize(body, "any");
227
+ resolve({ response: response, body: body });
228
+ } else {
229
+ reject(new HttpError(response, body, response.statusCode));
230
+ }
231
+ }
232
+ });
233
+ });
234
+ });
235
+ }
98
236
  /**
99
237
  *
100
238
  * @summary Cancel billing plan and revert to default
@@ -226,6 +364,68 @@ export class BillingApi {
226
364
  });
227
365
  });
228
366
  }
367
+ /**
368
+ *
369
+ * @summary Fetch add-on products, or 1-time purchase products (non-subscription products)
370
+ */
371
+ public async fetchAddOns (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<any>; }> {
372
+ const localVarPath = this.basePath + '/v2/billing/products/addOns';
373
+ let localVarQueryParameters: any = {};
374
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
375
+ const produces = ['application/json'];
376
+ // give precedence to 'application/json'
377
+ if (produces.indexOf('application/json') >= 0) {
378
+ localVarHeaderParams.Accept = 'application/json';
379
+ } else {
380
+ localVarHeaderParams.Accept = produces.join(',');
381
+ }
382
+ let localVarFormParams: any = {};
383
+
384
+ (<any>Object).assign(localVarHeaderParams, options.headers);
385
+
386
+ let localVarUseFormData = false;
387
+
388
+ let localVarRequestOptions: localVarRequest.Options = {
389
+ method: 'GET',
390
+ qs: localVarQueryParameters,
391
+ headers: localVarHeaderParams,
392
+ uri: localVarPath,
393
+ useQuerystring: this._useQuerystring,
394
+ json: true,
395
+ };
396
+
397
+ let authenticationPromise = Promise.resolve();
398
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
399
+
400
+ let interceptorPromise = authenticationPromise;
401
+ for (const interceptor of this.interceptors) {
402
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
403
+ }
404
+
405
+ return interceptorPromise.then(() => {
406
+ if (Object.keys(localVarFormParams).length) {
407
+ if (localVarUseFormData) {
408
+ (<any>localVarRequestOptions).formData = localVarFormParams;
409
+ } else {
410
+ localVarRequestOptions.form = localVarFormParams;
411
+ }
412
+ }
413
+ return new Promise<{ response: http.IncomingMessage; body: Array<any>; }>((resolve, reject) => {
414
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
415
+ if (error) {
416
+ reject(error);
417
+ } else {
418
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
419
+ body = ObjectSerializer.deserialize(body, "Array<any>");
420
+ resolve({ response: response, body: body });
421
+ } else {
422
+ reject(new HttpError(response, body, response.statusCode));
423
+ }
424
+ }
425
+ });
426
+ });
427
+ });
428
+ }
229
429
  /**
230
430
  *
231
431
  * @summary Fetch merchant\'s industry
@@ -350,6 +550,68 @@ export class BillingApi {
350
550
  });
351
551
  });
352
552
  }
553
+ /**
554
+ *
555
+ * @summary Fetch special offer products
556
+ */
557
+ public async fetchSpecialOffers (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<any>; }> {
558
+ const localVarPath = this.basePath + '/v2/billing/products/specialOffers';
559
+ let localVarQueryParameters: any = {};
560
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
561
+ const produces = ['application/json'];
562
+ // give precedence to 'application/json'
563
+ if (produces.indexOf('application/json') >= 0) {
564
+ localVarHeaderParams.Accept = 'application/json';
565
+ } else {
566
+ localVarHeaderParams.Accept = produces.join(',');
567
+ }
568
+ let localVarFormParams: any = {};
569
+
570
+ (<any>Object).assign(localVarHeaderParams, options.headers);
571
+
572
+ let localVarUseFormData = false;
573
+
574
+ let localVarRequestOptions: localVarRequest.Options = {
575
+ method: 'GET',
576
+ qs: localVarQueryParameters,
577
+ headers: localVarHeaderParams,
578
+ uri: localVarPath,
579
+ useQuerystring: this._useQuerystring,
580
+ json: true,
581
+ };
582
+
583
+ let authenticationPromise = Promise.resolve();
584
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
585
+
586
+ let interceptorPromise = authenticationPromise;
587
+ for (const interceptor of this.interceptors) {
588
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
589
+ }
590
+
591
+ return interceptorPromise.then(() => {
592
+ if (Object.keys(localVarFormParams).length) {
593
+ if (localVarUseFormData) {
594
+ (<any>localVarRequestOptions).formData = localVarFormParams;
595
+ } else {
596
+ localVarRequestOptions.form = localVarFormParams;
597
+ }
598
+ }
599
+ return new Promise<{ response: http.IncomingMessage; body: Array<any>; }>((resolve, reject) => {
600
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
601
+ if (error) {
602
+ reject(error);
603
+ } else {
604
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
605
+ body = ObjectSerializer.deserialize(body, "Array<any>");
606
+ resolve({ response: response, body: body });
607
+ } else {
608
+ reject(new HttpError(response, body, response.statusCode));
609
+ }
610
+ }
611
+ });
612
+ });
613
+ });
614
+ }
353
615
  /**
354
616
  *
355
617
  * @summary Fetch subscription
@@ -2,7 +2,7 @@
2
2
  * wallet-api
3
3
  * API
4
4
  *
5
- * The version of the OpenAPI document: 2.1.524
5
+ * The version of the OpenAPI document: 2.1.527
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.524
5
+ * The version of the OpenAPI document: 2.1.527
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.524
5
+ * The version of the OpenAPI document: 2.1.527
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.524
5
+ * The version of the OpenAPI document: 2.1.527
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.524
5
+ * The version of the OpenAPI document: 2.1.527
6
6
  * Contact: development@wallet.inc
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).