@gr4vy/sdk 2.0.26 → 2.0.27

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 (434) hide show
  1. package/funcs/accountUpdaterJobsCreate.d.ts.map +1 -1
  2. package/funcs/accountUpdaterJobsCreate.js +2 -16
  3. package/funcs/accountUpdaterJobsCreate.js.map +1 -1
  4. package/funcs/auditLogsList.d.ts.map +1 -1
  5. package/funcs/auditLogsList.js +2 -16
  6. package/funcs/auditLogsList.js.map +1 -1
  7. package/funcs/buyersCreate.d.ts.map +1 -1
  8. package/funcs/buyersCreate.js +2 -16
  9. package/funcs/buyersCreate.js.map +1 -1
  10. package/funcs/buyersDelete.d.ts.map +1 -1
  11. package/funcs/buyersDelete.js +2 -16
  12. package/funcs/buyersDelete.js.map +1 -1
  13. package/funcs/buyersGet.d.ts.map +1 -1
  14. package/funcs/buyersGet.js +2 -16
  15. package/funcs/buyersGet.js.map +1 -1
  16. package/funcs/buyersGiftCardsList.d.ts.map +1 -1
  17. package/funcs/buyersGiftCardsList.js +2 -16
  18. package/funcs/buyersGiftCardsList.js.map +1 -1
  19. package/funcs/buyersList.d.ts.map +1 -1
  20. package/funcs/buyersList.js +2 -16
  21. package/funcs/buyersList.js.map +1 -1
  22. package/funcs/buyersPaymentMethodsList.d.ts.map +1 -1
  23. package/funcs/buyersPaymentMethodsList.js +2 -16
  24. package/funcs/buyersPaymentMethodsList.js.map +1 -1
  25. package/funcs/buyersShippingDetailsCreate.d.ts.map +1 -1
  26. package/funcs/buyersShippingDetailsCreate.js +2 -16
  27. package/funcs/buyersShippingDetailsCreate.js.map +1 -1
  28. package/funcs/buyersShippingDetailsDelete.d.ts.map +1 -1
  29. package/funcs/buyersShippingDetailsDelete.js +2 -16
  30. package/funcs/buyersShippingDetailsDelete.js.map +1 -1
  31. package/funcs/buyersShippingDetailsGet.d.ts.map +1 -1
  32. package/funcs/buyersShippingDetailsGet.js +2 -16
  33. package/funcs/buyersShippingDetailsGet.js.map +1 -1
  34. package/funcs/buyersShippingDetailsList.d.ts.map +1 -1
  35. package/funcs/buyersShippingDetailsList.js +2 -16
  36. package/funcs/buyersShippingDetailsList.js.map +1 -1
  37. package/funcs/buyersShippingDetailsUpdate.d.ts.map +1 -1
  38. package/funcs/buyersShippingDetailsUpdate.js +2 -16
  39. package/funcs/buyersShippingDetailsUpdate.js.map +1 -1
  40. package/funcs/buyersUpdate.d.ts.map +1 -1
  41. package/funcs/buyersUpdate.js +2 -16
  42. package/funcs/buyersUpdate.js.map +1 -1
  43. package/funcs/cardSchemeDefinitionsList.d.ts.map +1 -1
  44. package/funcs/cardSchemeDefinitionsList.js +2 -16
  45. package/funcs/cardSchemeDefinitionsList.js.map +1 -1
  46. package/funcs/checkoutSessionsCreate.d.ts.map +1 -1
  47. package/funcs/checkoutSessionsCreate.js +2 -16
  48. package/funcs/checkoutSessionsCreate.js.map +1 -1
  49. package/funcs/checkoutSessionsDelete.d.ts.map +1 -1
  50. package/funcs/checkoutSessionsDelete.js +2 -16
  51. package/funcs/checkoutSessionsDelete.js.map +1 -1
  52. package/funcs/checkoutSessionsGet.d.ts.map +1 -1
  53. package/funcs/checkoutSessionsGet.js +2 -16
  54. package/funcs/checkoutSessionsGet.js.map +1 -1
  55. package/funcs/checkoutSessionsUpdate.d.ts.map +1 -1
  56. package/funcs/checkoutSessionsUpdate.js +2 -16
  57. package/funcs/checkoutSessionsUpdate.js.map +1 -1
  58. package/funcs/digitalWalletsCreate.d.ts.map +1 -1
  59. package/funcs/digitalWalletsCreate.js +2 -16
  60. package/funcs/digitalWalletsCreate.js.map +1 -1
  61. package/funcs/digitalWalletsDelete.d.ts.map +1 -1
  62. package/funcs/digitalWalletsDelete.js +2 -16
  63. package/funcs/digitalWalletsDelete.js.map +1 -1
  64. package/funcs/digitalWalletsDomainsCreate.d.ts.map +1 -1
  65. package/funcs/digitalWalletsDomainsCreate.js +2 -16
  66. package/funcs/digitalWalletsDomainsCreate.js.map +1 -1
  67. package/funcs/digitalWalletsDomainsDelete.d.ts.map +1 -1
  68. package/funcs/digitalWalletsDomainsDelete.js +2 -16
  69. package/funcs/digitalWalletsDomainsDelete.js.map +1 -1
  70. package/funcs/digitalWalletsGet.d.ts.map +1 -1
  71. package/funcs/digitalWalletsGet.js +2 -16
  72. package/funcs/digitalWalletsGet.js.map +1 -1
  73. package/funcs/digitalWalletsList.d.ts.map +1 -1
  74. package/funcs/digitalWalletsList.js +2 -16
  75. package/funcs/digitalWalletsList.js.map +1 -1
  76. package/funcs/digitalWalletsSessionsApplePay.d.ts.map +1 -1
  77. package/funcs/digitalWalletsSessionsApplePay.js +2 -16
  78. package/funcs/digitalWalletsSessionsApplePay.js.map +1 -1
  79. package/funcs/digitalWalletsSessionsClickToPay.d.ts.map +1 -1
  80. package/funcs/digitalWalletsSessionsClickToPay.js +2 -16
  81. package/funcs/digitalWalletsSessionsClickToPay.js.map +1 -1
  82. package/funcs/digitalWalletsSessionsGooglePay.d.ts.map +1 -1
  83. package/funcs/digitalWalletsSessionsGooglePay.js +2 -16
  84. package/funcs/digitalWalletsSessionsGooglePay.js.map +1 -1
  85. package/funcs/digitalWalletsUpdate.d.ts.map +1 -1
  86. package/funcs/digitalWalletsUpdate.js +2 -16
  87. package/funcs/digitalWalletsUpdate.js.map +1 -1
  88. package/funcs/giftCardsBalancesList.d.ts.map +1 -1
  89. package/funcs/giftCardsBalancesList.js +2 -16
  90. package/funcs/giftCardsBalancesList.js.map +1 -1
  91. package/funcs/giftCardsCreate.d.ts.map +1 -1
  92. package/funcs/giftCardsCreate.js +2 -16
  93. package/funcs/giftCardsCreate.js.map +1 -1
  94. package/funcs/giftCardsDelete.d.ts.map +1 -1
  95. package/funcs/giftCardsDelete.js +2 -16
  96. package/funcs/giftCardsDelete.js.map +1 -1
  97. package/funcs/giftCardsGet.d.ts.map +1 -1
  98. package/funcs/giftCardsGet.js +2 -16
  99. package/funcs/giftCardsGet.js.map +1 -1
  100. package/funcs/giftCardsList.d.ts.map +1 -1
  101. package/funcs/giftCardsList.js +2 -16
  102. package/funcs/giftCardsList.js.map +1 -1
  103. package/funcs/merchantAccountsCreate.d.ts.map +1 -1
  104. package/funcs/merchantAccountsCreate.js +2 -16
  105. package/funcs/merchantAccountsCreate.js.map +1 -1
  106. package/funcs/merchantAccountsGet.d.ts.map +1 -1
  107. package/funcs/merchantAccountsGet.js +2 -16
  108. package/funcs/merchantAccountsGet.js.map +1 -1
  109. package/funcs/merchantAccountsList.d.ts.map +1 -1
  110. package/funcs/merchantAccountsList.js +2 -16
  111. package/funcs/merchantAccountsList.js.map +1 -1
  112. package/funcs/merchantAccountsThreeDsConfigurationCreate.d.ts.map +1 -1
  113. package/funcs/merchantAccountsThreeDsConfigurationCreate.js +2 -16
  114. package/funcs/merchantAccountsThreeDsConfigurationCreate.js.map +1 -1
  115. package/funcs/merchantAccountsThreeDsConfigurationDelete.d.ts.map +1 -1
  116. package/funcs/merchantAccountsThreeDsConfigurationDelete.js +2 -16
  117. package/funcs/merchantAccountsThreeDsConfigurationDelete.js.map +1 -1
  118. package/funcs/merchantAccountsThreeDsConfigurationList.d.ts.map +1 -1
  119. package/funcs/merchantAccountsThreeDsConfigurationList.js +2 -16
  120. package/funcs/merchantAccountsThreeDsConfigurationList.js.map +1 -1
  121. package/funcs/merchantAccountsThreeDsConfigurationUpdate.d.ts.map +1 -1
  122. package/funcs/merchantAccountsThreeDsConfigurationUpdate.js +2 -16
  123. package/funcs/merchantAccountsThreeDsConfigurationUpdate.js.map +1 -1
  124. package/funcs/merchantAccountsUpdate.d.ts.map +1 -1
  125. package/funcs/merchantAccountsUpdate.js +2 -16
  126. package/funcs/merchantAccountsUpdate.js.map +1 -1
  127. package/funcs/paymentLinksCreate.d.ts.map +1 -1
  128. package/funcs/paymentLinksCreate.js +2 -16
  129. package/funcs/paymentLinksCreate.js.map +1 -1
  130. package/funcs/paymentLinksExpire.d.ts.map +1 -1
  131. package/funcs/paymentLinksExpire.js +2 -16
  132. package/funcs/paymentLinksExpire.js.map +1 -1
  133. package/funcs/paymentLinksGet.d.ts.map +1 -1
  134. package/funcs/paymentLinksGet.js +2 -16
  135. package/funcs/paymentLinksGet.js.map +1 -1
  136. package/funcs/paymentLinksList.d.ts.map +1 -1
  137. package/funcs/paymentLinksList.js +2 -16
  138. package/funcs/paymentLinksList.js.map +1 -1
  139. package/funcs/paymentMethodsCreate.d.ts.map +1 -1
  140. package/funcs/paymentMethodsCreate.js +2 -16
  141. package/funcs/paymentMethodsCreate.js.map +1 -1
  142. package/funcs/paymentMethodsDelete.d.ts.map +1 -1
  143. package/funcs/paymentMethodsDelete.js +2 -16
  144. package/funcs/paymentMethodsDelete.js.map +1 -1
  145. package/funcs/paymentMethodsGet.d.ts.map +1 -1
  146. package/funcs/paymentMethodsGet.js +2 -16
  147. package/funcs/paymentMethodsGet.js.map +1 -1
  148. package/funcs/paymentMethodsList.d.ts.map +1 -1
  149. package/funcs/paymentMethodsList.js +2 -16
  150. package/funcs/paymentMethodsList.js.map +1 -1
  151. package/funcs/paymentMethodsNetworkTokensCreate.d.ts.map +1 -1
  152. package/funcs/paymentMethodsNetworkTokensCreate.js +2 -16
  153. package/funcs/paymentMethodsNetworkTokensCreate.js.map +1 -1
  154. package/funcs/paymentMethodsNetworkTokensCryptogramCreate.d.ts.map +1 -1
  155. package/funcs/paymentMethodsNetworkTokensCryptogramCreate.js +2 -16
  156. package/funcs/paymentMethodsNetworkTokensCryptogramCreate.js.map +1 -1
  157. package/funcs/paymentMethodsNetworkTokensDelete.d.ts.map +1 -1
  158. package/funcs/paymentMethodsNetworkTokensDelete.js +2 -16
  159. package/funcs/paymentMethodsNetworkTokensDelete.js.map +1 -1
  160. package/funcs/paymentMethodsNetworkTokensList.d.ts.map +1 -1
  161. package/funcs/paymentMethodsNetworkTokensList.js +2 -16
  162. package/funcs/paymentMethodsNetworkTokensList.js.map +1 -1
  163. package/funcs/paymentMethodsNetworkTokensResume.d.ts.map +1 -1
  164. package/funcs/paymentMethodsNetworkTokensResume.js +2 -16
  165. package/funcs/paymentMethodsNetworkTokensResume.js.map +1 -1
  166. package/funcs/paymentMethodsNetworkTokensSuspend.d.ts.map +1 -1
  167. package/funcs/paymentMethodsNetworkTokensSuspend.js +2 -16
  168. package/funcs/paymentMethodsNetworkTokensSuspend.js.map +1 -1
  169. package/funcs/paymentMethodsPaymentServiceTokensCreate.d.ts.map +1 -1
  170. package/funcs/paymentMethodsPaymentServiceTokensCreate.js +2 -16
  171. package/funcs/paymentMethodsPaymentServiceTokensCreate.js.map +1 -1
  172. package/funcs/paymentMethodsPaymentServiceTokensDelete.d.ts.map +1 -1
  173. package/funcs/paymentMethodsPaymentServiceTokensDelete.js +2 -16
  174. package/funcs/paymentMethodsPaymentServiceTokensDelete.js.map +1 -1
  175. package/funcs/paymentMethodsPaymentServiceTokensList.d.ts.map +1 -1
  176. package/funcs/paymentMethodsPaymentServiceTokensList.js +2 -16
  177. package/funcs/paymentMethodsPaymentServiceTokensList.js.map +1 -1
  178. package/funcs/paymentOptionsList.d.ts.map +1 -1
  179. package/funcs/paymentOptionsList.js +2 -16
  180. package/funcs/paymentOptionsList.js.map +1 -1
  181. package/funcs/paymentServiceDefinitionsGet.d.ts.map +1 -1
  182. package/funcs/paymentServiceDefinitionsGet.js +2 -16
  183. package/funcs/paymentServiceDefinitionsGet.js.map +1 -1
  184. package/funcs/paymentServiceDefinitionsList.d.ts.map +1 -1
  185. package/funcs/paymentServiceDefinitionsList.js +2 -16
  186. package/funcs/paymentServiceDefinitionsList.js.map +1 -1
  187. package/funcs/paymentServiceDefinitionsSession.d.ts.map +1 -1
  188. package/funcs/paymentServiceDefinitionsSession.js +2 -16
  189. package/funcs/paymentServiceDefinitionsSession.js.map +1 -1
  190. package/funcs/paymentServicesCreate.d.ts.map +1 -1
  191. package/funcs/paymentServicesCreate.js +2 -16
  192. package/funcs/paymentServicesCreate.js.map +1 -1
  193. package/funcs/paymentServicesDelete.d.ts.map +1 -1
  194. package/funcs/paymentServicesDelete.js +2 -16
  195. package/funcs/paymentServicesDelete.js.map +1 -1
  196. package/funcs/paymentServicesGet.d.ts.map +1 -1
  197. package/funcs/paymentServicesGet.js +2 -16
  198. package/funcs/paymentServicesGet.js.map +1 -1
  199. package/funcs/paymentServicesList.d.ts.map +1 -1
  200. package/funcs/paymentServicesList.js +2 -16
  201. package/funcs/paymentServicesList.js.map +1 -1
  202. package/funcs/paymentServicesSession.d.ts.map +1 -1
  203. package/funcs/paymentServicesSession.js +2 -16
  204. package/funcs/paymentServicesSession.js.map +1 -1
  205. package/funcs/paymentServicesUpdate.d.ts.map +1 -1
  206. package/funcs/paymentServicesUpdate.js +2 -16
  207. package/funcs/paymentServicesUpdate.js.map +1 -1
  208. package/funcs/paymentServicesVerify.d.ts.map +1 -1
  209. package/funcs/paymentServicesVerify.js +2 -16
  210. package/funcs/paymentServicesVerify.js.map +1 -1
  211. package/funcs/payoutsCreate.d.ts.map +1 -1
  212. package/funcs/payoutsCreate.js +2 -16
  213. package/funcs/payoutsCreate.js.map +1 -1
  214. package/funcs/payoutsGet.d.ts.map +1 -1
  215. package/funcs/payoutsGet.js +2 -16
  216. package/funcs/payoutsGet.js.map +1 -1
  217. package/funcs/payoutsList.d.ts.map +1 -1
  218. package/funcs/payoutsList.js +2 -16
  219. package/funcs/payoutsList.js.map +1 -1
  220. package/funcs/refundsGet.d.ts.map +1 -1
  221. package/funcs/refundsGet.js +2 -16
  222. package/funcs/refundsGet.js.map +1 -1
  223. package/funcs/reportExecutionsList.d.ts.map +1 -1
  224. package/funcs/reportExecutionsList.js +2 -16
  225. package/funcs/reportExecutionsList.js.map +1 -1
  226. package/funcs/reportsCreate.d.ts.map +1 -1
  227. package/funcs/reportsCreate.js +2 -16
  228. package/funcs/reportsCreate.js.map +1 -1
  229. package/funcs/reportsExecutionsGet.d.ts.map +1 -1
  230. package/funcs/reportsExecutionsGet.js +2 -16
  231. package/funcs/reportsExecutionsGet.js.map +1 -1
  232. package/funcs/reportsExecutionsList.d.ts.map +1 -1
  233. package/funcs/reportsExecutionsList.js +2 -16
  234. package/funcs/reportsExecutionsList.js.map +1 -1
  235. package/funcs/reportsExecutionsUrl.d.ts.map +1 -1
  236. package/funcs/reportsExecutionsUrl.js +2 -16
  237. package/funcs/reportsExecutionsUrl.js.map +1 -1
  238. package/funcs/reportsGet.d.ts.map +1 -1
  239. package/funcs/reportsGet.js +2 -16
  240. package/funcs/reportsGet.js.map +1 -1
  241. package/funcs/reportsList.d.ts.map +1 -1
  242. package/funcs/reportsList.js +2 -16
  243. package/funcs/reportsList.js.map +1 -1
  244. package/funcs/reportsPut.d.ts.map +1 -1
  245. package/funcs/reportsPut.js +2 -16
  246. package/funcs/reportsPut.js.map +1 -1
  247. package/funcs/threeDsScenariosCreate.d.ts.map +1 -1
  248. package/funcs/threeDsScenariosCreate.js +2 -16
  249. package/funcs/threeDsScenariosCreate.js.map +1 -1
  250. package/funcs/threeDsScenariosDelete.d.ts.map +1 -1
  251. package/funcs/threeDsScenariosDelete.js +2 -16
  252. package/funcs/threeDsScenariosDelete.js.map +1 -1
  253. package/funcs/threeDsScenariosList.d.ts.map +1 -1
  254. package/funcs/threeDsScenariosList.js +2 -16
  255. package/funcs/threeDsScenariosList.js.map +1 -1
  256. package/funcs/threeDsScenariosUpdate.d.ts.map +1 -1
  257. package/funcs/threeDsScenariosUpdate.js +2 -16
  258. package/funcs/threeDsScenariosUpdate.js.map +1 -1
  259. package/funcs/transactionsActionsList.d.ts.map +1 -1
  260. package/funcs/transactionsActionsList.js +2 -16
  261. package/funcs/transactionsActionsList.js.map +1 -1
  262. package/funcs/transactionsCancel.d.ts.map +1 -1
  263. package/funcs/transactionsCancel.js +2 -16
  264. package/funcs/transactionsCancel.js.map +1 -1
  265. package/funcs/transactionsCapture.d.ts.map +1 -1
  266. package/funcs/transactionsCapture.js +2 -16
  267. package/funcs/transactionsCapture.js.map +1 -1
  268. package/funcs/transactionsCreate.d.ts.map +1 -1
  269. package/funcs/transactionsCreate.js +2 -16
  270. package/funcs/transactionsCreate.js.map +1 -1
  271. package/funcs/transactionsEventsList.d.ts.map +1 -1
  272. package/funcs/transactionsEventsList.js +2 -16
  273. package/funcs/transactionsEventsList.js.map +1 -1
  274. package/funcs/transactionsGet.d.ts.map +1 -1
  275. package/funcs/transactionsGet.js +2 -16
  276. package/funcs/transactionsGet.js.map +1 -1
  277. package/funcs/transactionsList.d.ts.map +1 -1
  278. package/funcs/transactionsList.js +2 -16
  279. package/funcs/transactionsList.js.map +1 -1
  280. package/funcs/transactionsRefundsAllCreate.d.ts.map +1 -1
  281. package/funcs/transactionsRefundsAllCreate.js +2 -16
  282. package/funcs/transactionsRefundsAllCreate.js.map +1 -1
  283. package/funcs/transactionsRefundsCreate.d.ts.map +1 -1
  284. package/funcs/transactionsRefundsCreate.js +2 -16
  285. package/funcs/transactionsRefundsCreate.js.map +1 -1
  286. package/funcs/transactionsRefundsGet.d.ts.map +1 -1
  287. package/funcs/transactionsRefundsGet.js +2 -16
  288. package/funcs/transactionsRefundsGet.js.map +1 -1
  289. package/funcs/transactionsRefundsList.d.ts.map +1 -1
  290. package/funcs/transactionsRefundsList.js +2 -16
  291. package/funcs/transactionsRefundsList.js.map +1 -1
  292. package/funcs/transactionsSettlementsGet.d.ts.map +1 -1
  293. package/funcs/transactionsSettlementsGet.js +2 -16
  294. package/funcs/transactionsSettlementsGet.js.map +1 -1
  295. package/funcs/transactionsSettlementsList.d.ts.map +1 -1
  296. package/funcs/transactionsSettlementsList.js +2 -16
  297. package/funcs/transactionsSettlementsList.js.map +1 -1
  298. package/funcs/transactionsSync.d.ts.map +1 -1
  299. package/funcs/transactionsSync.js +2 -16
  300. package/funcs/transactionsSync.js.map +1 -1
  301. package/funcs/transactionsUpdate.d.ts.map +1 -1
  302. package/funcs/transactionsUpdate.js +2 -16
  303. package/funcs/transactionsUpdate.js.map +1 -1
  304. package/funcs/transactionsVoid.d.ts.map +1 -1
  305. package/funcs/transactionsVoid.js +2 -16
  306. package/funcs/transactionsVoid.js.map +1 -1
  307. package/jsr.json +1 -1
  308. package/lib/config.d.ts +3 -3
  309. package/lib/config.js +3 -3
  310. package/lib/config.js.map +1 -1
  311. package/lib/sdks.d.ts +1 -1
  312. package/lib/sdks.d.ts.map +1 -1
  313. package/lib/sdks.js +2 -4
  314. package/lib/sdks.js.map +1 -1
  315. package/models/components/ecommpayoptions.d.ts +20 -0
  316. package/models/components/ecommpayoptions.d.ts.map +1 -0
  317. package/models/components/ecommpayoptions.js +56 -0
  318. package/models/components/ecommpayoptions.js.map +1 -0
  319. package/models/components/index.d.ts +1 -0
  320. package/models/components/index.d.ts.map +1 -1
  321. package/models/components/index.js +1 -0
  322. package/models/components/index.js.map +1 -1
  323. package/models/components/transactionconnectionoptions.d.ts +6 -0
  324. package/models/components/transactionconnectionoptions.d.ts.map +1 -1
  325. package/models/components/transactionconnectionoptions.js +3 -0
  326. package/models/components/transactionconnectionoptions.js.map +1 -1
  327. package/package.json +1 -1
  328. package/src/funcs/accountUpdaterJobsCreate.ts +3 -16
  329. package/src/funcs/auditLogsList.ts +3 -16
  330. package/src/funcs/buyersCreate.ts +3 -16
  331. package/src/funcs/buyersDelete.ts +3 -16
  332. package/src/funcs/buyersGet.ts +3 -16
  333. package/src/funcs/buyersGiftCardsList.ts +3 -16
  334. package/src/funcs/buyersList.ts +3 -16
  335. package/src/funcs/buyersPaymentMethodsList.ts +3 -16
  336. package/src/funcs/buyersShippingDetailsCreate.ts +3 -16
  337. package/src/funcs/buyersShippingDetailsDelete.ts +3 -16
  338. package/src/funcs/buyersShippingDetailsGet.ts +3 -16
  339. package/src/funcs/buyersShippingDetailsList.ts +3 -16
  340. package/src/funcs/buyersShippingDetailsUpdate.ts +3 -16
  341. package/src/funcs/buyersUpdate.ts +3 -16
  342. package/src/funcs/cardSchemeDefinitionsList.ts +3 -16
  343. package/src/funcs/checkoutSessionsCreate.ts +3 -16
  344. package/src/funcs/checkoutSessionsDelete.ts +3 -16
  345. package/src/funcs/checkoutSessionsGet.ts +3 -16
  346. package/src/funcs/checkoutSessionsUpdate.ts +3 -16
  347. package/src/funcs/digitalWalletsCreate.ts +3 -16
  348. package/src/funcs/digitalWalletsDelete.ts +3 -16
  349. package/src/funcs/digitalWalletsDomainsCreate.ts +3 -16
  350. package/src/funcs/digitalWalletsDomainsDelete.ts +3 -16
  351. package/src/funcs/digitalWalletsGet.ts +3 -16
  352. package/src/funcs/digitalWalletsList.ts +3 -16
  353. package/src/funcs/digitalWalletsSessionsApplePay.ts +3 -16
  354. package/src/funcs/digitalWalletsSessionsClickToPay.ts +3 -16
  355. package/src/funcs/digitalWalletsSessionsGooglePay.ts +3 -16
  356. package/src/funcs/digitalWalletsUpdate.ts +3 -16
  357. package/src/funcs/giftCardsBalancesList.ts +3 -16
  358. package/src/funcs/giftCardsCreate.ts +3 -16
  359. package/src/funcs/giftCardsDelete.ts +3 -16
  360. package/src/funcs/giftCardsGet.ts +3 -16
  361. package/src/funcs/giftCardsList.ts +3 -16
  362. package/src/funcs/merchantAccountsCreate.ts +3 -16
  363. package/src/funcs/merchantAccountsGet.ts +3 -16
  364. package/src/funcs/merchantAccountsList.ts +3 -16
  365. package/src/funcs/merchantAccountsThreeDsConfigurationCreate.ts +3 -16
  366. package/src/funcs/merchantAccountsThreeDsConfigurationDelete.ts +3 -16
  367. package/src/funcs/merchantAccountsThreeDsConfigurationList.ts +3 -16
  368. package/src/funcs/merchantAccountsThreeDsConfigurationUpdate.ts +3 -16
  369. package/src/funcs/merchantAccountsUpdate.ts +3 -16
  370. package/src/funcs/paymentLinksCreate.ts +3 -16
  371. package/src/funcs/paymentLinksExpire.ts +3 -16
  372. package/src/funcs/paymentLinksGet.ts +3 -16
  373. package/src/funcs/paymentLinksList.ts +3 -16
  374. package/src/funcs/paymentMethodsCreate.ts +3 -16
  375. package/src/funcs/paymentMethodsDelete.ts +3 -16
  376. package/src/funcs/paymentMethodsGet.ts +3 -16
  377. package/src/funcs/paymentMethodsList.ts +3 -16
  378. package/src/funcs/paymentMethodsNetworkTokensCreate.ts +3 -16
  379. package/src/funcs/paymentMethodsNetworkTokensCryptogramCreate.ts +3 -16
  380. package/src/funcs/paymentMethodsNetworkTokensDelete.ts +3 -16
  381. package/src/funcs/paymentMethodsNetworkTokensList.ts +3 -16
  382. package/src/funcs/paymentMethodsNetworkTokensResume.ts +3 -16
  383. package/src/funcs/paymentMethodsNetworkTokensSuspend.ts +3 -16
  384. package/src/funcs/paymentMethodsPaymentServiceTokensCreate.ts +3 -16
  385. package/src/funcs/paymentMethodsPaymentServiceTokensDelete.ts +3 -16
  386. package/src/funcs/paymentMethodsPaymentServiceTokensList.ts +3 -16
  387. package/src/funcs/paymentOptionsList.ts +3 -16
  388. package/src/funcs/paymentServiceDefinitionsGet.ts +3 -16
  389. package/src/funcs/paymentServiceDefinitionsList.ts +3 -16
  390. package/src/funcs/paymentServiceDefinitionsSession.ts +3 -16
  391. package/src/funcs/paymentServicesCreate.ts +3 -16
  392. package/src/funcs/paymentServicesDelete.ts +3 -16
  393. package/src/funcs/paymentServicesGet.ts +3 -16
  394. package/src/funcs/paymentServicesList.ts +3 -16
  395. package/src/funcs/paymentServicesSession.ts +3 -16
  396. package/src/funcs/paymentServicesUpdate.ts +3 -16
  397. package/src/funcs/paymentServicesVerify.ts +3 -16
  398. package/src/funcs/payoutsCreate.ts +3 -16
  399. package/src/funcs/payoutsGet.ts +3 -16
  400. package/src/funcs/payoutsList.ts +3 -16
  401. package/src/funcs/refundsGet.ts +3 -16
  402. package/src/funcs/reportExecutionsList.ts +3 -16
  403. package/src/funcs/reportsCreate.ts +3 -16
  404. package/src/funcs/reportsExecutionsGet.ts +3 -16
  405. package/src/funcs/reportsExecutionsList.ts +3 -16
  406. package/src/funcs/reportsExecutionsUrl.ts +3 -16
  407. package/src/funcs/reportsGet.ts +3 -16
  408. package/src/funcs/reportsList.ts +3 -16
  409. package/src/funcs/reportsPut.ts +3 -16
  410. package/src/funcs/threeDsScenariosCreate.ts +3 -16
  411. package/src/funcs/threeDsScenariosDelete.ts +3 -16
  412. package/src/funcs/threeDsScenariosList.ts +3 -16
  413. package/src/funcs/threeDsScenariosUpdate.ts +3 -16
  414. package/src/funcs/transactionsActionsList.ts +3 -16
  415. package/src/funcs/transactionsCancel.ts +3 -16
  416. package/src/funcs/transactionsCapture.ts +3 -16
  417. package/src/funcs/transactionsCreate.ts +3 -16
  418. package/src/funcs/transactionsEventsList.ts +3 -16
  419. package/src/funcs/transactionsGet.ts +3 -16
  420. package/src/funcs/transactionsList.ts +3 -16
  421. package/src/funcs/transactionsRefundsAllCreate.ts +3 -16
  422. package/src/funcs/transactionsRefundsCreate.ts +3 -16
  423. package/src/funcs/transactionsRefundsGet.ts +3 -16
  424. package/src/funcs/transactionsRefundsList.ts +3 -16
  425. package/src/funcs/transactionsSettlementsGet.ts +3 -16
  426. package/src/funcs/transactionsSettlementsList.ts +3 -16
  427. package/src/funcs/transactionsSync.ts +3 -16
  428. package/src/funcs/transactionsUpdate.ts +3 -16
  429. package/src/funcs/transactionsVoid.ts +3 -16
  430. package/src/lib/config.ts +3 -3
  431. package/src/lib/sdks.ts +3 -6
  432. package/src/models/components/ecommpayoptions.ts +44 -0
  433. package/src/models/components/index.ts +1 -0
  434. package/src/models/components/transactionconnectionoptions.ts +12 -0
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { Gr4vyCore } from "../core.js";
6
6
  import { encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
7
8
  import * as M from "../lib/matchers.js";
8
9
  import { compactMap } from "../lib/primitives.js";
9
10
  import { safeParse } from "../lib/schemas.js";
@@ -185,22 +186,8 @@ async function $do(
185
186
 
186
187
  const doResult = await client._do(req, {
187
188
  context,
188
- errorCodes: [
189
- "400",
190
- "401",
191
- "403",
192
- "404",
193
- "405",
194
- "409",
195
- "422",
196
- "425",
197
- "429",
198
- "4XX",
199
- "500",
200
- "502",
201
- "504",
202
- "5XX",
203
- ],
189
+ isErrorStatusCode: (statusCode: number) =>
190
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
204
191
  retryConfig: context.retryConfig,
205
192
  retryCodes: context.retryCodes,
206
193
  });
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { Gr4vyCore } from "../core.js";
6
6
  import { encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
7
8
  import * as M from "../lib/matchers.js";
8
9
  import { compactMap } from "../lib/primitives.js";
9
10
  import { safeParse } from "../lib/schemas.js";
@@ -172,22 +173,8 @@ async function $do(
172
173
 
173
174
  const doResult = await client._do(req, {
174
175
  context,
175
- errorCodes: [
176
- "400",
177
- "401",
178
- "403",
179
- "404",
180
- "405",
181
- "409",
182
- "422",
183
- "425",
184
- "429",
185
- "4XX",
186
- "500",
187
- "502",
188
- "504",
189
- "5XX",
190
- ],
176
+ isErrorStatusCode: (statusCode: number) =>
177
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
191
178
  retryConfig: context.retryConfig,
192
179
  retryCodes: context.retryCodes,
193
180
  });
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { Gr4vyCore } from "../core.js";
6
6
  import { encodeJSON, encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
7
8
  import * as M from "../lib/matchers.js";
8
9
  import { compactMap } from "../lib/primitives.js";
9
10
  import { safeParse } from "../lib/schemas.js";
@@ -177,22 +178,8 @@ async function $do(
177
178
 
178
179
  const doResult = await client._do(req, {
179
180
  context,
180
- errorCodes: [
181
- "400",
182
- "401",
183
- "403",
184
- "404",
185
- "405",
186
- "409",
187
- "422",
188
- "425",
189
- "429",
190
- "4XX",
191
- "500",
192
- "502",
193
- "504",
194
- "5XX",
195
- ],
181
+ isErrorStatusCode: (statusCode: number) =>
182
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
196
183
  retryConfig: context.retryConfig,
197
184
  retryCodes: context.retryCodes,
198
185
  });
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { Gr4vyCore } from "../core.js";
6
6
  import { encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
7
8
  import * as M from "../lib/matchers.js";
8
9
  import { compactMap } from "../lib/primitives.js";
9
10
  import { safeParse } from "../lib/schemas.js";
@@ -188,22 +189,8 @@ async function $do(
188
189
 
189
190
  const doResult = await client._do(req, {
190
191
  context,
191
- errorCodes: [
192
- "400",
193
- "401",
194
- "403",
195
- "404",
196
- "405",
197
- "409",
198
- "422",
199
- "425",
200
- "429",
201
- "4XX",
202
- "500",
203
- "502",
204
- "504",
205
- "5XX",
206
- ],
192
+ isErrorStatusCode: (statusCode: number) =>
193
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
207
194
  retryConfig: context.retryConfig,
208
195
  retryCodes: context.retryCodes,
209
196
  });
package/src/lib/config.ts CHANGED
@@ -77,7 +77,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
77
77
  export const SDK_METADATA = {
78
78
  language: "typescript",
79
79
  openapiDocVersion: "1.0.0",
80
- sdkVersion: "2.0.26",
81
- genVersion: "2.879.13",
82
- userAgent: "speakeasy-sdk/typescript 2.0.26 2.879.13 1.0.0 @gr4vy/sdk",
80
+ sdkVersion: "2.0.27",
81
+ genVersion: "2.881.2",
82
+ userAgent: "speakeasy-sdk/typescript 2.0.27 2.881.2 1.0.0 @gr4vy/sdk",
83
83
  } as const;
package/src/lib/sdks.ts CHANGED
@@ -22,7 +22,6 @@ import {
22
22
  isConnectionError,
23
23
  isTimeoutError,
24
24
  matchContentType,
25
- matchStatusCode,
26
25
  } from "./http.js";
27
26
  import { Logger } from "./logger.js";
28
27
  import { retry, RetryConfig } from "./retries.js";
@@ -234,7 +233,7 @@ export class ClientSDK {
234
233
  request: Request,
235
234
  options: {
236
235
  context: HookContext;
237
- errorCodes: number | string | (number | string)[];
236
+ isErrorStatusCode: (statusCode: number) => boolean;
238
237
  retryConfig: RetryConfig;
239
238
  retryCodes: string[];
240
239
  },
@@ -247,7 +246,7 @@ export class ClientSDK {
247
246
  | UnexpectedClientError
248
247
  >
249
248
  > {
250
- const { context, errorCodes } = options;
249
+ const { context, isErrorStatusCode } = options;
251
250
 
252
251
  return retry(
253
252
  async () => {
@@ -259,7 +258,7 @@ export class ClientSDK {
259
258
  let response = await this.#httpClient.request(req);
260
259
 
261
260
  try {
262
- if (matchStatusCode(response, errorCodes)) {
261
+ if (isErrorStatusCode(response.status)) {
263
262
  const result = await this.#hooks.afterError(
264
263
  context,
265
264
  response,
@@ -383,8 +382,6 @@ async function logResponse(
383
382
  break;
384
383
  case matchContentType(res, "application/jsonl")
385
384
  || jsonlLikeContentTypeRE.test(ct):
386
- logger.log(await res.clone().text());
387
- break;
388
385
  case matchContentType(res, "text/event-stream"):
389
386
  logger.log(`<${contentType}>`);
390
387
  break;
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type EcommpayOptions = {
9
+ /**
10
+ * The start date of the booking in ISO 8601 format (YYYY-MM-DD). Required for certain MCCs.
11
+ */
12
+ bookingStartDate?: string | null | undefined;
13
+ /**
14
+ * The end date of the booking in ISO 8601 format (YYYY-MM-DD). Required for certain MCCs.
15
+ */
16
+ bookingEndDate?: string | null | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export type EcommpayOptions$Outbound = {
21
+ booking_start_date?: string | null | undefined;
22
+ booking_end_date?: string | null | undefined;
23
+ };
24
+
25
+ /** @internal */
26
+ export const EcommpayOptions$outboundSchema: z.ZodType<
27
+ EcommpayOptions$Outbound,
28
+ z.ZodTypeDef,
29
+ EcommpayOptions
30
+ > = z.object({
31
+ bookingStartDate: z.nullable(z.string()).optional(),
32
+ bookingEndDate: z.nullable(z.string()).optional(),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ bookingStartDate: "booking_start_date",
36
+ bookingEndDate: "booking_end_date",
37
+ });
38
+ });
39
+
40
+ export function ecommpayOptionsToJSON(
41
+ ecommpayOptions: EcommpayOptions,
42
+ ): string {
43
+ return JSON.stringify(EcommpayOptions$outboundSchema.parse(ecommpayOptions));
44
+ }
@@ -87,6 +87,7 @@ export * from "./dlocalupioptions.js";
87
87
  export * from "./dlocalupirecurringinfooptions.js";
88
88
  export * from "./dlocalupiwalletoptions.js";
89
89
  export * from "./dlocalwalletoptions.js";
90
+ export * from "./ecommpayoptions.js";
90
91
  export * from "./errordetail.js";
91
92
  export * from "./errorlocation.js";
92
93
  export * from "./field.js";
@@ -64,6 +64,11 @@ import {
64
64
  DlocalUPIOptions$Outbound,
65
65
  DlocalUPIOptions$outboundSchema,
66
66
  } from "./dlocalupioptions.js";
67
+ import {
68
+ EcommpayOptions,
69
+ EcommpayOptions$Outbound,
70
+ EcommpayOptions$outboundSchema,
71
+ } from "./ecommpayoptions.js";
67
72
  import {
68
73
  FiservOptions,
69
74
  FiservOptions$Outbound,
@@ -272,6 +277,10 @@ export type TransactionConnectionOptions = {
272
277
  * Custom options to be passed to the `dlocal-gcash` connector.
273
278
  */
274
279
  dlocalGcash?: DlocalOptions | null | undefined;
280
+ /**
281
+ * Custom options to be passed to the `ecommpay-card` connector.
282
+ */
283
+ ecommpayCard?: EcommpayOptions | null | undefined;
275
284
  /**
276
285
  * Custom options to be passed to the `fiserv-card` connector.
277
286
  */
@@ -419,6 +428,7 @@ export type TransactionConnectionOptions$Outbound = {
419
428
  "dlocal-upi"?: DlocalUPIOptions$Outbound | null | undefined;
420
429
  "dlocal-pix"?: DlocalPIXOptions$Outbound | null | undefined;
421
430
  "dlocal-gcash"?: DlocalOptions$Outbound | null | undefined;
431
+ "ecommpay-card"?: EcommpayOptions$Outbound | null | undefined;
422
432
  "fiserv-card"?: FiservOptions$Outbound | null | undefined;
423
433
  "forter-anti-fraud"?: ForterAntiFraudOptions$Outbound | null | undefined;
424
434
  "gem-gem"?: LatitudeOptions$Outbound | null | undefined;
@@ -484,6 +494,7 @@ export const TransactionConnectionOptions$outboundSchema: z.ZodType<
484
494
  dlocalUpi: z.nullable(DlocalUPIOptions$outboundSchema).optional(),
485
495
  dlocalPix: z.nullable(DlocalPIXOptions$outboundSchema).optional(),
486
496
  dlocalGcash: z.nullable(DlocalOptions$outboundSchema).optional(),
497
+ ecommpayCard: z.nullable(EcommpayOptions$outboundSchema).optional(),
487
498
  fiservCard: z.nullable(FiservOptions$outboundSchema).optional(),
488
499
  forterAntiFraud: z.nullable(ForterAntiFraudOptions$outboundSchema).optional(),
489
500
  gemGem: z.nullable(LatitudeOptions$outboundSchema).optional(),
@@ -542,6 +553,7 @@ export const TransactionConnectionOptions$outboundSchema: z.ZodType<
542
553
  dlocalUpi: "dlocal-upi",
543
554
  dlocalPix: "dlocal-pix",
544
555
  dlocalGcash: "dlocal-gcash",
556
+ ecommpayCard: "ecommpay-card",
545
557
  fiservCard: "fiserv-card",
546
558
  forterAntiFraud: "forter-anti-fraud",
547
559
  gemGem: "gem-gem",