wallet 2.1.535 → 2.1.602

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