@settlemint/sdk-js 2.4.0-pr4e4fa21a → 2.4.0-pr533b825c
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 +405 -9
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +39 -21
- package/dist/settlemint.d.ts +18 -0
- package/dist/settlemint.js +405 -9
- package/dist/settlemint.js.map +1 -1
- package/package.json +2 -2
package/dist/settlemint.d.cts
CHANGED
|
@@ -4,14 +4,14 @@ import * as gql_tada1 from "gql.tada";
|
|
|
4
4
|
import * as gql_tada3 from "gql.tada";
|
|
5
5
|
import * as gql_tada5 from "gql.tada";
|
|
6
6
|
import * as gql_tada7 from "gql.tada";
|
|
7
|
+
import * as gql_tada10 from "gql.tada";
|
|
8
|
+
import * as gql_tada12 from "gql.tada";
|
|
9
|
+
import * as gql_tada14 from "gql.tada";
|
|
10
|
+
import * as gql_tada16 from "gql.tada";
|
|
7
11
|
import * as gql_tada9 from "gql.tada";
|
|
8
|
-
import * as gql_tada11 from "gql.tada";
|
|
9
|
-
import * as gql_tada13 from "gql.tada";
|
|
10
|
-
import * as gql_tada15 from "gql.tada";
|
|
11
|
-
import * as gql_tada18 from "gql.tada";
|
|
12
|
-
import * as gql_tada19 from "gql.tada";
|
|
13
12
|
import * as gql_tada21 from "gql.tada";
|
|
14
13
|
import * as gql_tada23 from "gql.tada";
|
|
14
|
+
import * as gql_tada19 from "gql.tada";
|
|
15
15
|
import { ResultOf, VariablesOf } from "gql.tada";
|
|
16
16
|
import { z } from "zod/v4";
|
|
17
17
|
|
|
@@ -147820,7 +147820,7 @@ type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment
|
|
|
147820
147820
|
/**
|
|
147821
147821
|
* GraphQL fragment containing core insights fields.
|
|
147822
147822
|
*/
|
|
147823
|
-
declare const InsightsFragment:
|
|
147823
|
+
declare const InsightsFragment: gql_tada10.TadaDocumentNode<{
|
|
147824
147824
|
__typename: "BlockchainExplorer";
|
|
147825
147825
|
id: string;
|
|
147826
147826
|
uniqueName: string;
|
|
@@ -147892,7 +147892,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
147892
147892
|
/**
|
|
147893
147893
|
* Mutation to create insights.
|
|
147894
147894
|
*/
|
|
147895
|
-
declare const createInsights:
|
|
147895
|
+
declare const createInsights: gql_tada10.TadaDocumentNode<{
|
|
147896
147896
|
createInsights: {
|
|
147897
147897
|
__typename: "BlockchainExplorer";
|
|
147898
147898
|
id: string;
|
|
@@ -147985,7 +147985,7 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
|
|
|
147985
147985
|
/**
|
|
147986
147986
|
* GraphQL fragment containing core integration fields.
|
|
147987
147987
|
*/
|
|
147988
|
-
declare const IntegrationFragment:
|
|
147988
|
+
declare const IntegrationFragment: gql_tada12.TadaDocumentNode<{
|
|
147989
147989
|
__typename: "Chainlink";
|
|
147990
147990
|
id: string;
|
|
147991
147991
|
uniqueName: string;
|
|
@@ -148077,7 +148077,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
148077
148077
|
/**
|
|
148078
148078
|
* Mutation to create a new integration.
|
|
148079
148079
|
*/
|
|
148080
|
-
declare const createIntegration:
|
|
148080
|
+
declare const createIntegration: gql_tada12.TadaDocumentNode<{
|
|
148081
148081
|
createIntegration: {
|
|
148082
148082
|
__typename: "Chainlink";
|
|
148083
148083
|
id: string;
|
|
@@ -148186,7 +148186,7 @@ type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "ap
|
|
|
148186
148186
|
/**
|
|
148187
148187
|
* GraphQL fragment containing core load balancer fields.
|
|
148188
148188
|
*/
|
|
148189
|
-
declare const LoadBalancerFragment:
|
|
148189
|
+
declare const LoadBalancerFragment: gql_tada14.TadaDocumentNode<{
|
|
148190
148190
|
__typename: "EVMLoadBalancer";
|
|
148191
148191
|
id: string;
|
|
148192
148192
|
uniqueName: string;
|
|
@@ -148226,7 +148226,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
148226
148226
|
/**
|
|
148227
148227
|
* Mutation to create a load balancer.
|
|
148228
148228
|
*/
|
|
148229
|
-
declare const createLoadBalancer:
|
|
148229
|
+
declare const createLoadBalancer: gql_tada14.TadaDocumentNode<{
|
|
148230
148230
|
createLoadBalancer: {
|
|
148231
148231
|
__typename: "EVMLoadBalancer";
|
|
148232
148232
|
id: string;
|
|
@@ -148286,7 +148286,7 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
|
|
|
148286
148286
|
/**
|
|
148287
148287
|
* GraphQL fragment containing core middleware fields.
|
|
148288
148288
|
*/
|
|
148289
|
-
declare const MiddlewareFragment:
|
|
148289
|
+
declare const MiddlewareFragment: gql_tada16.TadaDocumentNode<{
|
|
148290
148290
|
__typename: "AttestationIndexerMiddleware";
|
|
148291
148291
|
id: string;
|
|
148292
148292
|
uniqueName: string;
|
|
@@ -148453,7 +148453,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
148453
148453
|
/**
|
|
148454
148454
|
* Query to fetch a specific middleware with subgraphs.
|
|
148455
148455
|
*/
|
|
148456
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
148456
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada16.TadaDocumentNode<{
|
|
148457
148457
|
middlewareByUniqueName: {
|
|
148458
148458
|
__typename: "AttestationIndexerMiddleware";
|
|
148459
148459
|
id: string;
|
|
@@ -148628,7 +148628,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
148628
148628
|
/**
|
|
148629
148629
|
* Mutation to create a new middleware.
|
|
148630
148630
|
*/
|
|
148631
|
-
declare const createMiddleware:
|
|
148631
|
+
declare const createMiddleware: gql_tada16.TadaDocumentNode<{
|
|
148632
148632
|
createMiddleware: {
|
|
148633
148633
|
__typename: "AttestationIndexerMiddleware";
|
|
148634
148634
|
id: string;
|
|
@@ -148823,7 +148823,7 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
|
|
|
148823
148823
|
/**
|
|
148824
148824
|
* GraphQL query to fetch platform configuration.
|
|
148825
148825
|
*/
|
|
148826
|
-
declare const getPlatformConfigQuery:
|
|
148826
|
+
declare const getPlatformConfigQuery: gql_tada9.TadaDocumentNode<{
|
|
148827
148827
|
config: {
|
|
148828
148828
|
smartContractSets: {
|
|
148829
148829
|
id: string;
|
|
@@ -148879,7 +148879,7 @@ type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
|
|
|
148879
148879
|
/**
|
|
148880
148880
|
* GraphQL fragment containing core private key fields.
|
|
148881
148881
|
*/
|
|
148882
|
-
declare const PrivateKeyFragment:
|
|
148882
|
+
declare const PrivateKeyFragment: gql_tada21.TadaDocumentNode<{
|
|
148883
148883
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
148884
148884
|
id: string;
|
|
148885
148885
|
uniqueName: string;
|
|
@@ -149521,7 +149521,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
149521
149521
|
/**
|
|
149522
149522
|
* Mutation to create a new private key.
|
|
149523
149523
|
*/
|
|
149524
|
-
declare const createPrivateKey:
|
|
149524
|
+
declare const createPrivateKey: gql_tada21.TadaDocumentNode<{
|
|
149525
149525
|
createPrivateKey: {
|
|
149526
149526
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
149527
149527
|
id: string;
|
|
@@ -150186,7 +150186,7 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
|
|
|
150186
150186
|
/**
|
|
150187
150187
|
* GraphQL fragment containing core storage fields.
|
|
150188
150188
|
*/
|
|
150189
|
-
declare const StorageFragment:
|
|
150189
|
+
declare const StorageFragment: gql_tada23.TadaDocumentNode<{
|
|
150190
150190
|
__typename: "IPFSStorage";
|
|
150191
150191
|
id: string;
|
|
150192
150192
|
uniqueName: string;
|
|
@@ -150238,7 +150238,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
150238
150238
|
/**
|
|
150239
150239
|
* Mutation to create a new storage.
|
|
150240
150240
|
*/
|
|
150241
|
-
declare const createStorage:
|
|
150241
|
+
declare const createStorage: gql_tada23.TadaDocumentNode<{
|
|
150242
150242
|
createStorage: {
|
|
150243
150243
|
__typename: "IPFSStorage";
|
|
150244
150244
|
id: string;
|
|
@@ -150307,7 +150307,7 @@ type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"
|
|
|
150307
150307
|
/**
|
|
150308
150308
|
* GraphQL fragment containing core workspace fields.
|
|
150309
150309
|
*/
|
|
150310
|
-
declare const WorkspaceFragment:
|
|
150310
|
+
declare const WorkspaceFragment: gql_tada19.TadaDocumentNode<{
|
|
150311
150311
|
id: string;
|
|
150312
150312
|
uniqueName: string;
|
|
150313
150313
|
name: string;
|
|
@@ -150328,7 +150328,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
150328
150328
|
/**
|
|
150329
150329
|
* Mutation to create a new workspace.
|
|
150330
150330
|
*/
|
|
150331
|
-
declare const createWorkspace:
|
|
150331
|
+
declare const createWorkspace: gql_tada19.TadaDocumentNode<{
|
|
150332
150332
|
createWorkspace: {
|
|
150333
150333
|
id: string;
|
|
150334
150334
|
uniqueName: string;
|
|
@@ -150434,18 +150434,24 @@ interface SettlemintClient {
|
|
|
150434
150434
|
create: (args: CreateBlockchainNetworkArgs) => Promise<BlockchainNetwork>;
|
|
150435
150435
|
delete: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150436
150436
|
restart: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150437
|
+
pause: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150438
|
+
resume: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150437
150439
|
};
|
|
150438
150440
|
blockchainNode: {
|
|
150439
150441
|
list: (applicationUniqueName: string) => Promise<BlockchainNode[]>;
|
|
150440
150442
|
read: (blockchainNodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150441
150443
|
create: (args: CreateBlockchainNodeArgs) => Promise<BlockchainNode>;
|
|
150442
150444
|
restart: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150445
|
+
pause: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150446
|
+
resume: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150443
150447
|
};
|
|
150444
150448
|
loadBalancer: {
|
|
150445
150449
|
list: (applicationUniqueName: string) => Promise<LoadBalancer[]>;
|
|
150446
150450
|
read: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150447
150451
|
create: (args: CreateLoadBalancerArgs) => Promise<LoadBalancer>;
|
|
150448
150452
|
restart: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150453
|
+
pause: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150454
|
+
resume: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150449
150455
|
};
|
|
150450
150456
|
middleware: {
|
|
150451
150457
|
list: (applicationUniqueName: string) => Promise<Middleware[]>;
|
|
@@ -150453,30 +150459,40 @@ interface SettlemintClient {
|
|
|
150453
150459
|
graphSubgraphs: (middlewareUniqueName: string, noCache?: boolean) => Promise<MiddlewareWithSubgraphs>;
|
|
150454
150460
|
create: (args: CreateMiddlewareArgs) => Promise<Middleware>;
|
|
150455
150461
|
restart: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150462
|
+
pause: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150463
|
+
resume: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150456
150464
|
};
|
|
150457
150465
|
integrationTool: {
|
|
150458
150466
|
list: (applicationUniqueName: string) => Promise<IntegrationTool[]>;
|
|
150459
150467
|
read: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150460
150468
|
create: (args: CreateIntegrationToolArgs) => Promise<IntegrationTool>;
|
|
150461
150469
|
restart: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150470
|
+
pause: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150471
|
+
resume: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150462
150472
|
};
|
|
150463
150473
|
storage: {
|
|
150464
150474
|
list: (applicationUniqueName: string) => Promise<Storage[]>;
|
|
150465
150475
|
read: (storageUniqueName: string) => Promise<Storage>;
|
|
150466
150476
|
create: (args: CreateStorageArgs) => Promise<Storage>;
|
|
150467
150477
|
restart: (storageUniqueName: string) => Promise<Storage>;
|
|
150478
|
+
pause: (storageUniqueName: string) => Promise<Storage>;
|
|
150479
|
+
resume: (storageUniqueName: string) => Promise<Storage>;
|
|
150468
150480
|
};
|
|
150469
150481
|
privateKey: {
|
|
150470
150482
|
list: (applicationUniqueName: string) => Promise<PrivateKey[]>;
|
|
150471
150483
|
read: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150472
150484
|
create: (args: CreatePrivateKeyArgs) => Promise<PrivateKey>;
|
|
150473
150485
|
restart: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150486
|
+
pause: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150487
|
+
resume: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150474
150488
|
};
|
|
150475
150489
|
insights: {
|
|
150476
150490
|
list: (applicationUniqueName: string) => Promise<Insights[]>;
|
|
150477
150491
|
read: (insightsUniqueName: string) => Promise<Insights>;
|
|
150478
150492
|
create: (args: CreateInsightsArgs) => Promise<Insights>;
|
|
150479
150493
|
restart: (insightsUniqueName: string) => Promise<Insights>;
|
|
150494
|
+
pause: (insightsUniqueName: string) => Promise<Insights>;
|
|
150495
|
+
resume: (insightsUniqueName: string) => Promise<Insights>;
|
|
150480
150496
|
};
|
|
150481
150497
|
customDeployment: {
|
|
150482
150498
|
list: (applicationUniqueName: string) => Promise<CustomDeployment[]>;
|
|
@@ -150484,6 +150500,8 @@ interface SettlemintClient {
|
|
|
150484
150500
|
create: (args: CreateCustomDeploymentArgs) => Promise<CustomDeployment>;
|
|
150485
150501
|
update: (customDeploymentUniqueName: string, imageTag: string) => Promise<CustomDeployment>;
|
|
150486
150502
|
restart: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150503
|
+
pause: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150504
|
+
resume: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150487
150505
|
};
|
|
150488
150506
|
foundry: {
|
|
150489
150507
|
env: (blockchainNodeUniqueName: string) => Promise<Record<string, string>>;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -150435,18 +150435,24 @@ interface SettlemintClient {
|
|
|
150435
150435
|
create: (args: CreateBlockchainNetworkArgs) => Promise<BlockchainNetwork>;
|
|
150436
150436
|
delete: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150437
150437
|
restart: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150438
|
+
pause: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150439
|
+
resume: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150438
150440
|
};
|
|
150439
150441
|
blockchainNode: {
|
|
150440
150442
|
list: (applicationUniqueName: string) => Promise<BlockchainNode[]>;
|
|
150441
150443
|
read: (blockchainNodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150442
150444
|
create: (args: CreateBlockchainNodeArgs) => Promise<BlockchainNode>;
|
|
150443
150445
|
restart: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150446
|
+
pause: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150447
|
+
resume: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150444
150448
|
};
|
|
150445
150449
|
loadBalancer: {
|
|
150446
150450
|
list: (applicationUniqueName: string) => Promise<LoadBalancer[]>;
|
|
150447
150451
|
read: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150448
150452
|
create: (args: CreateLoadBalancerArgs) => Promise<LoadBalancer>;
|
|
150449
150453
|
restart: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150454
|
+
pause: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150455
|
+
resume: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150450
150456
|
};
|
|
150451
150457
|
middleware: {
|
|
150452
150458
|
list: (applicationUniqueName: string) => Promise<Middleware[]>;
|
|
@@ -150454,30 +150460,40 @@ interface SettlemintClient {
|
|
|
150454
150460
|
graphSubgraphs: (middlewareUniqueName: string, noCache?: boolean) => Promise<MiddlewareWithSubgraphs>;
|
|
150455
150461
|
create: (args: CreateMiddlewareArgs) => Promise<Middleware>;
|
|
150456
150462
|
restart: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150463
|
+
pause: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150464
|
+
resume: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150457
150465
|
};
|
|
150458
150466
|
integrationTool: {
|
|
150459
150467
|
list: (applicationUniqueName: string) => Promise<IntegrationTool[]>;
|
|
150460
150468
|
read: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150461
150469
|
create: (args: CreateIntegrationToolArgs) => Promise<IntegrationTool>;
|
|
150462
150470
|
restart: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150471
|
+
pause: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150472
|
+
resume: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150463
150473
|
};
|
|
150464
150474
|
storage: {
|
|
150465
150475
|
list: (applicationUniqueName: string) => Promise<Storage[]>;
|
|
150466
150476
|
read: (storageUniqueName: string) => Promise<Storage>;
|
|
150467
150477
|
create: (args: CreateStorageArgs) => Promise<Storage>;
|
|
150468
150478
|
restart: (storageUniqueName: string) => Promise<Storage>;
|
|
150479
|
+
pause: (storageUniqueName: string) => Promise<Storage>;
|
|
150480
|
+
resume: (storageUniqueName: string) => Promise<Storage>;
|
|
150469
150481
|
};
|
|
150470
150482
|
privateKey: {
|
|
150471
150483
|
list: (applicationUniqueName: string) => Promise<PrivateKey[]>;
|
|
150472
150484
|
read: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150473
150485
|
create: (args: CreatePrivateKeyArgs) => Promise<PrivateKey>;
|
|
150474
150486
|
restart: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150487
|
+
pause: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150488
|
+
resume: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150475
150489
|
};
|
|
150476
150490
|
insights: {
|
|
150477
150491
|
list: (applicationUniqueName: string) => Promise<Insights[]>;
|
|
150478
150492
|
read: (insightsUniqueName: string) => Promise<Insights>;
|
|
150479
150493
|
create: (args: CreateInsightsArgs) => Promise<Insights>;
|
|
150480
150494
|
restart: (insightsUniqueName: string) => Promise<Insights>;
|
|
150495
|
+
pause: (insightsUniqueName: string) => Promise<Insights>;
|
|
150496
|
+
resume: (insightsUniqueName: string) => Promise<Insights>;
|
|
150481
150497
|
};
|
|
150482
150498
|
customDeployment: {
|
|
150483
150499
|
list: (applicationUniqueName: string) => Promise<CustomDeployment[]>;
|
|
@@ -150485,6 +150501,8 @@ interface SettlemintClient {
|
|
|
150485
150501
|
create: (args: CreateCustomDeploymentArgs) => Promise<CustomDeployment>;
|
|
150486
150502
|
update: (customDeploymentUniqueName: string, imageTag: string) => Promise<CustomDeployment>;
|
|
150487
150503
|
restart: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150504
|
+
pause: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150505
|
+
resume: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150488
150506
|
};
|
|
150489
150507
|
foundry: {
|
|
150490
150508
|
env: (blockchainNodeUniqueName: string) => Promise<Record<string, string>>;
|