@gr4vy/sdk 1.5.2 → 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 (196) 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 +15 -12
  39. package/models/components/index.d.ts.map +1 -1
  40. package/models/components/index.js +15 -12
  41. package/models/components/index.js.map +1 -1
  42. package/models/components/paymentlink.d.ts +3 -3
  43. package/models/components/paymentlink.d.ts.map +1 -1
  44. package/models/components/paymentlink.js +3 -3
  45. package/models/components/paymentlink.js.map +1 -1
  46. package/models/components/paymentmethodsummaries.d.ts +3 -3
  47. package/models/components/paymentmethodsummaries.d.ts.map +1 -1
  48. package/models/components/paymentmethodsummaries.js +3 -3
  49. package/models/components/paymentmethodsummaries.js.map +1 -1
  50. package/models/components/{paymentmethodsummary.d.ts → paymentmethodsummaryoutput.d.ts} +14 -14
  51. package/models/components/paymentmethodsummaryoutput.d.ts.map +1 -0
  52. package/models/components/{paymentmethodsummary.js → paymentmethodsummaryoutput.js} +17 -17
  53. package/models/components/paymentmethodsummaryoutput.js.map +1 -0
  54. package/models/components/{paymentoption.d.ts → paymentoptionoutput.d.ts} +14 -14
  55. package/models/components/paymentoptionoutput.d.ts.map +1 -0
  56. package/models/components/{paymentoption.js → paymentoptionoutput.js} +17 -17
  57. package/models/components/paymentoptionoutput.js.map +1 -0
  58. package/models/components/paymentoptions.d.ts +3 -3
  59. package/models/components/paymentoptions.d.ts.map +1 -1
  60. package/models/components/paymentoptions.js +3 -3
  61. package/models/components/paymentoptions.js.map +1 -1
  62. package/models/components/payoutsummary.d.ts +6 -6
  63. package/models/components/payoutsummary.d.ts.map +1 -1
  64. package/models/components/payoutsummary.js +6 -6
  65. package/models/components/payoutsummary.js.map +1 -1
  66. package/models/components/paypaloptions.d.ts +6 -0
  67. package/models/components/paypaloptions.d.ts.map +1 -1
  68. package/models/components/paypaloptions.js +3 -0
  69. package/models/components/paypaloptions.js.map +1 -1
  70. package/models/components/paypalshippingoptions.d.ts +33 -0
  71. package/models/components/paypalshippingoptions.d.ts.map +1 -0
  72. package/models/components/paypalshippingoptions.js +72 -0
  73. package/models/components/paypalshippingoptions.js.map +1 -0
  74. package/models/components/paypalshippingoptionsitem.d.ts +75 -0
  75. package/models/components/paypalshippingoptionsitem.d.ts.map +1 -0
  76. package/models/components/paypalshippingoptionsitem.js +107 -0
  77. package/models/components/paypalshippingoptionsitem.js.map +1 -0
  78. package/models/components/paypalshippingoptionsitemamount.d.ts +37 -0
  79. package/models/components/paypalshippingoptionsitemamount.d.ts.map +1 -0
  80. package/models/components/paypalshippingoptionsitemamount.js +80 -0
  81. package/models/components/paypalshippingoptionsitemamount.js.map +1 -0
  82. package/models/components/{transactionbuyer.d.ts → transactionbuyeroutput.d.ts} +14 -14
  83. package/models/components/transactionbuyeroutput.d.ts.map +1 -0
  84. package/models/components/{transactionbuyer.js → transactionbuyeroutput.js} +17 -17
  85. package/models/components/transactionbuyeroutput.js.map +1 -0
  86. package/models/components/transactioncancel.d.ts +3 -3
  87. package/models/components/transactioncancel.d.ts.map +1 -1
  88. package/models/components/transactioncancel.js +3 -3
  89. package/models/components/transactioncancel.js.map +1 -1
  90. package/models/components/transactioncaptureoutput.d.ts +56 -0
  91. package/models/components/transactioncaptureoutput.d.ts.map +1 -0
  92. package/models/components/{transactioncapture.js → transactioncaptureoutput.js} +20 -20
  93. package/models/components/transactioncaptureoutput.js.map +1 -0
  94. package/models/components/{transactionevent.d.ts → transactioneventoutput.d.ts} +14 -14
  95. package/models/components/transactioneventoutput.d.ts.map +1 -0
  96. package/models/components/{transactionevent.js → transactioneventoutput.js} +17 -17
  97. package/models/components/transactioneventoutput.js.map +1 -0
  98. package/models/components/transactionevents.d.ts +3 -3
  99. package/models/components/transactionevents.d.ts.map +1 -1
  100. package/models/components/transactionevents.js +3 -3
  101. package/models/components/transactionevents.js.map +1 -1
  102. package/models/components/{transaction.d.ts → transactionoutput.d.ts} +23 -23
  103. package/models/components/transactionoutput.d.ts.map +1 -0
  104. package/models/components/{transaction.js → transactionoutput.js} +28 -26
  105. package/models/components/transactionoutput.js.map +1 -0
  106. package/models/components/{transactionpaymentmethod.d.ts → transactionpaymentmethodoutput.d.ts} +14 -14
  107. package/models/components/transactionpaymentmethodoutput.d.ts.map +1 -0
  108. package/models/components/{transactionpaymentmethod.js → transactionpaymentmethodoutput.js} +17 -17
  109. package/models/components/transactionpaymentmethodoutput.js.map +1 -0
  110. package/models/components/transactionsummaries.d.ts +3 -3
  111. package/models/components/transactionsummaries.d.ts.map +1 -1
  112. package/models/components/transactionsummaries.js +3 -3
  113. package/models/components/transactionsummaries.js.map +1 -1
  114. package/models/components/{transactionsummary.d.ts → transactionsummaryoutput.d.ts} +20 -20
  115. package/models/components/transactionsummaryoutput.d.ts.map +1 -0
  116. package/models/components/{transactionsummary.js → transactionsummaryoutput.js} +25 -23
  117. package/models/components/transactionsummaryoutput.js.map +1 -0
  118. package/models/components/{transactionthreedsecuresummary.d.ts → transactionthreedsecuresummaryoutput.d.ts} +14 -14
  119. package/models/components/transactionthreedsecuresummaryoutput.d.ts.map +1 -0
  120. package/models/components/{transactionthreedsecuresummary.js → transactionthreedsecuresummaryoutput.js} +17 -17
  121. package/models/components/transactionthreedsecuresummaryoutput.js.map +1 -0
  122. package/models/components/transactionvoidoutput.d.ts +56 -0
  123. package/models/components/transactionvoidoutput.d.ts.map +1 -0
  124. package/models/components/{transactionvoid.js → transactionvoidoutput.js} +20 -20
  125. package/models/components/transactionvoidoutput.js.map +1 -0
  126. package/models/operations/capturetransaction.d.ts +2 -2
  127. package/models/operations/capturetransaction.d.ts.map +1 -1
  128. package/models/operations/capturetransaction.js +4 -4
  129. package/models/operations/capturetransaction.js.map +1 -1
  130. package/models/operations/voidtransaction.d.ts +2 -2
  131. package/models/operations/voidtransaction.d.ts.map +1 -1
  132. package/models/operations/voidtransaction.js +4 -4
  133. package/models/operations/voidtransaction.js.map +1 -1
  134. package/package.json +1 -1
  135. package/sdk/transactions.d.ts +4 -4
  136. package/sdk/transactions.d.ts.map +1 -1
  137. package/src/funcs/transactionsCreate.ts +4 -4
  138. package/src/funcs/transactionsGet.ts +4 -4
  139. package/src/funcs/transactionsSync.ts +4 -4
  140. package/src/funcs/transactionsUpdate.ts +4 -4
  141. package/src/lib/config.ts +3 -3
  142. package/src/models/components/auditlogentries.ts +9 -9
  143. package/src/models/components/{auditlogentry.ts → auditlogentryoutput.ts} +24 -20
  144. package/src/models/components/checkoutsession.ts +12 -9
  145. package/src/models/components/{checkoutsessionpaymentmethod.ts → checkoutsessionpaymentmethodoutput.ts} +24 -22
  146. package/src/models/components/index.ts +15 -12
  147. package/src/models/components/paymentlink.ts +9 -9
  148. package/src/models/components/paymentmethodsummaries.ts +9 -9
  149. package/src/models/components/{paymentmethodsummary.ts → paymentmethodsummaryoutput.ts} +21 -21
  150. package/src/models/components/{paymentoption.ts → paymentoptionoutput.ts} +24 -20
  151. package/src/models/components/paymentoptions.ts +9 -9
  152. package/src/models/components/payoutsummary.ts +18 -18
  153. package/src/models/components/paypaloptions.ts +13 -0
  154. package/src/models/components/paypalshippingoptions.ts +77 -0
  155. package/src/models/components/paypalshippingoptionsitem.ts +150 -0
  156. package/src/models/components/paypalshippingoptionsitemamount.ts +87 -0
  157. package/src/models/components/{transactionbuyer.ts → transactionbuyeroutput.ts} +21 -21
  158. package/src/models/components/transactioncancel.ts +9 -9
  159. package/src/models/components/{transactioncapture.ts → transactioncaptureoutput.ts} +30 -30
  160. package/src/models/components/{transactionevent.ts → transactioneventoutput.ts} +21 -21
  161. package/src/models/components/transactionevents.ts +9 -9
  162. package/src/models/components/{transaction.ts → transactionoutput.ts} +56 -47
  163. package/src/models/components/{transactionpaymentmethod.ts → transactionpaymentmethodoutput.ts} +23 -21
  164. package/src/models/components/transactionsummaries.ts +9 -9
  165. package/src/models/components/{transactionsummary.ts → transactionsummaryoutput.ts} +41 -39
  166. package/src/models/components/{transactionthreedsecuresummary.ts → transactionthreedsecuresummaryoutput.ts} +25 -22
  167. package/src/models/components/{transactionvoid.ts → transactionvoidoutput.ts} +32 -30
  168. package/src/models/operations/capturetransaction.ts +8 -8
  169. package/src/models/operations/voidtransaction.ts +8 -8
  170. package/src/sdk/transactions.ts +4 -4
  171. package/models/components/auditlogentry.d.ts.map +0 -1
  172. package/models/components/auditlogentry.js.map +0 -1
  173. package/models/components/checkoutsessionpaymentmethod.d.ts.map +0 -1
  174. package/models/components/checkoutsessionpaymentmethod.js.map +0 -1
  175. package/models/components/paymentmethodsummary.d.ts.map +0 -1
  176. package/models/components/paymentmethodsummary.js.map +0 -1
  177. package/models/components/paymentoption.d.ts.map +0 -1
  178. package/models/components/paymentoption.js.map +0 -1
  179. package/models/components/transaction.d.ts.map +0 -1
  180. package/models/components/transaction.js.map +0 -1
  181. package/models/components/transactionbuyer.d.ts.map +0 -1
  182. package/models/components/transactionbuyer.js.map +0 -1
  183. package/models/components/transactioncapture.d.ts +0 -56
  184. package/models/components/transactioncapture.d.ts.map +0 -1
  185. package/models/components/transactioncapture.js.map +0 -1
  186. package/models/components/transactionevent.d.ts.map +0 -1
  187. package/models/components/transactionevent.js.map +0 -1
  188. package/models/components/transactionpaymentmethod.d.ts.map +0 -1
  189. package/models/components/transactionpaymentmethod.js.map +0 -1
  190. package/models/components/transactionsummary.d.ts.map +0 -1
  191. package/models/components/transactionsummary.js.map +0 -1
  192. package/models/components/transactionthreedsecuresummary.d.ts.map +0 -1
  193. package/models/components/transactionthreedsecuresummary.js.map +0 -1
  194. package/models/components/transactionvoid.d.ts +0 -56
  195. package/models/components/transactionvoid.d.ts.map +0 -1
  196. package/models/components/transactionvoid.js.map +0 -1
@@ -0,0 +1,56 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { TransactionOutput, TransactionOutput$Outbound } from "./transactionoutput.js";
5
+ import { VoidStatus } from "./voidstatus.js";
6
+ export type TransactionVoidOutput = {
7
+ /**
8
+ * Always `transaction-void`.
9
+ */
10
+ type?: "transaction-void" | undefined;
11
+ status: VoidStatus;
12
+ /**
13
+ * The standardized error code set by Gr4vy.
14
+ */
15
+ code: string | null;
16
+ /**
17
+ * This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
18
+ */
19
+ rawResponseCode: string | null;
20
+ /**
21
+ * This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
22
+ */
23
+ rawResponseDescription: string | null;
24
+ /**
25
+ * A full transaction resource.
26
+ */
27
+ transaction: TransactionOutput;
28
+ };
29
+ /** @internal */
30
+ export declare const TransactionVoidOutput$inboundSchema: z.ZodType<TransactionVoidOutput, z.ZodTypeDef, unknown>;
31
+ /** @internal */
32
+ export type TransactionVoidOutput$Outbound = {
33
+ type: "transaction-void";
34
+ status: string;
35
+ code: string | null;
36
+ raw_response_code: string | null;
37
+ raw_response_description: string | null;
38
+ transaction: TransactionOutput$Outbound;
39
+ };
40
+ /** @internal */
41
+ export declare const TransactionVoidOutput$outboundSchema: z.ZodType<TransactionVoidOutput$Outbound, z.ZodTypeDef, TransactionVoidOutput>;
42
+ /**
43
+ * @internal
44
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
45
+ */
46
+ export declare namespace TransactionVoidOutput$ {
47
+ /** @deprecated use `TransactionVoidOutput$inboundSchema` instead. */
48
+ const inboundSchema: z.ZodType<TransactionVoidOutput, z.ZodTypeDef, unknown>;
49
+ /** @deprecated use `TransactionVoidOutput$outboundSchema` instead. */
50
+ const outboundSchema: z.ZodType<TransactionVoidOutput$Outbound, z.ZodTypeDef, TransactionVoidOutput>;
51
+ /** @deprecated use `TransactionVoidOutput$Outbound` instead. */
52
+ type Outbound = TransactionVoidOutput$Outbound;
53
+ }
54
+ export declare function transactionVoidOutputToJSON(transactionVoidOutput: TransactionVoidOutput): string;
55
+ export declare function transactionVoidOutputFromJSON(jsonString: string): SafeParseResult<TransactionVoidOutput, SDKValidationError>;
56
+ //# sourceMappingURL=transactionvoidoutput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactionvoidoutput.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionvoidoutput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,UAAU,EAGX,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;OAEG;IACH,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,WAAW,EAAE,iBAAiB,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,WAAW,EAAE,0BAA0B,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAarB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -36,22 +36,22 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TransactionVoid$ = exports.TransactionVoid$outboundSchema = exports.TransactionVoid$inboundSchema = void 0;
40
- exports.transactionVoidToJSON = transactionVoidToJSON;
41
- exports.transactionVoidFromJSON = transactionVoidFromJSON;
39
+ exports.TransactionVoidOutput$ = exports.TransactionVoidOutput$outboundSchema = exports.TransactionVoidOutput$inboundSchema = void 0;
40
+ exports.transactionVoidOutputToJSON = transactionVoidOutputToJSON;
41
+ exports.transactionVoidOutputFromJSON = transactionVoidOutputFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
43
43
  const primitives_js_1 = require("../../lib/primitives.js");
44
44
  const schemas_js_1 = require("../../lib/schemas.js");
45
- const transaction_js_1 = require("./transaction.js");
45
+ const transactionoutput_js_1 = require("./transactionoutput.js");
46
46
  const voidstatus_js_1 = require("./voidstatus.js");
47
47
  /** @internal */
48
- exports.TransactionVoid$inboundSchema = z.object({
48
+ exports.TransactionVoidOutput$inboundSchema = z.object({
49
49
  type: z.literal("transaction-void").default("transaction-void"),
50
50
  status: voidstatus_js_1.VoidStatus$inboundSchema,
51
51
  code: z.nullable(z.string()),
52
52
  raw_response_code: z.nullable(z.string()),
53
53
  raw_response_description: z.nullable(z.string()),
54
- transaction: transaction_js_1.Transaction$inboundSchema,
54
+ transaction: transactionoutput_js_1.TransactionOutput$inboundSchema,
55
55
  }).transform((v) => {
56
56
  return (0, primitives_js_1.remap)(v, {
57
57
  "raw_response_code": "rawResponseCode",
@@ -59,13 +59,13 @@ exports.TransactionVoid$inboundSchema = z.object({
59
59
  });
60
60
  });
61
61
  /** @internal */
62
- exports.TransactionVoid$outboundSchema = z.object({
62
+ exports.TransactionVoidOutput$outboundSchema = z.object({
63
63
  type: z.literal("transaction-void").default("transaction-void"),
64
64
  status: voidstatus_js_1.VoidStatus$outboundSchema,
65
65
  code: z.nullable(z.string()),
66
66
  rawResponseCode: z.nullable(z.string()),
67
67
  rawResponseDescription: z.nullable(z.string()),
68
- transaction: transaction_js_1.Transaction$outboundSchema,
68
+ transaction: transactionoutput_js_1.TransactionOutput$outboundSchema,
69
69
  }).transform((v) => {
70
70
  return (0, primitives_js_1.remap)(v, {
71
71
  rawResponseCode: "raw_response_code",
@@ -76,17 +76,17 @@ exports.TransactionVoid$outboundSchema = z.object({
76
76
  * @internal
77
77
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
78
78
  */
79
- var TransactionVoid$;
80
- (function (TransactionVoid$) {
81
- /** @deprecated use `TransactionVoid$inboundSchema` instead. */
82
- TransactionVoid$.inboundSchema = exports.TransactionVoid$inboundSchema;
83
- /** @deprecated use `TransactionVoid$outboundSchema` instead. */
84
- TransactionVoid$.outboundSchema = exports.TransactionVoid$outboundSchema;
85
- })(TransactionVoid$ || (exports.TransactionVoid$ = TransactionVoid$ = {}));
86
- function transactionVoidToJSON(transactionVoid) {
87
- return JSON.stringify(exports.TransactionVoid$outboundSchema.parse(transactionVoid));
79
+ var TransactionVoidOutput$;
80
+ (function (TransactionVoidOutput$) {
81
+ /** @deprecated use `TransactionVoidOutput$inboundSchema` instead. */
82
+ TransactionVoidOutput$.inboundSchema = exports.TransactionVoidOutput$inboundSchema;
83
+ /** @deprecated use `TransactionVoidOutput$outboundSchema` instead. */
84
+ TransactionVoidOutput$.outboundSchema = exports.TransactionVoidOutput$outboundSchema;
85
+ })(TransactionVoidOutput$ || (exports.TransactionVoidOutput$ = TransactionVoidOutput$ = {}));
86
+ function transactionVoidOutputToJSON(transactionVoidOutput) {
87
+ return JSON.stringify(exports.TransactionVoidOutput$outboundSchema.parse(transactionVoidOutput));
88
88
  }
89
- function transactionVoidFromJSON(jsonString) {
90
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TransactionVoid$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TransactionVoid' from JSON`);
89
+ function transactionVoidOutputFromJSON(jsonString) {
90
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TransactionVoidOutput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TransactionVoidOutput' from JSON`);
91
91
  }
92
- //# sourceMappingURL=transactionvoid.js.map
92
+ //# sourceMappingURL=transactionvoidoutput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactionvoidoutput.js","sourceRoot":"","sources":["../../src/models/components/transactionvoidoutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwGH,kEAMC;AAED,sEAQC;AAtHD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,iEAKgC;AAChC,mDAIyB;AA0BzB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IAC/D,MAAM,EAAE,wCAAwB;IAChC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CA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AAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -23,7 +23,7 @@ export type CaptureTransactionRequest = {
23
23
  /**
24
24
  * Successful Response
25
25
  */
26
- export type CaptureTransactionResponseCaptureTransaction = components.Transaction | components.TransactionCapture;
26
+ export type CaptureTransactionResponseCaptureTransaction = components.TransactionOutput | components.TransactionCaptureOutput;
27
27
  /** @internal */
28
28
  export declare const CaptureTransactionGlobals$inboundSchema: z.ZodType<CaptureTransactionGlobals, z.ZodTypeDef, unknown>;
29
29
  /** @internal */
@@ -74,7 +74,7 @@ export declare function captureTransactionRequestFromJSON(jsonString: string): S
74
74
  /** @internal */
75
75
  export declare const CaptureTransactionResponseCaptureTransaction$inboundSchema: z.ZodType<CaptureTransactionResponseCaptureTransaction, z.ZodTypeDef, unknown>;
76
76
  /** @internal */
77
- export type CaptureTransactionResponseCaptureTransaction$Outbound = components.Transaction$Outbound | components.TransactionCapture$Outbound;
77
+ export type CaptureTransactionResponseCaptureTransaction$Outbound = components.TransactionOutput$Outbound | components.TransactionCaptureOutput$Outbound;
78
78
  /** @internal */
79
79
  export declare const CaptureTransactionResponseCaptureTransaction$outboundSchema: z.ZodType<CaptureTransactionResponseCaptureTransaction$Outbound, z.ZodTypeDef, CaptureTransactionResponseCaptureTransaction>;
80
80
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"capturetransaction.d.ts","sourceRoot":"","sources":["../../src/models/operations/capturetransaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAA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U,CAAC,2BAA2B,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,OAAO,CACP,qDAAqD,EACrD,CAAC,CAAC,UAAU,EACZ,4CAA4C,CAI5C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,6CAA6C,CAAC;IAC7D,4FAA4F;IACrF,MAAM,aAAa,gFACkC,CAAC;IAC7D,6FAA6F;IACtF,MAAM,cAAc,8HACkC,CAAC;IAC9D,uFAAuF;IACvF,KAAY,QAAQ,GAAG,qDAAqD,CAAC;CAC9E;AAED,wBAAgB,kDAAkD,CAChE,4CAA4C,EAC1C,4CAA4C,GAC7C,MAAM,CAMR;AAED,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
1
+ {"version":3,"file":"capturetransaction.d.ts","sourceRoot":"","sources":["../../src/models/operations/capturetransaction.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,yBAAyB,GAAG;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;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;IAC9C,wBAAwB,EAAE,UAAU,CAAC,wBAAwB,CAAC;CAC/D,CAAC;AAEF;;GAEG;AACH,MA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,13 +115,13 @@ function captureTransactionRequestFromJSON(jsonString) {
115
115
  }
116
116
  /** @internal */
117
117
  exports.CaptureTransactionResponseCaptureTransaction$inboundSchema = z.union([
118
- components.Transaction$inboundSchema,
119
- components.TransactionCapture$inboundSchema,
118
+ components.TransactionOutput$inboundSchema,
119
+ components.TransactionCaptureOutput$inboundSchema,
120
120
  ]);
121
121
  /** @internal */
122
122
  exports.CaptureTransactionResponseCaptureTransaction$outboundSchema = z.union([
123
- components.Transaction$outboundSchema,
124
- components.TransactionCapture$outboundSchema,
123
+ components.TransactionOutput$outboundSchema,
124
+ components.TransactionCaptureOutput$outboundSchema,
125
125
  ]);
126
126
  /**
127
127
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"capturetransaction.js","sourceRoot":"","sources":["../../src/models/operations/capturetransaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,0EAMC;AAED,8EAQC;AAyDD,0EAMC;AAED,8EAQC;AA4CD,gHASC;AAED,oHAcC;AApOD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA8BrD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SA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AAGhE,CAAC,EATgB,6CAA6C,6DAA7C,6CAA6C,QAS7D;AAED,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"capturetransaction.js","sourceRoot":"","sources":["../../src/models/operations/capturetransaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,0EAMC;AAED,8EAQC;AAyDD,0EAMC;AAED,8EAQC;AA4CD,gHASC;AAED,oHAcC;AApOD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA8BrD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD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,6CAA6C,QAS7D;AAED,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC"}
@@ -22,7 +22,7 @@ export type VoidTransactionRequest = {
22
22
  /**
23
23
  * Successful Response
24
24
  */
25
- export type VoidTransactionResponseVoidTransaction = components.Transaction | components.TransactionVoid;
25
+ export type VoidTransactionResponseVoidTransaction = components.TransactionOutput | components.TransactionVoidOutput;
26
26
  /** @internal */
27
27
  export declare const VoidTransactionGlobals$inboundSchema: z.ZodType<VoidTransactionGlobals, z.ZodTypeDef, unknown>;
28
28
  /** @internal */
@@ -72,7 +72,7 @@ export declare function voidTransactionRequestFromJSON(jsonString: string): Safe
72
72
  /** @internal */
73
73
  export declare const VoidTransactionResponseVoidTransaction$inboundSchema: z.ZodType<VoidTransactionResponseVoidTransaction, z.ZodTypeDef, unknown>;
74
74
  /** @internal */
75
- export type VoidTransactionResponseVoidTransaction$Outbound = components.Transaction$Outbound | components.TransactionVoid$Outbound;
75
+ export type VoidTransactionResponseVoidTransaction$Outbound = components.TransactionOutput$Outbound | components.TransactionVoidOutput$Outbound;
76
76
  /** @internal */
77
77
  export declare const VoidTransactionResponseVoidTransaction$outboundSchema: z.ZodType<VoidTransactionResponseVoidTransaction$Outbound, z.ZodTypeDef, VoidTransactionResponseVoidTransaction>;
78
78
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"voidtransaction.d.ts","sourceRoot":"","sources":["../../src/models/operations/voidtransaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,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CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D;AAED,gBAAgB;AAChB,eAAO,MAAM,oDAAoD,EAAE,CAAC,CAAC,OAAO,CAC1E,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+CAA+C,GACvD,UAAU,CAAC,0BAA0B,GACrC,UAAU,CAAC,8BAA8B,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,+CAA+C,EAC/C,CAAC,CAAC,UAAU,EACZ,sCAAsC,CAItC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uCAAuC,CAAC;IACvD,sFAAsF;IAC/E,MAAM,aAAa,0EAC4B,CAAC;IACvD,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,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,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAA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AE,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,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CAC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version": "1.5.2",
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,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,YAAY,CAAC,UAAU,CAAC,wBAAwB,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CACtE;IAQD;;;;;OAKG;IACG,MAAM,CACV,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,EAC/C,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC1C,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,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;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.2",
81
- genVersion: "2.730.5",
82
- userAgent: "speakeasy-sdk/typescript 1.5.2 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
  }