@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.
- package/bin/mcp-server.js +21 -37
- package/bin/mcp-server.js.map +28 -28
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/createdtransfer.d.ts +1 -6
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +0 -2
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +1 -6
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js +0 -2
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createpaymentlinkamountdetails.d.ts +5 -0
- package/models/components/createpaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/createpaymentlinkamountdetails.js +2 -0
- package/models/components/createpaymentlinkamountdetails.js.map +1 -1
- package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/createpaymentlinkamountdetailsvalidationerror.js +2 -0
- package/models/components/createpaymentlinkamountdetailsvalidationerror.js.map +1 -1
- package/models/components/createpaymentlinklineitems.d.ts +1 -1
- package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
- package/models/components/createtransfer.d.ts +1 -3
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +0 -2
- package/models/components/createtransfer.js.map +1 -1
- package/models/components/createtransferamountdetails.d.ts +5 -0
- package/models/components/createtransferamountdetails.d.ts.map +1 -1
- package/models/components/createtransferamountdetails.js +2 -0
- package/models/components/createtransferamountdetails.js.map +1 -1
- package/models/components/createtransferamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/createtransferamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/createtransferamountdetailsvalidationerror.js +2 -0
- package/models/components/createtransferamountdetailsvalidationerror.js.map +1 -1
- package/models/components/createtransferlineitems.d.ts +1 -1
- package/models/components/paymentlink.d.ts +1 -6
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js +0 -2
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkamountdetails.d.ts +5 -0
- package/models/components/paymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/paymentlinkamountdetails.js +2 -0
- package/models/components/paymentlinkamountdetails.js.map +1 -1
- package/models/components/paymentlinklineitems.d.ts +1 -1
- package/models/components/transfer.d.ts +1 -3
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +0 -2
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferamountdetails.d.ts +5 -0
- package/models/components/transferamountdetails.d.ts.map +1 -1
- package/models/components/transferamountdetails.js +2 -0
- package/models/components/transferamountdetails.js.map +1 -1
- package/models/components/transferlineitems.d.ts +1 -1
- package/models/components/updatepaymentlink.d.ts +1 -3
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js +0 -2
- package/models/components/updatepaymentlink.js.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.d.ts +5 -0
- package/models/components/updatepaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.js +2 -0
- package/models/components/updatepaymentlinkamountdetails.js.map +1 -1
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.js +2 -0
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.js.map +1 -1
- package/models/errors/createpaymentlinkerror.d.ts +0 -3
- package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
- package/models/errors/createpaymentlinkerror.js +0 -4
- package/models/errors/createpaymentlinkerror.js.map +1 -1
- package/models/errors/transfer.d.ts +2 -5
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +0 -4
- package/models/errors/transfer.js.map +1 -1
- package/models/errors/transfervalidationerror.d.ts +0 -3
- package/models/errors/transfervalidationerror.d.ts.map +1 -1
- package/models/errors/transfervalidationerror.js +0 -4
- package/models/errors/transfervalidationerror.js.map +1 -1
- package/models/errors/updatepaymentlinkerror.d.ts +0 -3
- package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
- package/models/errors/updatepaymentlinkerror.js +0 -4
- package/models/errors/updatepaymentlinkerror.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/createdtransfer.ts +1 -8
- package/src/models/components/createpaymentlink.ts +1 -8
- package/src/models/components/createpaymentlinkamountdetails.ts +7 -0
- package/src/models/components/createpaymentlinkamountdetailsvalidationerror.ts +4 -0
- package/src/models/components/createpaymentlinklineitems.ts +1 -1
- package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
- package/src/models/components/createtransfer.ts +1 -5
- package/src/models/components/createtransferamountdetails.ts +7 -0
- package/src/models/components/createtransferamountdetailsvalidationerror.ts +4 -0
- package/src/models/components/createtransferlineitems.ts +1 -1
- package/src/models/components/paymentlink.ts +1 -8
- package/src/models/components/paymentlinkamountdetails.ts +7 -0
- package/src/models/components/paymentlinklineitems.ts +1 -1
- package/src/models/components/transfer.ts +1 -5
- package/src/models/components/transferamountdetails.ts +7 -0
- package/src/models/components/transferlineitems.ts +1 -1
- package/src/models/components/updatepaymentlink.ts +1 -5
- package/src/models/components/updatepaymentlinkamountdetails.ts +7 -0
- package/src/models/components/updatepaymentlinkamountdetailsvalidationerror.ts +4 -0
- package/src/models/errors/createpaymentlinkerror.ts +0 -8
- package/src/models/errors/transfer.ts +2 -8
- package/src/models/errors/transfervalidationerror.ts +0 -6
- package/src/models/errors/updatepaymentlinkerror.ts +0 -8
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
} from "./amountdecimalupdate.js";
|
|
16
16
|
|
|
17
17
|
export type UpdatePaymentLinkAmountDetails = {
|
|
18
|
+
/**
|
|
19
|
+
* The amount of tax applied to the payment link.
|
|
20
|
+
*/
|
|
21
|
+
tax?: AmountDecimalUpdate | undefined;
|
|
18
22
|
/**
|
|
19
23
|
* The amount of surcharge applied to the payment link.
|
|
20
24
|
*/
|
|
@@ -27,10 +31,12 @@ export const UpdatePaymentLinkAmountDetails$inboundSchema: z.ZodType<
|
|
|
27
31
|
z.ZodTypeDef,
|
|
28
32
|
unknown
|
|
29
33
|
> = z.object({
|
|
34
|
+
tax: types.optional(AmountDecimalUpdate$inboundSchema),
|
|
30
35
|
surcharge: types.optional(AmountDecimalUpdate$inboundSchema),
|
|
31
36
|
});
|
|
32
37
|
/** @internal */
|
|
33
38
|
export type UpdatePaymentLinkAmountDetails$Outbound = {
|
|
39
|
+
tax?: AmountDecimalUpdate$Outbound | undefined;
|
|
34
40
|
surcharge?: AmountDecimalUpdate$Outbound | undefined;
|
|
35
41
|
};
|
|
36
42
|
|
|
@@ -40,6 +46,7 @@ export const UpdatePaymentLinkAmountDetails$outboundSchema: z.ZodType<
|
|
|
40
46
|
z.ZodTypeDef,
|
|
41
47
|
UpdatePaymentLinkAmountDetails
|
|
42
48
|
> = z.object({
|
|
49
|
+
tax: AmountDecimalUpdate$outboundSchema.optional(),
|
|
43
50
|
surcharge: AmountDecimalUpdate$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 UpdatePaymentLinkAmountDetailsValidationError = {
|
|
12
|
+
tax?: string | undefined;
|
|
12
13
|
surcharge?: string | undefined;
|
|
13
14
|
};
|
|
14
15
|
|
|
@@ -19,10 +20,12 @@ export const UpdatePaymentLinkAmountDetailsValidationError$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 UpdatePaymentLinkAmountDetailsValidationError$Outbound = {
|
|
28
|
+
tax?: string | undefined;
|
|
26
29
|
surcharge?: string | undefined;
|
|
27
30
|
};
|
|
28
31
|
|
|
@@ -33,6 +36,7 @@ export const UpdatePaymentLinkAmountDetailsValidationError$outboundSchema:
|
|
|
33
36
|
z.ZodTypeDef,
|
|
34
37
|
UpdatePaymentLinkAmountDetailsValidationError
|
|
35
38
|
> = z.object({
|
|
39
|
+
tax: z.string().optional(),
|
|
36
40
|
surcharge: z.string().optional(),
|
|
37
41
|
});
|
|
38
42
|
|
|
@@ -11,7 +11,6 @@ export type CreatePaymentLinkErrorData = {
|
|
|
11
11
|
partnerAccountID?: string | undefined;
|
|
12
12
|
merchantPaymentMethodID?: string | undefined;
|
|
13
13
|
amount?: components.AmountValidationError | undefined;
|
|
14
|
-
salesTaxAmount?: components.AmountValidationError | undefined;
|
|
15
14
|
maxUses?: string | undefined;
|
|
16
15
|
expiresOn?: string | undefined;
|
|
17
16
|
display?: components.DisplayOptionsError | undefined;
|
|
@@ -27,7 +26,6 @@ export class CreatePaymentLinkError extends MoovError {
|
|
|
27
26
|
partnerAccountID?: string | undefined;
|
|
28
27
|
merchantPaymentMethodID?: string | undefined;
|
|
29
28
|
amount?: components.AmountValidationError | undefined;
|
|
30
|
-
salesTaxAmount?: components.AmountValidationError | undefined;
|
|
31
29
|
maxUses?: string | undefined;
|
|
32
30
|
expiresOn?: string | undefined;
|
|
33
31
|
display?: components.DisplayOptionsError | undefined;
|
|
@@ -57,7 +55,6 @@ export class CreatePaymentLinkError extends MoovError {
|
|
|
57
55
|
this.merchantPaymentMethodID = err.merchantPaymentMethodID;
|
|
58
56
|
}
|
|
59
57
|
if (err.amount != null) this.amount = err.amount;
|
|
60
|
-
if (err.salesTaxAmount != null) this.salesTaxAmount = err.salesTaxAmount;
|
|
61
58
|
if (err.maxUses != null) this.maxUses = err.maxUses;
|
|
62
59
|
if (err.expiresOn != null) this.expiresOn = err.expiresOn;
|
|
63
60
|
if (err.display != null) this.display = err.display;
|
|
@@ -79,9 +76,6 @@ export const CreatePaymentLinkError$inboundSchema: z.ZodType<
|
|
|
79
76
|
partnerAccountID: types.optional(types.string()),
|
|
80
77
|
merchantPaymentMethodID: types.optional(types.string()),
|
|
81
78
|
amount: types.optional(components.AmountValidationError$inboundSchema),
|
|
82
|
-
salesTaxAmount: types.optional(
|
|
83
|
-
components.AmountValidationError$inboundSchema,
|
|
84
|
-
),
|
|
85
79
|
maxUses: types.optional(types.string()),
|
|
86
80
|
expiresOn: types.optional(types.string()),
|
|
87
81
|
display: types.optional(components.DisplayOptionsError$inboundSchema),
|
|
@@ -110,7 +104,6 @@ export type CreatePaymentLinkError$Outbound = {
|
|
|
110
104
|
partnerAccountID?: string | undefined;
|
|
111
105
|
merchantPaymentMethodID?: string | undefined;
|
|
112
106
|
amount?: components.AmountValidationError$Outbound | undefined;
|
|
113
|
-
salesTaxAmount?: components.AmountValidationError$Outbound | undefined;
|
|
114
107
|
maxUses?: string | undefined;
|
|
115
108
|
expiresOn?: string | undefined;
|
|
116
109
|
display?: components.DisplayOptionsError$Outbound | undefined;
|
|
@@ -135,7 +128,6 @@ export const CreatePaymentLinkError$outboundSchema: z.ZodType<
|
|
|
135
128
|
partnerAccountID: z.string().optional(),
|
|
136
129
|
merchantPaymentMethodID: z.string().optional(),
|
|
137
130
|
amount: components.AmountValidationError$outboundSchema.optional(),
|
|
138
|
-
salesTaxAmount: components.AmountValidationError$outboundSchema.optional(),
|
|
139
131
|
maxUses: z.string().optional(),
|
|
140
132
|
expiresOn: z.string().optional(),
|
|
141
133
|
display: components.DisplayOptionsError$outboundSchema.optional(),
|
|
@@ -66,7 +66,6 @@ export type TransferData = {
|
|
|
66
66
|
scheduleID?: string | undefined;
|
|
67
67
|
occurrenceID?: string | undefined;
|
|
68
68
|
paymentLinkCode?: string | undefined;
|
|
69
|
-
salesTaxAmount?: components.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 TransferData = {
|
|
|
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
|
|
77
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
79
78
|
*/
|
|
80
79
|
lineItems?: components.TransferLineItems | undefined;
|
|
81
80
|
/**
|
|
@@ -148,7 +147,6 @@ export class Transfer extends MoovError {
|
|
|
148
147
|
scheduleID?: string | undefined;
|
|
149
148
|
occurrenceID?: string | undefined;
|
|
150
149
|
paymentLinkCode?: string | undefined;
|
|
151
|
-
salesTaxAmount?: components.Amount | undefined;
|
|
152
150
|
/**
|
|
153
151
|
* Optional alias from a foreign/external system which can be used to reference this resource.
|
|
154
152
|
*/
|
|
@@ -157,7 +155,7 @@ export class Transfer extends MoovError {
|
|
|
157
155
|
* An optional collection of line items for a transfer.
|
|
158
156
|
*
|
|
159
157
|
* @remarks
|
|
160
|
-
* When line items are provided, their total plus
|
|
158
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
161
159
|
*/
|
|
162
160
|
lineItems?: components.TransferLineItems | undefined;
|
|
163
161
|
/**
|
|
@@ -207,7 +205,6 @@ export class Transfer extends MoovError {
|
|
|
207
205
|
if (err.scheduleID != null) this.scheduleID = err.scheduleID;
|
|
208
206
|
if (err.occurrenceID != null) this.occurrenceID = err.occurrenceID;
|
|
209
207
|
if (err.paymentLinkCode != null) this.paymentLinkCode = err.paymentLinkCode;
|
|
210
|
-
if (err.salesTaxAmount != null) this.salesTaxAmount = err.salesTaxAmount;
|
|
211
208
|
if (err.foreignID != null) this.foreignID = err.foreignID;
|
|
212
209
|
if (err.lineItems != null) this.lineItems = err.lineItems;
|
|
213
210
|
if (err.invoiceID != null) this.invoiceID = err.invoiceID;
|
|
@@ -253,7 +250,6 @@ export const Transfer$inboundSchema: z.ZodType<
|
|
|
253
250
|
scheduleID: types.optional(types.string()),
|
|
254
251
|
occurrenceID: types.optional(types.string()),
|
|
255
252
|
paymentLinkCode: types.optional(types.string()),
|
|
256
|
-
salesTaxAmount: types.optional(components.Amount$inboundSchema),
|
|
257
253
|
foreignID: types.optional(types.string()),
|
|
258
254
|
lineItems: types.optional(components.TransferLineItems$inboundSchema),
|
|
259
255
|
invoiceID: types.optional(types.string()),
|
|
@@ -298,7 +294,6 @@ export type Transfer$Outbound = {
|
|
|
298
294
|
scheduleID?: string | undefined;
|
|
299
295
|
occurrenceID?: string | undefined;
|
|
300
296
|
paymentLinkCode?: string | undefined;
|
|
301
|
-
salesTaxAmount?: components.Amount$Outbound | undefined;
|
|
302
297
|
foreignID?: string | undefined;
|
|
303
298
|
lineItems?: components.TransferLineItems$Outbound | undefined;
|
|
304
299
|
invoiceID?: string | undefined;
|
|
@@ -340,7 +335,6 @@ export const Transfer$outboundSchema: z.ZodType<
|
|
|
340
335
|
scheduleID: z.string().optional(),
|
|
341
336
|
occurrenceID: z.string().optional(),
|
|
342
337
|
paymentLinkCode: z.string().optional(),
|
|
343
|
-
salesTaxAmount: components.Amount$outboundSchema.optional(),
|
|
344
338
|
foreignID: z.string().optional(),
|
|
345
339
|
lineItems: components.TransferLineItems$outboundSchema.optional(),
|
|
346
340
|
invoiceID: z.string().optional(),
|
|
@@ -17,7 +17,6 @@ export type TransferValidationErrorData = {
|
|
|
17
17
|
facilitatorFeeTotalDecimal?: string | undefined;
|
|
18
18
|
facilitatorFeeMarkupDecimal?: string | undefined;
|
|
19
19
|
metadata?: string | undefined;
|
|
20
|
-
salesTaxAmount?: string | undefined;
|
|
21
20
|
foreignID?: string | undefined;
|
|
22
21
|
lineItems?: components.CreateTransferLineItemsValidationError | undefined;
|
|
23
22
|
amountDetails?:
|
|
@@ -34,7 +33,6 @@ export class TransferValidationError extends MoovError {
|
|
|
34
33
|
facilitatorFeeTotalDecimal?: string | undefined;
|
|
35
34
|
facilitatorFeeMarkupDecimal?: string | undefined;
|
|
36
35
|
metadata?: string | undefined;
|
|
37
|
-
salesTaxAmount?: string | undefined;
|
|
38
36
|
foreignID?: string | undefined;
|
|
39
37
|
lineItems?: components.CreateTransferLineItemsValidationError | undefined;
|
|
40
38
|
amountDetails?:
|
|
@@ -69,7 +67,6 @@ export class TransferValidationError extends MoovError {
|
|
|
69
67
|
this.facilitatorFeeMarkupDecimal = err.facilitatorFeeMarkupDecimal;
|
|
70
68
|
}
|
|
71
69
|
if (err.metadata != null) this.metadata = err.metadata;
|
|
72
|
-
if (err.salesTaxAmount != null) this.salesTaxAmount = err.salesTaxAmount;
|
|
73
70
|
if (err.foreignID != null) this.foreignID = err.foreignID;
|
|
74
71
|
if (err.lineItems != null) this.lineItems = err.lineItems;
|
|
75
72
|
if (err.amountDetails != null) this.amountDetails = err.amountDetails;
|
|
@@ -92,7 +89,6 @@ export const TransferValidationError$inboundSchema: z.ZodType<
|
|
|
92
89
|
"FacilitatorFee.TotalDecimal": types.optional(types.string()),
|
|
93
90
|
"FacilitatorFee.MarkupDecimal": types.optional(types.string()),
|
|
94
91
|
metadata: types.optional(types.string()),
|
|
95
|
-
salesTaxAmount: types.optional(types.string()),
|
|
96
92
|
foreignID: types.optional(types.string()),
|
|
97
93
|
lineItems: types.optional(
|
|
98
94
|
components.CreateTransferLineItemsValidationError$inboundSchema,
|
|
@@ -127,7 +123,6 @@ export type TransferValidationError$Outbound = {
|
|
|
127
123
|
"FacilitatorFee.TotalDecimal"?: string | undefined;
|
|
128
124
|
"FacilitatorFee.MarkupDecimal"?: string | undefined;
|
|
129
125
|
metadata?: string | undefined;
|
|
130
|
-
salesTaxAmount?: string | undefined;
|
|
131
126
|
foreignID?: string | undefined;
|
|
132
127
|
lineItems?:
|
|
133
128
|
| components.CreateTransferLineItemsValidationError$Outbound
|
|
@@ -154,7 +149,6 @@ export const TransferValidationError$outboundSchema: z.ZodType<
|
|
|
154
149
|
facilitatorFeeTotalDecimal: z.string().optional(),
|
|
155
150
|
facilitatorFeeMarkupDecimal: z.string().optional(),
|
|
156
151
|
metadata: z.string().optional(),
|
|
157
|
-
salesTaxAmount: z.string().optional(),
|
|
158
152
|
foreignID: z.string().optional(),
|
|
159
153
|
lineItems: components
|
|
160
154
|
.CreateTransferLineItemsValidationError$outboundSchema.optional(),
|
|
@@ -9,7 +9,6 @@ import { MoovError } from "./mooverror.js";
|
|
|
9
9
|
|
|
10
10
|
export type UpdatePaymentLinkErrorData = {
|
|
11
11
|
amount?: components.AmountValidationError | undefined;
|
|
12
|
-
salesTaxAmount?: components.AmountValidationError | undefined;
|
|
13
12
|
expiresOn?: string | undefined;
|
|
14
13
|
display?: components.DisplayOptionsError | undefined;
|
|
15
14
|
payment?: components.PaymentDetailsError | undefined;
|
|
@@ -22,7 +21,6 @@ export type UpdatePaymentLinkErrorData = {
|
|
|
22
21
|
|
|
23
22
|
export class UpdatePaymentLinkError extends MoovError {
|
|
24
23
|
amount?: components.AmountValidationError | undefined;
|
|
25
|
-
salesTaxAmount?: components.AmountValidationError | undefined;
|
|
26
24
|
expiresOn?: string | undefined;
|
|
27
25
|
display?: components.DisplayOptionsError | undefined;
|
|
28
26
|
payment?: components.PaymentDetailsError | undefined;
|
|
@@ -45,7 +43,6 @@ export class UpdatePaymentLinkError extends MoovError {
|
|
|
45
43
|
super(message, httpMeta);
|
|
46
44
|
this.data$ = err;
|
|
47
45
|
if (err.amount != null) this.amount = err.amount;
|
|
48
|
-
if (err.salesTaxAmount != null) this.salesTaxAmount = err.salesTaxAmount;
|
|
49
46
|
if (err.expiresOn != null) this.expiresOn = err.expiresOn;
|
|
50
47
|
if (err.display != null) this.display = err.display;
|
|
51
48
|
if (err.payment != null) this.payment = err.payment;
|
|
@@ -64,9 +61,6 @@ export const UpdatePaymentLinkError$inboundSchema: z.ZodType<
|
|
|
64
61
|
unknown
|
|
65
62
|
> = z.object({
|
|
66
63
|
amount: types.optional(components.AmountValidationError$inboundSchema),
|
|
67
|
-
salesTaxAmount: types.optional(
|
|
68
|
-
components.AmountValidationError$inboundSchema,
|
|
69
|
-
),
|
|
70
64
|
expiresOn: types.optional(types.string()),
|
|
71
65
|
display: types.optional(components.DisplayOptionsError$inboundSchema),
|
|
72
66
|
payment: types.optional(components.PaymentDetailsError$inboundSchema),
|
|
@@ -92,7 +86,6 @@ export const UpdatePaymentLinkError$inboundSchema: z.ZodType<
|
|
|
92
86
|
/** @internal */
|
|
93
87
|
export type UpdatePaymentLinkError$Outbound = {
|
|
94
88
|
amount?: components.AmountValidationError$Outbound | undefined;
|
|
95
|
-
salesTaxAmount?: components.AmountValidationError$Outbound | undefined;
|
|
96
89
|
expiresOn?: string | undefined;
|
|
97
90
|
display?: components.DisplayOptionsError$Outbound | undefined;
|
|
98
91
|
payment?: components.PaymentDetailsError$Outbound | undefined;
|
|
@@ -114,7 +107,6 @@ export const UpdatePaymentLinkError$outboundSchema: z.ZodType<
|
|
|
114
107
|
.transform(v => v.data$)
|
|
115
108
|
.pipe(z.object({
|
|
116
109
|
amount: components.AmountValidationError$outboundSchema.optional(),
|
|
117
|
-
salesTaxAmount: components.AmountValidationError$outboundSchema.optional(),
|
|
118
110
|
expiresOn: z.string().optional(),
|
|
119
111
|
display: components.DisplayOptionsError$outboundSchema.optional(),
|
|
120
112
|
payment: components.PaymentDetailsError$outboundSchema.optional(),
|