@gr4vy/sdk 1.5.1 → 1.5.4

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 (211) hide show
  1. package/docs/sdks/transactions/README.md +4 -4
  2. package/examples/package-lock.json +1 -1
  3. package/funcs/transactionsCreate.d.ts +1 -1
  4. package/funcs/transactionsCreate.d.ts.map +1 -1
  5. package/funcs/transactionsCreate.js +1 -1
  6. package/funcs/transactionsCreate.js.map +1 -1
  7. package/funcs/transactionsGet.d.ts +1 -1
  8. package/funcs/transactionsGet.d.ts.map +1 -1
  9. package/funcs/transactionsGet.js +1 -1
  10. package/funcs/transactionsGet.js.map +1 -1
  11. package/funcs/transactionsSync.d.ts +1 -1
  12. package/funcs/transactionsSync.d.ts.map +1 -1
  13. package/funcs/transactionsSync.js +1 -1
  14. package/funcs/transactionsSync.js.map +1 -1
  15. package/funcs/transactionsUpdate.d.ts +1 -1
  16. package/funcs/transactionsUpdate.d.ts.map +1 -1
  17. package/funcs/transactionsUpdate.js +1 -1
  18. package/funcs/transactionsUpdate.js.map +1 -1
  19. package/jsr.json +1 -1
  20. package/lib/config.d.ts +3 -3
  21. package/lib/config.js +3 -3
  22. package/models/components/auditlogentries.d.ts +3 -3
  23. package/models/components/auditlogentries.d.ts.map +1 -1
  24. package/models/components/auditlogentries.js +3 -3
  25. package/models/components/auditlogentries.js.map +1 -1
  26. package/models/components/{auditlogentry.d.ts → auditlogentryoutput.d.ts} +14 -14
  27. package/models/components/auditlogentryoutput.d.ts.map +1 -0
  28. package/models/components/{auditlogentry.js → auditlogentryoutput.js} +17 -17
  29. package/models/components/auditlogentryoutput.js.map +1 -0
  30. package/models/components/checkoutsession.d.ts +3 -3
  31. package/models/components/checkoutsession.d.ts.map +1 -1
  32. package/models/components/checkoutsession.js +3 -3
  33. package/models/components/checkoutsession.js.map +1 -1
  34. package/models/components/{checkoutsessionpaymentmethod.d.ts → checkoutsessionpaymentmethodoutput.d.ts} +14 -14
  35. package/models/components/checkoutsessionpaymentmethodoutput.d.ts.map +1 -0
  36. package/models/components/{checkoutsessionpaymentmethod.js → checkoutsessionpaymentmethodoutput.js} +17 -17
  37. package/models/components/checkoutsessionpaymentmethodoutput.js.map +1 -0
  38. package/models/components/index.d.ts +16 -12
  39. package/models/components/index.d.ts.map +1 -1
  40. package/models/components/index.js +16 -12
  41. package/models/components/index.js.map +1 -1
  42. package/models/components/integrationclient.d.ts +24 -0
  43. package/models/components/integrationclient.d.ts.map +1 -0
  44. package/models/components/integrationclient.js +70 -0
  45. package/models/components/integrationclient.js.map +1 -0
  46. package/models/components/paymentlink.d.ts +3 -3
  47. package/models/components/paymentlink.d.ts.map +1 -1
  48. package/models/components/paymentlink.js +3 -3
  49. package/models/components/paymentlink.js.map +1 -1
  50. package/models/components/paymentmethodsummaries.d.ts +3 -3
  51. package/models/components/paymentmethodsummaries.d.ts.map +1 -1
  52. package/models/components/paymentmethodsummaries.js +3 -3
  53. package/models/components/paymentmethodsummaries.js.map +1 -1
  54. package/models/components/{paymentmethodsummary.d.ts → paymentmethodsummaryoutput.d.ts} +14 -14
  55. package/models/components/paymentmethodsummaryoutput.d.ts.map +1 -0
  56. package/models/components/{paymentmethodsummary.js → paymentmethodsummaryoutput.js} +17 -17
  57. package/models/components/paymentmethodsummaryoutput.js.map +1 -0
  58. package/models/components/{paymentoption.d.ts → paymentoptionoutput.d.ts} +14 -14
  59. package/models/components/paymentoptionoutput.d.ts.map +1 -0
  60. package/models/components/{paymentoption.js → paymentoptionoutput.js} +17 -17
  61. package/models/components/paymentoptionoutput.js.map +1 -0
  62. package/models/components/paymentoptions.d.ts +3 -3
  63. package/models/components/paymentoptions.d.ts.map +1 -1
  64. package/models/components/paymentoptions.js +3 -3
  65. package/models/components/paymentoptions.js.map +1 -1
  66. package/models/components/paymentservicedefinition.d.ts +6 -0
  67. package/models/components/paymentservicedefinition.d.ts.map +1 -1
  68. package/models/components/paymentservicedefinition.js +5 -0
  69. package/models/components/paymentservicedefinition.js.map +1 -1
  70. package/models/components/payoutsummary.d.ts +6 -6
  71. package/models/components/payoutsummary.d.ts.map +1 -1
  72. package/models/components/payoutsummary.js +6 -6
  73. package/models/components/payoutsummary.js.map +1 -1
  74. package/models/components/paypaloptions.d.ts +6 -0
  75. package/models/components/paypaloptions.d.ts.map +1 -1
  76. package/models/components/paypaloptions.js +3 -0
  77. package/models/components/paypaloptions.js.map +1 -1
  78. package/models/components/paypalshippingoptions.d.ts +33 -0
  79. package/models/components/paypalshippingoptions.d.ts.map +1 -0
  80. package/models/components/paypalshippingoptions.js +72 -0
  81. package/models/components/paypalshippingoptions.js.map +1 -0
  82. package/models/components/paypalshippingoptionsitem.d.ts +75 -0
  83. package/models/components/paypalshippingoptionsitem.d.ts.map +1 -0
  84. package/models/components/paypalshippingoptionsitem.js +107 -0
  85. package/models/components/paypalshippingoptionsitem.js.map +1 -0
  86. package/models/components/paypalshippingoptionsitemamount.d.ts +37 -0
  87. package/models/components/paypalshippingoptionsitemamount.d.ts.map +1 -0
  88. package/models/components/paypalshippingoptionsitemamount.js +80 -0
  89. package/models/components/paypalshippingoptionsitemamount.js.map +1 -0
  90. package/models/components/{transactionbuyer.d.ts → transactionbuyeroutput.d.ts} +14 -14
  91. package/models/components/transactionbuyeroutput.d.ts.map +1 -0
  92. package/models/components/{transactionbuyer.js → transactionbuyeroutput.js} +17 -17
  93. package/models/components/transactionbuyeroutput.js.map +1 -0
  94. package/models/components/transactioncancel.d.ts +3 -3
  95. package/models/components/transactioncancel.d.ts.map +1 -1
  96. package/models/components/transactioncancel.js +3 -3
  97. package/models/components/transactioncancel.js.map +1 -1
  98. package/models/components/transactioncaptureoutput.d.ts +56 -0
  99. package/models/components/transactioncaptureoutput.d.ts.map +1 -0
  100. package/models/components/{transactioncapture.js → transactioncaptureoutput.js} +20 -20
  101. package/models/components/transactioncaptureoutput.js.map +1 -0
  102. package/models/components/transactioncreate.d.ts +6 -0
  103. package/models/components/transactioncreate.d.ts.map +1 -1
  104. package/models/components/transactioncreate.js +5 -0
  105. package/models/components/transactioncreate.js.map +1 -1
  106. package/models/components/{transactionevent.d.ts → transactioneventoutput.d.ts} +14 -14
  107. package/models/components/transactioneventoutput.d.ts.map +1 -0
  108. package/models/components/{transactionevent.js → transactioneventoutput.js} +17 -17
  109. package/models/components/transactioneventoutput.js.map +1 -0
  110. package/models/components/transactionevents.d.ts +3 -3
  111. package/models/components/transactionevents.d.ts.map +1 -1
  112. package/models/components/transactionevents.js +3 -3
  113. package/models/components/transactionevents.js.map +1 -1
  114. package/models/components/{transaction.d.ts → transactionoutput.d.ts} +28 -23
  115. package/models/components/transactionoutput.d.ts.map +1 -0
  116. package/models/components/{transaction.js → transactionoutput.js} +32 -26
  117. package/models/components/transactionoutput.js.map +1 -0
  118. package/models/components/{transactionpaymentmethod.d.ts → transactionpaymentmethodoutput.d.ts} +14 -14
  119. package/models/components/transactionpaymentmethodoutput.d.ts.map +1 -0
  120. package/models/components/{transactionpaymentmethod.js → transactionpaymentmethodoutput.js} +17 -17
  121. package/models/components/transactionpaymentmethodoutput.js.map +1 -0
  122. package/models/components/transactionsummaries.d.ts +3 -3
  123. package/models/components/transactionsummaries.d.ts.map +1 -1
  124. package/models/components/transactionsummaries.js +3 -3
  125. package/models/components/transactionsummaries.js.map +1 -1
  126. package/models/components/{transactionsummary.d.ts → transactionsummaryoutput.d.ts} +20 -20
  127. package/models/components/transactionsummaryoutput.d.ts.map +1 -0
  128. package/models/components/{transactionsummary.js → transactionsummaryoutput.js} +25 -23
  129. package/models/components/transactionsummaryoutput.js.map +1 -0
  130. package/models/components/{transactionthreedsecuresummary.d.ts → transactionthreedsecuresummaryoutput.d.ts} +14 -14
  131. package/models/components/transactionthreedsecuresummaryoutput.d.ts.map +1 -0
  132. package/models/components/{transactionthreedsecuresummary.js → transactionthreedsecuresummaryoutput.js} +17 -17
  133. package/models/components/transactionthreedsecuresummaryoutput.js.map +1 -0
  134. package/models/components/transactionvoidoutput.d.ts +56 -0
  135. package/models/components/transactionvoidoutput.d.ts.map +1 -0
  136. package/models/components/{transactionvoid.js → transactionvoidoutput.js} +20 -20
  137. package/models/components/transactionvoidoutput.js.map +1 -0
  138. package/models/operations/capturetransaction.d.ts +2 -2
  139. package/models/operations/capturetransaction.d.ts.map +1 -1
  140. package/models/operations/capturetransaction.js +4 -4
  141. package/models/operations/capturetransaction.js.map +1 -1
  142. package/models/operations/voidtransaction.d.ts +2 -2
  143. package/models/operations/voidtransaction.d.ts.map +1 -1
  144. package/models/operations/voidtransaction.js +4 -4
  145. package/models/operations/voidtransaction.js.map +1 -1
  146. package/package.json +1 -1
  147. package/sdk/transactions.d.ts +4 -4
  148. package/sdk/transactions.d.ts.map +1 -1
  149. package/src/funcs/transactionsCreate.ts +4 -4
  150. package/src/funcs/transactionsGet.ts +4 -4
  151. package/src/funcs/transactionsSync.ts +4 -4
  152. package/src/funcs/transactionsUpdate.ts +4 -4
  153. package/src/lib/config.ts +3 -3
  154. package/src/models/components/auditlogentries.ts +9 -9
  155. package/src/models/components/{auditlogentry.ts → auditlogentryoutput.ts} +24 -20
  156. package/src/models/components/checkoutsession.ts +12 -9
  157. package/src/models/components/{checkoutsessionpaymentmethod.ts → checkoutsessionpaymentmethodoutput.ts} +24 -22
  158. package/src/models/components/index.ts +16 -12
  159. package/src/models/components/integrationclient.ts +50 -0
  160. package/src/models/components/paymentlink.ts +9 -9
  161. package/src/models/components/paymentmethodsummaries.ts +9 -9
  162. package/src/models/components/{paymentmethodsummary.ts → paymentmethodsummaryoutput.ts} +21 -21
  163. package/src/models/components/{paymentoption.ts → paymentoptionoutput.ts} +24 -20
  164. package/src/models/components/paymentoptions.ts +9 -9
  165. package/src/models/components/paymentservicedefinition.ts +18 -0
  166. package/src/models/components/payoutsummary.ts +18 -18
  167. package/src/models/components/paypaloptions.ts +13 -0
  168. package/src/models/components/paypalshippingoptions.ts +77 -0
  169. package/src/models/components/paypalshippingoptionsitem.ts +150 -0
  170. package/src/models/components/paypalshippingoptionsitemamount.ts +87 -0
  171. package/src/models/components/{transactionbuyer.ts → transactionbuyeroutput.ts} +21 -21
  172. package/src/models/components/transactioncancel.ts +9 -9
  173. package/src/models/components/{transactioncapture.ts → transactioncaptureoutput.ts} +30 -30
  174. package/src/models/components/transactioncreate.ts +14 -0
  175. package/src/models/components/{transactionevent.ts → transactioneventoutput.ts} +21 -21
  176. package/src/models/components/transactionevents.ts +9 -9
  177. package/src/models/components/{transaction.ts → transactionoutput.ts} +65 -47
  178. package/src/models/components/{transactionpaymentmethod.ts → transactionpaymentmethodoutput.ts} +23 -21
  179. package/src/models/components/transactionsummaries.ts +9 -9
  180. package/src/models/components/{transactionsummary.ts → transactionsummaryoutput.ts} +41 -39
  181. package/src/models/components/{transactionthreedsecuresummary.ts → transactionthreedsecuresummaryoutput.ts} +25 -22
  182. package/src/models/components/{transactionvoid.ts → transactionvoidoutput.ts} +32 -30
  183. package/src/models/operations/capturetransaction.ts +8 -8
  184. package/src/models/operations/voidtransaction.ts +8 -8
  185. package/src/sdk/transactions.ts +4 -4
  186. package/models/components/auditlogentry.d.ts.map +0 -1
  187. package/models/components/auditlogentry.js.map +0 -1
  188. package/models/components/checkoutsessionpaymentmethod.d.ts.map +0 -1
  189. package/models/components/checkoutsessionpaymentmethod.js.map +0 -1
  190. package/models/components/paymentmethodsummary.d.ts.map +0 -1
  191. package/models/components/paymentmethodsummary.js.map +0 -1
  192. package/models/components/paymentoption.d.ts.map +0 -1
  193. package/models/components/paymentoption.js.map +0 -1
  194. package/models/components/transaction.d.ts.map +0 -1
  195. package/models/components/transaction.js.map +0 -1
  196. package/models/components/transactionbuyer.d.ts.map +0 -1
  197. package/models/components/transactionbuyer.js.map +0 -1
  198. package/models/components/transactioncapture.d.ts +0 -56
  199. package/models/components/transactioncapture.d.ts.map +0 -1
  200. package/models/components/transactioncapture.js.map +0 -1
  201. package/models/components/transactionevent.d.ts.map +0 -1
  202. package/models/components/transactionevent.js.map +0 -1
  203. package/models/components/transactionpaymentmethod.d.ts.map +0 -1
  204. package/models/components/transactionpaymentmethod.js.map +0 -1
  205. package/models/components/transactionsummary.d.ts.map +0 -1
  206. package/models/components/transactionsummary.js.map +0 -1
  207. package/models/components/transactionthreedsecuresummary.d.ts.map +0 -1
  208. package/models/components/transactionthreedsecuresummary.js.map +0 -1
  209. package/models/components/transactionvoid.d.ts +0 -56
  210. package/models/components/transactionvoid.d.ts.map +0 -1
  211. package/models/components/transactionvoid.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"voidtransaction.d.ts","sourceRoot":"","sources":["../../src/models/operations/voidtransaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAC9C,UAAU,CAAC,WAAW,GACtB,UAAU,CAAC,eAAe,CAAC;AAE/B,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,iBAAiB,CAAC,EAAE,M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D,uFAAuF;IAChF,MAAM,cAAc,kHAC4B,CAAC;IACxD,iFAAiF;IACjF,KAAY,QAAQ,GAAG,+CAA+C,CAAC;CACxE;AAED,wBAAgB,4CAA4C,CAC1D,sCAAsC,EACpC,sCAAsC,GACvC,MAAM,CAMR;AAED,wBAAgB,8CAA8C,CAC5D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sCAAsC,EAAE,kBAAkB,CAAC,CAO7E"}
@@ -111,13 +111,13 @@ function voidTransactionRequestFromJSON(jsonString) {
111
111
  }
112
112
  /** @internal */
113
113
  exports.VoidTransactionResponseVoidTransaction$inboundSchema = z.union([
114
- components.Transaction$inboundSchema,
115
- components.TransactionVoid$inboundSchema,
114
+ components.TransactionOutput$inboundSchema,
115
+ components.TransactionVoidOutput$inboundSchema,
116
116
  ]);
117
117
  /** @internal */
118
118
  exports.VoidTransactionResponseVoidTransaction$outboundSchema = z.union([
119
- components.Transaction$outboundSchema,
120
- components.TransactionVoid$outboundSchema,
119
+ components.TransactionOutput$outboundSchema,
120
+ components.TransactionVoidOutput$outboundSchema,
121
121
  ]);
122
122
  /**
123
123
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"voidtransaction.js","sourceRoot":"","sources":["../../src/models/operations/voidtransaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,oEAMC;AAED,wEAQC;AAoDD,oEAMC;AAED,wEAQC;AA0CD,oGASC;AAED,wGASC;AAvND,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA6BrD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAA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D;AATD,WAAiB,uCAAuC;IACtD,sFAAsF;IACzE,qDAAa,GACxB,4DAAoD,CAAC;IACvD,uFAAuF;IAC1E,sDAAc,GACzB,6DAAqD,CAAC;AAG1D,CAAC,EATgB,uCAAuC,uDAAvC,uCAAuC,QASvD;AAED,SAAgB,4CAA4C,CAC1D,sCACwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,6DAAqD,CAAC,KAAK,CACzD,sCAAsC,CACvC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,4DAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"voidtransaction.js","sourceRoot":"","sources":["../../src/models/operations/voidtransaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,oEAMC;AAED,wEAQC;AAoDD,oEAMC;AAED,wEAQC;AA0CD,oGASC;AAED,wGASC;AAvND,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA6BrD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,G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CAC1D,sCACwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,6DAAqD,CAAC,KAAK,CACzD,sCAAsC,CACvC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,4DAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gr4vy/sdk",
3
- "version": "1.5.1",
3
+ "version": "1.5.4",
4
4
  "author": "Gr4vy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
@@ -27,21 +27,21 @@ export declare class Transactions extends ClientSDK {
27
27
  * @remarks
28
28
  * Create a new transaction using a supported payment method. If additional buyer authorization is required, an approval URL will be returned. Duplicated gift card numbers are not supported.
29
29
  */
30
- create(transactionCreate: components.TransactionCreate, merchantAccountId?: string | null | undefined, idempotencyKey?: string | null | undefined, xForwardedFor?: string | undefined, options?: RequestOptions): Promise<components.Transaction>;
30
+ create(transactionCreate: components.TransactionCreate, merchantAccountId?: string | null | undefined, idempotencyKey?: string | null | undefined, xForwardedFor?: string | undefined, options?: RequestOptions): Promise<components.TransactionOutput>;
31
31
  /**
32
32
  * Get transaction
33
33
  *
34
34
  * @remarks
35
35
  * Retrieve the details of a transaction by its unique identifier.
36
36
  */
37
- get(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.Transaction>;
37
+ get(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.TransactionOutput>;
38
38
  /**
39
39
  * Manually update a transaction
40
40
  *
41
41
  * @remarks
42
42
  * Manually updates a transaction.
43
43
  */
44
- update(transactionUpdate: components.TransactionUpdate, transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.Transaction>;
44
+ update(transactionUpdate: components.TransactionUpdate, transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.TransactionOutput>;
45
45
  /**
46
46
  * Capture transaction
47
47
  *
@@ -69,6 +69,6 @@ export declare class Transactions extends ClientSDK {
69
69
  * @remarks
70
70
  * Synchronizes the status of a transaction with the underlying payment service provider. This is useful for transactions in a pending state to check if they've been completed or failed. Only available for some payment service providers.
71
71
  */
72
- sync(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.Transaction>;
72
+ sync(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.TransactionOutput>;
73
73
  }
74
74
  //# sourceMappingURL=transactions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/sdk/transactions.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAwB,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,YAAa,SAAQ,SAAS;IACzC,OAAO,CAAC,QAAQ,CAAC,CAAe;IAChC,IAAI,OAAO,IAAI,YAAY,CAE1B;IAED,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,OAAO,CAAC,YAAY,CAAC,CAAc;IACnC,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,SAAS,EACxD,OAA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a,EAAE,MAAM,EACrB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,EACzC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAU7D;;;;;OAKG;IACG,MAAM,CACV,aAAa,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;IASxC;;;;;OAKG;IACG,IAAI,CACR,aAAa,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAQzC"}
@@ -41,7 +41,7 @@ export function transactionsCreate(
41
41
  options?: RequestOptions,
42
42
  ): APIPromise<
43
43
  Result<
44
- components.Transaction,
44
+ components.TransactionOutput,
45
45
  | errors.Error400
46
46
  | errors.Error401
47
47
  | errors.Error403
@@ -84,7 +84,7 @@ async function $do(
84
84
  ): Promise<
85
85
  [
86
86
  Result<
87
- components.Transaction,
87
+ components.TransactionOutput,
88
88
  | errors.Error400
89
89
  | errors.Error401
90
90
  | errors.Error403
@@ -214,7 +214,7 @@ async function $do(
214
214
  };
215
215
 
216
216
  const [result] = await M.match<
217
- components.Transaction,
217
+ components.TransactionOutput,
218
218
  | errors.Error400
219
219
  | errors.Error401
220
220
  | errors.Error403
@@ -236,7 +236,7 @@ async function $do(
236
236
  | UnexpectedClientError
237
237
  | SDKValidationError
238
238
  >(
239
- M.json(201, components.Transaction$inboundSchema),
239
+ M.json(201, components.TransactionOutput$inboundSchema),
240
240
  M.jsonErr(400, errors.Error400$inboundSchema),
241
241
  M.jsonErr(401, errors.Error401$inboundSchema),
242
242
  M.jsonErr(403, errors.Error403$inboundSchema),
@@ -39,7 +39,7 @@ export function transactionsGet(
39
39
  options?: RequestOptions,
40
40
  ): APIPromise<
41
41
  Result<
42
- components.Transaction,
42
+ components.TransactionOutput,
43
43
  | errors.Error400
44
44
  | errors.Error401
45
45
  | errors.Error403
@@ -78,7 +78,7 @@ async function $do(
78
78
  ): Promise<
79
79
  [
80
80
  Result<
81
- components.Transaction,
81
+ components.TransactionOutput,
82
82
  | errors.Error400
83
83
  | errors.Error401
84
84
  | errors.Error403
@@ -212,7 +212,7 @@ async function $do(
212
212
  };
213
213
 
214
214
  const [result] = await M.match<
215
- components.Transaction,
215
+ components.TransactionOutput,
216
216
  | errors.Error400
217
217
  | errors.Error401
218
218
  | errors.Error403
@@ -234,7 +234,7 @@ async function $do(
234
234
  | UnexpectedClientError
235
235
  | SDKValidationError
236
236
  >(
237
- M.json(200, components.Transaction$inboundSchema),
237
+ M.json(200, components.TransactionOutput$inboundSchema),
238
238
  M.jsonErr(400, errors.Error400$inboundSchema),
239
239
  M.jsonErr(401, errors.Error401$inboundSchema),
240
240
  M.jsonErr(403, errors.Error403$inboundSchema),
@@ -39,7 +39,7 @@ export function transactionsSync(
39
39
  options?: RequestOptions,
40
40
  ): APIPromise<
41
41
  Result<
42
- components.Transaction,
42
+ components.TransactionOutput,
43
43
  | errors.Error400
44
44
  | errors.Error401
45
45
  | errors.Error403
@@ -78,7 +78,7 @@ async function $do(
78
78
  ): Promise<
79
79
  [
80
80
  Result<
81
- components.Transaction,
81
+ components.TransactionOutput,
82
82
  | errors.Error400
83
83
  | errors.Error401
84
84
  | errors.Error403
@@ -202,7 +202,7 @@ async function $do(
202
202
  };
203
203
 
204
204
  const [result] = await M.match<
205
- components.Transaction,
205
+ components.TransactionOutput,
206
206
  | errors.Error400
207
207
  | errors.Error401
208
208
  | errors.Error403
@@ -224,7 +224,7 @@ async function $do(
224
224
  | UnexpectedClientError
225
225
  | SDKValidationError
226
226
  >(
227
- M.json(200, components.Transaction$inboundSchema),
227
+ M.json(200, components.TransactionOutput$inboundSchema),
228
228
  M.jsonErr(400, errors.Error400$inboundSchema),
229
229
  M.jsonErr(401, errors.Error401$inboundSchema),
230
230
  M.jsonErr(403, errors.Error403$inboundSchema),
@@ -40,7 +40,7 @@ export function transactionsUpdate(
40
40
  options?: RequestOptions,
41
41
  ): APIPromise<
42
42
  Result<
43
- components.Transaction,
43
+ components.TransactionOutput,
44
44
  | errors.Error400
45
45
  | errors.Error401
46
46
  | errors.Error403
@@ -81,7 +81,7 @@ async function $do(
81
81
  ): Promise<
82
82
  [
83
83
  Result<
84
- components.Transaction,
84
+ components.TransactionOutput,
85
85
  | errors.Error400
86
86
  | errors.Error401
87
87
  | errors.Error403
@@ -207,7 +207,7 @@ async function $do(
207
207
  };
208
208
 
209
209
  const [result] = await M.match<
210
- components.Transaction,
210
+ components.TransactionOutput,
211
211
  | errors.Error400
212
212
  | errors.Error401
213
213
  | errors.Error403
@@ -229,7 +229,7 @@ async function $do(
229
229
  | UnexpectedClientError
230
230
  | SDKValidationError
231
231
  >(
232
- M.json(200, components.Transaction$inboundSchema),
232
+ M.json(200, components.TransactionOutput$inboundSchema),
233
233
  M.jsonErr(400, errors.Error400$inboundSchema),
234
234
  M.jsonErr(401, errors.Error401$inboundSchema),
235
235
  M.jsonErr(403, errors.Error403$inboundSchema),
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: "1.5.1",
81
- genVersion: "2.730.5",
82
- userAgent: "speakeasy-sdk/typescript 1.5.1 2.730.5 1.0.0 @gr4vy/sdk",
80
+ sdkVersion: "1.5.4",
81
+ genVersion: "2.731.6",
82
+ userAgent: "speakeasy-sdk/typescript 1.5.4 2.731.6 1.0.0 @gr4vy/sdk",
83
83
  } as const;
@@ -8,17 +8,17 @@ import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
- AuditLogEntry,
12
- AuditLogEntry$inboundSchema,
13
- AuditLogEntry$Outbound,
14
- AuditLogEntry$outboundSchema,
15
- } from "./auditlogentry.js";
11
+ AuditLogEntryOutput,
12
+ AuditLogEntryOutput$inboundSchema,
13
+ AuditLogEntryOutput$Outbound,
14
+ AuditLogEntryOutput$outboundSchema,
15
+ } from "./auditlogentryoutput.js";
16
16
 
17
17
  export type AuditLogEntries = {
18
18
  /**
19
19
  * A list of items returned for this request.
20
20
  */
21
- items: Array<AuditLogEntry>;
21
+ items: Array<AuditLogEntryOutput>;
22
22
  /**
23
23
  * The number of items for this page.
24
24
  */
@@ -39,7 +39,7 @@ export const AuditLogEntries$inboundSchema: z.ZodType<
39
39
  z.ZodTypeDef,
40
40
  unknown
41
41
  > = z.object({
42
- items: z.array(AuditLogEntry$inboundSchema),
42
+ items: z.array(AuditLogEntryOutput$inboundSchema),
43
43
  limit: z.number().int().default(20),
44
44
  next_cursor: z.nullable(z.string()).optional(),
45
45
  previous_cursor: z.nullable(z.string()).optional(),
@@ -52,7 +52,7 @@ export const AuditLogEntries$inboundSchema: z.ZodType<
52
52
 
53
53
  /** @internal */
54
54
  export type AuditLogEntries$Outbound = {
55
- items: Array<AuditLogEntry$Outbound>;
55
+ items: Array<AuditLogEntryOutput$Outbound>;
56
56
  limit: number;
57
57
  next_cursor?: string | null | undefined;
58
58
  previous_cursor?: string | null | undefined;
@@ -64,7 +64,7 @@ export const AuditLogEntries$outboundSchema: z.ZodType<
64
64
  z.ZodTypeDef,
65
65
  AuditLogEntries
66
66
  > = z.object({
67
- items: z.array(AuditLogEntry$outboundSchema),
67
+ items: z.array(AuditLogEntryOutput$outboundSchema),
68
68
  limit: z.number().int().default(20),
69
69
  nextCursor: z.nullable(z.string()).optional(),
70
70
  previousCursor: z.nullable(z.string()).optional(),
@@ -25,7 +25,7 @@ import {
25
25
  AuditLogEntryUser$outboundSchema,
26
26
  } from "./auditlogentryuser.js";
27
27
 
28
- export type AuditLogEntry = {
28
+ export type AuditLogEntryOutput = {
29
29
  /**
30
30
  * Always `audit-log`.
31
31
  */
@@ -48,8 +48,8 @@ export type AuditLogEntry = {
48
48
  };
49
49
 
50
50
  /** @internal */
51
- export const AuditLogEntry$inboundSchema: z.ZodType<
52
- AuditLogEntry,
51
+ export const AuditLogEntryOutput$inboundSchema: z.ZodType<
52
+ AuditLogEntryOutput,
53
53
  z.ZodTypeDef,
54
54
  unknown
55
55
  > = z.object({
@@ -67,7 +67,7 @@ export const AuditLogEntry$inboundSchema: z.ZodType<
67
67
  });
68
68
 
69
69
  /** @internal */
70
- export type AuditLogEntry$Outbound = {
70
+ export type AuditLogEntryOutput$Outbound = {
71
71
  type: "audit-log";
72
72
  id?: string | null | undefined;
73
73
  merchant_account_id?: string | null | undefined;
@@ -78,10 +78,10 @@ export type AuditLogEntry$Outbound = {
78
78
  };
79
79
 
80
80
  /** @internal */
81
- export const AuditLogEntry$outboundSchema: z.ZodType<
82
- AuditLogEntry$Outbound,
81
+ export const AuditLogEntryOutput$outboundSchema: z.ZodType<
82
+ AuditLogEntryOutput$Outbound,
83
83
  z.ZodTypeDef,
84
- AuditLogEntry
84
+ AuditLogEntryOutput
85
85
  > = z.object({
86
86
  type: z.literal("audit-log").default("audit-log" as const),
87
87
  id: z.nullable(z.string()).optional(),
@@ -100,25 +100,29 @@ export const AuditLogEntry$outboundSchema: z.ZodType<
100
100
  * @internal
101
101
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
102
102
  */
103
- export namespace AuditLogEntry$ {
104
- /** @deprecated use `AuditLogEntry$inboundSchema` instead. */
105
- export const inboundSchema = AuditLogEntry$inboundSchema;
106
- /** @deprecated use `AuditLogEntry$outboundSchema` instead. */
107
- export const outboundSchema = AuditLogEntry$outboundSchema;
108
- /** @deprecated use `AuditLogEntry$Outbound` instead. */
109
- export type Outbound = AuditLogEntry$Outbound;
103
+ export namespace AuditLogEntryOutput$ {
104
+ /** @deprecated use `AuditLogEntryOutput$inboundSchema` instead. */
105
+ export const inboundSchema = AuditLogEntryOutput$inboundSchema;
106
+ /** @deprecated use `AuditLogEntryOutput$outboundSchema` instead. */
107
+ export const outboundSchema = AuditLogEntryOutput$outboundSchema;
108
+ /** @deprecated use `AuditLogEntryOutput$Outbound` instead. */
109
+ export type Outbound = AuditLogEntryOutput$Outbound;
110
110
  }
111
111
 
112
- export function auditLogEntryToJSON(auditLogEntry: AuditLogEntry): string {
113
- return JSON.stringify(AuditLogEntry$outboundSchema.parse(auditLogEntry));
112
+ export function auditLogEntryOutputToJSON(
113
+ auditLogEntryOutput: AuditLogEntryOutput,
114
+ ): string {
115
+ return JSON.stringify(
116
+ AuditLogEntryOutput$outboundSchema.parse(auditLogEntryOutput),
117
+ );
114
118
  }
115
119
 
116
- export function auditLogEntryFromJSON(
120
+ export function auditLogEntryOutputFromJSON(
117
121
  jsonString: string,
118
- ): SafeParseResult<AuditLogEntry, SDKValidationError> {
122
+ ): SafeParseResult<AuditLogEntryOutput, SDKValidationError> {
119
123
  return safeParse(
120
124
  jsonString,
121
- (x) => AuditLogEntry$inboundSchema.parse(JSON.parse(x)),
122
- `Failed to parse 'AuditLogEntry' from JSON`,
125
+ (x) => AuditLogEntryOutput$inboundSchema.parse(JSON.parse(x)),
126
+ `Failed to parse 'AuditLogEntryOutput' from JSON`,
123
127
  );
124
128
  }
@@ -20,11 +20,11 @@ import {
20
20
  CartItem$outboundSchema,
21
21
  } from "./cartitem.js";
22
22
  import {
23
- CheckoutSessionPaymentMethod,
24
- CheckoutSessionPaymentMethod$inboundSchema,
25
- CheckoutSessionPaymentMethod$Outbound,
26
- CheckoutSessionPaymentMethod$outboundSchema,
27
- } from "./checkoutsessionpaymentmethod.js";
23
+ CheckoutSessionPaymentMethodOutput,
24
+ CheckoutSessionPaymentMethodOutput$inboundSchema,
25
+ CheckoutSessionPaymentMethodOutput$Outbound,
26
+ CheckoutSessionPaymentMethodOutput$outboundSchema,
27
+ } from "./checkoutsessionpaymentmethodoutput.js";
28
28
  import {
29
29
  GuestBuyerOutput,
30
30
  GuestBuyerOutput$inboundSchema,
@@ -64,7 +64,7 @@ export type CheckoutSession = {
64
64
  /**
65
65
  * Information about the payment method stored on the checkout session.
66
66
  */
67
- paymentMethod?: CheckoutSessionPaymentMethod | null | undefined;
67
+ paymentMethod?: CheckoutSessionPaymentMethodOutput | null | undefined;
68
68
  };
69
69
 
70
70
  /** @internal */
@@ -80,7 +80,7 @@ export const CheckoutSession$inboundSchema: z.ZodType<
80
80
  type: z.literal("checkout-session").default("checkout-session"),
81
81
  id: z.string(),
82
82
  expires_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
83
- payment_method: z.nullable(CheckoutSessionPaymentMethod$inboundSchema)
83
+ payment_method: z.nullable(CheckoutSessionPaymentMethodOutput$inboundSchema)
84
84
  .optional(),
85
85
  }).transform((v) => {
86
86
  return remap$(v, {
@@ -99,7 +99,10 @@ export type CheckoutSession$Outbound = {
99
99
  type: "checkout-session";
100
100
  id: string;
101
101
  expires_at: string;
102
- payment_method?: CheckoutSessionPaymentMethod$Outbound | null | undefined;
102
+ payment_method?:
103
+ | CheckoutSessionPaymentMethodOutput$Outbound
104
+ | null
105
+ | undefined;
103
106
  };
104
107
 
105
108
  /** @internal */
@@ -115,7 +118,7 @@ export const CheckoutSession$outboundSchema: z.ZodType<
115
118
  type: z.literal("checkout-session").default("checkout-session" as const),
116
119
  id: z.string(),
117
120
  expiresAt: z.date().transform(v => v.toISOString()),
118
- paymentMethod: z.nullable(CheckoutSessionPaymentMethod$outboundSchema)
121
+ paymentMethod: z.nullable(CheckoutSessionPaymentMethodOutput$outboundSchema)
119
122
  .optional(),
120
123
  }).transform((v) => {
121
124
  return remap$(v, {
@@ -18,7 +18,7 @@ import {
18
18
  CheckoutSessionPaymentMethodDetails$outboundSchema,
19
19
  } from "./checkoutsessionpaymentmethoddetails.js";
20
20
 
21
- export type CheckoutSessionPaymentMethod = {
21
+ export type CheckoutSessionPaymentMethodOutput = {
22
22
  /**
23
23
  * Always `payment-method`
24
24
  */
@@ -50,8 +50,8 @@ export type CheckoutSessionPaymentMethod = {
50
50
  };
51
51
 
52
52
  /** @internal */
53
- export const CheckoutSessionPaymentMethod$inboundSchema: z.ZodType<
54
- CheckoutSessionPaymentMethod,
53
+ export const CheckoutSessionPaymentMethodOutput$inboundSchema: z.ZodType<
54
+ CheckoutSessionPaymentMethodOutput,
55
55
  z.ZodTypeDef,
56
56
  unknown
57
57
  > = z.object({
@@ -66,7 +66,7 @@ export const CheckoutSessionPaymentMethod$inboundSchema: z.ZodType<
66
66
  });
67
67
 
68
68
  /** @internal */
69
- export type CheckoutSessionPaymentMethod$Outbound = {
69
+ export type CheckoutSessionPaymentMethodOutput$Outbound = {
70
70
  type: "payment-method";
71
71
  id?: string | null | undefined;
72
72
  details?: CheckoutSessionPaymentMethodDetails$Outbound | null | undefined;
@@ -77,10 +77,10 @@ export type CheckoutSessionPaymentMethod$Outbound = {
77
77
  };
78
78
 
79
79
  /** @internal */
80
- export const CheckoutSessionPaymentMethod$outboundSchema: z.ZodType<
81
- CheckoutSessionPaymentMethod$Outbound,
80
+ export const CheckoutSessionPaymentMethodOutput$outboundSchema: z.ZodType<
81
+ CheckoutSessionPaymentMethodOutput$Outbound,
82
82
  z.ZodTypeDef,
83
- CheckoutSessionPaymentMethod
83
+ CheckoutSessionPaymentMethodOutput
84
84
  > = z.object({
85
85
  type: z.literal("payment-method").default("payment-method" as const),
86
86
  id: z.nullable(z.string()).optional(),
@@ -96,31 +96,33 @@ export const CheckoutSessionPaymentMethod$outboundSchema: z.ZodType<
96
96
  * @internal
97
97
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
98
98
  */
99
- export namespace CheckoutSessionPaymentMethod$ {
100
- /** @deprecated use `CheckoutSessionPaymentMethod$inboundSchema` instead. */
101
- export const inboundSchema = CheckoutSessionPaymentMethod$inboundSchema;
102
- /** @deprecated use `CheckoutSessionPaymentMethod$outboundSchema` instead. */
103
- export const outboundSchema = CheckoutSessionPaymentMethod$outboundSchema;
104
- /** @deprecated use `CheckoutSessionPaymentMethod$Outbound` instead. */
105
- export type Outbound = CheckoutSessionPaymentMethod$Outbound;
99
+ export namespace CheckoutSessionPaymentMethodOutput$ {
100
+ /** @deprecated use `CheckoutSessionPaymentMethodOutput$inboundSchema` instead. */
101
+ export const inboundSchema = CheckoutSessionPaymentMethodOutput$inboundSchema;
102
+ /** @deprecated use `CheckoutSessionPaymentMethodOutput$outboundSchema` instead. */
103
+ export const outboundSchema =
104
+ CheckoutSessionPaymentMethodOutput$outboundSchema;
105
+ /** @deprecated use `CheckoutSessionPaymentMethodOutput$Outbound` instead. */
106
+ export type Outbound = CheckoutSessionPaymentMethodOutput$Outbound;
106
107
  }
107
108
 
108
- export function checkoutSessionPaymentMethodToJSON(
109
- checkoutSessionPaymentMethod: CheckoutSessionPaymentMethod,
109
+ export function checkoutSessionPaymentMethodOutputToJSON(
110
+ checkoutSessionPaymentMethodOutput: CheckoutSessionPaymentMethodOutput,
110
111
  ): string {
111
112
  return JSON.stringify(
112
- CheckoutSessionPaymentMethod$outboundSchema.parse(
113
- checkoutSessionPaymentMethod,
113
+ CheckoutSessionPaymentMethodOutput$outboundSchema.parse(
114
+ checkoutSessionPaymentMethodOutput,
114
115
  ),
115
116
  );
116
117
  }
117
118
 
118
- export function checkoutSessionPaymentMethodFromJSON(
119
+ export function checkoutSessionPaymentMethodOutputFromJSON(
119
120
  jsonString: string,
120
- ): SafeParseResult<CheckoutSessionPaymentMethod, SDKValidationError> {
121
+ ): SafeParseResult<CheckoutSessionPaymentMethodOutput, SDKValidationError> {
121
122
  return safeParse(
122
123
  jsonString,
123
- (x) => CheckoutSessionPaymentMethod$inboundSchema.parse(JSON.parse(x)),
124
- `Failed to parse 'CheckoutSessionPaymentMethod' from JSON`,
124
+ (x) =>
125
+ CheckoutSessionPaymentMethodOutput$inboundSchema.parse(JSON.parse(x)),
126
+ `Failed to parse 'CheckoutSessionPaymentMethodOutput' from JSON`,
125
127
  );
126
128
  }
@@ -25,7 +25,7 @@ export * from "./applepaysessionrequest.js";
25
25
  export * from "./approvaltarget.js";
26
26
  export * from "./auditlogaction.js";
27
27
  export * from "./auditlogentries.js";
28
- export * from "./auditlogentry.js";
28
+ export * from "./auditlogentryoutput.js";
29
29
  export * from "./auditlogentryresource.js";
30
30
  export * from "./auditlogentryuser.js";
31
31
  export * from "./avsresponsecode.js";
@@ -50,9 +50,9 @@ export * from "./cartitem.js";
50
50
  export * from "./checkoutpayoutoptions.js";
51
51
  export * from "./checkoutsession.js";
52
52
  export * from "./checkoutsessioncreate.js";
53
- export * from "./checkoutsessionpaymentmethod.js";
54
53
  export * from "./checkoutsessionpaymentmethodcreate.js";
55
54
  export * from "./checkoutsessionpaymentmethoddetails.js";
55
+ export * from "./checkoutsessionpaymentmethodoutput.js";
56
56
  export * from "./checkoutsessionwithurlpaymentmethodcreate.js";
57
57
  export * from "./clicktopayfpanpaymentmethodcreate.js";
58
58
  export * from "./clicktopaypaymentmethodcreate.js";
@@ -121,6 +121,7 @@ export * from "./googlepaysessionrequest.js";
121
121
  export * from "./guestbuyerinput.js";
122
122
  export * from "./guestbuyeroutput.js";
123
123
  export * from "./instrumenttype.js";
124
+ export * from "./integrationclient.js";
124
125
  export * from "./latitudeoptions.js";
125
126
  export * from "./mattildatapioptions.js";
126
127
  export * from "./merchantaccount.js";
@@ -153,10 +154,10 @@ export * from "./paymentmethods.js";
153
154
  export * from "./paymentmethodstatus.js";
154
155
  export * from "./paymentmethodstoredcard.js";
155
156
  export * from "./paymentmethodsummaries.js";
156
- export * from "./paymentmethodsummary.js";
157
- export * from "./paymentoption.js";
157
+ export * from "./paymentmethodsummaryoutput.js";
158
158
  export * from "./paymentoptioncontext.js";
159
159
  export * from "./paymentoptioncontextapprovalui.js";
160
+ export * from "./paymentoptionoutput.js";
160
161
  export * from "./paymentoptionrequest.js";
161
162
  export * from "./paymentoptions.js";
162
163
  export * from "./paymentservice.js";
@@ -180,6 +181,9 @@ export * from "./payoutstatus.js";
180
181
  export * from "./payoutsummaries.js";
181
182
  export * from "./payoutsummary.js";
182
183
  export * from "./paypaloptions.js";
184
+ export * from "./paypalshippingoptions.js";
185
+ export * from "./paypalshippingoptionsitem.js";
186
+ export * from "./paypalshippingoptionsitemamount.js";
183
187
  export * from "./powertranzoptions.js";
184
188
  export * from "./producttype.js";
185
189
  export * from "./recipient.js";
@@ -224,19 +228,19 @@ export * from "./threedsecuremethod.js";
224
228
  export * from "./threedsecurestatus.js";
225
229
  export * from "./threedsecurev2.js";
226
230
  export * from "./tokenpaymentmethodcreate.js";
227
- export * from "./transaction.js";
228
- export * from "./transactionbuyer.js";
231
+ export * from "./transactionbuyeroutput.js";
229
232
  export * from "./transactioncancel.js";
230
- export * from "./transactioncapture.js";
231
233
  export * from "./transactioncapturecreate.js";
234
+ export * from "./transactioncaptureoutput.js";
232
235
  export * from "./transactionconnectionoptions.js";
233
236
  export * from "./transactioncreate.js";
234
- export * from "./transactionevent.js";
237
+ export * from "./transactioneventoutput.js";
235
238
  export * from "./transactionevents.js";
236
239
  export * from "./transactiongiftcard.js";
237
240
  export * from "./transactionintent.js";
238
241
  export * from "./transactionintentoutcome.js";
239
- export * from "./transactionpaymentmethod.js";
242
+ export * from "./transactionoutput.js";
243
+ export * from "./transactionpaymentmethodoutput.js";
240
244
  export * from "./transactionpaymentservice.js";
241
245
  export * from "./transactionpaymentsource.js";
242
246
  export * from "./transactionrefundallcreate.js";
@@ -245,10 +249,10 @@ export * from "./transactionretriesreportspec.js";
245
249
  export * from "./transactionsreportspec.js";
246
250
  export * from "./transactionstatus.js";
247
251
  export * from "./transactionsummaries.js";
248
- export * from "./transactionsummary.js";
249
- export * from "./transactionthreedsecuresummary.js";
252
+ export * from "./transactionsummaryoutput.js";
253
+ export * from "./transactionthreedsecuresummaryoutput.js";
250
254
  export * from "./transactionupdate.js";
251
- export * from "./transactionvoid.js";
255
+ export * from "./transactionvoidoutput.js";
252
256
  export * from "./travelhubcustomdata.js";
253
257
  export * from "./travelhuboptions.js";
254
258
  export * from "./trustlyoptions.js";