@radix-effects/gateway 0.4.0 → 0.4.1

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
@@ -1,9 +1,9 @@
1
1
  import { Effect, Schema } from "effect";
2
- import * as _radixdlt_babylon_gateway_api_sdk4 from "@radixdlt/babylon-gateway-api-sdk";
2
+ import * as _radixdlt_babylon_gateway_api_sdk6 from "@radixdlt/babylon-gateway-api-sdk";
3
3
  import { AccountLockerNotFoundError as AccountLockerNotFoundError$1, EntityFungiblesPageRequest, EntityNotFoundError as EntityNotFoundError$1, ErrorResponse as ErrorResponse$1, GatewayApiClient as GatewayApiClient$1, InternalServerError as InternalServerError$1, InvalidEntityError as InvalidEntityError$1, InvalidRequestError as InvalidRequestError$1, InvalidTransactionError as InvalidTransactionError$1, NotSyncedUpError as NotSyncedUpError$1, ResourceHoldersCollectionItem, ResponseError as ResponseError$1, StateEntityDetailsOperationRequest, StateEntityDetailsVaultResponseItem, StateKeyValueStoreDataRequest, StateKeyValueStoreKeysRequest, TransactionNotFoundError as TransactionNotFoundError$1, TransactionPreviewOperationRequest } from "@radixdlt/babylon-gateway-api-sdk";
4
4
  import { z } from "zod";
5
5
  import { RolaError } from "@radixdlt/rola";
6
- import * as effect_ConfigError1 from "effect/ConfigError";
6
+ import * as effect_ConfigError0 from "effect/ConfigError";
7
7
  import * as effect_Types0 from "effect/Types";
8
8
  import * as effect_Cause0 from "effect/Cause";
9
9
  import * as effect_Layer0 from "effect/Layer";
@@ -92,24 +92,24 @@ declare const GatewayApiClient_base: Effect.Service.Class<GatewayApiClient, "Gat
92
92
  readonly effect: Effect.Effect<{
93
93
  networkId: number;
94
94
  state: {
95
- getEntityDetailsVaultAggregated: (addresses: string[], options?: _radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsOptions | undefined, ledgerState?: _radixdlt_babylon_gateway_api_sdk4.LedgerStateSelector | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsVaultResponseItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
96
- getValidators: (cursor?: string | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.ValidatorCollection, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
95
+ getEntityDetailsVaultAggregated: (addresses: string[], options?: _radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsOptions | undefined, ledgerState?: _radixdlt_babylon_gateway_api_sdk6.LedgerStateSelector | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsVaultResponseItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
96
+ getValidators: (cursor?: string | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.ValidatorCollection, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
97
97
  innerClient: {
98
- stateEntityDetails: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
99
- entityFungiblesPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.EntityFungiblesPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityFungiblesPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
100
- entityNonFungiblesPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.EntityNonFungiblesPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityNonFungiblesPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
101
- entityNonFungibleIdsPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.EntityNonFungibleIdsPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityNonFungibleIdsPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
102
- entityNonFungibleResourceVaultPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.EntityNonFungibleResourceVaultPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityNonFungibleResourceVaultsPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
103
- keyValueStoreKeys: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.KeyValueStoreKeysRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateKeyValueStoreKeysResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
104
- keyValueStoreData: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.KeyValueStoreDataRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateKeyValueStoreDataResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
105
- nonFungibleData: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.NonFungibleDataRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateNonFungibleDataResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
106
- nonFungibleLocation: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.NonFungibleLocationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateNonFungibleLocationResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
107
- nonFungibleIds: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.NonFungibleIdsRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateNonFungibleIdsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
98
+ stateEntityDetails: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
99
+ entityFungiblesPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.EntityFungiblesPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityFungiblesPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
100
+ entityNonFungiblesPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.EntityNonFungiblesPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityNonFungiblesPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
101
+ entityNonFungibleIdsPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.EntityNonFungibleIdsPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityNonFungibleIdsPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
102
+ entityNonFungibleResourceVaultPage: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.EntityNonFungibleResourceVaultPageRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityNonFungibleResourceVaultsPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
103
+ keyValueStoreKeys: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.KeyValueStoreKeysRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateKeyValueStoreKeysResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
104
+ keyValueStoreData: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.KeyValueStoreDataRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateKeyValueStoreDataResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
105
+ nonFungibleData: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.NonFungibleDataRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateNonFungibleDataResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
106
+ nonFungibleLocation: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.NonFungibleLocationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateNonFungibleLocationResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
107
+ nonFungibleIds: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.NonFungibleIdsRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateNonFungibleIdsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
108
108
  };
109
109
  };
110
110
  stream: {
111
111
  innerClient: {
112
- streamTransactions: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.StreamTransactionsOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StreamTransactionsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
112
+ streamTransactions: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.StreamTransactionsOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StreamTransactionsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
113
113
  };
114
114
  };
115
115
  transaction: {
@@ -125,21 +125,21 @@ declare const GatewayApiClient_base: Effect.Service.Class<GatewayApiClient, "Gat
125
125
  balanceChanges: boolean;
126
126
  receiptOutput: boolean;
127
127
  manifestInstructions: boolean;
128
- } | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.TransactionCommittedDetailsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
128
+ } | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.TransactionCommittedDetailsResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
129
129
  innerClient: {
130
- transactionSubmit: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.TransactionSubmitOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.TransactionSubmitResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
131
- transactionStatus: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.TransactionStatusOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.TransactionStatusResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
132
- transactionPreview: (requestParameters: _radixdlt_babylon_gateway_api_sdk4.TransactionPreviewOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.TransactionPreviewResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
130
+ transactionSubmit: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.TransactionSubmitOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.TransactionSubmitResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
131
+ transactionStatus: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.TransactionStatusOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.TransactionStatusResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
132
+ transactionPreview: (requestParameters: _radixdlt_babylon_gateway_api_sdk6.TransactionPreviewOperationRequest, initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.TransactionPreviewResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
133
133
  };
134
134
  };
135
135
  status: {
136
- getCurrent: () => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.GatewayStatusResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
136
+ getCurrent: () => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.GatewayStatusResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
137
137
  innerClient: {
138
- gatewayStatus: (initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk4.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.GatewayStatusResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
138
+ gatewayStatus: (initOverrides?: RequestInit | _radixdlt_babylon_gateway_api_sdk6.InitOverrideFunction | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.GatewayStatusResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
139
139
  };
140
140
  };
141
141
  extensions: {
142
- getResourceHolders: (resourceAddress: string, cursor?: string | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.ResourceHoldersResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
142
+ getResourceHolders: (resourceAddress: string, cursor?: string | undefined) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.ResourceHoldersResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>;
143
143
  };
144
144
  rawClient: GatewayApiClient$1;
145
145
  }, never, never>;
@@ -188,23 +188,23 @@ type EntityFungiblesPageInput = Omit<EntityFungiblesPageRequest['stateEntityFung
188
188
  at_ledger_state: AtLedgerState;
189
189
  };
190
190
  declare const EntityFungiblesPage_base: Effect.Service.Class<EntityFungiblesPage, "EntityFungiblesPage", {
191
- readonly effect: Effect.Effect<(this: unknown, input: EntityFungiblesPageInput) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.FungibleResourcesCollectionItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
191
+ readonly effect: Effect.Effect<(this: unknown, input: EntityFungiblesPageInput) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.FungibleResourcesCollectionItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
192
192
  }>;
193
193
  declare class EntityFungiblesPage extends EntityFungiblesPage_base {}
194
194
  //#endregion
195
195
  //#region src/state/nonFungibleData.d.ts
196
196
  declare const NonFungibleData_base: Effect.Service.Class<NonFungibleData, "NonFungibleData", {
197
- readonly effect: Effect.Effect<(this: unknown, input: Omit<_radixdlt_babylon_gateway_api_sdk4.StateNonFungibleDataRequest, "at_ledger_state"> & {
197
+ readonly effect: Effect.Effect<(this: unknown, input: Omit<_radixdlt_babylon_gateway_api_sdk6.StateNonFungibleDataRequest, "at_ledger_state"> & {
198
198
  at_ledger_state: AtLedgerState;
199
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateNonFungibleDetailsResponseItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
199
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateNonFungibleDetailsResponseItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
200
200
  }>;
201
201
  declare class NonFungibleData extends NonFungibleData_base {}
202
202
  //#endregion
203
203
  //#region src/state/entityNonFungiblesPage.d.ts
204
204
  declare const EntityNonFungiblesPage_base: Effect.Service.Class<EntityNonFungiblesPage, "EntityNonFungiblesPage", {
205
- readonly effect: Effect.Effect<(this: unknown, input: Omit<_radixdlt_babylon_gateway_api_sdk4.StateEntityNonFungiblesPageRequest, "at_ledger_state"> & {
205
+ readonly effect: Effect.Effect<(this: unknown, input: Omit<_radixdlt_babylon_gateway_api_sdk6.StateEntityNonFungiblesPageRequest, "at_ledger_state"> & {
206
206
  at_ledger_state: AtLedgerState;
207
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityNonFungiblesPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
207
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityNonFungiblesPageResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
208
208
  }>;
209
209
  declare class EntityNonFungiblesPage extends EntityNonFungiblesPage_base {}
210
210
  //#endregion
@@ -242,11 +242,11 @@ type GetEntityDetailsInput = GetEntityDetailsVaultAggregatedParameters[0];
242
242
  type GetEntityDetailsOptions = GetEntityDetailsVaultAggregatedParameters[1];
243
243
  type GetEntityDetailsState = GetEntityDetailsVaultAggregatedParameters[2];
244
244
  declare const GetEntityDetailsVaultAggregated_base: Effect.Service.Class<GetEntityDetailsVaultAggregated, "GetEntityDetailsVaultAggregated", {
245
- readonly effect: Effect.Effect<(this: unknown, input: string[], options: _radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsOptions | undefined, at_ledger_state: {
245
+ readonly effect: Effect.Effect<(this: unknown, input: string[], options: _radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsOptions | undefined, at_ledger_state: {
246
246
  state_version: number;
247
247
  } | {
248
248
  timestamp: Date;
249
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsVaultResponseItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
249
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsVaultResponseItem[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
250
250
  }>;
251
251
  declare class GetEntityDetailsVaultAggregated extends GetEntityDetailsVaultAggregated_base {}
252
252
  //#endregion
@@ -262,7 +262,7 @@ declare const EntityNonFungibleIdsPage_base: Effect.Service.Class<EntityNonFungi
262
262
  readonly effect: Effect.Effect<(this: unknown, input: GetNonFungibleIdsInput) => Effect.Effect<{
263
263
  ids: string[];
264
264
  address: string;
265
- }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
265
+ }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
266
266
  }>;
267
267
  declare class EntityNonFungibleIdsPage extends EntityNonFungibleIdsPage_base {}
268
268
  //#endregion
@@ -272,7 +272,7 @@ declare const GetNonFungibleLocationService_base: Effect.Service.Class<GetNonFun
272
272
  resourceAddress: string;
273
273
  nonFungibleIds: string[];
274
274
  at_ledger_state: AtLedgerState;
275
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateNonFungibleLocationResponse[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
275
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateNonFungibleLocationResponse[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
276
276
  }>;
277
277
  declare class GetNonFungibleLocationService extends GetNonFungibleLocationService_base {}
278
278
  //#endregion
@@ -289,7 +289,7 @@ type GetAddressByNonFungibleServiceInput = {
289
289
  at_ledger_state: AtLedgerState;
290
290
  };
291
291
  declare const GetAddressByNonFungibleService_base: Effect.Service.Class<GetAddressByNonFungibleService, "GetAddressByNonFungibleService", {
292
- readonly dependencies: readonly [effect_Layer0.Layer<GetNonFungibleLocationService, effect_ConfigError1.ConfigError, GatewayApiClient>];
292
+ readonly dependencies: readonly [effect_Layer0.Layer<GetNonFungibleLocationService, effect_ConfigError0.ConfigError, GatewayApiClient>];
293
293
  readonly effect: Effect.Effect<(this: unknown, input: GetAddressByNonFungibleServiceInput) => Effect.Effect<{
294
294
  address: string;
295
295
  resourceAddress: string;
@@ -305,7 +305,7 @@ declare class InvalidComponentStateError {
305
305
  constructor(error: unknown);
306
306
  }
307
307
  declare const GetComponentStateService_base: Effect.Service.Class<GetComponentStateService, "GetComponentStateService", {
308
- readonly dependencies: readonly [effect_Layer0.Layer<GetEntityDetailsVaultAggregated, effect_ConfigError1.ConfigError, GatewayApiClient>];
308
+ readonly dependencies: readonly [effect_Layer0.Layer<GetEntityDetailsVaultAggregated, effect_ConfigError0.ConfigError, GatewayApiClient>];
309
309
  readonly effect: Effect.Effect<{
310
310
  run: <T extends StructDefinition, R extends boolean>(this: unknown, input: {
311
311
  addresses: string[];
@@ -323,10 +323,10 @@ declare class GetComponentStateService extends GetComponentStateService_base {}
323
323
  //#endregion
324
324
  //#region src/state/stateEntityDetails.d.ts
325
325
  declare const StateEntityDetails_base: Effect.Service.Class<StateEntityDetails, "StateEntityDetails", {
326
- readonly effect: Effect.Effect<(this: unknown, input: _radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsRequest) => Effect.Effect<{
327
- ledger_state: _radixdlt_babylon_gateway_api_sdk4.LedgerState;
328
- items: _radixdlt_babylon_gateway_api_sdk4.StateEntityDetailsResponseItem[];
329
- }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
326
+ readonly effect: Effect.Effect<(this: unknown, input: _radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsRequest) => Effect.Effect<{
327
+ ledger_state: _radixdlt_babylon_gateway_api_sdk6.LedgerState;
328
+ items: _radixdlt_babylon_gateway_api_sdk6.StateEntityDetailsResponseItem[];
329
+ }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
330
330
  }>;
331
331
  declare class StateEntityDetails extends StateEntityDetails_base {}
332
332
  //#endregion
@@ -337,25 +337,25 @@ type GetFungibleBalanceInput = Omit<StateEntityDetailsOperationRequest['stateEnt
337
337
  options?: StateEntityDetailsOperationRequest['stateEntityDetailsRequest']['opt_ins'];
338
338
  };
339
339
  declare const GetFungibleBalance_base: Effect.Service.Class<GetFungibleBalance, "GetFungibleBalance", {
340
- readonly dependencies: readonly [effect_Layer0.Layer<EntityFungiblesPage, effect_ConfigError1.ConfigError, GatewayApiClient>, effect_Layer0.Layer<StateEntityDetails, effect_ConfigError1.ConfigError, GatewayApiClient>];
340
+ readonly dependencies: readonly [effect_Layer0.Layer<EntityFungiblesPage, effect_ConfigError0.ConfigError, GatewayApiClient>, effect_Layer0.Layer<StateEntityDetails, effect_ConfigError0.ConfigError, GatewayApiClient>];
341
341
  readonly effect: Effect.Effect<(this: unknown, input: GetFungibleBalanceInput) => Effect.Effect<{
342
342
  address: string;
343
343
  items: {
344
344
  amount: BigNumber;
345
345
  resource_address: string;
346
- explicit_metadata?: _radixdlt_babylon_gateway_api_sdk4.EntityMetadataCollection;
346
+ explicit_metadata?: _radixdlt_babylon_gateway_api_sdk6.EntityMetadataCollection;
347
347
  last_updated_at_state_version: number;
348
348
  }[];
349
- }[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, EntityFungiblesPage | StateEntityDetails>;
349
+ }[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, EntityFungiblesPage | StateEntityDetails>;
350
350
  }>;
351
351
  declare class GetFungibleBalance extends GetFungibleBalance_base {}
352
352
  //#endregion
353
353
  //#region src/keyValueStoreData.d.ts
354
354
  declare const KeyValueStoreDataService_base: Effect.Service.Class<KeyValueStoreDataService, "KeyValueStoreDataService", {
355
- readonly dependencies: readonly [effect_Layer0.Layer<GatewayApiClient, never, never>];
355
+ readonly dependencies: readonly [];
356
356
  readonly effect: Effect.Effect<(this: unknown, input: Omit<StateKeyValueStoreDataRequest, "at_ledger_state"> & {
357
357
  at_ledger_state: AtLedgerState;
358
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateKeyValueStoreDataResponse[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
358
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateKeyValueStoreDataResponse[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
359
359
  }>;
360
360
  declare class KeyValueStoreDataService extends KeyValueStoreDataService_base {}
361
361
  //#endregion
@@ -363,20 +363,20 @@ declare class KeyValueStoreDataService extends KeyValueStoreDataService_base {}
363
363
  declare const KeyValueStoreKeysService_base: Effect.Service.Class<KeyValueStoreKeysService, "KeyValueStoreKeysService", {
364
364
  readonly effect: Effect.Effect<(this: unknown, input: Omit<StateKeyValueStoreKeysRequest, "at_ledger_state"> & {
365
365
  at_ledger_state: AtLedgerState;
366
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.StateKeyValueStoreKeysResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, GatewayApiClient>;
366
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.StateKeyValueStoreKeysResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, GatewayApiClient>;
367
367
  }>;
368
368
  declare class KeyValueStoreKeysService extends KeyValueStoreKeysService_base {}
369
369
  //#endregion
370
370
  //#region src/getKeyValueStore.d.ts
371
371
  declare const GetKeyValueStoreService_base: Effect.Service.Class<GetKeyValueStoreService, "GetKeyValueStoreService", {
372
- readonly dependencies: readonly [effect_Layer0.Layer<KeyValueStoreKeysService, effect_ConfigError1.ConfigError, GatewayApiClient>, effect_Layer0.Layer<KeyValueStoreDataService, effect_ConfigError1.ConfigError, never>];
372
+ readonly dependencies: readonly [effect_Layer0.Layer<KeyValueStoreKeysService, effect_ConfigError0.ConfigError, GatewayApiClient>, effect_Layer0.Layer<KeyValueStoreDataService, effect_ConfigError0.ConfigError, GatewayApiClient>];
373
373
  readonly effect: Effect.Effect<(this: unknown, input: {
374
374
  address: string;
375
375
  at_ledger_state: AtLedgerState;
376
376
  }) => Effect.Effect<{
377
377
  key_value_store_address: string;
378
- ledger_state: _radixdlt_babylon_gateway_api_sdk4.LedgerState;
379
- entries: _radixdlt_babylon_gateway_api_sdk4.StateKeyValueStoreDataResponseItem[];
378
+ ledger_state: _radixdlt_babylon_gateway_api_sdk6.LedgerState;
379
+ entries: _radixdlt_babylon_gateway_api_sdk6.StateKeyValueStoreDataResponseItem[];
380
380
  }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, never, KeyValueStoreKeysService | KeyValueStoreDataService>;
381
381
  }>;
382
382
  declare class GetKeyValueStoreService extends GetKeyValueStoreService_base {}
@@ -386,7 +386,7 @@ type GetLedgerStateInput = {
386
386
  at_ledger_state: AtLedgerState;
387
387
  };
388
388
  declare const GetLedgerStateService_base: Effect.Service.Class<GetLedgerStateService, "GetLedgerStateService", {
389
- readonly effect: Effect.Effect<(this: unknown, input: GetLedgerStateInput) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.LedgerState, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, never, GatewayApiClient>;
389
+ readonly effect: Effect.Effect<(this: unknown, input: GetLedgerStateInput) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.LedgerState, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, never, GatewayApiClient>;
390
390
  }>;
391
391
  declare class GetLedgerStateService extends GetLedgerStateService_base {}
392
392
  //#endregion
@@ -398,14 +398,14 @@ type GetNftResourceManagersInput = {
398
398
  options?: StateEntityDetailsOperationRequest['stateEntityDetailsRequest']['opt_ins'];
399
399
  };
400
400
  declare const GetNftResourceManagersService_base: Effect.Service.Class<GetNftResourceManagersService, "GetNftResourceManagersService", {
401
- readonly dependencies: readonly [effect_Layer0.Layer<GatewayApiClient, never, never>, effect_Layer0.Layer<EntityNonFungiblesPage, effect_ConfigError1.ConfigError, GatewayApiClient>, effect_Layer0.Layer<EntityNonFungibleIdsPage, effect_ConfigError1.ConfigError, GatewayApiClient>];
401
+ readonly dependencies: readonly [effect_Layer0.Layer<EntityNonFungiblesPage, effect_ConfigError0.ConfigError, GatewayApiClient>, effect_Layer0.Layer<EntityNonFungibleIdsPage, effect_ConfigError0.ConfigError, GatewayApiClient>];
402
402
  readonly effect: Effect.Effect<(this: unknown, input: GetNftResourceManagersInput) => Effect.Effect<{
403
403
  address: string;
404
404
  items: {
405
405
  resourceAddress: string;
406
406
  nftIds: string[];
407
407
  }[];
408
- }[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, EntityNonFungiblesPage | GatewayApiClient | EntityNonFungibleIdsPage>;
408
+ }[], AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, EntityNonFungiblesPage | GatewayApiClient | EntityNonFungibleIdsPage>;
409
409
  }>;
410
410
  declare class GetNftResourceManagersService extends GetNftResourceManagersService_base {}
411
411
  //#endregion
@@ -423,7 +423,7 @@ type GetNonFungibleBalanceInput = {
423
423
  };
424
424
  type GetNonFungibleBalanceOutput = Effect.Effect.Success<Awaited<ReturnType<(typeof GetNonFungibleBalanceService)['Service']>>>;
425
425
  declare const GetNonFungibleBalanceService_base: Effect.Service.Class<GetNonFungibleBalanceService, "GetNonFungibleBalanceService", {
426
- readonly dependencies: readonly [effect_Layer0.Layer<NonFungibleData, effect_ConfigError1.ConfigError, GatewayApiClient>, effect_Layer0.Layer<GetNftResourceManagersService, effect_ConfigError1.ConfigError, GatewayApiClient>];
426
+ readonly dependencies: readonly [effect_Layer0.Layer<NonFungibleData, effect_ConfigError0.ConfigError, GatewayApiClient>, effect_Layer0.Layer<GetNftResourceManagersService, effect_ConfigError0.ConfigError, GatewayApiClient>];
427
427
  readonly effect: Effect.Effect<(this: unknown, input: GetNonFungibleBalanceInput) => Effect.Effect<{
428
428
  items: {
429
429
  address: string;
@@ -432,18 +432,17 @@ declare const GetNonFungibleBalanceService_base: Effect.Service.Class<GetNonFung
432
432
  items: {
433
433
  id: string;
434
434
  lastUpdatedStateVersion: number;
435
- sbor: _radixdlt_babylon_gateway_api_sdk4.ProgrammaticScryptoSborValue | undefined;
435
+ sbor: _radixdlt_babylon_gateway_api_sdk6.ProgrammaticScryptoSborValue | undefined;
436
436
  isBurned: boolean;
437
437
  }[];
438
438
  }[];
439
439
  }[];
440
- }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError1.ConfigError, NonFungibleData | GetNftResourceManagersService>;
440
+ }, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError, never>, effect_ConfigError0.ConfigError, NonFungibleData | GetNftResourceManagersService>;
441
441
  }>;
442
442
  declare class GetNonFungibleBalanceService extends GetNonFungibleBalanceService_base {}
443
443
  //#endregion
444
444
  //#region src/getResourceHolders.d.ts
445
445
  declare const GetResourceHoldersService_base: Effect.Service.Class<GetResourceHoldersService, "GetResourceHoldersService", {
446
- readonly dependencies: readonly [effect_Layer0.Layer<GatewayApiClient, never, never>];
447
446
  readonly effect: Effect.Effect<(this: unknown, input: {
448
447
  resourceAddress: string;
449
448
  cursor?: string;
@@ -690,10 +689,9 @@ declare class TransactionPreviewError extends TransactionPreviewError_base<{
690
689
  message?: string;
691
690
  }> {}
692
691
  declare const PreviewTransaction_base: Effect.Service.Class<PreviewTransaction, "PreviewTransaction", {
693
- readonly dependencies: readonly [effect_Layer0.Layer<GatewayApiClient, never, never>];
694
692
  readonly effect: Effect.Effect<(this: unknown, input: {
695
693
  payload: TransactionPreviewOperationRequest["transactionPreviewRequest"];
696
- }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk4.TransactionPreviewResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError | TransactionPreviewError, never>, never, GatewayApiClient>;
694
+ }) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk6.TransactionPreviewResponse, AccountLockerNotFoundError | InvalidRequestError | EntityNotFoundError | InternalServerError | InvalidEntityError | InvalidTransactionError | NotSyncedUpError | TransactionNotFoundError | ErrorResponse | RateLimitExceededError | ResponseError | UnknownGatewayError | TransactionPreviewError, never>, never, GatewayApiClient>;
697
695
  }>;
698
696
  declare class PreviewTransaction extends PreviewTransaction_base {}
699
697
  //#endregion
package/dist/index.js CHANGED
@@ -430,7 +430,7 @@ var GetFungibleBalance = class extends Effect.Service()("GetFungibleBalance", {
430
430
  //#endregion
431
431
  //#region src/keyValueStoreData.ts
432
432
  var KeyValueStoreDataService = class extends Effect.Service()("KeyValueStoreDataService", {
433
- dependencies: [GatewayApiClient.Default],
433
+ dependencies: [],
434
434
  effect: Effect.gen(function* () {
435
435
  const gatewayClient = yield* GatewayApiClient;
436
436
  const pageSize = yield* Config.number("GatewayApi__Endpoint__MaxPageSize").pipe(Config.withDefault(100));
@@ -514,11 +514,7 @@ var GetLedgerStateService = class extends Effect.Service()("GetLedgerStateServic
514
514
  //#endregion
515
515
  //#region src/getNftResourceManagers.ts
516
516
  var GetNftResourceManagersService = class extends Effect.Service()("GetNftResourceManagersService", {
517
- dependencies: [
518
- GatewayApiClient.Default,
519
- EntityNonFungiblesPage.Default,
520
- EntityNonFungibleIdsPage.Default
521
- ],
517
+ dependencies: [EntityNonFungiblesPage.Default, EntityNonFungibleIdsPage.Default],
522
518
  effect: Effect.gen(function* () {
523
519
  const gatewayClient = yield* GatewayApiClient;
524
520
  const entityNonFungiblesPageService = yield* EntityNonFungiblesPage;
@@ -702,31 +698,28 @@ var GetNonFungibleBalanceService = class extends Effect.Service()("GetNonFungibl
702
698
 
703
699
  //#endregion
704
700
  //#region src/getResourceHolders.ts
705
- var GetResourceHoldersService = class extends Effect.Service()("GetResourceHoldersService", {
706
- dependencies: [GatewayApiClient.Default],
707
- effect: Effect.gen(function* () {
708
- const gatewayClient = yield* GatewayApiClient;
709
- const getResourceHolders = Effect.fn(function* (input) {
710
- return yield* gatewayClient.extensions.getResourceHolders(input.resourceAddress, input.cursor);
711
- });
712
- return Effect.fn(function* (input) {
713
- const result = yield* getResourceHolders(input);
714
- const allItems = [...result.items];
715
- let nextCursor = result.next_cursor;
716
- while (nextCursor) {
717
- const nextResult = yield* getResourceHolders({
718
- resourceAddress: input.resourceAddress,
719
- cursor: nextCursor
720
- });
721
- allItems.push(...nextResult.items);
722
- nextCursor = nextResult.next_cursor;
723
- }
724
- const holders = /* @__PURE__ */ new Map();
725
- for (const item of allItems) holders.set(item.holder_address, item);
726
- return Array.from(holders.values());
727
- });
728
- })
729
- }) {};
701
+ var GetResourceHoldersService = class extends Effect.Service()("GetResourceHoldersService", { effect: Effect.gen(function* () {
702
+ const gatewayClient = yield* GatewayApiClient;
703
+ const getResourceHolders = Effect.fn(function* (input) {
704
+ return yield* gatewayClient.extensions.getResourceHolders(input.resourceAddress, input.cursor);
705
+ });
706
+ return Effect.fn(function* (input) {
707
+ const result = yield* getResourceHolders(input);
708
+ const allItems = [...result.items];
709
+ let nextCursor = result.next_cursor;
710
+ while (nextCursor) {
711
+ const nextResult = yield* getResourceHolders({
712
+ resourceAddress: input.resourceAddress,
713
+ cursor: nextCursor
714
+ });
715
+ allItems.push(...nextResult.items);
716
+ nextCursor = nextResult.next_cursor;
717
+ }
718
+ const holders = /* @__PURE__ */ new Map();
719
+ for (const item of allItems) holders.set(item.holder_address, item);
720
+ return Array.from(holders.values());
721
+ });
722
+ }) }) {};
730
723
 
731
724
  //#endregion
732
725
  //#region src/schemas.ts
@@ -920,18 +913,15 @@ const ScryptoSborValueSchema = Schema.Union(ScryptoSborValueBool, ScryptoSborVal
920
913
  //#endregion
921
914
  //#region src/previewTransaction.ts
922
915
  var TransactionPreviewError = class extends Data.TaggedError("TransactionPreviewError") {};
923
- var PreviewTransaction = class extends Effect.Service()("PreviewTransaction", {
924
- dependencies: [GatewayApiClient.Default],
925
- effect: Effect.gen(function* () {
926
- const gatewayApiClient = yield* GatewayApiClient;
927
- return Effect.fnUntraced(function* (input) {
928
- const result = yield* gatewayApiClient.transaction.innerClient.transactionPreview({ transactionPreviewRequest: input.payload });
929
- const receipt = result.receipt;
930
- if (receipt.status !== "Succeeded") return yield* new TransactionPreviewError({ message: receipt.error_message });
931
- return result;
932
- });
933
- })
934
- }) {};
916
+ var PreviewTransaction = class extends Effect.Service()("PreviewTransaction", { effect: Effect.gen(function* () {
917
+ const gatewayApiClient = yield* GatewayApiClient;
918
+ return Effect.fnUntraced(function* (input) {
919
+ const result = yield* gatewayApiClient.transaction.innerClient.transactionPreview({ transactionPreviewRequest: input.payload });
920
+ const receipt = result.receipt;
921
+ if (receipt.status !== "Succeeded") return yield* new TransactionPreviewError({ message: receipt.error_message });
922
+ return result;
923
+ });
924
+ }) }) {};
935
925
 
936
926
  //#endregion
937
927
  export { AccountLockerNotFoundError, AccountProofSchema, AtLedgerStateSchema, EntityFungiblesPage, EntityNonFungibleIdsPage, EntityNonFungiblesPage, EntityNotFoundError, ErrorResponse, GatewayApiClient, GetAddressByNonFungibleService, GetComponentStateService, GetEntityDetailsVaultAggregated, GetFungibleBalance, GetKeyValueStoreService, GetLedgerStateService, GetNftResourceManagersService, GetNonFungibleBalanceService, GetNonFungibleLocationService, GetResourceHoldersService, GetValidators, InternalServerError, InvalidComponentStateError, InvalidEntityError, InvalidInputError, InvalidRequestError, InvalidStateInputError, InvalidTransactionError, KeyValueStoreDataService, KeyValueStoreKeysService, NonFungibleData, NotSyncedUpError, PersonaProofSchema, PreviewTransaction, ProofSchema, RateLimitExceededError, ResponseError, Rola, RolaProofSchema, ScryptoSborValueKind, ScryptoSborValueSchema, StateVersionSchema, TimestampSchema, TransactionNotFoundError, TransactionPreviewError, UnknownGatewayError, ValidatorSchema, VerifyRolaProofError, validateAtLedgerStateInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-effects/gateway",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",