@settlemint/sdk-js 2.4.0-prc1e1fd02 → 2.4.0-prc7747625
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/settlemint.cjs +9 -405
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +63 -97
- package/dist/settlemint.d.ts +63 -97
- package/dist/settlemint.js +9 -405
- package/dist/settlemint.js.map +1 -1
- package/package.json +3 -5
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
2
2
|
import * as gql_tada0 from "gql.tada";
|
|
3
|
-
import * as
|
|
3
|
+
import * as gql_tada1 from "gql.tada";
|
|
4
4
|
import * as gql_tada3 from "gql.tada";
|
|
5
5
|
import * as gql_tada5 from "gql.tada";
|
|
6
6
|
import * as gql_tada7 from "gql.tada";
|
|
@@ -9217,14 +9217,6 @@ 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
|
-
};
|
|
9228
9220
|
'applicationId': {
|
|
9229
9221
|
name: 'applicationId';
|
|
9230
9222
|
type: {
|
|
@@ -9332,9 +9324,13 @@ type introspection_types = {
|
|
|
9332
9324
|
'user': {
|
|
9333
9325
|
name: 'user';
|
|
9334
9326
|
type: {
|
|
9335
|
-
kind: '
|
|
9336
|
-
name:
|
|
9337
|
-
ofType:
|
|
9327
|
+
kind: 'NON_NULL';
|
|
9328
|
+
name: never;
|
|
9329
|
+
ofType: {
|
|
9330
|
+
kind: 'OBJECT';
|
|
9331
|
+
name: 'User';
|
|
9332
|
+
ofType: null;
|
|
9333
|
+
};
|
|
9338
9334
|
};
|
|
9339
9335
|
};
|
|
9340
9336
|
'variables': {
|
|
@@ -97956,18 +97952,6 @@ type introspection_types = {
|
|
|
97956
97952
|
};
|
|
97957
97953
|
};
|
|
97958
97954
|
};
|
|
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
|
-
};
|
|
97971
97955
|
};
|
|
97972
97956
|
};
|
|
97973
97957
|
'Subgraph': {
|
|
@@ -103798,62 +103782,8 @@ declare module 'gql.tada' {
|
|
|
103798
103782
|
}
|
|
103799
103783
|
}
|
|
103800
103784
|
//#endregion
|
|
103801
|
-
//#region src/graphql/application.d.ts
|
|
103802
|
-
/**
|
|
103803
|
-
* GraphQL fragment containing core application fields.
|
|
103804
|
-
*/
|
|
103805
|
-
declare const ApplicationFragment: gql_tada0.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_tada0.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
|
|
103855
103785
|
//#region src/graphql/application-access-tokens.d.ts
|
|
103856
|
-
declare const createApplicationAccessToken:
|
|
103786
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
103857
103787
|
createApplicationAccessToken: {
|
|
103858
103788
|
token: string | null;
|
|
103859
103789
|
};
|
|
@@ -103912,6 +103842,60 @@ type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicatio
|
|
|
103912
103842
|
* @returns A function that accepts the arguments for creating an application and returns a promise resolving to the created application.
|
|
103913
103843
|
*/
|
|
103914
103844
|
//#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
|
|
103915
103899
|
//#region src/graphql/blockchain-network.d.ts
|
|
103916
103900
|
/**
|
|
103917
103901
|
* Fragment containing core blockchain network fields.
|
|
@@ -150434,24 +150418,18 @@ interface SettlemintClient {
|
|
|
150434
150418
|
create: (args: CreateBlockchainNetworkArgs) => Promise<BlockchainNetwork>;
|
|
150435
150419
|
delete: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150436
150420
|
restart: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150437
|
-
pause: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150438
|
-
resume: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150439
150421
|
};
|
|
150440
150422
|
blockchainNode: {
|
|
150441
150423
|
list: (applicationUniqueName: string) => Promise<BlockchainNode[]>;
|
|
150442
150424
|
read: (blockchainNodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150443
150425
|
create: (args: CreateBlockchainNodeArgs) => Promise<BlockchainNode>;
|
|
150444
150426
|
restart: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150445
|
-
pause: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150446
|
-
resume: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150447
150427
|
};
|
|
150448
150428
|
loadBalancer: {
|
|
150449
150429
|
list: (applicationUniqueName: string) => Promise<LoadBalancer[]>;
|
|
150450
150430
|
read: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150451
150431
|
create: (args: CreateLoadBalancerArgs) => Promise<LoadBalancer>;
|
|
150452
150432
|
restart: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150453
|
-
pause: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150454
|
-
resume: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150455
150433
|
};
|
|
150456
150434
|
middleware: {
|
|
150457
150435
|
list: (applicationUniqueName: string) => Promise<Middleware[]>;
|
|
@@ -150459,40 +150437,30 @@ interface SettlemintClient {
|
|
|
150459
150437
|
graphSubgraphs: (middlewareUniqueName: string, noCache?: boolean) => Promise<MiddlewareWithSubgraphs>;
|
|
150460
150438
|
create: (args: CreateMiddlewareArgs) => Promise<Middleware>;
|
|
150461
150439
|
restart: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150462
|
-
pause: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150463
|
-
resume: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150464
150440
|
};
|
|
150465
150441
|
integrationTool: {
|
|
150466
150442
|
list: (applicationUniqueName: string) => Promise<IntegrationTool[]>;
|
|
150467
150443
|
read: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150468
150444
|
create: (args: CreateIntegrationToolArgs) => Promise<IntegrationTool>;
|
|
150469
150445
|
restart: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150470
|
-
pause: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150471
|
-
resume: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150472
150446
|
};
|
|
150473
150447
|
storage: {
|
|
150474
150448
|
list: (applicationUniqueName: string) => Promise<Storage[]>;
|
|
150475
150449
|
read: (storageUniqueName: string) => Promise<Storage>;
|
|
150476
150450
|
create: (args: CreateStorageArgs) => Promise<Storage>;
|
|
150477
150451
|
restart: (storageUniqueName: string) => Promise<Storage>;
|
|
150478
|
-
pause: (storageUniqueName: string) => Promise<Storage>;
|
|
150479
|
-
resume: (storageUniqueName: string) => Promise<Storage>;
|
|
150480
150452
|
};
|
|
150481
150453
|
privateKey: {
|
|
150482
150454
|
list: (applicationUniqueName: string) => Promise<PrivateKey[]>;
|
|
150483
150455
|
read: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150484
150456
|
create: (args: CreatePrivateKeyArgs) => Promise<PrivateKey>;
|
|
150485
150457
|
restart: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150486
|
-
pause: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150487
|
-
resume: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150488
150458
|
};
|
|
150489
150459
|
insights: {
|
|
150490
150460
|
list: (applicationUniqueName: string) => Promise<Insights[]>;
|
|
150491
150461
|
read: (insightsUniqueName: string) => Promise<Insights>;
|
|
150492
150462
|
create: (args: CreateInsightsArgs) => Promise<Insights>;
|
|
150493
150463
|
restart: (insightsUniqueName: string) => Promise<Insights>;
|
|
150494
|
-
pause: (insightsUniqueName: string) => Promise<Insights>;
|
|
150495
|
-
resume: (insightsUniqueName: string) => Promise<Insights>;
|
|
150496
150464
|
};
|
|
150497
150465
|
customDeployment: {
|
|
150498
150466
|
list: (applicationUniqueName: string) => Promise<CustomDeployment[]>;
|
|
@@ -150500,8 +150468,6 @@ interface SettlemintClient {
|
|
|
150500
150468
|
create: (args: CreateCustomDeploymentArgs) => Promise<CustomDeployment>;
|
|
150501
150469
|
update: (customDeploymentUniqueName: string, imageTag: string) => Promise<CustomDeployment>;
|
|
150502
150470
|
restart: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150503
|
-
pause: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150504
|
-
resume: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150505
150471
|
};
|
|
150506
150472
|
foundry: {
|
|
150507
150473
|
env: (blockchainNodeUniqueName: string) => Promise<Record<string, string>>;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -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
|
|
5
|
+
import * as gql_tada1 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,14 +9218,6 @@ 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
|
-
};
|
|
9229
9221
|
'applicationId': {
|
|
9230
9222
|
name: 'applicationId';
|
|
9231
9223
|
type: {
|
|
@@ -9333,9 +9325,13 @@ type introspection_types = {
|
|
|
9333
9325
|
'user': {
|
|
9334
9326
|
name: 'user';
|
|
9335
9327
|
type: {
|
|
9336
|
-
kind: '
|
|
9337
|
-
name:
|
|
9338
|
-
ofType:
|
|
9328
|
+
kind: 'NON_NULL';
|
|
9329
|
+
name: never;
|
|
9330
|
+
ofType: {
|
|
9331
|
+
kind: 'OBJECT';
|
|
9332
|
+
name: 'User';
|
|
9333
|
+
ofType: null;
|
|
9334
|
+
};
|
|
9339
9335
|
};
|
|
9340
9336
|
};
|
|
9341
9337
|
'variables': {
|
|
@@ -97957,18 +97953,6 @@ type introspection_types = {
|
|
|
97957
97953
|
};
|
|
97958
97954
|
};
|
|
97959
97955
|
};
|
|
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
|
-
};
|
|
97972
97956
|
};
|
|
97973
97957
|
};
|
|
97974
97958
|
'Subgraph': {
|
|
@@ -103799,62 +103783,8 @@ declare module 'gql.tada' {
|
|
|
103799
103783
|
}
|
|
103800
103784
|
}
|
|
103801
103785
|
//#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
|
|
103856
103786
|
//#region src/graphql/application-access-tokens.d.ts
|
|
103857
|
-
declare const createApplicationAccessToken:
|
|
103787
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
103858
103788
|
createApplicationAccessToken: {
|
|
103859
103789
|
token: string | null;
|
|
103860
103790
|
};
|
|
@@ -103913,6 +103843,60 @@ type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicatio
|
|
|
103913
103843
|
* @returns A function that accepts the arguments for creating an application and returns a promise resolving to the created application.
|
|
103914
103844
|
*/
|
|
103915
103845
|
//#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
|
|
103916
103900
|
//#region src/graphql/blockchain-network.d.ts
|
|
103917
103901
|
/**
|
|
103918
103902
|
* Fragment containing core blockchain network fields.
|
|
@@ -150435,24 +150419,18 @@ interface SettlemintClient {
|
|
|
150435
150419
|
create: (args: CreateBlockchainNetworkArgs) => Promise<BlockchainNetwork>;
|
|
150436
150420
|
delete: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150437
150421
|
restart: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150438
|
-
pause: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150439
|
-
resume: (networkUniqueName: string) => Promise<BlockchainNetwork>;
|
|
150440
150422
|
};
|
|
150441
150423
|
blockchainNode: {
|
|
150442
150424
|
list: (applicationUniqueName: string) => Promise<BlockchainNode[]>;
|
|
150443
150425
|
read: (blockchainNodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150444
150426
|
create: (args: CreateBlockchainNodeArgs) => Promise<BlockchainNode>;
|
|
150445
150427
|
restart: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150446
|
-
pause: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150447
|
-
resume: (nodeUniqueName: string) => Promise<BlockchainNode>;
|
|
150448
150428
|
};
|
|
150449
150429
|
loadBalancer: {
|
|
150450
150430
|
list: (applicationUniqueName: string) => Promise<LoadBalancer[]>;
|
|
150451
150431
|
read: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150452
150432
|
create: (args: CreateLoadBalancerArgs) => Promise<LoadBalancer>;
|
|
150453
150433
|
restart: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150454
|
-
pause: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150455
|
-
resume: (loadBalancerUniqueName: string) => Promise<LoadBalancer>;
|
|
150456
150434
|
};
|
|
150457
150435
|
middleware: {
|
|
150458
150436
|
list: (applicationUniqueName: string) => Promise<Middleware[]>;
|
|
@@ -150460,40 +150438,30 @@ interface SettlemintClient {
|
|
|
150460
150438
|
graphSubgraphs: (middlewareUniqueName: string, noCache?: boolean) => Promise<MiddlewareWithSubgraphs>;
|
|
150461
150439
|
create: (args: CreateMiddlewareArgs) => Promise<Middleware>;
|
|
150462
150440
|
restart: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150463
|
-
pause: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150464
|
-
resume: (middlewareUniqueName: string) => Promise<Middleware>;
|
|
150465
150441
|
};
|
|
150466
150442
|
integrationTool: {
|
|
150467
150443
|
list: (applicationUniqueName: string) => Promise<IntegrationTool[]>;
|
|
150468
150444
|
read: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150469
150445
|
create: (args: CreateIntegrationToolArgs) => Promise<IntegrationTool>;
|
|
150470
150446
|
restart: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150471
|
-
pause: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150472
|
-
resume: (integrationToolUniqueName: string) => Promise<IntegrationTool>;
|
|
150473
150447
|
};
|
|
150474
150448
|
storage: {
|
|
150475
150449
|
list: (applicationUniqueName: string) => Promise<Storage[]>;
|
|
150476
150450
|
read: (storageUniqueName: string) => Promise<Storage>;
|
|
150477
150451
|
create: (args: CreateStorageArgs) => Promise<Storage>;
|
|
150478
150452
|
restart: (storageUniqueName: string) => Promise<Storage>;
|
|
150479
|
-
pause: (storageUniqueName: string) => Promise<Storage>;
|
|
150480
|
-
resume: (storageUniqueName: string) => Promise<Storage>;
|
|
150481
150453
|
};
|
|
150482
150454
|
privateKey: {
|
|
150483
150455
|
list: (applicationUniqueName: string) => Promise<PrivateKey[]>;
|
|
150484
150456
|
read: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150485
150457
|
create: (args: CreatePrivateKeyArgs) => Promise<PrivateKey>;
|
|
150486
150458
|
restart: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150487
|
-
pause: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150488
|
-
resume: (privateKeyUniqueName: string) => Promise<PrivateKey>;
|
|
150489
150459
|
};
|
|
150490
150460
|
insights: {
|
|
150491
150461
|
list: (applicationUniqueName: string) => Promise<Insights[]>;
|
|
150492
150462
|
read: (insightsUniqueName: string) => Promise<Insights>;
|
|
150493
150463
|
create: (args: CreateInsightsArgs) => Promise<Insights>;
|
|
150494
150464
|
restart: (insightsUniqueName: string) => Promise<Insights>;
|
|
150495
|
-
pause: (insightsUniqueName: string) => Promise<Insights>;
|
|
150496
|
-
resume: (insightsUniqueName: string) => Promise<Insights>;
|
|
150497
150465
|
};
|
|
150498
150466
|
customDeployment: {
|
|
150499
150467
|
list: (applicationUniqueName: string) => Promise<CustomDeployment[]>;
|
|
@@ -150501,8 +150469,6 @@ interface SettlemintClient {
|
|
|
150501
150469
|
create: (args: CreateCustomDeploymentArgs) => Promise<CustomDeployment>;
|
|
150502
150470
|
update: (customDeploymentUniqueName: string, imageTag: string) => Promise<CustomDeployment>;
|
|
150503
150471
|
restart: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150504
|
-
pause: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150505
|
-
resume: (customDeploymentUniqueName: string) => Promise<CustomDeployment>;
|
|
150506
150472
|
};
|
|
150507
150473
|
foundry: {
|
|
150508
150474
|
env: (blockchainNodeUniqueName: string) => Promise<Record<string, string>>;
|