@medialane/sdk 0.179.0 → 0.181.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.
@@ -1543,6 +1543,23 @@ declare function dropMintState(input: {
1543
1543
  /** One claim link per allowlisted address: the drop page with the proof in its fragment. */
1544
1544
  declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
1545
1545
 
1546
+ type ApiKeyAction = "replace_api_key" | "delete_api_key";
1547
+ interface ApiKeyConfirmationInput {
1548
+ action: ApiKeyAction;
1549
+ /** For `delete_api_key`, the key's id; for `replace_api_key`, the current key's id, or `none`. */
1550
+ key: string;
1551
+ /** The account's public id. */
1552
+ account: string;
1553
+ /** Unix seconds. */
1554
+ expiresAt: number;
1555
+ }
1556
+ /** What the account's wallet signs to approve one API key change. */
1557
+ interface ApiKeyConfirmation {
1558
+ expiresAt: number;
1559
+ signature: string[];
1560
+ }
1561
+ declare function apiKeyConfirmationTypedData(input: ApiKeyConfirmationInput): TypedData;
1562
+
1546
1563
  declare class MedialaneApiError extends Error {
1547
1564
  readonly status: number;
1548
1565
  readonly retryAfterMs?: number | undefined;
@@ -1562,7 +1579,6 @@ declare class ApiClient {
1562
1579
  private post;
1563
1580
  private patch;
1564
1581
  private bearer;
1565
- private asSubject;
1566
1582
  getOrders(query?: ApiOrdersQuery): Promise<ApiResponse<ApiOrder[]>>;
1567
1583
  getOrder(orderHash: string): Promise<ApiResponse<ApiOrder>>;
1568
1584
  getActiveOrdersForToken(contract: string, tokenId: string): Promise<ApiResponse<ApiOrder[]>>;
@@ -1637,36 +1653,38 @@ declare class ApiClient {
1637
1653
  }>;
1638
1654
  resolveMetadata(uri: string): Promise<ApiResponse<unknown>>;
1639
1655
  uploadFile(file: File): Promise<ApiResponse<ApiMetadataUpload>>;
1640
- getMe(siwsToken?: string): Promise<ApiResponse<ApiPortalMe>>;
1641
- getApiKeys(siwsToken?: string): Promise<ApiResponse<ApiPortalKey[]>>;
1642
- createApiKey(input?: {
1656
+ getMe(): Promise<ApiResponse<ApiPortalMe>>;
1657
+ getApiKeys(): Promise<ApiResponse<ApiPortalKey[]>>;
1658
+ /** `confirmation`: the account's wallet signature over `apiKeyConfirmationTypedData` for this change. */
1659
+ createApiKey(input: {
1643
1660
  label?: string;
1644
- }, siwsToken?: string): Promise<ApiResponse<ApiPortalKeyCreated>>;
1645
- deleteApiKey(id: string, siwsToken?: string): Promise<ApiResponse<{
1661
+ } | undefined, confirmation: ApiKeyConfirmation): Promise<ApiResponse<ApiPortalKeyCreated>>;
1662
+ /** `confirmation`: the account's wallet signature over `apiKeyConfirmationTypedData` for this change. */
1663
+ deleteApiKey(id: string, confirmation: ApiKeyConfirmation): Promise<ApiResponse<{
1646
1664
  id: string;
1647
1665
  }>>;
1648
- getCreditHistory(siwsToken?: string): Promise<ApiResponse<ApiCreditPayment[]>>;
1649
- getSpend(siwsToken?: string): Promise<ApiResponse<ApiPortalSpend>>;
1650
- checkDeposit(txHash: string, siwsToken?: string): Promise<ApiResponse<{
1666
+ getCreditHistory(): Promise<ApiResponse<ApiCreditPayment[]>>;
1667
+ getSpend(): Promise<ApiResponse<ApiPortalSpend>>;
1668
+ checkDeposit(txHash: string): Promise<ApiResponse<{
1651
1669
  deposits: number;
1652
1670
  }>>;
1653
- getFundingMethods(siwsToken?: string): Promise<ApiResponse<ApiFundingMethod[]>>;
1671
+ getFundingMethods(): Promise<ApiResponse<ApiFundingMethod[]>>;
1654
1672
  createFunding(input: {
1655
1673
  method: string;
1656
1674
  params: Record<string, unknown>;
1657
- }, siwsToken?: string): Promise<ApiResponse<ApiFundingIntent>>;
1658
- getFunding(id: string, siwsToken?: string): Promise<ApiResponse<ApiFundingIntent>>;
1659
- getFundingChallenge(id: string, payer: string, siwsToken?: string): Promise<ApiResponse<{
1675
+ }): Promise<ApiResponse<ApiFundingIntent>>;
1676
+ getFunding(id: string): Promise<ApiResponse<ApiFundingIntent>>;
1677
+ getFundingChallenge(id: string, payer: string): Promise<ApiResponse<{
1660
1678
  typedData: unknown;
1661
1679
  }>>;
1662
1680
  authorizeFunding(id: string, input: {
1663
1681
  payer: string;
1664
1682
  signature: string[];
1665
- }, siwsToken?: string): Promise<ApiResponse<{
1683
+ }): Promise<ApiResponse<{
1666
1684
  instructions: ApiFundingInstructions;
1667
1685
  }>>;
1668
- submitFunding(id: string, txHash: string, siwsToken?: string): Promise<ApiResponse<ApiFundingSubmit>>;
1669
- cancelFunding(id: string, siwsToken?: string): Promise<ApiResponse<{
1686
+ submitFunding(id: string, txHash: string): Promise<ApiResponse<ApiFundingSubmit>>;
1687
+ cancelFunding(id: string): Promise<ApiResponse<{
1670
1688
  status: string;
1671
1689
  }>>;
1672
1690
  claimCollection(contractAddress: string, walletAddress: string, siwsToken?: string): Promise<{
@@ -1993,4 +2011,4 @@ declare class UserFacingError extends Error {
1993
2011
  constructor(message: string);
1994
2012
  }
1995
2013
 
1996
- export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiSwapQuote as ax, type ApiSwapQuoteRequest as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TxResult as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, MedialaneApiError as bA, type MedialaneConfig as bB, type MedialaneErrorCode as bC, type MintMembershipsParams as bD, type MintTicketsParams as bE, OPEN_LICENSES as bF, type OfferItem as bG, type OpenLicense as bH, type Order as bI, type OrderDetails as bJ, type OrderParameters as bK, type OrderStatus as bL, PasskeyCancelledError as bM, PasskeyUnsupportedError as bN, type PasskeyUnsupportedReason as bO, type PlaceSponsorshipBidIntentParams as bP, type PopManageAction as bQ, type ProposeSponsorshipParams as bR, type RejectSponsorshipProposalIntentParams as bS, type RemixOfferStatus as bT, type ResolvedConfig as bU, type RetractSponsorshipBidIntentParams as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SetSponsorshipOfferOpenIntentParams as bY, type SortOrder as bZ, type TierServiceId as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropTerms as bk, type DropTermsBody as bl, type EmissionParams as bm, type EnforcementDeclaration as bn, type FactoryFamilyServiceId as bo, type FeeConfig as bp, FeeConfigSchema as bq, type FulfillOrderIntentParams as br, type IPType as bs, type IntentCall as bt, type IntentStatus as bu, type IntentType as bv, type IpAttribute as bw, type IpNftMetadata as bx, type LaunchCoinIntentParams as by, type MakeOfferIntentParams as bz, type ActivityType as c, type UpdateCollectionProfileInput as c0, UserFacingError as c1, type WalletManageAction as c2, type WithdrawSponsorshipProposalIntentParams as c3, resolveConfig as c4, resolveFeeConfig as c5, CreatorCoinService as c6, type SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, decodePopClaimFragment as cA, dropClaimLinks as cB, dropClaimedBy as cC, dropMintState as cD, encodePopClaimFragment as cE, encodeRecoveryKey as cF, getCreatorCoinGuarantees as cG, parseCreatorCoinCreated as cH, parseRecoveryKey as cI, popCalls as cJ, popClaimInfo as cK, popClaimLinks as cL, popClaimLinksCsv as cM, popClaimState as cN, priceToEkuboParams as cO, readDrop as cP, validatePrice as cQ, verifyPopProof as cR, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, type CreateCreatorCoinParams as cd, type CreatorCoinGuarantees as ce, type CreatorCoinReceiptLike as cf, type DropMintState as cg, type DropMintStateKind as ch, type DropOnchain as ci, type EkuboLaunchParams as cj, type EkuboPoolParams as ck, InvalidRecoveryKeyError as cl, MAX_HOLDERS_AT_LAUNCH as cm, MAX_TEAM_ALLOCATION_PERCENT as cn, type OwnerSigner as co, type PasskeyConfig as cp, type PopAllowlist as cq, type PopClaimInfo as cr, type PopClaimLink as cs, type PopClaimState as ct, type RecoveryKey as cu, VALIDATED_EKUBO_PARAMS as cv, buildCreateCreatorCoinCall as cw, buildLaunchOnEkuboCalls as cx, buildPopAllowlist as cy, createPasskeyOwner as cz, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
2014
+ export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiSwapQuote as ax, type ApiSwapQuoteRequest as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TxResult as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, MedialaneApiError as bA, type MedialaneConfig as bB, type MedialaneErrorCode as bC, type MintMembershipsParams as bD, type MintTicketsParams as bE, OPEN_LICENSES as bF, type OfferItem as bG, type OpenLicense as bH, type Order as bI, type OrderDetails as bJ, type OrderParameters as bK, type OrderStatus as bL, PasskeyCancelledError as bM, PasskeyUnsupportedError as bN, type PasskeyUnsupportedReason as bO, type PlaceSponsorshipBidIntentParams as bP, type PopManageAction as bQ, type ProposeSponsorshipParams as bR, type RejectSponsorshipProposalIntentParams as bS, type RemixOfferStatus as bT, type ResolvedConfig as bU, type RetractSponsorshipBidIntentParams as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SetSponsorshipOfferOpenIntentParams as bY, type SortOrder as bZ, type TierServiceId as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropTerms as bk, type DropTermsBody as bl, type EmissionParams as bm, type EnforcementDeclaration as bn, type FactoryFamilyServiceId as bo, type FeeConfig as bp, FeeConfigSchema as bq, type FulfillOrderIntentParams as br, type IPType as bs, type IntentCall as bt, type IntentStatus as bu, type IntentType as bv, type IpAttribute as bw, type IpNftMetadata as bx, type LaunchCoinIntentParams as by, type MakeOfferIntentParams as bz, type ActivityType as c, type UpdateCollectionProfileInput as c0, UserFacingError as c1, type WalletManageAction as c2, type WithdrawSponsorshipProposalIntentParams as c3, resolveConfig as c4, resolveFeeConfig as c5, CreatorCoinService as c6, type SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, buildCreateCreatorCoinCall as cA, buildLaunchOnEkuboCalls as cB, buildPopAllowlist as cC, createPasskeyOwner as cD, decodePopClaimFragment as cE, dropClaimLinks as cF, dropClaimedBy as cG, dropMintState as cH, encodePopClaimFragment as cI, encodeRecoveryKey as cJ, getCreatorCoinGuarantees as cK, parseCreatorCoinCreated as cL, parseRecoveryKey as cM, popCalls as cN, popClaimInfo as cO, popClaimLinks as cP, popClaimLinksCsv as cQ, popClaimState as cR, priceToEkuboParams as cS, readDrop as cT, validatePrice as cU, verifyPopProof as cV, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, type ApiKeyAction as cd, type ApiKeyConfirmation as ce, type ApiKeyConfirmationInput as cf, type CreateCreatorCoinParams as cg, type CreatorCoinGuarantees as ch, type CreatorCoinReceiptLike as ci, type DropMintState as cj, type DropMintStateKind as ck, type DropOnchain as cl, type EkuboLaunchParams as cm, type EkuboPoolParams as cn, InvalidRecoveryKeyError as co, MAX_HOLDERS_AT_LAUNCH as cp, MAX_TEAM_ALLOCATION_PERCENT as cq, type OwnerSigner as cr, type PasskeyConfig as cs, type PopAllowlist as ct, type PopClaimInfo as cu, type PopClaimLink as cv, type PopClaimState as cw, type RecoveryKey as cx, VALIDATED_EKUBO_PARAMS as cy, apiKeyConfirmationTypedData as cz, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
@@ -1543,6 +1543,23 @@ declare function dropMintState(input: {
1543
1543
  /** One claim link per allowlisted address: the drop page with the proof in its fragment. */
1544
1544
  declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
1545
1545
 
1546
+ type ApiKeyAction = "replace_api_key" | "delete_api_key";
1547
+ interface ApiKeyConfirmationInput {
1548
+ action: ApiKeyAction;
1549
+ /** For `delete_api_key`, the key's id; for `replace_api_key`, the current key's id, or `none`. */
1550
+ key: string;
1551
+ /** The account's public id. */
1552
+ account: string;
1553
+ /** Unix seconds. */
1554
+ expiresAt: number;
1555
+ }
1556
+ /** What the account's wallet signs to approve one API key change. */
1557
+ interface ApiKeyConfirmation {
1558
+ expiresAt: number;
1559
+ signature: string[];
1560
+ }
1561
+ declare function apiKeyConfirmationTypedData(input: ApiKeyConfirmationInput): TypedData;
1562
+
1546
1563
  declare class MedialaneApiError extends Error {
1547
1564
  readonly status: number;
1548
1565
  readonly retryAfterMs?: number | undefined;
@@ -1562,7 +1579,6 @@ declare class ApiClient {
1562
1579
  private post;
1563
1580
  private patch;
1564
1581
  private bearer;
1565
- private asSubject;
1566
1582
  getOrders(query?: ApiOrdersQuery): Promise<ApiResponse<ApiOrder[]>>;
1567
1583
  getOrder(orderHash: string): Promise<ApiResponse<ApiOrder>>;
1568
1584
  getActiveOrdersForToken(contract: string, tokenId: string): Promise<ApiResponse<ApiOrder[]>>;
@@ -1637,36 +1653,38 @@ declare class ApiClient {
1637
1653
  }>;
1638
1654
  resolveMetadata(uri: string): Promise<ApiResponse<unknown>>;
1639
1655
  uploadFile(file: File): Promise<ApiResponse<ApiMetadataUpload>>;
1640
- getMe(siwsToken?: string): Promise<ApiResponse<ApiPortalMe>>;
1641
- getApiKeys(siwsToken?: string): Promise<ApiResponse<ApiPortalKey[]>>;
1642
- createApiKey(input?: {
1656
+ getMe(): Promise<ApiResponse<ApiPortalMe>>;
1657
+ getApiKeys(): Promise<ApiResponse<ApiPortalKey[]>>;
1658
+ /** `confirmation`: the account's wallet signature over `apiKeyConfirmationTypedData` for this change. */
1659
+ createApiKey(input: {
1643
1660
  label?: string;
1644
- }, siwsToken?: string): Promise<ApiResponse<ApiPortalKeyCreated>>;
1645
- deleteApiKey(id: string, siwsToken?: string): Promise<ApiResponse<{
1661
+ } | undefined, confirmation: ApiKeyConfirmation): Promise<ApiResponse<ApiPortalKeyCreated>>;
1662
+ /** `confirmation`: the account's wallet signature over `apiKeyConfirmationTypedData` for this change. */
1663
+ deleteApiKey(id: string, confirmation: ApiKeyConfirmation): Promise<ApiResponse<{
1646
1664
  id: string;
1647
1665
  }>>;
1648
- getCreditHistory(siwsToken?: string): Promise<ApiResponse<ApiCreditPayment[]>>;
1649
- getSpend(siwsToken?: string): Promise<ApiResponse<ApiPortalSpend>>;
1650
- checkDeposit(txHash: string, siwsToken?: string): Promise<ApiResponse<{
1666
+ getCreditHistory(): Promise<ApiResponse<ApiCreditPayment[]>>;
1667
+ getSpend(): Promise<ApiResponse<ApiPortalSpend>>;
1668
+ checkDeposit(txHash: string): Promise<ApiResponse<{
1651
1669
  deposits: number;
1652
1670
  }>>;
1653
- getFundingMethods(siwsToken?: string): Promise<ApiResponse<ApiFundingMethod[]>>;
1671
+ getFundingMethods(): Promise<ApiResponse<ApiFundingMethod[]>>;
1654
1672
  createFunding(input: {
1655
1673
  method: string;
1656
1674
  params: Record<string, unknown>;
1657
- }, siwsToken?: string): Promise<ApiResponse<ApiFundingIntent>>;
1658
- getFunding(id: string, siwsToken?: string): Promise<ApiResponse<ApiFundingIntent>>;
1659
- getFundingChallenge(id: string, payer: string, siwsToken?: string): Promise<ApiResponse<{
1675
+ }): Promise<ApiResponse<ApiFundingIntent>>;
1676
+ getFunding(id: string): Promise<ApiResponse<ApiFundingIntent>>;
1677
+ getFundingChallenge(id: string, payer: string): Promise<ApiResponse<{
1660
1678
  typedData: unknown;
1661
1679
  }>>;
1662
1680
  authorizeFunding(id: string, input: {
1663
1681
  payer: string;
1664
1682
  signature: string[];
1665
- }, siwsToken?: string): Promise<ApiResponse<{
1683
+ }): Promise<ApiResponse<{
1666
1684
  instructions: ApiFundingInstructions;
1667
1685
  }>>;
1668
- submitFunding(id: string, txHash: string, siwsToken?: string): Promise<ApiResponse<ApiFundingSubmit>>;
1669
- cancelFunding(id: string, siwsToken?: string): Promise<ApiResponse<{
1686
+ submitFunding(id: string, txHash: string): Promise<ApiResponse<ApiFundingSubmit>>;
1687
+ cancelFunding(id: string): Promise<ApiResponse<{
1670
1688
  status: string;
1671
1689
  }>>;
1672
1690
  claimCollection(contractAddress: string, walletAddress: string, siwsToken?: string): Promise<{
@@ -1993,4 +2011,4 @@ declare class UserFacingError extends Error {
1993
2011
  constructor(message: string);
1994
2012
  }
1995
2013
 
1996
- export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiSwapQuote as ax, type ApiSwapQuoteRequest as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TxResult as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, MedialaneApiError as bA, type MedialaneConfig as bB, type MedialaneErrorCode as bC, type MintMembershipsParams as bD, type MintTicketsParams as bE, OPEN_LICENSES as bF, type OfferItem as bG, type OpenLicense as bH, type Order as bI, type OrderDetails as bJ, type OrderParameters as bK, type OrderStatus as bL, PasskeyCancelledError as bM, PasskeyUnsupportedError as bN, type PasskeyUnsupportedReason as bO, type PlaceSponsorshipBidIntentParams as bP, type PopManageAction as bQ, type ProposeSponsorshipParams as bR, type RejectSponsorshipProposalIntentParams as bS, type RemixOfferStatus as bT, type ResolvedConfig as bU, type RetractSponsorshipBidIntentParams as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SetSponsorshipOfferOpenIntentParams as bY, type SortOrder as bZ, type TierServiceId as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropTerms as bk, type DropTermsBody as bl, type EmissionParams as bm, type EnforcementDeclaration as bn, type FactoryFamilyServiceId as bo, type FeeConfig as bp, FeeConfigSchema as bq, type FulfillOrderIntentParams as br, type IPType as bs, type IntentCall as bt, type IntentStatus as bu, type IntentType as bv, type IpAttribute as bw, type IpNftMetadata as bx, type LaunchCoinIntentParams as by, type MakeOfferIntentParams as bz, type ActivityType as c, type UpdateCollectionProfileInput as c0, UserFacingError as c1, type WalletManageAction as c2, type WithdrawSponsorshipProposalIntentParams as c3, resolveConfig as c4, resolveFeeConfig as c5, CreatorCoinService as c6, type SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, decodePopClaimFragment as cA, dropClaimLinks as cB, dropClaimedBy as cC, dropMintState as cD, encodePopClaimFragment as cE, encodeRecoveryKey as cF, getCreatorCoinGuarantees as cG, parseCreatorCoinCreated as cH, parseRecoveryKey as cI, popCalls as cJ, popClaimInfo as cK, popClaimLinks as cL, popClaimLinksCsv as cM, popClaimState as cN, priceToEkuboParams as cO, readDrop as cP, validatePrice as cQ, verifyPopProof as cR, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, type CreateCreatorCoinParams as cd, type CreatorCoinGuarantees as ce, type CreatorCoinReceiptLike as cf, type DropMintState as cg, type DropMintStateKind as ch, type DropOnchain as ci, type EkuboLaunchParams as cj, type EkuboPoolParams as ck, InvalidRecoveryKeyError as cl, MAX_HOLDERS_AT_LAUNCH as cm, MAX_TEAM_ALLOCATION_PERCENT as cn, type OwnerSigner as co, type PasskeyConfig as cp, type PopAllowlist as cq, type PopClaimInfo as cr, type PopClaimLink as cs, type PopClaimState as ct, type RecoveryKey as cu, VALIDATED_EKUBO_PARAMS as cv, buildCreateCreatorCoinCall as cw, buildLaunchOnEkuboCalls as cx, buildPopAllowlist as cy, createPasskeyOwner as cz, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
2014
+ export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiSwapQuote as ax, type ApiSwapQuoteRequest as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TxResult as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, MedialaneApiError as bA, type MedialaneConfig as bB, type MedialaneErrorCode as bC, type MintMembershipsParams as bD, type MintTicketsParams as bE, OPEN_LICENSES as bF, type OfferItem as bG, type OpenLicense as bH, type Order as bI, type OrderDetails as bJ, type OrderParameters as bK, type OrderStatus as bL, PasskeyCancelledError as bM, PasskeyUnsupportedError as bN, type PasskeyUnsupportedReason as bO, type PlaceSponsorshipBidIntentParams as bP, type PopManageAction as bQ, type ProposeSponsorshipParams as bR, type RejectSponsorshipProposalIntentParams as bS, type RemixOfferStatus as bT, type ResolvedConfig as bU, type RetractSponsorshipBidIntentParams as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SetSponsorshipOfferOpenIntentParams as bY, type SortOrder as bZ, type TierServiceId as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropTerms as bk, type DropTermsBody as bl, type EmissionParams as bm, type EnforcementDeclaration as bn, type FactoryFamilyServiceId as bo, type FeeConfig as bp, FeeConfigSchema as bq, type FulfillOrderIntentParams as br, type IPType as bs, type IntentCall as bt, type IntentStatus as bu, type IntentType as bv, type IpAttribute as bw, type IpNftMetadata as bx, type LaunchCoinIntentParams as by, type MakeOfferIntentParams as bz, type ActivityType as c, type UpdateCollectionProfileInput as c0, UserFacingError as c1, type WalletManageAction as c2, type WithdrawSponsorshipProposalIntentParams as c3, resolveConfig as c4, resolveFeeConfig as c5, CreatorCoinService as c6, type SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, buildCreateCreatorCoinCall as cA, buildLaunchOnEkuboCalls as cB, buildPopAllowlist as cC, createPasskeyOwner as cD, decodePopClaimFragment as cE, dropClaimLinks as cF, dropClaimedBy as cG, dropMintState as cH, encodePopClaimFragment as cI, encodeRecoveryKey as cJ, getCreatorCoinGuarantees as cK, parseCreatorCoinCreated as cL, parseRecoveryKey as cM, popCalls as cN, popClaimInfo as cO, popClaimLinks as cP, popClaimLinksCsv as cQ, popClaimState as cR, priceToEkuboParams as cS, readDrop as cT, validatePrice as cU, verifyPopProof as cV, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, type ApiKeyAction as cd, type ApiKeyConfirmation as ce, type ApiKeyConfirmationInput as cf, type CreateCreatorCoinParams as cg, type CreatorCoinGuarantees as ch, type CreatorCoinReceiptLike as ci, type DropMintState as cj, type DropMintStateKind as ck, type DropOnchain as cl, type EkuboLaunchParams as cm, type EkuboPoolParams as cn, InvalidRecoveryKeyError as co, MAX_HOLDERS_AT_LAUNCH as cp, MAX_TEAM_ALLOCATION_PERCENT as cq, type OwnerSigner as cr, type PasskeyConfig as cs, type PopAllowlist as ct, type PopClaimInfo as cu, type PopClaimLink as cv, type PopClaimState as cw, type RecoveryKey as cx, VALIDATED_EKUBO_PARAMS as cy, apiKeyConfirmationTypedData as cz, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };