@settlemint/sdk-js 2.6.2-prf41b74b3 → 2.6.2-prf4f7dbcf
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 +14 -7
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +34 -26
- package/dist/settlemint.d.ts +8 -0
- 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_tada1 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";
|
|
@@ -17651,6 +17651,14 @@ type introspection_types = {
|
|
|
17651
17651
|
};
|
|
17652
17652
|
};
|
|
17653
17653
|
defaultValue: null;
|
|
17654
|
+
}, {
|
|
17655
|
+
name: 'preloadDatabaseSchema';
|
|
17656
|
+
type: {
|
|
17657
|
+
kind: 'SCALAR';
|
|
17658
|
+
name: 'Boolean';
|
|
17659
|
+
ofType: null;
|
|
17660
|
+
};
|
|
17661
|
+
defaultValue: null;
|
|
17654
17662
|
}, {
|
|
17655
17663
|
name: 'productName';
|
|
17656
17664
|
type: {
|
|
@@ -65364,7 +65372,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
65364
65372
|
/**
|
|
65365
65373
|
* GraphQL fragment containing core application fields.
|
|
65366
65374
|
*/
|
|
65367
|
-
declare const ApplicationFragment:
|
|
65375
|
+
declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
|
|
65368
65376
|
id: string;
|
|
65369
65377
|
uniqueName: string;
|
|
65370
65378
|
name: string;
|
|
@@ -65385,7 +65393,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
65385
65393
|
/**
|
|
65386
65394
|
* Mutation to create a new application.
|
|
65387
65395
|
*/
|
|
65388
|
-
declare const createApplication:
|
|
65396
|
+
declare const createApplication: gql_tada1.TadaDocumentNode<{
|
|
65389
65397
|
createApplication: {
|
|
65390
65398
|
id: string;
|
|
65391
65399
|
uniqueName: string;
|
|
@@ -65440,7 +65448,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
65440
65448
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
65441
65449
|
//#endregion
|
|
65442
65450
|
//#region src/graphql/application-access-tokens.d.ts
|
|
65443
|
-
declare const createApplicationAccessToken:
|
|
65451
|
+
declare const createApplicationAccessToken: gql_tada1.TadaDocumentNode<{
|
|
65444
65452
|
createApplicationAccessToken: {
|
|
65445
65453
|
token: string | null;
|
|
65446
65454
|
};
|
|
@@ -65504,7 +65512,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
65504
65512
|
/**
|
|
65505
65513
|
* Fragment containing core blockchain network fields.
|
|
65506
65514
|
*/
|
|
65507
|
-
declare const BlockchainNetworkFragment:
|
|
65515
|
+
declare const BlockchainNetworkFragment: gql_tada1.TadaDocumentNode<{
|
|
65508
65516
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
65509
65517
|
id: string;
|
|
65510
65518
|
uniqueName: string;
|
|
@@ -66402,7 +66410,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
66402
66410
|
/**
|
|
66403
66411
|
* Mutation to create a new blockchain network.
|
|
66404
66412
|
*/
|
|
66405
|
-
declare const createBlockchainNetwork:
|
|
66413
|
+
declare const createBlockchainNetwork: gql_tada1.TadaDocumentNode<{
|
|
66406
66414
|
createBlockchainNetwork: {
|
|
66407
66415
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
66408
66416
|
id: string;
|
|
@@ -68900,7 +68908,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
68900
68908
|
/**
|
|
68901
68909
|
* Fragment containing core blockchain node fields.
|
|
68902
68910
|
*/
|
|
68903
|
-
declare const BlockchainNodeFragment:
|
|
68911
|
+
declare const BlockchainNodeFragment: gql_tada1.TadaDocumentNode<{
|
|
68904
68912
|
__typename: "BesuIbftv2BlockchainNode";
|
|
68905
68913
|
id: string;
|
|
68906
68914
|
uniqueName: string;
|
|
@@ -69781,7 +69789,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
69781
69789
|
/**
|
|
69782
69790
|
* Mutation to create a blockchain node.
|
|
69783
69791
|
*/
|
|
69784
|
-
declare const createBlockchainNode:
|
|
69792
|
+
declare const createBlockchainNode: gql_tada1.TadaDocumentNode<{
|
|
69785
69793
|
createBlockchainNode: {
|
|
69786
69794
|
__typename: "BesuIbftv2BlockchainNode";
|
|
69787
69795
|
id: string;
|
|
@@ -70407,7 +70415,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
70407
70415
|
/**
|
|
70408
70416
|
* Fragment containing core custom deployment fields.
|
|
70409
70417
|
*/
|
|
70410
|
-
declare const CustomDeploymentFragment:
|
|
70418
|
+
declare const CustomDeploymentFragment: gql_tada1.TadaDocumentNode<{
|
|
70411
70419
|
id: string;
|
|
70412
70420
|
uniqueName: string;
|
|
70413
70421
|
name: string;
|
|
@@ -70437,7 +70445,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
70437
70445
|
/**
|
|
70438
70446
|
* Mutation to create a custom deployment.
|
|
70439
70447
|
*/
|
|
70440
|
-
declare const createCustomDeployment:
|
|
70448
|
+
declare const createCustomDeployment: gql_tada1.TadaDocumentNode<{
|
|
70441
70449
|
createCustomDeployment: {
|
|
70442
70450
|
id: string;
|
|
70443
70451
|
uniqueName: string;
|
|
@@ -70537,7 +70545,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
70537
70545
|
/**
|
|
70538
70546
|
* GraphQL fragment containing core insights fields.
|
|
70539
70547
|
*/
|
|
70540
|
-
declare const InsightsFragment:
|
|
70548
|
+
declare const InsightsFragment: gql_tada1.TadaDocumentNode<{
|
|
70541
70549
|
__typename: "BlockchainExplorer";
|
|
70542
70550
|
id: string;
|
|
70543
70551
|
uniqueName: string;
|
|
@@ -70609,7 +70617,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
70609
70617
|
/**
|
|
70610
70618
|
* Mutation to create insights.
|
|
70611
70619
|
*/
|
|
70612
|
-
declare const createInsights:
|
|
70620
|
+
declare const createInsights: gql_tada1.TadaDocumentNode<{
|
|
70613
70621
|
createInsights: {
|
|
70614
70622
|
__typename: "BlockchainExplorer";
|
|
70615
70623
|
id: string;
|
|
@@ -70743,7 +70751,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
70743
70751
|
/**
|
|
70744
70752
|
* GraphQL fragment containing core integration fields.
|
|
70745
70753
|
*/
|
|
70746
|
-
declare const IntegrationFragment:
|
|
70754
|
+
declare const IntegrationFragment: gql_tada1.TadaDocumentNode<{
|
|
70747
70755
|
__typename: "Chainlink";
|
|
70748
70756
|
id: string;
|
|
70749
70757
|
uniqueName: string;
|
|
@@ -70835,7 +70843,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
70835
70843
|
/**
|
|
70836
70844
|
* Mutation to create a new integration.
|
|
70837
70845
|
*/
|
|
70838
|
-
declare const createIntegration:
|
|
70846
|
+
declare const createIntegration: gql_tada1.TadaDocumentNode<{
|
|
70839
70847
|
createIntegration: {
|
|
70840
70848
|
__typename: "Chainlink";
|
|
70841
70849
|
id: string;
|
|
@@ -70985,7 +70993,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
70985
70993
|
/**
|
|
70986
70994
|
* GraphQL fragment containing core load balancer fields.
|
|
70987
70995
|
*/
|
|
70988
|
-
declare const LoadBalancerFragment:
|
|
70996
|
+
declare const LoadBalancerFragment: gql_tada1.TadaDocumentNode<{
|
|
70989
70997
|
__typename: "EVMLoadBalancer";
|
|
70990
70998
|
id: string;
|
|
70991
70999
|
uniqueName: string;
|
|
@@ -71025,7 +71033,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
71025
71033
|
/**
|
|
71026
71034
|
* Mutation to create a load balancer.
|
|
71027
71035
|
*/
|
|
71028
|
-
declare const createLoadBalancer:
|
|
71036
|
+
declare const createLoadBalancer: gql_tada1.TadaDocumentNode<{
|
|
71029
71037
|
createLoadBalancer: {
|
|
71030
71038
|
__typename: "EVMLoadBalancer";
|
|
71031
71039
|
id: string;
|
|
@@ -71126,7 +71134,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
71126
71134
|
/**
|
|
71127
71135
|
* GraphQL fragment containing core middleware fields.
|
|
71128
71136
|
*/
|
|
71129
|
-
declare const MiddlewareFragment:
|
|
71137
|
+
declare const MiddlewareFragment: gql_tada1.TadaDocumentNode<{
|
|
71130
71138
|
__typename: "AttestationIndexerMiddleware";
|
|
71131
71139
|
id: string;
|
|
71132
71140
|
uniqueName: string;
|
|
@@ -71294,7 +71302,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
71294
71302
|
/**
|
|
71295
71303
|
* Query to fetch a specific middleware with subgraphs.
|
|
71296
71304
|
*/
|
|
71297
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
71305
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada1.TadaDocumentNode<{
|
|
71298
71306
|
middlewareByUniqueName: {
|
|
71299
71307
|
__typename: "AttestationIndexerMiddleware";
|
|
71300
71308
|
id: string;
|
|
@@ -71477,7 +71485,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
71477
71485
|
/**
|
|
71478
71486
|
* Mutation to create a new middleware.
|
|
71479
71487
|
*/
|
|
71480
|
-
declare const createMiddleware:
|
|
71488
|
+
declare const createMiddleware: gql_tada1.TadaDocumentNode<{
|
|
71481
71489
|
createMiddleware: {
|
|
71482
71490
|
__typename: "AttestationIndexerMiddleware";
|
|
71483
71491
|
id: string;
|
|
@@ -71722,7 +71730,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
71722
71730
|
/**
|
|
71723
71731
|
* GraphQL query to fetch platform configuration.
|
|
71724
71732
|
*/
|
|
71725
|
-
declare const getPlatformConfigQuery:
|
|
71733
|
+
declare const getPlatformConfigQuery: gql_tada1.TadaDocumentNode<{
|
|
71726
71734
|
config: {
|
|
71727
71735
|
smartContractSets: {
|
|
71728
71736
|
id: string;
|
|
@@ -71779,7 +71787,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
71779
71787
|
/**
|
|
71780
71788
|
* GraphQL fragment containing core private key fields.
|
|
71781
71789
|
*/
|
|
71782
|
-
declare const PrivateKeyFragment:
|
|
71790
|
+
declare const PrivateKeyFragment: gql_tada1.TadaDocumentNode<{
|
|
71783
71791
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71784
71792
|
id: string;
|
|
71785
71793
|
uniqueName: string;
|
|
@@ -71986,7 +71994,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
71986
71994
|
/**
|
|
71987
71995
|
* Mutation to create a new private key.
|
|
71988
71996
|
*/
|
|
71989
|
-
declare const createPrivateKey:
|
|
71997
|
+
declare const createPrivateKey: gql_tada1.TadaDocumentNode<{
|
|
71990
71998
|
createPrivateKey: {
|
|
71991
71999
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71992
72000
|
id: string;
|
|
@@ -72257,7 +72265,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
72257
72265
|
/**
|
|
72258
72266
|
* GraphQL fragment containing core storage fields.
|
|
72259
72267
|
*/
|
|
72260
|
-
declare const StorageFragment:
|
|
72268
|
+
declare const StorageFragment: gql_tada1.TadaDocumentNode<{
|
|
72261
72269
|
__typename: "IPFSStorage";
|
|
72262
72270
|
id: string;
|
|
72263
72271
|
uniqueName: string;
|
|
@@ -72309,7 +72317,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
72309
72317
|
/**
|
|
72310
72318
|
* Mutation to create a new storage.
|
|
72311
72319
|
*/
|
|
72312
|
-
declare const createStorage:
|
|
72320
|
+
declare const createStorage: gql_tada1.TadaDocumentNode<{
|
|
72313
72321
|
createStorage: {
|
|
72314
72322
|
__typename: "IPFSStorage";
|
|
72315
72323
|
id: string;
|
|
@@ -72419,7 +72427,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
72419
72427
|
/**
|
|
72420
72428
|
* GraphQL fragment containing core workspace fields.
|
|
72421
72429
|
*/
|
|
72422
|
-
declare const WorkspaceFragment:
|
|
72430
|
+
declare const WorkspaceFragment: gql_tada1.TadaDocumentNode<{
|
|
72423
72431
|
id: string;
|
|
72424
72432
|
uniqueName: string;
|
|
72425
72433
|
name: string;
|
|
@@ -72440,7 +72448,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
72440
72448
|
/**
|
|
72441
72449
|
* Mutation to create a new workspace.
|
|
72442
72450
|
*/
|
|
72443
|
-
declare const createWorkspace:
|
|
72451
|
+
declare const createWorkspace: gql_tada1.TadaDocumentNode<{
|
|
72444
72452
|
createWorkspace: {
|
|
72445
72453
|
id: string;
|
|
72446
72454
|
uniqueName: string;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -17651,6 +17651,14 @@ type introspection_types = {
|
|
|
17651
17651
|
};
|
|
17652
17652
|
};
|
|
17653
17653
|
defaultValue: null;
|
|
17654
|
+
}, {
|
|
17655
|
+
name: 'preloadDatabaseSchema';
|
|
17656
|
+
type: {
|
|
17657
|
+
kind: 'SCALAR';
|
|
17658
|
+
name: 'Boolean';
|
|
17659
|
+
ofType: null;
|
|
17660
|
+
};
|
|
17661
|
+
defaultValue: null;
|
|
17654
17662
|
}, {
|
|
17655
17663
|
name: 'productName';
|
|
17656
17664
|
type: {
|