@settlemint/sdk-js 2.3.8 → 2.3.11-pr32559e86
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/README.md +19 -19
- package/dist/settlemint.d.cts +69 -79
- package/dist/settlemint.d.ts +35 -45
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ The SettleMint JavaScript SDK provides a type-safe wrapper around the SettleMint
|
|
|
62
62
|
|
|
63
63
|
> **createSettleMintClient**(`options`): [`SettlemintClient`](#settlemintclient)
|
|
64
64
|
|
|
65
|
-
Defined in: [settlemint.ts:239](https://github.com/settlemint/sdk/blob/v2.3.
|
|
65
|
+
Defined in: [settlemint.ts:239](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/settlemint.ts#L239)
|
|
66
66
|
|
|
67
67
|
Creates a SettleMint client with the provided options. The client provides methods to interact with
|
|
68
68
|
various SettleMint resources like workspaces, applications, blockchain networks, blockchain nodes, middleware,
|
|
@@ -109,7 +109,7 @@ const workspace = await client.workspace.read('workspace-unique-name');
|
|
|
109
109
|
|
|
110
110
|
#### SettlemintClient
|
|
111
111
|
|
|
112
|
-
Defined in: [settlemint.ts:127](https://github.com/settlemint/sdk/blob/v2.3.
|
|
112
|
+
Defined in: [settlemint.ts:127](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/settlemint.ts#L127)
|
|
113
113
|
|
|
114
114
|
Client interface for interacting with the SettleMint platform.
|
|
115
115
|
|
|
@@ -117,7 +117,7 @@ Client interface for interacting with the SettleMint platform.
|
|
|
117
117
|
|
|
118
118
|
#### SettlemintClientOptions
|
|
119
119
|
|
|
120
|
-
Defined in: [settlemint.ts:117](https://github.com/settlemint/sdk/blob/v2.3.
|
|
120
|
+
Defined in: [settlemint.ts:117](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/settlemint.ts#L117)
|
|
121
121
|
|
|
122
122
|
Options for the Settlemint client.
|
|
123
123
|
|
|
@@ -129,9 +129,9 @@ Options for the Settlemint client.
|
|
|
129
129
|
|
|
130
130
|
| Property | Type | Default value | Description | Inherited from | Defined in |
|
|
131
131
|
| ------ | ------ | ------ | ------ | ------ | ------ |
|
|
132
|
-
| <a id="accesstoken"></a> `accessToken?` | `string` | `undefined` | The access token used to authenticate with the SettleMint platform | - | [settlemint.ts:119](https://github.com/settlemint/sdk/blob/v2.3.
|
|
133
|
-
| <a id="anonymous"></a> `anonymous?` | `boolean` | `undefined` | Whether to allow anonymous access (no access token required) | - | [settlemint.ts:121](https://github.com/settlemint/sdk/blob/v2.3.
|
|
134
|
-
| <a id="instance"></a> `instance` | `string` | `UrlSchema` | The URL of the SettleMint instance to connect to | `Omit.instance` | [helpers/client-options.schema.ts:11](https://github.com/settlemint/sdk/blob/v2.3.
|
|
132
|
+
| <a id="accesstoken"></a> `accessToken?` | `string` | `undefined` | The access token used to authenticate with the SettleMint platform | - | [settlemint.ts:119](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/settlemint.ts#L119) |
|
|
133
|
+
| <a id="anonymous"></a> `anonymous?` | `boolean` | `undefined` | Whether to allow anonymous access (no access token required) | - | [settlemint.ts:121](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/settlemint.ts#L121) |
|
|
134
|
+
| <a id="instance"></a> `instance` | `string` | `UrlSchema` | The URL of the SettleMint instance to connect to | `Omit.instance` | [helpers/client-options.schema.ts:11](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/helpers/client-options.schema.ts#L11) |
|
|
135
135
|
|
|
136
136
|
### Type Aliases
|
|
137
137
|
|
|
@@ -139,7 +139,7 @@ Options for the Settlemint client.
|
|
|
139
139
|
|
|
140
140
|
> **Application** = `ResultOf`\<*typeof* `ApplicationFragment`\>
|
|
141
141
|
|
|
142
|
-
Defined in: [graphql/application.ts:24](https://github.com/settlemint/sdk/blob/v2.3.
|
|
142
|
+
Defined in: [graphql/application.ts:24](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/application.ts#L24)
|
|
143
143
|
|
|
144
144
|
Type representing an application entity.
|
|
145
145
|
|
|
@@ -149,7 +149,7 @@ Type representing an application entity.
|
|
|
149
149
|
|
|
150
150
|
> **BlockchainNetwork** = `ResultOf`\<*typeof* `BlockchainNetworkFragment`\>
|
|
151
151
|
|
|
152
|
-
Defined in: [graphql/blockchain-network.ts:82](https://github.com/settlemint/sdk/blob/v2.3.
|
|
152
|
+
Defined in: [graphql/blockchain-network.ts:82](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/blockchain-network.ts#L82)
|
|
153
153
|
|
|
154
154
|
Type representing a blockchain network entity.
|
|
155
155
|
|
|
@@ -159,7 +159,7 @@ Type representing a blockchain network entity.
|
|
|
159
159
|
|
|
160
160
|
> **BlockchainNode** = `ResultOf`\<*typeof* `BlockchainNodeFragment`\>
|
|
161
161
|
|
|
162
|
-
Defined in: [graphql/blockchain-node.ts:96](https://github.com/settlemint/sdk/blob/v2.3.
|
|
162
|
+
Defined in: [graphql/blockchain-node.ts:96](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/blockchain-node.ts#L96)
|
|
163
163
|
|
|
164
164
|
Type representing a blockchain node entity.
|
|
165
165
|
|
|
@@ -169,7 +169,7 @@ Type representing a blockchain node entity.
|
|
|
169
169
|
|
|
170
170
|
> **CustomDeployment** = `ResultOf`\<*typeof* `CustomDeploymentFragment`\>
|
|
171
171
|
|
|
172
|
-
Defined in: [graphql/custom-deployment.ts:33](https://github.com/settlemint/sdk/blob/v2.3.
|
|
172
|
+
Defined in: [graphql/custom-deployment.ts:33](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/custom-deployment.ts#L33)
|
|
173
173
|
|
|
174
174
|
Type representing a custom deployment entity.
|
|
175
175
|
|
|
@@ -179,7 +179,7 @@ Type representing a custom deployment entity.
|
|
|
179
179
|
|
|
180
180
|
> **Insights** = `ResultOf`\<*typeof* `InsightsFragment`\>
|
|
181
181
|
|
|
182
|
-
Defined in: [graphql/insights.ts:37](https://github.com/settlemint/sdk/blob/v2.3.
|
|
182
|
+
Defined in: [graphql/insights.ts:37](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/insights.ts#L37)
|
|
183
183
|
|
|
184
184
|
Type representing an insights entity.
|
|
185
185
|
|
|
@@ -189,7 +189,7 @@ Type representing an insights entity.
|
|
|
189
189
|
|
|
190
190
|
> **IntegrationTool** = `ResultOf`\<*typeof* `IntegrationFragment`\>
|
|
191
191
|
|
|
192
|
-
Defined in: [graphql/integration-tool.ts:35](https://github.com/settlemint/sdk/blob/v2.3.
|
|
192
|
+
Defined in: [graphql/integration-tool.ts:35](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/integration-tool.ts#L35)
|
|
193
193
|
|
|
194
194
|
Type representing an integration tool entity.
|
|
195
195
|
|
|
@@ -199,7 +199,7 @@ Type representing an integration tool entity.
|
|
|
199
199
|
|
|
200
200
|
> **LoadBalancer** = `ResultOf`\<*typeof* `LoadBalancerFragment`\>
|
|
201
201
|
|
|
202
|
-
Defined in: [graphql/load-balancer.ts:31](https://github.com/settlemint/sdk/blob/v2.3.
|
|
202
|
+
Defined in: [graphql/load-balancer.ts:31](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/load-balancer.ts#L31)
|
|
203
203
|
|
|
204
204
|
Type representing a load balancer entity.
|
|
205
205
|
|
|
@@ -209,7 +209,7 @@ Type representing a load balancer entity.
|
|
|
209
209
|
|
|
210
210
|
> **Middleware** = `ResultOf`\<*typeof* `MiddlewareFragment`\>
|
|
211
211
|
|
|
212
|
-
Defined in: [graphql/middleware.ts:43](https://github.com/settlemint/sdk/blob/v2.3.
|
|
212
|
+
Defined in: [graphql/middleware.ts:43](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/middleware.ts#L43)
|
|
213
213
|
|
|
214
214
|
Type representing a middleware entity.
|
|
215
215
|
|
|
@@ -219,7 +219,7 @@ Type representing a middleware entity.
|
|
|
219
219
|
|
|
220
220
|
> **MiddlewareWithSubgraphs** = `ResultOf`\<*typeof* `getGraphMiddlewareSubgraphs`\>\[`"middlewareByUniqueName"`\]
|
|
221
221
|
|
|
222
|
-
Defined in: [graphql/middleware.ts:101](https://github.com/settlemint/sdk/blob/v2.3.
|
|
222
|
+
Defined in: [graphql/middleware.ts:101](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/middleware.ts#L101)
|
|
223
223
|
|
|
224
224
|
Type representing a middleware entity with subgraphs.
|
|
225
225
|
|
|
@@ -229,7 +229,7 @@ Type representing a middleware entity with subgraphs.
|
|
|
229
229
|
|
|
230
230
|
> **PlatformConfig** = `ResultOf`\<*typeof* `getPlatformConfigQuery`\>\[`"config"`\]
|
|
231
231
|
|
|
232
|
-
Defined in: [graphql/platform.ts:56](https://github.com/settlemint/sdk/blob/v2.3.
|
|
232
|
+
Defined in: [graphql/platform.ts:56](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/platform.ts#L56)
|
|
233
233
|
|
|
234
234
|
Type representing the platform configuration.
|
|
235
235
|
|
|
@@ -239,7 +239,7 @@ Type representing the platform configuration.
|
|
|
239
239
|
|
|
240
240
|
> **PrivateKey** = `ResultOf`\<*typeof* `PrivateKeyFragment`\>
|
|
241
241
|
|
|
242
|
-
Defined in: [graphql/private-key.ts:44](https://github.com/settlemint/sdk/blob/v2.3.
|
|
242
|
+
Defined in: [graphql/private-key.ts:44](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/private-key.ts#L44)
|
|
243
243
|
|
|
244
244
|
Type representing a private key entity.
|
|
245
245
|
|
|
@@ -249,7 +249,7 @@ Type representing a private key entity.
|
|
|
249
249
|
|
|
250
250
|
> **Storage** = `ResultOf`\<*typeof* `StorageFragment`\>
|
|
251
251
|
|
|
252
|
-
Defined in: [graphql/storage.ts:35](https://github.com/settlemint/sdk/blob/v2.3.
|
|
252
|
+
Defined in: [graphql/storage.ts:35](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/storage.ts#L35)
|
|
253
253
|
|
|
254
254
|
Type representing a storage entity.
|
|
255
255
|
|
|
@@ -259,7 +259,7 @@ Type representing a storage entity.
|
|
|
259
259
|
|
|
260
260
|
> **Workspace** = `ResultOf`\<*typeof* `WorkspaceFragment`\>
|
|
261
261
|
|
|
262
|
-
Defined in: [graphql/workspace.ts:26](https://github.com/settlemint/sdk/blob/v2.3.
|
|
262
|
+
Defined in: [graphql/workspace.ts:26](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/js/src/graphql/workspace.ts#L26)
|
|
263
263
|
|
|
264
264
|
Type representing a workspace entity.
|
|
265
265
|
|
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
2
|
-
import * as gql_tada22 from "gql.tada";
|
|
3
|
-
import * as gql_tada2 from "gql.tada";
|
|
4
2
|
import * as gql_tada0 from "gql.tada";
|
|
3
|
+
import * as gql_tada1 from "gql.tada";
|
|
4
|
+
import * as gql_tada3 from "gql.tada";
|
|
5
|
+
import * as gql_tada5 from "gql.tada";
|
|
5
6
|
import * as gql_tada7 from "gql.tada";
|
|
6
|
-
import * as gql_tada12 from "gql.tada";
|
|
7
|
-
import * as gql_tada16 from "gql.tada";
|
|
8
|
-
import * as gql_tada20 from "gql.tada";
|
|
9
|
-
import * as gql_tada23 from "gql.tada";
|
|
10
|
-
import * as gql_tada4 from "gql.tada";
|
|
11
7
|
import * as gql_tada9 from "gql.tada";
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
8
|
+
import * as gql_tada11 from "gql.tada";
|
|
9
|
+
import * as gql_tada13 from "gql.tada";
|
|
10
|
+
import * as gql_tada15 from "gql.tada";
|
|
14
11
|
import * as gql_tada18 from "gql.tada";
|
|
12
|
+
import * as gql_tada19 from "gql.tada";
|
|
13
|
+
import * as gql_tada21 from "gql.tada";
|
|
14
|
+
import * as gql_tada23 from "gql.tada";
|
|
15
15
|
import { ResultOf, VariablesOf } from "gql.tada";
|
|
16
16
|
import { z } from "zod/v4";
|
|
17
17
|
|
|
@@ -102416,9 +102416,10 @@ declare module 'gql.tada' {
|
|
|
102416
102416
|
interface setupSchema {
|
|
102417
102417
|
introspection: introspection;
|
|
102418
102418
|
}
|
|
102419
|
-
}
|
|
102419
|
+
}
|
|
102420
|
+
//#endregion
|
|
102420
102421
|
//#region src/graphql/application-access-tokens.d.ts
|
|
102421
|
-
declare const createApplicationAccessToken:
|
|
102422
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
102422
102423
|
createApplicationAccessToken: {
|
|
102423
102424
|
token: string | null;
|
|
102424
102425
|
};
|
|
@@ -102469,19 +102470,19 @@ declare const createApplicationAccessToken: gql_tada22.TadaDocumentNode<{
|
|
|
102469
102470
|
}, void>;
|
|
102470
102471
|
type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicationAccessToken>, "applicationId"> & {
|
|
102471
102472
|
applicationUniqueName: string;
|
|
102472
|
-
};
|
|
102473
|
-
//#region src/graphql/application.d.ts
|
|
102474
|
-
|
|
102473
|
+
};
|
|
102475
102474
|
/**
|
|
102476
102475
|
* Creates a new application.
|
|
102477
102476
|
*
|
|
102478
102477
|
* @param gqlClient - The GraphQL client instance used to execute the mutation.
|
|
102479
102478
|
* @returns A function that accepts the arguments for creating an application and returns a promise resolving to the created application.
|
|
102480
102479
|
*/
|
|
102480
|
+
//#endregion
|
|
102481
|
+
//#region src/graphql/application.d.ts
|
|
102481
102482
|
/**
|
|
102482
102483
|
* GraphQL fragment containing core application fields.
|
|
102483
102484
|
*/
|
|
102484
|
-
declare const ApplicationFragment:
|
|
102485
|
+
declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
|
|
102485
102486
|
id: string;
|
|
102486
102487
|
uniqueName: string;
|
|
102487
102488
|
name: string;
|
|
@@ -102502,7 +102503,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
102502
102503
|
/**
|
|
102503
102504
|
* Mutation to create a new application.
|
|
102504
102505
|
*/
|
|
102505
|
-
declare const createApplication:
|
|
102506
|
+
declare const createApplication: gql_tada1.TadaDocumentNode<{
|
|
102506
102507
|
createApplication: {
|
|
102507
102508
|
id: string;
|
|
102508
102509
|
uniqueName: string;
|
|
@@ -102523,9 +102524,6 @@ declare const createApplication: gql_tada2.TadaDocumentNode<{
|
|
|
102523
102524
|
type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "workspaceId"> & {
|
|
102524
102525
|
workspaceUniqueName: string;
|
|
102525
102526
|
};
|
|
102526
|
-
|
|
102527
|
-
//#endregion
|
|
102528
|
-
//#region src/graphql/blockchain-network.d.ts
|
|
102529
102527
|
/**
|
|
102530
102528
|
* Creates a function to list applications in a workspace.
|
|
102531
102529
|
*
|
|
@@ -102533,10 +102531,12 @@ type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "worksp
|
|
|
102533
102531
|
* @returns Function that fetches applications for a workspace
|
|
102534
102532
|
* @throws If the workspace cannot be found or the request fails
|
|
102535
102533
|
*/
|
|
102534
|
+
//#endregion
|
|
102535
|
+
//#region src/graphql/blockchain-network.d.ts
|
|
102536
102536
|
/**
|
|
102537
102537
|
* Fragment containing core blockchain network fields.
|
|
102538
102538
|
*/
|
|
102539
|
-
declare const BlockchainNetworkFragment:
|
|
102539
|
+
declare const BlockchainNetworkFragment: gql_tada3.TadaDocumentNode<{
|
|
102540
102540
|
__typename: "ArbitrumBlockchainNetwork";
|
|
102541
102541
|
id: string;
|
|
102542
102542
|
uniqueName: string;
|
|
@@ -115883,7 +115883,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
115883
115883
|
/**
|
|
115884
115884
|
* Mutation to create a new blockchain network.
|
|
115885
115885
|
*/
|
|
115886
|
-
declare const createBlockchainNetwork:
|
|
115886
|
+
declare const createBlockchainNetwork: gql_tada3.TadaDocumentNode<{
|
|
115887
115887
|
createBlockchainNetwork: {
|
|
115888
115888
|
__typename: "ArbitrumBlockchainNetwork";
|
|
115889
115889
|
id: string;
|
|
@@ -129382,9 +129382,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
|
129382
129382
|
*/
|
|
129383
129383
|
type CreateBlockchainNetworkArgs = Omit<VariablesOf<typeof createBlockchainNetwork>, "applicationId"> & {
|
|
129384
129384
|
applicationUniqueName: string;
|
|
129385
|
-
};
|
|
129386
|
-
//#region src/graphql/blockchain-node.d.ts
|
|
129387
|
-
|
|
129385
|
+
};
|
|
129388
129386
|
/**
|
|
129389
129387
|
* Creates a function to list blockchain networks for a given application.
|
|
129390
129388
|
*
|
|
@@ -129392,10 +129390,12 @@ type CreateBlockchainNetworkArgs = Omit<VariablesOf<typeof createBlockchainNetwo
|
|
|
129392
129390
|
* @returns Function that fetches networks for an application
|
|
129393
129391
|
* @throws If the application cannot be found or the request fails
|
|
129394
129392
|
*/
|
|
129393
|
+
//#endregion
|
|
129394
|
+
//#region src/graphql/blockchain-node.d.ts
|
|
129395
129395
|
/**
|
|
129396
129396
|
* Fragment containing core blockchain node fields.
|
|
129397
129397
|
*/
|
|
129398
|
-
declare const BlockchainNodeFragment:
|
|
129398
|
+
declare const BlockchainNodeFragment: gql_tada5.TadaDocumentNode<{
|
|
129399
129399
|
__typename: "ArbitrumBlockchainNode";
|
|
129400
129400
|
id: string;
|
|
129401
129401
|
uniqueName: string;
|
|
@@ -137867,7 +137867,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
137867
137867
|
/**
|
|
137868
137868
|
* Mutation to create a blockchain node.
|
|
137869
137869
|
*/
|
|
137870
|
-
declare const createBlockchainNode:
|
|
137870
|
+
declare const createBlockchainNode: gql_tada5.TadaDocumentNode<{
|
|
137871
137871
|
createBlockchainNode: {
|
|
137872
137872
|
__typename: "ArbitrumBlockchainNode";
|
|
137873
137873
|
id: string;
|
|
@@ -146346,9 +146346,7 @@ declare const createBlockchainNode: gql_tada7.TadaDocumentNode<{
|
|
|
146346
146346
|
type CreateBlockchainNodeArgs = Omit<VariablesOf<typeof createBlockchainNode>, "applicationId" | "blockchainNetworkId"> & {
|
|
146347
146347
|
applicationUniqueName: string;
|
|
146348
146348
|
blockchainNetworkUniqueName: string;
|
|
146349
|
-
};
|
|
146350
|
-
//#region src/graphql/custom-deployment.d.ts
|
|
146351
|
-
|
|
146349
|
+
};
|
|
146352
146350
|
/**
|
|
146353
146351
|
* Creates a function to list blockchain nodes for an application.
|
|
146354
146352
|
*
|
|
@@ -146356,10 +146354,12 @@ type CreateBlockchainNodeArgs = Omit<VariablesOf<typeof createBlockchainNode>, "
|
|
|
146356
146354
|
* @returns Function that fetches blockchain nodes for an application
|
|
146357
146355
|
* @throws If the application cannot be found or the request fails
|
|
146358
146356
|
*/
|
|
146357
|
+
//#endregion
|
|
146358
|
+
//#region src/graphql/custom-deployment.d.ts
|
|
146359
146359
|
/**
|
|
146360
146360
|
* Fragment containing core custom deployment fields.
|
|
146361
146361
|
*/
|
|
146362
|
-
declare const CustomDeploymentFragment:
|
|
146362
|
+
declare const CustomDeploymentFragment: gql_tada7.TadaDocumentNode<{
|
|
146363
146363
|
id: string;
|
|
146364
146364
|
uniqueName: string;
|
|
146365
146365
|
name: string;
|
|
@@ -146389,7 +146389,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
146389
146389
|
/**
|
|
146390
146390
|
* Mutation to create a custom deployment.
|
|
146391
146391
|
*/
|
|
146392
|
-
declare const createCustomDeployment:
|
|
146392
|
+
declare const createCustomDeployment: gql_tada7.TadaDocumentNode<{
|
|
146393
146393
|
createCustomDeployment: {
|
|
146394
146394
|
id: string;
|
|
146395
146395
|
uniqueName: string;
|
|
@@ -146428,9 +146428,6 @@ declare const createCustomDeployment: gql_tada12.TadaDocumentNode<{
|
|
|
146428
146428
|
type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment>, "applicationId"> & {
|
|
146429
146429
|
applicationUniqueName: string;
|
|
146430
146430
|
};
|
|
146431
|
-
|
|
146432
|
-
//#endregion
|
|
146433
|
-
//#region src/graphql/insights.d.ts
|
|
146434
146431
|
/**
|
|
146435
146432
|
* Creates a function to list custom deployments for an application.
|
|
146436
146433
|
*
|
|
@@ -146438,10 +146435,12 @@ type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment
|
|
|
146438
146435
|
* @returns Function that fetches custom deployments for an application
|
|
146439
146436
|
* @throws If the application cannot be found or the request fails
|
|
146440
146437
|
*/
|
|
146438
|
+
//#endregion
|
|
146439
|
+
//#region src/graphql/insights.d.ts
|
|
146441
146440
|
/**
|
|
146442
146441
|
* GraphQL fragment containing core insights fields.
|
|
146443
146442
|
*/
|
|
146444
|
-
declare const InsightsFragment:
|
|
146443
|
+
declare const InsightsFragment: gql_tada9.TadaDocumentNode<{
|
|
146445
146444
|
__typename: "BlockchainExplorer";
|
|
146446
146445
|
id: string;
|
|
146447
146446
|
uniqueName: string;
|
|
@@ -146513,7 +146512,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
146513
146512
|
/**
|
|
146514
146513
|
* Mutation to create insights.
|
|
146515
146514
|
*/
|
|
146516
|
-
declare const createInsights:
|
|
146515
|
+
declare const createInsights: gql_tada9.TadaDocumentNode<{
|
|
146517
146516
|
createInsights: {
|
|
146518
146517
|
__typename: "BlockchainExplorer";
|
|
146519
146518
|
id: string;
|
|
@@ -146594,9 +146593,6 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
|
|
|
146594
146593
|
blockchainNodeUniqueName?: string;
|
|
146595
146594
|
loadBalancerUniqueName?: string;
|
|
146596
146595
|
};
|
|
146597
|
-
|
|
146598
|
-
//#endregion
|
|
146599
|
-
//#region src/graphql/integration-tool.d.ts
|
|
146600
146596
|
/**
|
|
146601
146597
|
* Creates a function to list insights for an application.
|
|
146602
146598
|
*
|
|
@@ -146604,10 +146600,12 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
|
|
|
146604
146600
|
* @returns Function that fetches insights for an application
|
|
146605
146601
|
* @throws If the application cannot be found or the request fails
|
|
146606
146602
|
*/
|
|
146603
|
+
//#endregion
|
|
146604
|
+
//#region src/graphql/integration-tool.d.ts
|
|
146607
146605
|
/**
|
|
146608
146606
|
* GraphQL fragment containing core integration fields.
|
|
146609
146607
|
*/
|
|
146610
|
-
declare const IntegrationFragment:
|
|
146608
|
+
declare const IntegrationFragment: gql_tada11.TadaDocumentNode<{
|
|
146611
146609
|
__typename: "Chainlink";
|
|
146612
146610
|
id: string;
|
|
146613
146611
|
uniqueName: string;
|
|
@@ -146679,7 +146677,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
146679
146677
|
/**
|
|
146680
146678
|
* Mutation to create a new integration.
|
|
146681
146679
|
*/
|
|
146682
|
-
declare const createIntegration:
|
|
146680
|
+
declare const createIntegration: gql_tada11.TadaDocumentNode<{
|
|
146683
146681
|
createIntegration: {
|
|
146684
146682
|
__typename: "Chainlink";
|
|
146685
146683
|
id: string;
|
|
@@ -146756,9 +146754,6 @@ declare const createIntegration: gql_tada20.TadaDocumentNode<{
|
|
|
146756
146754
|
type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "applicationId"> & {
|
|
146757
146755
|
applicationUniqueName: string;
|
|
146758
146756
|
};
|
|
146759
|
-
|
|
146760
|
-
//#endregion
|
|
146761
|
-
//#region src/graphql/load-balancer.d.ts
|
|
146762
146757
|
/**
|
|
146763
146758
|
* Creates a function to list integration tools for an application.
|
|
146764
146759
|
*
|
|
@@ -146766,10 +146761,12 @@ type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "ap
|
|
|
146766
146761
|
* @returns Function that fetches integration tools for an application
|
|
146767
146762
|
* @throws If the application cannot be found or the request fails
|
|
146768
146763
|
*/
|
|
146764
|
+
//#endregion
|
|
146765
|
+
//#region src/graphql/load-balancer.d.ts
|
|
146769
146766
|
/**
|
|
146770
146767
|
* GraphQL fragment containing core load balancer fields.
|
|
146771
146768
|
*/
|
|
146772
|
-
declare const LoadBalancerFragment:
|
|
146769
|
+
declare const LoadBalancerFragment: gql_tada13.TadaDocumentNode<{
|
|
146773
146770
|
__typename: "EVMLoadBalancer";
|
|
146774
146771
|
id: string;
|
|
146775
146772
|
uniqueName: string;
|
|
@@ -146809,7 +146806,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
146809
146806
|
/**
|
|
146810
146807
|
* Mutation to create a load balancer.
|
|
146811
146808
|
*/
|
|
146812
|
-
declare const createLoadBalancer:
|
|
146809
|
+
declare const createLoadBalancer: gql_tada13.TadaDocumentNode<{
|
|
146813
146810
|
createLoadBalancer: {
|
|
146814
146811
|
__typename: "EVMLoadBalancer";
|
|
146815
146812
|
id: string;
|
|
@@ -146857,9 +146854,6 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
|
|
|
146857
146854
|
blockchainNetworkUniqueName: string;
|
|
146858
146855
|
connectedNodesUniqueNames: string[];
|
|
146859
146856
|
};
|
|
146860
|
-
|
|
146861
|
-
//#endregion
|
|
146862
|
-
//#region src/graphql/middleware.d.ts
|
|
146863
146857
|
/**
|
|
146864
146858
|
* Creates a function to fetch a specific load balancer.
|
|
146865
146859
|
*
|
|
@@ -146867,10 +146861,12 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
|
|
|
146867
146861
|
* @returns Function that fetches a single load balancer by unique name
|
|
146868
146862
|
* @throws If the load balancer cannot be found or the request fails
|
|
146869
146863
|
*/
|
|
146864
|
+
//#endregion
|
|
146865
|
+
//#region src/graphql/middleware.d.ts
|
|
146870
146866
|
/**
|
|
146871
146867
|
* GraphQL fragment containing core middleware fields.
|
|
146872
146868
|
*/
|
|
146873
|
-
declare const MiddlewareFragment:
|
|
146869
|
+
declare const MiddlewareFragment: gql_tada15.TadaDocumentNode<{
|
|
146874
146870
|
__typename: "AttestationIndexerMiddleware";
|
|
146875
146871
|
id: string;
|
|
146876
146872
|
uniqueName: string;
|
|
@@ -147015,7 +147011,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
147015
147011
|
/**
|
|
147016
147012
|
* Query to fetch a specific middleware with subgraphs.
|
|
147017
147013
|
*/
|
|
147018
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
147014
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada15.TadaDocumentNode<{
|
|
147019
147015
|
middlewareByUniqueName: {
|
|
147020
147016
|
__typename: "AttestationIndexerMiddleware";
|
|
147021
147017
|
id: string;
|
|
@@ -147168,7 +147164,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
147168
147164
|
/**
|
|
147169
147165
|
* Mutation to create a new middleware.
|
|
147170
147166
|
*/
|
|
147171
|
-
declare const createMiddleware:
|
|
147167
|
+
declare const createMiddleware: gql_tada15.TadaDocumentNode<{
|
|
147172
147168
|
createMiddleware: {
|
|
147173
147169
|
__typename: "AttestationIndexerMiddleware";
|
|
147174
147170
|
id: string;
|
|
@@ -147328,9 +147324,7 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
|
|
|
147328
147324
|
blockchainNodeUniqueName?: string;
|
|
147329
147325
|
loadBalancerUniqueName?: string;
|
|
147330
147326
|
storageUniqueName?: string;
|
|
147331
|
-
};
|
|
147332
|
-
//#region src/graphql/platform.d.ts
|
|
147333
|
-
|
|
147327
|
+
};
|
|
147334
147328
|
/**
|
|
147335
147329
|
* Creates a function to list middlewares for an application.
|
|
147336
147330
|
*
|
|
@@ -147338,10 +147332,12 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
|
|
|
147338
147332
|
* @returns Function that fetches middlewares for an application
|
|
147339
147333
|
* @throws If the application cannot be found or the request fails
|
|
147340
147334
|
*/
|
|
147335
|
+
//#endregion
|
|
147336
|
+
//#region src/graphql/platform.d.ts
|
|
147341
147337
|
/**
|
|
147342
147338
|
* GraphQL query to fetch platform configuration.
|
|
147343
147339
|
*/
|
|
147344
|
-
declare const getPlatformConfigQuery:
|
|
147340
|
+
declare const getPlatformConfigQuery: gql_tada18.TadaDocumentNode<{
|
|
147345
147341
|
config: {
|
|
147346
147342
|
smartContractSets: {
|
|
147347
147343
|
id: string;
|
|
@@ -147385,9 +147381,6 @@ declare const getPlatformConfigQuery: gql_tada9.TadaDocumentNode<{
|
|
|
147385
147381
|
* Type representing the platform configuration.
|
|
147386
147382
|
*/
|
|
147387
147383
|
type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
|
|
147388
|
-
|
|
147389
|
-
//#endregion
|
|
147390
|
-
//#region src/graphql/private-key.d.ts
|
|
147391
147384
|
/**
|
|
147392
147385
|
* Creates a function to fetch the platform configuration.
|
|
147393
147386
|
*
|
|
@@ -147395,10 +147388,12 @@ type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
|
|
|
147395
147388
|
* @returns Function that fetches the platform configuration
|
|
147396
147389
|
* @throws If the request fails
|
|
147397
147390
|
*/
|
|
147391
|
+
//#endregion
|
|
147392
|
+
//#region src/graphql/private-key.d.ts
|
|
147398
147393
|
/**
|
|
147399
147394
|
* GraphQL fragment containing core private key fields.
|
|
147400
147395
|
*/
|
|
147401
|
-
declare const PrivateKeyFragment:
|
|
147396
|
+
declare const PrivateKeyFragment: gql_tada19.TadaDocumentNode<{
|
|
147402
147397
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
147403
147398
|
id: string;
|
|
147404
147399
|
uniqueName: string;
|
|
@@ -148040,7 +148035,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
148040
148035
|
/**
|
|
148041
148036
|
* Mutation to create a new private key.
|
|
148042
148037
|
*/
|
|
148043
|
-
declare const createPrivateKey:
|
|
148038
|
+
declare const createPrivateKey: gql_tada19.TadaDocumentNode<{
|
|
148044
148039
|
createPrivateKey: {
|
|
148045
148040
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
148046
148041
|
id: string;
|
|
@@ -148692,9 +148687,7 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
|
|
|
148692
148687
|
applicationUniqueName: string;
|
|
148693
148688
|
blockchainNodeUniqueNames?: string[];
|
|
148694
148689
|
relayerKeyUniqueName?: string;
|
|
148695
|
-
};
|
|
148696
|
-
//#region src/graphql/storage.d.ts
|
|
148697
|
-
|
|
148690
|
+
};
|
|
148698
148691
|
/**
|
|
148699
148692
|
* Creates a function to list private keys for an application.
|
|
148700
148693
|
*
|
|
@@ -148702,10 +148695,12 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
|
|
|
148702
148695
|
* @returns Function that fetches private keys for an application
|
|
148703
148696
|
* @throws If the application cannot be found or the request fails
|
|
148704
148697
|
*/
|
|
148698
|
+
//#endregion
|
|
148699
|
+
//#region src/graphql/storage.d.ts
|
|
148705
148700
|
/**
|
|
148706
148701
|
* GraphQL fragment containing core storage fields.
|
|
148707
148702
|
*/
|
|
148708
|
-
declare const StorageFragment:
|
|
148703
|
+
declare const StorageFragment: gql_tada21.TadaDocumentNode<{
|
|
148709
148704
|
__typename: "IPFSStorage";
|
|
148710
148705
|
id: string;
|
|
148711
148706
|
uniqueName: string;
|
|
@@ -148757,7 +148752,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
148757
148752
|
/**
|
|
148758
148753
|
* Mutation to create a new storage.
|
|
148759
148754
|
*/
|
|
148760
|
-
declare const createStorage:
|
|
148755
|
+
declare const createStorage: gql_tada21.TadaDocumentNode<{
|
|
148761
148756
|
createStorage: {
|
|
148762
148757
|
__typename: "IPFSStorage";
|
|
148763
148758
|
id: string;
|
|
@@ -148814,9 +148809,6 @@ declare const createStorage: gql_tada14.TadaDocumentNode<{
|
|
|
148814
148809
|
type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"> & {
|
|
148815
148810
|
applicationUniqueName: string;
|
|
148816
148811
|
};
|
|
148817
|
-
|
|
148818
|
-
//#endregion
|
|
148819
|
-
//#region src/graphql/workspace.d.ts
|
|
148820
148812
|
/**
|
|
148821
148813
|
* Creates a function to list storages for an application.
|
|
148822
148814
|
*
|
|
@@ -148824,10 +148816,12 @@ type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"
|
|
|
148824
148816
|
* @returns Function that fetches storages for an application
|
|
148825
148817
|
* @throws If the application cannot be found or the request fails
|
|
148826
148818
|
*/
|
|
148819
|
+
//#endregion
|
|
148820
|
+
//#region src/graphql/workspace.d.ts
|
|
148827
148821
|
/**
|
|
148828
148822
|
* GraphQL fragment containing core workspace fields.
|
|
148829
148823
|
*/
|
|
148830
|
-
declare const WorkspaceFragment:
|
|
148824
|
+
declare const WorkspaceFragment: gql_tada23.TadaDocumentNode<{
|
|
148831
148825
|
id: string;
|
|
148832
148826
|
uniqueName: string;
|
|
148833
148827
|
name: string;
|
|
@@ -148848,7 +148842,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
148848
148842
|
/**
|
|
148849
148843
|
* Mutation to create a new workspace.
|
|
148850
148844
|
*/
|
|
148851
|
-
declare const createWorkspace:
|
|
148845
|
+
declare const createWorkspace: gql_tada23.TadaDocumentNode<{
|
|
148852
148846
|
createWorkspace: {
|
|
148853
148847
|
id: string;
|
|
148854
148848
|
uniqueName: string;
|
|
@@ -148873,9 +148867,6 @@ declare const createWorkspace: gql_tada18.TadaDocumentNode<{
|
|
|
148873
148867
|
addressLine1?: string | null | undefined;
|
|
148874
148868
|
}, void>;
|
|
148875
148869
|
type CreateWorkspaceArgs = VariablesOf<typeof createWorkspace>;
|
|
148876
|
-
|
|
148877
|
-
//#endregion
|
|
148878
|
-
//#region src/helpers/client-options.schema.d.ts
|
|
148879
148870
|
/**
|
|
148880
148871
|
* Creates a function to list all workspaces and their applications.
|
|
148881
148872
|
*
|
|
@@ -148883,6 +148874,8 @@ type CreateWorkspaceArgs = VariablesOf<typeof createWorkspace>;
|
|
|
148883
148874
|
* @returns Function that returns all workspaces sorted by name
|
|
148884
148875
|
* @throws If the request fails
|
|
148885
148876
|
*/
|
|
148877
|
+
//#endregion
|
|
148878
|
+
//#region src/helpers/client-options.schema.d.ts
|
|
148886
148879
|
/**
|
|
148887
148880
|
* Schema for validating SettleMint client options.
|
|
148888
148881
|
*/
|
|
@@ -148894,7 +148887,6 @@ declare const ClientOptionsSchema: z.ZodObject<{
|
|
|
148894
148887
|
* Type definition for SettleMint client options, inferred from ClientOptionsSchema.
|
|
148895
148888
|
*/
|
|
148896
148889
|
type ClientOptions = z.infer<typeof ClientOptionsSchema>;
|
|
148897
|
-
|
|
148898
148890
|
//#endregion
|
|
148899
148891
|
//#region src/pincode-verification.d.ts
|
|
148900
148892
|
interface PincodeVerificationChallengesArgs {
|
|
@@ -148914,9 +148906,6 @@ interface VerificationChallenge {
|
|
|
148914
148906
|
salt: string;
|
|
148915
148907
|
};
|
|
148916
148908
|
}
|
|
148917
|
-
|
|
148918
|
-
//#endregion
|
|
148919
|
-
//#region src/settlemint.d.ts
|
|
148920
148909
|
/**
|
|
148921
148910
|
* Get the pincode verification challenges for a user wallet address.
|
|
148922
148911
|
* @param userWalletAddress - The user's wallet address.
|
|
@@ -148925,6 +148914,8 @@ interface VerificationChallenge {
|
|
|
148925
148914
|
* @param nodeId - The node ID.
|
|
148926
148915
|
* @returns The pincode verification challenges.
|
|
148927
148916
|
*/
|
|
148917
|
+
//#endregion
|
|
148918
|
+
//#region src/settlemint.d.ts
|
|
148928
148919
|
/**
|
|
148929
148920
|
* Options for the Settlemint client.
|
|
148930
148921
|
*/
|
|
@@ -149047,7 +149038,6 @@ interface SettlemintClient {
|
|
|
149047
149038
|
* const workspace = await client.workspace.read('workspace-unique-name');
|
|
149048
149039
|
*/
|
|
149049
149040
|
declare function createSettleMintClient(options: SettlemintClientOptions): SettlemintClient;
|
|
149050
|
-
|
|
149051
149041
|
//#endregion
|
|
149052
149042
|
export { Application, BlockchainNetwork, BlockchainNode, CustomDeployment, Insights, IntegrationTool, LoadBalancer, Middleware, MiddlewareWithSubgraphs, PlatformConfig, PrivateKey, SettlemintClient, SettlemintClientOptions, Storage, VerificationChallenge, Workspace, createSettleMintClient };
|
|
149053
149043
|
//# sourceMappingURL=settlemint.d.cts.map
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -102417,7 +102417,8 @@ declare module 'gql.tada' {
|
|
|
102417
102417
|
interface setupSchema {
|
|
102418
102418
|
introspection: introspection;
|
|
102419
102419
|
}
|
|
102420
|
-
}
|
|
102420
|
+
}
|
|
102421
|
+
//#endregion
|
|
102421
102422
|
//#region src/graphql/application-access-tokens.d.ts
|
|
102422
102423
|
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
102423
102424
|
createApplicationAccessToken: {
|
|
@@ -102470,15 +102471,15 @@ declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
|
102470
102471
|
}, void>;
|
|
102471
102472
|
type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicationAccessToken>, "applicationId"> & {
|
|
102472
102473
|
applicationUniqueName: string;
|
|
102473
|
-
};
|
|
102474
|
-
//#region src/graphql/application.d.ts
|
|
102475
|
-
|
|
102474
|
+
};
|
|
102476
102475
|
/**
|
|
102477
102476
|
* Creates a new application.
|
|
102478
102477
|
*
|
|
102479
102478
|
* @param gqlClient - The GraphQL client instance used to execute the mutation.
|
|
102480
102479
|
* @returns A function that accepts the arguments for creating an application and returns a promise resolving to the created application.
|
|
102481
102480
|
*/
|
|
102481
|
+
//#endregion
|
|
102482
|
+
//#region src/graphql/application.d.ts
|
|
102482
102483
|
/**
|
|
102483
102484
|
* GraphQL fragment containing core application fields.
|
|
102484
102485
|
*/
|
|
@@ -102524,9 +102525,6 @@ declare const createApplication: gql_tada1.TadaDocumentNode<{
|
|
|
102524
102525
|
type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "workspaceId"> & {
|
|
102525
102526
|
workspaceUniqueName: string;
|
|
102526
102527
|
};
|
|
102527
|
-
|
|
102528
|
-
//#endregion
|
|
102529
|
-
//#region src/graphql/blockchain-network.d.ts
|
|
102530
102528
|
/**
|
|
102531
102529
|
* Creates a function to list applications in a workspace.
|
|
102532
102530
|
*
|
|
@@ -102534,6 +102532,8 @@ type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "worksp
|
|
|
102534
102532
|
* @returns Function that fetches applications for a workspace
|
|
102535
102533
|
* @throws If the workspace cannot be found or the request fails
|
|
102536
102534
|
*/
|
|
102535
|
+
//#endregion
|
|
102536
|
+
//#region src/graphql/blockchain-network.d.ts
|
|
102537
102537
|
/**
|
|
102538
102538
|
* Fragment containing core blockchain network fields.
|
|
102539
102539
|
*/
|
|
@@ -129383,9 +129383,7 @@ declare const createBlockchainNetwork: gql_tada3.TadaDocumentNode<{
|
|
|
129383
129383
|
*/
|
|
129384
129384
|
type CreateBlockchainNetworkArgs = Omit<VariablesOf<typeof createBlockchainNetwork>, "applicationId"> & {
|
|
129385
129385
|
applicationUniqueName: string;
|
|
129386
|
-
};
|
|
129387
|
-
//#region src/graphql/blockchain-node.d.ts
|
|
129388
|
-
|
|
129386
|
+
};
|
|
129389
129387
|
/**
|
|
129390
129388
|
* Creates a function to list blockchain networks for a given application.
|
|
129391
129389
|
*
|
|
@@ -129393,6 +129391,8 @@ type CreateBlockchainNetworkArgs = Omit<VariablesOf<typeof createBlockchainNetwo
|
|
|
129393
129391
|
* @returns Function that fetches networks for an application
|
|
129394
129392
|
* @throws If the application cannot be found or the request fails
|
|
129395
129393
|
*/
|
|
129394
|
+
//#endregion
|
|
129395
|
+
//#region src/graphql/blockchain-node.d.ts
|
|
129396
129396
|
/**
|
|
129397
129397
|
* Fragment containing core blockchain node fields.
|
|
129398
129398
|
*/
|
|
@@ -146347,9 +146347,7 @@ declare const createBlockchainNode: gql_tada5.TadaDocumentNode<{
|
|
|
146347
146347
|
type CreateBlockchainNodeArgs = Omit<VariablesOf<typeof createBlockchainNode>, "applicationId" | "blockchainNetworkId"> & {
|
|
146348
146348
|
applicationUniqueName: string;
|
|
146349
146349
|
blockchainNetworkUniqueName: string;
|
|
146350
|
-
};
|
|
146351
|
-
//#region src/graphql/custom-deployment.d.ts
|
|
146352
|
-
|
|
146350
|
+
};
|
|
146353
146351
|
/**
|
|
146354
146352
|
* Creates a function to list blockchain nodes for an application.
|
|
146355
146353
|
*
|
|
@@ -146357,6 +146355,8 @@ type CreateBlockchainNodeArgs = Omit<VariablesOf<typeof createBlockchainNode>, "
|
|
|
146357
146355
|
* @returns Function that fetches blockchain nodes for an application
|
|
146358
146356
|
* @throws If the application cannot be found or the request fails
|
|
146359
146357
|
*/
|
|
146358
|
+
//#endregion
|
|
146359
|
+
//#region src/graphql/custom-deployment.d.ts
|
|
146360
146360
|
/**
|
|
146361
146361
|
* Fragment containing core custom deployment fields.
|
|
146362
146362
|
*/
|
|
@@ -146429,9 +146429,6 @@ declare const createCustomDeployment: gql_tada7.TadaDocumentNode<{
|
|
|
146429
146429
|
type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment>, "applicationId"> & {
|
|
146430
146430
|
applicationUniqueName: string;
|
|
146431
146431
|
};
|
|
146432
|
-
|
|
146433
|
-
//#endregion
|
|
146434
|
-
//#region src/graphql/insights.d.ts
|
|
146435
146432
|
/**
|
|
146436
146433
|
* Creates a function to list custom deployments for an application.
|
|
146437
146434
|
*
|
|
@@ -146439,6 +146436,8 @@ type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment
|
|
|
146439
146436
|
* @returns Function that fetches custom deployments for an application
|
|
146440
146437
|
* @throws If the application cannot be found or the request fails
|
|
146441
146438
|
*/
|
|
146439
|
+
//#endregion
|
|
146440
|
+
//#region src/graphql/insights.d.ts
|
|
146442
146441
|
/**
|
|
146443
146442
|
* GraphQL fragment containing core insights fields.
|
|
146444
146443
|
*/
|
|
@@ -146595,9 +146594,6 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
|
|
|
146595
146594
|
blockchainNodeUniqueName?: string;
|
|
146596
146595
|
loadBalancerUniqueName?: string;
|
|
146597
146596
|
};
|
|
146598
|
-
|
|
146599
|
-
//#endregion
|
|
146600
|
-
//#region src/graphql/integration-tool.d.ts
|
|
146601
146597
|
/**
|
|
146602
146598
|
* Creates a function to list insights for an application.
|
|
146603
146599
|
*
|
|
@@ -146605,6 +146601,8 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
|
|
|
146605
146601
|
* @returns Function that fetches insights for an application
|
|
146606
146602
|
* @throws If the application cannot be found or the request fails
|
|
146607
146603
|
*/
|
|
146604
|
+
//#endregion
|
|
146605
|
+
//#region src/graphql/integration-tool.d.ts
|
|
146608
146606
|
/**
|
|
146609
146607
|
* GraphQL fragment containing core integration fields.
|
|
146610
146608
|
*/
|
|
@@ -146757,9 +146755,6 @@ declare const createIntegration: gql_tada11.TadaDocumentNode<{
|
|
|
146757
146755
|
type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "applicationId"> & {
|
|
146758
146756
|
applicationUniqueName: string;
|
|
146759
146757
|
};
|
|
146760
|
-
|
|
146761
|
-
//#endregion
|
|
146762
|
-
//#region src/graphql/load-balancer.d.ts
|
|
146763
146758
|
/**
|
|
146764
146759
|
* Creates a function to list integration tools for an application.
|
|
146765
146760
|
*
|
|
@@ -146767,6 +146762,8 @@ type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "ap
|
|
|
146767
146762
|
* @returns Function that fetches integration tools for an application
|
|
146768
146763
|
* @throws If the application cannot be found or the request fails
|
|
146769
146764
|
*/
|
|
146765
|
+
//#endregion
|
|
146766
|
+
//#region src/graphql/load-balancer.d.ts
|
|
146770
146767
|
/**
|
|
146771
146768
|
* GraphQL fragment containing core load balancer fields.
|
|
146772
146769
|
*/
|
|
@@ -146858,9 +146855,6 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
|
|
|
146858
146855
|
blockchainNetworkUniqueName: string;
|
|
146859
146856
|
connectedNodesUniqueNames: string[];
|
|
146860
146857
|
};
|
|
146861
|
-
|
|
146862
|
-
//#endregion
|
|
146863
|
-
//#region src/graphql/middleware.d.ts
|
|
146864
146858
|
/**
|
|
146865
146859
|
* Creates a function to fetch a specific load balancer.
|
|
146866
146860
|
*
|
|
@@ -146868,6 +146862,8 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
|
|
|
146868
146862
|
* @returns Function that fetches a single load balancer by unique name
|
|
146869
146863
|
* @throws If the load balancer cannot be found or the request fails
|
|
146870
146864
|
*/
|
|
146865
|
+
//#endregion
|
|
146866
|
+
//#region src/graphql/middleware.d.ts
|
|
146871
146867
|
/**
|
|
146872
146868
|
* GraphQL fragment containing core middleware fields.
|
|
146873
146869
|
*/
|
|
@@ -147329,9 +147325,7 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
|
|
|
147329
147325
|
blockchainNodeUniqueName?: string;
|
|
147330
147326
|
loadBalancerUniqueName?: string;
|
|
147331
147327
|
storageUniqueName?: string;
|
|
147332
|
-
};
|
|
147333
|
-
//#region src/graphql/platform.d.ts
|
|
147334
|
-
|
|
147328
|
+
};
|
|
147335
147329
|
/**
|
|
147336
147330
|
* Creates a function to list middlewares for an application.
|
|
147337
147331
|
*
|
|
@@ -147339,6 +147333,8 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
|
|
|
147339
147333
|
* @returns Function that fetches middlewares for an application
|
|
147340
147334
|
* @throws If the application cannot be found or the request fails
|
|
147341
147335
|
*/
|
|
147336
|
+
//#endregion
|
|
147337
|
+
//#region src/graphql/platform.d.ts
|
|
147342
147338
|
/**
|
|
147343
147339
|
* GraphQL query to fetch platform configuration.
|
|
147344
147340
|
*/
|
|
@@ -147386,9 +147382,6 @@ declare const getPlatformConfigQuery: gql_tada18.TadaDocumentNode<{
|
|
|
147386
147382
|
* Type representing the platform configuration.
|
|
147387
147383
|
*/
|
|
147388
147384
|
type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
|
|
147389
|
-
|
|
147390
|
-
//#endregion
|
|
147391
|
-
//#region src/graphql/private-key.d.ts
|
|
147392
147385
|
/**
|
|
147393
147386
|
* Creates a function to fetch the platform configuration.
|
|
147394
147387
|
*
|
|
@@ -147396,6 +147389,8 @@ type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
|
|
|
147396
147389
|
* @returns Function that fetches the platform configuration
|
|
147397
147390
|
* @throws If the request fails
|
|
147398
147391
|
*/
|
|
147392
|
+
//#endregion
|
|
147393
|
+
//#region src/graphql/private-key.d.ts
|
|
147399
147394
|
/**
|
|
147400
147395
|
* GraphQL fragment containing core private key fields.
|
|
147401
147396
|
*/
|
|
@@ -148693,9 +148688,7 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
|
|
|
148693
148688
|
applicationUniqueName: string;
|
|
148694
148689
|
blockchainNodeUniqueNames?: string[];
|
|
148695
148690
|
relayerKeyUniqueName?: string;
|
|
148696
|
-
};
|
|
148697
|
-
//#region src/graphql/storage.d.ts
|
|
148698
|
-
|
|
148691
|
+
};
|
|
148699
148692
|
/**
|
|
148700
148693
|
* Creates a function to list private keys for an application.
|
|
148701
148694
|
*
|
|
@@ -148703,6 +148696,8 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
|
|
|
148703
148696
|
* @returns Function that fetches private keys for an application
|
|
148704
148697
|
* @throws If the application cannot be found or the request fails
|
|
148705
148698
|
*/
|
|
148699
|
+
//#endregion
|
|
148700
|
+
//#region src/graphql/storage.d.ts
|
|
148706
148701
|
/**
|
|
148707
148702
|
* GraphQL fragment containing core storage fields.
|
|
148708
148703
|
*/
|
|
@@ -148815,9 +148810,6 @@ declare const createStorage: gql_tada21.TadaDocumentNode<{
|
|
|
148815
148810
|
type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"> & {
|
|
148816
148811
|
applicationUniqueName: string;
|
|
148817
148812
|
};
|
|
148818
|
-
|
|
148819
|
-
//#endregion
|
|
148820
|
-
//#region src/graphql/workspace.d.ts
|
|
148821
148813
|
/**
|
|
148822
148814
|
* Creates a function to list storages for an application.
|
|
148823
148815
|
*
|
|
@@ -148825,6 +148817,8 @@ type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"
|
|
|
148825
148817
|
* @returns Function that fetches storages for an application
|
|
148826
148818
|
* @throws If the application cannot be found or the request fails
|
|
148827
148819
|
*/
|
|
148820
|
+
//#endregion
|
|
148821
|
+
//#region src/graphql/workspace.d.ts
|
|
148828
148822
|
/**
|
|
148829
148823
|
* GraphQL fragment containing core workspace fields.
|
|
148830
148824
|
*/
|
|
@@ -148874,9 +148868,6 @@ declare const createWorkspace: gql_tada23.TadaDocumentNode<{
|
|
|
148874
148868
|
addressLine1?: string | null | undefined;
|
|
148875
148869
|
}, void>;
|
|
148876
148870
|
type CreateWorkspaceArgs = VariablesOf<typeof createWorkspace>;
|
|
148877
|
-
|
|
148878
|
-
//#endregion
|
|
148879
|
-
//#region src/helpers/client-options.schema.d.ts
|
|
148880
148871
|
/**
|
|
148881
148872
|
* Creates a function to list all workspaces and their applications.
|
|
148882
148873
|
*
|
|
@@ -148884,6 +148875,8 @@ type CreateWorkspaceArgs = VariablesOf<typeof createWorkspace>;
|
|
|
148884
148875
|
* @returns Function that returns all workspaces sorted by name
|
|
148885
148876
|
* @throws If the request fails
|
|
148886
148877
|
*/
|
|
148878
|
+
//#endregion
|
|
148879
|
+
//#region src/helpers/client-options.schema.d.ts
|
|
148887
148880
|
/**
|
|
148888
148881
|
* Schema for validating SettleMint client options.
|
|
148889
148882
|
*/
|
|
@@ -148895,7 +148888,6 @@ declare const ClientOptionsSchema: z.ZodObject<{
|
|
|
148895
148888
|
* Type definition for SettleMint client options, inferred from ClientOptionsSchema.
|
|
148896
148889
|
*/
|
|
148897
148890
|
type ClientOptions = z.infer<typeof ClientOptionsSchema>;
|
|
148898
|
-
|
|
148899
148891
|
//#endregion
|
|
148900
148892
|
//#region src/pincode-verification.d.ts
|
|
148901
148893
|
interface PincodeVerificationChallengesArgs {
|
|
@@ -148915,9 +148907,6 @@ interface VerificationChallenge {
|
|
|
148915
148907
|
salt: string;
|
|
148916
148908
|
};
|
|
148917
148909
|
}
|
|
148918
|
-
|
|
148919
|
-
//#endregion
|
|
148920
|
-
//#region src/settlemint.d.ts
|
|
148921
148910
|
/**
|
|
148922
148911
|
* Get the pincode verification challenges for a user wallet address.
|
|
148923
148912
|
* @param userWalletAddress - The user's wallet address.
|
|
@@ -148926,6 +148915,8 @@ interface VerificationChallenge {
|
|
|
148926
148915
|
* @param nodeId - The node ID.
|
|
148927
148916
|
* @returns The pincode verification challenges.
|
|
148928
148917
|
*/
|
|
148918
|
+
//#endregion
|
|
148919
|
+
//#region src/settlemint.d.ts
|
|
148929
148920
|
/**
|
|
148930
148921
|
* Options for the Settlemint client.
|
|
148931
148922
|
*/
|
|
@@ -149048,7 +149039,6 @@ interface SettlemintClient {
|
|
|
149048
149039
|
* const workspace = await client.workspace.read('workspace-unique-name');
|
|
149049
149040
|
*/
|
|
149050
149041
|
declare function createSettleMintClient(options: SettlemintClientOptions): SettlemintClient;
|
|
149051
|
-
|
|
149052
149042
|
//#endregion
|
|
149053
149043
|
export { Application, BlockchainNetwork, BlockchainNode, CustomDeployment, Insights, IntegrationTool, LoadBalancer, Middleware, MiddlewareWithSubgraphs, PlatformConfig, PrivateKey, SettlemintClient, SettlemintClientOptions, Storage, VerificationChallenge, Workspace, createSettleMintClient };
|
|
149054
149044
|
//# sourceMappingURL=settlemint.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-js",
|
|
3
3
|
"description": "Core JavaScript SDK for integrating SettleMint's blockchain platform services into your applications",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.11-pr32559e86",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"gql.tada": "^1",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3.25.0",
|
|
58
|
-
"@settlemint/sdk-utils": "2.3.
|
|
58
|
+
"@settlemint/sdk-utils": "2.3.11-pr32559e86"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {},
|
|
61
61
|
"engines": {
|