@moovio/sdk 26.4.0-dev.8 → 26.4.0-dev.9
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 +7 -8
- package/bin/mcp-server.js.map +20 -20
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/billablefee.d.ts +3 -0
- package/models/components/billablefee.d.ts.map +1 -1
- package/models/components/billablefee.js.map +1 -1
- package/models/components/createfeeplanagreement.d.ts +3 -0
- package/models/components/createfeeplanagreement.d.ts.map +1 -1
- package/models/components/createfeeplanagreement.js.map +1 -1
- package/models/components/createpaymentlinklineitem.d.ts +1 -1
- package/models/components/createpaymentlinklineitemoption.d.ts +1 -1
- package/models/components/createscheduledtransferlineitem.d.ts +6 -1
- package/models/components/createscheduledtransferlineitem.d.ts.map +1 -1
- package/models/components/createscheduledtransferlineitem.js.map +1 -1
- package/models/components/createscheduledtransferlineitemoption.d.ts +6 -1
- package/models/components/createscheduledtransferlineitemoption.d.ts.map +1 -1
- package/models/components/createscheduledtransferlineitemoption.js.map +1 -1
- package/models/components/createtransferlineitem.d.ts +6 -1
- package/models/components/createtransferlineitem.d.ts.map +1 -1
- package/models/components/createtransferlineitem.js.map +1 -1
- package/models/components/createtransferlineitemoption.d.ts +6 -1
- package/models/components/createtransferlineitemoption.d.ts.map +1 -1
- package/models/components/createtransferlineitemoption.js.map +1 -1
- package/models/components/feeplan.d.ts +3 -0
- package/models/components/feeplan.d.ts.map +1 -1
- package/models/components/feeplan.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +9 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/generatedby.d.ts +18 -0
- package/models/components/generatedby.d.ts.map +1 -1
- package/models/components/generatedby.js.map +1 -1
- package/models/components/incurredfee.d.ts +3 -0
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +9 -0
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/wallettransactiontype.d.ts +0 -1
- package/models/components/wallettransactiontype.d.ts.map +1 -1
- package/models/components/wallettransactiontype.js +0 -1
- package/models/components/wallettransactiontype.js.map +1 -1
- package/models/errors/feeplanagreementerror.d.ts +6 -0
- package/models/errors/feeplanagreementerror.d.ts.map +1 -1
- package/models/errors/feeplanagreementerror.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/billablefee.ts +3 -0
- package/src/models/components/createfeeplanagreement.ts +3 -0
- package/src/models/components/createpaymentlinklineitem.ts +1 -1
- package/src/models/components/createpaymentlinklineitemoption.ts +1 -1
- package/src/models/components/createscheduledtransferlineitem.ts +6 -1
- package/src/models/components/createscheduledtransferlineitemoption.ts +6 -1
- package/src/models/components/createtransferlineitem.ts +6 -1
- package/src/models/components/createtransferlineitemoption.ts +6 -1
- package/src/models/components/feeplan.ts +3 -0
- package/src/models/components/feeplanagreement.ts +9 -0
- package/src/models/components/generatedby.ts +18 -0
- package/src/models/components/incurredfee.ts +3 -0
- package/src/models/components/partnerpricingagreement.ts +9 -0
- package/src/models/components/wallettransactiontype.ts +0 -1
- package/src/models/errors/feeplanagreementerror.ts +6 -0
package/src/mcp-server/server.ts
CHANGED
|
@@ -24,6 +24,9 @@ import {
|
|
|
24
24
|
} from "./feeproperties.js";
|
|
25
25
|
|
|
26
26
|
export type BillableFee = {
|
|
27
|
+
/**
|
|
28
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
29
|
+
*/
|
|
27
30
|
billableFeeID?: string | undefined;
|
|
28
31
|
/**
|
|
29
32
|
* A unique code identifying a charge.
|
|
@@ -8,6 +8,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type CreateFeePlanAgreement = {
|
|
11
|
+
/**
|
|
12
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
13
|
+
*/
|
|
11
14
|
planID: string;
|
|
12
15
|
};
|
|
13
16
|
|
|
@@ -43,7 +43,7 @@ export type CreatePaymentLinkLineItem = {
|
|
|
43
43
|
* Optional list of images associated with this line item.
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
|
-
* This field is deprecated
|
|
46
|
+
* This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
47
47
|
*
|
|
48
48
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
49
49
|
*/
|
|
@@ -33,7 +33,7 @@ export type CreatePaymentLinkLineItemOption = {
|
|
|
33
33
|
* Optional list of images associated with this line item option.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* This field is deprecated
|
|
36
|
+
* This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
37
37
|
*
|
|
38
38
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
39
|
*/
|
|
@@ -47,7 +47,12 @@ export type CreateScheduledTransferLineItem = {
|
|
|
47
47
|
*/
|
|
48
48
|
productID?: string | undefined;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Optional list of images associated with this line item.
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
54
|
+
*
|
|
55
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
51
56
|
*/
|
|
52
57
|
imageIDs?: Array<string> | undefined;
|
|
53
58
|
};
|
|
@@ -34,7 +34,12 @@ export type CreateScheduledTransferLineItemOption = {
|
|
|
34
34
|
*/
|
|
35
35
|
group?: string | undefined;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Optional list of images associated with this line item option.
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
41
|
+
*
|
|
42
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
43
|
*/
|
|
39
44
|
imageIDs?: Array<string> | undefined;
|
|
40
45
|
};
|
|
@@ -40,7 +40,12 @@ export type CreateTransferLineItem = {
|
|
|
40
40
|
*/
|
|
41
41
|
options?: Array<CreateTransferLineItemOption> | undefined;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Optional list of images associated with this line item.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
44
49
|
*/
|
|
45
50
|
imageIDs?: Array<string> | undefined;
|
|
46
51
|
/**
|
|
@@ -30,7 +30,12 @@ export type CreateTransferLineItemOption = {
|
|
|
30
30
|
*/
|
|
31
31
|
priceModifier?: AmountDecimal | undefined;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Optional list of images associated with this line item option.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
37
|
+
*
|
|
38
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
39
|
*/
|
|
35
40
|
imageIDs?: Array<string> | undefined;
|
|
36
41
|
/**
|
|
@@ -31,6 +31,9 @@ import {
|
|
|
31
31
|
} from "./monthlyplatformfee.js";
|
|
32
32
|
|
|
33
33
|
export type FeePlan = {
|
|
34
|
+
/**
|
|
35
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
36
|
+
*/
|
|
34
37
|
planID: string;
|
|
35
38
|
/**
|
|
36
39
|
* The name of the fee plan.
|
|
@@ -36,8 +36,17 @@ import {
|
|
|
36
36
|
} from "./monthlyplatformfee.js";
|
|
37
37
|
|
|
38
38
|
export type FeePlanAgreement = {
|
|
39
|
+
/**
|
|
40
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
41
|
+
*/
|
|
39
42
|
agreementID: string;
|
|
43
|
+
/**
|
|
44
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
45
|
+
*/
|
|
40
46
|
planID: string;
|
|
47
|
+
/**
|
|
48
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
49
|
+
*/
|
|
41
50
|
accountID?: string | undefined;
|
|
42
51
|
/**
|
|
43
52
|
* The name of the agreement.
|
|
@@ -11,11 +11,29 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
* The entity that generated the fee.
|
|
12
12
|
*/
|
|
13
13
|
export type GeneratedBy = {
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
|
+
*/
|
|
14
17
|
transferID?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
20
|
+
*/
|
|
15
21
|
cardID?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
24
|
+
*/
|
|
16
25
|
disputeID?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
28
|
+
*/
|
|
17
29
|
accountID?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
32
|
+
*/
|
|
18
33
|
bankAccountID?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
36
|
+
*/
|
|
19
37
|
invoiceID?: string | undefined;
|
|
20
38
|
};
|
|
21
39
|
|
|
@@ -23,6 +23,9 @@ import {
|
|
|
23
23
|
* A fee incurred by a user.
|
|
24
24
|
*/
|
|
25
25
|
export type IncurredFee = {
|
|
26
|
+
/**
|
|
27
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
28
|
+
*/
|
|
26
29
|
feeID?: string | undefined;
|
|
27
30
|
/**
|
|
28
31
|
* Account ID the fee belongs to.
|
|
@@ -36,8 +36,17 @@ import {
|
|
|
36
36
|
} from "./monthlyplatformfee.js";
|
|
37
37
|
|
|
38
38
|
export type PartnerPricingAgreement = {
|
|
39
|
+
/**
|
|
40
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
41
|
+
*/
|
|
39
42
|
agreementID: string;
|
|
43
|
+
/**
|
|
44
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
45
|
+
*/
|
|
40
46
|
planID: string;
|
|
47
|
+
/**
|
|
48
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
49
|
+
*/
|
|
41
50
|
accountID?: string | undefined;
|
|
42
51
|
/**
|
|
43
52
|
* The name of the agreement.
|
|
@@ -33,7 +33,6 @@ export const WalletTransactionType = {
|
|
|
33
33
|
Adjustment: "adjustment",
|
|
34
34
|
FeeRevenue: "fee-revenue",
|
|
35
35
|
Residual: "residual",
|
|
36
|
-
InstantBankFailure: "instant-bank-failure",
|
|
37
36
|
} as const;
|
|
38
37
|
export type WalletTransactionType = ClosedEnum<typeof WalletTransactionType>;
|
|
39
38
|
|
|
@@ -6,10 +6,16 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { MoovError } from "./mooverror.js";
|
|
7
7
|
|
|
8
8
|
export type FeePlanAgreementErrorData = {
|
|
9
|
+
/**
|
|
10
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
11
|
+
*/
|
|
9
12
|
planID?: string | undefined;
|
|
10
13
|
};
|
|
11
14
|
|
|
12
15
|
export class FeePlanAgreementError extends MoovError {
|
|
16
|
+
/**
|
|
17
|
+
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
18
|
+
*/
|
|
13
19
|
planID?: string | undefined;
|
|
14
20
|
|
|
15
21
|
/** The original data that was passed to this error instance. */
|