@settlemint/sdk-js 2.6.2-main01bd70e9 → 2.6.2-main13306384
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/settlemint.cjs +7 -14
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +26 -26
- package/dist/settlemint.js.map +1 -1
- package/package.json +2 -2
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* SettleMint SDK - Main Package */
|
|
2
2
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
3
|
-
import * as
|
|
3
|
+
import * as gql_tada0 from "gql.tada";
|
|
4
4
|
import { ResultOf, VariablesOf, initGraphQLTada } from "gql.tada";
|
|
5
5
|
import { GraphQLClient } from "graphql-request";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -65372,7 +65372,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
65372
65372
|
/**
|
|
65373
65373
|
* GraphQL fragment containing core application fields.
|
|
65374
65374
|
*/
|
|
65375
|
-
declare const ApplicationFragment:
|
|
65375
|
+
declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
|
|
65376
65376
|
id: string;
|
|
65377
65377
|
uniqueName: string;
|
|
65378
65378
|
name: string;
|
|
@@ -65393,7 +65393,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
65393
65393
|
/**
|
|
65394
65394
|
* Mutation to create a new application.
|
|
65395
65395
|
*/
|
|
65396
|
-
declare const createApplication:
|
|
65396
|
+
declare const createApplication: gql_tada0.TadaDocumentNode<{
|
|
65397
65397
|
createApplication: {
|
|
65398
65398
|
id: string;
|
|
65399
65399
|
uniqueName: string;
|
|
@@ -65448,7 +65448,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
65448
65448
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
65449
65449
|
//#endregion
|
|
65450
65450
|
//#region src/graphql/application-access-tokens.d.ts
|
|
65451
|
-
declare const createApplicationAccessToken:
|
|
65451
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
65452
65452
|
createApplicationAccessToken: {
|
|
65453
65453
|
token: string | null;
|
|
65454
65454
|
};
|
|
@@ -65512,7 +65512,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
65512
65512
|
/**
|
|
65513
65513
|
* Fragment containing core blockchain network fields.
|
|
65514
65514
|
*/
|
|
65515
|
-
declare const BlockchainNetworkFragment:
|
|
65515
|
+
declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
|
|
65516
65516
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
65517
65517
|
id: string;
|
|
65518
65518
|
uniqueName: string;
|
|
@@ -66410,7 +66410,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
66410
66410
|
/**
|
|
66411
66411
|
* Mutation to create a new blockchain network.
|
|
66412
66412
|
*/
|
|
66413
|
-
declare const createBlockchainNetwork:
|
|
66413
|
+
declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
66414
66414
|
createBlockchainNetwork: {
|
|
66415
66415
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
66416
66416
|
id: string;
|
|
@@ -68907,7 +68907,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
68907
68907
|
/**
|
|
68908
68908
|
* Fragment containing core blockchain node fields.
|
|
68909
68909
|
*/
|
|
68910
|
-
declare const BlockchainNodeFragment:
|
|
68910
|
+
declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
|
|
68911
68911
|
__typename: "BesuIbftv2BlockchainNode";
|
|
68912
68912
|
id: string;
|
|
68913
68913
|
uniqueName: string;
|
|
@@ -69788,7 +69788,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
69788
69788
|
/**
|
|
69789
69789
|
* Mutation to create a blockchain node.
|
|
69790
69790
|
*/
|
|
69791
|
-
declare const createBlockchainNode:
|
|
69791
|
+
declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
|
|
69792
69792
|
createBlockchainNode: {
|
|
69793
69793
|
__typename: "BesuIbftv2BlockchainNode";
|
|
69794
69794
|
id: string;
|
|
@@ -70414,7 +70414,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
70414
70414
|
/**
|
|
70415
70415
|
* Fragment containing core custom deployment fields.
|
|
70416
70416
|
*/
|
|
70417
|
-
declare const CustomDeploymentFragment:
|
|
70417
|
+
declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
|
|
70418
70418
|
id: string;
|
|
70419
70419
|
uniqueName: string;
|
|
70420
70420
|
name: string;
|
|
@@ -70444,7 +70444,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
70444
70444
|
/**
|
|
70445
70445
|
* Mutation to create a custom deployment.
|
|
70446
70446
|
*/
|
|
70447
|
-
declare const createCustomDeployment:
|
|
70447
|
+
declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
|
|
70448
70448
|
createCustomDeployment: {
|
|
70449
70449
|
id: string;
|
|
70450
70450
|
uniqueName: string;
|
|
@@ -70544,7 +70544,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
70544
70544
|
/**
|
|
70545
70545
|
* GraphQL fragment containing core insights fields.
|
|
70546
70546
|
*/
|
|
70547
|
-
declare const InsightsFragment:
|
|
70547
|
+
declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
|
|
70548
70548
|
__typename: "BlockchainExplorer";
|
|
70549
70549
|
id: string;
|
|
70550
70550
|
uniqueName: string;
|
|
@@ -70616,7 +70616,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
70616
70616
|
/**
|
|
70617
70617
|
* Mutation to create insights.
|
|
70618
70618
|
*/
|
|
70619
|
-
declare const createInsights:
|
|
70619
|
+
declare const createInsights: gql_tada0.TadaDocumentNode<{
|
|
70620
70620
|
createInsights: {
|
|
70621
70621
|
__typename: "BlockchainExplorer";
|
|
70622
70622
|
id: string;
|
|
@@ -70750,7 +70750,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
70750
70750
|
/**
|
|
70751
70751
|
* GraphQL fragment containing core integration fields.
|
|
70752
70752
|
*/
|
|
70753
|
-
declare const IntegrationFragment:
|
|
70753
|
+
declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
|
|
70754
70754
|
__typename: "Chainlink";
|
|
70755
70755
|
id: string;
|
|
70756
70756
|
uniqueName: string;
|
|
@@ -70842,7 +70842,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
70842
70842
|
/**
|
|
70843
70843
|
* Mutation to create a new integration.
|
|
70844
70844
|
*/
|
|
70845
|
-
declare const createIntegration:
|
|
70845
|
+
declare const createIntegration: gql_tada0.TadaDocumentNode<{
|
|
70846
70846
|
createIntegration: {
|
|
70847
70847
|
__typename: "Chainlink";
|
|
70848
70848
|
id: string;
|
|
@@ -70992,7 +70992,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
70992
70992
|
/**
|
|
70993
70993
|
* GraphQL fragment containing core load balancer fields.
|
|
70994
70994
|
*/
|
|
70995
|
-
declare const LoadBalancerFragment:
|
|
70995
|
+
declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
|
|
70996
70996
|
__typename: "EVMLoadBalancer";
|
|
70997
70997
|
id: string;
|
|
70998
70998
|
uniqueName: string;
|
|
@@ -71032,7 +71032,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
71032
71032
|
/**
|
|
71033
71033
|
* Mutation to create a load balancer.
|
|
71034
71034
|
*/
|
|
71035
|
-
declare const createLoadBalancer:
|
|
71035
|
+
declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
|
|
71036
71036
|
createLoadBalancer: {
|
|
71037
71037
|
__typename: "EVMLoadBalancer";
|
|
71038
71038
|
id: string;
|
|
@@ -71133,7 +71133,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
71133
71133
|
/**
|
|
71134
71134
|
* GraphQL fragment containing core middleware fields.
|
|
71135
71135
|
*/
|
|
71136
|
-
declare const MiddlewareFragment:
|
|
71136
|
+
declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
|
|
71137
71137
|
__typename: "AttestationIndexerMiddleware";
|
|
71138
71138
|
id: string;
|
|
71139
71139
|
uniqueName: string;
|
|
@@ -71301,7 +71301,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
71301
71301
|
/**
|
|
71302
71302
|
* Query to fetch a specific middleware with subgraphs.
|
|
71303
71303
|
*/
|
|
71304
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
71304
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
|
|
71305
71305
|
middlewareByUniqueName: {
|
|
71306
71306
|
__typename: "AttestationIndexerMiddleware";
|
|
71307
71307
|
id: string;
|
|
@@ -71484,7 +71484,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
71484
71484
|
/**
|
|
71485
71485
|
* Mutation to create a new middleware.
|
|
71486
71486
|
*/
|
|
71487
|
-
declare const createMiddleware:
|
|
71487
|
+
declare const createMiddleware: gql_tada0.TadaDocumentNode<{
|
|
71488
71488
|
createMiddleware: {
|
|
71489
71489
|
__typename: "AttestationIndexerMiddleware";
|
|
71490
71490
|
id: string;
|
|
@@ -71729,7 +71729,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
71729
71729
|
/**
|
|
71730
71730
|
* GraphQL query to fetch platform configuration.
|
|
71731
71731
|
*/
|
|
71732
|
-
declare const getPlatformConfigQuery:
|
|
71732
|
+
declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
|
|
71733
71733
|
config: {
|
|
71734
71734
|
smartContractSets: {
|
|
71735
71735
|
id: string;
|
|
@@ -71786,7 +71786,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
71786
71786
|
/**
|
|
71787
71787
|
* GraphQL fragment containing core private key fields.
|
|
71788
71788
|
*/
|
|
71789
|
-
declare const PrivateKeyFragment:
|
|
71789
|
+
declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
|
|
71790
71790
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71791
71791
|
id: string;
|
|
71792
71792
|
uniqueName: string;
|
|
@@ -71993,7 +71993,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
71993
71993
|
/**
|
|
71994
71994
|
* Mutation to create a new private key.
|
|
71995
71995
|
*/
|
|
71996
|
-
declare const createPrivateKey:
|
|
71996
|
+
declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
|
|
71997
71997
|
createPrivateKey: {
|
|
71998
71998
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71999
71999
|
id: string;
|
|
@@ -72264,7 +72264,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
72264
72264
|
/**
|
|
72265
72265
|
* GraphQL fragment containing core storage fields.
|
|
72266
72266
|
*/
|
|
72267
|
-
declare const StorageFragment:
|
|
72267
|
+
declare const StorageFragment: gql_tada0.TadaDocumentNode<{
|
|
72268
72268
|
__typename: "IPFSStorage";
|
|
72269
72269
|
id: string;
|
|
72270
72270
|
uniqueName: string;
|
|
@@ -72316,7 +72316,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
72316
72316
|
/**
|
|
72317
72317
|
* Mutation to create a new storage.
|
|
72318
72318
|
*/
|
|
72319
|
-
declare const createStorage:
|
|
72319
|
+
declare const createStorage: gql_tada0.TadaDocumentNode<{
|
|
72320
72320
|
createStorage: {
|
|
72321
72321
|
__typename: "IPFSStorage";
|
|
72322
72322
|
id: string;
|
|
@@ -72426,7 +72426,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
72426
72426
|
/**
|
|
72427
72427
|
* GraphQL fragment containing core workspace fields.
|
|
72428
72428
|
*/
|
|
72429
|
-
declare const WorkspaceFragment:
|
|
72429
|
+
declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
|
|
72430
72430
|
id: string;
|
|
72431
72431
|
uniqueName: string;
|
|
72432
72432
|
name: string;
|
|
@@ -72447,7 +72447,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
72447
72447
|
/**
|
|
72448
72448
|
* Mutation to create a new workspace.
|
|
72449
72449
|
*/
|
|
72450
|
-
declare const createWorkspace:
|
|
72450
|
+
declare const createWorkspace: gql_tada0.TadaDocumentNode<{
|
|
72451
72451
|
createWorkspace: {
|
|
72452
72452
|
id: string;
|
|
72453
72453
|
uniqueName: string;
|