@uniformdev/mesh-sdk 20.49.2 → 20.49.3-alpha.47
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/index.d.mts +868 -63
- package/dist/index.d.ts +868 -63
- package/dist/index.esm.js +205 -50
- package/dist/index.js +213 -53
- package/dist/index.mjs +205 -50
- package/dist/server/index.d.mts +386 -0
- package/dist/server/index.mjs +354 -0
- package/package.json +35 -14
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,216 @@
|
|
|
1
1
|
import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api';
|
|
2
|
-
import { AssetParamValue, DataType, DataSource,
|
|
2
|
+
import { AssetParamValue, DataType, DataSource, DataResourceVariables, DataSourceVariantsKeys, RootComponentInstance, ComponentInstance, ComponentDefinitionParameter, DataVariableDefinition, Locale, ComponentDefinition, EntryData, ComponentParameter, VisibilityCriteriaGroup } from '@uniformdev/canvas';
|
|
3
3
|
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
|
|
4
4
|
import { ProjectMapNode } from '@uniformdev/project-map';
|
|
5
5
|
import { AssetDefinitionType } from '@uniformdev/assets';
|
|
6
6
|
import { Emitter } from 'mitt';
|
|
7
7
|
|
|
8
|
+
interface paths$2 {
|
|
9
|
+
"/api/v1/integration-credentials": {
|
|
10
|
+
parameters: {
|
|
11
|
+
query?: never;
|
|
12
|
+
header?: never;
|
|
13
|
+
path?: never;
|
|
14
|
+
cookie?: never;
|
|
15
|
+
};
|
|
16
|
+
get?: never;
|
|
17
|
+
put?: never;
|
|
18
|
+
/** @description Mints or rotates the credential for an integration definition. Atomic: a successful response invalidates any previously-issued secret of the same kind. The plaintext secret is returned in the response body and cannot be retrieved later. */
|
|
19
|
+
post: {
|
|
20
|
+
parameters: {
|
|
21
|
+
query?: never;
|
|
22
|
+
header?: never;
|
|
23
|
+
path?: never;
|
|
24
|
+
cookie?: never;
|
|
25
|
+
};
|
|
26
|
+
requestBody: {
|
|
27
|
+
content: {
|
|
28
|
+
"application/json": {
|
|
29
|
+
/**
|
|
30
|
+
* Format: uuid
|
|
31
|
+
* @description The team ID that owns the integration
|
|
32
|
+
*/
|
|
33
|
+
teamId: string;
|
|
34
|
+
/**
|
|
35
|
+
* Format: uuid
|
|
36
|
+
* @description The integration definition ID to mint or revoke credentials for
|
|
37
|
+
*/
|
|
38
|
+
integrationDefinitionId: string;
|
|
39
|
+
/**
|
|
40
|
+
* @description Kind of credential to rotate or revoke. Currently only `app_secret` is supported.
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
kind: "app_secret";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
responses: {
|
|
48
|
+
/** @description Credential minted or rotated. */
|
|
49
|
+
200: {
|
|
50
|
+
headers: {
|
|
51
|
+
[name: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
content: {
|
|
54
|
+
"application/json": {
|
|
55
|
+
/**
|
|
56
|
+
* @description Kind of credential to rotate or revoke. Currently only `app_secret` is supported.
|
|
57
|
+
* @enum {string}
|
|
58
|
+
*/
|
|
59
|
+
kind: "app_secret";
|
|
60
|
+
/** Format: uuid */
|
|
61
|
+
integrationDefinitionId: string;
|
|
62
|
+
/** @description Plaintext app secret. Only returned on this response; cannot be retrieved later. */
|
|
63
|
+
appSecret: string;
|
|
64
|
+
/** @description ISO timestamp when the secret became effective. */
|
|
65
|
+
createdAt: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
400: components$2["responses"]["BadRequestError"];
|
|
70
|
+
401: components$2["responses"]["UnauthorizedError"];
|
|
71
|
+
403: components$2["responses"]["ForbiddenError"];
|
|
72
|
+
/** @description Integration definition not found in this team */
|
|
73
|
+
404: {
|
|
74
|
+
headers: {
|
|
75
|
+
[name: string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
content?: never;
|
|
78
|
+
};
|
|
79
|
+
429: components$2["responses"]["RateLimitError"];
|
|
80
|
+
500: components$2["responses"]["InternalServerError"];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/** @description Revokes the credential for an integration definition. Future grants and refreshes will fail until a new credential is minted. In-flight delegation tokens remain valid until natural expiry. */
|
|
84
|
+
delete: {
|
|
85
|
+
parameters: {
|
|
86
|
+
query?: never;
|
|
87
|
+
header?: never;
|
|
88
|
+
path?: never;
|
|
89
|
+
cookie?: never;
|
|
90
|
+
};
|
|
91
|
+
requestBody: {
|
|
92
|
+
content: {
|
|
93
|
+
"application/json": {
|
|
94
|
+
/**
|
|
95
|
+
* Format: uuid
|
|
96
|
+
* @description The team ID that owns the integration
|
|
97
|
+
*/
|
|
98
|
+
teamId: string;
|
|
99
|
+
/**
|
|
100
|
+
* Format: uuid
|
|
101
|
+
* @description The integration definition ID to mint or revoke credentials for
|
|
102
|
+
*/
|
|
103
|
+
integrationDefinitionId: string;
|
|
104
|
+
/**
|
|
105
|
+
* @description Kind of credential to rotate or revoke. Currently only `app_secret` is supported.
|
|
106
|
+
* @enum {string}
|
|
107
|
+
*/
|
|
108
|
+
kind: "app_secret";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
responses: {
|
|
113
|
+
/** @description Credential revoked */
|
|
114
|
+
204: {
|
|
115
|
+
headers: {
|
|
116
|
+
[name: string]: unknown;
|
|
117
|
+
};
|
|
118
|
+
content?: never;
|
|
119
|
+
};
|
|
120
|
+
400: components$2["responses"]["BadRequestError"];
|
|
121
|
+
401: components$2["responses"]["UnauthorizedError"];
|
|
122
|
+
403: components$2["responses"]["ForbiddenError"];
|
|
123
|
+
/** @description Integration definition not found in this team, or no credential of the given kind is configured */
|
|
124
|
+
404: {
|
|
125
|
+
headers: {
|
|
126
|
+
[name: string]: unknown;
|
|
127
|
+
};
|
|
128
|
+
content?: never;
|
|
129
|
+
};
|
|
130
|
+
429: components$2["responses"]["RateLimitError"];
|
|
131
|
+
500: components$2["responses"]["InternalServerError"];
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
/** @description Handles preflight requests. This endpoint allows CORS. */
|
|
135
|
+
options: {
|
|
136
|
+
parameters: {
|
|
137
|
+
query?: never;
|
|
138
|
+
header?: never;
|
|
139
|
+
path?: never;
|
|
140
|
+
cookie?: never;
|
|
141
|
+
};
|
|
142
|
+
requestBody?: never;
|
|
143
|
+
responses: {
|
|
144
|
+
/** @description ok */
|
|
145
|
+
204: {
|
|
146
|
+
headers: {
|
|
147
|
+
[name: string]: unknown;
|
|
148
|
+
};
|
|
149
|
+
content?: never;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
head?: never;
|
|
154
|
+
patch?: never;
|
|
155
|
+
trace?: never;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
interface components$2 {
|
|
159
|
+
schemas: {
|
|
160
|
+
Error: {
|
|
161
|
+
/** @description Error message(s) that occurred while processing the request */
|
|
162
|
+
errorMessage?: string[] | string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
responses: {
|
|
166
|
+
/** @description Request input validation failed */
|
|
167
|
+
BadRequestError: {
|
|
168
|
+
headers: {
|
|
169
|
+
[name: string]: unknown;
|
|
170
|
+
};
|
|
171
|
+
content: {
|
|
172
|
+
"application/json": components$2["schemas"]["Error"];
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
/** @description API key or token was not valid */
|
|
176
|
+
UnauthorizedError: {
|
|
177
|
+
headers: {
|
|
178
|
+
[name: string]: unknown;
|
|
179
|
+
};
|
|
180
|
+
content: {
|
|
181
|
+
"application/json": components$2["schemas"]["Error"];
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
/** @description Permission was denied */
|
|
185
|
+
ForbiddenError: {
|
|
186
|
+
headers: {
|
|
187
|
+
[name: string]: unknown;
|
|
188
|
+
};
|
|
189
|
+
content: {
|
|
190
|
+
"application/json": components$2["schemas"]["Error"];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
/** @description Too many requests in allowed time period */
|
|
194
|
+
RateLimitError: {
|
|
195
|
+
headers: {
|
|
196
|
+
[name: string]: unknown;
|
|
197
|
+
};
|
|
198
|
+
content?: never;
|
|
199
|
+
};
|
|
200
|
+
/** @description Execution error occurred */
|
|
201
|
+
InternalServerError: {
|
|
202
|
+
headers: {
|
|
203
|
+
[name: string]: unknown;
|
|
204
|
+
};
|
|
205
|
+
content?: never;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
parameters: never;
|
|
209
|
+
requestBodies: never;
|
|
210
|
+
headers: never;
|
|
211
|
+
pathItems: never;
|
|
212
|
+
}
|
|
213
|
+
|
|
8
214
|
interface paths$1 {
|
|
9
215
|
"/api/v1/integration-definitions": {
|
|
10
216
|
parameters: {
|
|
@@ -17,8 +223,11 @@ interface paths$1 {
|
|
|
17
223
|
get: {
|
|
18
224
|
parameters: {
|
|
19
225
|
query: {
|
|
226
|
+
/** @description The team ID */
|
|
20
227
|
teamId: string;
|
|
228
|
+
/** @description Whether to include Mesh apps that are shared publicly to all teams, or only custom apps registered on this team. */
|
|
21
229
|
includePublic?: boolean | null;
|
|
230
|
+
/** @description Whether to use team-specific integration types or team-agnostic types (for serialization across projects) */
|
|
22
231
|
teamSpecificType?: boolean | null;
|
|
23
232
|
};
|
|
24
233
|
header?: never;
|
|
@@ -35,21 +244,40 @@ interface paths$1 {
|
|
|
35
244
|
content: {
|
|
36
245
|
"application/json": {
|
|
37
246
|
results: {
|
|
247
|
+
/** @description Optional reference to the JSON schema used to validate this manifest (for editor/agent tooling). Ignored by Uniform. */
|
|
248
|
+
$schema?: string;
|
|
249
|
+
/** @description Integration public id. Do not change after registering. Must be unique and lowercase alphanumeric with hyphens/underscores. */
|
|
38
250
|
type: string;
|
|
251
|
+
/** @description Display name used in the UI for the integration. */
|
|
39
252
|
displayName: string;
|
|
253
|
+
/** @description URL to the integration's logo icon (larger, used on listing). */
|
|
40
254
|
logoIconUrl?: string;
|
|
255
|
+
/** @description URL to the integration's badge icon (small, round, used as a badge in the UI). */
|
|
41
256
|
badgeIconUrl?: string;
|
|
42
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* @description Category of the integration.
|
|
259
|
+
* @enum {string}
|
|
260
|
+
*/
|
|
43
261
|
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "translation" | "uniform" | "ai" | "unknown";
|
|
44
262
|
public?: boolean;
|
|
263
|
+
/** @description List of permissions to access sensitive data or perform certain actions. */
|
|
45
264
|
scopes?: string[];
|
|
265
|
+
/** @description When true, this integration can request delegation tokens to call Uniform APIs on behalf of the current user. */
|
|
266
|
+
identityDelegation?: boolean;
|
|
267
|
+
/** Format: uuid */
|
|
268
|
+
integrationId?: string;
|
|
269
|
+
hasAppSecret?: boolean;
|
|
270
|
+
/** @description Prefix for location URL paths. When set, location URLs may be relative to it; otherwise full URLs are required. */
|
|
46
271
|
baseLocationUrl?: string;
|
|
272
|
+
/** @description Locations where the integration is exposed within the Uniform application. */
|
|
47
273
|
locations: {
|
|
274
|
+
/** @description Locations used during installation of the integration. */
|
|
48
275
|
install?: {
|
|
49
276
|
description?: string[];
|
|
50
277
|
informationUrl?: string;
|
|
51
278
|
canvasPackageUrl?: string;
|
|
52
279
|
};
|
|
280
|
+
/** @description Settings location for configuring the integration. */
|
|
53
281
|
settings?: {
|
|
54
282
|
url: string;
|
|
55
283
|
locations?: {
|
|
@@ -64,6 +292,7 @@ interface paths$1 {
|
|
|
64
292
|
};
|
|
65
293
|
};
|
|
66
294
|
};
|
|
295
|
+
/** @description Locations within Uniform Canvas for the integration to extend. */
|
|
67
296
|
canvas?: {
|
|
68
297
|
parameterTypes?: {
|
|
69
298
|
type: string;
|
|
@@ -118,6 +347,10 @@ interface paths$1 {
|
|
|
118
347
|
name: string;
|
|
119
348
|
url: string;
|
|
120
349
|
iconUrl?: string;
|
|
350
|
+
access?: {
|
|
351
|
+
/** @enum {boolean} */
|
|
352
|
+
teamAdminRequired?: true;
|
|
353
|
+
};
|
|
121
354
|
editorTypes?: ("composition" | "componentPattern" | "compositionDefaults" | "entry" | "entryPattern")[];
|
|
122
355
|
}[];
|
|
123
356
|
personalization?: {
|
|
@@ -130,6 +363,7 @@ interface paths$1 {
|
|
|
130
363
|
};
|
|
131
364
|
};
|
|
132
365
|
};
|
|
366
|
+
/** @description Data Connector(s) provided by the integration. */
|
|
133
367
|
dataConnectors?: {
|
|
134
368
|
type: string;
|
|
135
369
|
displayName: string;
|
|
@@ -174,10 +408,23 @@ interface paths$1 {
|
|
|
174
408
|
};
|
|
175
409
|
};
|
|
176
410
|
embeddedEditor?: string;
|
|
411
|
+
dataResourceSelectorUrl?: string;
|
|
412
|
+
dataResourceSelectorLocations?: {
|
|
413
|
+
[key: string]: {
|
|
414
|
+
url: string;
|
|
415
|
+
layout?: {
|
|
416
|
+
/** @enum {string} */
|
|
417
|
+
height?: "full-height";
|
|
418
|
+
/** @enum {string} */
|
|
419
|
+
width?: "wide";
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
};
|
|
177
423
|
};
|
|
178
424
|
};
|
|
179
425
|
badgeIconUrl?: string;
|
|
180
426
|
}[];
|
|
427
|
+
/** @description Asset Library provided by the integration. */
|
|
181
428
|
assetLibrary?: {
|
|
182
429
|
assetLibraryUrl: string;
|
|
183
430
|
assetParameterUrl: string;
|
|
@@ -198,6 +445,7 @@ interface paths$1 {
|
|
|
198
445
|
singleAssetArchetypeId: string;
|
|
199
446
|
};
|
|
200
447
|
};
|
|
448
|
+
/** @description Deprecated. Use `assetLibrary` instead. */
|
|
201
449
|
unstable_assetLibrary?: {
|
|
202
450
|
url: string;
|
|
203
451
|
dynamicAssets?: {
|
|
@@ -206,11 +454,11 @@ interface paths$1 {
|
|
|
206
454
|
singleAssetArchetypeId: string;
|
|
207
455
|
};
|
|
208
456
|
};
|
|
457
|
+
/** @description AI configuration for the integration. */
|
|
209
458
|
ai?: {
|
|
210
459
|
generateUrl: string;
|
|
211
460
|
metadataUrl?: string;
|
|
212
461
|
prompts?: {
|
|
213
|
-
/** Format: uuid */
|
|
214
462
|
id: string;
|
|
215
463
|
name: string;
|
|
216
464
|
text: string;
|
|
@@ -228,10 +476,12 @@ interface paths$1 {
|
|
|
228
476
|
parameterTypes: string[];
|
|
229
477
|
}[];
|
|
230
478
|
};
|
|
479
|
+
/** @description Deprecated. Use `ai` instead. */
|
|
231
480
|
unstable_ai?: {
|
|
232
481
|
generateUrl: string;
|
|
233
482
|
metadataUrl?: string;
|
|
234
483
|
};
|
|
484
|
+
/** @description Deprecated/experimental. AI agents function-calling configuration. */
|
|
235
485
|
aiAgents?: {
|
|
236
486
|
functionCalling?: {
|
|
237
487
|
handlerUrl: string;
|
|
@@ -249,27 +499,42 @@ interface paths$1 {
|
|
|
249
499
|
}[];
|
|
250
500
|
};
|
|
251
501
|
};
|
|
502
|
+
/** @description Deprecated. Will be removed shortly. */
|
|
252
503
|
tools?: {
|
|
253
504
|
id: string;
|
|
254
505
|
name: string;
|
|
255
506
|
url: string;
|
|
256
507
|
iconUrl?: string;
|
|
508
|
+
access?: {
|
|
509
|
+
/** @enum {boolean} */
|
|
510
|
+
teamAdminRequired?: true;
|
|
511
|
+
};
|
|
257
512
|
}[];
|
|
513
|
+
/** @description Project-level tools provided by the integration. */
|
|
258
514
|
projectTools?: {
|
|
259
515
|
id: string;
|
|
260
516
|
name: string;
|
|
261
517
|
url: string;
|
|
262
518
|
iconUrl?: string;
|
|
519
|
+
access?: {
|
|
520
|
+
/** @enum {boolean} */
|
|
521
|
+
teamAdminRequired?: true;
|
|
522
|
+
};
|
|
263
523
|
}[];
|
|
524
|
+
/** @description Dashboard-level tools provided by the integration. */
|
|
264
525
|
dashboardTools?: {
|
|
265
526
|
id: string;
|
|
266
527
|
name: string;
|
|
267
528
|
url: string;
|
|
268
529
|
iconUrl?: string;
|
|
530
|
+
access?: {
|
|
531
|
+
/** @enum {boolean} */
|
|
532
|
+
teamAdminRequired?: true;
|
|
533
|
+
};
|
|
269
534
|
}[];
|
|
270
535
|
};
|
|
536
|
+
/** @description Deprecated. Use `locations.ai.prompts` instead. */
|
|
271
537
|
unstable_prompts?: {
|
|
272
|
-
/** Format: uuid */
|
|
273
538
|
id: string;
|
|
274
539
|
name: string;
|
|
275
540
|
text: string;
|
|
@@ -297,7 +562,7 @@ interface paths$1 {
|
|
|
297
562
|
500: components$1["responses"]["InternalServerError"];
|
|
298
563
|
};
|
|
299
564
|
};
|
|
300
|
-
/** @description Creates or updates a Mesh app definition on a team */
|
|
565
|
+
/** @description Creates or updates a Mesh app definition on a team. */
|
|
301
566
|
put: {
|
|
302
567
|
parameters: {
|
|
303
568
|
query?: never;
|
|
@@ -308,26 +573,39 @@ interface paths$1 {
|
|
|
308
573
|
requestBody: {
|
|
309
574
|
content: {
|
|
310
575
|
"application/json": {
|
|
311
|
-
/**
|
|
312
|
-
* Format: uuid
|
|
313
|
-
* @description The team ID
|
|
314
|
-
*/
|
|
576
|
+
/** @description The team ID */
|
|
315
577
|
teamId: string;
|
|
316
578
|
data: {
|
|
579
|
+
/** @description Optional reference to the JSON schema used to validate this manifest (for editor/agent tooling). Ignored by Uniform. */
|
|
580
|
+
$schema?: string;
|
|
581
|
+
/** @description Integration public id. Do not change after registering. Must be unique and lowercase alphanumeric with hyphens/underscores. */
|
|
317
582
|
type: string;
|
|
583
|
+
/** @description Display name used in the UI for the integration. */
|
|
318
584
|
displayName: string;
|
|
585
|
+
/** @description URL to the integration's logo icon (larger, used on listing). */
|
|
319
586
|
logoIconUrl?: string;
|
|
587
|
+
/** @description URL to the integration's badge icon (small, round, used as a badge in the UI). */
|
|
320
588
|
badgeIconUrl?: string;
|
|
321
|
-
/**
|
|
589
|
+
/**
|
|
590
|
+
* @description Category of the integration.
|
|
591
|
+
* @enum {string}
|
|
592
|
+
*/
|
|
322
593
|
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "translation" | "uniform" | "ai" | "unknown";
|
|
594
|
+
/** @description List of permissions to access sensitive data or perform certain actions. */
|
|
323
595
|
scopes?: string[];
|
|
596
|
+
/** @description When true, this integration can request delegation tokens to call Uniform APIs on behalf of the current user. */
|
|
597
|
+
identityDelegation?: boolean;
|
|
598
|
+
/** @description Prefix for location URL paths. When set, location URLs may be relative to it; otherwise full URLs are required. */
|
|
324
599
|
baseLocationUrl?: string;
|
|
600
|
+
/** @description Locations where the integration is exposed within the Uniform application. */
|
|
325
601
|
locations: {
|
|
602
|
+
/** @description Locations used during installation of the integration. */
|
|
326
603
|
install?: {
|
|
327
604
|
description?: string[];
|
|
328
605
|
informationUrl?: string;
|
|
329
606
|
canvasPackageUrl?: string;
|
|
330
607
|
};
|
|
608
|
+
/** @description Settings location for configuring the integration. */
|
|
331
609
|
settings?: {
|
|
332
610
|
url: string;
|
|
333
611
|
locations?: {
|
|
@@ -342,6 +620,7 @@ interface paths$1 {
|
|
|
342
620
|
};
|
|
343
621
|
};
|
|
344
622
|
};
|
|
623
|
+
/** @description Locations within Uniform Canvas for the integration to extend. */
|
|
345
624
|
canvas?: {
|
|
346
625
|
parameterTypes?: {
|
|
347
626
|
type: string;
|
|
@@ -396,6 +675,10 @@ interface paths$1 {
|
|
|
396
675
|
name: string;
|
|
397
676
|
url: string;
|
|
398
677
|
iconUrl?: string;
|
|
678
|
+
access?: {
|
|
679
|
+
/** @enum {boolean} */
|
|
680
|
+
teamAdminRequired?: true;
|
|
681
|
+
};
|
|
399
682
|
editorTypes?: ("composition" | "componentPattern" | "compositionDefaults" | "entry" | "entryPattern")[];
|
|
400
683
|
}[];
|
|
401
684
|
personalization?: {
|
|
@@ -408,6 +691,7 @@ interface paths$1 {
|
|
|
408
691
|
};
|
|
409
692
|
};
|
|
410
693
|
};
|
|
694
|
+
/** @description Data Connector(s) provided by the integration. */
|
|
411
695
|
dataConnectors?: {
|
|
412
696
|
type: string;
|
|
413
697
|
displayName: string;
|
|
@@ -452,10 +736,23 @@ interface paths$1 {
|
|
|
452
736
|
};
|
|
453
737
|
};
|
|
454
738
|
embeddedEditor?: string;
|
|
739
|
+
dataResourceSelectorUrl?: string;
|
|
740
|
+
dataResourceSelectorLocations?: {
|
|
741
|
+
[key: string]: {
|
|
742
|
+
url: string;
|
|
743
|
+
layout?: {
|
|
744
|
+
/** @enum {string} */
|
|
745
|
+
height?: "full-height";
|
|
746
|
+
/** @enum {string} */
|
|
747
|
+
width?: "wide";
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
};
|
|
455
751
|
};
|
|
456
752
|
};
|
|
457
753
|
badgeIconUrl?: string;
|
|
458
754
|
}[];
|
|
755
|
+
/** @description Asset Library provided by the integration. */
|
|
459
756
|
assetLibrary?: {
|
|
460
757
|
assetLibraryUrl: string;
|
|
461
758
|
assetParameterUrl: string;
|
|
@@ -476,6 +773,7 @@ interface paths$1 {
|
|
|
476
773
|
singleAssetArchetypeId: string;
|
|
477
774
|
};
|
|
478
775
|
};
|
|
776
|
+
/** @description Deprecated. Use `assetLibrary` instead. */
|
|
479
777
|
unstable_assetLibrary?: {
|
|
480
778
|
url: string;
|
|
481
779
|
dynamicAssets?: {
|
|
@@ -484,11 +782,11 @@ interface paths$1 {
|
|
|
484
782
|
singleAssetArchetypeId: string;
|
|
485
783
|
};
|
|
486
784
|
};
|
|
785
|
+
/** @description AI configuration for the integration. */
|
|
487
786
|
ai?: {
|
|
488
787
|
generateUrl: string;
|
|
489
788
|
metadataUrl?: string;
|
|
490
789
|
prompts?: {
|
|
491
|
-
/** Format: uuid */
|
|
492
790
|
id: string;
|
|
493
791
|
name: string;
|
|
494
792
|
text: string;
|
|
@@ -506,10 +804,12 @@ interface paths$1 {
|
|
|
506
804
|
parameterTypes: string[];
|
|
507
805
|
}[];
|
|
508
806
|
};
|
|
807
|
+
/** @description Deprecated. Use `ai` instead. */
|
|
509
808
|
unstable_ai?: {
|
|
510
809
|
generateUrl: string;
|
|
511
810
|
metadataUrl?: string;
|
|
512
811
|
};
|
|
812
|
+
/** @description Deprecated/experimental. AI agents function-calling configuration. */
|
|
513
813
|
aiAgents?: {
|
|
514
814
|
functionCalling?: {
|
|
515
815
|
handlerUrl: string;
|
|
@@ -527,27 +827,42 @@ interface paths$1 {
|
|
|
527
827
|
}[];
|
|
528
828
|
};
|
|
529
829
|
};
|
|
830
|
+
/** @description Deprecated. Will be removed shortly. */
|
|
530
831
|
tools?: {
|
|
531
832
|
id: string;
|
|
532
833
|
name: string;
|
|
533
834
|
url: string;
|
|
534
835
|
iconUrl?: string;
|
|
836
|
+
access?: {
|
|
837
|
+
/** @enum {boolean} */
|
|
838
|
+
teamAdminRequired?: true;
|
|
839
|
+
};
|
|
535
840
|
}[];
|
|
841
|
+
/** @description Project-level tools provided by the integration. */
|
|
536
842
|
projectTools?: {
|
|
537
843
|
id: string;
|
|
538
844
|
name: string;
|
|
539
845
|
url: string;
|
|
540
846
|
iconUrl?: string;
|
|
847
|
+
access?: {
|
|
848
|
+
/** @enum {boolean} */
|
|
849
|
+
teamAdminRequired?: true;
|
|
850
|
+
};
|
|
541
851
|
}[];
|
|
852
|
+
/** @description Dashboard-level tools provided by the integration. */
|
|
542
853
|
dashboardTools?: {
|
|
543
854
|
id: string;
|
|
544
855
|
name: string;
|
|
545
856
|
url: string;
|
|
546
857
|
iconUrl?: string;
|
|
858
|
+
access?: {
|
|
859
|
+
/** @enum {boolean} */
|
|
860
|
+
teamAdminRequired?: true;
|
|
861
|
+
};
|
|
547
862
|
}[];
|
|
548
863
|
};
|
|
864
|
+
/** @description Deprecated. Use `locations.ai.prompts` instead. */
|
|
549
865
|
unstable_prompts?: {
|
|
550
|
-
/** Format: uuid */
|
|
551
866
|
id: string;
|
|
552
867
|
name: string;
|
|
553
868
|
text: string;
|
|
@@ -576,21 +891,43 @@ interface paths$1 {
|
|
|
576
891
|
};
|
|
577
892
|
content: {
|
|
578
893
|
"application/json": {
|
|
894
|
+
/** @description Optional reference to the JSON schema used to validate this manifest (for editor/agent tooling). Ignored by Uniform. */
|
|
895
|
+
$schema?: string;
|
|
896
|
+
/** @description Integration public id. Do not change after registering. Must be unique and lowercase alphanumeric with hyphens/underscores. */
|
|
579
897
|
type: string;
|
|
898
|
+
/** @description Display name used in the UI for the integration. */
|
|
580
899
|
displayName: string;
|
|
900
|
+
/** @description URL to the integration's logo icon (larger, used on listing). */
|
|
581
901
|
logoIconUrl?: string;
|
|
902
|
+
/** @description URL to the integration's badge icon (small, round, used as a badge in the UI). */
|
|
582
903
|
badgeIconUrl?: string;
|
|
583
|
-
/**
|
|
904
|
+
/**
|
|
905
|
+
* @description Category of the integration.
|
|
906
|
+
* @enum {string}
|
|
907
|
+
*/
|
|
584
908
|
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "translation" | "uniform" | "ai" | "unknown";
|
|
585
909
|
public?: boolean;
|
|
910
|
+
/** @description List of permissions to access sensitive data or perform certain actions. */
|
|
586
911
|
scopes?: string[];
|
|
912
|
+
/** @description When true, this integration can request delegation tokens to call Uniform APIs on behalf of the current user. */
|
|
913
|
+
identityDelegation?: boolean;
|
|
914
|
+
/**
|
|
915
|
+
* Format: uuid
|
|
916
|
+
* @description Stable id for this integration definition. Required for identity delegation token exchange.
|
|
917
|
+
*/
|
|
918
|
+
integrationId: string;
|
|
919
|
+
hasAppSecret?: boolean;
|
|
920
|
+
/** @description Prefix for location URL paths. When set, location URLs may be relative to it; otherwise full URLs are required. */
|
|
587
921
|
baseLocationUrl?: string;
|
|
922
|
+
/** @description Locations where the integration is exposed within the Uniform application. */
|
|
588
923
|
locations: {
|
|
924
|
+
/** @description Locations used during installation of the integration. */
|
|
589
925
|
install?: {
|
|
590
926
|
description?: string[];
|
|
591
927
|
informationUrl?: string;
|
|
592
928
|
canvasPackageUrl?: string;
|
|
593
929
|
};
|
|
930
|
+
/** @description Settings location for configuring the integration. */
|
|
594
931
|
settings?: {
|
|
595
932
|
url: string;
|
|
596
933
|
locations?: {
|
|
@@ -605,6 +942,7 @@ interface paths$1 {
|
|
|
605
942
|
};
|
|
606
943
|
};
|
|
607
944
|
};
|
|
945
|
+
/** @description Locations within Uniform Canvas for the integration to extend. */
|
|
608
946
|
canvas?: {
|
|
609
947
|
parameterTypes?: {
|
|
610
948
|
type: string;
|
|
@@ -659,6 +997,10 @@ interface paths$1 {
|
|
|
659
997
|
name: string;
|
|
660
998
|
url: string;
|
|
661
999
|
iconUrl?: string;
|
|
1000
|
+
access?: {
|
|
1001
|
+
/** @enum {boolean} */
|
|
1002
|
+
teamAdminRequired?: true;
|
|
1003
|
+
};
|
|
662
1004
|
editorTypes?: ("composition" | "componentPattern" | "compositionDefaults" | "entry" | "entryPattern")[];
|
|
663
1005
|
}[];
|
|
664
1006
|
personalization?: {
|
|
@@ -671,6 +1013,7 @@ interface paths$1 {
|
|
|
671
1013
|
};
|
|
672
1014
|
};
|
|
673
1015
|
};
|
|
1016
|
+
/** @description Data Connector(s) provided by the integration. */
|
|
674
1017
|
dataConnectors?: {
|
|
675
1018
|
type: string;
|
|
676
1019
|
displayName: string;
|
|
@@ -715,10 +1058,23 @@ interface paths$1 {
|
|
|
715
1058
|
};
|
|
716
1059
|
};
|
|
717
1060
|
embeddedEditor?: string;
|
|
1061
|
+
dataResourceSelectorUrl?: string;
|
|
1062
|
+
dataResourceSelectorLocations?: {
|
|
1063
|
+
[key: string]: {
|
|
1064
|
+
url: string;
|
|
1065
|
+
layout?: {
|
|
1066
|
+
/** @enum {string} */
|
|
1067
|
+
height?: "full-height";
|
|
1068
|
+
/** @enum {string} */
|
|
1069
|
+
width?: "wide";
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
718
1073
|
};
|
|
719
1074
|
};
|
|
720
1075
|
badgeIconUrl?: string;
|
|
721
1076
|
}[];
|
|
1077
|
+
/** @description Asset Library provided by the integration. */
|
|
722
1078
|
assetLibrary?: {
|
|
723
1079
|
assetLibraryUrl: string;
|
|
724
1080
|
assetParameterUrl: string;
|
|
@@ -739,6 +1095,7 @@ interface paths$1 {
|
|
|
739
1095
|
singleAssetArchetypeId: string;
|
|
740
1096
|
};
|
|
741
1097
|
};
|
|
1098
|
+
/** @description Deprecated. Use `assetLibrary` instead. */
|
|
742
1099
|
unstable_assetLibrary?: {
|
|
743
1100
|
url: string;
|
|
744
1101
|
dynamicAssets?: {
|
|
@@ -747,11 +1104,11 @@ interface paths$1 {
|
|
|
747
1104
|
singleAssetArchetypeId: string;
|
|
748
1105
|
};
|
|
749
1106
|
};
|
|
1107
|
+
/** @description AI configuration for the integration. */
|
|
750
1108
|
ai?: {
|
|
751
1109
|
generateUrl: string;
|
|
752
1110
|
metadataUrl?: string;
|
|
753
1111
|
prompts?: {
|
|
754
|
-
/** Format: uuid */
|
|
755
1112
|
id: string;
|
|
756
1113
|
name: string;
|
|
757
1114
|
text: string;
|
|
@@ -769,10 +1126,12 @@ interface paths$1 {
|
|
|
769
1126
|
parameterTypes: string[];
|
|
770
1127
|
}[];
|
|
771
1128
|
};
|
|
1129
|
+
/** @description Deprecated. Use `ai` instead. */
|
|
772
1130
|
unstable_ai?: {
|
|
773
1131
|
generateUrl: string;
|
|
774
1132
|
metadataUrl?: string;
|
|
775
1133
|
};
|
|
1134
|
+
/** @description Deprecated/experimental. AI agents function-calling configuration. */
|
|
776
1135
|
aiAgents?: {
|
|
777
1136
|
functionCalling?: {
|
|
778
1137
|
handlerUrl: string;
|
|
@@ -790,27 +1149,42 @@ interface paths$1 {
|
|
|
790
1149
|
}[];
|
|
791
1150
|
};
|
|
792
1151
|
};
|
|
1152
|
+
/** @description Deprecated. Will be removed shortly. */
|
|
793
1153
|
tools?: {
|
|
794
1154
|
id: string;
|
|
795
1155
|
name: string;
|
|
796
1156
|
url: string;
|
|
797
1157
|
iconUrl?: string;
|
|
1158
|
+
access?: {
|
|
1159
|
+
/** @enum {boolean} */
|
|
1160
|
+
teamAdminRequired?: true;
|
|
1161
|
+
};
|
|
798
1162
|
}[];
|
|
1163
|
+
/** @description Project-level tools provided by the integration. */
|
|
799
1164
|
projectTools?: {
|
|
800
1165
|
id: string;
|
|
801
1166
|
name: string;
|
|
802
1167
|
url: string;
|
|
803
1168
|
iconUrl?: string;
|
|
1169
|
+
access?: {
|
|
1170
|
+
/** @enum {boolean} */
|
|
1171
|
+
teamAdminRequired?: true;
|
|
1172
|
+
};
|
|
804
1173
|
}[];
|
|
1174
|
+
/** @description Dashboard-level tools provided by the integration. */
|
|
805
1175
|
dashboardTools?: {
|
|
806
1176
|
id: string;
|
|
807
1177
|
name: string;
|
|
808
1178
|
url: string;
|
|
809
1179
|
iconUrl?: string;
|
|
1180
|
+
access?: {
|
|
1181
|
+
/** @enum {boolean} */
|
|
1182
|
+
teamAdminRequired?: true;
|
|
1183
|
+
};
|
|
810
1184
|
}[];
|
|
811
1185
|
};
|
|
1186
|
+
/** @description Deprecated. Use `locations.ai.prompts` instead. */
|
|
812
1187
|
unstable_prompts?: {
|
|
813
|
-
/** Format: uuid */
|
|
814
1188
|
id: string;
|
|
815
1189
|
name: string;
|
|
816
1190
|
text: string;
|
|
@@ -849,10 +1223,7 @@ interface paths$1 {
|
|
|
849
1223
|
requestBody: {
|
|
850
1224
|
content: {
|
|
851
1225
|
"application/json": {
|
|
852
|
-
/**
|
|
853
|
-
* Format: uuid
|
|
854
|
-
* @description The team ID
|
|
855
|
-
*/
|
|
1226
|
+
/** @description The team ID */
|
|
856
1227
|
teamId: string;
|
|
857
1228
|
/** @description The integration type to remove */
|
|
858
1229
|
type: string;
|
|
@@ -973,9 +1344,13 @@ interface paths {
|
|
|
973
1344
|
get: {
|
|
974
1345
|
parameters: {
|
|
975
1346
|
query: {
|
|
1347
|
+
/** @description The project ID */
|
|
976
1348
|
projectId: string;
|
|
1349
|
+
/** @description Limit results to a single integration type */
|
|
977
1350
|
type?: string;
|
|
1351
|
+
/** @description Whether to match the passed type exactly or to treat the type as a prefix */
|
|
978
1352
|
exactType?: boolean | null;
|
|
1353
|
+
/** @description Whether to use team-specific integration types or team-agnostic types (for serialization across projects) */
|
|
979
1354
|
teamSpecificType?: boolean | null;
|
|
980
1355
|
};
|
|
981
1356
|
header?: never;
|
|
@@ -1018,11 +1393,9 @@ interface paths {
|
|
|
1018
1393
|
requestBody: {
|
|
1019
1394
|
content: {
|
|
1020
1395
|
"application/json": {
|
|
1021
|
-
/**
|
|
1022
|
-
* Format: uuid
|
|
1023
|
-
* @description The project ID
|
|
1024
|
-
*/
|
|
1396
|
+
/** @description The project ID */
|
|
1025
1397
|
projectId: string;
|
|
1398
|
+
/** @description Whether to match the passed type exactly or to treat the type as a prefix */
|
|
1026
1399
|
exactType?: boolean | null;
|
|
1027
1400
|
type: string;
|
|
1028
1401
|
data?: {
|
|
@@ -1058,13 +1431,11 @@ interface paths {
|
|
|
1058
1431
|
requestBody: {
|
|
1059
1432
|
content: {
|
|
1060
1433
|
"application/json": {
|
|
1061
|
-
/**
|
|
1062
|
-
* Format: uuid
|
|
1063
|
-
* @description The project ID
|
|
1064
|
-
*/
|
|
1434
|
+
/** @description The project ID */
|
|
1065
1435
|
projectId: string;
|
|
1066
1436
|
/** @description The integration type to remove */
|
|
1067
1437
|
type: string;
|
|
1438
|
+
/** @description Whether to match the passed type exactly or to treat the type as a prefix */
|
|
1068
1439
|
exactType?: boolean | null;
|
|
1069
1440
|
};
|
|
1070
1441
|
};
|
|
@@ -1173,6 +1544,7 @@ interface components {
|
|
|
1173
1544
|
|
|
1174
1545
|
type IntegrationDefinitionsApi = paths$1['/api/v1/integration-definitions'];
|
|
1175
1546
|
type IntegrationInstallationsApi = paths['/api/v1/integration-installations'];
|
|
1547
|
+
type IntegrationCredentialsApi = paths$2['/api/v1/integration-credentials'];
|
|
1176
1548
|
/** Query parameter options for GET /api/v1/integration-definitions */
|
|
1177
1549
|
type IntegrationDefinitionGetParameters = IntegrationDefinitionsApi['get']['parameters']['query'];
|
|
1178
1550
|
/** The GET response from /api/v1/integration-definitions */
|
|
@@ -1183,6 +1555,12 @@ type IntegrationDefinitionPutParameters = IntegrationDefinitionsApi['put']['requ
|
|
|
1183
1555
|
type IntegrationDefinitionPutResponse = IntegrationDefinitionsApi['put']['responses']['200']['content']['application/json'];
|
|
1184
1556
|
/** The DELETE body for /api/v1/integration-definitions */
|
|
1185
1557
|
type IntegrationDefinitionDeleteParameters = IntegrationDefinitionsApi['delete']['requestBody']['content']['application/json'];
|
|
1558
|
+
/** The POST body for /api/v1/integration-credentials (rotate or mint) */
|
|
1559
|
+
type IntegrationCredentialRotateParameters = IntegrationCredentialsApi['post']['requestBody']['content']['application/json'];
|
|
1560
|
+
/** The POST response for /api/v1/integration-credentials (returns the plaintext secret once) */
|
|
1561
|
+
type IntegrationCredentialRotateResponse = IntegrationCredentialsApi['post']['responses']['200']['content']['application/json'];
|
|
1562
|
+
/** The DELETE body for /api/v1/integration-credentials (revoke) */
|
|
1563
|
+
type IntegrationCredentialRevokeParameters = IntegrationCredentialsApi['delete']['requestBody']['content']['application/json'];
|
|
1186
1564
|
/** Query parameter options for GET /api/v1/integration-installations */
|
|
1187
1565
|
type IntegrationInstallationGetParameters = IntegrationInstallationsApi['get']['parameters']['query'];
|
|
1188
1566
|
/** The GET response from /api/v1/integration-installations */
|
|
@@ -1195,14 +1573,15 @@ type IntegrationInstallationDeleteParameters = IntegrationInstallationsApi['dele
|
|
|
1195
1573
|
type DefClientOptions = Omit<ClientOptions, 'apiKey' | 'projectId'> & {
|
|
1196
1574
|
teamId: string;
|
|
1197
1575
|
};
|
|
1198
|
-
/** API Client to manage the registration of custom Mesh applications */
|
|
1576
|
+
/** API Client to manage the registration of custom Mesh applications and their identity-delegation credentials. */
|
|
1199
1577
|
declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
1200
1578
|
#private;
|
|
1201
1579
|
constructor(options: DefClientOptions);
|
|
1202
1580
|
/** Fetches all mesh apps for a team (and optionally also those shared across teams) */
|
|
1203
1581
|
get(options?: Omit<IntegrationDefinitionGetParameters, 'teamId'>): Promise<IntegrationDefinitionGetResponse>;
|
|
1204
|
-
/** Creates or updates a mesh app definition on a team */
|
|
1582
|
+
/** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link rotateCredential}. */
|
|
1205
1583
|
upsert(body: Omit<IntegrationDefinitionPutParameters, 'teamId'>): Promise<{
|
|
1584
|
+
$schema?: string;
|
|
1206
1585
|
type: string;
|
|
1207
1586
|
displayName: string;
|
|
1208
1587
|
logoIconUrl?: string;
|
|
@@ -1210,6 +1589,9 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1210
1589
|
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "translation" | "uniform" | "ai" | "unknown";
|
|
1211
1590
|
public?: boolean;
|
|
1212
1591
|
scopes?: string[];
|
|
1592
|
+
identityDelegation?: boolean;
|
|
1593
|
+
integrationId: string;
|
|
1594
|
+
hasAppSecret?: boolean;
|
|
1213
1595
|
baseLocationUrl?: string;
|
|
1214
1596
|
locations: {
|
|
1215
1597
|
install?: {
|
|
@@ -1278,6 +1660,9 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1278
1660
|
name: string;
|
|
1279
1661
|
url: string;
|
|
1280
1662
|
iconUrl?: string;
|
|
1663
|
+
access?: {
|
|
1664
|
+
teamAdminRequired?: true;
|
|
1665
|
+
};
|
|
1281
1666
|
editorTypes?: ("composition" | "componentPattern" | "compositionDefaults" | "entry" | "entryPattern")[];
|
|
1282
1667
|
}[];
|
|
1283
1668
|
personalization?: {
|
|
@@ -1328,6 +1713,16 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1328
1713
|
};
|
|
1329
1714
|
};
|
|
1330
1715
|
embeddedEditor?: string;
|
|
1716
|
+
dataResourceSelectorUrl?: string;
|
|
1717
|
+
dataResourceSelectorLocations?: {
|
|
1718
|
+
[key: string]: {
|
|
1719
|
+
url: string;
|
|
1720
|
+
layout?: {
|
|
1721
|
+
height?: "full-height";
|
|
1722
|
+
width?: "wide";
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1331
1726
|
};
|
|
1332
1727
|
};
|
|
1333
1728
|
badgeIconUrl?: string;
|
|
@@ -1405,18 +1800,27 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1405
1800
|
name: string;
|
|
1406
1801
|
url: string;
|
|
1407
1802
|
iconUrl?: string;
|
|
1803
|
+
access?: {
|
|
1804
|
+
teamAdminRequired?: true;
|
|
1805
|
+
};
|
|
1408
1806
|
}[];
|
|
1409
1807
|
projectTools?: {
|
|
1410
1808
|
id: string;
|
|
1411
1809
|
name: string;
|
|
1412
1810
|
url: string;
|
|
1413
1811
|
iconUrl?: string;
|
|
1812
|
+
access?: {
|
|
1813
|
+
teamAdminRequired?: true;
|
|
1814
|
+
};
|
|
1414
1815
|
}[];
|
|
1415
1816
|
dashboardTools?: {
|
|
1416
1817
|
id: string;
|
|
1417
1818
|
name: string;
|
|
1418
1819
|
url: string;
|
|
1419
1820
|
iconUrl?: string;
|
|
1821
|
+
access?: {
|
|
1822
|
+
teamAdminRequired?: true;
|
|
1823
|
+
};
|
|
1420
1824
|
}[];
|
|
1421
1825
|
};
|
|
1422
1826
|
unstable_prompts?: {
|
|
@@ -1439,6 +1843,19 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1439
1843
|
}>;
|
|
1440
1844
|
/** Deletes a mesh app from a team */
|
|
1441
1845
|
remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Mints or rotates an identity-delegation credential for an integration definition. The plaintext
|
|
1848
|
+
* `appSecret` is returned exactly once and is not retrievable afterwards — Uniform stores only
|
|
1849
|
+
* the hash. A successful response invalidates any previously-issued secret of the same kind.
|
|
1850
|
+
* Caller must be a team admin.
|
|
1851
|
+
*/
|
|
1852
|
+
rotateCredential(body: Omit<IntegrationCredentialRotateParameters, 'teamId'>): Promise<IntegrationCredentialRotateResponse>;
|
|
1853
|
+
/**
|
|
1854
|
+
* Revokes an identity-delegation credential. Future delegation grants and refreshes will fail
|
|
1855
|
+
* until a new credential is minted; in-flight delegation tokens remain valid until natural
|
|
1856
|
+
* expiry (up to ~15 minutes). Caller must be a team admin.
|
|
1857
|
+
*/
|
|
1858
|
+
revokeCredential(body: Omit<IntegrationCredentialRevokeParameters, 'teamId'>): Promise<void>;
|
|
1442
1859
|
}
|
|
1443
1860
|
|
|
1444
1861
|
/** API Client to manage the registration of custom Mesh applications */
|
|
@@ -1457,6 +1874,41 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
1457
1874
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
1458
1875
|
}
|
|
1459
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* Default custom-header name partners attach on every state-changing call
|
|
1879
|
+
* to the BFF. Any fixed, non-CORS-safelisted header name works — the value
|
|
1880
|
+
* is irrelevant to the security argument; only its presence matters.
|
|
1881
|
+
*
|
|
1882
|
+
* The browser will not attach a non-safelisted header on a cross-origin
|
|
1883
|
+
* request without a CORS preflight, so any request that arrives with the
|
|
1884
|
+
* header must have originated from same-origin JavaScript.
|
|
1885
|
+
*
|
|
1886
|
+
* The constant is exported so the BFF and the consumer's browser fetch
|
|
1887
|
+
* helper share one source of truth.
|
|
1888
|
+
*/
|
|
1889
|
+
declare const CSRF_HEADER_NAME = "x-mesh-csrf";
|
|
1890
|
+
/**
|
|
1891
|
+
* Default expected value for the custom CSRF header. Constant; the security
|
|
1892
|
+
* argument is presence-of-header, not value-secrecy. Kept as `'1'` so the
|
|
1893
|
+
* value is trivial to recognise in logs and developer tooling.
|
|
1894
|
+
*/
|
|
1895
|
+
declare const CSRF_HEADER_VALUE = "1";
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* BFF 401 body `code` when the delegation session is missing or the access token
|
|
1899
|
+
* is expired. Clients re-exchange the Mesh session token and retry once.
|
|
1900
|
+
* Do not use for other 401s.
|
|
1901
|
+
*
|
|
1902
|
+
* @deprecated This beta identity delegation API may change with breaking changes.
|
|
1903
|
+
*/
|
|
1904
|
+
declare const DELEGATION_EXPIRED_CODE: "delegation_expired";
|
|
1905
|
+
/**
|
|
1906
|
+
* Human-readable message to pair with {@link DELEGATION_EXPIRED_CODE}.
|
|
1907
|
+
*
|
|
1908
|
+
* @deprecated This beta identity delegation API may change with breaking changes.
|
|
1909
|
+
*/
|
|
1910
|
+
declare const DELEGATION_SESSION_EXPIRED_MESSAGE: "Delegation session expired.";
|
|
1911
|
+
|
|
1460
1912
|
/** @deprecated experimental */
|
|
1461
1913
|
type FunctionCallResponse = {
|
|
1462
1914
|
message: string;
|
|
@@ -1490,6 +1942,7 @@ declare function parseFunctionCall<Parameters extends Record<string, string>, Se
|
|
|
1490
1942
|
name: string;
|
|
1491
1943
|
type: "function_call";
|
|
1492
1944
|
id?: string;
|
|
1945
|
+
namespace?: string;
|
|
1493
1946
|
status?: "in_progress" | "completed" | "incomplete";
|
|
1494
1947
|
};
|
|
1495
1948
|
settings: Settings;
|
|
@@ -1541,7 +1994,7 @@ type DataTypeLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetad
|
|
|
1541
1994
|
}, TIntegrationConfiguration>;
|
|
1542
1995
|
type DataTypeLocation = MeshLocationCore<DataTypeLocationValue, DataTypeLocationMetadata, DataTypeLocationValue, 'dataType'> & GetDataResourceLocation;
|
|
1543
1996
|
|
|
1544
|
-
type DataResourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1997
|
+
type DataResourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<CanvasEditorContextMetadata & {
|
|
1545
1998
|
dataType: DataType;
|
|
1546
1999
|
/** The data type's archetype value. */
|
|
1547
2000
|
archetype: string;
|
|
@@ -1551,12 +2004,40 @@ type DataResourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonM
|
|
|
1551
2004
|
dataSource: DataSource;
|
|
1552
2005
|
/** The data connector type of the current data resource's data source */
|
|
1553
2006
|
dataConnector: DataConnectorInfo;
|
|
1554
|
-
/** Current dynamic inputs that are configured on the composition (if any). */
|
|
1555
|
-
dynamicInputs: DynamicInputs;
|
|
1556
2007
|
/** Which Data Source variant is being resolved and used for getDataResource (unless overriden explicitly via providing "undefined") */
|
|
1557
2008
|
dataSourceVariant?: DataSourceVariantsKeys;
|
|
1558
2009
|
}, TIntegrationConfiguration>;
|
|
1559
|
-
type DataResourceLocation = MeshLocationCore<DataResourceVariables, DataResourceLocationMetadata, DataResourceVariables, 'dataResource'> & GetDataResourceLocation;
|
|
2010
|
+
type DataResourceLocation = MeshLocationCore<DataResourceVariables, DataResourceLocationMetadata, DataResourceVariables, 'dataResource'> & GetDataResourceLocation & GetEditorStateLocationMaybe;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* Metadata for the dataResourceSelector location.
|
|
2014
|
+
* This location type allows custom UI for selecting JSON pointers within a data resource,
|
|
2015
|
+
* replacing the default JSON tree viewer in the dynamic token picker.
|
|
2016
|
+
* @deprecated This is experimental functionality and is subject to change without notice.
|
|
2017
|
+
*/
|
|
2018
|
+
type DataResourceSelectorLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<CanvasEditorContextMetadata & {
|
|
2019
|
+
/** The resolved data for the currently selected data resource */
|
|
2020
|
+
dataResourceValue: unknown;
|
|
2021
|
+
/** The name of the currently selected data resource */
|
|
2022
|
+
dataResourceName: string;
|
|
2023
|
+
/** The data type ID for the current data resource */
|
|
2024
|
+
dataTypeId: string;
|
|
2025
|
+
/** The data type's archetype value (useful for apps sharing a selector across archetypes) */
|
|
2026
|
+
archetype: string;
|
|
2027
|
+
/** Allowed bindable types for the parameter being connected */
|
|
2028
|
+
allowedTypes: BindableTypes[];
|
|
2029
|
+
}, TIntegrationConfiguration>;
|
|
2030
|
+
/**
|
|
2031
|
+
* Location for custom data resource selector UI.
|
|
2032
|
+
* Replaces the default JSON tree viewer when selecting dynamic tokens from a data resource.
|
|
2033
|
+
*
|
|
2034
|
+
* Value: The selected JSON pointer string (e.g., "/moves/0/move/name")
|
|
2035
|
+
* setValue: Call with a valid JSON pointer to select that path
|
|
2036
|
+
* getDataResource: Fetch data from the data connector using the current data source
|
|
2037
|
+
* editorState: Imperative API for inspecting/mutating the underlying composition / entry tree
|
|
2038
|
+
* @deprecated This is experimental functionality and is subject to change without notice.
|
|
2039
|
+
*/
|
|
2040
|
+
type DataResourceSelectorLocation = MeshLocationCore<string, DataResourceSelectorLocationMetadata, string, 'dataResourceSelector'> & GetDataResourceLocation & GetEditorStateLocationMaybe;
|
|
1560
2041
|
|
|
1561
2042
|
type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables' | 'enableUnpublishedMode' | 'variants'>;
|
|
1562
2043
|
type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
@@ -1568,19 +2049,14 @@ type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMet
|
|
|
1568
2049
|
}, TIntegrationConfiguration>;
|
|
1569
2050
|
type DataSourceLocation = MeshLocationCore<DataSourceLocationValue, DataSourceLocationMetadata, DataSourceLocationValue, 'dataSource'>;
|
|
1570
2051
|
|
|
1571
|
-
type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
2052
|
+
type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfiguration = unknown> = CommonMetadata<CanvasEditorContextMetadata & {
|
|
2053
|
+
/** editorState is an experimental replacement for rootNode. This may become deprecated in the future. */
|
|
1572
2054
|
rootNode: Omit<RootComponentInstance, 'slots' | '_data'> & {
|
|
1573
2055
|
_editionId?: string;
|
|
1574
2056
|
};
|
|
1575
2057
|
parameterConfiguration: TParamConfiguration;
|
|
1576
2058
|
component: Omit<ComponentInstance, 'slots'>;
|
|
1577
|
-
componentDefinitions: Record<string, ComponentDefinition | undefined>;
|
|
1578
2059
|
parameterDefinition: ComponentDefinitionParameter;
|
|
1579
|
-
/**
|
|
1580
|
-
* Current dynamic inputs that are configured on the composition (if any).
|
|
1581
|
-
* Use the <ParamTypeDynamicDataProvider> to wire up dynamic data in your parameter.
|
|
1582
|
-
*/
|
|
1583
|
-
dynamicInputs: DynamicInputs;
|
|
1584
2060
|
/**
|
|
1585
2061
|
* The connected data for the current component. Connected data is provided as a map
|
|
1586
2062
|
* of the binding expression text to the value of that binding expression. For example,
|
|
@@ -1609,7 +2085,7 @@ type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TPa
|
|
|
1609
2085
|
* Returns the result of the dialog. Useful to build data-enabled parameter types.
|
|
1610
2086
|
*/
|
|
1611
2087
|
editConnectedData: Awaited<ReturnType<typeof connectToParent>>['parent']['editConnectedData'];
|
|
1612
|
-
};
|
|
2088
|
+
} & GetEditorStateLocation;
|
|
1613
2089
|
|
|
1614
2090
|
type SettingsLocationMetadata = CommonMetadata;
|
|
1615
2091
|
type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsLocationMetadata, TSettingsType, 'settings'>;
|
|
@@ -1618,7 +2094,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
1618
2094
|
* Defines methods used for interacting with a Mesh location
|
|
1619
2095
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
1620
2096
|
*/
|
|
1621
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | EmbeddedEditorLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation | PersonalizationCriteriaLocation<TValue> | DashboardToolLocation<TValue> | ProjectToolLocation<TValue>;
|
|
2097
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | DataResourceSelectorLocation | CanvasEditorToolsLocation | EmbeddedEditorLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation | PersonalizationCriteriaLocation<TValue> | DashboardToolLocation<TValue> | ProjectToolLocation<TValue>;
|
|
1622
2098
|
interface MeshContextData {
|
|
1623
2099
|
locationKey: string;
|
|
1624
2100
|
locationType: MeshLocationTypes;
|
|
@@ -1786,7 +2262,41 @@ type UniformUser = {
|
|
|
1786
2262
|
isAdmin: boolean;
|
|
1787
2263
|
};
|
|
1788
2264
|
|
|
1789
|
-
|
|
2265
|
+
/**
|
|
2266
|
+
* Methods the parent frame exposes to the Mesh SDK over the iframe bridge (`connectToParent().parent`).
|
|
2267
|
+
* The dashboard implements the same shape when wiring `setupIframeListeners` / mesh location hosts.
|
|
2268
|
+
*/
|
|
2269
|
+
interface MeshParentConnection {
|
|
2270
|
+
resize: ({ height }: {
|
|
2271
|
+
height: CSSHeight;
|
|
2272
|
+
}) => Promise<void>;
|
|
2273
|
+
setValue: (value: SetValueMessage) => Promise<void>;
|
|
2274
|
+
openDialog: (message: OpenDialogMessage) => Promise<Pick<DialogResponseData, 'value' | 'dialogId'> | undefined>;
|
|
2275
|
+
closeDialog: (message: CloseDialogMessage) => Promise<void>;
|
|
2276
|
+
getDataResource: <TExpectedResult>(message: GetDataResourceMessage) => Promise<TExpectedResult>;
|
|
2277
|
+
navigate: (message: NavigateMessage) => Promise<void>;
|
|
2278
|
+
reloadLocation: () => Promise<void>;
|
|
2279
|
+
editConnectedData: (message: EditConnectedDataMessage) => Promise<EditConnectedDataResponse>;
|
|
2280
|
+
/**
|
|
2281
|
+
* Returns a short-lived session token for identity delegation, or `undefined` when delegation
|
|
2282
|
+
* is not enabled for this integration.
|
|
2283
|
+
*
|
|
2284
|
+
* @deprecated This beta identity delegation API may change with breaking changes.
|
|
2285
|
+
*/
|
|
2286
|
+
getSessionToken: () => Promise<string | undefined>;
|
|
2287
|
+
/**
|
|
2288
|
+
* Provides imperative access to the composition/entry editor state.
|
|
2289
|
+
* This API provides imperative access to the composition/entry editor state.
|
|
2290
|
+
*/
|
|
2291
|
+
editorState: EditorStateApi;
|
|
2292
|
+
}
|
|
2293
|
+
type ConnectToParentResult = {
|
|
2294
|
+
initData: MeshContextData;
|
|
2295
|
+
parent: MeshParentConnection;
|
|
2296
|
+
};
|
|
2297
|
+
/** Shape of the handler object the mesh parent iframe must provide (includes `initialize` for the host side). */
|
|
2298
|
+
type MeshSDKEventInterface = MeshParentConnection & {
|
|
2299
|
+
/** Invoked by the child on startup; not part of `connectToParent().parent` but required on the host. */
|
|
1790
2300
|
initialize: () => Promise<MeshContextData>;
|
|
1791
2301
|
};
|
|
1792
2302
|
/**
|
|
@@ -1797,21 +2307,7 @@ declare function connectToParent({ dialogResponseHandlers, onMetadataUpdated, on
|
|
|
1797
2307
|
dialogResponseHandlers: DialogResponseHandlers;
|
|
1798
2308
|
onMetadataUpdated: (metadata: unknown) => void;
|
|
1799
2309
|
onValueExternallyUpdated: (value: unknown) => void;
|
|
1800
|
-
}): Promise<
|
|
1801
|
-
initData: MeshContextData;
|
|
1802
|
-
parent: {
|
|
1803
|
-
resize: ({ height }: {
|
|
1804
|
-
height: CSSHeight;
|
|
1805
|
-
}) => Promise<void>;
|
|
1806
|
-
setValue: (value: SetValueMessage) => Promise<void>;
|
|
1807
|
-
openDialog: (message: OpenDialogMessage) => Promise<Pick<DialogResponseData, "value" | "dialogId"> | undefined>;
|
|
1808
|
-
closeDialog: (message: CloseDialogMessage) => Promise<void>;
|
|
1809
|
-
getDataResource: <TExpectedResult>(message: GetDataResourceMessage) => Promise<TExpectedResult>;
|
|
1810
|
-
navigate: (message: NavigateMessage) => Promise<void>;
|
|
1811
|
-
reloadLocation: () => Promise<void>;
|
|
1812
|
-
editConnectedData: (message: EditConnectedDataMessage) => Promise<EditConnectedDataResponse>;
|
|
1813
|
-
};
|
|
1814
|
-
}>;
|
|
2310
|
+
}): Promise<ConnectToParentResult>;
|
|
1815
2311
|
|
|
1816
2312
|
type SetLocationFunction<TSetValue> = (value: TSetValue, options?: SetValueOptions) => Promise<void> | void;
|
|
1817
2313
|
/** Core shared generic for a mesh location context */
|
|
@@ -1884,6 +2380,28 @@ type CommonMetadata<ExtendedMetadata = unknown, TIntegrationConfiguration = unkn
|
|
|
1884
2380
|
/** List if enabled Uniform Project locales */
|
|
1885
2381
|
locales: Locale[];
|
|
1886
2382
|
} & ExtendedMetadata;
|
|
2383
|
+
/**
|
|
2384
|
+
* Serializable metadata fields available in Canvas/Entry editor context.
|
|
2385
|
+
* {@link EditorStateApi} is not part of metadata; it is provided on the location object via mesh-sdk comms.
|
|
2386
|
+
*/
|
|
2387
|
+
type CanvasEditorContextMetadata = {
|
|
2388
|
+
/** Component definitions index, keyed by public id. */
|
|
2389
|
+
componentDefinitions: Record<string, ComponentDefinition | undefined>;
|
|
2390
|
+
/** Current dynamic inputs configured on the composition (if any). */
|
|
2391
|
+
dynamicInputs: DynamicInputs;
|
|
2392
|
+
/** The current locale selected in the editor UI */
|
|
2393
|
+
currentLocale: string | undefined;
|
|
2394
|
+
/**
|
|
2395
|
+
* The release ID of the currently edited entity.
|
|
2396
|
+
* Can be undefined when a release is active but the entity has not been copied to that release yet.
|
|
2397
|
+
*/
|
|
2398
|
+
releaseId?: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* The currently active release ID from editor context.
|
|
2401
|
+
* This reflects release selection regardless of whether the edited entity exists in that release.
|
|
2402
|
+
*/
|
|
2403
|
+
activeReleaseId?: string;
|
|
2404
|
+
};
|
|
1887
2405
|
type MeshLocationUserPermissions =
|
|
1888
2406
|
/** Uniform Context:Enrichments:Create */
|
|
1889
2407
|
'ENRICHMENTS_CREATE'
|
|
@@ -1943,6 +2461,12 @@ type MeshLocationUserPermissions =
|
|
|
1943
2461
|
| 'COMPOSITIONS_WRITE'
|
|
1944
2462
|
/** Uniform Canvas:Compositions:Delete */
|
|
1945
2463
|
| 'COMPOSITIONS_DELETE'
|
|
2464
|
+
/** Uniform Canvas:Labels:Create */
|
|
2465
|
+
| 'LABELS_CREATE'
|
|
2466
|
+
/** Uniform Canvas:Labels:Update */
|
|
2467
|
+
| 'LABELS_UPDATE'
|
|
2468
|
+
/** Uniform Canvas:Labels:Delete */
|
|
2469
|
+
| 'LABELS_DELETE'
|
|
1946
2470
|
/** Uniform Canvas:Compositions:Read Published */
|
|
1947
2471
|
| 'COMPOSITIONS_READ'
|
|
1948
2472
|
/** Uniform Canvas:Compositions:Publish */
|
|
@@ -1970,7 +2494,7 @@ type MeshLocationUserPermissions =
|
|
|
1970
2494
|
/**
|
|
1971
2495
|
* Known location types that can be passed to a mesh location
|
|
1972
2496
|
*/
|
|
1973
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'embeddedEditor' | 'canvasEditorTools' | 'aiMetadata' | 'personalizationCriteria' | 'dashboardTool' | 'projectTool';
|
|
2497
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'dataResourceSelector' | 'aiGenerate' | 'embeddedEditor' | 'canvasEditorTools' | 'aiMetadata' | 'personalizationCriteria' | 'dashboardTool' | 'projectTool';
|
|
1974
2498
|
type SetValueOptions = ValidationResult;
|
|
1975
2499
|
type SetValueMessage = {
|
|
1976
2500
|
uniformMeshLocationValue: unknown;
|
|
@@ -1980,6 +2504,25 @@ type SetValueMessage = {
|
|
|
1980
2504
|
type GetDataResourceLocation = {
|
|
1981
2505
|
getDataResource: Awaited<ReturnType<typeof connectToParent>>['parent']['getDataResource'];
|
|
1982
2506
|
};
|
|
2507
|
+
type GetEditorStateLocation = {
|
|
2508
|
+
/**
|
|
2509
|
+
* Imperative API for interacting with the composition/entry editor state.
|
|
2510
|
+
* Provides non-reactive access to read and modify the editor state.
|
|
2511
|
+
* @deprecated This is experimental functionality and is subject to change without notice.
|
|
2512
|
+
*/
|
|
2513
|
+
editorState: EditorStateApi;
|
|
2514
|
+
};
|
|
2515
|
+
type GetEditorStateLocationMaybe = {
|
|
2516
|
+
/**
|
|
2517
|
+
* Imperative API for interacting with the composition/entry editor state.
|
|
2518
|
+
* Provides non-reactive access to read and modify the editor state.
|
|
2519
|
+
*
|
|
2520
|
+
* "undefined" means that the location is rendered outside of Canvas Editor context, e.g. Data Type testing.
|
|
2521
|
+
*
|
|
2522
|
+
* @deprecated This is experimental functionality and is subject to change without notice.
|
|
2523
|
+
*/
|
|
2524
|
+
editorState: EditorStateApi | undefined;
|
|
2525
|
+
};
|
|
1983
2526
|
/**
|
|
1984
2527
|
* Dynamic inputs come from project map and represent path or query based dynamic values
|
|
1985
2528
|
* These can be connected to from within a Mesh location by setting a data resource variable to contain ex:
|
|
@@ -1995,6 +2538,257 @@ type DynamicInput = {
|
|
|
1995
2538
|
};
|
|
1996
2539
|
/** Record of dynamic inputs keyed by the input name */
|
|
1997
2540
|
type DynamicInputs = Record<string, DynamicInput>;
|
|
2541
|
+
/** Metadata about the composition (description, category, workflow, etc.) */
|
|
2542
|
+
type EditorRootMetadata = {
|
|
2543
|
+
description?: string;
|
|
2544
|
+
previewImageUrl?: string;
|
|
2545
|
+
categoryId?: string;
|
|
2546
|
+
workflowId?: string;
|
|
2547
|
+
workflowStageId?: string;
|
|
2548
|
+
editionName?: string;
|
|
2549
|
+
editionPriority?: number;
|
|
2550
|
+
};
|
|
2551
|
+
/** Root node metadata (name and slug) */
|
|
2552
|
+
type EditorRootNodeMetadata = {
|
|
2553
|
+
_name: string;
|
|
2554
|
+
_slug: string | null | undefined;
|
|
2555
|
+
};
|
|
2556
|
+
/** Options for exporting the tree */
|
|
2557
|
+
type EditorExportOptions = {
|
|
2558
|
+
/** If true, includes pattern descendant data in export */
|
|
2559
|
+
keepPatternData?: boolean;
|
|
2560
|
+
};
|
|
2561
|
+
/** A component instance without slots/params (indexed separately) */
|
|
2562
|
+
type EditorComponentInstance = Omit<ComponentInstance, 'slots' | 'parameters' | '_id'>;
|
|
2563
|
+
/** An indexed node within the editor state */
|
|
2564
|
+
type EditorNode = {
|
|
2565
|
+
nodeId: string;
|
|
2566
|
+
parentId?: string;
|
|
2567
|
+
isBlock?: boolean;
|
|
2568
|
+
value: EditorComponentInstance;
|
|
2569
|
+
/** If part of a pattern, the pattern ID */
|
|
2570
|
+
partOfPattern?: string;
|
|
2571
|
+
/** If part of a nested pattern */
|
|
2572
|
+
partOfNestedPattern?: string;
|
|
2573
|
+
/** UI expansion state */
|
|
2574
|
+
isExpandedInUI?: boolean;
|
|
2575
|
+
};
|
|
2576
|
+
/** Child node IDs indexed by slot name */
|
|
2577
|
+
type EditorNodeChildren = {
|
|
2578
|
+
[slotName: string]: string[];
|
|
2579
|
+
};
|
|
2580
|
+
/** A component parameter value */
|
|
2581
|
+
type EditorComponentParameter<T = unknown> = Omit<ComponentParameter<T>, 'connectedData'>;
|
|
2582
|
+
/** Parent info for a node */
|
|
2583
|
+
type EditorNodeParentInfo = {
|
|
2584
|
+
parentId: string;
|
|
2585
|
+
parentName: string;
|
|
2586
|
+
targetIndexInParent: number;
|
|
2587
|
+
value: EditorComponentInstance;
|
|
2588
|
+
parentChildIds: string[];
|
|
2589
|
+
parentType: 'slot' | 'block';
|
|
2590
|
+
};
|
|
2591
|
+
/** Options for updateNodeProperty */
|
|
2592
|
+
type UpdateNodePropertyOptions = {
|
|
2593
|
+
nodeId: string;
|
|
2594
|
+
property: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* The new value to set. Pass the final value directly.
|
|
2597
|
+
* - `undefined` to soft-delete (remove current locale/condition value)
|
|
2598
|
+
* - `null` to hard-delete (remove entire parameter)
|
|
2599
|
+
* - any other value to set
|
|
2600
|
+
*
|
|
2601
|
+
* For read-modify-write, call getNodeProperty() first to get current value.
|
|
2602
|
+
*/
|
|
2603
|
+
value: unknown | undefined | null;
|
|
2604
|
+
/** Parameter type (required for new parameters) */
|
|
2605
|
+
type?: string;
|
|
2606
|
+
/** Target locale, or undefined for invariant value */
|
|
2607
|
+
locale: string | undefined;
|
|
2608
|
+
/** Condition index (-1 for base value, >= 0 for conditional) */
|
|
2609
|
+
conditionIndex: number;
|
|
2610
|
+
/** Condition definition (required when conditionIndex >= 0) */
|
|
2611
|
+
conditionDefinition?: VisibilityCriteriaGroup | null;
|
|
2612
|
+
};
|
|
2613
|
+
/** Options for insertNode */
|
|
2614
|
+
type InsertNodeOptions = {
|
|
2615
|
+
node: EditorComponentInstance;
|
|
2616
|
+
parentNodeId: string;
|
|
2617
|
+
parentSlot: string;
|
|
2618
|
+
targetIndexInSlot?: number;
|
|
2619
|
+
};
|
|
2620
|
+
/** Options for moveNode */
|
|
2621
|
+
type MoveNodeOptions = {
|
|
2622
|
+
movedNodeId: string;
|
|
2623
|
+
parentNodeId: string;
|
|
2624
|
+
parentSlot: string;
|
|
2625
|
+
targetIndexInSlot: number;
|
|
2626
|
+
};
|
|
2627
|
+
/** Options for deleteNode */
|
|
2628
|
+
type DeleteNodeOptions = {
|
|
2629
|
+
nodeId: string;
|
|
2630
|
+
};
|
|
2631
|
+
/**
|
|
2632
|
+
* Common fields for {@link EditorStateApi.setPropertyLocalizability}.
|
|
2633
|
+
*/
|
|
2634
|
+
interface SetPropertyLocalizabilityCommonParams {
|
|
2635
|
+
/** The node owning the parameter. */
|
|
2636
|
+
nodeId: string;
|
|
2637
|
+
/** The parameter id. */
|
|
2638
|
+
property: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* The component-definition parameter for `(nodeId, property)`. Required: the bridge
|
|
2641
|
+
* uses this to enforce localizability business rules (refuses to localize a parameter
|
|
2642
|
+
* whose definition disallows it) and to resolve the parameter type for value fan-out.
|
|
2643
|
+
*
|
|
2644
|
+
* Mesh integrations must resolve this from the Uniform public API (using a service
|
|
2645
|
+
* account API key today, or identity delegation in the future) — the editor frame does
|
|
2646
|
+
* not expose component definitions to mesh apps.
|
|
2647
|
+
*/
|
|
2648
|
+
propertyDefinition: ComponentDefinitionParameter;
|
|
2649
|
+
}
|
|
2650
|
+
/**
|
|
2651
|
+
* Discriminated-union params for {@link EditorStateApi.setPropertyLocalizability}.
|
|
2652
|
+
*
|
|
2653
|
+
* - `isLocalized: true` (toggle ON): per-locale values are written to every enabled
|
|
2654
|
+
* locale of the composition.
|
|
2655
|
+
* - `isLocalized: false` (toggle OFF): per-locale values are collapsed back into a
|
|
2656
|
+
* single invariant value, copying from `copyFromLocale` (or the first defined locale).
|
|
2657
|
+
*/
|
|
2658
|
+
type SetPropertyLocalizabilityParams = (SetPropertyLocalizabilityCommonParams & {
|
|
2659
|
+
/** Toggle ON: convert the invariant value to per-locale values. */
|
|
2660
|
+
isLocalized: true;
|
|
2661
|
+
}) | (SetPropertyLocalizabilityCommonParams & {
|
|
2662
|
+
/** Toggle OFF: collapse per-locale values back to a single invariant value. */
|
|
2663
|
+
isLocalized: false;
|
|
2664
|
+
/**
|
|
2665
|
+
* The locale whose value becomes the new invariant value. Defaults to the first
|
|
2666
|
+
* locale with a defined value on the parameter.
|
|
2667
|
+
*/
|
|
2668
|
+
copyFromLocale?: string;
|
|
2669
|
+
});
|
|
2670
|
+
/** Options for insertPattern */
|
|
2671
|
+
type InsertPatternOptions = {
|
|
2672
|
+
pattern: RootComponentInstance;
|
|
2673
|
+
parentNodeId: string;
|
|
2674
|
+
parentSlot: string;
|
|
2675
|
+
targetIndexInSlot?: number;
|
|
2676
|
+
patternInstanceId?: string;
|
|
2677
|
+
};
|
|
2678
|
+
/** Options for updateRootNode */
|
|
2679
|
+
type UpdateRootNodeOptions = {
|
|
2680
|
+
update: Partial<EditorRootNodeMetadata>;
|
|
2681
|
+
};
|
|
2682
|
+
/**
|
|
2683
|
+
* Imperative API for interacting with the composition/entry editor state.
|
|
2684
|
+
* Available on `canvasEditorTools`, `paramType`, `dataResource`, and `dataResourceSelector` locations.
|
|
2685
|
+
*
|
|
2686
|
+
* All methods use object parameters for consistency across client, wire format, and server.
|
|
2687
|
+
*/
|
|
2688
|
+
interface EditorStateApi {
|
|
2689
|
+
getRootNodeId(): Promise<string>;
|
|
2690
|
+
exportTree(params?: EditorExportOptions): Promise<RootComponentInstance | EntryData>;
|
|
2691
|
+
exportSubtree(params: {
|
|
2692
|
+
nodeId: string;
|
|
2693
|
+
options?: EditorExportOptions;
|
|
2694
|
+
}): Promise<ComponentInstance | EntryData>;
|
|
2695
|
+
exportMetadata(): Promise<EditorRootMetadata>;
|
|
2696
|
+
exportRootNodeMetadata(): Promise<EditorRootNodeMetadata>;
|
|
2697
|
+
getNodeById(params: {
|
|
2698
|
+
nodeId: string;
|
|
2699
|
+
}): Promise<EditorNode | undefined>;
|
|
2700
|
+
getNodeChildren(params: {
|
|
2701
|
+
nodeId: string;
|
|
2702
|
+
}): Promise<EditorNodeChildren | undefined>;
|
|
2703
|
+
getNodeProperty<T = unknown>(params: {
|
|
2704
|
+
nodeId: string;
|
|
2705
|
+
property: string;
|
|
2706
|
+
}): Promise<EditorComponentParameter<T> | undefined>;
|
|
2707
|
+
getNodeProperties(params: {
|
|
2708
|
+
nodeId: string;
|
|
2709
|
+
}): Promise<Record<string, EditorComponentParameter>>;
|
|
2710
|
+
getParentInfo(params: {
|
|
2711
|
+
nodeId: string;
|
|
2712
|
+
}): Promise<EditorNodeParentInfo | undefined>;
|
|
2713
|
+
getSelectedNodeId(): Promise<string | undefined>;
|
|
2714
|
+
setSelectedNodeId(params: {
|
|
2715
|
+
nodeId: string | undefined;
|
|
2716
|
+
}): Promise<void>;
|
|
2717
|
+
getSelectedParameterId(): Promise<string | undefined>;
|
|
2718
|
+
setSelectedParameterId(params: {
|
|
2719
|
+
parameterId: string | undefined;
|
|
2720
|
+
}): Promise<void>;
|
|
2721
|
+
getPristine(): Promise<boolean>;
|
|
2722
|
+
insertNode(params: InsertNodeOptions): Promise<string>;
|
|
2723
|
+
deleteNode(params: DeleteNodeOptions): Promise<void>;
|
|
2724
|
+
moveNode(params: MoveNodeOptions): Promise<void>;
|
|
2725
|
+
updateNodeProperty(params: UpdateNodePropertyOptions): Promise<void>;
|
|
2726
|
+
updateRootMetadata(params: {
|
|
2727
|
+
metadata: Partial<EditorRootMetadata>;
|
|
2728
|
+
}): Promise<void>;
|
|
2729
|
+
updateRootNode(params: UpdateRootNodeOptions): Promise<void>;
|
|
2730
|
+
insertPattern(params: InsertPatternOptions): Promise<string>;
|
|
2731
|
+
isPatternPropertyOverridden(params: {
|
|
2732
|
+
nodeId: string;
|
|
2733
|
+
property: string;
|
|
2734
|
+
locale?: string;
|
|
2735
|
+
}): Promise<boolean>;
|
|
2736
|
+
resetPatternPropertyOverride(params: {
|
|
2737
|
+
nodeId: string;
|
|
2738
|
+
property: string;
|
|
2739
|
+
locale: string | undefined;
|
|
2740
|
+
}): Promise<void>;
|
|
2741
|
+
/**
|
|
2742
|
+
* Toggles a parameter between "shared" (single invariant value) and "localized"
|
|
2743
|
+
* (per-locale values) — the same operation as the dashboard "Use locale-specific values"
|
|
2744
|
+
* switch on the parameter's locale drawer.
|
|
2745
|
+
*
|
|
2746
|
+
* - `isLocalized: true` copies the current invariant value (and its conditions) into
|
|
2747
|
+
* each locale enabled on the composition.
|
|
2748
|
+
* - `isLocalized: false` copies the value from `copyFromLocale` (or the first defined
|
|
2749
|
+
* locale, if omitted) back into the invariant slot and drops the per-locale values.
|
|
2750
|
+
*
|
|
2751
|
+
* The migration handles pattern parameter overrides, `contentReference` data resource
|
|
2752
|
+
* forking, and the per-node localizability metadata, so the resulting state matches
|
|
2753
|
+
* what the dashboard UI would produce for the same toggle. The whole migration is one
|
|
2754
|
+
* editor mutation, which keeps it as a single undo step for the user.
|
|
2755
|
+
*
|
|
2756
|
+
* The caller must supply `propertyDefinition` — the component-definition parameter for
|
|
2757
|
+
* `(nodeId, property)`. This is required so the bridge can enforce localizability
|
|
2758
|
+
* business rules (e.g. refusing to localize a parameter whose definition forbids it)
|
|
2759
|
+
* and resolve the parameter type for value fan-out. Resolve it from the Uniform public
|
|
2760
|
+
* API using your service account API key (or, in the future, identity delegation) and
|
|
2761
|
+
* cache it client-side as needed.
|
|
2762
|
+
*
|
|
2763
|
+
* No-ops if the parameter is already in the requested state; if the parameter does not
|
|
2764
|
+
* exist on the node; if (when localizing) no locales are enabled; or if (when
|
|
2765
|
+
* localizing) the supplied `propertyDefinition.localizable` is `false`.
|
|
2766
|
+
*
|
|
2767
|
+
* @beta This is beta functionality. It is intentionally exposed as `@deprecated` so
|
|
2768
|
+
* consumers do not depend on it from production integrations — the signature and
|
|
2769
|
+
* behaviour may change without notice.
|
|
2770
|
+
* @deprecated Beta. Subject to change without notice; do not rely on this API in
|
|
2771
|
+
* production integrations.
|
|
2772
|
+
*/
|
|
2773
|
+
setPropertyLocalizability(params: SetPropertyLocalizabilityParams): Promise<void>;
|
|
2774
|
+
enableLocale(params: {
|
|
2775
|
+
locale: string | string[];
|
|
2776
|
+
}): Promise<void>;
|
|
2777
|
+
disableLocale(params: {
|
|
2778
|
+
locale: string;
|
|
2779
|
+
}): Promise<void>;
|
|
2780
|
+
/** Sets the currently active locale in the editor UI */
|
|
2781
|
+
setCurrentLocale(params: {
|
|
2782
|
+
locale: string;
|
|
2783
|
+
}): Promise<void>;
|
|
2784
|
+
/**
|
|
2785
|
+
* Sets the current preview value for a dynamic input.
|
|
2786
|
+
*/
|
|
2787
|
+
setDynamicInputPreviewValue(params: {
|
|
2788
|
+
name: string;
|
|
2789
|
+
value: string;
|
|
2790
|
+
}): Promise<void>;
|
|
2791
|
+
}
|
|
1998
2792
|
|
|
1999
2793
|
type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
2000
2794
|
prompt: string;
|
|
@@ -2009,8 +2803,7 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
2009
2803
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
2010
2804
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
2011
2805
|
|
|
2012
|
-
type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
2013
|
-
releaseId?: string;
|
|
2806
|
+
type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<CanvasEditorContextMetadata & {
|
|
2014
2807
|
state?: number;
|
|
2015
2808
|
}, TIntegrationConfiguration>;
|
|
2016
2809
|
type CanvasEditorToolsReferenceData = {
|
|
@@ -2022,13 +2815,15 @@ type CanvasEditorToolsData = {
|
|
|
2022
2815
|
entryNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
|
|
2023
2816
|
entityType: CanvasEditorEntityType;
|
|
2024
2817
|
} & ({
|
|
2818
|
+
/** editorState is an experimental replacement for rootEntity. This may become deprecated in the future. */
|
|
2025
2819
|
rootEntity: RootComponentInstance;
|
|
2026
2820
|
entityType: 'composition' | 'componentPattern' | 'compositionDefaults';
|
|
2027
2821
|
} | {
|
|
2822
|
+
/** editorState is an experimental replacement for rootEntity. This may become deprecated in the future. */
|
|
2028
2823
|
rootEntity: EntryData;
|
|
2029
2824
|
entityType: 'entry' | 'entryPattern';
|
|
2030
2825
|
});
|
|
2031
|
-
type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
|
|
2826
|
+
type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation & GetEditorStateLocation;
|
|
2032
2827
|
|
|
2033
2828
|
/**
|
|
2034
2829
|
* @deprecated Alpha version of the Embedded Editor location. This location is not yet available for use in the Mesh SDK.
|
|
@@ -2176,6 +2971,16 @@ interface UniformMeshSDK {
|
|
|
2176
2971
|
}>['setValue']>[0]> | undefined>;
|
|
2177
2972
|
/** Explicitly close a location dialog. Called when rendering current location in the dialog. */
|
|
2178
2973
|
closeCurrentLocationDialog(): Promise<void>;
|
|
2974
|
+
/**
|
|
2975
|
+
* Requests a fresh short-lived session token for identity delegation.
|
|
2976
|
+
* Returns `undefined` when the integration does not have `identityDelegation` enabled.
|
|
2977
|
+
* Call this on demand — the token has a very short TTL (~10 s) and should be
|
|
2978
|
+
* consumed immediately by your backend to exchange for a delegation token
|
|
2979
|
+
* via `POST /api/v1/token` with `grantType=delegation_token` or DelegationTokenClient.
|
|
2980
|
+
*
|
|
2981
|
+
* @deprecated This beta identity delegation API may change with breaking changes.
|
|
2982
|
+
*/
|
|
2983
|
+
getSessionToken(): Promise<string | undefined>;
|
|
2179
2984
|
}
|
|
2180
2985
|
declare global {
|
|
2181
2986
|
interface Window {
|
|
@@ -2196,4 +3001,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
2196
3001
|
*/
|
|
2197
3002
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
2198
3003
|
|
|
2199
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DashboardToolLocation, type DashboardToolLocationMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshRouter, type MeshSDKEventInterface, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
|
|
3004
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, CSRF_HEADER_NAME, CSRF_HEADER_VALUE, type CSSHeight, type CanvasEditorContextMetadata, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ConnectToParentResult, DELEGATION_EXPIRED_CODE, DELEGATION_SESSION_EXPIRED_MESSAGE, type DashboardToolLocation, type DashboardToolLocationMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataResourceSelectorLocation, type DataResourceSelectorLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DeleteNodeOptions, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type EditorComponentInstance, type EditorComponentParameter, type EditorExportOptions, type EditorNode, type EditorNodeChildren, type EditorNodeParentInfo, type EditorRootMetadata, type EditorRootNodeMetadata, type EditorStateApi, type EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, type GetDataResourceLocation, type GetDataResourceMessage, type GetEditorStateLocation, type GetEditorStateLocationMaybe, type InsertNodeOptions, type InsertPatternOptions, type IntegrationCredentialRevokeParameters, type IntegrationCredentialRotateParameters, type IntegrationCredentialRotateResponse, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshParentConnection, type MeshRouter, type MeshSDKEventInterface, type MoveNodeOptions, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetPropertyLocalizabilityCommonParams, type SetPropertyLocalizabilityParams, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type UpdateNodePropertyOptions, type UpdateRootNodeOptions, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
|