@settlemint/sdk-mcp 2.4.0-prb3e61e86 → 2.4.0-prb7837cfe

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/mcp.js CHANGED
@@ -16722,9 +16722,11 @@ var require_websocket_server = __commonJS((exports, module) => {
16722
16722
  abortHandshakeOrEmitwsClientError(this, req, socket, 400, message);
16723
16723
  return;
16724
16724
  }
16725
- if (version !== 8 && version !== 13) {
16725
+ if (version !== 13 && version !== 8) {
16726
16726
  const message = "Missing or invalid Sec-WebSocket-Version header";
16727
- abortHandshakeOrEmitwsClientError(this, req, socket, 400, message);
16727
+ abortHandshakeOrEmitwsClientError(this, req, socket, 400, message, {
16728
+ "Sec-WebSocket-Version": "13, 8"
16729
+ });
16728
16730
  return;
16729
16731
  }
16730
16732
  if (!this.shouldHandle(req)) {
@@ -16863,13 +16865,13 @@ var require_websocket_server = __commonJS((exports, module) => {
16863
16865
  \r
16864
16866
  ` + message);
16865
16867
  }
16866
- function abortHandshakeOrEmitwsClientError(server, req, socket, code, message) {
16868
+ function abortHandshakeOrEmitwsClientError(server, req, socket, code, message, headers) {
16867
16869
  if (server.listenerCount("wsClientError")) {
16868
16870
  const err = new Error(message);
16869
16871
  Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError);
16870
16872
  server.emit("wsClientError", err, socket, req);
16871
16873
  } else {
16872
- abortHandshake(socket, code, message);
16874
+ abortHandshake(socket, code, message, headers);
16873
16875
  }
16874
16876
  }
16875
16877
  });
@@ -59939,14 +59941,21 @@ class Protocol {
59939
59941
  }
59940
59942
  }
59941
59943
  async connect(transport) {
59944
+ var _a, _b, _c;
59942
59945
  this._transport = transport;
59946
+ const _onclose = (_a = this.transport) === null || _a === undefined ? undefined : _a.onclose;
59943
59947
  this._transport.onclose = () => {
59948
+ _onclose === null || _onclose === undefined || _onclose();
59944
59949
  this._onclose();
59945
59950
  };
59951
+ const _onerror = (_b = this.transport) === null || _b === undefined ? undefined : _b.onerror;
59946
59952
  this._transport.onerror = (error) => {
59953
+ _onerror === null || _onerror === undefined || _onerror(error);
59947
59954
  this._onerror(error);
59948
59955
  };
59956
+ const _onmessage = (_c = this._transport) === null || _c === undefined ? undefined : _c.onmessage;
59949
59957
  this._transport.onmessage = (message, extra) => {
59958
+ _onmessage === null || _onmessage === undefined || _onmessage(message, extra);
59950
59959
  if (isJSONRPCResponse(message) || isJSONRPCError(message)) {
59951
59960
  this._onresponse(message);
59952
59961
  } else if (isJSONRPCRequest(message)) {
@@ -60006,7 +60015,8 @@ class Protocol {
60006
60015
  sendNotification: (notification) => this.notification(notification, { relatedRequestId: request.id }),
60007
60016
  sendRequest: (r, resultSchema, options) => this.request(r, resultSchema, { ...options, relatedRequestId: request.id }),
60008
60017
  authInfo: extra === null || extra === undefined ? undefined : extra.authInfo,
60009
- requestId: request.id
60018
+ requestId: request.id,
60019
+ requestInfo: extra === null || extra === undefined ? undefined : extra.requestInfo
60010
60020
  };
60011
60021
  Promise.resolve().then(() => handler(request, fullExtra)).then((result) => {
60012
60022
  var _a2;
@@ -61721,7 +61731,7 @@ class McpServer {
61721
61731
  };
61722
61732
  }
61723
61733
  }
61724
- if (tool.outputSchema) {
61734
+ if (tool.outputSchema && !result.isError) {
61725
61735
  if (!result.structuredContent) {
61726
61736
  throw new McpError(ErrorCode.InvalidParams, `Tool ${request.params.name} has an output schema but no structured content was provided`);
61727
61737
  }
@@ -90389,7 +90399,7 @@ var {
90389
90399
  var package_default = {
90390
90400
  name: "@settlemint/sdk-mcp",
90391
90401
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
90392
- version: "2.4.0-prb3e61e86",
90402
+ version: "2.4.0-prb7837cfe",
90393
90403
  type: "module",
90394
90404
  private: false,
90395
90405
  license: "FSL-1.1-MIT",
@@ -90432,9 +90442,9 @@ var package_default = {
90432
90442
  dependencies: {
90433
90443
  "@graphql-tools/load": "8.1.0",
90434
90444
  "@graphql-tools/url-loader": "8.0.31",
90435
- "@modelcontextprotocol/sdk": "1.13.1",
90436
- "@settlemint/sdk-js": "2.4.0-prb3e61e86",
90437
- "@settlemint/sdk-utils": "2.4.0-prb3e61e86",
90445
+ "@modelcontextprotocol/sdk": "1.13.2",
90446
+ "@settlemint/sdk-js": "2.4.0-prb7837cfe",
90447
+ "@settlemint/sdk-utils": "2.4.0-prb7837cfe",
90438
90448
  "@commander-js/extra-typings": "14.0.0",
90439
90449
  commander: "14.0.0",
90440
90450
  zod: "^3.25.0"
@@ -103896,6 +103906,20 @@ var restartBlockchainNetwork = graphql(`
103896
103906
  }
103897
103907
  }
103898
103908
  `, [BlockchainNetworkFragment]);
103909
+ var pauseBlockchainNetwork = graphql(`
103910
+ mutation PauseBlockchainNetwork($uniqueName: String!) {
103911
+ pauseBlockchainNetworkByUniqueName(uniqueName: $uniqueName) {
103912
+ ...BlockchainNetwork
103913
+ }
103914
+ }
103915
+ `, [BlockchainNetworkFragment]);
103916
+ var resumeBlockchainNetwork = graphql(`
103917
+ mutation ResumeBlockchainNetwork($uniqueName: String!) {
103918
+ resumeBlockchainNetworkByUniqueName(uniqueName: $uniqueName) {
103919
+ ...BlockchainNetwork
103920
+ }
103921
+ }
103922
+ `, [BlockchainNetworkFragment]);
103899
103923
  var blockchainNetworkList = (gqlClient) => {
103900
103924
  return async (applicationUniqueName) => {
103901
103925
  const { blockchainNetworksByUniqueName: { items } } = await gqlClient.request(getBlockchainNetworks, { applicationUniqueName });
@@ -103930,6 +103954,14 @@ var blockchainNetworkRestart = (gqlClient) => async (blockchainNetworkUniqueName
103930
103954
  const { restartBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(restartBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
103931
103955
  return blockchainNetwork;
103932
103956
  };
103957
+ var blockchainNetworkPause = (gqlClient) => async (blockchainNetworkUniqueName) => {
103958
+ const { pauseBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(pauseBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
103959
+ return blockchainNetwork;
103960
+ };
103961
+ var blockchainNetworkResume = (gqlClient) => async (blockchainNetworkUniqueName) => {
103962
+ const { resumeBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(resumeBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
103963
+ return blockchainNetwork;
103964
+ };
103933
103965
  var BlockchainNodeFragment = graphql(`
103934
103966
  fragment BlockchainNode on BlockchainNode {
103935
103967
  __typename
@@ -104063,6 +104095,20 @@ var restartBlockchainNode = graphql(`
104063
104095
  }
104064
104096
  }
104065
104097
  `, [BlockchainNodeFragment]);
104098
+ var pauseBlockchainNode = graphql(`
104099
+ mutation PauseBlockchainNode($uniqueName: String!) {
104100
+ pauseBlockchainNodeByUniqueName(uniqueName: $uniqueName) {
104101
+ ...BlockchainNode
104102
+ }
104103
+ }
104104
+ `, [BlockchainNodeFragment]);
104105
+ var resumeBlockchainNode = graphql(`
104106
+ mutation ResumeBlockchainNode($uniqueName: String!) {
104107
+ resumeBlockchainNodeByUniqueName(uniqueName: $uniqueName) {
104108
+ ...BlockchainNode
104109
+ }
104110
+ }
104111
+ `, [BlockchainNodeFragment]);
104066
104112
  var blockchainNodeList = (gqlClient) => {
104067
104113
  return async (applicationUniqueName) => {
104068
104114
  const { blockchainNodesByUniqueName: { items } } = await gqlClient.request(getBlockchainNodes, { applicationUniqueName });
@@ -104091,6 +104137,14 @@ var blockchainNodeRestart = (gqlClient) => async (blockchainNodeUniqueName) => {
104091
104137
  const { restartBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(restartBlockchainNode, { uniqueName: blockchainNodeUniqueName });
104092
104138
  return blockchainNode;
104093
104139
  };
104140
+ var blockchainNodePause = (gqlClient) => async (blockchainNodeUniqueName) => {
104141
+ const { pauseBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(pauseBlockchainNode, { uniqueName: blockchainNodeUniqueName });
104142
+ return blockchainNode;
104143
+ };
104144
+ var blockchainNodeResume = (gqlClient) => async (blockchainNodeUniqueName) => {
104145
+ const { resumeBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(resumeBlockchainNode, { uniqueName: blockchainNodeUniqueName });
104146
+ return blockchainNode;
104147
+ };
104094
104148
  var CustomDeploymentFragment = graphql(`
104095
104149
  fragment CustomDeployment on CustomDeployment {
104096
104150
  id
@@ -104173,6 +104227,20 @@ var restartCustomDeployment = graphql(`
104173
104227
  }
104174
104228
  }
104175
104229
  `, [CustomDeploymentFragment]);
104230
+ var pauseCustomDeployment = graphql(`
104231
+ mutation PauseCustomDeployment($uniqueName: String!) {
104232
+ pauseCustomDeploymentByUniqueName(uniqueName: $uniqueName) {
104233
+ ...CustomDeployment
104234
+ }
104235
+ }
104236
+ `, [CustomDeploymentFragment]);
104237
+ var resumeCustomDeployment = graphql(`
104238
+ mutation ResumeCustomDeployment($uniqueName: String!) {
104239
+ resumeCustomDeploymentByUniqueName(uniqueName: $uniqueName) {
104240
+ ...CustomDeployment
104241
+ }
104242
+ }
104243
+ `, [CustomDeploymentFragment]);
104176
104244
  var customdeploymentList = (gqlClient) => {
104177
104245
  return async (applicationUniqueName) => {
104178
104246
  const { customDeploymentsByUniqueName: { items } } = await gqlClient.request(getCustomDeployments, { applicationUniqueName });
@@ -104209,6 +104277,14 @@ var customDeploymentRestart = (gqlClient) => async (customDeploymentUniqueName)
104209
104277
  const { restartCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(restartCustomDeployment, { uniqueName: customDeploymentUniqueName });
104210
104278
  return customDeployment;
104211
104279
  };
104280
+ var customDeploymentPause = (gqlClient) => async (customDeploymentUniqueName) => {
104281
+ const { pauseCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(pauseCustomDeployment, { uniqueName: customDeploymentUniqueName });
104282
+ return customDeployment;
104283
+ };
104284
+ var customDeploymentResume = (gqlClient) => async (customDeploymentUniqueName) => {
104285
+ const { resumeCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(resumeCustomDeployment, { uniqueName: customDeploymentUniqueName });
104286
+ return customDeployment;
104287
+ };
104212
104288
  var getFoundryEnvConfig = graphql(`
104213
104289
  query GetFoundryEnvConfig($blockchainNodeUniqueName: String!) {
104214
104290
  foundryEnvConfigByUniqueName(blockchainNodeUniqueName: $blockchainNodeUniqueName)
@@ -104285,6 +104361,20 @@ var restartLoadBalancer = graphql(`
104285
104361
  }
104286
104362
  }
104287
104363
  `, [LoadBalancerFragment]);
104364
+ var pauseLoadBalancer = graphql(`
104365
+ mutation PauseLoadBalancer($uniqueName: String!) {
104366
+ pauseLoadBalancerByUniqueName(uniqueName: $uniqueName) {
104367
+ ...LoadBalancer
104368
+ }
104369
+ }
104370
+ `, [LoadBalancerFragment]);
104371
+ var resumeLoadBalancer = graphql(`
104372
+ mutation ResumeLoadBalancer($uniqueName: String!) {
104373
+ resumeLoadBalancerByUniqueName(uniqueName: $uniqueName) {
104374
+ ...LoadBalancer
104375
+ }
104376
+ }
104377
+ `, [LoadBalancerFragment]);
104288
104378
  var loadBalancerRead = (gqlClient) => {
104289
104379
  return async (loadBalancerUniqueName) => {
104290
104380
  const { loadBalancerByUniqueName: loadBalancer } = await gqlClient.request(getLoadBalancer, { uniqueName: loadBalancerUniqueName });
@@ -104318,6 +104408,14 @@ var loadBalancerRestart = (gqlClient) => async (loadBalancerUniqueName) => {
104318
104408
  const { restartLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(restartLoadBalancer, { uniqueName: loadBalancerUniqueName });
104319
104409
  return loadBalancer;
104320
104410
  };
104411
+ var loadBalancerPause = (gqlClient) => async (loadBalancerUniqueName) => {
104412
+ const { pauseLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(pauseLoadBalancer, { uniqueName: loadBalancerUniqueName });
104413
+ return loadBalancer;
104414
+ };
104415
+ var loadBalancerResume = (gqlClient) => async (loadBalancerUniqueName) => {
104416
+ const { resumeLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(resumeLoadBalancer, { uniqueName: loadBalancerUniqueName });
104417
+ return loadBalancer;
104418
+ };
104321
104419
  var InsightsFragment = graphql(`
104322
104420
  fragment Insights on Insights {
104323
104421
  __typename
@@ -104391,6 +104489,20 @@ var restartInsights = graphql(`
104391
104489
  }
104392
104490
  }
104393
104491
  `, [InsightsFragment]);
104492
+ var pauseInsights = graphql(`
104493
+ mutation PauseInsights($uniqueName: String!) {
104494
+ pauseInsightsByUniqueName(uniqueName: $uniqueName) {
104495
+ ...Insights
104496
+ }
104497
+ }
104498
+ `, [InsightsFragment]);
104499
+ var resumeInsights = graphql(`
104500
+ mutation ResumeInsights($uniqueName: String!) {
104501
+ resumeInsightsByUniqueName(uniqueName: $uniqueName) {
104502
+ ...Insights
104503
+ }
104504
+ }
104505
+ `, [InsightsFragment]);
104394
104506
  var insightsList = (gqlClient) => {
104395
104507
  return async (applicationUniqueName) => {
104396
104508
  const { insightsListByUniqueName: { items } } = await gqlClient.request(getInsights, { applicationUniqueName });
@@ -104424,6 +104536,14 @@ var insightsRestart = (gqlClient) => async (insightsUniqueName) => {
104424
104536
  const { restartInsightsByUniqueName: insights } = await gqlClient.request(restartInsights, { uniqueName: insightsUniqueName });
104425
104537
  return insights;
104426
104538
  };
104539
+ var insightsPause = (gqlClient) => async (insightsUniqueName) => {
104540
+ const { pauseInsightsByUniqueName: insights } = await gqlClient.request(pauseInsights, { uniqueName: insightsUniqueName });
104541
+ return insights;
104542
+ };
104543
+ var insightsResume = (gqlClient) => async (insightsUniqueName) => {
104544
+ const { resumeInsightsByUniqueName: insights } = await gqlClient.request(resumeInsights, { uniqueName: insightsUniqueName });
104545
+ return insights;
104546
+ };
104427
104547
  var IntegrationFragment = graphql(`
104428
104548
  fragment Integration on Integration {
104429
104549
  __typename
@@ -104493,6 +104613,20 @@ var restartIntegrationTool = graphql(`
104493
104613
  }
104494
104614
  }
104495
104615
  `, [IntegrationFragment]);
104616
+ var pauseIntegrationTool = graphql(`
104617
+ mutation PauseIntegrationTool($uniqueName: String!) {
104618
+ pauseIntegrationByUniqueName(uniqueName: $uniqueName) {
104619
+ ...Integration
104620
+ }
104621
+ }
104622
+ `, [IntegrationFragment]);
104623
+ var resumeIntegrationTool = graphql(`
104624
+ mutation ResumeIntegrationTool($uniqueName: String!) {
104625
+ resumeIntegrationByUniqueName(uniqueName: $uniqueName) {
104626
+ ...Integration
104627
+ }
104628
+ }
104629
+ `, [IntegrationFragment]);
104496
104630
  var integrationToolList = (gqlClient) => {
104497
104631
  return async (applicationUniqueName) => {
104498
104632
  const { integrationsByUniqueName: { items } } = await gqlClient.request(getIntegrations, { applicationUniqueName });
@@ -104520,6 +104654,14 @@ var integrationToolRestart = (gqlClient) => async (integrationUniqueName) => {
104520
104654
  const { restartIntegrationByUniqueName: integration } = await gqlClient.request(restartIntegrationTool, { uniqueName: integrationUniqueName });
104521
104655
  return integration;
104522
104656
  };
104657
+ var integrationToolPause = (gqlClient) => async (integrationUniqueName) => {
104658
+ const { pauseIntegrationByUniqueName: integration } = await gqlClient.request(pauseIntegrationTool, { uniqueName: integrationUniqueName });
104659
+ return integration;
104660
+ };
104661
+ var integrationToolResume = (gqlClient) => async (integrationUniqueName) => {
104662
+ const { resumeIntegrationByUniqueName: integration } = await gqlClient.request(resumeIntegrationTool, { uniqueName: integrationUniqueName });
104663
+ return integration;
104664
+ };
104523
104665
  var StorageFragment = graphql(`
104524
104666
  fragment Storage on Storage {
104525
104667
  __typename
@@ -104589,6 +104731,20 @@ var restartStorage = graphql(`
104589
104731
  }
104590
104732
  }
104591
104733
  `, [StorageFragment]);
104734
+ var pauseStorage = graphql(`
104735
+ mutation PauseStorage($uniqueName: String!) {
104736
+ pauseStorageByUniqueName(uniqueName: $uniqueName) {
104737
+ ...Storage
104738
+ }
104739
+ }
104740
+ `, [StorageFragment]);
104741
+ var resumeStorage = graphql(`
104742
+ mutation ResumeStorage($uniqueName: String!) {
104743
+ resumeStorageByUniqueName(uniqueName: $uniqueName) {
104744
+ ...Storage
104745
+ }
104746
+ }
104747
+ `, [StorageFragment]);
104592
104748
  var storageList = (gqlClient) => {
104593
104749
  return async (applicationUniqueName) => {
104594
104750
  const { storagesByUniqueName: { items } } = await gqlClient.request(getStorages, { applicationUniqueName });
@@ -104616,6 +104772,14 @@ var storageRestart = (gqlClient) => async (storageUniqueName) => {
104616
104772
  const { restartStorageByUniqueName: storage } = await gqlClient.request(restartStorage, { uniqueName: storageUniqueName });
104617
104773
  return storage;
104618
104774
  };
104775
+ var storagePause = (gqlClient) => async (storageUniqueName) => {
104776
+ const { pauseStorageByUniqueName: storage } = await gqlClient.request(pauseStorage, { uniqueName: storageUniqueName });
104777
+ return storage;
104778
+ };
104779
+ var storageResume = (gqlClient) => async (storageUniqueName) => {
104780
+ const { resumeStorageByUniqueName: storage } = await gqlClient.request(resumeStorage, { uniqueName: storageUniqueName });
104781
+ return storage;
104782
+ };
104619
104783
  var MiddlewareFragment = graphql(`
104620
104784
  fragment Middleware on Middleware {
104621
104785
  __typename
@@ -104716,6 +104880,20 @@ var restartMiddleware = graphql(`
104716
104880
  }
104717
104881
  }
104718
104882
  `, [MiddlewareFragment]);
104883
+ var pauseMiddleware = graphql(`
104884
+ mutation PauseMiddleware($uniqueName: String!) {
104885
+ pauseMiddlewareByUniqueName(uniqueName: $uniqueName) {
104886
+ ...Middleware
104887
+ }
104888
+ }
104889
+ `, [MiddlewareFragment]);
104890
+ var resumeMiddleware = graphql(`
104891
+ mutation ResumeMiddleware($uniqueName: String!) {
104892
+ resumeMiddlewareByUniqueName(uniqueName: $uniqueName) {
104893
+ ...Middleware
104894
+ }
104895
+ }
104896
+ `, [MiddlewareFragment]);
104719
104897
  var middlewareList = (gqlClient) => {
104720
104898
  return async (applicationUniqueName) => {
104721
104899
  const { middlewaresByUniqueName: { items } } = await gqlClient.request(getMiddlewares, { applicationUniqueName });
@@ -104760,6 +104938,14 @@ var middlewareRestart = (gqlClient) => async (middlewareUniqueName) => {
104760
104938
  const { restartMiddlewareByUniqueName: middleware } = await gqlClient.request(restartMiddleware, { uniqueName: middlewareUniqueName });
104761
104939
  return middleware;
104762
104940
  };
104941
+ var middlewarePause = (gqlClient) => async (middlewareUniqueName) => {
104942
+ const { pauseMiddlewareByUniqueName: middleware } = await gqlClient.request(pauseMiddleware, { uniqueName: middlewareUniqueName });
104943
+ return middleware;
104944
+ };
104945
+ var middlewareResume = (gqlClient) => async (middlewareUniqueName) => {
104946
+ const { resumeMiddlewareByUniqueName: middleware } = await gqlClient.request(resumeMiddleware, { uniqueName: middlewareUniqueName });
104947
+ return middleware;
104948
+ };
104763
104949
  var getPlatformConfigQuery = graphql(`
104764
104950
  query platformConfig {
104765
104951
  config {
@@ -104892,6 +105078,20 @@ var restartPrivateKey = graphql(`
104892
105078
  }
104893
105079
  }
104894
105080
  `, [PrivateKeyFragment]);
105081
+ var pausePrivateKey = graphql(`
105082
+ mutation PausePrivateKey($uniqueName: String!) {
105083
+ pausePrivateKeyByUniqueName(uniqueName: $uniqueName) {
105084
+ ...PrivateKey
105085
+ }
105086
+ }
105087
+ `, [PrivateKeyFragment]);
105088
+ var resumePrivateKey = graphql(`
105089
+ mutation ResumePrivateKey($uniqueName: String!) {
105090
+ resumePrivateKeyByUniqueName(uniqueName: $uniqueName) {
105091
+ ...PrivateKey
105092
+ }
105093
+ }
105094
+ `, [PrivateKeyFragment]);
104895
105095
  var privateKeyList = (gqlClient) => {
104896
105096
  return async (applicationUniqueName) => {
104897
105097
  const { privateKeysByUniqueName: { items } } = await gqlClient.request(getPrivateKeys, { applicationUniqueName });
@@ -104930,6 +105130,14 @@ var privateKeyRestart = (gqlClient) => async (privateKeyUniqueName) => {
104930
105130
  const { restartPrivateKeyByUniqueName: privateKey } = await gqlClient.request(restartPrivateKey, { uniqueName: privateKeyUniqueName });
104931
105131
  return privateKey;
104932
105132
  };
105133
+ var privateKeyPause = (gqlClient) => async (privateKeyUniqueName) => {
105134
+ const { pausePrivateKeyByUniqueName: privateKey } = await gqlClient.request(pausePrivateKey, { uniqueName: privateKeyUniqueName });
105135
+ return privateKey;
105136
+ };
105137
+ var privateKeyResume = (gqlClient) => async (privateKeyUniqueName) => {
105138
+ const { resumePrivateKeyByUniqueName: privateKey } = await gqlClient.request(resumePrivateKey, { uniqueName: privateKeyUniqueName });
105139
+ return privateKey;
105140
+ };
104933
105141
  var ClientOptionsSchema = exports_external2.object({
104934
105142
  accessToken: AccessTokenSchema2,
104935
105143
  instance: UrlSchema2
@@ -105009,57 +105217,75 @@ function createSettleMintClient(options) {
105009
105217
  read: blockchainNetworkRead(gqlClient),
105010
105218
  create: blockchainNetworkCreate(gqlClient),
105011
105219
  delete: blockchainNetworkDelete(gqlClient),
105012
- restart: blockchainNetworkRestart(gqlClient)
105220
+ restart: blockchainNetworkRestart(gqlClient),
105221
+ pause: blockchainNetworkPause(gqlClient),
105222
+ resume: blockchainNetworkResume(gqlClient)
105013
105223
  },
105014
105224
  blockchainNode: {
105015
105225
  list: blockchainNodeList(gqlClient),
105016
105226
  read: blockchainNodeRead(gqlClient),
105017
105227
  create: blockchainNodeCreate(gqlClient),
105018
- restart: blockchainNodeRestart(gqlClient)
105228
+ restart: blockchainNodeRestart(gqlClient),
105229
+ pause: blockchainNodePause(gqlClient),
105230
+ resume: blockchainNodeResume(gqlClient)
105019
105231
  },
105020
105232
  loadBalancer: {
105021
105233
  list: loadBalancerList(gqlClient),
105022
105234
  read: loadBalancerRead(gqlClient),
105023
105235
  create: loadBalancerCreate(gqlClient),
105024
- restart: loadBalancerRestart(gqlClient)
105236
+ restart: loadBalancerRestart(gqlClient),
105237
+ pause: loadBalancerPause(gqlClient),
105238
+ resume: loadBalancerResume(gqlClient)
105025
105239
  },
105026
105240
  middleware: {
105027
105241
  list: middlewareList(gqlClient),
105028
105242
  read: middlewareRead(gqlClient),
105029
105243
  graphSubgraphs: graphMiddlewareSubgraphs(gqlClient),
105030
105244
  create: middlewareCreate(gqlClient),
105031
- restart: middlewareRestart(gqlClient)
105245
+ restart: middlewareRestart(gqlClient),
105246
+ pause: middlewarePause(gqlClient),
105247
+ resume: middlewareResume(gqlClient)
105032
105248
  },
105033
105249
  integrationTool: {
105034
105250
  list: integrationToolList(gqlClient),
105035
105251
  read: integrationToolRead(gqlClient),
105036
105252
  create: integrationToolCreate(gqlClient),
105037
- restart: integrationToolRestart(gqlClient)
105253
+ restart: integrationToolRestart(gqlClient),
105254
+ pause: integrationToolPause(gqlClient),
105255
+ resume: integrationToolResume(gqlClient)
105038
105256
  },
105039
105257
  storage: {
105040
105258
  list: storageList(gqlClient),
105041
105259
  read: storageRead(gqlClient),
105042
105260
  create: storageCreate(gqlClient),
105043
- restart: storageRestart(gqlClient)
105261
+ restart: storageRestart(gqlClient),
105262
+ pause: storagePause(gqlClient),
105263
+ resume: storageResume(gqlClient)
105044
105264
  },
105045
105265
  privateKey: {
105046
105266
  list: privateKeyList(gqlClient),
105047
105267
  read: privatekeyRead(gqlClient),
105048
105268
  create: privateKeyCreate(gqlClient),
105049
- restart: privateKeyRestart(gqlClient)
105269
+ restart: privateKeyRestart(gqlClient),
105270
+ pause: privateKeyPause(gqlClient),
105271
+ resume: privateKeyResume(gqlClient)
105050
105272
  },
105051
105273
  insights: {
105052
105274
  list: insightsList(gqlClient),
105053
105275
  read: insightsRead(gqlClient),
105054
105276
  create: insightsCreate(gqlClient),
105055
- restart: insightsRestart(gqlClient)
105277
+ restart: insightsRestart(gqlClient),
105278
+ pause: insightsPause(gqlClient),
105279
+ resume: insightsResume(gqlClient)
105056
105280
  },
105057
105281
  customDeployment: {
105058
105282
  list: customdeploymentList(gqlClient),
105059
105283
  read: customdeploymentRead(gqlClient),
105060
105284
  create: customdeploymentCreate(gqlClient),
105061
105285
  update: customdeploymentUpdate(gqlClient),
105062
- restart: customDeploymentRestart(gqlClient)
105286
+ restart: customDeploymentRestart(gqlClient),
105287
+ pause: customDeploymentPause(gqlClient),
105288
+ resume: customDeploymentResume(gqlClient)
105063
105289
  },
105064
105290
  foundry: { env: getEnv(gqlClient) },
105065
105291
  applicationAccessToken: { create: applicationAccessTokenCreate(gqlClient) },
@@ -106883,4 +107109,4 @@ await main().catch((error41) => {
106883
107109
  process.exit(1);
106884
107110
  });
106885
107111
 
106886
- //# debugId=62365040848A692864756E2164756E21
107112
+ //# debugId=D5052BCD9009827464756E2164756E21