@settlemint/sdk-mcp 2.4.0-pr2be5b140 → 2.4.0-pr370892bd
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 +232 -24
- package/dist/mcp.js.map +5 -5
- package/package.json +4 -4
package/dist/mcp.js
CHANGED
|
@@ -59939,21 +59939,14 @@ class Protocol {
|
|
|
59939
59939
|
}
|
|
59940
59940
|
}
|
|
59941
59941
|
async connect(transport) {
|
|
59942
|
-
var _a, _b, _c;
|
|
59943
59942
|
this._transport = transport;
|
|
59944
|
-
const _onclose = (_a = this.transport) === null || _a === undefined ? undefined : _a.onclose;
|
|
59945
59943
|
this._transport.onclose = () => {
|
|
59946
|
-
_onclose === null || _onclose === undefined || _onclose();
|
|
59947
59944
|
this._onclose();
|
|
59948
59945
|
};
|
|
59949
|
-
const _onerror = (_b = this.transport) === null || _b === undefined ? undefined : _b.onerror;
|
|
59950
59946
|
this._transport.onerror = (error) => {
|
|
59951
|
-
_onerror === null || _onerror === undefined || _onerror(error);
|
|
59952
59947
|
this._onerror(error);
|
|
59953
59948
|
};
|
|
59954
|
-
const _onmessage = (_c = this._transport) === null || _c === undefined ? undefined : _c.onmessage;
|
|
59955
59949
|
this._transport.onmessage = (message, extra) => {
|
|
59956
|
-
_onmessage === null || _onmessage === undefined || _onmessage(message, extra);
|
|
59957
59950
|
if (isJSONRPCResponse(message) || isJSONRPCError(message)) {
|
|
59958
59951
|
this._onresponse(message);
|
|
59959
59952
|
} else if (isJSONRPCRequest(message)) {
|
|
@@ -60013,8 +60006,7 @@ class Protocol {
|
|
|
60013
60006
|
sendNotification: (notification) => this.notification(notification, { relatedRequestId: request.id }),
|
|
60014
60007
|
sendRequest: (r, resultSchema, options) => this.request(r, resultSchema, { ...options, relatedRequestId: request.id }),
|
|
60015
60008
|
authInfo: extra === null || extra === undefined ? undefined : extra.authInfo,
|
|
60016
|
-
requestId: request.id
|
|
60017
|
-
requestInfo: extra === null || extra === undefined ? undefined : extra.requestInfo
|
|
60009
|
+
requestId: request.id
|
|
60018
60010
|
};
|
|
60019
60011
|
Promise.resolve().then(() => handler(request, fullExtra)).then((result) => {
|
|
60020
60012
|
var _a2;
|
|
@@ -61729,7 +61721,7 @@ class McpServer {
|
|
|
61729
61721
|
};
|
|
61730
61722
|
}
|
|
61731
61723
|
}
|
|
61732
|
-
if (tool.outputSchema
|
|
61724
|
+
if (tool.outputSchema) {
|
|
61733
61725
|
if (!result.structuredContent) {
|
|
61734
61726
|
throw new McpError(ErrorCode.InvalidParams, `Tool ${request.params.name} has an output schema but no structured content was provided`);
|
|
61735
61727
|
}
|
|
@@ -90397,7 +90389,7 @@ var {
|
|
|
90397
90389
|
var package_default = {
|
|
90398
90390
|
name: "@settlemint/sdk-mcp",
|
|
90399
90391
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
90400
|
-
version: "2.4.0-
|
|
90392
|
+
version: "2.4.0-pr370892bd",
|
|
90401
90393
|
type: "module",
|
|
90402
90394
|
private: false,
|
|
90403
90395
|
license: "FSL-1.1-MIT",
|
|
@@ -90440,9 +90432,9 @@ var package_default = {
|
|
|
90440
90432
|
dependencies: {
|
|
90441
90433
|
"@graphql-tools/load": "8.1.0",
|
|
90442
90434
|
"@graphql-tools/url-loader": "8.0.31",
|
|
90443
|
-
"@modelcontextprotocol/sdk": "1.13.
|
|
90444
|
-
"@settlemint/sdk-js": "2.4.0-
|
|
90445
|
-
"@settlemint/sdk-utils": "2.4.0-
|
|
90435
|
+
"@modelcontextprotocol/sdk": "1.13.1",
|
|
90436
|
+
"@settlemint/sdk-js": "2.4.0-pr370892bd",
|
|
90437
|
+
"@settlemint/sdk-utils": "2.4.0-pr370892bd",
|
|
90446
90438
|
"@commander-js/extra-typings": "14.0.0",
|
|
90447
90439
|
commander: "14.0.0",
|
|
90448
90440
|
zod: "^3.25.0"
|
|
@@ -103904,6 +103896,20 @@ var restartBlockchainNetwork = graphql(`
|
|
|
103904
103896
|
}
|
|
103905
103897
|
}
|
|
103906
103898
|
`, [BlockchainNetworkFragment]);
|
|
103899
|
+
var pauseBlockchainNetwork = graphql(`
|
|
103900
|
+
mutation PauseBlockchainNetwork($uniqueName: String!) {
|
|
103901
|
+
pauseBlockchainNetworkByUniqueName(uniqueName: $uniqueName) {
|
|
103902
|
+
...BlockchainNetwork
|
|
103903
|
+
}
|
|
103904
|
+
}
|
|
103905
|
+
`, [BlockchainNetworkFragment]);
|
|
103906
|
+
var resumeBlockchainNetwork = graphql(`
|
|
103907
|
+
mutation ResumeBlockchainNetwork($uniqueName: String!) {
|
|
103908
|
+
resumeBlockchainNetworkByUniqueName(uniqueName: $uniqueName) {
|
|
103909
|
+
...BlockchainNetwork
|
|
103910
|
+
}
|
|
103911
|
+
}
|
|
103912
|
+
`, [BlockchainNetworkFragment]);
|
|
103907
103913
|
var blockchainNetworkList = (gqlClient) => {
|
|
103908
103914
|
return async (applicationUniqueName) => {
|
|
103909
103915
|
const { blockchainNetworksByUniqueName: { items } } = await gqlClient.request(getBlockchainNetworks, { applicationUniqueName });
|
|
@@ -103938,6 +103944,14 @@ var blockchainNetworkRestart = (gqlClient) => async (blockchainNetworkUniqueName
|
|
|
103938
103944
|
const { restartBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(restartBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
|
|
103939
103945
|
return blockchainNetwork;
|
|
103940
103946
|
};
|
|
103947
|
+
var blockchainNetworkPause = (gqlClient) => async (blockchainNetworkUniqueName) => {
|
|
103948
|
+
const { pauseBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(pauseBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
|
|
103949
|
+
return blockchainNetwork;
|
|
103950
|
+
};
|
|
103951
|
+
var blockchainNetworkResume = (gqlClient) => async (blockchainNetworkUniqueName) => {
|
|
103952
|
+
const { resumeBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(resumeBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
|
|
103953
|
+
return blockchainNetwork;
|
|
103954
|
+
};
|
|
103941
103955
|
var BlockchainNodeFragment = graphql(`
|
|
103942
103956
|
fragment BlockchainNode on BlockchainNode {
|
|
103943
103957
|
__typename
|
|
@@ -104071,6 +104085,20 @@ var restartBlockchainNode = graphql(`
|
|
|
104071
104085
|
}
|
|
104072
104086
|
}
|
|
104073
104087
|
`, [BlockchainNodeFragment]);
|
|
104088
|
+
var pauseBlockchainNode = graphql(`
|
|
104089
|
+
mutation PauseBlockchainNode($uniqueName: String!) {
|
|
104090
|
+
pauseBlockchainNodeByUniqueName(uniqueName: $uniqueName) {
|
|
104091
|
+
...BlockchainNode
|
|
104092
|
+
}
|
|
104093
|
+
}
|
|
104094
|
+
`, [BlockchainNodeFragment]);
|
|
104095
|
+
var resumeBlockchainNode = graphql(`
|
|
104096
|
+
mutation ResumeBlockchainNode($uniqueName: String!) {
|
|
104097
|
+
resumeBlockchainNodeByUniqueName(uniqueName: $uniqueName) {
|
|
104098
|
+
...BlockchainNode
|
|
104099
|
+
}
|
|
104100
|
+
}
|
|
104101
|
+
`, [BlockchainNodeFragment]);
|
|
104074
104102
|
var blockchainNodeList = (gqlClient) => {
|
|
104075
104103
|
return async (applicationUniqueName) => {
|
|
104076
104104
|
const { blockchainNodesByUniqueName: { items } } = await gqlClient.request(getBlockchainNodes, { applicationUniqueName });
|
|
@@ -104099,6 +104127,14 @@ var blockchainNodeRestart = (gqlClient) => async (blockchainNodeUniqueName) => {
|
|
|
104099
104127
|
const { restartBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(restartBlockchainNode, { uniqueName: blockchainNodeUniqueName });
|
|
104100
104128
|
return blockchainNode;
|
|
104101
104129
|
};
|
|
104130
|
+
var blockchainNodePause = (gqlClient) => async (blockchainNodeUniqueName) => {
|
|
104131
|
+
const { pauseBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(pauseBlockchainNode, { uniqueName: blockchainNodeUniqueName });
|
|
104132
|
+
return blockchainNode;
|
|
104133
|
+
};
|
|
104134
|
+
var blockchainNodeResume = (gqlClient) => async (blockchainNodeUniqueName) => {
|
|
104135
|
+
const { resumeBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(resumeBlockchainNode, { uniqueName: blockchainNodeUniqueName });
|
|
104136
|
+
return blockchainNode;
|
|
104137
|
+
};
|
|
104102
104138
|
var CustomDeploymentFragment = graphql(`
|
|
104103
104139
|
fragment CustomDeployment on CustomDeployment {
|
|
104104
104140
|
id
|
|
@@ -104181,6 +104217,20 @@ var restartCustomDeployment = graphql(`
|
|
|
104181
104217
|
}
|
|
104182
104218
|
}
|
|
104183
104219
|
`, [CustomDeploymentFragment]);
|
|
104220
|
+
var pauseCustomDeployment = graphql(`
|
|
104221
|
+
mutation PauseCustomDeployment($uniqueName: String!) {
|
|
104222
|
+
pauseCustomDeploymentByUniqueName(uniqueName: $uniqueName) {
|
|
104223
|
+
...CustomDeployment
|
|
104224
|
+
}
|
|
104225
|
+
}
|
|
104226
|
+
`, [CustomDeploymentFragment]);
|
|
104227
|
+
var resumeCustomDeployment = graphql(`
|
|
104228
|
+
mutation ResumeCustomDeployment($uniqueName: String!) {
|
|
104229
|
+
resumeCustomDeploymentByUniqueName(uniqueName: $uniqueName) {
|
|
104230
|
+
...CustomDeployment
|
|
104231
|
+
}
|
|
104232
|
+
}
|
|
104233
|
+
`, [CustomDeploymentFragment]);
|
|
104184
104234
|
var customdeploymentList = (gqlClient) => {
|
|
104185
104235
|
return async (applicationUniqueName) => {
|
|
104186
104236
|
const { customDeploymentsByUniqueName: { items } } = await gqlClient.request(getCustomDeployments, { applicationUniqueName });
|
|
@@ -104217,6 +104267,14 @@ var customDeploymentRestart = (gqlClient) => async (customDeploymentUniqueName)
|
|
|
104217
104267
|
const { restartCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(restartCustomDeployment, { uniqueName: customDeploymentUniqueName });
|
|
104218
104268
|
return customDeployment;
|
|
104219
104269
|
};
|
|
104270
|
+
var customDeploymentPause = (gqlClient) => async (customDeploymentUniqueName) => {
|
|
104271
|
+
const { pauseCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(pauseCustomDeployment, { uniqueName: customDeploymentUniqueName });
|
|
104272
|
+
return customDeployment;
|
|
104273
|
+
};
|
|
104274
|
+
var customDeploymentResume = (gqlClient) => async (customDeploymentUniqueName) => {
|
|
104275
|
+
const { resumeCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(resumeCustomDeployment, { uniqueName: customDeploymentUniqueName });
|
|
104276
|
+
return customDeployment;
|
|
104277
|
+
};
|
|
104220
104278
|
var getFoundryEnvConfig = graphql(`
|
|
104221
104279
|
query GetFoundryEnvConfig($blockchainNodeUniqueName: String!) {
|
|
104222
104280
|
foundryEnvConfigByUniqueName(blockchainNodeUniqueName: $blockchainNodeUniqueName)
|
|
@@ -104293,6 +104351,20 @@ var restartLoadBalancer = graphql(`
|
|
|
104293
104351
|
}
|
|
104294
104352
|
}
|
|
104295
104353
|
`, [LoadBalancerFragment]);
|
|
104354
|
+
var pauseLoadBalancer = graphql(`
|
|
104355
|
+
mutation PauseLoadBalancer($uniqueName: String!) {
|
|
104356
|
+
pauseLoadBalancerByUniqueName(uniqueName: $uniqueName) {
|
|
104357
|
+
...LoadBalancer
|
|
104358
|
+
}
|
|
104359
|
+
}
|
|
104360
|
+
`, [LoadBalancerFragment]);
|
|
104361
|
+
var resumeLoadBalancer = graphql(`
|
|
104362
|
+
mutation ResumeLoadBalancer($uniqueName: String!) {
|
|
104363
|
+
resumeLoadBalancerByUniqueName(uniqueName: $uniqueName) {
|
|
104364
|
+
...LoadBalancer
|
|
104365
|
+
}
|
|
104366
|
+
}
|
|
104367
|
+
`, [LoadBalancerFragment]);
|
|
104296
104368
|
var loadBalancerRead = (gqlClient) => {
|
|
104297
104369
|
return async (loadBalancerUniqueName) => {
|
|
104298
104370
|
const { loadBalancerByUniqueName: loadBalancer } = await gqlClient.request(getLoadBalancer, { uniqueName: loadBalancerUniqueName });
|
|
@@ -104326,6 +104398,14 @@ var loadBalancerRestart = (gqlClient) => async (loadBalancerUniqueName) => {
|
|
|
104326
104398
|
const { restartLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(restartLoadBalancer, { uniqueName: loadBalancerUniqueName });
|
|
104327
104399
|
return loadBalancer;
|
|
104328
104400
|
};
|
|
104401
|
+
var loadBalancerPause = (gqlClient) => async (loadBalancerUniqueName) => {
|
|
104402
|
+
const { pauseLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(pauseLoadBalancer, { uniqueName: loadBalancerUniqueName });
|
|
104403
|
+
return loadBalancer;
|
|
104404
|
+
};
|
|
104405
|
+
var loadBalancerResume = (gqlClient) => async (loadBalancerUniqueName) => {
|
|
104406
|
+
const { resumeLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(resumeLoadBalancer, { uniqueName: loadBalancerUniqueName });
|
|
104407
|
+
return loadBalancer;
|
|
104408
|
+
};
|
|
104329
104409
|
var InsightsFragment = graphql(`
|
|
104330
104410
|
fragment Insights on Insights {
|
|
104331
104411
|
__typename
|
|
@@ -104399,6 +104479,20 @@ var restartInsights = graphql(`
|
|
|
104399
104479
|
}
|
|
104400
104480
|
}
|
|
104401
104481
|
`, [InsightsFragment]);
|
|
104482
|
+
var pauseInsights = graphql(`
|
|
104483
|
+
mutation PauseInsights($uniqueName: String!) {
|
|
104484
|
+
pauseInsightsByUniqueName(uniqueName: $uniqueName) {
|
|
104485
|
+
...Insights
|
|
104486
|
+
}
|
|
104487
|
+
}
|
|
104488
|
+
`, [InsightsFragment]);
|
|
104489
|
+
var resumeInsights = graphql(`
|
|
104490
|
+
mutation ResumeInsights($uniqueName: String!) {
|
|
104491
|
+
resumeInsightsByUniqueName(uniqueName: $uniqueName) {
|
|
104492
|
+
...Insights
|
|
104493
|
+
}
|
|
104494
|
+
}
|
|
104495
|
+
`, [InsightsFragment]);
|
|
104402
104496
|
var insightsList = (gqlClient) => {
|
|
104403
104497
|
return async (applicationUniqueName) => {
|
|
104404
104498
|
const { insightsListByUniqueName: { items } } = await gqlClient.request(getInsights, { applicationUniqueName });
|
|
@@ -104432,6 +104526,14 @@ var insightsRestart = (gqlClient) => async (insightsUniqueName) => {
|
|
|
104432
104526
|
const { restartInsightsByUniqueName: insights } = await gqlClient.request(restartInsights, { uniqueName: insightsUniqueName });
|
|
104433
104527
|
return insights;
|
|
104434
104528
|
};
|
|
104529
|
+
var insightsPause = (gqlClient) => async (insightsUniqueName) => {
|
|
104530
|
+
const { pauseInsightsByUniqueName: insights } = await gqlClient.request(pauseInsights, { uniqueName: insightsUniqueName });
|
|
104531
|
+
return insights;
|
|
104532
|
+
};
|
|
104533
|
+
var insightsResume = (gqlClient) => async (insightsUniqueName) => {
|
|
104534
|
+
const { resumeInsightsByUniqueName: insights } = await gqlClient.request(resumeInsights, { uniqueName: insightsUniqueName });
|
|
104535
|
+
return insights;
|
|
104536
|
+
};
|
|
104435
104537
|
var IntegrationFragment = graphql(`
|
|
104436
104538
|
fragment Integration on Integration {
|
|
104437
104539
|
__typename
|
|
@@ -104501,6 +104603,20 @@ var restartIntegrationTool = graphql(`
|
|
|
104501
104603
|
}
|
|
104502
104604
|
}
|
|
104503
104605
|
`, [IntegrationFragment]);
|
|
104606
|
+
var pauseIntegrationTool = graphql(`
|
|
104607
|
+
mutation PauseIntegrationTool($uniqueName: String!) {
|
|
104608
|
+
pauseIntegrationByUniqueName(uniqueName: $uniqueName) {
|
|
104609
|
+
...Integration
|
|
104610
|
+
}
|
|
104611
|
+
}
|
|
104612
|
+
`, [IntegrationFragment]);
|
|
104613
|
+
var resumeIntegrationTool = graphql(`
|
|
104614
|
+
mutation ResumeIntegrationTool($uniqueName: String!) {
|
|
104615
|
+
resumeIntegrationByUniqueName(uniqueName: $uniqueName) {
|
|
104616
|
+
...Integration
|
|
104617
|
+
}
|
|
104618
|
+
}
|
|
104619
|
+
`, [IntegrationFragment]);
|
|
104504
104620
|
var integrationToolList = (gqlClient) => {
|
|
104505
104621
|
return async (applicationUniqueName) => {
|
|
104506
104622
|
const { integrationsByUniqueName: { items } } = await gqlClient.request(getIntegrations, { applicationUniqueName });
|
|
@@ -104528,6 +104644,14 @@ var integrationToolRestart = (gqlClient) => async (integrationUniqueName) => {
|
|
|
104528
104644
|
const { restartIntegrationByUniqueName: integration } = await gqlClient.request(restartIntegrationTool, { uniqueName: integrationUniqueName });
|
|
104529
104645
|
return integration;
|
|
104530
104646
|
};
|
|
104647
|
+
var integrationToolPause = (gqlClient) => async (integrationUniqueName) => {
|
|
104648
|
+
const { pauseIntegrationByUniqueName: integration } = await gqlClient.request(pauseIntegrationTool, { uniqueName: integrationUniqueName });
|
|
104649
|
+
return integration;
|
|
104650
|
+
};
|
|
104651
|
+
var integrationToolResume = (gqlClient) => async (integrationUniqueName) => {
|
|
104652
|
+
const { resumeIntegrationByUniqueName: integration } = await gqlClient.request(resumeIntegrationTool, { uniqueName: integrationUniqueName });
|
|
104653
|
+
return integration;
|
|
104654
|
+
};
|
|
104531
104655
|
var StorageFragment = graphql(`
|
|
104532
104656
|
fragment Storage on Storage {
|
|
104533
104657
|
__typename
|
|
@@ -104597,6 +104721,20 @@ var restartStorage = graphql(`
|
|
|
104597
104721
|
}
|
|
104598
104722
|
}
|
|
104599
104723
|
`, [StorageFragment]);
|
|
104724
|
+
var pauseStorage = graphql(`
|
|
104725
|
+
mutation PauseStorage($uniqueName: String!) {
|
|
104726
|
+
pauseStorageByUniqueName(uniqueName: $uniqueName) {
|
|
104727
|
+
...Storage
|
|
104728
|
+
}
|
|
104729
|
+
}
|
|
104730
|
+
`, [StorageFragment]);
|
|
104731
|
+
var resumeStorage = graphql(`
|
|
104732
|
+
mutation ResumeStorage($uniqueName: String!) {
|
|
104733
|
+
resumeStorageByUniqueName(uniqueName: $uniqueName) {
|
|
104734
|
+
...Storage
|
|
104735
|
+
}
|
|
104736
|
+
}
|
|
104737
|
+
`, [StorageFragment]);
|
|
104600
104738
|
var storageList = (gqlClient) => {
|
|
104601
104739
|
return async (applicationUniqueName) => {
|
|
104602
104740
|
const { storagesByUniqueName: { items } } = await gqlClient.request(getStorages, { applicationUniqueName });
|
|
@@ -104624,6 +104762,14 @@ var storageRestart = (gqlClient) => async (storageUniqueName) => {
|
|
|
104624
104762
|
const { restartStorageByUniqueName: storage } = await gqlClient.request(restartStorage, { uniqueName: storageUniqueName });
|
|
104625
104763
|
return storage;
|
|
104626
104764
|
};
|
|
104765
|
+
var storagePause = (gqlClient) => async (storageUniqueName) => {
|
|
104766
|
+
const { pauseStorageByUniqueName: storage } = await gqlClient.request(pauseStorage, { uniqueName: storageUniqueName });
|
|
104767
|
+
return storage;
|
|
104768
|
+
};
|
|
104769
|
+
var storageResume = (gqlClient) => async (storageUniqueName) => {
|
|
104770
|
+
const { resumeStorageByUniqueName: storage } = await gqlClient.request(resumeStorage, { uniqueName: storageUniqueName });
|
|
104771
|
+
return storage;
|
|
104772
|
+
};
|
|
104627
104773
|
var MiddlewareFragment = graphql(`
|
|
104628
104774
|
fragment Middleware on Middleware {
|
|
104629
104775
|
__typename
|
|
@@ -104724,6 +104870,20 @@ var restartMiddleware = graphql(`
|
|
|
104724
104870
|
}
|
|
104725
104871
|
}
|
|
104726
104872
|
`, [MiddlewareFragment]);
|
|
104873
|
+
var pauseMiddleware = graphql(`
|
|
104874
|
+
mutation PauseMiddleware($uniqueName: String!) {
|
|
104875
|
+
pauseMiddlewareByUniqueName(uniqueName: $uniqueName) {
|
|
104876
|
+
...Middleware
|
|
104877
|
+
}
|
|
104878
|
+
}
|
|
104879
|
+
`, [MiddlewareFragment]);
|
|
104880
|
+
var resumeMiddleware = graphql(`
|
|
104881
|
+
mutation ResumeMiddleware($uniqueName: String!) {
|
|
104882
|
+
resumeMiddlewareByUniqueName(uniqueName: $uniqueName) {
|
|
104883
|
+
...Middleware
|
|
104884
|
+
}
|
|
104885
|
+
}
|
|
104886
|
+
`, [MiddlewareFragment]);
|
|
104727
104887
|
var middlewareList = (gqlClient) => {
|
|
104728
104888
|
return async (applicationUniqueName) => {
|
|
104729
104889
|
const { middlewaresByUniqueName: { items } } = await gqlClient.request(getMiddlewares, { applicationUniqueName });
|
|
@@ -104768,6 +104928,14 @@ var middlewareRestart = (gqlClient) => async (middlewareUniqueName) => {
|
|
|
104768
104928
|
const { restartMiddlewareByUniqueName: middleware } = await gqlClient.request(restartMiddleware, { uniqueName: middlewareUniqueName });
|
|
104769
104929
|
return middleware;
|
|
104770
104930
|
};
|
|
104931
|
+
var middlewarePause = (gqlClient) => async (middlewareUniqueName) => {
|
|
104932
|
+
const { pauseMiddlewareByUniqueName: middleware } = await gqlClient.request(pauseMiddleware, { uniqueName: middlewareUniqueName });
|
|
104933
|
+
return middleware;
|
|
104934
|
+
};
|
|
104935
|
+
var middlewareResume = (gqlClient) => async (middlewareUniqueName) => {
|
|
104936
|
+
const { resumeMiddlewareByUniqueName: middleware } = await gqlClient.request(resumeMiddleware, { uniqueName: middlewareUniqueName });
|
|
104937
|
+
return middleware;
|
|
104938
|
+
};
|
|
104771
104939
|
var getPlatformConfigQuery = graphql(`
|
|
104772
104940
|
query platformConfig {
|
|
104773
104941
|
config {
|
|
@@ -104900,6 +105068,20 @@ var restartPrivateKey = graphql(`
|
|
|
104900
105068
|
}
|
|
104901
105069
|
}
|
|
104902
105070
|
`, [PrivateKeyFragment]);
|
|
105071
|
+
var pausePrivateKey = graphql(`
|
|
105072
|
+
mutation PausePrivateKey($uniqueName: String!) {
|
|
105073
|
+
pausePrivateKeyByUniqueName(uniqueName: $uniqueName) {
|
|
105074
|
+
...PrivateKey
|
|
105075
|
+
}
|
|
105076
|
+
}
|
|
105077
|
+
`, [PrivateKeyFragment]);
|
|
105078
|
+
var resumePrivateKey = graphql(`
|
|
105079
|
+
mutation ResumePrivateKey($uniqueName: String!) {
|
|
105080
|
+
resumePrivateKeyByUniqueName(uniqueName: $uniqueName) {
|
|
105081
|
+
...PrivateKey
|
|
105082
|
+
}
|
|
105083
|
+
}
|
|
105084
|
+
`, [PrivateKeyFragment]);
|
|
104903
105085
|
var privateKeyList = (gqlClient) => {
|
|
104904
105086
|
return async (applicationUniqueName) => {
|
|
104905
105087
|
const { privateKeysByUniqueName: { items } } = await gqlClient.request(getPrivateKeys, { applicationUniqueName });
|
|
@@ -104938,6 +105120,14 @@ var privateKeyRestart = (gqlClient) => async (privateKeyUniqueName) => {
|
|
|
104938
105120
|
const { restartPrivateKeyByUniqueName: privateKey } = await gqlClient.request(restartPrivateKey, { uniqueName: privateKeyUniqueName });
|
|
104939
105121
|
return privateKey;
|
|
104940
105122
|
};
|
|
105123
|
+
var privateKeyPause = (gqlClient) => async (privateKeyUniqueName) => {
|
|
105124
|
+
const { pausePrivateKeyByUniqueName: privateKey } = await gqlClient.request(pausePrivateKey, { uniqueName: privateKeyUniqueName });
|
|
105125
|
+
return privateKey;
|
|
105126
|
+
};
|
|
105127
|
+
var privateKeyResume = (gqlClient) => async (privateKeyUniqueName) => {
|
|
105128
|
+
const { resumePrivateKeyByUniqueName: privateKey } = await gqlClient.request(resumePrivateKey, { uniqueName: privateKeyUniqueName });
|
|
105129
|
+
return privateKey;
|
|
105130
|
+
};
|
|
104941
105131
|
var ClientOptionsSchema = exports_external2.object({
|
|
104942
105132
|
accessToken: AccessTokenSchema2,
|
|
104943
105133
|
instance: UrlSchema2
|
|
@@ -105017,57 +105207,75 @@ function createSettleMintClient(options) {
|
|
|
105017
105207
|
read: blockchainNetworkRead(gqlClient),
|
|
105018
105208
|
create: blockchainNetworkCreate(gqlClient),
|
|
105019
105209
|
delete: blockchainNetworkDelete(gqlClient),
|
|
105020
|
-
restart: blockchainNetworkRestart(gqlClient)
|
|
105210
|
+
restart: blockchainNetworkRestart(gqlClient),
|
|
105211
|
+
pause: blockchainNetworkPause(gqlClient),
|
|
105212
|
+
resume: blockchainNetworkResume(gqlClient)
|
|
105021
105213
|
},
|
|
105022
105214
|
blockchainNode: {
|
|
105023
105215
|
list: blockchainNodeList(gqlClient),
|
|
105024
105216
|
read: blockchainNodeRead(gqlClient),
|
|
105025
105217
|
create: blockchainNodeCreate(gqlClient),
|
|
105026
|
-
restart: blockchainNodeRestart(gqlClient)
|
|
105218
|
+
restart: blockchainNodeRestart(gqlClient),
|
|
105219
|
+
pause: blockchainNodePause(gqlClient),
|
|
105220
|
+
resume: blockchainNodeResume(gqlClient)
|
|
105027
105221
|
},
|
|
105028
105222
|
loadBalancer: {
|
|
105029
105223
|
list: loadBalancerList(gqlClient),
|
|
105030
105224
|
read: loadBalancerRead(gqlClient),
|
|
105031
105225
|
create: loadBalancerCreate(gqlClient),
|
|
105032
|
-
restart: loadBalancerRestart(gqlClient)
|
|
105226
|
+
restart: loadBalancerRestart(gqlClient),
|
|
105227
|
+
pause: loadBalancerPause(gqlClient),
|
|
105228
|
+
resume: loadBalancerResume(gqlClient)
|
|
105033
105229
|
},
|
|
105034
105230
|
middleware: {
|
|
105035
105231
|
list: middlewareList(gqlClient),
|
|
105036
105232
|
read: middlewareRead(gqlClient),
|
|
105037
105233
|
graphSubgraphs: graphMiddlewareSubgraphs(gqlClient),
|
|
105038
105234
|
create: middlewareCreate(gqlClient),
|
|
105039
|
-
restart: middlewareRestart(gqlClient)
|
|
105235
|
+
restart: middlewareRestart(gqlClient),
|
|
105236
|
+
pause: middlewarePause(gqlClient),
|
|
105237
|
+
resume: middlewareResume(gqlClient)
|
|
105040
105238
|
},
|
|
105041
105239
|
integrationTool: {
|
|
105042
105240
|
list: integrationToolList(gqlClient),
|
|
105043
105241
|
read: integrationToolRead(gqlClient),
|
|
105044
105242
|
create: integrationToolCreate(gqlClient),
|
|
105045
|
-
restart: integrationToolRestart(gqlClient)
|
|
105243
|
+
restart: integrationToolRestart(gqlClient),
|
|
105244
|
+
pause: integrationToolPause(gqlClient),
|
|
105245
|
+
resume: integrationToolResume(gqlClient)
|
|
105046
105246
|
},
|
|
105047
105247
|
storage: {
|
|
105048
105248
|
list: storageList(gqlClient),
|
|
105049
105249
|
read: storageRead(gqlClient),
|
|
105050
105250
|
create: storageCreate(gqlClient),
|
|
105051
|
-
restart: storageRestart(gqlClient)
|
|
105251
|
+
restart: storageRestart(gqlClient),
|
|
105252
|
+
pause: storagePause(gqlClient),
|
|
105253
|
+
resume: storageResume(gqlClient)
|
|
105052
105254
|
},
|
|
105053
105255
|
privateKey: {
|
|
105054
105256
|
list: privateKeyList(gqlClient),
|
|
105055
105257
|
read: privatekeyRead(gqlClient),
|
|
105056
105258
|
create: privateKeyCreate(gqlClient),
|
|
105057
|
-
restart: privateKeyRestart(gqlClient)
|
|
105259
|
+
restart: privateKeyRestart(gqlClient),
|
|
105260
|
+
pause: privateKeyPause(gqlClient),
|
|
105261
|
+
resume: privateKeyResume(gqlClient)
|
|
105058
105262
|
},
|
|
105059
105263
|
insights: {
|
|
105060
105264
|
list: insightsList(gqlClient),
|
|
105061
105265
|
read: insightsRead(gqlClient),
|
|
105062
105266
|
create: insightsCreate(gqlClient),
|
|
105063
|
-
restart: insightsRestart(gqlClient)
|
|
105267
|
+
restart: insightsRestart(gqlClient),
|
|
105268
|
+
pause: insightsPause(gqlClient),
|
|
105269
|
+
resume: insightsResume(gqlClient)
|
|
105064
105270
|
},
|
|
105065
105271
|
customDeployment: {
|
|
105066
105272
|
list: customdeploymentList(gqlClient),
|
|
105067
105273
|
read: customdeploymentRead(gqlClient),
|
|
105068
105274
|
create: customdeploymentCreate(gqlClient),
|
|
105069
105275
|
update: customdeploymentUpdate(gqlClient),
|
|
105070
|
-
restart: customDeploymentRestart(gqlClient)
|
|
105276
|
+
restart: customDeploymentRestart(gqlClient),
|
|
105277
|
+
pause: customDeploymentPause(gqlClient),
|
|
105278
|
+
resume: customDeploymentResume(gqlClient)
|
|
105071
105279
|
},
|
|
105072
105280
|
foundry: { env: getEnv(gqlClient) },
|
|
105073
105281
|
applicationAccessToken: { create: applicationAccessTokenCreate(gqlClient) },
|
|
@@ -106891,4 +107099,4 @@ await main().catch((error41) => {
|
|
|
106891
107099
|
process.exit(1);
|
|
106892
107100
|
});
|
|
106893
107101
|
|
|
106894
|
-
//# debugId=
|
|
107102
|
+
//# debugId=BC841200580197B764756E2164756E21
|