@bosonprotocol/agentic-commerce 1.0.0-alpha.51 → 1.0.0-alpha.53
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/README.md +2 -2
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.d.ts +56 -2
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.d.ts.map +1 -1
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.js +157 -1
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.js.map +1 -1
- package/dist/boson/goat-sdk-plugin/examples/vercel.js +32 -15
- package/dist/boson/goat-sdk-plugin/examples/vercel.js.map +1 -1
- package/dist/boson/goat-sdk-plugin/parameters.d.ts +257 -0
- package/dist/boson/goat-sdk-plugin/parameters.d.ts.map +1 -1
- package/dist/boson/goat-sdk-plugin/parameters.js +43 -24
- package/dist/boson/goat-sdk-plugin/parameters.js.map +1 -1
- package/dist/boson/mcp-client/index.d.ts +865 -1
- package/dist/boson/mcp-client/index.d.ts.map +1 -1
- package/dist/boson/mcp-client/index.js +63 -0
- package/dist/boson/mcp-client/index.js.map +1 -1
- package/dist/boson/mcp-client/validation.d.ts +52 -0
- package/dist/boson/mcp-client/validation.d.ts.map +1 -0
- package/dist/boson/mcp-client/validation.js +36 -0
- package/dist/boson/mcp-client/validation.js.map +1 -0
- package/dist/boson/mcp-server/handlers/offers.d.ts +10 -3
- package/dist/boson/mcp-server/handlers/offers.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/offers.js +216 -29
- package/dist/boson/mcp-server/handlers/offers.js.map +1 -1
- package/dist/boson/mcp-server/handlers/sdk.d.ts +4 -2
- package/dist/boson/mcp-server/handlers/sdk.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/sdk.js +3 -1
- package/dist/boson/mcp-server/handlers/sdk.js.map +1 -1
- package/dist/boson/mcp-server/index.d.ts +1 -0
- package/dist/boson/mcp-server/index.d.ts.map +1 -1
- package/dist/boson/mcp-server/index.js +74 -14
- package/dist/boson/mcp-server/index.js.map +1 -1
- package/dist/boson/mcp-server/schemas.d.ts +3 -1
- package/dist/boson/mcp-server/schemas.d.ts.map +1 -1
- package/dist/boson/mcp-server/schemas.js +5 -1
- package/dist/boson/mcp-server/schemas.js.map +1 -1
- package/dist/boson/mcp-server/validation.d.ts +215 -0
- package/dist/boson/mcp-server/validation.d.ts.map +1 -1
- package/dist/boson/mcp-server/validation.js +80 -3
- package/dist/boson/mcp-server/validation.js.map +1 -1
- package/package.json +5 -5
|
@@ -60,6 +60,8 @@ export declare const createOfferValidation: z.ZodObject<{
|
|
|
60
60
|
voucherValidDurationInMS: z.ZodNumber;
|
|
61
61
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
62
62
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
63
|
+
metadataUri: z.ZodString;
|
|
64
|
+
metadataHash: z.ZodString;
|
|
63
65
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
64
66
|
exchangeTokenAddress: z.ZodOptional<z.ZodString>;
|
|
65
67
|
price: z.ZodString;
|
|
@@ -75,6 +77,8 @@ export declare const createOfferValidation: z.ZodObject<{
|
|
|
75
77
|
voucherValidDurationInMS: z.ZodNumber;
|
|
76
78
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
77
79
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
metadataUri: z.ZodString;
|
|
81
|
+
metadataHash: z.ZodString;
|
|
78
82
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
79
83
|
exchangeTokenAddress: z.ZodOptional<z.ZodString>;
|
|
80
84
|
price: z.ZodString;
|
|
@@ -90,6 +94,15 @@ export declare const createOfferValidation: z.ZodObject<{
|
|
|
90
94
|
voucherValidDurationInMS: z.ZodNumber;
|
|
91
95
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
92
96
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
97
|
+
metadataUri: z.ZodString;
|
|
98
|
+
metadataHash: z.ZodString;
|
|
99
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
100
|
+
export declare const storeProductV1MetadataValidation: z.ZodObject<{
|
|
101
|
+
[k: string]: z.ZodTypeAny;
|
|
102
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
103
|
+
[k: string]: z.ZodTypeAny;
|
|
104
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
105
|
+
[k: string]: z.ZodTypeAny;
|
|
93
106
|
}, z.ZodTypeAny, "passthrough">>;
|
|
94
107
|
export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
95
108
|
condition: z.ZodObject<{
|
|
@@ -134,6 +147,8 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
134
147
|
voucherValidDurationInMS: z.ZodNumber;
|
|
135
148
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
136
149
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
150
|
+
metadataUri: z.ZodString;
|
|
151
|
+
metadataHash: z.ZodString;
|
|
137
152
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
138
153
|
condition: z.ZodObject<{
|
|
139
154
|
method: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -177,6 +192,8 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
177
192
|
voucherValidDurationInMS: z.ZodNumber;
|
|
178
193
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
179
194
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
195
|
+
metadataUri: z.ZodString;
|
|
196
|
+
metadataHash: z.ZodString;
|
|
180
197
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
181
198
|
condition: z.ZodObject<{
|
|
182
199
|
method: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -220,7 +237,17 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
220
237
|
voucherValidDurationInMS: z.ZodNumber;
|
|
221
238
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
222
239
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
240
|
+
metadataUri: z.ZodString;
|
|
241
|
+
metadataHash: z.ZodString;
|
|
242
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
243
|
+
export declare const storeBundleMetadataValidation: z.ZodObject<{
|
|
244
|
+
[k: string]: z.ZodTypeAny;
|
|
245
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
246
|
+
[k: string]: z.ZodTypeAny;
|
|
247
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
248
|
+
[k: string]: z.ZodTypeAny;
|
|
223
249
|
}, z.ZodTypeAny, "passthrough">>;
|
|
250
|
+
export declare const storeCustomMetadataValidation: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
224
251
|
export declare const withdrawFundsValidationShape: {
|
|
225
252
|
entityId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
226
253
|
list: z.ZodArray<z.ZodObject<{
|
|
@@ -723,5 +750,193 @@ export declare const getAllProductsWithNotVoidedVariantsValidationShape: {
|
|
|
723
750
|
productsOrderDirection: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
|
|
724
751
|
productsFilter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
725
752
|
};
|
|
753
|
+
export declare const renderContractualAgreementValidation: z.ZodObject<{
|
|
754
|
+
template: z.ZodString;
|
|
755
|
+
offerData: z.ZodObject<{
|
|
756
|
+
price: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
757
|
+
sellerDeposit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
758
|
+
agentId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
759
|
+
buyerCancelPenalty: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
760
|
+
quantityAvailable: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
761
|
+
validFromDateInMS: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
762
|
+
validUntilDateInMS: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
763
|
+
voucherRedeemableFromDateInMS: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
764
|
+
voucherRedeemableUntilDateInMS: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
765
|
+
disputePeriodDurationInMS: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
766
|
+
voucherValidDurationInMS: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>>;
|
|
767
|
+
resolutionPeriodDurationInMS: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
768
|
+
exchangeToken: z.ZodEffects<z.ZodString, string, string>;
|
|
769
|
+
disputeResolverId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
770
|
+
metadataUri: z.ZodString;
|
|
771
|
+
metadataHash: z.ZodString;
|
|
772
|
+
collectionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
773
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>>;
|
|
774
|
+
priceType: z.ZodOptional<z.ZodNumber>;
|
|
775
|
+
royaltyInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
776
|
+
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
777
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>, "many">;
|
|
778
|
+
}, "strip", z.ZodTypeAny, {
|
|
779
|
+
recipients?: string[];
|
|
780
|
+
bps?: (string | number | bigint)[];
|
|
781
|
+
}, {
|
|
782
|
+
recipients?: string[];
|
|
783
|
+
bps?: (string | number | bigint)[];
|
|
784
|
+
}>, "many">>;
|
|
785
|
+
}, "strict", z.ZodTypeAny, {
|
|
786
|
+
agentId?: string | number | bigint;
|
|
787
|
+
disputeResolverId?: string | number | bigint;
|
|
788
|
+
collectionIndex?: string | number | bigint;
|
|
789
|
+
metadataUri?: string;
|
|
790
|
+
exchangeToken?: string;
|
|
791
|
+
price?: string | number | bigint;
|
|
792
|
+
sellerDeposit?: string | number | bigint;
|
|
793
|
+
buyerCancelPenalty?: string | number | bigint;
|
|
794
|
+
quantityAvailable?: string | number | bigint;
|
|
795
|
+
priceType?: number;
|
|
796
|
+
metadataHash?: string;
|
|
797
|
+
royaltyInfo?: {
|
|
798
|
+
recipients?: string[];
|
|
799
|
+
bps?: (string | number | bigint)[];
|
|
800
|
+
}[];
|
|
801
|
+
validFromDateInMS?: string | number | bigint;
|
|
802
|
+
validUntilDateInMS?: string | number | bigint;
|
|
803
|
+
voucherRedeemableUntilDateInMS?: string | number | bigint;
|
|
804
|
+
voucherRedeemableFromDateInMS?: string | number | bigint;
|
|
805
|
+
voucherValidDurationInMS?: string | number | bigint;
|
|
806
|
+
disputePeriodDurationInMS?: string | number | bigint;
|
|
807
|
+
resolutionPeriodDurationInMS?: string | number | bigint;
|
|
808
|
+
feeLimit?: string | number | bigint;
|
|
809
|
+
}, {
|
|
810
|
+
agentId?: string | number | bigint;
|
|
811
|
+
disputeResolverId?: string | number | bigint;
|
|
812
|
+
collectionIndex?: string | number | bigint;
|
|
813
|
+
metadataUri?: string;
|
|
814
|
+
exchangeToken?: string;
|
|
815
|
+
price?: string | number | bigint;
|
|
816
|
+
sellerDeposit?: string | number | bigint;
|
|
817
|
+
buyerCancelPenalty?: string | number | bigint;
|
|
818
|
+
quantityAvailable?: string | number | bigint;
|
|
819
|
+
priceType?: number;
|
|
820
|
+
metadataHash?: string;
|
|
821
|
+
royaltyInfo?: {
|
|
822
|
+
recipients?: string[];
|
|
823
|
+
bps?: (string | number | bigint)[];
|
|
824
|
+
}[];
|
|
825
|
+
validFromDateInMS?: string | number | bigint;
|
|
826
|
+
validUntilDateInMS?: string | number | bigint;
|
|
827
|
+
voucherRedeemableUntilDateInMS?: string | number | bigint;
|
|
828
|
+
voucherRedeemableFromDateInMS?: string | number | bigint;
|
|
829
|
+
voucherValidDurationInMS?: string | number | bigint;
|
|
830
|
+
disputePeriodDurationInMS?: string | number | bigint;
|
|
831
|
+
resolutionPeriodDurationInMS?: string | number | bigint;
|
|
832
|
+
feeLimit?: string | number | bigint;
|
|
833
|
+
}>;
|
|
834
|
+
offerMetadata: z.ZodObject<{
|
|
835
|
+
sellerContactMethod: z.ZodString;
|
|
836
|
+
disputeResolverContactMethod: z.ZodString;
|
|
837
|
+
escalationDeposit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
838
|
+
escalationResponsePeriodInSec: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
|
|
839
|
+
sellerTradingName: z.ZodString;
|
|
840
|
+
returnPeriodInDays: z.ZodNumber;
|
|
841
|
+
}, "strict", z.ZodTypeAny, {
|
|
842
|
+
sellerContactMethod?: string;
|
|
843
|
+
disputeResolverContactMethod?: string;
|
|
844
|
+
escalationDeposit?: string | number | bigint;
|
|
845
|
+
escalationResponsePeriodInSec?: string | number | bigint;
|
|
846
|
+
sellerTradingName?: string;
|
|
847
|
+
returnPeriodInDays?: number;
|
|
848
|
+
}, {
|
|
849
|
+
sellerContactMethod?: string;
|
|
850
|
+
disputeResolverContactMethod?: string;
|
|
851
|
+
escalationDeposit?: string | number | bigint;
|
|
852
|
+
escalationResponsePeriodInSec?: string | number | bigint;
|
|
853
|
+
sellerTradingName?: string;
|
|
854
|
+
returnPeriodInDays?: number;
|
|
855
|
+
}>;
|
|
856
|
+
}, "strip", z.ZodTypeAny, {
|
|
857
|
+
template?: string;
|
|
858
|
+
offerData?: {
|
|
859
|
+
agentId?: string | number | bigint;
|
|
860
|
+
disputeResolverId?: string | number | bigint;
|
|
861
|
+
collectionIndex?: string | number | bigint;
|
|
862
|
+
metadataUri?: string;
|
|
863
|
+
exchangeToken?: string;
|
|
864
|
+
price?: string | number | bigint;
|
|
865
|
+
sellerDeposit?: string | number | bigint;
|
|
866
|
+
buyerCancelPenalty?: string | number | bigint;
|
|
867
|
+
quantityAvailable?: string | number | bigint;
|
|
868
|
+
priceType?: number;
|
|
869
|
+
metadataHash?: string;
|
|
870
|
+
royaltyInfo?: {
|
|
871
|
+
recipients?: string[];
|
|
872
|
+
bps?: (string | number | bigint)[];
|
|
873
|
+
}[];
|
|
874
|
+
validFromDateInMS?: string | number | bigint;
|
|
875
|
+
validUntilDateInMS?: string | number | bigint;
|
|
876
|
+
voucherRedeemableUntilDateInMS?: string | number | bigint;
|
|
877
|
+
voucherRedeemableFromDateInMS?: string | number | bigint;
|
|
878
|
+
voucherValidDurationInMS?: string | number | bigint;
|
|
879
|
+
disputePeriodDurationInMS?: string | number | bigint;
|
|
880
|
+
resolutionPeriodDurationInMS?: string | number | bigint;
|
|
881
|
+
feeLimit?: string | number | bigint;
|
|
882
|
+
};
|
|
883
|
+
offerMetadata?: {
|
|
884
|
+
sellerContactMethod?: string;
|
|
885
|
+
disputeResolverContactMethod?: string;
|
|
886
|
+
escalationDeposit?: string | number | bigint;
|
|
887
|
+
escalationResponsePeriodInSec?: string | number | bigint;
|
|
888
|
+
sellerTradingName?: string;
|
|
889
|
+
returnPeriodInDays?: number;
|
|
890
|
+
};
|
|
891
|
+
}, {
|
|
892
|
+
template?: string;
|
|
893
|
+
offerData?: {
|
|
894
|
+
agentId?: string | number | bigint;
|
|
895
|
+
disputeResolverId?: string | number | bigint;
|
|
896
|
+
collectionIndex?: string | number | bigint;
|
|
897
|
+
metadataUri?: string;
|
|
898
|
+
exchangeToken?: string;
|
|
899
|
+
price?: string | number | bigint;
|
|
900
|
+
sellerDeposit?: string | number | bigint;
|
|
901
|
+
buyerCancelPenalty?: string | number | bigint;
|
|
902
|
+
quantityAvailable?: string | number | bigint;
|
|
903
|
+
priceType?: number;
|
|
904
|
+
metadataHash?: string;
|
|
905
|
+
royaltyInfo?: {
|
|
906
|
+
recipients?: string[];
|
|
907
|
+
bps?: (string | number | bigint)[];
|
|
908
|
+
}[];
|
|
909
|
+
validFromDateInMS?: string | number | bigint;
|
|
910
|
+
validUntilDateInMS?: string | number | bigint;
|
|
911
|
+
voucherRedeemableUntilDateInMS?: string | number | bigint;
|
|
912
|
+
voucherRedeemableFromDateInMS?: string | number | bigint;
|
|
913
|
+
voucherValidDurationInMS?: string | number | bigint;
|
|
914
|
+
disputePeriodDurationInMS?: string | number | bigint;
|
|
915
|
+
resolutionPeriodDurationInMS?: string | number | bigint;
|
|
916
|
+
feeLimit?: string | number | bigint;
|
|
917
|
+
};
|
|
918
|
+
offerMetadata?: {
|
|
919
|
+
sellerContactMethod?: string;
|
|
920
|
+
disputeResolverContactMethod?: string;
|
|
921
|
+
escalationDeposit?: string | number | bigint;
|
|
922
|
+
escalationResponsePeriodInSec?: string | number | bigint;
|
|
923
|
+
sellerTradingName?: string;
|
|
924
|
+
returnPeriodInDays?: number;
|
|
925
|
+
};
|
|
926
|
+
}>;
|
|
927
|
+
export declare const storeBundleItemProductV1MetadataValidation: z.ZodObject<{
|
|
928
|
+
[k: string]: z.ZodTypeAny;
|
|
929
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
930
|
+
[k: string]: z.ZodTypeAny;
|
|
931
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
932
|
+
[k: string]: z.ZodTypeAny;
|
|
933
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
934
|
+
export declare const storeBundleItemNftMetadataValidation: z.ZodObject<{
|
|
935
|
+
[k: string]: z.ZodTypeAny;
|
|
936
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
937
|
+
[k: string]: z.ZodTypeAny;
|
|
938
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
939
|
+
[k: string]: z.ZodTypeAny;
|
|
940
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
726
941
|
export { signedTransactionValidation, signedTransactionValidationZod, signTransactionValidation, signTransactionValidationZod, } from "../../common/mcp-server/transactionSigning.js";
|
|
727
942
|
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/boson/mcp-server/validation.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/boson/mcp-server/validation.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoCxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAevC,CAAC;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAKlB,CAAC;AAEjB,eAAO,MAAM,gCAAgC;;;;;;gCAI7B,CAAC;AAEjB,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAuC/B,CAAC;AAEjB,eAAO,MAAM,6BAA6B;;;;;;gCAOvC,CAAC;AAEJ,eAAO,MAAM,6BAA6B,uJAA6B,CAAC;AAExE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;CAUxC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAAyC,CAAC;AAE9E,eAAO,MAAM,2BAA2B;;;;CAIvC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAAwC,CAAC;AAG5E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAAkC,CAAC;AAClE,eAAO,MAAM,uBAAuB;;;;;;CAA2B,CAAC;AAEhE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;EAgBxC,CAAC;AAEH,eAAO,MAAM,s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C,CAAC;AACtE,eAAO,MAAM,yBAAyB;;;;;;;;;;CAA6B,CAAC;AAEpE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACE,CAAC;AAC7C,eAAO,MAAM,kCAAkC;;;;;;;;;;;CACV,CAAC;AAEtC,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;EACE,CAAC;AAC7C,eAAO,MAAM,kCAAkC;;;;;;CACV,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmC,CAAC;AACpE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;CAA4B,CAAC;AAElE,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;EACtB,CAAC;AACrC,eAAO,MAAM,kDAAkD;;;;;;CACV,CAAC;AAmDtD,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/C,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;gCAIvC,CAAC;AAEjB,eAAO,MAAM,oCAAoC;;;;;;gCAIjC,CAAC;AAEjB,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.storeBundleItemProductV1MetadataValidation = exports.renderContractualAgreementValidation = exports.getAllProductsWithNotVoidedVariantsValidationShape = exports.getAllProductsWithNotVoidedVariantsValidation = exports.getOffersValidationShape = exports.getOffersValidation = exports.getDisputeResolversValidationShape = exports.getDisputeResolversValidation = exports.getSellersByAddressValidationShape = exports.getSellersByAddressValidation = exports.getSellersValidationShape = exports.getSellersValidation = exports.getExchangesValidationShape = exports.getExchangesValidation = exports.redeemVoucherValidation = exports.redeemVoucherValidationShape = exports.cancelVoucherValidation = exports.cancelVoucherValidationShape = exports.voidOfferValidation = exports.voidOfferValidationShape = exports.commitToOfferValidation = exports.commitToOfferValidationShape = exports.revokeVoucherValidation = exports.revokeVoucherValidationShape = exports.getDisputesValidationShape = exports.getDisputesValidation = exports.createDisputeResolutionProposalValidation = exports.createDisputeResolutionProposalValidationShape = exports.resolveDisputeValidation = exports.resolveDisputeValidationShape = exports.expireDisputeBatchValidation = exports.expireDisputeBatchValidationShape = exports.expireDisputeValidation = exports.expireDisputeValidationShape = exports.extendDisputeTimeoutValidation = exports.extendDisputeTimeoutValidationShape = exports.createSellerValidation = exports.createSellerNonMetadataFields = exports.getFundsValidationShape = exports.getFundsValidation = exports.depositFundsValidation = exports.depositFundsValidationShape = exports.withdrawFundsValidation = exports.withdrawFundsValidationShape = exports.storeCustomMetadataValidation = exports.storeBundleMetadataValidation = exports.createOfferWithConditionValidation = exports.storeProductV1MetadataValidation = exports.createOfferValidation = exports.createOfferNonMetadataFields = void 0;
|
|
4
|
+
exports.signTransactionValidationZod = exports.signTransactionValidation = exports.signedTransactionValidationZod = exports.signedTransactionValidation = exports.storeBundleItemNftMetadataValidation = void 0;
|
|
4
5
|
const common_1 = require("@bosonprotocol/common");
|
|
5
6
|
const bignumber_js_1 = require("@ethersproject/bignumber/lib/bignumber.js");
|
|
6
7
|
const zod_1 = require("zod");
|
|
@@ -21,6 +22,10 @@ const bigNumber = zod_1.z
|
|
|
21
22
|
}, {
|
|
22
23
|
message: "Number values must be safe integers (within Number.MIN_SAFE_INTEGER and Number.MAX_SAFE_INTEGER). Use string or bigint for large numbers.",
|
|
23
24
|
});
|
|
25
|
+
const metadataUriAndHashFields = zod_1.z.object({
|
|
26
|
+
metadataUri: zod_1.z.string(),
|
|
27
|
+
metadataHash: zod_1.z.string(),
|
|
28
|
+
});
|
|
24
29
|
exports.createOfferNonMetadataFields = zod_1.z.object({
|
|
25
30
|
exchangeTokenAddress: zod_1.z.string().optional(),
|
|
26
31
|
price: zod_1.z.string(),
|
|
@@ -39,13 +44,18 @@ exports.createOfferNonMetadataFields = zod_1.z.object({
|
|
|
39
44
|
});
|
|
40
45
|
exports.createOfferValidation = zod_1.z
|
|
41
46
|
.object({
|
|
42
|
-
...
|
|
47
|
+
...metadataUriAndHashFields.shape,
|
|
43
48
|
...exports.createOfferNonMetadataFields.shape,
|
|
44
49
|
})
|
|
45
50
|
.passthrough();
|
|
46
|
-
exports.
|
|
51
|
+
exports.storeProductV1MetadataValidation = zod_1.z
|
|
47
52
|
.object({
|
|
48
53
|
...(0, jsonSchemaToZodShape_js_1.jsonSchemaToZodShape)(schemas_js_1.productV1Schema),
|
|
54
|
+
})
|
|
55
|
+
.passthrough();
|
|
56
|
+
exports.createOfferWithConditionValidation = zod_1.z
|
|
57
|
+
.object({
|
|
58
|
+
...metadataUriAndHashFields.shape,
|
|
49
59
|
...exports.createOfferNonMetadataFields.shape,
|
|
50
60
|
condition: zod_1.z.object({
|
|
51
61
|
method: zod_1.z
|
|
@@ -77,6 +87,13 @@ exports.createOfferWithConditionValidation = zod_1.z
|
|
|
77
87
|
}),
|
|
78
88
|
})
|
|
79
89
|
.passthrough();
|
|
90
|
+
exports.storeBundleMetadataValidation = zod_1.z
|
|
91
|
+
.object({
|
|
92
|
+
...(0, jsonSchemaToZodShape_js_1.jsonSchemaToZodShape)(schemas_js_1.bundleSchema),
|
|
93
|
+
})
|
|
94
|
+
.passthrough()
|
|
95
|
+
.describe("Store Bundle metadata. You should call the store_bundle_item_* tools before calling this. Items should be [{'url':'ipfs://abc'}]");
|
|
96
|
+
exports.storeCustomMetadataValidation = zod_1.z.object({}).passthrough();
|
|
80
97
|
exports.withdrawFundsValidationShape = {
|
|
81
98
|
entityId: bigNumber,
|
|
82
99
|
list: zod_1.z
|
|
@@ -181,6 +198,66 @@ exports.getOffersValidation = resourceParameterTypes_js_1.resourceValidationSche
|
|
|
181
198
|
exports.getOffersValidationShape = exports.getOffersValidation.shape;
|
|
182
199
|
exports.getAllProductsWithNotVoidedVariantsValidation = resourceParameterTypes_js_1.resourceValidationSchemas.products;
|
|
183
200
|
exports.getAllProductsWithNotVoidedVariantsValidationShape = exports.getAllProductsWithNotVoidedVariantsValidation.shape;
|
|
201
|
+
// CreateOfferArgs validation schema based on @bosonprotocol/common types
|
|
202
|
+
// NOTE: This should be kept in sync with CreateOfferArgs type from @bosonprotocol/common
|
|
203
|
+
// TypeScript will catch mismatches when we use type assertions in the handler
|
|
204
|
+
const createOfferArgsValidation = zod_1.z
|
|
205
|
+
.object({
|
|
206
|
+
price: bigNumber,
|
|
207
|
+
sellerDeposit: bigNumber,
|
|
208
|
+
agentId: bigNumber,
|
|
209
|
+
buyerCancelPenalty: bigNumber,
|
|
210
|
+
quantityAvailable: bigNumber,
|
|
211
|
+
validFromDateInMS: bigNumber,
|
|
212
|
+
validUntilDateInMS: bigNumber,
|
|
213
|
+
voucherRedeemableFromDateInMS: bigNumber,
|
|
214
|
+
voucherRedeemableUntilDateInMS: bigNumber,
|
|
215
|
+
disputePeriodDurationInMS: bigNumber,
|
|
216
|
+
voucherValidDurationInMS: bigNumber.optional(),
|
|
217
|
+
resolutionPeriodDurationInMS: bigNumber,
|
|
218
|
+
exchangeToken: validationUtils_js_1.ethereumAddressValidation,
|
|
219
|
+
disputeResolverId: bigNumber,
|
|
220
|
+
metadataUri: zod_1.z.string(),
|
|
221
|
+
metadataHash: zod_1.z.string(),
|
|
222
|
+
collectionIndex: bigNumber,
|
|
223
|
+
feeLimit: bigNumber.optional(),
|
|
224
|
+
priceType: zod_1.z.number().optional(),
|
|
225
|
+
royaltyInfo: zod_1.z
|
|
226
|
+
.array(zod_1.z.object({
|
|
227
|
+
recipients: zod_1.z.array(validationUtils_js_1.ethereumAddressValidation),
|
|
228
|
+
bps: zod_1.z.array(bigNumber),
|
|
229
|
+
}))
|
|
230
|
+
.optional(),
|
|
231
|
+
})
|
|
232
|
+
.strict();
|
|
233
|
+
// AdditionalOfferMetadata validation schema based on @bosonprotocol/core-sdk types
|
|
234
|
+
// NOTE: This should be kept in sync with AdditionalOfferMetadata type from @bosonprotocol/core-sdk
|
|
235
|
+
// TypeScript will catch mismatches when we use type assertions in the handler
|
|
236
|
+
const additionalOfferMetadataValidation = zod_1.z
|
|
237
|
+
.object({
|
|
238
|
+
sellerContactMethod: zod_1.z.string(),
|
|
239
|
+
disputeResolverContactMethod: zod_1.z.string(),
|
|
240
|
+
escalationDeposit: bigNumber,
|
|
241
|
+
escalationResponsePeriodInSec: bigNumber,
|
|
242
|
+
sellerTradingName: zod_1.z.string(),
|
|
243
|
+
returnPeriodInDays: zod_1.z.number(),
|
|
244
|
+
})
|
|
245
|
+
.strict();
|
|
246
|
+
exports.renderContractualAgreementValidation = zod_1.z.object({
|
|
247
|
+
template: zod_1.z.string(),
|
|
248
|
+
offerData: createOfferArgsValidation,
|
|
249
|
+
offerMetadata: additionalOfferMetadataValidation,
|
|
250
|
+
});
|
|
251
|
+
exports.storeBundleItemProductV1MetadataValidation = zod_1.z
|
|
252
|
+
.object({
|
|
253
|
+
...(0, jsonSchemaToZodShape_js_1.jsonSchemaToZodShape)(schemas_js_1.productV1ItemSchema),
|
|
254
|
+
})
|
|
255
|
+
.passthrough();
|
|
256
|
+
exports.storeBundleItemNftMetadataValidation = zod_1.z
|
|
257
|
+
.object({
|
|
258
|
+
...(0, jsonSchemaToZodShape_js_1.jsonSchemaToZodShape)(schemas_js_1.nftItemSchema),
|
|
259
|
+
})
|
|
260
|
+
.passthrough();
|
|
184
261
|
var transactionSigning_js_1 = require("../../common/mcp-server/transactionSigning.js");
|
|
185
262
|
Object.defineProperty(exports, "signedTransactionValidation", { enumerable: true, get: function () { return transactionSigning_js_1.signedTransactionValidation; } });
|
|
186
263
|
Object.defineProperty(exports, "signedTransactionValidationZod", { enumerable: true, get: function () { return transactionSigning_js_1.signedTransactionValidationZod; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/boson/mcp-server/validation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/boson/mcp-server/validation.ts"],"names":[],"mappings":";;;;AAAA,kDAK+B;AAC/B,4EAA2E;AAC3E,6BAAwB;AAExB,6FAAuF;AACvF,mFAAuF;AACvF,2EAAwE;AACxE,6CAMsB;AAEtB,MAAM,SAAS,GAAG,OAAC;KAChB,MAAM,EAAE;KACR,EAAE,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;KACd,EAAE,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;KACd,MAAM,CACL,CAAC,KAAK,EAAE,EAAE;IACR,0DAA0D;IAC1D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QAC9D,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAA,6BAAc,EAAC,KAAK,CAAC,CAAC;AAC/B,CAAC,EACD;IACE,OAAO,EACL,2IAA2I;CAC9I,CACF,CAAC;AAEJ,MAAM,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;I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AAC;KACxC,MAAM,CAAC;IACN,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC/B,4BAA4B,EAAE,OAAC,CAAC,MAAM,EAAE;IACxC,iBAAiB,EAAE,SAAS;IAC5B,6BAA6B,EAAE,SAAS;IACxC,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC7B,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE;CAC/B,CAAC;KACD,MAAM,EAAE,CAAC;AAEC,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,yBAAyB;IACpC,aAAa,EAAE,iCAAiC;CACjD,CAAC,CAAC;AAEU,QAAA,0CAA0C,GAAG,OAAC;KACxD,MAAM,CAAC;IACN,GAAG,IAAA,8CAAoB,EAAC,gCAAmB,CAAC;CAC7C,CAAC;KACD,WAAW,EAAE,CAAC;AAEJ,QAAA,oCAAoC,GAAG,OAAC;KAClD,MAAM,CAAC;IACN,GAAG,IAAA,8CAAoB,EAAC,0BAAa,CAAC;CACvC,CAAC;KACD,WAAW,EAAE,CAAC;AAEjB,uFAKuD;AAJrD,oIAAA,2BAA2B,OAAA;AAC3B,uIAAA,8BAA8B,OAAA;AAC9B,kIAAA,yBAAyB,OAAA;AACzB,qIAAA,4BAA4B,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bosonprotocol/agentic-commerce",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.53",
|
|
4
4
|
"description": "Agentic commerce tools for Boson and Fermion protocols",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"clean": "rimraf dist",
|
|
31
31
|
"build": "rimraf dist && tsc --project tsconfig.build.json",
|
|
32
32
|
"watch": "rimraf dist && tsc --project tsconfig.build.json --watch",
|
|
33
|
-
"dev:boson": "nodemon dist/boson/mcp-server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-dev-server",
|
|
34
|
-
"start:boson": "node dist/boson/mcp-server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-server",
|
|
35
|
-
"start:boson:http": "node dist/boson/mcp-server/index.js --mcp-config mcpServer.json --server boson-server --http",
|
|
33
|
+
"dev:boson": "nodemon -r dotenv/config dist/boson/mcp-server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-dev-server",
|
|
34
|
+
"start:boson": "node -r dotenv/config dist/boson/mcp-server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-server",
|
|
35
|
+
"start:boson:http": "node -r dotenv/config dist/boson/mcp-server/index.js --mcp-config mcpServer.json --server boson-server --http",
|
|
36
36
|
"start:boson:http:inspector": "npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-server",
|
|
37
|
-
"dev:boson:http": "nodemon dist/boson/mcp-server/index.js --mcp-config mcpServer.json --server boson-dev-server --http",
|
|
37
|
+
"dev:boson:http": "nodemon -r dotenv/config dist/boson/mcp-server/index.js --mcp-config mcpServer.json --server boson-dev-server --http",
|
|
38
38
|
"dev:boson:http:inspector": "npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-dev-server",
|
|
39
39
|
"dev:fermion": "nodemon dist/fermion/mcp-server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server fermion-dev-server",
|
|
40
40
|
"start:fermion": "node dist/fermion/mcp-server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server fermion-server",
|