gondi 0.26.2 → 0.26.3

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.
@@ -11,7 +11,7 @@ export declare const apiDomain: () => string;
11
11
  export declare class Api {
12
12
  api: ReturnType<typeof getSdkApollo>;
13
13
  getSaleCalldata: (variables: import("../../generated/graphql").Exact<{
14
- orderId: import("../../generated/graphql").Scalars["Int"];
14
+ orderId: import("../../generated/graphql").Scalars["Int64"];
15
15
  nftId: import("../../generated/graphql").Scalars["Int"];
16
16
  taker: import("../../generated/graphql").Scalars["Address"];
17
17
  }>, options?: {} | undefined) => Promise<import("../../generated/graphql").GetSaleCalldataQuery>;
@@ -76,10 +76,10 @@ export declare class Api {
76
76
  contractAddress: import("../../generated/graphql").Scalars["Address"];
77
77
  }>, options?: {} | undefined) => Promise<import("../../generated/graphql").UnhideRenegotiationOfferMutation>;
78
78
  hideOrder: (variables: import("../../generated/graphql").Exact<{
79
- id: import("../../generated/graphql").Scalars["Int"];
79
+ id: import("../../generated/graphql").Scalars["Int64"];
80
80
  }>, options?: {} | undefined) => Promise<import("../../generated/graphql").HideOrderMutation>;
81
81
  showOrder: (variables: import("../../generated/graphql").Exact<{
82
- id: import("../../generated/graphql").Scalars["Int"];
82
+ id: import("../../generated/graphql").Scalars["Int64"];
83
83
  }>, options?: {} | undefined) => Promise<import("../../generated/graphql").ShowOrderMutation>;
84
84
  collectionStepsById: (variables: import("../../generated/graphql").Exact<{
85
85
  collectionId: import("../../generated/graphql").Scalars["Int"];
@@ -28,7 +28,7 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>): {
28
28
  id: import("../../generated/graphql").Scalars["String"];
29
29
  }>, options?: {} | undefined): Promise<import("../../generated/graphql").UnhideOfferMutation>;
30
30
  hideOrder(variables: import("../../generated/graphql").Exact<{
31
- id: import("../../generated/graphql").Scalars["Int"];
31
+ id: import("../../generated/graphql").Scalars["Int64"];
32
32
  }>, options?: {} | undefined): Promise<import("../../generated/graphql").HideOrderMutation>;
33
33
  publishBuyNowPayLaterOrder(variables: import("../../generated/graphql").Exact<{
34
34
  orderInput: import("../../generated/graphql").BnplOrderInput;
@@ -46,7 +46,7 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>): {
46
46
  orderInput: import("../../generated/graphql").NftOrderInput;
47
47
  }>, options?: {} | undefined): Promise<import("../../generated/graphql").PublishSellAndRepayOrderMutation>;
48
48
  showOrder(variables: import("../../generated/graphql").Exact<{
49
- id: import("../../generated/graphql").Scalars["Int"];
49
+ id: import("../../generated/graphql").Scalars["Int64"];
50
50
  }>, options?: {} | undefined): Promise<import("../../generated/graphql").ShowOrderMutation>;
51
51
  generateRenegotiationOfferHash(variables: import("../../generated/graphql").Exact<{
52
52
  renegotiationInput: import("../../generated/graphql").RenegotiationOfferInput;
@@ -129,7 +129,7 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>): {
129
129
  after?: import("../../generated/graphql").InputMaybe<import("../../generated/graphql").Scalars["String"]>;
130
130
  }>, options?: {} | undefined): Promise<import("../../generated/graphql").ListOffersQuery>;
131
131
  getSaleCalldata(variables: import("../../generated/graphql").Exact<{
132
- orderId: import("../../generated/graphql").Scalars["Int"];
132
+ orderId: import("../../generated/graphql").Scalars["Int64"];
133
133
  nftId: import("../../generated/graphql").Scalars["Int"];
134
134
  taker: import("../../generated/graphql").Scalars["Address"];
135
135
  }>, options?: {} | undefined): Promise<import("../../generated/graphql").GetSaleCalldataQuery>;
@@ -62,7 +62,7 @@ export declare class Contracts {
62
62
  * @param mslContractAddress The contract address of the MSL contract
63
63
  * @returns The corresponding PurchaseBundler contract
64
64
  */
65
- PurchaseBundler(address: Address, mslContractAddress: Address): PurchaseBundlerV1 | PurchaseBundlerV2;
65
+ PurchaseBundler(address: Address | undefined, mslContractAddress: Address): PurchaseBundlerV1 | PurchaseBundlerV2;
66
66
  UserVault(address: Address): UserVaultV5 | UserVaultV6;
67
67
  Nft(address: Address, standard: NftStandard): BaseContract<Erc721Or1155ABI>;
68
68
  ERC721(address: Address): BaseContract<readonly [{
@@ -26,6 +26,7 @@ export type Scalars = {
26
26
  DateTime: Date;
27
27
  Hash: Hash;
28
28
  Hex: Hex;
29
+ Int64: any;
29
30
  JSON: object;
30
31
  Signature: Hex;
31
32
  Void: any;
@@ -1512,7 +1513,7 @@ export type MutationHideOfferArgs = {
1512
1513
  offerId: Scalars['String'];
1513
1514
  };
1514
1515
  export type MutationHideOrderArgs = {
1515
- orderId: Scalars['Int'];
1516
+ orderIdInt64?: InputMaybe<Scalars['Int64']>;
1516
1517
  };
1517
1518
  export type MutationHideRenegotiationArgs = {
1518
1519
  contractAddress?: InputMaybe<Scalars['Address']>;
@@ -1575,7 +1576,7 @@ export type MutationShowOfferArgs = {
1575
1576
  offerId: Scalars['String'];
1576
1577
  };
1577
1578
  export type MutationShowOrderArgs = {
1578
- orderId: Scalars['Int'];
1579
+ orderIdInt64?: InputMaybe<Scalars['Int64']>;
1579
1580
  };
1580
1581
  export type MutationShowRenegotiationArgs = {
1581
1582
  contractAddress?: InputMaybe<Scalars['Address']>;
@@ -1695,7 +1696,7 @@ export type NftPriceSample = Node & {
1695
1696
  currencyAddress: Scalars['Address'];
1696
1697
  id: Scalars['String'];
1697
1698
  order: Order;
1698
- orderId: Scalars['Int'];
1699
+ orderId: Scalars['Int64'];
1699
1700
  surveyedId: Scalars['Int'];
1700
1701
  taker: Scalars['Address'];
1701
1702
  timestamp: Scalars['Int'];
@@ -2302,13 +2303,13 @@ export type QueryGetNftBySlugAndTokenIdArgs = {
2302
2303
  /** Query for the lending module */
2303
2304
  export type QueryGetOrderCancelCalldataArgs = {
2304
2305
  model?: InputMaybe<OrderModel>;
2305
- orderId: Scalars['Int'];
2306
+ orderIdInt64?: InputMaybe<Scalars['Int64']>;
2306
2307
  };
2307
2308
  /** Query for the lending module */
2308
2309
  export type QueryGetOrderSaleCalldataArgs = {
2309
2310
  model?: InputMaybe<OrderModel>;
2310
2311
  nftId?: InputMaybe<Scalars['Int']>;
2311
- orderId: Scalars['Int'];
2312
+ orderIdInt64?: InputMaybe<Scalars['Int64']>;
2312
2313
  taker?: InputMaybe<Scalars['Address']>;
2313
2314
  };
2314
2315
  /** Query for the lending module */
@@ -3715,7 +3716,7 @@ export type UnhideOfferMutation = {
3715
3716
  };
3716
3717
  };
3717
3718
  export type HideOrderMutationVariables = Exact<{
3718
- id: Scalars['Int'];
3719
+ id: Scalars['Int64'];
3719
3720
  }>;
3720
3721
  export type HideOrderMutation = {
3721
3722
  __typename?: 'Mutation';
@@ -3861,7 +3862,7 @@ export type PublishSellAndRepayOrderMutation = {
3861
3862
  };
3862
3863
  };
3863
3864
  export type ShowOrderMutationVariables = Exact<{
3864
- id: Scalars['Int'];
3865
+ id: Scalars['Int64'];
3865
3866
  }>;
3866
3867
  export type ShowOrderMutation = {
3867
3868
  __typename?: 'Mutation';
@@ -4478,7 +4479,7 @@ export type ListOffersQuery = {
4478
4479
  };
4479
4480
  };
4480
4481
  export type GetSaleCalldataQueryVariables = Exact<{
4481
- orderId: Scalars['Int'];
4482
+ orderId: Scalars['Int64'];
4482
4483
  nftId: Scalars['Int'];
4483
4484
  taker: Scalars['Address'];
4484
4485
  }>;
@@ -226,7 +226,7 @@ export declare class Gondi {
226
226
  }>;
227
227
  buyNowPayLater({ amounts, purchaseBundlerAddress, contractAddress, loanDuration, offers, tokenId, repaymentCalldata, sellAndRepaySwapData, repayFlashLoanSwapParams, }: {
228
228
  amounts: bigint[];
229
- purchaseBundlerAddress: Address;
229
+ purchaseBundlerAddress?: Address;
230
230
  contractAddress: Address;
231
231
  loanDuration: bigint;
232
232
  offers: OfferFromExecutionOffer[];
@@ -2577,16 +2577,16 @@ export declare class Gondi {
2577
2577
  }>;
2578
2578
  buyWithSellAndRepay({ repaymentCalldata, purchaseBundlerAddress, mslContractAddress, price, swapData, }: {
2579
2579
  repaymentCalldata: Hex;
2580
- purchaseBundlerAddress: Address;
2580
+ purchaseBundlerAddress?: Address;
2581
2581
  mslContractAddress: Address;
2582
2582
  price: bigint;
2583
- swapData: Maybe<Hex>;
2583
+ swapData?: Maybe<Hex>;
2584
2584
  }): Promise<{
2585
2585
  txHash: `0x${string}`;
2586
2586
  waitTxInBlock: () => Promise<import("viem").TransactionReceipt>;
2587
2587
  }>;
2588
2588
  sellAndRepay({ purchaseBundlerAddress, mslContractAddress, repaymentCalldata, swapData, }: {
2589
- purchaseBundlerAddress: Address;
2589
+ purchaseBundlerAddress?: Address;
2590
2590
  mslContractAddress: Address;
2591
2591
  repaymentCalldata: Hex;
2592
2592
  swapData?: Hex;