@settlemint/sdk-js
Advanced tools
Comparing version 0.4.34-main1df4d5d to 0.4.34-mainf9ff2f9
import { z } from 'zod'; | ||
declare const UniqueNameSchema: z.ZodString; | ||
type UniqueName = z.infer<typeof UniqueNameSchema>; | ||
declare const IdSchema: z.ZodUnion<[z.ZodString, z.ZodString]>; | ||
type Id = z.infer<typeof IdSchema>; | ||
declare const SettleMintClientOptionsSchema: z.ZodObject<{ | ||
accessToken: z.ZodString; | ||
instance: z.ZodString; | ||
workspaceId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
applicationId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
blockchainNetworkId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
blockchainNodeId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
middlewareId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
integrationId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
storageId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
privateKeyId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
insightsId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
customDeploymentId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
}, "strip", z.ZodTypeAny, { | ||
accessToken: string; | ||
instance: string; | ||
workspaceId?: string | undefined; | ||
applicationId?: string | undefined; | ||
blockchainNetworkId?: string | undefined; | ||
blockchainNodeId?: string | undefined; | ||
middlewareId?: string | undefined; | ||
integrationId?: string | undefined; | ||
storageId?: string | undefined; | ||
privateKeyId?: string | undefined; | ||
insightsId?: string | undefined; | ||
customDeploymentId?: string | undefined; | ||
}, { | ||
accessToken: string; | ||
instance: string; | ||
workspaceId?: string | undefined; | ||
applicationId?: string | undefined; | ||
blockchainNetworkId?: string | undefined; | ||
blockchainNodeId?: string | undefined; | ||
middlewareId?: string | undefined; | ||
integrationId?: string | undefined; | ||
storageId?: string | undefined; | ||
privateKeyId?: string | undefined; | ||
insightsId?: string | undefined; | ||
customDeploymentId?: string | undefined; | ||
}>; | ||
type SettleMintClientOptions = z.infer<typeof SettleMintClientOptionsSchema>; | ||
/** | ||
* Creates a SettleMint client with methods to interact with various resources. | ||
* @returns An object containing methods to interact with SettleMint resources. | ||
* @throws {Error} If the environment variables are invalid. | ||
* @example | ||
* const client = createSettleMintClient(); | ||
* const blockchainNetworks = await client.blockchainNetwork.list(); | ||
*/ | ||
declare function createSettleMintClient(): { | ||
declare function createSettleMintClient(options: SettleMintClientOptions): { | ||
workspace: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
uniqueName: string; | ||
displayName: string; | ||
}>) | undefined; | ||
list: () => Promise<{ | ||
uniqueName: string; | ||
displayName: string; | ||
id: string; | ||
name: string; | ||
applications: { | ||
id: string; | ||
name: string; | ||
}[]; | ||
}[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
uniqueName: string; | ||
displayName: string; | ||
read: (workspaceId?: Id) => Promise<{ | ||
id: string; | ||
name: string; | ||
applications: { | ||
id: string; | ||
name: string; | ||
}[]; | ||
}>; | ||
}; | ||
application: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
uniqueName: string; | ||
displayName: string; | ||
}>) | undefined; | ||
list: () => Promise<{ | ||
workspace: string; | ||
uniqueName: string; | ||
displayName: string; | ||
}[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
uniqueName: string; | ||
displayName: string; | ||
}>; | ||
}; | ||
blockchainNetwork: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
chainId: string; | ||
}>) | undefined; | ||
list: () => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
chainId: string; | ||
}[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
chainId: string; | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "ArbitrumBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumGoerliBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumSepoliaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheFujiBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuIbftv2BlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuQBFTBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscPoWBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscPoWTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "CordaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FabricRaftBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomMainnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethCliqueBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethGoerliBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethPoSRinkebyBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethPoWBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethVenidiumBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaMainnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HoleskyBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismGoerliBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismSepoliaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonAmoyBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonEdgePoABlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonMumbaiBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonSupernetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "QuorumQBFTBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SepoliaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SoneiumMinatoBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
read: (blockchainNetworkId: Id) => Promise<{ | ||
__typename?: "ArbitrumBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumGoerliBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumSepoliaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheFujiBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuIbftv2BlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuQBFTBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscPoWBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscPoWTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "CordaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FabricRaftBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomMainnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethCliqueBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethGoerliBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethPoSRinkebyBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethPoWBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethVenidiumBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaMainnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HoleskyBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismGoerliBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismSepoliaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonAmoyBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonEdgePoABlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonMumbaiBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonSupernetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "QuorumQBFTBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SepoliaBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SoneiumMinatoBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosTestnetBlockchainNetwork" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
blockchainNode: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
network: string; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
}>) | undefined; | ||
list: () => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
network: string; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
}[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
network: string; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "ArbitrumBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumGoerliBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumSepoliaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheFujiBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuIbftv2BlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuQBFTBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "CordaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FabricBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomMainnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethCliqueBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethGoerliBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethRinkebyBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethVenidiumBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaMainnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HoleskyBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismGoerliBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismSepoliaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonAmoyBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonEdgeBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonMumbaiBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonSupernetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "QuorumQBFTBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SepoliaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SoneiumMinatoBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
read: (blockchainNodeId: Id) => Promise<{ | ||
__typename?: "ArbitrumBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumGoerliBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "ArbitrumSepoliaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "AvalancheFujiBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuIbftv2BlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BesuQBFTBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "BscTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "CordaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FabricBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomMainnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "FantomTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethCliqueBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethGoerliBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethRinkebyBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GethVenidiumBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaMainnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HederaTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HoleskyBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismGoerliBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "OptimismSepoliaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonAmoyBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonEdgeBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonMumbaiBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonSupernetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "PolygonZkEvmTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "QuorumQBFTBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SepoliaBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SoneiumMinatoBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "TezosTestnetBlockchainNode" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
middleware: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "AttestationIndexerMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "SMART_CONTRACT_PORTAL"; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
__typename?: "BesuMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HA_GRAPH"; | ||
endpoints: { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}; | ||
}>) | undefined; | ||
list: () => Promise<({ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
__typename?: "FireflyFabconnectMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "SMART_CONTRACT_PORTAL"; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
__typename?: "GraphMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HA_GRAPH"; | ||
endpoints: { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}; | ||
__typename?: "HAGraphMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SmartContractPortalMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
read: (middlewareId: Id) => Promise<{ | ||
__typename?: "AttestationIndexerMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "SMART_CONTRACT_PORTAL"; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
__typename?: "BesuMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HA_GRAPH"; | ||
endpoints: { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}; | ||
__typename?: "FireflyFabconnectMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "GraphMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "HAGraphMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
__typename?: "SmartContractPortalMiddleware" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
integrationTool: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "Hasura" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HASURA"; | ||
endpoints: { | ||
base: string; | ||
graphQl: string; | ||
}; | ||
secrets: { | ||
adminSecret: string; | ||
}; | ||
}>) | undefined; | ||
list: () => Promise<({ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HASURA"; | ||
endpoints: { | ||
base: string; | ||
graphQl: string; | ||
}; | ||
secrets: { | ||
adminSecret: string; | ||
}; | ||
__typename?: "IntegrationStudio" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
read: (integrationId: Id) => Promise<{ | ||
__typename?: "Hasura" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HASURA"; | ||
endpoints: { | ||
base: string; | ||
graphQl: string; | ||
}; | ||
secrets: { | ||
adminSecret: string; | ||
}; | ||
__typename?: "IntegrationStudio" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
storage: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "IPFSStorage" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "IPFS"; | ||
endpoints: { | ||
base: string; | ||
api: string; | ||
gateway: string; | ||
clusterApi: string; | ||
pinning: string; | ||
}; | ||
secrets: { | ||
password: string; | ||
}; | ||
__typename?: "MinioStorage" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
read: (storageId: Id) => Promise<{ | ||
__typename?: "IPFSStorage" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
endpoints: { | ||
base: string; | ||
s3Api: string; | ||
}; | ||
secrets: { | ||
accessKey: string; | ||
secretKey: string; | ||
}; | ||
}>) | undefined; | ||
list: () => Promise<({ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
__typename?: "MinioStorage" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
privateKey: { | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "AccessibleEcdsaP256PrivateKey" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "IPFS"; | ||
endpoints: { | ||
base: string; | ||
api: string; | ||
gateway: string; | ||
clusterApi: string; | ||
pinning: string; | ||
}; | ||
secrets: { | ||
password: string; | ||
}; | ||
__typename?: "HdEcdsaP256PrivateKey" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
endpoints: { | ||
base: string; | ||
s3Api: string; | ||
}; | ||
secrets: { | ||
accessKey: string; | ||
secretKey: string; | ||
}; | ||
__typename?: "HsmEcDsaP256PrivateKey" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
read: (privatekeyId: Id) => Promise<{ | ||
__typename?: "AccessibleEcdsaP256PrivateKey" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "IPFS"; | ||
endpoints: { | ||
base: string; | ||
api: string; | ||
gateway: string; | ||
clusterApi: string; | ||
pinning: string; | ||
}; | ||
secrets: { | ||
password: string; | ||
}; | ||
__typename?: "HdEcdsaP256PrivateKey" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
endpoints: { | ||
base: string; | ||
s3Api: string; | ||
}; | ||
secrets: { | ||
accessKey: string; | ||
secretKey: string; | ||
}; | ||
__typename?: "HsmEcDsaP256PrivateKey" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
privateKey: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
insights: { | ||
list: (applicationId: Id) => Promise<({ | ||
__typename?: "BlockchainExplorer" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HD_ECDSA_P256"; | ||
__typename?: "HyperledgerExplorer" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "ECDSA"; | ||
address: string; | ||
publicKey: string; | ||
}>) | undefined; | ||
list: () => Promise<({ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HD_ECDSA_P256"; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "ECDSA"; | ||
address: string; | ||
publicKey: string; | ||
__typename?: "OtterscanBlockchainExplorer" | undefined; | ||
id: string; | ||
name: string; | ||
})[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
read: (insightsId: Id) => Promise<{ | ||
__typename?: "BlockchainExplorer" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HD_ECDSA_P256"; | ||
__typename?: "HyperledgerExplorer" | undefined; | ||
id: string; | ||
name: string; | ||
} | { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "ECDSA"; | ||
address: string; | ||
publicKey: string; | ||
__typename?: "OtterscanBlockchainExplorer" | undefined; | ||
id: string; | ||
name: string; | ||
}>; | ||
}; | ||
insights: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}>) | undefined; | ||
list: () => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}>; | ||
}; | ||
customDeployment: { | ||
update?: ((uniqueName: string, data: never) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}>) | undefined; | ||
list: () => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
list: (applicationId: Id) => Promise<{ | ||
id: string; | ||
name: string; | ||
}[]>; | ||
get: (uniqueName?: UniqueName) => Promise<{ | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
read: (customdeploymentId: Id) => Promise<{ | ||
id: string; | ||
name: string; | ||
}>; | ||
@@ -544,0 +807,0 @@ }; |
{ | ||
"name": "@settlemint/sdk-js", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.4.34-main1df4d5d", | ||
"version": "0.4.34-mainf9ff2f9", | ||
"type": "module", | ||
@@ -45,4 +45,8 @@ "private": false, | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"@0no-co/graphqlsp": "^1.12.16" | ||
}, | ||
"dependencies": { | ||
"gql.tada": "^1.8.9", | ||
"graphql-request": "^7.1.0", | ||
"zod": "^3.23.8" | ||
@@ -49,0 +53,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
1
135786
3
1
9
1806
+ Addedgql.tada@^1.8.9
+ Addedgraphql-request@^7.1.0
+ Added@0no-co/graphql.web@1.1.1(transitive)
+ Added@0no-co/graphqlsp@1.12.16(transitive)
+ Added@gql.tada/cli-utils@1.6.3(transitive)
+ Added@gql.tada/internal@1.0.8(transitive)
+ Added@graphql-typed-document-node/core@3.2.0(transitive)
+ Addedgql.tada@1.8.10(transitive)
+ Addedgraphql@16.10.0(transitive)
+ Addedgraphql-request@7.1.2(transitive)
+ Addedtypescript@5.7.3(transitive)