@moovio/sdk 0.0.0-dev.20 → 0.0.0-dev.21

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 (111) hide show
  1. package/bin/mcp-server.js +21 -37
  2. package/bin/mcp-server.js.map +28 -28
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/components/createdtransfer.d.ts +1 -6
  9. package/models/components/createdtransfer.d.ts.map +1 -1
  10. package/models/components/createdtransfer.js +0 -2
  11. package/models/components/createdtransfer.js.map +1 -1
  12. package/models/components/createpaymentlink.d.ts +1 -6
  13. package/models/components/createpaymentlink.d.ts.map +1 -1
  14. package/models/components/createpaymentlink.js +0 -2
  15. package/models/components/createpaymentlink.js.map +1 -1
  16. package/models/components/createpaymentlinkamountdetails.d.ts +5 -0
  17. package/models/components/createpaymentlinkamountdetails.d.ts.map +1 -1
  18. package/models/components/createpaymentlinkamountdetails.js +2 -0
  19. package/models/components/createpaymentlinkamountdetails.js.map +1 -1
  20. package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts +2 -0
  21. package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
  22. package/models/components/createpaymentlinkamountdetailsvalidationerror.js +2 -0
  23. package/models/components/createpaymentlinkamountdetailsvalidationerror.js.map +1 -1
  24. package/models/components/createpaymentlinklineitems.d.ts +1 -1
  25. package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
  26. package/models/components/createtransfer.d.ts +1 -3
  27. package/models/components/createtransfer.d.ts.map +1 -1
  28. package/models/components/createtransfer.js +0 -2
  29. package/models/components/createtransfer.js.map +1 -1
  30. package/models/components/createtransferamountdetails.d.ts +5 -0
  31. package/models/components/createtransferamountdetails.d.ts.map +1 -1
  32. package/models/components/createtransferamountdetails.js +2 -0
  33. package/models/components/createtransferamountdetails.js.map +1 -1
  34. package/models/components/createtransferamountdetailsvalidationerror.d.ts +2 -0
  35. package/models/components/createtransferamountdetailsvalidationerror.d.ts.map +1 -1
  36. package/models/components/createtransferamountdetailsvalidationerror.js +2 -0
  37. package/models/components/createtransferamountdetailsvalidationerror.js.map +1 -1
  38. package/models/components/createtransferlineitems.d.ts +1 -1
  39. package/models/components/paymentlink.d.ts +1 -6
  40. package/models/components/paymentlink.d.ts.map +1 -1
  41. package/models/components/paymentlink.js +0 -2
  42. package/models/components/paymentlink.js.map +1 -1
  43. package/models/components/paymentlinkamountdetails.d.ts +5 -0
  44. package/models/components/paymentlinkamountdetails.d.ts.map +1 -1
  45. package/models/components/paymentlinkamountdetails.js +2 -0
  46. package/models/components/paymentlinkamountdetails.js.map +1 -1
  47. package/models/components/paymentlinklineitems.d.ts +1 -1
  48. package/models/components/transfer.d.ts +1 -3
  49. package/models/components/transfer.d.ts.map +1 -1
  50. package/models/components/transfer.js +0 -2
  51. package/models/components/transfer.js.map +1 -1
  52. package/models/components/transferamountdetails.d.ts +5 -0
  53. package/models/components/transferamountdetails.d.ts.map +1 -1
  54. package/models/components/transferamountdetails.js +2 -0
  55. package/models/components/transferamountdetails.js.map +1 -1
  56. package/models/components/transferlineitems.d.ts +1 -1
  57. package/models/components/updatepaymentlink.d.ts +1 -3
  58. package/models/components/updatepaymentlink.d.ts.map +1 -1
  59. package/models/components/updatepaymentlink.js +0 -2
  60. package/models/components/updatepaymentlink.js.map +1 -1
  61. package/models/components/updatepaymentlinkamountdetails.d.ts +5 -0
  62. package/models/components/updatepaymentlinkamountdetails.d.ts.map +1 -1
  63. package/models/components/updatepaymentlinkamountdetails.js +2 -0
  64. package/models/components/updatepaymentlinkamountdetails.js.map +1 -1
  65. package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts +2 -0
  66. package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
  67. package/models/components/updatepaymentlinkamountdetailsvalidationerror.js +2 -0
  68. package/models/components/updatepaymentlinkamountdetailsvalidationerror.js.map +1 -1
  69. package/models/errors/createpaymentlinkerror.d.ts +0 -3
  70. package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
  71. package/models/errors/createpaymentlinkerror.js +0 -4
  72. package/models/errors/createpaymentlinkerror.js.map +1 -1
  73. package/models/errors/transfer.d.ts +2 -5
  74. package/models/errors/transfer.d.ts.map +1 -1
  75. package/models/errors/transfer.js +0 -4
  76. package/models/errors/transfer.js.map +1 -1
  77. package/models/errors/transfervalidationerror.d.ts +0 -3
  78. package/models/errors/transfervalidationerror.d.ts.map +1 -1
  79. package/models/errors/transfervalidationerror.js +0 -4
  80. package/models/errors/transfervalidationerror.js.map +1 -1
  81. package/models/errors/updatepaymentlinkerror.d.ts +0 -3
  82. package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
  83. package/models/errors/updatepaymentlinkerror.js +0 -4
  84. package/models/errors/updatepaymentlinkerror.js.map +1 -1
  85. package/package.json +1 -1
  86. package/src/lib/config.ts +2 -2
  87. package/src/mcp-server/mcp-server.ts +1 -1
  88. package/src/mcp-server/server.ts +1 -1
  89. package/src/models/components/createdtransfer.ts +1 -8
  90. package/src/models/components/createpaymentlink.ts +1 -8
  91. package/src/models/components/createpaymentlinkamountdetails.ts +7 -0
  92. package/src/models/components/createpaymentlinkamountdetailsvalidationerror.ts +4 -0
  93. package/src/models/components/createpaymentlinklineitems.ts +1 -1
  94. package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
  95. package/src/models/components/createtransfer.ts +1 -5
  96. package/src/models/components/createtransferamountdetails.ts +7 -0
  97. package/src/models/components/createtransferamountdetailsvalidationerror.ts +4 -0
  98. package/src/models/components/createtransferlineitems.ts +1 -1
  99. package/src/models/components/paymentlink.ts +1 -8
  100. package/src/models/components/paymentlinkamountdetails.ts +7 -0
  101. package/src/models/components/paymentlinklineitems.ts +1 -1
  102. package/src/models/components/transfer.ts +1 -5
  103. package/src/models/components/transferamountdetails.ts +7 -0
  104. package/src/models/components/transferlineitems.ts +1 -1
  105. package/src/models/components/updatepaymentlink.ts +1 -5
  106. package/src/models/components/updatepaymentlinkamountdetails.ts +7 -0
  107. package/src/models/components/updatepaymentlinkamountdetailsvalidationerror.ts +4 -0
  108. package/src/models/errors/createpaymentlinkerror.ts +0 -8
  109. package/src/models/errors/transfer.ts +2 -8
  110. package/src/models/errors/transfervalidationerror.ts +0 -6
  111. package/src/models/errors/updatepaymentlinkerror.ts +0 -8
@@ -69,8 +69,6 @@ class TransferValidationError extends mooverror_js_1.MoovError {
69
69
  }
70
70
  if (err.metadata != null)
71
71
  this.metadata = err.metadata;
72
- if (err.salesTaxAmount != null)
73
- this.salesTaxAmount = err.salesTaxAmount;
74
72
  if (err.foreignID != null)
75
73
  this.foreignID = err.foreignID;
76
74
  if (err.lineItems != null)
@@ -91,7 +89,6 @@ exports.TransferValidationError$inboundSchema = z.object({
91
89
  "FacilitatorFee.TotalDecimal": types.optional(types.string()),
92
90
  "FacilitatorFee.MarkupDecimal": types.optional(types.string()),
93
91
  metadata: types.optional(types.string()),
94
- salesTaxAmount: types.optional(types.string()),
95
92
  foreignID: types.optional(types.string()),
96
93
  lineItems: types.optional(components.CreateTransferLineItemsValidationError$inboundSchema),
97
94
  amountDetails: types.optional(components.CreateTransferAmountDetailsValidationError$inboundSchema),
@@ -122,7 +119,6 @@ exports.TransferValidationError$outboundSchema = z.instanceof(TransferValidation
122
119
  facilitatorFeeTotalDecimal: z.string().optional(),
123
120
  facilitatorFeeMarkupDecimal: z.string().optional(),
124
121
  metadata: z.string().optional(),
125
- salesTaxAmount: z.string().optional(),
126
122
  foreignID: z.string().optional(),
127
123
  lineItems: components
128
124
  .CreateTransferLineItemsValidationError$outboundSchema.optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"transfervalidationerror.js","sourceRoot":"","sources":["../../src/models/errors/transfervalidationerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;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AAE;QACf,0BAA0B,EAAE,6BAA6B;QACzD,2BAA2B,EAAE,8BAA8B;KAC5D,CAAC,CAAC;AACL,CAAC,CAAC,CACH,CAAC"}
@@ -3,7 +3,6 @@ import * as components from "../components/index.js";
3
3
  import { MoovError } from "./mooverror.js";
4
4
  export type UpdatePaymentLinkErrorData = {
5
5
  amount?: components.AmountValidationError | undefined;
6
- salesTaxAmount?: components.AmountValidationError | undefined;
7
6
  expiresOn?: string | undefined;
8
7
  display?: components.DisplayOptionsError | undefined;
9
8
  payment?: components.PaymentDetailsError | undefined;
@@ -13,7 +12,6 @@ export type UpdatePaymentLinkErrorData = {
13
12
  };
14
13
  export declare class UpdatePaymentLinkError extends MoovError {
15
14
  amount?: components.AmountValidationError | undefined;
16
- salesTaxAmount?: components.AmountValidationError | undefined;
17
15
  expiresOn?: string | undefined;
18
16
  display?: components.DisplayOptionsError | undefined;
19
17
  payment?: components.PaymentDetailsError | undefined;
@@ -33,7 +31,6 @@ export declare const UpdatePaymentLinkError$inboundSchema: z.ZodType<UpdatePayme
33
31
  /** @internal */
34
32
  export type UpdatePaymentLinkError$Outbound = {
35
33
  amount?: components.AmountValidationError$Outbound | undefined;
36
- salesTaxAmount?: components.AmountValidationError$Outbound | undefined;
37
34
  expiresOn?: string | undefined;
38
35
  display?: components.DisplayOptionsError$Outbound | undefined;
39
36
  payment?: components.PaymentDetailsError$Outbound | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"updatepaymentlinkerror.d.ts","sourceRoot":"","sources":["../../src/models/errors/updatepaymentlinkerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,CAAC,EAAE,UAAU,CAAC,qBAAqB,GAAG,SAAS,CAAC;IACtD,cAAc,CAAC,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C,EAAE,UAAU,CAAC,4BAA4B,GAAG,SAAS,CAAC;IAC9D,MAAM,CAAC,EAAE,UAAU,CAAC,2BAA2B,GAAG,SAAS,CAAC;IAC5D,SAAS,CAAC,EACN,UAAU,CAAC,kDAAkD,GAC7D,SAAS,CAAC;IACd,aAAa,CAAC,EACV,UAAU,CAAC,sDAAsD,GACjE,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAanB,CAAC"}
@@ -50,8 +50,6 @@ class UpdatePaymentLinkError extends mooverror_js_1.MoovError {
50
50
  this.data$ = err;
51
51
  if (err.amount != null)
52
52
  this.amount = err.amount;
53
- if (err.salesTaxAmount != null)
54
- this.salesTaxAmount = err.salesTaxAmount;
55
53
  if (err.expiresOn != null)
56
54
  this.expiresOn = err.expiresOn;
57
55
  if (err.display != null)
@@ -71,7 +69,6 @@ exports.UpdatePaymentLinkError = UpdatePaymentLinkError;
71
69
  /** @internal */
72
70
  exports.UpdatePaymentLinkError$inboundSchema = z.object({
73
71
  amount: types.optional(components.AmountValidationError$inboundSchema),
74
- salesTaxAmount: types.optional(components.AmountValidationError$inboundSchema),
75
72
  expiresOn: types.optional(types.string()),
76
73
  display: types.optional(components.DisplayOptionsError$inboundSchema),
77
74
  payment: types.optional(components.PaymentDetailsError$inboundSchema),
@@ -94,7 +91,6 @@ exports.UpdatePaymentLinkError$outboundSchema = z.instanceof(UpdatePaymentLinkEr
94
91
  .transform(v => v.data$)
95
92
  .pipe(z.object({
96
93
  amount: components.AmountValidationError$outboundSchema.optional(),
97
- salesTaxAmount: components.AmountValidationError$outboundSchema.optional(),
98
94
  expiresOn: z.string().optional(),
99
95
  display: components.DisplayOptionsError$outboundSchema.optional(),
100
96
  payment: components.PaymentDetailsError$outboundSchema.optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"updatepaymentlinker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/src/lib/config.ts CHANGED
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
73
73
  export const SDK_METADATA = {
74
74
  language: "typescript",
75
75
  openapiDocVersion: "dev",
76
- sdkVersion: "0.0.0-dev.20",
76
+ sdkVersion: "0.0.0-dev.21",
77
77
  genVersion: "2.882.0",
78
- userAgent: "speakeasy-sdk/typescript 0.0.0-dev.20 2.882.0 dev @moovio/sdk",
78
+ userAgent: "speakeasy-sdk/typescript 0.0.0-dev.21 2.882.0 dev @moovio/sdk",
79
79
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.0.0-dev.20",
22
+ currentVersion: "0.0.0-dev.21",
23
23
  },
24
24
  });
25
25
 
@@ -213,7 +213,7 @@ export function createMCPServer(deps: {
213
213
  }) {
214
214
  const server = new McpServer({
215
215
  name: "Moov",
216
- version: "0.0.0-dev.20",
216
+ version: "0.0.0-dev.21",
217
217
  });
218
218
 
219
219
  const client = new MoovCore({
@@ -133,10 +133,6 @@ export type CreatedTransfer = {
133
133
  scheduleID?: string | undefined;
134
134
  occurrenceID?: string | undefined;
135
135
  paymentLinkCode?: string | undefined;
136
- /**
137
- * Optional sales tax amount.
138
- */
139
- salesTaxAmount?: Amount | undefined;
140
136
  /**
141
137
  * Optional alias from a foreign/external system which can be used to reference this resource.
142
138
  */
@@ -145,7 +141,7 @@ export type CreatedTransfer = {
145
141
  * An optional collection of line items for a transfer.
146
142
  *
147
143
  * @remarks
148
- * When line items are provided, their total plus sales tax must equal the transfer amount.
144
+ * When line items are provided, their total plus tax must equal the transfer amount.
149
145
  */
150
146
  lineItems?: TransferLineItems | undefined;
151
147
  amountDetails?: TransferAmountDetails | undefined;
@@ -185,7 +181,6 @@ export const CreatedTransfer$inboundSchema: z.ZodType<
185
181
  scheduleID: types.optional(types.string()),
186
182
  occurrenceID: types.optional(types.string()),
187
183
  paymentLinkCode: types.optional(types.string()),
188
- salesTaxAmount: types.optional(Amount$inboundSchema),
189
184
  foreignID: types.optional(types.string()),
190
185
  lineItems: types.optional(TransferLineItems$inboundSchema),
191
186
  amountDetails: types.optional(TransferAmountDetails$inboundSchema),
@@ -217,7 +212,6 @@ export type CreatedTransfer$Outbound = {
217
212
  scheduleID?: string | undefined;
218
213
  occurrenceID?: string | undefined;
219
214
  paymentLinkCode?: string | undefined;
220
- salesTaxAmount?: Amount$Outbound | undefined;
221
215
  foreignID?: string | undefined;
222
216
  lineItems?: TransferLineItems$Outbound | undefined;
223
217
  amountDetails?: TransferAmountDetails$Outbound | undefined;
@@ -254,7 +248,6 @@ export const CreatedTransfer$outboundSchema: z.ZodType<
254
248
  scheduleID: z.string().optional(),
255
249
  occurrenceID: z.string().optional(),
256
250
  paymentLinkCode: z.string().optional(),
257
- salesTaxAmount: Amount$outboundSchema.optional(),
258
251
  foreignID: z.string().optional(),
259
252
  lineItems: TransferLineItems$outboundSchema.optional(),
260
253
  amountDetails: TransferAmountDetails$outboundSchema.optional(),
@@ -79,10 +79,6 @@ export type CreatePaymentLink = {
79
79
  * for `open` payment amount types.
80
80
  */
81
81
  amount?: Amount | undefined;
82
- /**
83
- * Optional sales tax amount.
84
- */
85
- salesTaxAmount?: Amount | undefined;
86
82
  /**
87
83
  * An optional limit on the number of times this payment link can be used.
88
84
  *
@@ -109,7 +105,7 @@ export type CreatePaymentLink = {
109
105
  * An optional collection of line items for a payment link.
110
106
  *
111
107
  * @remarks
112
- * When line items are provided, their total plus sales tax must equal the payment link amount.
108
+ * When line items are provided, their total plus tax must equal the payment link amount.
113
109
  */
114
110
  lineItems?: CreatePaymentLinkLineItems | undefined;
115
111
  amountDetails?: CreatePaymentLinkAmountDetails | undefined;
@@ -124,7 +120,6 @@ export const CreatePaymentLink$inboundSchema: z.ZodType<
124
120
  partnerAccountID: types.string(),
125
121
  merchantPaymentMethodID: types.string(),
126
122
  amount: types.optional(Amount$inboundSchema),
127
- salesTaxAmount: types.optional(Amount$inboundSchema),
128
123
  maxUses: types.optional(types.number()),
129
124
  expiresOn: types.optional(types.date()),
130
125
  display: PaymentLinkDisplayOptions$inboundSchema,
@@ -139,7 +134,6 @@ export type CreatePaymentLink$Outbound = {
139
134
  partnerAccountID: string;
140
135
  merchantPaymentMethodID: string;
141
136
  amount?: Amount$Outbound | undefined;
142
- salesTaxAmount?: Amount$Outbound | undefined;
143
137
  maxUses?: number | undefined;
144
138
  expiresOn?: string | undefined;
145
139
  display: PaymentLinkDisplayOptions$Outbound;
@@ -159,7 +153,6 @@ export const CreatePaymentLink$outboundSchema: z.ZodType<
159
153
  partnerAccountID: z.string(),
160
154
  merchantPaymentMethodID: z.string(),
161
155
  amount: Amount$outboundSchema.optional(),
162
- salesTaxAmount: Amount$outboundSchema.optional(),
163
156
  maxUses: z.number().int().optional(),
164
157
  expiresOn: z.date().transform(v => v.toISOString()).optional(),
165
158
  display: PaymentLinkDisplayOptions$outboundSchema,
@@ -15,6 +15,10 @@ import {
15
15
  } from "./amountdecimal.js";
16
16
 
17
17
  export type CreatePaymentLinkAmountDetails = {
18
+ /**
19
+ * The amount of tax applied to the payment link.
20
+ */
21
+ tax?: AmountDecimal | undefined;
18
22
  /**
19
23
  * The amount of surcharge applied to the payment link.
20
24
  */
@@ -27,10 +31,12 @@ export const CreatePaymentLinkAmountDetails$inboundSchema: z.ZodType<
27
31
  z.ZodTypeDef,
28
32
  unknown
29
33
  > = z.object({
34
+ tax: types.optional(AmountDecimal$inboundSchema),
30
35
  surcharge: types.optional(AmountDecimal$inboundSchema),
31
36
  });
32
37
  /** @internal */
33
38
  export type CreatePaymentLinkAmountDetails$Outbound = {
39
+ tax?: AmountDecimal$Outbound | undefined;
34
40
  surcharge?: AmountDecimal$Outbound | undefined;
35
41
  };
36
42
 
@@ -40,6 +46,7 @@ export const CreatePaymentLinkAmountDetails$outboundSchema: z.ZodType<
40
46
  z.ZodTypeDef,
41
47
  CreatePaymentLinkAmountDetails
42
48
  > = z.object({
49
+ tax: AmountDecimal$outboundSchema.optional(),
43
50
  surcharge: AmountDecimal$outboundSchema.optional(),
44
51
  });
45
52
 
@@ -9,6 +9,7 @@ import * as types from "../../types/primitives.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type CreatePaymentLinkAmountDetailsValidationError = {
12
+ tax?: string | undefined;
12
13
  surcharge?: string | undefined;
13
14
  };
14
15
 
@@ -19,10 +20,12 @@ export const CreatePaymentLinkAmountDetailsValidationError$inboundSchema:
19
20
  z.ZodTypeDef,
20
21
  unknown
21
22
  > = z.object({
23
+ tax: types.optional(types.string()),
22
24
  surcharge: types.optional(types.string()),
23
25
  });
24
26
  /** @internal */
25
27
  export type CreatePaymentLinkAmountDetailsValidationError$Outbound = {
28
+ tax?: string | undefined;
26
29
  surcharge?: string | undefined;
27
30
  };
28
31
 
@@ -33,6 +36,7 @@ export const CreatePaymentLinkAmountDetailsValidationError$outboundSchema:
33
36
  z.ZodTypeDef,
34
37
  CreatePaymentLinkAmountDetailsValidationError
35
38
  > = z.object({
39
+ tax: z.string().optional(),
36
40
  surcharge: z.string().optional(),
37
41
  });
38
42
 
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a payment link.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the payment link amount.
20
+ * When line items are provided, their total plus tax must equal the payment link amount.
21
21
  */
22
22
  export type CreatePaymentLinkLineItems = {
23
23
  /**
@@ -18,7 +18,7 @@ import {
18
18
  * An optional collection of line items for a payment link.
19
19
  *
20
20
  * @remarks
21
- * When line items are provided, their total plus sales tax must equal the payment link amount.
21
+ * When line items are provided, their total plus tax must equal the payment link amount.
22
22
  */
23
23
  export type CreatePaymentLinkLineItemsUpdate = {
24
24
  /**
@@ -66,7 +66,6 @@ export type CreateTransfer = {
66
66
  * Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
67
67
  */
68
68
  metadata?: { [k: string]: string } | undefined;
69
- salesTaxAmount?: Amount | undefined;
70
69
  /**
71
70
  * Optional alias from a foreign/external system which can be used to reference this resource.
72
71
  */
@@ -75,7 +74,7 @@ export type CreateTransfer = {
75
74
  * An optional collection of line items for a transfer.
76
75
  *
77
76
  * @remarks
78
- * When line items are provided, their total plus sales tax must equal the transfer amount.
77
+ * When line items are provided, their total plus tax must equal the transfer amount.
79
78
  */
80
79
  lineItems?: CreateTransferLineItems | undefined;
81
80
  amountDetails?: CreateTransferAmountDetails | undefined;
@@ -93,7 +92,6 @@ export const CreateTransfer$inboundSchema: z.ZodType<
93
92
  facilitatorFee: types.optional(FacilitatorFee$inboundSchema),
94
93
  description: types.optional(types.string()),
95
94
  metadata: types.optional(z.record(types.string())),
96
- salesTaxAmount: types.optional(Amount$inboundSchema),
97
95
  foreignID: types.optional(types.string()),
98
96
  lineItems: types.optional(CreateTransferLineItems$inboundSchema),
99
97
  amountDetails: types.optional(CreateTransferAmountDetails$inboundSchema),
@@ -106,7 +104,6 @@ export type CreateTransfer$Outbound = {
106
104
  facilitatorFee?: FacilitatorFee$Outbound | undefined;
107
105
  description?: string | undefined;
108
106
  metadata?: { [k: string]: string } | undefined;
109
- salesTaxAmount?: Amount$Outbound | undefined;
110
107
  foreignID?: string | undefined;
111
108
  lineItems?: CreateTransferLineItems$Outbound | undefined;
112
109
  amountDetails?: CreateTransferAmountDetails$Outbound | undefined;
@@ -124,7 +121,6 @@ export const CreateTransfer$outboundSchema: z.ZodType<
124
121
  facilitatorFee: FacilitatorFee$outboundSchema.optional(),
125
122
  description: z.string().optional(),
126
123
  metadata: z.record(z.string()).optional(),
127
- salesTaxAmount: Amount$outboundSchema.optional(),
128
124
  foreignID: z.string().optional(),
129
125
  lineItems: CreateTransferLineItems$outboundSchema.optional(),
130
126
  amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
@@ -19,6 +19,10 @@ export type CreateTransferAmountDetails = {
19
19
  * The amount of tip applied to the transfer.
20
20
  */
21
21
  tip?: AmountDecimal | undefined;
22
+ /**
23
+ * The amount of tax applied to the transfer.
24
+ */
25
+ tax?: AmountDecimal | undefined;
22
26
  /**
23
27
  * The amount of surcharge applied to the transfer.
24
28
  */
@@ -32,11 +36,13 @@ export const CreateTransferAmountDetails$inboundSchema: z.ZodType<
32
36
  unknown
33
37
  > = z.object({
34
38
  tip: types.optional(AmountDecimal$inboundSchema),
39
+ tax: types.optional(AmountDecimal$inboundSchema),
35
40
  surcharge: types.optional(AmountDecimal$inboundSchema),
36
41
  });
37
42
  /** @internal */
38
43
  export type CreateTransferAmountDetails$Outbound = {
39
44
  tip?: AmountDecimal$Outbound | undefined;
45
+ tax?: AmountDecimal$Outbound | undefined;
40
46
  surcharge?: AmountDecimal$Outbound | undefined;
41
47
  };
42
48
 
@@ -47,6 +53,7 @@ export const CreateTransferAmountDetails$outboundSchema: z.ZodType<
47
53
  CreateTransferAmountDetails
48
54
  > = z.object({
49
55
  tip: AmountDecimal$outboundSchema.optional(),
56
+ tax: AmountDecimal$outboundSchema.optional(),
50
57
  surcharge: AmountDecimal$outboundSchema.optional(),
51
58
  });
52
59
 
@@ -10,6 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type CreateTransferAmountDetailsValidationError = {
12
12
  tip?: string | undefined;
13
+ tax?: string | undefined;
13
14
  surcharge?: string | undefined;
14
15
  };
15
16
 
@@ -18,11 +19,13 @@ export const CreateTransferAmountDetailsValidationError$inboundSchema:
18
19
  z.ZodType<CreateTransferAmountDetailsValidationError, z.ZodTypeDef, unknown> =
19
20
  z.object({
20
21
  tip: types.optional(types.string()),
22
+ tax: types.optional(types.string()),
21
23
  surcharge: types.optional(types.string()),
22
24
  });
23
25
  /** @internal */
24
26
  export type CreateTransferAmountDetailsValidationError$Outbound = {
25
27
  tip?: string | undefined;
28
+ tax?: string | undefined;
26
29
  surcharge?: string | undefined;
27
30
  };
28
31
 
@@ -34,6 +37,7 @@ export const CreateTransferAmountDetailsValidationError$outboundSchema:
34
37
  CreateTransferAmountDetailsValidationError
35
38
  > = z.object({
36
39
  tip: z.string().optional(),
40
+ tax: z.string().optional(),
37
41
  surcharge: z.string().optional(),
38
42
  });
39
43
 
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a transfer.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the transfer amount.
20
+ * When line items are provided, their total plus tax must equal the transfer amount.
21
21
  */
22
22
  export type CreateTransferLineItems = {
23
23
  /**
@@ -103,10 +103,6 @@ export type PaymentLink = {
103
103
  * for `open` payment amount types.
104
104
  */
105
105
  amount?: Amount | undefined;
106
- /**
107
- * Optional sales tax amount.
108
- */
109
- salesTaxAmount?: Amount | undefined;
110
106
  /**
111
107
  * The number of times this payment link has been used.
112
108
  */
@@ -141,7 +137,7 @@ export type PaymentLink = {
141
137
  * An optional collection of line items for a payment link.
142
138
  *
143
139
  * @remarks
144
- * When line items are provided, their total plus sales tax must equal the payment link amount.
140
+ * When line items are provided, their total plus tax must equal the payment link amount.
145
141
  */
146
142
  lineItems?: PaymentLinkLineItems | undefined;
147
143
  createdOn: Date;
@@ -166,7 +162,6 @@ export const PaymentLink$inboundSchema: z.ZodType<
166
162
  merchantPaymentMethodID: types.string(),
167
163
  link: types.string(),
168
164
  amount: types.optional(Amount$inboundSchema),
169
- salesTaxAmount: types.optional(Amount$inboundSchema),
170
165
  uses: types.number(),
171
166
  maxUses: types.optional(types.number()),
172
167
  lastUsedOn: types.optional(types.date()),
@@ -193,7 +188,6 @@ export type PaymentLink$Outbound = {
193
188
  merchantPaymentMethodID: string;
194
189
  link: string;
195
190
  amount?: Amount$Outbound | undefined;
196
- salesTaxAmount?: Amount$Outbound | undefined;
197
191
  uses: number;
198
192
  maxUses?: number | undefined;
199
193
  lastUsedOn?: string | undefined;
@@ -225,7 +219,6 @@ export const PaymentLink$outboundSchema: z.ZodType<
225
219
  merchantPaymentMethodID: z.string(),
226
220
  link: z.string(),
227
221
  amount: Amount$outboundSchema.optional(),
228
- salesTaxAmount: Amount$outboundSchema.optional(),
229
222
  uses: z.number().int(),
230
223
  maxUses: z.number().int().optional(),
231
224
  lastUsedOn: z.date().transform(v => v.toISOString()).optional(),
@@ -15,6 +15,10 @@ import {
15
15
  } from "./amountdecimal.js";
16
16
 
17
17
  export type PaymentLinkAmountDetails = {
18
+ /**
19
+ * The amount of tax applied to the payment link.
20
+ */
21
+ tax?: AmountDecimal | undefined;
18
22
  /**
19
23
  * The amount of surcharge applied to the payment link.
20
24
  */
@@ -27,10 +31,12 @@ export const PaymentLinkAmountDetails$inboundSchema: z.ZodType<
27
31
  z.ZodTypeDef,
28
32
  unknown
29
33
  > = z.object({
34
+ tax: types.optional(AmountDecimal$inboundSchema),
30
35
  surcharge: types.optional(AmountDecimal$inboundSchema),
31
36
  });
32
37
  /** @internal */
33
38
  export type PaymentLinkAmountDetails$Outbound = {
39
+ tax?: AmountDecimal$Outbound | undefined;
34
40
  surcharge?: AmountDecimal$Outbound | undefined;
35
41
  };
36
42
 
@@ -40,6 +46,7 @@ export const PaymentLinkAmountDetails$outboundSchema: z.ZodType<
40
46
  z.ZodTypeDef,
41
47
  PaymentLinkAmountDetails
42
48
  > = z.object({
49
+ tax: AmountDecimal$outboundSchema.optional(),
43
50
  surcharge: AmountDecimal$outboundSchema.optional(),
44
51
  });
45
52
 
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a payment link.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the payment link amount.
20
+ * When line items are provided, their total plus tax must equal the payment link amount.
21
21
  */
22
22
  export type PaymentLinkLineItems = {
23
23
  /**
@@ -149,7 +149,6 @@ export type Transfer = {
149
149
  scheduleID?: string | undefined;
150
150
  occurrenceID?: string | undefined;
151
151
  paymentLinkCode?: string | undefined;
152
- salesTaxAmount?: Amount | undefined;
153
152
  /**
154
153
  * Optional alias from a foreign/external system which can be used to reference this resource.
155
154
  */
@@ -158,7 +157,7 @@ export type Transfer = {
158
157
  * An optional collection of line items for a transfer.
159
158
  *
160
159
  * @remarks
161
- * When line items are provided, their total plus sales tax must equal the transfer amount.
160
+ * When line items are provided, their total plus tax must equal the transfer amount.
162
161
  */
163
162
  lineItems?: TransferLineItems | undefined;
164
163
  /**
@@ -203,7 +202,6 @@ export const Transfer$inboundSchema: z.ZodType<
203
202
  scheduleID: types.optional(types.string()),
204
203
  occurrenceID: types.optional(types.string()),
205
204
  paymentLinkCode: types.optional(types.string()),
206
- salesTaxAmount: types.optional(Amount$inboundSchema),
207
205
  foreignID: types.optional(types.string()),
208
206
  lineItems: types.optional(TransferLineItems$inboundSchema),
209
207
  invoiceID: types.optional(types.string()),
@@ -237,7 +235,6 @@ export type Transfer$Outbound = {
237
235
  scheduleID?: string | undefined;
238
236
  occurrenceID?: string | undefined;
239
237
  paymentLinkCode?: string | undefined;
240
- salesTaxAmount?: Amount$Outbound | undefined;
241
238
  foreignID?: string | undefined;
242
239
  lineItems?: TransferLineItems$Outbound | undefined;
243
240
  invoiceID?: string | undefined;
@@ -276,7 +273,6 @@ export const Transfer$outboundSchema: z.ZodType<
276
273
  scheduleID: z.string().optional(),
277
274
  occurrenceID: z.string().optional(),
278
275
  paymentLinkCode: z.string().optional(),
279
- salesTaxAmount: Amount$outboundSchema.optional(),
280
276
  foreignID: z.string().optional(),
281
277
  lineItems: TransferLineItems$outboundSchema.optional(),
282
278
  invoiceID: z.string().optional(),
@@ -19,6 +19,10 @@ export type TransferAmountDetails = {
19
19
  * The amount of tip applied to the transfer.
20
20
  */
21
21
  tip?: AmountDecimal | undefined;
22
+ /**
23
+ * The amount of tax applied to the transfer.
24
+ */
25
+ tax?: AmountDecimal | undefined;
22
26
  /**
23
27
  * The amount of surcharge applied to the transfer.
24
28
  */
@@ -32,11 +36,13 @@ export const TransferAmountDetails$inboundSchema: z.ZodType<
32
36
  unknown
33
37
  > = z.object({
34
38
  tip: types.optional(AmountDecimal$inboundSchema),
39
+ tax: types.optional(AmountDecimal$inboundSchema),
35
40
  surcharge: types.optional(AmountDecimal$inboundSchema),
36
41
  });
37
42
  /** @internal */
38
43
  export type TransferAmountDetails$Outbound = {
39
44
  tip?: AmountDecimal$Outbound | undefined;
45
+ tax?: AmountDecimal$Outbound | undefined;
40
46
  surcharge?: AmountDecimal$Outbound | undefined;
41
47
  };
42
48
 
@@ -47,6 +53,7 @@ export const TransferAmountDetails$outboundSchema: z.ZodType<
47
53
  TransferAmountDetails
48
54
  > = z.object({
49
55
  tip: AmountDecimal$outboundSchema.optional(),
56
+ tax: AmountDecimal$outboundSchema.optional(),
50
57
  surcharge: AmountDecimal$outboundSchema.optional(),
51
58
  });
52
59
 
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a transfer.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the transfer amount.
20
+ * When line items are provided, their total plus tax must equal the transfer amount.
21
21
  */
22
22
  export type TransferLineItems = {
23
23
  /**
@@ -52,7 +52,6 @@ import {
52
52
 
53
53
  export type UpdatePaymentLink = {
54
54
  amount?: AmountUpdate | undefined;
55
- salesTaxAmount?: AmountUpdate | undefined;
56
55
  expiresOn?: Date | null | undefined;
57
56
  /**
58
57
  * Customizable display options for a payment link.
@@ -68,7 +67,7 @@ export type UpdatePaymentLink = {
68
67
  * An optional collection of line items for a payment link.
69
68
  *
70
69
  * @remarks
71
- * When line items are provided, their total plus sales tax must equal the payment link amount.
70
+ * When line items are provided, their total plus tax must equal the payment link amount.
72
71
  */
73
72
  lineItems?: CreatePaymentLinkLineItemsUpdate | undefined;
74
73
  amountDetails?: UpdatePaymentLinkAmountDetails | undefined;
@@ -81,7 +80,6 @@ export const UpdatePaymentLink$inboundSchema: z.ZodType<
81
80
  unknown
82
81
  > = z.object({
83
82
  amount: types.optional(AmountUpdate$inboundSchema),
84
- salesTaxAmount: types.optional(AmountUpdate$inboundSchema),
85
83
  expiresOn: z.nullable(types.date()).optional(),
86
84
  display: types.optional(PaymentLinkDisplayOptionsUpdate$inboundSchema),
87
85
  customer: types.optional(PaymentLinkCustomerOptions$inboundSchema),
@@ -93,7 +91,6 @@ export const UpdatePaymentLink$inboundSchema: z.ZodType<
93
91
  /** @internal */
94
92
  export type UpdatePaymentLink$Outbound = {
95
93
  amount?: AmountUpdate$Outbound | undefined;
96
- salesTaxAmount?: AmountUpdate$Outbound | undefined;
97
94
  expiresOn?: string | null | undefined;
98
95
  display?: PaymentLinkDisplayOptionsUpdate$Outbound | undefined;
99
96
  customer?: PaymentLinkCustomerOptions$Outbound | undefined;
@@ -110,7 +107,6 @@ export const UpdatePaymentLink$outboundSchema: z.ZodType<
110
107
  UpdatePaymentLink
111
108
  > = z.object({
112
109
  amount: AmountUpdate$outboundSchema.optional(),
113
- salesTaxAmount: AmountUpdate$outboundSchema.optional(),
114
110
  expiresOn: z.nullable(z.date().transform(v => v.toISOString())).optional(),
115
111
  display: PaymentLinkDisplayOptionsUpdate$outboundSchema.optional(),
116
112
  customer: PaymentLinkCustomerOptions$outboundSchema.optional(),