@settlemint/sdk-js 2.6.2-pr7d8c4e64 → 2.6.2-pr8867095e

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.
@@ -1,6 +1,6 @@
1
1
  /* SettleMint SDK - Main Package */
2
2
  import { Id } from "@settlemint/sdk-utils/validation";
3
- import * as gql_tada0 from "gql.tada";
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";
@@ -6217,6 +6217,14 @@ type introspection_types = {
6217
6217
  };
6218
6218
  };
6219
6219
  };
6220
+ 'genesisArtifactsTag': {
6221
+ name: 'genesisArtifactsTag';
6222
+ type: {
6223
+ kind: 'SCALAR';
6224
+ name: 'String';
6225
+ ofType: null;
6226
+ };
6227
+ };
6220
6228
  'genesisWithDiscoveryConfig': {
6221
6229
  name: 'genesisWithDiscoveryConfig';
6222
6230
  type: {
@@ -8511,6 +8519,14 @@ type introspection_types = {
8511
8519
  };
8512
8520
  };
8513
8521
  };
8522
+ 'genesisArtifactsTag': {
8523
+ name: 'genesisArtifactsTag';
8524
+ type: {
8525
+ kind: 'SCALAR';
8526
+ name: 'String';
8527
+ ofType: null;
8528
+ };
8529
+ };
8514
8530
  'genesisWithDiscoveryConfig': {
8515
8531
  name: 'genesisWithDiscoveryConfig';
8516
8532
  type: {
@@ -65372,7 +65388,7 @@ declare const graphql: initGraphQLTada<{
65372
65388
  /**
65373
65389
  * GraphQL fragment containing core application fields.
65374
65390
  */
65375
- declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
65391
+ declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
65376
65392
  id: string;
65377
65393
  uniqueName: string;
65378
65394
  name: string;
@@ -65393,7 +65409,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
65393
65409
  /**
65394
65410
  * Mutation to create a new application.
65395
65411
  */
65396
- declare const createApplication: gql_tada0.TadaDocumentNode<{
65412
+ declare const createApplication: gql_tada1.TadaDocumentNode<{
65397
65413
  createApplication: {
65398
65414
  id: string;
65399
65415
  uniqueName: string;
@@ -65448,7 +65464,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
65448
65464
  declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
65449
65465
  //#endregion
65450
65466
  //#region src/graphql/application-access-tokens.d.ts
65451
- declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
65467
+ declare const createApplicationAccessToken: gql_tada1.TadaDocumentNode<{
65452
65468
  createApplicationAccessToken: {
65453
65469
  token: string | null;
65454
65470
  };
@@ -65512,7 +65528,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
65512
65528
  /**
65513
65529
  * Fragment containing core blockchain network fields.
65514
65530
  */
65515
- declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
65531
+ declare const BlockchainNetworkFragment: gql_tada1.TadaDocumentNode<{
65516
65532
  __typename: "BesuIbftv2BlockchainNetwork";
65517
65533
  id: string;
65518
65534
  uniqueName: string;
@@ -66410,7 +66426,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
66410
66426
  /**
66411
66427
  * Mutation to create a new blockchain network.
66412
66428
  */
66413
- declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
66429
+ declare const createBlockchainNetwork: gql_tada1.TadaDocumentNode<{
66414
66430
  createBlockchainNetwork: {
66415
66431
  __typename: "BesuIbftv2BlockchainNetwork";
66416
66432
  id: string;
@@ -66977,6 +66993,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
66977
66993
  })[];
66978
66994
  };
66979
66995
  }, {
66996
+ includePredeployedContracts?: boolean | null | undefined;
66980
66997
  privateKeyId?: string | null | undefined;
66981
66998
  externalNodes?: {
66982
66999
  nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
@@ -68907,7 +68924,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
68907
68924
  /**
68908
68925
  * Fragment containing core blockchain node fields.
68909
68926
  */
68910
- declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
68927
+ declare const BlockchainNodeFragment: gql_tada1.TadaDocumentNode<{
68911
68928
  __typename: "BesuIbftv2BlockchainNode";
68912
68929
  id: string;
68913
68930
  uniqueName: string;
@@ -69788,7 +69805,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
69788
69805
  /**
69789
69806
  * Mutation to create a blockchain node.
69790
69807
  */
69791
- declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
69808
+ declare const createBlockchainNode: gql_tada1.TadaDocumentNode<{
69792
69809
  createBlockchainNode: {
69793
69810
  __typename: "BesuIbftv2BlockchainNode";
69794
69811
  id: string;
@@ -70414,7 +70431,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
70414
70431
  /**
70415
70432
  * Fragment containing core custom deployment fields.
70416
70433
  */
70417
- declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
70434
+ declare const CustomDeploymentFragment: gql_tada1.TadaDocumentNode<{
70418
70435
  id: string;
70419
70436
  uniqueName: string;
70420
70437
  name: string;
@@ -70444,7 +70461,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
70444
70461
  /**
70445
70462
  * Mutation to create a custom deployment.
70446
70463
  */
70447
- declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
70464
+ declare const createCustomDeployment: gql_tada1.TadaDocumentNode<{
70448
70465
  createCustomDeployment: {
70449
70466
  id: string;
70450
70467
  uniqueName: string;
@@ -70544,7 +70561,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
70544
70561
  /**
70545
70562
  * GraphQL fragment containing core insights fields.
70546
70563
  */
70547
- declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
70564
+ declare const InsightsFragment: gql_tada1.TadaDocumentNode<{
70548
70565
  __typename: "BlockchainExplorer";
70549
70566
  id: string;
70550
70567
  uniqueName: string;
@@ -70616,7 +70633,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
70616
70633
  /**
70617
70634
  * Mutation to create insights.
70618
70635
  */
70619
- declare const createInsights: gql_tada0.TadaDocumentNode<{
70636
+ declare const createInsights: gql_tada1.TadaDocumentNode<{
70620
70637
  createInsights: {
70621
70638
  __typename: "BlockchainExplorer";
70622
70639
  id: string;
@@ -70750,7 +70767,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
70750
70767
  /**
70751
70768
  * GraphQL fragment containing core integration fields.
70752
70769
  */
70753
- declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
70770
+ declare const IntegrationFragment: gql_tada1.TadaDocumentNode<{
70754
70771
  __typename: "Chainlink";
70755
70772
  id: string;
70756
70773
  uniqueName: string;
@@ -70842,7 +70859,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
70842
70859
  /**
70843
70860
  * Mutation to create a new integration.
70844
70861
  */
70845
- declare const createIntegration: gql_tada0.TadaDocumentNode<{
70862
+ declare const createIntegration: gql_tada1.TadaDocumentNode<{
70846
70863
  createIntegration: {
70847
70864
  __typename: "Chainlink";
70848
70865
  id: string;
@@ -70992,7 +71009,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
70992
71009
  /**
70993
71010
  * GraphQL fragment containing core load balancer fields.
70994
71011
  */
70995
- declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
71012
+ declare const LoadBalancerFragment: gql_tada1.TadaDocumentNode<{
70996
71013
  __typename: "EVMLoadBalancer";
70997
71014
  id: string;
70998
71015
  uniqueName: string;
@@ -71032,7 +71049,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
71032
71049
  /**
71033
71050
  * Mutation to create a load balancer.
71034
71051
  */
71035
- declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
71052
+ declare const createLoadBalancer: gql_tada1.TadaDocumentNode<{
71036
71053
  createLoadBalancer: {
71037
71054
  __typename: "EVMLoadBalancer";
71038
71055
  id: string;
@@ -71133,7 +71150,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
71133
71150
  /**
71134
71151
  * GraphQL fragment containing core middleware fields.
71135
71152
  */
71136
- declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
71153
+ declare const MiddlewareFragment: gql_tada1.TadaDocumentNode<{
71137
71154
  __typename: "AttestationIndexerMiddleware";
71138
71155
  id: string;
71139
71156
  uniqueName: string;
@@ -71301,7 +71318,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
71301
71318
  /**
71302
71319
  * Query to fetch a specific middleware with subgraphs.
71303
71320
  */
71304
- declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
71321
+ declare const getGraphMiddlewareSubgraphs: gql_tada1.TadaDocumentNode<{
71305
71322
  middlewareByUniqueName: {
71306
71323
  __typename: "AttestationIndexerMiddleware";
71307
71324
  id: string;
@@ -71484,7 +71501,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
71484
71501
  /**
71485
71502
  * Mutation to create a new middleware.
71486
71503
  */
71487
- declare const createMiddleware: gql_tada0.TadaDocumentNode<{
71504
+ declare const createMiddleware: gql_tada1.TadaDocumentNode<{
71488
71505
  createMiddleware: {
71489
71506
  __typename: "AttestationIndexerMiddleware";
71490
71507
  id: string;
@@ -71729,7 +71746,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
71729
71746
  /**
71730
71747
  * GraphQL query to fetch platform configuration.
71731
71748
  */
71732
- declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
71749
+ declare const getPlatformConfigQuery: gql_tada1.TadaDocumentNode<{
71733
71750
  config: {
71734
71751
  smartContractSets: {
71735
71752
  id: string;
@@ -71786,7 +71803,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
71786
71803
  /**
71787
71804
  * GraphQL fragment containing core private key fields.
71788
71805
  */
71789
- declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
71806
+ declare const PrivateKeyFragment: gql_tada1.TadaDocumentNode<{
71790
71807
  __typename: "AccessibleEcdsaP256PrivateKey";
71791
71808
  id: string;
71792
71809
  uniqueName: string;
@@ -71993,7 +72010,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
71993
72010
  /**
71994
72011
  * Mutation to create a new private key.
71995
72012
  */
71996
- declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
72013
+ declare const createPrivateKey: gql_tada1.TadaDocumentNode<{
71997
72014
  createPrivateKey: {
71998
72015
  __typename: "AccessibleEcdsaP256PrivateKey";
71999
72016
  id: string;
@@ -72264,7 +72281,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
72264
72281
  /**
72265
72282
  * GraphQL fragment containing core storage fields.
72266
72283
  */
72267
- declare const StorageFragment: gql_tada0.TadaDocumentNode<{
72284
+ declare const StorageFragment: gql_tada1.TadaDocumentNode<{
72268
72285
  __typename: "IPFSStorage";
72269
72286
  id: string;
72270
72287
  uniqueName: string;
@@ -72316,7 +72333,7 @@ type Storage = ResultOf<typeof StorageFragment>;
72316
72333
  /**
72317
72334
  * Mutation to create a new storage.
72318
72335
  */
72319
- declare const createStorage: gql_tada0.TadaDocumentNode<{
72336
+ declare const createStorage: gql_tada1.TadaDocumentNode<{
72320
72337
  createStorage: {
72321
72338
  __typename: "IPFSStorage";
72322
72339
  id: string;
@@ -72426,7 +72443,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
72426
72443
  /**
72427
72444
  * GraphQL fragment containing core workspace fields.
72428
72445
  */
72429
- declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
72446
+ declare const WorkspaceFragment: gql_tada1.TadaDocumentNode<{
72430
72447
  id: string;
72431
72448
  uniqueName: string;
72432
72449
  name: string;
@@ -72447,7 +72464,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
72447
72464
  /**
72448
72465
  * Mutation to create a new workspace.
72449
72466
  */
72450
- declare const createWorkspace: gql_tada0.TadaDocumentNode<{
72467
+ declare const createWorkspace: gql_tada1.TadaDocumentNode<{
72451
72468
  createWorkspace: {
72452
72469
  id: string;
72453
72470
  uniqueName: string;
@@ -6217,6 +6217,14 @@ type introspection_types = {
6217
6217
  };
6218
6218
  };
6219
6219
  };
6220
+ 'genesisArtifactsTag': {
6221
+ name: 'genesisArtifactsTag';
6222
+ type: {
6223
+ kind: 'SCALAR';
6224
+ name: 'String';
6225
+ ofType: null;
6226
+ };
6227
+ };
6220
6228
  'genesisWithDiscoveryConfig': {
6221
6229
  name: 'genesisWithDiscoveryConfig';
6222
6230
  type: {
@@ -8511,6 +8519,14 @@ type introspection_types = {
8511
8519
  };
8512
8520
  };
8513
8521
  };
8522
+ 'genesisArtifactsTag': {
8523
+ name: 'genesisArtifactsTag';
8524
+ type: {
8525
+ kind: 'SCALAR';
8526
+ name: 'String';
8527
+ ofType: null;
8528
+ };
8529
+ };
8514
8530
  'genesisWithDiscoveryConfig': {
8515
8531
  name: 'genesisWithDiscoveryConfig';
8516
8532
  type: {
@@ -66977,6 +66993,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
66977
66993
  })[];
66978
66994
  };
66979
66995
  }, {
66996
+ includePredeployedContracts?: boolean | null | undefined;
66980
66997
  privateKeyId?: string | null | undefined;
66981
66998
  externalNodes?: {
66982
66999
  nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
@@ -502,6 +502,7 @@ const createBlockchainNetwork = graphql(`
502
502
  $quorumGenesis: QuorumGenesisInput
503
503
  $externalNodes: [BlockchainNetworkExternalNodeInput!]
504
504
  $privateKeyId: ID
505
+ $includePredeployedContracts: Boolean
505
506
  ) {
506
507
  createBlockchainNetwork(
507
508
  applicationId: $applicationId
@@ -530,6 +531,7 @@ const createBlockchainNetwork = graphql(`
530
531
  quorumGenesis: $quorumGenesis
531
532
  externalNodes: $externalNodes
532
533
  keyMaterial: $privateKeyId
534
+ includePredeployedContracts: $includePredeployedContracts
533
535
  ) {
534
536
  ...BlockchainNetwork
535
537
  }