@imtbl/sdk 0.27.11 → 0.27.12

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.d.ts CHANGED
@@ -3889,16 +3889,16 @@ type blockchain_data_d_BlockchainDataModuleConfiguration = BlockchainDataModuleC
3889
3889
  declare namespace blockchain_data_d {
3890
3890
  export {
3891
3891
  APIError$1 as APIError,
3892
- activitiesApiTypes_d as ActivitiesApi,
3892
+ activitiesApiTypes_d as ActivitiesTypes,
3893
3893
  blockchain_data_d_ActivityType as ActivityType,
3894
3894
  blockchain_data_d_BlockchainData as BlockchainData,
3895
3895
  blockchain_data_d_BlockchainDataModuleConfiguration as BlockchainDataModuleConfiguration,
3896
- chainsApiTypes_d as ChainsApi,
3897
- collectionsApiTypes_d as CollectionsApi,
3898
- metadataApiTypes_d as MetadataApi,
3899
- nftOwnersApiTypes_d as NFTOwnersApi,
3900
- nftsApiTypes_d as NFTsApi,
3901
- tokensApiTypes_d as TokensApi,
3896
+ chainsApiTypes_d as ChainsTypes,
3897
+ collectionsApiTypes_d as CollectionsTypes,
3898
+ metadataApiTypes_d as MetadataTypes,
3899
+ nftOwnersApiTypes_d as NFTOwnersTypes,
3900
+ nftsApiTypes_d as NFTsTypes,
3901
+ tokensApiTypes_d as TokensTypes,
3902
3902
  };
3903
3903
  }
3904
3904
 
@@ -15172,30 +15172,42 @@ type CancelOrdersRequestBody = {
15172
15172
  signature: string;
15173
15173
  };
15174
15174
 
15175
+ type FailedOrderCancellation = {
15176
+ /**
15177
+ * ID of the order which failed to be cancelled
15178
+ */
15179
+ order: string;
15180
+ /**
15181
+ * Reason code indicating why the order failed to be cancelled
15182
+ */
15183
+ reason_code: FailedOrderCancellation.reason_code;
15184
+ };
15185
+ declare namespace FailedOrderCancellation {
15186
+ /**
15187
+ * Reason code indicating why the order failed to be cancelled
15188
+ */
15189
+ enum reason_code {
15190
+ ALREADY_FILLED = "ALREADY_FILLED"
15191
+ }
15192
+ }
15193
+
15194
+ type CancelOrdersResultData = {
15195
+ /**
15196
+ * Orders which were successfully cancelled
15197
+ */
15198
+ successful_cancellations: Array<string>;
15199
+ /**
15200
+ * Orders which are marked for cancellation but the cancellation cannot be guaranteed
15201
+ */
15202
+ pending_cancellations: Array<string>;
15203
+ /**
15204
+ * Orders which failed to be cancelled
15205
+ */
15206
+ failed_cancellations: Array<FailedOrderCancellation>;
15207
+ };
15208
+
15175
15209
  type CancelOrdersResult = {
15176
- result: {
15177
- /**
15178
- * Orders which were successfully cancelled
15179
- */
15180
- successful_cancellations: Array<string>;
15181
- /**
15182
- * Orders which are marked for cancellation but the cancellation cannot be guaranteed
15183
- */
15184
- pending_cancellations: Array<string>;
15185
- /**
15186
- * Orders which failed to be cancelled
15187
- */
15188
- failed_cancellations: Array<{
15189
- /**
15190
- * ID of the order which failed to be cancelled
15191
- */
15192
- order: string;
15193
- /**
15194
- * Reason code indicating why the order failed to be cancelled
15195
- */
15196
- reason_code: 'ALREADY_FILLED';
15197
- }>;
15198
- };
15210
+ result: CancelOrdersResultData;
15199
15211
  };
15200
15212
 
15201
15213
  /**
@@ -15590,7 +15602,7 @@ declare class OrdersService {
15590
15602
  * @returns ListListingsResult OK response.
15591
15603
  * @throws ApiError
15592
15604
  */
15593
- listListings({ chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, }: {
15605
+ listListings({ chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, }: {
15594
15606
  chainName: ChainName$1;
15595
15607
  /**
15596
15608
  * Order status to filter by
@@ -15608,6 +15620,10 @@ declare class OrdersService {
15608
15620
  * Sell item token identifier to filter by
15609
15621
  */
15610
15622
  sellItemTokenId?: string;
15623
+ /**
15624
+ * From updated at including given date
15625
+ */
15626
+ fromUpdatedAt?: string;
15611
15627
  /**
15612
15628
  * Maximum number of orders to return per page
15613
15629
  */
@@ -15669,9 +15685,13 @@ declare class OrdersService {
15669
15685
  * @returns ListTradeResult OK response.
15670
15686
  * @throws ApiError
15671
15687
  */
15672
- listTrades({ chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, }: {
15688
+ listTrades({ chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, }: {
15673
15689
  chainName: ChainName$1;
15674
15690
  accountAddress?: string;
15691
+ /**
15692
+ * From indexed at including given date
15693
+ */
15694
+ fromIndexedAt?: string;
15675
15695
  /**
15676
15696
  * Maximum number of trades to return per page
15677
15697
  */