@settlemint/sdk-js 2.4.0-pr1b2e7069 → 2.4.0-pr1e769aef

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,17 +1,17 @@
1
1
  import { Id } from "@settlemint/sdk-utils/validation";
2
- import * as gql_tada0 from "gql.tada";
3
2
  import * as gql_tada1 from "gql.tada";
3
+ import * as gql_tada0 from "gql.tada";
4
4
  import * as gql_tada3 from "gql.tada";
5
5
  import * as gql_tada5 from "gql.tada";
6
- import * as gql_tada7 from "gql.tada";
7
6
  import * as gql_tada9 from "gql.tada";
7
+ import * as gql_tada7 from "gql.tada";
8
+ import * as gql_tada14 from "gql.tada";
9
+ import * as gql_tada16 from "gql.tada";
8
10
  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_tada20 from "gql.tada";
11
12
  import * as gql_tada18 from "gql.tada";
12
- import * as gql_tada19 from "gql.tada";
13
- import * as gql_tada21 from "gql.tada";
14
13
  import * as gql_tada23 from "gql.tada";
14
+ import * as gql_tada21 from "gql.tada";
15
15
  import { ResultOf, VariablesOf } from "gql.tada";
16
16
  import { z } from "zod/v4";
17
17
 
@@ -9217,6 +9217,14 @@ type introspection_types = {
9217
9217
  };
9218
9218
  };
9219
9219
  };
9220
+ 'applicationAccessToken': {
9221
+ name: 'applicationAccessToken';
9222
+ type: {
9223
+ kind: 'OBJECT';
9224
+ name: 'ApplicationAccessToken';
9225
+ ofType: null;
9226
+ };
9227
+ };
9220
9228
  'applicationId': {
9221
9229
  name: 'applicationId';
9222
9230
  type: {
@@ -9324,13 +9332,9 @@ type introspection_types = {
9324
9332
  'user': {
9325
9333
  name: 'user';
9326
9334
  type: {
9327
- kind: 'NON_NULL';
9328
- name: never;
9329
- ofType: {
9330
- kind: 'OBJECT';
9331
- name: 'User';
9332
- ofType: null;
9333
- };
9335
+ kind: 'OBJECT';
9336
+ name: 'User';
9337
+ ofType: null;
9334
9338
  };
9335
9339
  };
9336
9340
  'variables': {
@@ -97952,6 +97956,18 @@ type introspection_types = {
97952
97956
  };
97953
97957
  };
97954
97958
  };
97959
+ 'validInStripe': {
97960
+ name: 'validInStripe';
97961
+ type: {
97962
+ kind: 'NON_NULL';
97963
+ name: never;
97964
+ ofType: {
97965
+ kind: 'SCALAR';
97966
+ name: 'Boolean';
97967
+ ofType: null;
97968
+ };
97969
+ };
97970
+ };
97955
97971
  };
97956
97972
  };
97957
97973
  'Subgraph': {
@@ -103782,6 +103798,60 @@ declare module 'gql.tada' {
103782
103798
  }
103783
103799
  }
103784
103800
  //#endregion
103801
+ //#region src/graphql/application.d.ts
103802
+ /**
103803
+ * GraphQL fragment containing core application fields.
103804
+ */
103805
+ declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
103806
+ id: string;
103807
+ uniqueName: string;
103808
+ name: string;
103809
+ workspace: {
103810
+ id: string;
103811
+ uniqueName: string;
103812
+ name: string;
103813
+ };
103814
+ }, {}, {
103815
+ fragment: "Application";
103816
+ on: "Application";
103817
+ masked: false;
103818
+ }>;
103819
+ /**
103820
+ * Type representing an application entity.
103821
+ */
103822
+ type Application = ResultOf<typeof ApplicationFragment>;
103823
+ /**
103824
+ * Mutation to create a new application.
103825
+ */
103826
+ declare const createApplication: gql_tada1.TadaDocumentNode<{
103827
+ createApplication: {
103828
+ id: string;
103829
+ uniqueName: string;
103830
+ name: string;
103831
+ workspace: {
103832
+ id: string;
103833
+ uniqueName: string;
103834
+ name: string;
103835
+ };
103836
+ };
103837
+ }, {
103838
+ workspaceId: string;
103839
+ name: string;
103840
+ }, void>;
103841
+ /**
103842
+ * Arguments required to create an application.
103843
+ */
103844
+ type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "workspaceId"> & {
103845
+ workspaceUniqueName: string;
103846
+ };
103847
+ /**
103848
+ * Creates a function to list applications in a workspace.
103849
+ *
103850
+ * @param gqlClient - The GraphQL client instance
103851
+ * @returns Function that fetches applications for a workspace
103852
+ * @throws If the workspace cannot be found or the request fails
103853
+ */
103854
+ //#endregion
103785
103855
  //#region src/graphql/application-access-tokens.d.ts
103786
103856
  declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
103787
103857
  createApplicationAccessToken: {
@@ -103842,60 +103912,6 @@ type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicatio
103842
103912
  * @returns A function that accepts the arguments for creating an application and returns a promise resolving to the created application.
103843
103913
  */
103844
103914
  //#endregion
103845
- //#region src/graphql/application.d.ts
103846
- /**
103847
- * GraphQL fragment containing core application fields.
103848
- */
103849
- declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
103850
- id: string;
103851
- uniqueName: string;
103852
- name: string;
103853
- workspace: {
103854
- id: string;
103855
- uniqueName: string;
103856
- name: string;
103857
- };
103858
- }, {}, {
103859
- fragment: "Application";
103860
- on: "Application";
103861
- masked: false;
103862
- }>;
103863
- /**
103864
- * Type representing an application entity.
103865
- */
103866
- type Application = ResultOf<typeof ApplicationFragment>;
103867
- /**
103868
- * Mutation to create a new application.
103869
- */
103870
- declare const createApplication: gql_tada1.TadaDocumentNode<{
103871
- createApplication: {
103872
- id: string;
103873
- uniqueName: string;
103874
- name: string;
103875
- workspace: {
103876
- id: string;
103877
- uniqueName: string;
103878
- name: string;
103879
- };
103880
- };
103881
- }, {
103882
- workspaceId: string;
103883
- name: string;
103884
- }, void>;
103885
- /**
103886
- * Arguments required to create an application.
103887
- */
103888
- type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "workspaceId"> & {
103889
- workspaceUniqueName: string;
103890
- };
103891
- /**
103892
- * Creates a function to list applications in a workspace.
103893
- *
103894
- * @param gqlClient - The GraphQL client instance
103895
- * @returns Function that fetches applications for a workspace
103896
- * @throws If the workspace cannot be found or the request fails
103897
- */
103898
- //#endregion
103899
103915
  //#region src/graphql/blockchain-network.d.ts
103900
103916
  /**
103901
103917
  * Fragment containing core blockchain network fields.
@@ -147723,7 +147739,7 @@ type CreateBlockchainNodeArgs = Omit<VariablesOf<typeof createBlockchainNode>, "
147723
147739
  /**
147724
147740
  * Fragment containing core custom deployment fields.
147725
147741
  */
147726
- declare const CustomDeploymentFragment: gql_tada7.TadaDocumentNode<{
147742
+ declare const CustomDeploymentFragment: gql_tada9.TadaDocumentNode<{
147727
147743
  id: string;
147728
147744
  uniqueName: string;
147729
147745
  name: string;
@@ -147753,7 +147769,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
147753
147769
  /**
147754
147770
  * Mutation to create a custom deployment.
147755
147771
  */
147756
- declare const createCustomDeployment: gql_tada7.TadaDocumentNode<{
147772
+ declare const createCustomDeployment: gql_tada9.TadaDocumentNode<{
147757
147773
  createCustomDeployment: {
147758
147774
  id: string;
147759
147775
  uniqueName: string;
@@ -147804,7 +147820,7 @@ type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment
147804
147820
  /**
147805
147821
  * GraphQL fragment containing core insights fields.
147806
147822
  */
147807
- declare const InsightsFragment: gql_tada9.TadaDocumentNode<{
147823
+ declare const InsightsFragment: gql_tada7.TadaDocumentNode<{
147808
147824
  __typename: "BlockchainExplorer";
147809
147825
  id: string;
147810
147826
  uniqueName: string;
@@ -147876,7 +147892,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
147876
147892
  /**
147877
147893
  * Mutation to create insights.
147878
147894
  */
147879
- declare const createInsights: gql_tada9.TadaDocumentNode<{
147895
+ declare const createInsights: gql_tada7.TadaDocumentNode<{
147880
147896
  createInsights: {
147881
147897
  __typename: "BlockchainExplorer";
147882
147898
  id: string;
@@ -147969,7 +147985,7 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
147969
147985
  /**
147970
147986
  * GraphQL fragment containing core integration fields.
147971
147987
  */
147972
- declare const IntegrationFragment: gql_tada11.TadaDocumentNode<{
147988
+ declare const IntegrationFragment: gql_tada14.TadaDocumentNode<{
147973
147989
  __typename: "Chainlink";
147974
147990
  id: string;
147975
147991
  uniqueName: string;
@@ -148061,7 +148077,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
148061
148077
  /**
148062
148078
  * Mutation to create a new integration.
148063
148079
  */
148064
- declare const createIntegration: gql_tada11.TadaDocumentNode<{
148080
+ declare const createIntegration: gql_tada14.TadaDocumentNode<{
148065
148081
  createIntegration: {
148066
148082
  __typename: "Chainlink";
148067
148083
  id: string;
@@ -148170,7 +148186,7 @@ type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "ap
148170
148186
  /**
148171
148187
  * GraphQL fragment containing core load balancer fields.
148172
148188
  */
148173
- declare const LoadBalancerFragment: gql_tada13.TadaDocumentNode<{
148189
+ declare const LoadBalancerFragment: gql_tada16.TadaDocumentNode<{
148174
148190
  __typename: "EVMLoadBalancer";
148175
148191
  id: string;
148176
148192
  uniqueName: string;
@@ -148210,7 +148226,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
148210
148226
  /**
148211
148227
  * Mutation to create a load balancer.
148212
148228
  */
148213
- declare const createLoadBalancer: gql_tada13.TadaDocumentNode<{
148229
+ declare const createLoadBalancer: gql_tada16.TadaDocumentNode<{
148214
148230
  createLoadBalancer: {
148215
148231
  __typename: "EVMLoadBalancer";
148216
148232
  id: string;
@@ -148270,7 +148286,7 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
148270
148286
  /**
148271
148287
  * GraphQL fragment containing core middleware fields.
148272
148288
  */
148273
- declare const MiddlewareFragment: gql_tada15.TadaDocumentNode<{
148289
+ declare const MiddlewareFragment: gql_tada11.TadaDocumentNode<{
148274
148290
  __typename: "AttestationIndexerMiddleware";
148275
148291
  id: string;
148276
148292
  uniqueName: string;
@@ -148437,7 +148453,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
148437
148453
  /**
148438
148454
  * Query to fetch a specific middleware with subgraphs.
148439
148455
  */
148440
- declare const getGraphMiddlewareSubgraphs: gql_tada15.TadaDocumentNode<{
148456
+ declare const getGraphMiddlewareSubgraphs: gql_tada11.TadaDocumentNode<{
148441
148457
  middlewareByUniqueName: {
148442
148458
  __typename: "AttestationIndexerMiddleware";
148443
148459
  id: string;
@@ -148612,7 +148628,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
148612
148628
  /**
148613
148629
  * Mutation to create a new middleware.
148614
148630
  */
148615
- declare const createMiddleware: gql_tada15.TadaDocumentNode<{
148631
+ declare const createMiddleware: gql_tada11.TadaDocumentNode<{
148616
148632
  createMiddleware: {
148617
148633
  __typename: "AttestationIndexerMiddleware";
148618
148634
  id: string;
@@ -148807,7 +148823,7 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
148807
148823
  /**
148808
148824
  * GraphQL query to fetch platform configuration.
148809
148825
  */
148810
- declare const getPlatformConfigQuery: gql_tada18.TadaDocumentNode<{
148826
+ declare const getPlatformConfigQuery: gql_tada20.TadaDocumentNode<{
148811
148827
  config: {
148812
148828
  smartContractSets: {
148813
148829
  id: string;
@@ -148863,7 +148879,7 @@ type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
148863
148879
  /**
148864
148880
  * GraphQL fragment containing core private key fields.
148865
148881
  */
148866
- declare const PrivateKeyFragment: gql_tada19.TadaDocumentNode<{
148882
+ declare const PrivateKeyFragment: gql_tada18.TadaDocumentNode<{
148867
148883
  __typename: "AccessibleEcdsaP256PrivateKey";
148868
148884
  id: string;
148869
148885
  uniqueName: string;
@@ -149505,7 +149521,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
149505
149521
  /**
149506
149522
  * Mutation to create a new private key.
149507
149523
  */
149508
- declare const createPrivateKey: gql_tada19.TadaDocumentNode<{
149524
+ declare const createPrivateKey: gql_tada18.TadaDocumentNode<{
149509
149525
  createPrivateKey: {
149510
149526
  __typename: "AccessibleEcdsaP256PrivateKey";
149511
149527
  id: string;
@@ -150170,7 +150186,7 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
150170
150186
  /**
150171
150187
  * GraphQL fragment containing core storage fields.
150172
150188
  */
150173
- declare const StorageFragment: gql_tada21.TadaDocumentNode<{
150189
+ declare const StorageFragment: gql_tada23.TadaDocumentNode<{
150174
150190
  __typename: "IPFSStorage";
150175
150191
  id: string;
150176
150192
  uniqueName: string;
@@ -150222,7 +150238,7 @@ type Storage = ResultOf<typeof StorageFragment>;
150222
150238
  /**
150223
150239
  * Mutation to create a new storage.
150224
150240
  */
150225
- declare const createStorage: gql_tada21.TadaDocumentNode<{
150241
+ declare const createStorage: gql_tada23.TadaDocumentNode<{
150226
150242
  createStorage: {
150227
150243
  __typename: "IPFSStorage";
150228
150244
  id: string;
@@ -150291,7 +150307,7 @@ type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"
150291
150307
  /**
150292
150308
  * GraphQL fragment containing core workspace fields.
150293
150309
  */
150294
- declare const WorkspaceFragment: gql_tada23.TadaDocumentNode<{
150310
+ declare const WorkspaceFragment: gql_tada21.TadaDocumentNode<{
150295
150311
  id: string;
150296
150312
  uniqueName: string;
150297
150313
  name: string;
@@ -150312,7 +150328,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
150312
150328
  /**
150313
150329
  * Mutation to create a new workspace.
150314
150330
  */
150315
- declare const createWorkspace: gql_tada23.TadaDocumentNode<{
150331
+ declare const createWorkspace: gql_tada21.TadaDocumentNode<{
150316
150332
  createWorkspace: {
150317
150333
  id: string;
150318
150334
  uniqueName: string;
@@ -150418,18 +150434,24 @@ interface SettlemintClient {
150418
150434
  create: (args: CreateBlockchainNetworkArgs) => Promise<BlockchainNetwork>;
150419
150435
  delete: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150420
150436
  restart: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150437
+ pause: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150438
+ resume: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150421
150439
  };
150422
150440
  blockchainNode: {
150423
150441
  list: (applicationUniqueName: string) => Promise<BlockchainNode[]>;
150424
150442
  read: (blockchainNodeUniqueName: string) => Promise<BlockchainNode>;
150425
150443
  create: (args: CreateBlockchainNodeArgs) => Promise<BlockchainNode>;
150426
150444
  restart: (nodeUniqueName: string) => Promise<BlockchainNode>;
150445
+ pause: (nodeUniqueName: string) => Promise<BlockchainNode>;
150446
+ resume: (nodeUniqueName: string) => Promise<BlockchainNode>;
150427
150447
  };
150428
150448
  loadBalancer: {
150429
150449
  list: (applicationUniqueName: string) => Promise<LoadBalancer[]>;
150430
150450
  read: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150431
150451
  create: (args: CreateLoadBalancerArgs) => Promise<LoadBalancer>;
150432
150452
  restart: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150453
+ pause: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150454
+ resume: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150433
150455
  };
150434
150456
  middleware: {
150435
150457
  list: (applicationUniqueName: string) => Promise<Middleware[]>;
@@ -150437,30 +150459,40 @@ interface SettlemintClient {
150437
150459
  graphSubgraphs: (middlewareUniqueName: string, noCache?: boolean) => Promise<MiddlewareWithSubgraphs>;
150438
150460
  create: (args: CreateMiddlewareArgs) => Promise<Middleware>;
150439
150461
  restart: (middlewareUniqueName: string) => Promise<Middleware>;
150462
+ pause: (middlewareUniqueName: string) => Promise<Middleware>;
150463
+ resume: (middlewareUniqueName: string) => Promise<Middleware>;
150440
150464
  };
150441
150465
  integrationTool: {
150442
150466
  list: (applicationUniqueName: string) => Promise<IntegrationTool[]>;
150443
150467
  read: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150444
150468
  create: (args: CreateIntegrationToolArgs) => Promise<IntegrationTool>;
150445
150469
  restart: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150470
+ pause: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150471
+ resume: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150446
150472
  };
150447
150473
  storage: {
150448
150474
  list: (applicationUniqueName: string) => Promise<Storage[]>;
150449
150475
  read: (storageUniqueName: string) => Promise<Storage>;
150450
150476
  create: (args: CreateStorageArgs) => Promise<Storage>;
150451
150477
  restart: (storageUniqueName: string) => Promise<Storage>;
150478
+ pause: (storageUniqueName: string) => Promise<Storage>;
150479
+ resume: (storageUniqueName: string) => Promise<Storage>;
150452
150480
  };
150453
150481
  privateKey: {
150454
150482
  list: (applicationUniqueName: string) => Promise<PrivateKey[]>;
150455
150483
  read: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150456
150484
  create: (args: CreatePrivateKeyArgs) => Promise<PrivateKey>;
150457
150485
  restart: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150486
+ pause: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150487
+ resume: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150458
150488
  };
150459
150489
  insights: {
150460
150490
  list: (applicationUniqueName: string) => Promise<Insights[]>;
150461
150491
  read: (insightsUniqueName: string) => Promise<Insights>;
150462
150492
  create: (args: CreateInsightsArgs) => Promise<Insights>;
150463
150493
  restart: (insightsUniqueName: string) => Promise<Insights>;
150494
+ pause: (insightsUniqueName: string) => Promise<Insights>;
150495
+ resume: (insightsUniqueName: string) => Promise<Insights>;
150464
150496
  };
150465
150497
  customDeployment: {
150466
150498
  list: (applicationUniqueName: string) => Promise<CustomDeployment[]>;
@@ -150468,6 +150500,8 @@ interface SettlemintClient {
150468
150500
  create: (args: CreateCustomDeploymentArgs) => Promise<CustomDeployment>;
150469
150501
  update: (customDeploymentUniqueName: string, imageTag: string) => Promise<CustomDeployment>;
150470
150502
  restart: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
150503
+ pause: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
150504
+ resume: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
150471
150505
  };
150472
150506
  foundry: {
150473
150507
  env: (blockchainNodeUniqueName: string) => Promise<Record<string, string>>;
@@ -2,7 +2,7 @@ import { Id } from "@settlemint/sdk-utils/validation";
2
2
  import { GraphQLClient } from "graphql-request";
3
3
  import { z } from "zod/v4";
4
4
  import * as gql_tada0 from "gql.tada";
5
- import * as gql_tada1 from "gql.tada";
5
+ import * as gql_tada2 from "gql.tada";
6
6
  import * as gql_tada3 from "gql.tada";
7
7
  import * as gql_tada5 from "gql.tada";
8
8
  import * as gql_tada7 from "gql.tada";
@@ -9218,6 +9218,14 @@ type introspection_types = {
9218
9218
  };
9219
9219
  };
9220
9220
  };
9221
+ 'applicationAccessToken': {
9222
+ name: 'applicationAccessToken';
9223
+ type: {
9224
+ kind: 'OBJECT';
9225
+ name: 'ApplicationAccessToken';
9226
+ ofType: null;
9227
+ };
9228
+ };
9221
9229
  'applicationId': {
9222
9230
  name: 'applicationId';
9223
9231
  type: {
@@ -9325,13 +9333,9 @@ type introspection_types = {
9325
9333
  'user': {
9326
9334
  name: 'user';
9327
9335
  type: {
9328
- kind: 'NON_NULL';
9329
- name: never;
9330
- ofType: {
9331
- kind: 'OBJECT';
9332
- name: 'User';
9333
- ofType: null;
9334
- };
9336
+ kind: 'OBJECT';
9337
+ name: 'User';
9338
+ ofType: null;
9335
9339
  };
9336
9340
  };
9337
9341
  'variables': {
@@ -97953,6 +97957,18 @@ type introspection_types = {
97953
97957
  };
97954
97958
  };
97955
97959
  };
97960
+ 'validInStripe': {
97961
+ name: 'validInStripe';
97962
+ type: {
97963
+ kind: 'NON_NULL';
97964
+ name: never;
97965
+ ofType: {
97966
+ kind: 'SCALAR';
97967
+ name: 'Boolean';
97968
+ ofType: null;
97969
+ };
97970
+ };
97971
+ };
97956
97972
  };
97957
97973
  };
97958
97974
  'Subgraph': {
@@ -103783,8 +103799,62 @@ declare module 'gql.tada' {
103783
103799
  }
103784
103800
  }
103785
103801
  //#endregion
103802
+ //#region src/graphql/application.d.ts
103803
+ /**
103804
+ * GraphQL fragment containing core application fields.
103805
+ */
103806
+ declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
103807
+ id: string;
103808
+ uniqueName: string;
103809
+ name: string;
103810
+ workspace: {
103811
+ id: string;
103812
+ uniqueName: string;
103813
+ name: string;
103814
+ };
103815
+ }, {}, {
103816
+ fragment: "Application";
103817
+ on: "Application";
103818
+ masked: false;
103819
+ }>;
103820
+ /**
103821
+ * Type representing an application entity.
103822
+ */
103823
+ type Application = ResultOf<typeof ApplicationFragment>;
103824
+ /**
103825
+ * Mutation to create a new application.
103826
+ */
103827
+ declare const createApplication: gql_tada0.TadaDocumentNode<{
103828
+ createApplication: {
103829
+ id: string;
103830
+ uniqueName: string;
103831
+ name: string;
103832
+ workspace: {
103833
+ id: string;
103834
+ uniqueName: string;
103835
+ name: string;
103836
+ };
103837
+ };
103838
+ }, {
103839
+ workspaceId: string;
103840
+ name: string;
103841
+ }, void>;
103842
+ /**
103843
+ * Arguments required to create an application.
103844
+ */
103845
+ type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "workspaceId"> & {
103846
+ workspaceUniqueName: string;
103847
+ };
103848
+ /**
103849
+ * Creates a function to list applications in a workspace.
103850
+ *
103851
+ * @param gqlClient - The GraphQL client instance
103852
+ * @returns Function that fetches applications for a workspace
103853
+ * @throws If the workspace cannot be found or the request fails
103854
+ */
103855
+ //#endregion
103786
103856
  //#region src/graphql/application-access-tokens.d.ts
103787
- declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
103857
+ declare const createApplicationAccessToken: gql_tada2.TadaDocumentNode<{
103788
103858
  createApplicationAccessToken: {
103789
103859
  token: string | null;
103790
103860
  };
@@ -103843,60 +103913,6 @@ type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicatio
103843
103913
  * @returns A function that accepts the arguments for creating an application and returns a promise resolving to the created application.
103844
103914
  */
103845
103915
  //#endregion
103846
- //#region src/graphql/application.d.ts
103847
- /**
103848
- * GraphQL fragment containing core application fields.
103849
- */
103850
- declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
103851
- id: string;
103852
- uniqueName: string;
103853
- name: string;
103854
- workspace: {
103855
- id: string;
103856
- uniqueName: string;
103857
- name: string;
103858
- };
103859
- }, {}, {
103860
- fragment: "Application";
103861
- on: "Application";
103862
- masked: false;
103863
- }>;
103864
- /**
103865
- * Type representing an application entity.
103866
- */
103867
- type Application = ResultOf<typeof ApplicationFragment>;
103868
- /**
103869
- * Mutation to create a new application.
103870
- */
103871
- declare const createApplication: gql_tada1.TadaDocumentNode<{
103872
- createApplication: {
103873
- id: string;
103874
- uniqueName: string;
103875
- name: string;
103876
- workspace: {
103877
- id: string;
103878
- uniqueName: string;
103879
- name: string;
103880
- };
103881
- };
103882
- }, {
103883
- workspaceId: string;
103884
- name: string;
103885
- }, void>;
103886
- /**
103887
- * Arguments required to create an application.
103888
- */
103889
- type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "workspaceId"> & {
103890
- workspaceUniqueName: string;
103891
- };
103892
- /**
103893
- * Creates a function to list applications in a workspace.
103894
- *
103895
- * @param gqlClient - The GraphQL client instance
103896
- * @returns Function that fetches applications for a workspace
103897
- * @throws If the workspace cannot be found or the request fails
103898
- */
103899
- //#endregion
103900
103916
  //#region src/graphql/blockchain-network.d.ts
103901
103917
  /**
103902
103918
  * Fragment containing core blockchain network fields.
@@ -150419,18 +150435,24 @@ interface SettlemintClient {
150419
150435
  create: (args: CreateBlockchainNetworkArgs) => Promise<BlockchainNetwork>;
150420
150436
  delete: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150421
150437
  restart: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150438
+ pause: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150439
+ resume: (networkUniqueName: string) => Promise<BlockchainNetwork>;
150422
150440
  };
150423
150441
  blockchainNode: {
150424
150442
  list: (applicationUniqueName: string) => Promise<BlockchainNode[]>;
150425
150443
  read: (blockchainNodeUniqueName: string) => Promise<BlockchainNode>;
150426
150444
  create: (args: CreateBlockchainNodeArgs) => Promise<BlockchainNode>;
150427
150445
  restart: (nodeUniqueName: string) => Promise<BlockchainNode>;
150446
+ pause: (nodeUniqueName: string) => Promise<BlockchainNode>;
150447
+ resume: (nodeUniqueName: string) => Promise<BlockchainNode>;
150428
150448
  };
150429
150449
  loadBalancer: {
150430
150450
  list: (applicationUniqueName: string) => Promise<LoadBalancer[]>;
150431
150451
  read: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150432
150452
  create: (args: CreateLoadBalancerArgs) => Promise<LoadBalancer>;
150433
150453
  restart: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150454
+ pause: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150455
+ resume: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
150434
150456
  };
150435
150457
  middleware: {
150436
150458
  list: (applicationUniqueName: string) => Promise<Middleware[]>;
@@ -150438,30 +150460,40 @@ interface SettlemintClient {
150438
150460
  graphSubgraphs: (middlewareUniqueName: string, noCache?: boolean) => Promise<MiddlewareWithSubgraphs>;
150439
150461
  create: (args: CreateMiddlewareArgs) => Promise<Middleware>;
150440
150462
  restart: (middlewareUniqueName: string) => Promise<Middleware>;
150463
+ pause: (middlewareUniqueName: string) => Promise<Middleware>;
150464
+ resume: (middlewareUniqueName: string) => Promise<Middleware>;
150441
150465
  };
150442
150466
  integrationTool: {
150443
150467
  list: (applicationUniqueName: string) => Promise<IntegrationTool[]>;
150444
150468
  read: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150445
150469
  create: (args: CreateIntegrationToolArgs) => Promise<IntegrationTool>;
150446
150470
  restart: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150471
+ pause: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150472
+ resume: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
150447
150473
  };
150448
150474
  storage: {
150449
150475
  list: (applicationUniqueName: string) => Promise<Storage[]>;
150450
150476
  read: (storageUniqueName: string) => Promise<Storage>;
150451
150477
  create: (args: CreateStorageArgs) => Promise<Storage>;
150452
150478
  restart: (storageUniqueName: string) => Promise<Storage>;
150479
+ pause: (storageUniqueName: string) => Promise<Storage>;
150480
+ resume: (storageUniqueName: string) => Promise<Storage>;
150453
150481
  };
150454
150482
  privateKey: {
150455
150483
  list: (applicationUniqueName: string) => Promise<PrivateKey[]>;
150456
150484
  read: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150457
150485
  create: (args: CreatePrivateKeyArgs) => Promise<PrivateKey>;
150458
150486
  restart: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150487
+ pause: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150488
+ resume: (privateKeyUniqueName: string) => Promise<PrivateKey>;
150459
150489
  };
150460
150490
  insights: {
150461
150491
  list: (applicationUniqueName: string) => Promise<Insights[]>;
150462
150492
  read: (insightsUniqueName: string) => Promise<Insights>;
150463
150493
  create: (args: CreateInsightsArgs) => Promise<Insights>;
150464
150494
  restart: (insightsUniqueName: string) => Promise<Insights>;
150495
+ pause: (insightsUniqueName: string) => Promise<Insights>;
150496
+ resume: (insightsUniqueName: string) => Promise<Insights>;
150465
150497
  };
150466
150498
  customDeployment: {
150467
150499
  list: (applicationUniqueName: string) => Promise<CustomDeployment[]>;
@@ -150469,6 +150501,8 @@ interface SettlemintClient {
150469
150501
  create: (args: CreateCustomDeploymentArgs) => Promise<CustomDeployment>;
150470
150502
  update: (customDeploymentUniqueName: string, imageTag: string) => Promise<CustomDeployment>;
150471
150503
  restart: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
150504
+ pause: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
150505
+ resume: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
150472
150506
  };
150473
150507
  foundry: {
150474
150508
  env: (blockchainNodeUniqueName: string) => Promise<Record<string, string>>;