@medialane/sdk 0.82.0 → 0.83.0
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/dist/index.cjs +27 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -1
- package/dist/{services-B5tH-bth.d.cts → services--Zif_ws7.d.cts} +78 -1
- package/dist/{services-BrLuUB_Z.d.ts → services-CJorT7zl.d.ts} +78 -1
- package/dist/starknet/index.cjs +27 -0
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +1 -1
- package/dist/starknet/index.d.ts +1 -1
- package/dist/starknet/index.js +27 -0
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -704,6 +704,74 @@ interface CreateTierIntentParams {
|
|
|
704
704
|
royaltyBps: number;
|
|
705
705
|
metadataUri: string;
|
|
706
706
|
}
|
|
707
|
+
interface CreateSponsorshipOfferIntentParams {
|
|
708
|
+
/** The offer author — must currently own (nftContract, tokenId) on-chain. */
|
|
709
|
+
author: string;
|
|
710
|
+
nftContract: string;
|
|
711
|
+
tokenId: string;
|
|
712
|
+
minAmount: string;
|
|
713
|
+
/** Seconds, applied from acceptance (not from offer creation). */
|
|
714
|
+
duration: number;
|
|
715
|
+
paymentToken: string;
|
|
716
|
+
licenseTermsUri: string;
|
|
717
|
+
transferable: boolean;
|
|
718
|
+
/** Basis points, 0–10000. EIP-2981 royalty to the author on license resale. */
|
|
719
|
+
royaltyBps: number;
|
|
720
|
+
/** Restricts acceptance to one sponsor address; omit for open bidding. */
|
|
721
|
+
specificSponsor?: string;
|
|
722
|
+
}
|
|
723
|
+
interface SetSponsorshipOfferOpenIntentParams {
|
|
724
|
+
/** Must be the offer's author. */
|
|
725
|
+
author: string;
|
|
726
|
+
offerId: string;
|
|
727
|
+
open: boolean;
|
|
728
|
+
}
|
|
729
|
+
interface PlaceSponsorshipBidIntentParams {
|
|
730
|
+
/** The sponsor placing the bid — becomes the ERC-20 approve + place_bid caller. */
|
|
731
|
+
sponsor: string;
|
|
732
|
+
offerId: string;
|
|
733
|
+
amount: string;
|
|
734
|
+
paymentToken: string;
|
|
735
|
+
}
|
|
736
|
+
interface RetractSponsorshipBidIntentParams {
|
|
737
|
+
sponsor: string;
|
|
738
|
+
offerId: string;
|
|
739
|
+
}
|
|
740
|
+
interface AcceptSponsorshipBidIntentParams {
|
|
741
|
+
/** Must be the offer's author — re-verified on-chain. */
|
|
742
|
+
author: string;
|
|
743
|
+
offerId: string;
|
|
744
|
+
/** The bidder whose bid is being accepted. */
|
|
745
|
+
sponsor: string;
|
|
746
|
+
}
|
|
747
|
+
interface CreateSponsorshipProposalIntentParams {
|
|
748
|
+
/** The sponsor proposing terms — pays if accepted. */
|
|
749
|
+
proposer: string;
|
|
750
|
+
nftContract: string;
|
|
751
|
+
tokenId: string;
|
|
752
|
+
/** Fixed take-it-or-leave-it amount (not a bid floor). */
|
|
753
|
+
amount: string;
|
|
754
|
+
duration: number;
|
|
755
|
+
/** Unix seconds; the deadline for the asset owner to accept. Omit/0 = no deadline. */
|
|
756
|
+
validUntil?: number;
|
|
757
|
+
paymentToken: string;
|
|
758
|
+
licenseTermsUri: string;
|
|
759
|
+
transferable: boolean;
|
|
760
|
+
royaltyBps: number;
|
|
761
|
+
}
|
|
762
|
+
interface WithdrawSponsorshipProposalIntentParams {
|
|
763
|
+
proposer: string;
|
|
764
|
+
proposalId: string;
|
|
765
|
+
}
|
|
766
|
+
interface AcceptSponsorshipProposalIntentParams {
|
|
767
|
+
/** Must currently own the asset — re-verified on-chain (binds to the asset, not a person). */
|
|
768
|
+
owner: string;
|
|
769
|
+
proposalId: string;
|
|
770
|
+
}
|
|
771
|
+
interface RejectSponsorshipProposalIntentParams {
|
|
772
|
+
owner: string;
|
|
773
|
+
proposalId: string;
|
|
774
|
+
}
|
|
707
775
|
interface CreateCounterOfferIntentParams {
|
|
708
776
|
/** Wallet address of the NFT owner making the counter-offer. */
|
|
709
777
|
sellerAddress: string;
|
|
@@ -1112,6 +1180,15 @@ declare class ApiClient {
|
|
|
1112
1180
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1113
1181
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1114
1182
|
createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1183
|
+
createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1184
|
+
setSponsorshipOfferOpenIntent(params: SetSponsorshipOfferOpenIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1185
|
+
placeSponsorshipBidIntent(params: PlaceSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1186
|
+
retractSponsorshipBidIntent(params: RetractSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1187
|
+
acceptSponsorshipBidIntent(params: AcceptSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1188
|
+
createSponsorshipProposalIntent(params: CreateSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1189
|
+
withdrawSponsorshipProposalIntent(params: WithdrawSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1190
|
+
acceptSponsorshipProposalIntent(params: AcceptSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1191
|
+
rejectSponsorshipProposalIntent(params: RejectSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1115
1192
|
/**
|
|
1116
1193
|
* Create a counter-offer intent. The seller proposes a new price in response
|
|
1117
1194
|
* to a buyer's active bid. clerkToken is optional — the endpoint authenticates
|
|
@@ -1461,4 +1538,4 @@ interface ProposeSponsorshipParams {
|
|
|
1461
1538
|
royaltyBps: bigint | string;
|
|
1462
1539
|
}
|
|
1463
1540
|
|
|
1464
|
-
export { type
|
|
1541
|
+
export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PopEventType as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type EnforcementDeclaration as aA, type FactoryFamilyServiceId as aB, type FeeConfig as aC, FeeConfigSchema as aD, type FulfillOrderIntentParams as aE, type IPType as aF, type IntentCall as aG, type IntentStatus as aH, type IntentType as aI, type IpAttribute as aJ, type IpNftMetadata as aK, type MakeOfferIntentParams as aL, MedialaneApiError as aM, type MedialaneConfig as aN, type MedialaneErrorCode as aO, type MintMembershipsParams as aP, type MintTicketsParams as aQ, OPEN_LICENSES as aR, type OfferItem as aS, type OpenLicense as aT, type Order as aU, type OrderDetails as aV, type OrderParameters as aW, type OrderStatus as aX, type PlaceSponsorshipBidIntentParams as aY, type PopBatchEligibilityItem as aZ, type PopClaimStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionSort as af, type CollectionTokensSort as ag, type ConfirmRemixOfferParams as ah, type ConfirmSelfRemixParams as ai, type ConsiderationItem as aj, type CreateCheckoutIntentParams as ak, type CreateCollectionIntentParams as al, type CreateCounterOfferIntentParams as am, type CreateDropParams as an, type CreateListingIntentParams as ao, type CreateMembershipParams as ap, type CreateMintIntentParams as aq, type CreatePopCollectionParams as ar, type CreateRemixOfferParams as as, type CreateSponsorshipOfferIntentParams as at, type CreateSponsorshipOfferParams as au, type CreateSponsorshipProposalIntentParams as av, type CreateTicketParams as aw, type CreateTierIntentParams as ax, type CreateWebhookParams as ay, type DropMintStatus as az, type AcceptSponsorshipProposalIntentParams as b, type ProposeSponsorshipParams as b0, type RejectSponsorshipProposalIntentParams as b1, type RemixOfferStatus as b2, type ResolvedConfig as b3, type ResolvedFeeConfig as b4, type RetractSponsorshipBidIntentParams as b5, type RetryOptions as b6, type ServiceEventDeclaration as b7, type SetSponsorshipOfferOpenIntentParams as b8, type SortOrder as b9, type TenantPlan as ba, type TierServiceId as bb, type TxResult as bc, type WebhookEventType as bd, type WebhookStatus as be, type WithdrawSponsorshipProposalIntentParams as bf, resolveConfig as bg, resolveFeeConfig as bh, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
|
|
@@ -704,6 +704,74 @@ interface CreateTierIntentParams {
|
|
|
704
704
|
royaltyBps: number;
|
|
705
705
|
metadataUri: string;
|
|
706
706
|
}
|
|
707
|
+
interface CreateSponsorshipOfferIntentParams {
|
|
708
|
+
/** The offer author — must currently own (nftContract, tokenId) on-chain. */
|
|
709
|
+
author: string;
|
|
710
|
+
nftContract: string;
|
|
711
|
+
tokenId: string;
|
|
712
|
+
minAmount: string;
|
|
713
|
+
/** Seconds, applied from acceptance (not from offer creation). */
|
|
714
|
+
duration: number;
|
|
715
|
+
paymentToken: string;
|
|
716
|
+
licenseTermsUri: string;
|
|
717
|
+
transferable: boolean;
|
|
718
|
+
/** Basis points, 0–10000. EIP-2981 royalty to the author on license resale. */
|
|
719
|
+
royaltyBps: number;
|
|
720
|
+
/** Restricts acceptance to one sponsor address; omit for open bidding. */
|
|
721
|
+
specificSponsor?: string;
|
|
722
|
+
}
|
|
723
|
+
interface SetSponsorshipOfferOpenIntentParams {
|
|
724
|
+
/** Must be the offer's author. */
|
|
725
|
+
author: string;
|
|
726
|
+
offerId: string;
|
|
727
|
+
open: boolean;
|
|
728
|
+
}
|
|
729
|
+
interface PlaceSponsorshipBidIntentParams {
|
|
730
|
+
/** The sponsor placing the bid — becomes the ERC-20 approve + place_bid caller. */
|
|
731
|
+
sponsor: string;
|
|
732
|
+
offerId: string;
|
|
733
|
+
amount: string;
|
|
734
|
+
paymentToken: string;
|
|
735
|
+
}
|
|
736
|
+
interface RetractSponsorshipBidIntentParams {
|
|
737
|
+
sponsor: string;
|
|
738
|
+
offerId: string;
|
|
739
|
+
}
|
|
740
|
+
interface AcceptSponsorshipBidIntentParams {
|
|
741
|
+
/** Must be the offer's author — re-verified on-chain. */
|
|
742
|
+
author: string;
|
|
743
|
+
offerId: string;
|
|
744
|
+
/** The bidder whose bid is being accepted. */
|
|
745
|
+
sponsor: string;
|
|
746
|
+
}
|
|
747
|
+
interface CreateSponsorshipProposalIntentParams {
|
|
748
|
+
/** The sponsor proposing terms — pays if accepted. */
|
|
749
|
+
proposer: string;
|
|
750
|
+
nftContract: string;
|
|
751
|
+
tokenId: string;
|
|
752
|
+
/** Fixed take-it-or-leave-it amount (not a bid floor). */
|
|
753
|
+
amount: string;
|
|
754
|
+
duration: number;
|
|
755
|
+
/** Unix seconds; the deadline for the asset owner to accept. Omit/0 = no deadline. */
|
|
756
|
+
validUntil?: number;
|
|
757
|
+
paymentToken: string;
|
|
758
|
+
licenseTermsUri: string;
|
|
759
|
+
transferable: boolean;
|
|
760
|
+
royaltyBps: number;
|
|
761
|
+
}
|
|
762
|
+
interface WithdrawSponsorshipProposalIntentParams {
|
|
763
|
+
proposer: string;
|
|
764
|
+
proposalId: string;
|
|
765
|
+
}
|
|
766
|
+
interface AcceptSponsorshipProposalIntentParams {
|
|
767
|
+
/** Must currently own the asset — re-verified on-chain (binds to the asset, not a person). */
|
|
768
|
+
owner: string;
|
|
769
|
+
proposalId: string;
|
|
770
|
+
}
|
|
771
|
+
interface RejectSponsorshipProposalIntentParams {
|
|
772
|
+
owner: string;
|
|
773
|
+
proposalId: string;
|
|
774
|
+
}
|
|
707
775
|
interface CreateCounterOfferIntentParams {
|
|
708
776
|
/** Wallet address of the NFT owner making the counter-offer. */
|
|
709
777
|
sellerAddress: string;
|
|
@@ -1112,6 +1180,15 @@ declare class ApiClient {
|
|
|
1112
1180
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1113
1181
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1114
1182
|
createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1183
|
+
createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1184
|
+
setSponsorshipOfferOpenIntent(params: SetSponsorshipOfferOpenIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1185
|
+
placeSponsorshipBidIntent(params: PlaceSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1186
|
+
retractSponsorshipBidIntent(params: RetractSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1187
|
+
acceptSponsorshipBidIntent(params: AcceptSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1188
|
+
createSponsorshipProposalIntent(params: CreateSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1189
|
+
withdrawSponsorshipProposalIntent(params: WithdrawSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1190
|
+
acceptSponsorshipProposalIntent(params: AcceptSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1191
|
+
rejectSponsorshipProposalIntent(params: RejectSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1115
1192
|
/**
|
|
1116
1193
|
* Create a counter-offer intent. The seller proposes a new price in response
|
|
1117
1194
|
* to a buyer's active bid. clerkToken is optional — the endpoint authenticates
|
|
@@ -1461,4 +1538,4 @@ interface ProposeSponsorshipParams {
|
|
|
1461
1538
|
royaltyBps: bigint | string;
|
|
1462
1539
|
}
|
|
1463
1540
|
|
|
1464
|
-
export { type
|
|
1541
|
+
export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PopEventType as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type EnforcementDeclaration as aA, type FactoryFamilyServiceId as aB, type FeeConfig as aC, FeeConfigSchema as aD, type FulfillOrderIntentParams as aE, type IPType as aF, type IntentCall as aG, type IntentStatus as aH, type IntentType as aI, type IpAttribute as aJ, type IpNftMetadata as aK, type MakeOfferIntentParams as aL, MedialaneApiError as aM, type MedialaneConfig as aN, type MedialaneErrorCode as aO, type MintMembershipsParams as aP, type MintTicketsParams as aQ, OPEN_LICENSES as aR, type OfferItem as aS, type OpenLicense as aT, type Order as aU, type OrderDetails as aV, type OrderParameters as aW, type OrderStatus as aX, type PlaceSponsorshipBidIntentParams as aY, type PopBatchEligibilityItem as aZ, type PopClaimStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionSort as af, type CollectionTokensSort as ag, type ConfirmRemixOfferParams as ah, type ConfirmSelfRemixParams as ai, type ConsiderationItem as aj, type CreateCheckoutIntentParams as ak, type CreateCollectionIntentParams as al, type CreateCounterOfferIntentParams as am, type CreateDropParams as an, type CreateListingIntentParams as ao, type CreateMembershipParams as ap, type CreateMintIntentParams as aq, type CreatePopCollectionParams as ar, type CreateRemixOfferParams as as, type CreateSponsorshipOfferIntentParams as at, type CreateSponsorshipOfferParams as au, type CreateSponsorshipProposalIntentParams as av, type CreateTicketParams as aw, type CreateTierIntentParams as ax, type CreateWebhookParams as ay, type DropMintStatus as az, type AcceptSponsorshipProposalIntentParams as b, type ProposeSponsorshipParams as b0, type RejectSponsorshipProposalIntentParams as b1, type RemixOfferStatus as b2, type ResolvedConfig as b3, type ResolvedFeeConfig as b4, type RetractSponsorshipBidIntentParams as b5, type RetryOptions as b6, type ServiceEventDeclaration as b7, type SetSponsorshipOfferOpenIntentParams as b8, type SortOrder as b9, type TenantPlan as ba, type TierServiceId as bb, type TxResult as bc, type WebhookEventType as bd, type WebhookStatus as be, type WithdrawSponsorshipProposalIntentParams as bf, resolveConfig as bg, resolveFeeConfig as bh, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
|
package/dist/starknet/index.cjs
CHANGED
|
@@ -457,6 +457,33 @@ var ApiClient = class {
|
|
|
457
457
|
createTierIntent(params) {
|
|
458
458
|
return this.post("/v1/intents/create-tier", params);
|
|
459
459
|
}
|
|
460
|
+
createSponsorshipOfferIntent(params) {
|
|
461
|
+
return this.post("/v1/intents/sponsorship-offer", params);
|
|
462
|
+
}
|
|
463
|
+
setSponsorshipOfferOpenIntent(params) {
|
|
464
|
+
return this.post("/v1/intents/sponsorship-offer-open", params);
|
|
465
|
+
}
|
|
466
|
+
placeSponsorshipBidIntent(params) {
|
|
467
|
+
return this.post("/v1/intents/sponsorship-bid", params);
|
|
468
|
+
}
|
|
469
|
+
retractSponsorshipBidIntent(params) {
|
|
470
|
+
return this.post("/v1/intents/sponsorship-bid-retract", params);
|
|
471
|
+
}
|
|
472
|
+
acceptSponsorshipBidIntent(params) {
|
|
473
|
+
return this.post("/v1/intents/sponsorship-bid-accept", params);
|
|
474
|
+
}
|
|
475
|
+
createSponsorshipProposalIntent(params) {
|
|
476
|
+
return this.post("/v1/intents/sponsorship-proposal", params);
|
|
477
|
+
}
|
|
478
|
+
withdrawSponsorshipProposalIntent(params) {
|
|
479
|
+
return this.post("/v1/intents/sponsorship-proposal-withdraw", params);
|
|
480
|
+
}
|
|
481
|
+
acceptSponsorshipProposalIntent(params) {
|
|
482
|
+
return this.post("/v1/intents/sponsorship-proposal-accept", params);
|
|
483
|
+
}
|
|
484
|
+
rejectSponsorshipProposalIntent(params) {
|
|
485
|
+
return this.post("/v1/intents/sponsorship-proposal-reject", params);
|
|
486
|
+
}
|
|
460
487
|
/**
|
|
461
488
|
* Create a counter-offer intent. The seller proposes a new price in response
|
|
462
489
|
* to a buyer's active bid. clerkToken is optional — the endpoint authenticates
|