@mcp-consultant-tools/powerplatform-data 25.0.0 → 26.0.0-beta.4
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.
|
@@ -1,612 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* PowerPlatformService - Slim Data CRUD Facade
|
|
3
|
+
*
|
|
4
|
+
* This is a facade that delegates to services in @mcp-consultant-tools/powerplatform-core.
|
|
5
|
+
* It provides DATA CRUD operations for PowerPlatform/Dataverse entities.
|
|
6
|
+
*
|
|
7
|
+
* For read-only operations, use @mcp-consultant-tools/powerplatform.
|
|
8
|
+
* For customization operations, use @mcp-consultant-tools/powerplatform-customization.
|
|
9
|
+
*/
|
|
10
|
+
import { type PowerPlatformConfig, type ApiCollectionResponse, type AuthProvider } from '@mcp-consultant-tools/powerplatform-core';
|
|
11
|
+
export type { PowerPlatformConfig, ApiCollectionResponse };
|
|
11
12
|
export declare class PowerPlatformService {
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* @param entityName The logical name of the entity
|
|
34
|
-
*/
|
|
35
|
-
getEntityAttributes(entityName: string): Promise<ApiCollectionResponse<any>>;
|
|
36
|
-
/**
|
|
37
|
-
* Get metadata about a specific entity attribute/field
|
|
38
|
-
* @param entityName The logical name of the entity
|
|
39
|
-
* @param attributeName The logical name of the attribute
|
|
40
|
-
*/
|
|
41
|
-
getEntityAttribute(entityName: string, attributeName: string): Promise<any>;
|
|
42
|
-
/**
|
|
43
|
-
* Get one-to-many relationships for an entity
|
|
44
|
-
* @param entityName The logical name of the entity
|
|
45
|
-
*/
|
|
46
|
-
getEntityOneToManyRelationships(entityName: string): Promise<ApiCollectionResponse<any>>;
|
|
47
|
-
/**
|
|
48
|
-
* Get many-to-many relationships for an entity
|
|
49
|
-
* @param entityName The logical name of the entity
|
|
50
|
-
*/
|
|
51
|
-
getEntityManyToManyRelationships(entityName: string): Promise<ApiCollectionResponse<any>>;
|
|
52
|
-
/**
|
|
53
|
-
* Get all relationships (one-to-many and many-to-many) for an entity
|
|
54
|
-
* @param entityName The logical name of the entity
|
|
55
|
-
*/
|
|
56
|
-
getEntityRelationships(entityName: string): Promise<{
|
|
57
|
-
oneToMany: ApiCollectionResponse<any>;
|
|
58
|
-
manyToMany: ApiCollectionResponse<any>;
|
|
13
|
+
private client;
|
|
14
|
+
private data;
|
|
15
|
+
private metadata;
|
|
16
|
+
constructor(config: PowerPlatformConfig, authProvider?: AuthProvider);
|
|
17
|
+
getAuthMode(): 'service-principal' | 'interactive';
|
|
18
|
+
getUserInfo(): Promise<{
|
|
19
|
+
name: string;
|
|
20
|
+
email: string;
|
|
21
|
+
oid: string;
|
|
22
|
+
} | null>;
|
|
23
|
+
logout(): Promise<void>;
|
|
24
|
+
getEntityMetadata(entityName: string): Promise<unknown>;
|
|
25
|
+
getEntityAttributes(entityName: string, options?: {
|
|
26
|
+
prefix?: string;
|
|
27
|
+
attributeType?: string;
|
|
28
|
+
maxAttributes?: number;
|
|
29
|
+
}): Promise<{
|
|
30
|
+
value: unknown[];
|
|
31
|
+
hasMore: boolean;
|
|
32
|
+
returnedCount: number;
|
|
33
|
+
totalBeforeFilter?: number;
|
|
59
34
|
}>;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
* @param optionSetName The name of the global option set
|
|
63
|
-
* @returns The global option set definition
|
|
64
|
-
*/
|
|
65
|
-
getGlobalOptionSet(optionSetName: string): Promise<any>;
|
|
66
|
-
/**
|
|
67
|
-
* Get the navigation property name for a lookup attribute
|
|
68
|
-
* @param entityLogicalName The logical name of the entity containing the lookup (e.g., 'contact')
|
|
69
|
-
* @param lookupAttributeName The logical name of the lookup attribute (e.g., 'si_titleid')
|
|
70
|
-
* @param targetEntityLogicalName The logical name of the target entity (e.g., 'si_title')
|
|
71
|
-
* @returns The navigation property name to use with @odata.bind, or null if not found
|
|
72
|
-
*/
|
|
73
|
-
getLookupNavigationPropertyName(entityLogicalName: string, lookupAttributeName: string, targetEntityLogicalName: string): Promise<string | null>;
|
|
74
|
-
/**
|
|
75
|
-
* Get a specific record by entity name (plural) and ID
|
|
76
|
-
* @param entityNamePlural The plural name of the entity (e.g., 'accounts', 'contacts')
|
|
77
|
-
* @param recordId The GUID of the record
|
|
78
|
-
* @returns The record data
|
|
79
|
-
*/
|
|
80
|
-
getRecord(entityNamePlural: string, recordId: string): Promise<any>;
|
|
81
|
-
/**
|
|
82
|
-
* Query records using entity name (plural) and a filter expression
|
|
83
|
-
* @param entityNamePlural The plural name of the entity (e.g., 'accounts', 'contacts')
|
|
84
|
-
* @param filter OData filter expression (e.g., "name eq 'test'")
|
|
85
|
-
* @param maxRecords Maximum number of records to retrieve (default: 50)
|
|
86
|
-
* @param select Optional list of column names to return (reduces response size)
|
|
87
|
-
* @returns Filtered list of records with hasMore indicator
|
|
88
|
-
*/
|
|
35
|
+
getEntityAttribute(entityName: string, attributeName: string): Promise<unknown>;
|
|
36
|
+
getRecord(entityNamePlural: string, recordId: string): Promise<unknown>;
|
|
89
37
|
queryRecords(entityNamePlural: string, filter: string, maxRecords?: number, select?: string[]): Promise<{
|
|
90
|
-
value:
|
|
38
|
+
value: unknown[];
|
|
91
39
|
hasMore: boolean;
|
|
92
40
|
returnedCount: number;
|
|
93
41
|
requestedMax: number;
|
|
94
42
|
}>;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
* Supports both single and polymorphic lookups
|
|
98
|
-
* @param entityNamePlural The plural name of the entity being created/updated
|
|
99
|
-
* @param data The data object containing lookup fields
|
|
100
|
-
* @returns Transformed data with correct SchemaName casing for lookups
|
|
101
|
-
*/
|
|
102
|
-
private convertLookupNamesToSchemaNames;
|
|
103
|
-
/**
|
|
104
|
-
* Create a new record in Dataverse
|
|
105
|
-
* @param entityNamePlural The plural name of the entity (e.g., 'accounts', 'contacts')
|
|
106
|
-
* @param data Record data as JSON object (field names must match logical names)
|
|
107
|
-
* @returns Created record with ID and OData context
|
|
108
|
-
*/
|
|
109
|
-
createRecord(entityNamePlural: string, data: Record<string, any>): Promise<any>;
|
|
110
|
-
/**
|
|
111
|
-
* Update an existing record in Dataverse
|
|
112
|
-
* @param entityNamePlural The plural name of the entity (e.g., 'accounts', 'contacts')
|
|
113
|
-
* @param recordId The GUID of the record to update
|
|
114
|
-
* @param data Partial record data to update (only fields being changed)
|
|
115
|
-
* @returns Updated record (if Prefer header used) or void
|
|
116
|
-
*/
|
|
117
|
-
updateRecord(entityNamePlural: string, recordId: string, data: Record<string, any>): Promise<any>;
|
|
118
|
-
/**
|
|
119
|
-
* Delete a record from Dataverse
|
|
120
|
-
* @param entityNamePlural The plural name of the entity (e.g., 'accounts', 'contacts')
|
|
121
|
-
* @param recordId The GUID of the record to delete
|
|
122
|
-
* @returns Void (successful deletion returns 204 No Content)
|
|
123
|
-
*/
|
|
43
|
+
createRecord(entityNamePlural: string, data: Record<string, unknown>): Promise<unknown>;
|
|
44
|
+
updateRecord(entityNamePlural: string, recordId: string, data: Record<string, unknown>): Promise<unknown>;
|
|
124
45
|
deleteRecord(entityNamePlural: string, recordId: string): Promise<void>;
|
|
125
|
-
|
|
126
|
-
* Execute a Custom API or Action in Dataverse
|
|
127
|
-
* Supports both unbound actions (not tied to any entity) and bound actions (tied to a specific record)
|
|
128
|
-
*
|
|
129
|
-
* @param actionName The unique name of the Custom API or Action (e.g., 'new_MyCustomAction', 'WinOpportunity')
|
|
130
|
-
* @param parameters Input parameters for the action as JSON object (optional)
|
|
131
|
-
* @param boundTo For bound actions: object with entityNamePlural and recordId (optional)
|
|
132
|
-
* @returns Action response with output parameters
|
|
133
|
-
*
|
|
134
|
-
* @example Unbound action:
|
|
135
|
-
* await executeAction('new_CalculateTotals', { amount: 100 });
|
|
136
|
-
*
|
|
137
|
-
* @example Bound action:
|
|
138
|
-
* await executeAction('Microsoft.Dynamics.CRM.WinOpportunity',
|
|
139
|
-
* { Status: 3, OpportunityClose: { subject: 'Won!' } },
|
|
140
|
-
* { entityNamePlural: 'opportunities', recordId: 'guid-here' }
|
|
141
|
-
* );
|
|
142
|
-
*/
|
|
143
|
-
executeAction(actionName: string, parameters?: Record<string, any>, boundTo?: {
|
|
46
|
+
executeAction(actionName: string, parameters?: Record<string, unknown>, boundTo?: {
|
|
144
47
|
entityNamePlural: string;
|
|
145
48
|
recordId: string;
|
|
146
|
-
}): Promise<
|
|
147
|
-
|
|
148
|
-
* Get all plugin assemblies in the environment
|
|
149
|
-
* @param includeManaged Include managed assemblies (default: false)
|
|
150
|
-
* @param maxRecords Maximum number of assemblies to return (default: 100)
|
|
151
|
-
* @returns List of plugin assemblies with basic information
|
|
152
|
-
*/
|
|
153
|
-
getPluginAssemblies(includeManaged?: boolean, maxRecords?: number): Promise<any>;
|
|
154
|
-
/**
|
|
155
|
-
* Get a plugin assembly by name with all related plugin types, steps, and images
|
|
156
|
-
* @param assemblyName The name of the plugin assembly
|
|
157
|
-
* @param includeDisabled Include disabled steps (default: false)
|
|
158
|
-
* @returns Complete plugin assembly information with validation
|
|
159
|
-
*/
|
|
160
|
-
getPluginAssemblyComplete(assemblyName: string, includeDisabled?: boolean): Promise<any>;
|
|
161
|
-
/**
|
|
162
|
-
* Get all plugins that execute on a specific entity, organized by message and execution order
|
|
163
|
-
* @param entityName The logical name of the entity
|
|
164
|
-
* @param messageFilter Optional filter by message name (e.g., "Create", "Update")
|
|
165
|
-
* @param includeDisabled Include disabled steps (default: false)
|
|
166
|
-
* @returns Complete plugin pipeline for the entity
|
|
167
|
-
*/
|
|
168
|
-
getEntityPluginPipeline(entityName: string, messageFilter?: string, includeDisabled?: boolean): Promise<any>;
|
|
169
|
-
/**
|
|
170
|
-
* Get plugin trace logs with filtering
|
|
171
|
-
* @param options Filtering options for trace logs
|
|
172
|
-
* @returns Filtered trace logs with parsed exception details
|
|
173
|
-
*/
|
|
174
|
-
getPluginTraceLogs(options: {
|
|
175
|
-
entityName?: string;
|
|
176
|
-
messageName?: string;
|
|
177
|
-
correlationId?: string;
|
|
178
|
-
pluginStepId?: string;
|
|
179
|
-
exceptionOnly?: boolean;
|
|
180
|
-
hoursBack?: number;
|
|
181
|
-
maxRecords?: number;
|
|
182
|
-
}): Promise<any>;
|
|
183
|
-
private getOperationTypeName;
|
|
184
|
-
private extractExceptionType;
|
|
185
|
-
private extractExceptionMessage;
|
|
186
|
-
/**
|
|
187
|
-
* Get all Power Automate flows (cloud flows) in the environment
|
|
188
|
-
* @param activeOnly Only return activated flows (default: false)
|
|
189
|
-
* @param maxRecords Maximum number of flows to return (default: 100)
|
|
190
|
-
* @returns List of Power Automate flows with basic information
|
|
191
|
-
*/
|
|
192
|
-
getFlows(activeOnly?: boolean, maxRecords?: number): Promise<any>;
|
|
193
|
-
/**
|
|
194
|
-
* Get a specific Power Automate flow with its complete definition
|
|
195
|
-
* @param flowId The GUID of the flow (workflowid)
|
|
196
|
-
* @returns Complete flow information including the flow definition JSON
|
|
197
|
-
*/
|
|
198
|
-
getFlowDefinition(flowId: string): Promise<any>;
|
|
199
|
-
/**
|
|
200
|
-
* Get flow run history for a specific Power Automate flow
|
|
201
|
-
* @param flowId The GUID of the flow (workflowid)
|
|
202
|
-
* @param maxRecords Maximum number of runs to return (default: 100)
|
|
203
|
-
* @returns List of flow runs with status, start time, duration, and error details
|
|
204
|
-
*/
|
|
205
|
-
getFlowRuns(flowId: string, maxRecords?: number): Promise<any>;
|
|
206
|
-
/**
|
|
207
|
-
* Get all classic Dynamics workflows in the environment
|
|
208
|
-
* @param activeOnly Only return activated workflows (default: false)
|
|
209
|
-
* @param maxRecords Maximum number of workflows to return (default: 100)
|
|
210
|
-
* @returns List of classic workflows with basic information
|
|
211
|
-
*/
|
|
212
|
-
getWorkflows(activeOnly?: boolean, maxRecords?: number): Promise<any>;
|
|
213
|
-
/**
|
|
214
|
-
* Get a specific classic workflow with its complete XAML definition
|
|
215
|
-
* @param workflowId The GUID of the workflow (workflowid)
|
|
216
|
-
* @returns Complete workflow information including the XAML definition
|
|
217
|
-
*/
|
|
218
|
-
getWorkflowDefinition(workflowId: string): Promise<any>;
|
|
219
|
-
/**
|
|
220
|
-
* Get all business rules in the environment
|
|
221
|
-
* @param activeOnly Only return activated business rules (default: false)
|
|
222
|
-
* @param maxRecords Maximum number of business rules to return (default: 100)
|
|
223
|
-
* @returns List of business rules with basic information
|
|
224
|
-
*/
|
|
225
|
-
getBusinessRules(activeOnly?: boolean, maxRecords?: number): Promise<any>;
|
|
226
|
-
/**
|
|
227
|
-
* Get a specific business rule with its complete XAML definition
|
|
228
|
-
* @param workflowId The GUID of the business rule (workflowid)
|
|
229
|
-
* @returns Complete business rule information including the XAML definition
|
|
230
|
-
*/
|
|
231
|
-
getBusinessRule(workflowId: string): Promise<any>;
|
|
232
|
-
/**
|
|
233
|
-
* Get all model-driven apps in the environment
|
|
234
|
-
* @param activeOnly Only return active apps (default: false)
|
|
235
|
-
* @param maxRecords Maximum number of apps to return (default: 100)
|
|
236
|
-
* @returns List of model-driven apps with basic information
|
|
237
|
-
*/
|
|
238
|
-
getApps(activeOnly?: boolean, maxRecords?: number, includeUnpublished?: boolean, solutionUniqueName?: string): Promise<any>;
|
|
239
|
-
/**
|
|
240
|
-
* Get a specific model-driven app by ID
|
|
241
|
-
* @param appId The GUID of the app (appmoduleid)
|
|
242
|
-
* @returns Complete app information including publisher details
|
|
243
|
-
*/
|
|
244
|
-
getApp(appId: string): Promise<any>;
|
|
245
|
-
/**
|
|
246
|
-
* Get all components (entities, forms, views, sitemaps) associated with an app
|
|
247
|
-
* @param appId The GUID of the app (appmoduleid)
|
|
248
|
-
* @returns List of app components with type information
|
|
249
|
-
*/
|
|
250
|
-
getAppComponents(appId: string): Promise<any>;
|
|
251
|
-
/**
|
|
252
|
-
* Get the sitemap for a specific app
|
|
253
|
-
* @param appId The GUID of the app (appmoduleid)
|
|
254
|
-
* @returns Sitemap information including XML
|
|
255
|
-
*/
|
|
256
|
-
getAppSitemap(appId: string): Promise<any>;
|
|
257
|
-
/**
|
|
258
|
-
* Create a new model-driven app
|
|
259
|
-
* @param appDefinition The app definition object
|
|
260
|
-
* @param solutionUniqueName Optional solution to add the app to
|
|
261
|
-
* @returns The created app information including ID
|
|
262
|
-
*/
|
|
263
|
-
createApp(appDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
264
|
-
/**
|
|
265
|
-
* Create a sitemap from simplified configuration (no XML knowledge required)
|
|
266
|
-
* @param config Simplified sitemap configuration
|
|
267
|
-
* @param solutionUniqueName Optional solution to add the sitemap to
|
|
268
|
-
* @returns The created sitemap information including ID and XML
|
|
269
|
-
*/
|
|
270
|
-
createSimpleSitemap(config: any, solutionUniqueName?: string): Promise<any>;
|
|
271
|
-
/**
|
|
272
|
-
* Add entities to an app by modifying the sitemap XML
|
|
273
|
-
* @param appId The GUID of the app
|
|
274
|
-
* @param entityNames Array of entity logical names to add
|
|
275
|
-
* @returns Result of the operation
|
|
276
|
-
*/
|
|
277
|
-
addEntitiesToApp(appId: string, entityNames: string[]): Promise<any>;
|
|
278
|
-
/**
|
|
279
|
-
* Validate an app before publishing
|
|
280
|
-
* @param appId The GUID of the app
|
|
281
|
-
* @returns Validation result with any issues found
|
|
282
|
-
*/
|
|
283
|
-
validateApp(appId: string): Promise<any>;
|
|
284
|
-
/**
|
|
285
|
-
* Publish an app to make it available to users
|
|
286
|
-
* @param appId The GUID of the app
|
|
287
|
-
* @returns Result of the publish operation
|
|
288
|
-
*/
|
|
289
|
-
publishApp(appId: string): Promise<any>;
|
|
290
|
-
/**
|
|
291
|
-
* Helper to escape XML special characters
|
|
292
|
-
*/
|
|
293
|
-
private escapeXml;
|
|
294
|
-
/**
|
|
295
|
-
* Create a new custom entity (table)
|
|
296
|
-
* @param entityDefinition The entity definition object
|
|
297
|
-
* @param solutionUniqueName Optional solution to add the entity to
|
|
298
|
-
* @returns The created entity metadata
|
|
299
|
-
*/
|
|
300
|
-
createEntity(entityDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
301
|
-
/**
|
|
302
|
-
* Update an existing entity
|
|
303
|
-
* @param metadataId The MetadataId of the entity
|
|
304
|
-
* @param updates The properties to update
|
|
305
|
-
* @param solutionUniqueName Optional solution context
|
|
306
|
-
*/
|
|
307
|
-
updateEntity(metadataId: string, updates: any, solutionUniqueName?: string): Promise<void>;
|
|
308
|
-
/**
|
|
309
|
-
* Delete a custom entity
|
|
310
|
-
* @param metadataId The MetadataId of the entity to delete
|
|
311
|
-
*/
|
|
312
|
-
deleteEntity(metadataId: string): Promise<void>;
|
|
313
|
-
/**
|
|
314
|
-
* Update entity icon using Fluent UI System Icon
|
|
315
|
-
* @param entityLogicalName The logical name of the entity
|
|
316
|
-
* @param iconFileName The Fluent UI icon file name (e.g., 'people_community_24_filled.svg')
|
|
317
|
-
* @param solutionUniqueName Optional solution to add the web resource to
|
|
318
|
-
* @returns Result with web resource ID and icon vector name
|
|
319
|
-
*/
|
|
320
|
-
updateEntityIcon(entityLogicalName: string, iconFileName: string, solutionUniqueName?: string): Promise<any>;
|
|
321
|
-
/**
|
|
322
|
-
* Create a new attribute on an entity
|
|
323
|
-
* @param entityLogicalName The logical name of the entity
|
|
324
|
-
* @param attributeDefinition The attribute definition object
|
|
325
|
-
* @param solutionUniqueName Optional solution to add the attribute to
|
|
326
|
-
* @returns The created attribute metadata
|
|
327
|
-
*/
|
|
328
|
-
createAttribute(entityLogicalName: string, attributeDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
329
|
-
/**
|
|
330
|
-
* Update an existing attribute
|
|
331
|
-
* @param entityLogicalName The logical name of the entity
|
|
332
|
-
* @param attributeLogicalName The logical name of the attribute
|
|
333
|
-
* @param updates The properties to update
|
|
334
|
-
* @param solutionUniqueName Optional solution context
|
|
335
|
-
*/
|
|
336
|
-
updateAttribute(entityLogicalName: string, attributeLogicalName: string, updates: any, solutionUniqueName?: string): Promise<void>;
|
|
337
|
-
/**
|
|
338
|
-
* Delete an attribute
|
|
339
|
-
* @param entityLogicalName The logical name of the entity
|
|
340
|
-
* @param attributeMetadataId The MetadataId of the attribute to delete
|
|
341
|
-
*/
|
|
342
|
-
deleteAttribute(entityLogicalName: string, attributeMetadataId: string): Promise<void>;
|
|
343
|
-
/**
|
|
344
|
-
* Create a picklist attribute using a global option set
|
|
345
|
-
* @param entityLogicalName The logical name of the entity
|
|
346
|
-
* @param attributeDefinition The attribute definition (must reference a global option set)
|
|
347
|
-
* @param solutionUniqueName Optional solution to add the attribute to
|
|
348
|
-
* @returns The created attribute metadata
|
|
349
|
-
*/
|
|
350
|
-
createGlobalOptionSetAttribute(entityLogicalName: string, attributeDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
351
|
-
/**
|
|
352
|
-
* Create a one-to-many relationship
|
|
353
|
-
* @param relationshipDefinition The relationship definition
|
|
354
|
-
* @param solutionUniqueName Optional solution to add the relationship to
|
|
355
|
-
*/
|
|
356
|
-
createOneToManyRelationship(relationshipDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
357
|
-
/**
|
|
358
|
-
* Create a many-to-many relationship
|
|
359
|
-
* @param relationshipDefinition The relationship definition
|
|
360
|
-
* @param solutionUniqueName Optional solution to add the relationship to
|
|
361
|
-
*/
|
|
362
|
-
createManyToManyRelationship(relationshipDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
363
|
-
/**
|
|
364
|
-
* Delete a relationship
|
|
365
|
-
* @param metadataId The MetadataId of the relationship to delete
|
|
366
|
-
*/
|
|
367
|
-
deleteRelationship(metadataId: string): Promise<void>;
|
|
368
|
-
/**
|
|
369
|
-
* Update a relationship
|
|
370
|
-
* Note: Most relationship properties are immutable, only labels can be updated
|
|
371
|
-
* @param metadataId The MetadataId of the relationship
|
|
372
|
-
* @param updates The properties to update (typically labels)
|
|
373
|
-
*/
|
|
374
|
-
updateRelationship(metadataId: string, updates: any): Promise<void>;
|
|
375
|
-
/**
|
|
376
|
-
* Get detailed information about a relationship
|
|
377
|
-
* @param metadataId The MetadataId of the relationship
|
|
378
|
-
* @returns The relationship metadata
|
|
379
|
-
*/
|
|
380
|
-
getRelationshipDetails(metadataId: string): Promise<any>;
|
|
381
|
-
/**
|
|
382
|
-
* Publish all customizations
|
|
383
|
-
*/
|
|
384
|
-
publishAllCustomizations(): Promise<void>;
|
|
385
|
-
/**
|
|
386
|
-
* Publish specific customizations
|
|
387
|
-
* @param parameterXml The ParameterXml specifying what to publish
|
|
388
|
-
*/
|
|
389
|
-
publishXml(parameterXml: string): Promise<void>;
|
|
390
|
-
/**
|
|
391
|
-
* Create a global option set
|
|
392
|
-
* @param optionSetDefinition The option set definition
|
|
393
|
-
* @param solutionUniqueName Optional solution to add the option set to
|
|
394
|
-
*/
|
|
395
|
-
createGlobalOptionSet(optionSetDefinition: any, solutionUniqueName?: string): Promise<any>;
|
|
396
|
-
/**
|
|
397
|
-
* Delete a global option set
|
|
398
|
-
* @param metadataId The MetadataId of the option set to delete
|
|
399
|
-
*/
|
|
400
|
-
deleteGlobalOptionSet(metadataId: string): Promise<void>;
|
|
401
|
-
/**
|
|
402
|
-
* Update a global option set
|
|
403
|
-
*/
|
|
404
|
-
updateGlobalOptionSet(metadataId: string, updates: any, solutionUniqueName?: string): Promise<void>;
|
|
405
|
-
/**
|
|
406
|
-
* Add a value to a global option set
|
|
407
|
-
*/
|
|
408
|
-
addOptionSetValue(optionSetName: string, value: number, label: string, solutionUniqueName?: string): Promise<any>;
|
|
409
|
-
/**
|
|
410
|
-
* Update an option set value
|
|
411
|
-
*/
|
|
412
|
-
updateOptionSetValue(optionSetName: string, value: number, label: string, solutionUniqueName?: string): Promise<void>;
|
|
413
|
-
/**
|
|
414
|
-
* Delete an option set value
|
|
415
|
-
*/
|
|
416
|
-
deleteOptionSetValue(optionSetName: string, value: number): Promise<void>;
|
|
417
|
-
/**
|
|
418
|
-
* Reorder option set values
|
|
419
|
-
*/
|
|
420
|
-
reorderOptionSetValues(optionSetName: string, values: number[], solutionUniqueName?: string): Promise<void>;
|
|
421
|
-
/**
|
|
422
|
-
* Create a form (systemform)
|
|
423
|
-
*/
|
|
424
|
-
createForm(form: any, solutionUniqueName?: string): Promise<any>;
|
|
425
|
-
/**
|
|
426
|
-
* Update a form
|
|
427
|
-
*/
|
|
428
|
-
updateForm(formId: string, updates: any, solutionUniqueName?: string): Promise<void>;
|
|
429
|
-
/**
|
|
430
|
-
* Delete a form
|
|
431
|
-
*/
|
|
432
|
-
deleteForm(formId: string): Promise<void>;
|
|
433
|
-
/**
|
|
434
|
-
* Get forms for an entity
|
|
435
|
-
*/
|
|
436
|
-
getForms(entityLogicalName: string): Promise<any>;
|
|
437
|
-
/**
|
|
438
|
-
* Create a view (savedquery)
|
|
439
|
-
*/
|
|
440
|
-
createView(view: any, solutionUniqueName?: string): Promise<any>;
|
|
441
|
-
/**
|
|
442
|
-
* Update a view
|
|
443
|
-
*/
|
|
444
|
-
updateView(viewId: string, updates: any, solutionUniqueName?: string): Promise<void>;
|
|
445
|
-
/**
|
|
446
|
-
* Delete a view
|
|
447
|
-
*/
|
|
448
|
-
deleteView(viewId: string): Promise<void>;
|
|
449
|
-
/**
|
|
450
|
-
* Get views for an entity
|
|
451
|
-
*/
|
|
452
|
-
getViews(entityLogicalName: string): Promise<any>;
|
|
453
|
-
/**
|
|
454
|
-
* Activate a form (set statecode=1)
|
|
455
|
-
* @param formId The systemformid (GUID)
|
|
456
|
-
*/
|
|
457
|
-
activateForm(formId: string): Promise<void>;
|
|
458
|
-
/**
|
|
459
|
-
* Deactivate a form (set statecode=0)
|
|
460
|
-
* @param formId The systemformid (GUID)
|
|
461
|
-
*/
|
|
462
|
-
deactivateForm(formId: string): Promise<void>;
|
|
463
|
-
/**
|
|
464
|
-
* Set a view as the default view for its entity
|
|
465
|
-
* @param viewId The savedqueryid (GUID)
|
|
466
|
-
*/
|
|
467
|
-
setDefaultView(viewId: string): Promise<void>;
|
|
468
|
-
/**
|
|
469
|
-
* Get the FetchXML from a view
|
|
470
|
-
* @param viewId The savedqueryid (GUID)
|
|
471
|
-
* @returns The view with FetchXML
|
|
472
|
-
*/
|
|
473
|
-
getViewFetchXml(viewId: string): Promise<any>;
|
|
474
|
-
/**
|
|
475
|
-
* Create a web resource
|
|
476
|
-
*/
|
|
477
|
-
createWebResource(webResource: any, solutionUniqueName?: string): Promise<any>;
|
|
478
|
-
/**
|
|
479
|
-
* Update a web resource
|
|
480
|
-
*/
|
|
481
|
-
updateWebResource(webResourceId: string, updates: any, solutionUniqueName?: string): Promise<void>;
|
|
482
|
-
/**
|
|
483
|
-
* Delete a web resource
|
|
484
|
-
*/
|
|
485
|
-
deleteWebResource(webResourceId: string): Promise<void>;
|
|
486
|
-
/**
|
|
487
|
-
* Get web resource
|
|
488
|
-
*/
|
|
489
|
-
getWebResource(webResourceId: string): Promise<any>;
|
|
490
|
-
/**
|
|
491
|
-
* Get web resources by name pattern
|
|
492
|
-
*/
|
|
493
|
-
getWebResources(nameFilter?: string): Promise<any>;
|
|
494
|
-
/**
|
|
495
|
-
* Get web resource content (base64 encoded)
|
|
496
|
-
* @param webResourceId The webresourceid (GUID)
|
|
497
|
-
* @returns The web resource with content field
|
|
498
|
-
*/
|
|
499
|
-
getWebResourceContent(webResourceId: string): Promise<any>;
|
|
500
|
-
/**
|
|
501
|
-
* Get web resource dependencies
|
|
502
|
-
* @param webResourceId The webresourceid (GUID)
|
|
503
|
-
* @returns List of dependencies
|
|
504
|
-
*/
|
|
505
|
-
getWebResourceDependencies(webResourceId: string): Promise<any>;
|
|
506
|
-
/**
|
|
507
|
-
* Create a publisher
|
|
508
|
-
*/
|
|
509
|
-
createPublisher(publisher: any): Promise<any>;
|
|
510
|
-
/**
|
|
511
|
-
* Get publishers
|
|
512
|
-
*/
|
|
513
|
-
getPublishers(): Promise<any>;
|
|
514
|
-
/**
|
|
515
|
-
* Create a solution
|
|
516
|
-
*/
|
|
517
|
-
createSolution(solution: any): Promise<any>;
|
|
518
|
-
/**
|
|
519
|
-
* Get solutions
|
|
520
|
-
*/
|
|
521
|
-
getSolutions(): Promise<any>;
|
|
522
|
-
/**
|
|
523
|
-
* Get solution by unique name
|
|
524
|
-
*/
|
|
525
|
-
getSolution(uniqueName: string): Promise<any>;
|
|
526
|
-
/**
|
|
527
|
-
* Add component to solution
|
|
528
|
-
*/
|
|
529
|
-
addComponentToSolution(solutionUniqueName: string, componentId: string, componentType: number, addRequiredComponents?: boolean, includedComponentSettingsValues?: string): Promise<void>;
|
|
530
|
-
/**
|
|
531
|
-
* Remove component from solution
|
|
532
|
-
*/
|
|
533
|
-
removeComponentFromSolution(solutionUniqueName: string, componentId: string, componentType: number): Promise<void>;
|
|
534
|
-
/**
|
|
535
|
-
* Get solution components
|
|
536
|
-
*/
|
|
537
|
-
getSolutionComponents(solutionUniqueName: string): Promise<any>;
|
|
538
|
-
/**
|
|
539
|
-
* Export solution
|
|
540
|
-
*/
|
|
541
|
-
exportSolution(solutionName: string, managed?: boolean): Promise<any>;
|
|
542
|
-
/**
|
|
543
|
-
* Import solution
|
|
544
|
-
*/
|
|
545
|
-
importSolution(customizationFile: string, publishWorkflows?: boolean, overwriteUnmanagedCustomizations?: boolean): Promise<any>;
|
|
546
|
-
/**
|
|
547
|
-
* Delete a solution
|
|
548
|
-
*/
|
|
549
|
-
deleteSolution(solutionId: string): Promise<void>;
|
|
550
|
-
/**
|
|
551
|
-
* Publish specific entity
|
|
552
|
-
*/
|
|
553
|
-
publishEntity(entityLogicalName: string): Promise<void>;
|
|
554
|
-
/**
|
|
555
|
-
* Publish specific component
|
|
556
|
-
*/
|
|
557
|
-
publishComponent(componentId: string, componentType: number): Promise<void>;
|
|
558
|
-
/**
|
|
559
|
-
* Check for unpublished customizations
|
|
560
|
-
*/
|
|
561
|
-
checkUnpublishedChanges(): Promise<any>;
|
|
562
|
-
/**
|
|
563
|
-
* Check component dependencies
|
|
564
|
-
*/
|
|
565
|
-
checkDependencies(componentId: string, componentType: number): Promise<any>;
|
|
566
|
-
/**
|
|
567
|
-
* Check if component can be deleted
|
|
568
|
-
*/
|
|
569
|
-
checkDeleteEligibility(componentId: string, componentType: number): Promise<{
|
|
570
|
-
canDelete: boolean;
|
|
571
|
-
dependencies: any[];
|
|
572
|
-
}>;
|
|
573
|
-
/**
|
|
574
|
-
* Preview unpublished changes
|
|
575
|
-
* Returns all components that have unpublished customizations
|
|
576
|
-
*/
|
|
577
|
-
previewUnpublishedChanges(): Promise<any>;
|
|
578
|
-
/**
|
|
579
|
-
* Check dependencies for a specific component
|
|
580
|
-
* @param componentId The component ID (GUID)
|
|
581
|
-
* @param componentType The component type code
|
|
582
|
-
* @returns Dependency information
|
|
583
|
-
*/
|
|
584
|
-
checkComponentDependencies(componentId: string, componentType: number): Promise<any>;
|
|
585
|
-
/**
|
|
586
|
-
* Validate solution integrity
|
|
587
|
-
* Checks for missing dependencies and other issues
|
|
588
|
-
* @param solutionUniqueName The unique name of the solution
|
|
589
|
-
* @returns Validation results
|
|
590
|
-
*/
|
|
591
|
-
validateSolutionIntegrity(solutionUniqueName: string): Promise<any>;
|
|
592
|
-
/**
|
|
593
|
-
* Validate schema name
|
|
594
|
-
*/
|
|
595
|
-
validateSchemaName(schemaName: string, prefix: string): {
|
|
596
|
-
valid: boolean;
|
|
597
|
-
errors: string[];
|
|
598
|
-
};
|
|
599
|
-
/**
|
|
600
|
-
* Get entity customization information
|
|
601
|
-
*/
|
|
602
|
-
getEntityCustomizationInfo(entityLogicalName: string): Promise<any>;
|
|
603
|
-
/**
|
|
604
|
-
* Check if entity has dependencies
|
|
605
|
-
*/
|
|
606
|
-
checkEntityDependencies(entityLogicalName: string): Promise<any>;
|
|
607
|
-
/**
|
|
608
|
-
* Helper to generate GUID
|
|
609
|
-
*/
|
|
610
|
-
private generateGuid;
|
|
49
|
+
}): Promise<unknown>;
|
|
50
|
+
getLookupNavigationPropertyName(entityLogicalName: string, lookupAttributeName: string, targetEntityLogicalName: string): Promise<string | null>;
|
|
611
51
|
}
|
|
612
52
|
//# sourceMappingURL=PowerPlatformService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerPlatformService.d.ts","sourceRoot":"","sources":["../src/PowerPlatformService.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAsB;IACpC,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,mBAAmB,CAAa;gBAE5B,MAAM,EAAE,mBAAmB;IAavC;;OAEG;YACW,cAAc;IAgC5B;;;OAGG;YACW,WAAW;IA2CzB;;;OAGG;IACG,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAWzD;;;OAGG;IACG,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;IA6ClF;;;;OAIG;IACG,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAIjF;;;OAGG;IACG,+BAA+B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB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