@settlemint/sdk-js
Advanced tools
Comparing version 0.4.32 to 0.4.33
@@ -1,768 +0,7 @@ | ||
import { z, ZodSchema } from 'zod'; | ||
import { z } from 'zod'; | ||
declare const AccessTokenSchema: z.ZodString; | ||
declare const UniqueNameSchema: z.ZodString; | ||
type UniqueName = z.infer<typeof UniqueNameSchema>; | ||
declare const SearchKeySchema: z.ZodString; | ||
declare const UrlSchema: z.ZodString; | ||
declare const ServiceTypeSchema: z.ZodEnum<["workspace", "application", "blockchain-network", "blockchain-node", "smart-contract-set", "middleware", "integration-tool", "storage", "private-key", "insights", "custom-deployment"]>; | ||
type ServiceType = z.infer<typeof ServiceTypeSchema>; | ||
declare const EthereumAddressSchema: z.ZodString; | ||
declare const EthereumPublicKeySchema: z.ZodString; | ||
declare const SettleMintClientEnvSchema: z.ZodObject<{ | ||
SETTLEMINT_ACCESS_TOKEN: z.ZodString; | ||
SETTLEMINT_INSTANCE: z.ZodString; | ||
SETTLEMINT_DEFAULT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_STORAGE: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_PRIVATE_KEY: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_INTEGRATION_TOOL: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_MIDDLEWARE: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_CUSTOM_DEPLOYMENT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_INSIGHTS: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_WORKSPACE: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_DEFAULT_APPLICATION: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
SETTLEMINT_ACCESS_TOKEN: string; | ||
SETTLEMINT_INSTANCE: string; | ||
SETTLEMINT_DEFAULT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_DEFAULT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_DEFAULT_STORAGE?: string | undefined; | ||
SETTLEMINT_DEFAULT_PRIVATE_KEY?: string | undefined; | ||
SETTLEMINT_DEFAULT_INTEGRATION_TOOL?: string | undefined; | ||
SETTLEMINT_DEFAULT_MIDDLEWARE?: string | undefined; | ||
SETTLEMINT_DEFAULT_CUSTOM_DEPLOYMENT?: string | undefined; | ||
SETTLEMINT_DEFAULT_INSIGHTS?: string | undefined; | ||
SETTLEMINT_DEFAULT_WORKSPACE?: string | undefined; | ||
SETTLEMINT_DEFAULT_APPLICATION?: string | undefined; | ||
}, { | ||
SETTLEMINT_ACCESS_TOKEN: string; | ||
SETTLEMINT_INSTANCE: string; | ||
SETTLEMINT_DEFAULT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_DEFAULT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_DEFAULT_STORAGE?: string | undefined; | ||
SETTLEMINT_DEFAULT_PRIVATE_KEY?: string | undefined; | ||
SETTLEMINT_DEFAULT_INTEGRATION_TOOL?: string | undefined; | ||
SETTLEMINT_DEFAULT_MIDDLEWARE?: string | undefined; | ||
SETTLEMINT_DEFAULT_CUSTOM_DEPLOYMENT?: string | undefined; | ||
SETTLEMINT_DEFAULT_INSIGHTS?: string | undefined; | ||
SETTLEMINT_DEFAULT_WORKSPACE?: string | undefined; | ||
SETTLEMINT_DEFAULT_APPLICATION?: string | undefined; | ||
}>; | ||
declare const WorkspaceReturnValueSchema: z.ZodObject<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, {}>, "strip", z.ZodTypeAny, { | ||
uniqueName: string; | ||
displayName: string; | ||
}, { | ||
uniqueName: string; | ||
displayName: string; | ||
}>; | ||
type WorkspaceReturnValue = z.infer<typeof WorkspaceReturnValueSchema>; | ||
declare const ApplicationReturnValueSchema: z.ZodObject<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
uniqueName: string; | ||
displayName: string; | ||
}, { | ||
workspace: string; | ||
uniqueName: string; | ||
displayName: string; | ||
}>; | ||
type ApplicationReturnValue = z.infer<typeof ApplicationReturnValueSchema>; | ||
declare const BlockchainNetworkReturnValueSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
chainId: z.ZodString; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
chainId: string; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
chainId: string; | ||
}>; | ||
type BlockchainNetworkReturnValue = z.infer<typeof BlockchainNetworkReturnValueSchema>; | ||
declare const BlockchainNodeReturnValueSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
network: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
jsonRpc: z.ZodString; | ||
jsonWs: z.ZodString; | ||
graphQl: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}, { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
network: string; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
network: string; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
}>; | ||
type BlockchainNodeReturnValue = z.infer<typeof BlockchainNodeReturnValueSchema>; | ||
declare const MiddlewareReturnValueSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"SMART_CONTRACT_PORTAL">; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
jsonRpc: z.ZodString; | ||
jsonWs: z.ZodString; | ||
graphQl: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}, { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "SMART_CONTRACT_PORTAL"; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "SMART_CONTRACT_PORTAL"; | ||
endpoints: { | ||
base: string; | ||
jsonRpc: string; | ||
jsonWs: string; | ||
graphQl: string; | ||
}; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"HA_GRAPH">; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
subgraph: z.ZodString; | ||
defaultSubgraph: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}, { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HA_GRAPH"; | ||
endpoints: { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HA_GRAPH"; | ||
endpoints: { | ||
base: string; | ||
subgraph: string; | ||
defaultSubgraph: string; | ||
}; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
}>]>; | ||
type MiddlewareReturnValue = z.infer<typeof MiddlewareReturnValueSchema>; | ||
declare const IntegrationToolReturnValueSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"HASURA">; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
graphQl: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
graphQl: string; | ||
}, { | ||
base: string; | ||
graphQl: string; | ||
}>; | ||
secrets: z.ZodObject<{ | ||
adminSecret: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
adminSecret: string; | ||
}, { | ||
adminSecret: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HASURA"; | ||
endpoints: { | ||
base: string; | ||
graphQl: string; | ||
}; | ||
secrets: { | ||
adminSecret: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HASURA"; | ||
endpoints: { | ||
base: string; | ||
graphQl: string; | ||
}; | ||
secrets: { | ||
adminSecret: string; | ||
}; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
}>]>; | ||
type IntegrationToolReturnValue = z.infer<typeof IntegrationToolReturnValueSchema>; | ||
declare const StorageReturnValueSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"IPFS">; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
api: z.ZodString; | ||
gateway: z.ZodString; | ||
clusterApi: z.ZodString; | ||
pinning: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
api: string; | ||
gateway: string; | ||
clusterApi: string; | ||
pinning: string; | ||
}, { | ||
base: string; | ||
api: string; | ||
gateway: string; | ||
clusterApi: string; | ||
pinning: string; | ||
}>; | ||
secrets: z.ZodObject<{ | ||
password: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
password: string; | ||
}, { | ||
password: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "IPFS"; | ||
endpoints: { | ||
base: string; | ||
api: string; | ||
gateway: string; | ||
clusterApi: string; | ||
pinning: string; | ||
}; | ||
secrets: { | ||
password: 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; | ||
}; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"MINIO">; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
s3Api: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
s3Api: string; | ||
}, { | ||
base: string; | ||
s3Api: string; | ||
}>; | ||
secrets: z.ZodObject<{ | ||
accessKey: z.ZodString; | ||
secretKey: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
accessKey: string; | ||
secretKey: string; | ||
}, { | ||
accessKey: string; | ||
secretKey: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
endpoints: { | ||
base: string; | ||
s3Api: string; | ||
}; | ||
secrets: { | ||
accessKey: string; | ||
secretKey: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
endpoints: { | ||
base: string; | ||
s3Api: string; | ||
}; | ||
secrets: { | ||
accessKey: string; | ||
secretKey: string; | ||
}; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
}>]>; | ||
type StorageReturnValue = z.infer<typeof StorageReturnValueSchema>; | ||
declare const PrivateKeyReturnValueSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"HD_ECDSA_P256">; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HD_ECDSA_P256"; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "HD_ECDSA_P256"; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodLiteral<"MINIO">; | ||
address: z.ZodString; | ||
publicKey: z.ZodString; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
address: string; | ||
publicKey: string; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: "MINIO"; | ||
address: string; | ||
publicKey: string; | ||
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
}>]>; | ||
type PrivateKeyReturnValue = z.infer<typeof PrivateKeyReturnValueSchema>; | ||
declare const InsightsReturnValueSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
protocol: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}>; | ||
type InsightsReturnValue = z.infer<typeof InsightsReturnValueSchema>; | ||
declare const CustomDeploymentReturnValueSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ | ||
uniqueName: z.ZodString; | ||
displayName: z.ZodString; | ||
}, { | ||
workspace: z.ZodString; | ||
application: z.ZodString; | ||
}>, { | ||
serviceSubType: z.ZodString; | ||
protocol: z.ZodString; | ||
endpoints: z.ZodObject<{ | ||
base: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
base: string; | ||
}, { | ||
base: string; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}, { | ||
workspace: string; | ||
application: string; | ||
uniqueName: string; | ||
displayName: string; | ||
serviceSubType: string; | ||
endpoints: { | ||
base: string; | ||
}; | ||
protocol: string; | ||
}>; | ||
type CustomDeploymentReturnValue = z.infer<typeof CustomDeploymentReturnValueSchema>; | ||
declare const schemas_AccessTokenSchema: typeof AccessTokenSchema; | ||
type schemas_ApplicationReturnValue = ApplicationReturnValue; | ||
declare const schemas_ApplicationReturnValueSchema: typeof ApplicationReturnValueSchema; | ||
type schemas_BlockchainNetworkReturnValue = BlockchainNetworkReturnValue; | ||
declare const schemas_BlockchainNetworkReturnValueSchema: typeof BlockchainNetworkReturnValueSchema; | ||
type schemas_BlockchainNodeReturnValue = BlockchainNodeReturnValue; | ||
declare const schemas_BlockchainNodeReturnValueSchema: typeof BlockchainNodeReturnValueSchema; | ||
type schemas_CustomDeploymentReturnValue = CustomDeploymentReturnValue; | ||
declare const schemas_CustomDeploymentReturnValueSchema: typeof CustomDeploymentReturnValueSchema; | ||
declare const schemas_EthereumAddressSchema: typeof EthereumAddressSchema; | ||
declare const schemas_EthereumPublicKeySchema: typeof EthereumPublicKeySchema; | ||
type schemas_InsightsReturnValue = InsightsReturnValue; | ||
declare const schemas_InsightsReturnValueSchema: typeof InsightsReturnValueSchema; | ||
type schemas_IntegrationToolReturnValue = IntegrationToolReturnValue; | ||
declare const schemas_IntegrationToolReturnValueSchema: typeof IntegrationToolReturnValueSchema; | ||
type schemas_MiddlewareReturnValue = MiddlewareReturnValue; | ||
declare const schemas_MiddlewareReturnValueSchema: typeof MiddlewareReturnValueSchema; | ||
type schemas_PrivateKeyReturnValue = PrivateKeyReturnValue; | ||
declare const schemas_PrivateKeyReturnValueSchema: typeof PrivateKeyReturnValueSchema; | ||
declare const schemas_SearchKeySchema: typeof SearchKeySchema; | ||
type schemas_ServiceType = ServiceType; | ||
declare const schemas_ServiceTypeSchema: typeof ServiceTypeSchema; | ||
declare const schemas_SettleMintClientEnvSchema: typeof SettleMintClientEnvSchema; | ||
type schemas_StorageReturnValue = StorageReturnValue; | ||
declare const schemas_StorageReturnValueSchema: typeof StorageReturnValueSchema; | ||
type schemas_UniqueName = UniqueName; | ||
declare const schemas_UniqueNameSchema: typeof UniqueNameSchema; | ||
declare const schemas_UrlSchema: typeof UrlSchema; | ||
type schemas_WorkspaceReturnValue = WorkspaceReturnValue; | ||
declare const schemas_WorkspaceReturnValueSchema: typeof WorkspaceReturnValueSchema; | ||
declare namespace schemas { | ||
export { schemas_AccessTokenSchema as AccessTokenSchema, type schemas_ApplicationReturnValue as ApplicationReturnValue, schemas_ApplicationReturnValueSchema as ApplicationReturnValueSchema, type schemas_BlockchainNetworkReturnValue as BlockchainNetworkReturnValue, schemas_BlockchainNetworkReturnValueSchema as BlockchainNetworkReturnValueSchema, type schemas_BlockchainNodeReturnValue as BlockchainNodeReturnValue, schemas_BlockchainNodeReturnValueSchema as BlockchainNodeReturnValueSchema, type schemas_CustomDeploymentReturnValue as CustomDeploymentReturnValue, schemas_CustomDeploymentReturnValueSchema as CustomDeploymentReturnValueSchema, schemas_EthereumAddressSchema as EthereumAddressSchema, schemas_EthereumPublicKeySchema as EthereumPublicKeySchema, type schemas_InsightsReturnValue as InsightsReturnValue, schemas_InsightsReturnValueSchema as InsightsReturnValueSchema, type schemas_IntegrationToolReturnValue as IntegrationToolReturnValue, schemas_IntegrationToolReturnValueSchema as IntegrationToolReturnValueSchema, type schemas_MiddlewareReturnValue as MiddlewareReturnValue, schemas_MiddlewareReturnValueSchema as MiddlewareReturnValueSchema, type schemas_PrivateKeyReturnValue as PrivateKeyReturnValue, schemas_PrivateKeyReturnValueSchema as PrivateKeyReturnValueSchema, schemas_SearchKeySchema as SearchKeySchema, type schemas_ServiceType as ServiceType, schemas_ServiceTypeSchema as ServiceTypeSchema, schemas_SettleMintClientEnvSchema as SettleMintClientEnvSchema, type schemas_StorageReturnValue as StorageReturnValue, schemas_StorageReturnValueSchema as StorageReturnValueSchema, type schemas_UniqueName as UniqueName, schemas_UniqueNameSchema as UniqueNameSchema, schemas_UrlSchema as UrlSchema, type schemas_WorkspaceReturnValue as WorkspaceReturnValue, schemas_WorkspaceReturnValueSchema as WorkspaceReturnValueSchema }; | ||
} | ||
/** | ||
* Validates the given value against the provided Zod schema. | ||
* @param schema The Zod schema to validate against. | ||
* @param value The value to validate. | ||
* @returns The validated and parsed data if successful. | ||
* @throws {Error} If validation fails, with a formatted error message. | ||
*/ | ||
declare function validate<T extends ZodSchema>(schema: T, value: unknown): T["_output"]; | ||
declare const validator_validate: typeof validate; | ||
declare namespace validator { | ||
export { validator_validate as validate }; | ||
} | ||
/** | ||
* Creates a SettleMint client with methods to interact with various resources. | ||
@@ -1308,2 +547,2 @@ * @returns An object containing methods to interact with SettleMint resources. | ||
export { createSettleMintClient, validator as schemaValidator, schemas }; | ||
export { createSettleMintClient }; |
{ | ||
"name": "@settlemint/sdk-js", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.4.32", | ||
"version": "0.4.33", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "private": false, |
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
190881
15
2401