@mohsinonxrm/dataverse-sdk-metadata 1.0.0
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/LICENSE +661 -0
- package/README.md +602 -0
- package/dist/index.d.ts +12311 -0
- package/dist/index.js +1287 -0
- package/dist/index.js.map +1 -0
- package/package.json +45 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,1287 @@
|
|
|
1
|
+
// src/MetadataClient.ts
|
|
2
|
+
var MetadataClient = class {
|
|
3
|
+
client;
|
|
4
|
+
constructor(client) {
|
|
5
|
+
this.client = client;
|
|
6
|
+
}
|
|
7
|
+
// ==================== Entity Definitions ====================
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve all entity definitions
|
|
10
|
+
* @param options Query options (select, filter, expand)
|
|
11
|
+
* @returns Array of entity metadata
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* const entities = await metadataClient.getEntityDefinitions({
|
|
15
|
+
* select: ['LogicalName', 'DisplayName', 'SchemaName'],
|
|
16
|
+
* filter: "IsCustomEntity eq true"
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
async getEntityDefinitions(options) {
|
|
21
|
+
let builder = this.client.api("/EntityDefinitions");
|
|
22
|
+
if (options?.select) {
|
|
23
|
+
builder = builder.select(...options.select);
|
|
24
|
+
}
|
|
25
|
+
if (options?.filter) {
|
|
26
|
+
builder = builder.filter(options.filter);
|
|
27
|
+
}
|
|
28
|
+
if (options?.expand) {
|
|
29
|
+
builder = builder.expand(options.expand);
|
|
30
|
+
}
|
|
31
|
+
const response = await builder.get();
|
|
32
|
+
return response.value;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Retrieve a single entity definition by logical name
|
|
36
|
+
* @param logicalName Entity logical name
|
|
37
|
+
* @param options Query options (select, expand)
|
|
38
|
+
* @returns Entity metadata
|
|
39
|
+
* @example
|
|
40
|
+
* ```typescript
|
|
41
|
+
* const accountEntity = await metadataClient.getEntityDefinition('account', {
|
|
42
|
+
* expand: 'Attributes'
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
async getEntityDefinition(logicalName, options) {
|
|
47
|
+
let builder = this.client.api(`/EntityDefinitions(LogicalName='${logicalName}')`);
|
|
48
|
+
if (options?.select) {
|
|
49
|
+
builder = builder.select(...options.select);
|
|
50
|
+
}
|
|
51
|
+
if (options?.expand) {
|
|
52
|
+
builder = builder.expand(options.expand);
|
|
53
|
+
}
|
|
54
|
+
return await builder.get();
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Create a new entity definition
|
|
58
|
+
* @param entity Entity metadata to create
|
|
59
|
+
* @returns Metadata ID of created entity (GUID)
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
62
|
+
* const metadataId = await metadataClient.createEntityDefinition({
|
|
63
|
+
* '@odata.type': 'Microsoft.Dynamics.CRM.EntityMetadata',
|
|
64
|
+
* SchemaName: 'new_CustomEntity',
|
|
65
|
+
* DisplayName: {
|
|
66
|
+
* LocalizedLabels: [{ Label: 'Custom Entity', LanguageCode: 1033 }]
|
|
67
|
+
* },
|
|
68
|
+
* DisplayCollectionName: {
|
|
69
|
+
* LocalizedLabels: [{ Label: 'Custom Entities', LanguageCode: 1033 }]
|
|
70
|
+
* },
|
|
71
|
+
* OwnershipType: 1,
|
|
72
|
+
* HasActivities: true
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
async createEntityDefinition(entity) {
|
|
77
|
+
const response = await this.client.api("/EntityDefinitions").header("Content-Type", "application/json").preferRaw("return=representation").post(entity);
|
|
78
|
+
if (!response.MetadataId) {
|
|
79
|
+
throw new Error("Failed to retrieve entity metadata ID from response");
|
|
80
|
+
}
|
|
81
|
+
return response.MetadataId;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Update an existing entity definition
|
|
85
|
+
* @param logicalName Entity logical name
|
|
86
|
+
* @param entity Entity metadata updates
|
|
87
|
+
*/
|
|
88
|
+
async updateEntityDefinition(logicalName, entity) {
|
|
89
|
+
await this.client.api(`/EntityDefinitions(LogicalName='${logicalName}')`).header("Content-Type", "application/json").header("MSCRM.MergeLabels", "true").put(entity);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Delete an entity definition
|
|
93
|
+
* @param logicalName Entity logical name
|
|
94
|
+
*/
|
|
95
|
+
async deleteEntityDefinition(logicalName) {
|
|
96
|
+
await this.client.api(`/EntityDefinitions(LogicalName='${logicalName}')`).delete();
|
|
97
|
+
}
|
|
98
|
+
// ==================== Attribute Definitions ====================
|
|
99
|
+
/**
|
|
100
|
+
* Retrieve all attributes for an entity
|
|
101
|
+
* @param entityLogicalName Entity logical name
|
|
102
|
+
* @param options Query options (select, filter)
|
|
103
|
+
* @returns Array of attribute metadata
|
|
104
|
+
*/
|
|
105
|
+
async getAttributeDefinitions(entityLogicalName, options) {
|
|
106
|
+
let builder = this.client.api(
|
|
107
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/Attributes`
|
|
108
|
+
);
|
|
109
|
+
if (options?.select) {
|
|
110
|
+
builder = builder.select(...options.select);
|
|
111
|
+
}
|
|
112
|
+
if (options?.filter) {
|
|
113
|
+
builder = builder.filter(options.filter);
|
|
114
|
+
}
|
|
115
|
+
const response = await builder.get();
|
|
116
|
+
return response.value;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Retrieve a single attribute definition
|
|
120
|
+
* @param entityLogicalName Entity logical name
|
|
121
|
+
* @param attributeLogicalName Attribute logical name
|
|
122
|
+
* @param options Query options (select)
|
|
123
|
+
* @returns Attribute metadata
|
|
124
|
+
*/
|
|
125
|
+
async getAttributeDefinition(entityLogicalName, attributeLogicalName, options) {
|
|
126
|
+
let builder = this.client.api(
|
|
127
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/Attributes(LogicalName='${attributeLogicalName}')`
|
|
128
|
+
);
|
|
129
|
+
if (options?.select) {
|
|
130
|
+
builder = builder.select(...options.select);
|
|
131
|
+
}
|
|
132
|
+
return await builder.get();
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Create a new attribute definition
|
|
136
|
+
* @param entityLogicalName Entity logical name
|
|
137
|
+
* @param attribute Attribute metadata to create
|
|
138
|
+
* @returns Metadata ID of created attribute (GUID)
|
|
139
|
+
*/
|
|
140
|
+
async createAttributeDefinition(entityLogicalName, attribute) {
|
|
141
|
+
const response = await this.client.api(`/EntityDefinitions(LogicalName='${entityLogicalName}')/Attributes`).header("Content-Type", "application/json").preferRaw("return=representation").post(attribute);
|
|
142
|
+
if (!response.MetadataId) {
|
|
143
|
+
throw new Error("Failed to retrieve attribute metadata ID from response");
|
|
144
|
+
}
|
|
145
|
+
return response.MetadataId;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Update an existing attribute definition
|
|
149
|
+
* @param entityLogicalName Entity logical name
|
|
150
|
+
* @param attributeLogicalName Attribute logical name
|
|
151
|
+
* @param attribute Attribute metadata updates
|
|
152
|
+
*/
|
|
153
|
+
async updateAttributeDefinition(entityLogicalName, attributeLogicalName, attribute) {
|
|
154
|
+
await this.client.api(
|
|
155
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/Attributes(LogicalName='${attributeLogicalName}')`
|
|
156
|
+
).header("Content-Type", "application/json").header("MSCRM.MergeLabels", "true").put(attribute);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Delete an attribute definition
|
|
160
|
+
* @param entityLogicalName Entity logical name
|
|
161
|
+
* @param attributeLogicalName Attribute logical name
|
|
162
|
+
*/
|
|
163
|
+
async deleteAttributeDefinition(entityLogicalName, attributeLogicalName) {
|
|
164
|
+
await this.client.api(
|
|
165
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/Attributes(LogicalName='${attributeLogicalName}')`
|
|
166
|
+
).delete();
|
|
167
|
+
}
|
|
168
|
+
// ==================== Relationship Definitions ====================
|
|
169
|
+
/**
|
|
170
|
+
* Create a one-to-many relationship
|
|
171
|
+
* @param relationship Relationship metadata to create
|
|
172
|
+
* @returns Metadata ID of created relationship (GUID)
|
|
173
|
+
*/
|
|
174
|
+
async createOneToManyRelationship(relationship) {
|
|
175
|
+
const response = await this.client.api("/RelationshipDefinitions").header("Content-Type", "application/json").preferRaw("return=representation").post(relationship);
|
|
176
|
+
if (!response.MetadataId) {
|
|
177
|
+
throw new Error("Failed to retrieve relationship metadata ID from response");
|
|
178
|
+
}
|
|
179
|
+
return response.MetadataId;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Delete a relationship definition
|
|
183
|
+
* @param metadataId Relationship metadata ID (GUID)
|
|
184
|
+
*/
|
|
185
|
+
async deleteRelationship(metadataId) {
|
|
186
|
+
await this.client.api(`/RelationshipDefinitions(${metadataId})`).delete();
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Get one-to-many relationships for an entity
|
|
190
|
+
* @param entityLogicalName Entity logical name
|
|
191
|
+
* @param options Query options
|
|
192
|
+
* @returns Array of one-to-many relationships
|
|
193
|
+
*/
|
|
194
|
+
async getOneToManyRelationships(entityLogicalName, options) {
|
|
195
|
+
let builder = this.client.api(
|
|
196
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/OneToManyRelationships`
|
|
197
|
+
);
|
|
198
|
+
if (options?.select) {
|
|
199
|
+
builder = builder.select(...options.select);
|
|
200
|
+
}
|
|
201
|
+
if (options?.filter) {
|
|
202
|
+
builder = builder.filter(options.filter);
|
|
203
|
+
}
|
|
204
|
+
const response = await builder.get();
|
|
205
|
+
return response.value;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Get many-to-one relationships for an entity
|
|
209
|
+
* @param entityLogicalName Entity logical name
|
|
210
|
+
* @param options Query options
|
|
211
|
+
* @returns Array of many-to-one relationships
|
|
212
|
+
*/
|
|
213
|
+
async getManyToOneRelationships(entityLogicalName, options) {
|
|
214
|
+
let builder = this.client.api(
|
|
215
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/ManyToOneRelationships`
|
|
216
|
+
);
|
|
217
|
+
if (options?.select) {
|
|
218
|
+
builder = builder.select(...options.select);
|
|
219
|
+
}
|
|
220
|
+
if (options?.filter) {
|
|
221
|
+
builder = builder.filter(options.filter);
|
|
222
|
+
}
|
|
223
|
+
const response = await builder.get();
|
|
224
|
+
return response.value;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Get many-to-many relationships for an entity
|
|
228
|
+
* @param entityLogicalName Entity logical name
|
|
229
|
+
* @param options Query options
|
|
230
|
+
* @returns Array of many-to-many relationships
|
|
231
|
+
*/
|
|
232
|
+
async getManyToManyRelationships(entityLogicalName, options) {
|
|
233
|
+
let builder = this.client.api(
|
|
234
|
+
`/EntityDefinitions(LogicalName='${entityLogicalName}')/ManyToManyRelationships`
|
|
235
|
+
);
|
|
236
|
+
if (options?.select) {
|
|
237
|
+
builder = builder.select(...options.select);
|
|
238
|
+
}
|
|
239
|
+
if (options?.filter) {
|
|
240
|
+
builder = builder.filter(options.filter);
|
|
241
|
+
}
|
|
242
|
+
const response = await builder.get();
|
|
243
|
+
return response.value;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Get a relationship by schema name
|
|
247
|
+
* @param schemaName Relationship schema name
|
|
248
|
+
* @param options Query options
|
|
249
|
+
* @returns Relationship metadata
|
|
250
|
+
*/
|
|
251
|
+
async getRelationshipBySchemaName(schemaName, options) {
|
|
252
|
+
let builder = this.client.api(`/RelationshipDefinitions(SchemaName='${schemaName}')`);
|
|
253
|
+
if (options?.select) {
|
|
254
|
+
builder = builder.select(...options.select);
|
|
255
|
+
}
|
|
256
|
+
if (options?.expand) {
|
|
257
|
+
builder = builder.expand(options.expand);
|
|
258
|
+
}
|
|
259
|
+
return await builder.get();
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Get a relationship by metadata ID
|
|
263
|
+
* @param metadataId Relationship metadata ID
|
|
264
|
+
* @param options Query options
|
|
265
|
+
* @returns Relationship metadata
|
|
266
|
+
*/
|
|
267
|
+
async getRelationshipByMetadataId(metadataId, options) {
|
|
268
|
+
let builder = this.client.api(`/RelationshipDefinitions(${metadataId})`);
|
|
269
|
+
if (options?.select) {
|
|
270
|
+
builder = builder.select(...options.select);
|
|
271
|
+
}
|
|
272
|
+
if (options?.expand) {
|
|
273
|
+
builder = builder.expand(options.expand);
|
|
274
|
+
}
|
|
275
|
+
return await builder.get();
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Create a many-to-many relationship
|
|
279
|
+
* @param relationship Relationship metadata to create
|
|
280
|
+
* @returns Metadata ID of created relationship (GUID)
|
|
281
|
+
* @example
|
|
282
|
+
* ```typescript
|
|
283
|
+
* const metadataId = await metadataClient.createManyToManyRelationship({
|
|
284
|
+
* '@odata.type': 'Microsoft.Dynamics.CRM.ManyToManyRelationshipMetadata',
|
|
285
|
+
* SchemaName: 'new_account_contact',
|
|
286
|
+
* Entity1LogicalName: 'account',
|
|
287
|
+
* Entity2LogicalName: 'contact',
|
|
288
|
+
* IntersectEntityName: 'new_account_contact'
|
|
289
|
+
* });
|
|
290
|
+
* ```
|
|
291
|
+
*/
|
|
292
|
+
async createManyToManyRelationship(relationship) {
|
|
293
|
+
const response = await this.client.api("/RelationshipDefinitions").header("Content-Type", "application/json").preferRaw("return=representation").post(relationship);
|
|
294
|
+
if (!response.MetadataId) {
|
|
295
|
+
throw new Error("Failed to retrieve relationship metadata ID from response");
|
|
296
|
+
}
|
|
297
|
+
return response.MetadataId;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Update an existing one-to-many relationship
|
|
301
|
+
* @param schemaName Relationship schema name
|
|
302
|
+
* @param relationship Relationship metadata updates
|
|
303
|
+
*/
|
|
304
|
+
async updateOneToManyRelationship(schemaName, relationship) {
|
|
305
|
+
await this.client.api(`/RelationshipDefinitions(SchemaName='${schemaName}')`).header("Content-Type", "application/json").header("MSCRM.MergeLabels", "true").put(relationship);
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Update an existing many-to-many relationship
|
|
309
|
+
* @param schemaName Relationship schema name
|
|
310
|
+
* @param relationship Relationship metadata updates
|
|
311
|
+
*/
|
|
312
|
+
async updateManyToManyRelationship(schemaName, relationship) {
|
|
313
|
+
await this.client.api(`/RelationshipDefinitions(SchemaName='${schemaName}')`).header("Content-Type", "application/json").header("MSCRM.MergeLabels", "true").put(relationship);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Delete a relationship by schema name
|
|
317
|
+
* @param schemaName Relationship schema name
|
|
318
|
+
*/
|
|
319
|
+
async deleteRelationshipBySchemaName(schemaName) {
|
|
320
|
+
await this.client.api(`/RelationshipDefinitions(SchemaName='${schemaName}')`).delete();
|
|
321
|
+
}
|
|
322
|
+
// ==================== Global Option Sets ====================
|
|
323
|
+
/**
|
|
324
|
+
* Get all global option sets
|
|
325
|
+
* @param options Query options
|
|
326
|
+
* @returns Array of global option set metadata
|
|
327
|
+
*/
|
|
328
|
+
async getGlobalOptionSets(options) {
|
|
329
|
+
let builder = this.client.api("/GlobalOptionSetDefinitions");
|
|
330
|
+
if (options?.select) {
|
|
331
|
+
builder = builder.select(...options.select);
|
|
332
|
+
}
|
|
333
|
+
if (options?.filter) {
|
|
334
|
+
builder = builder.filter(options.filter);
|
|
335
|
+
}
|
|
336
|
+
if (options?.expand) {
|
|
337
|
+
builder = builder.expand(options.expand);
|
|
338
|
+
}
|
|
339
|
+
const response = await builder.get();
|
|
340
|
+
return response.value;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Get a global option set by name or metadata ID
|
|
344
|
+
* @param nameOrMetadataId Option set name or metadata ID
|
|
345
|
+
* @param options Query options
|
|
346
|
+
* @returns Option set metadata
|
|
347
|
+
*/
|
|
348
|
+
async getGlobalOptionSet(nameOrMetadataId, options) {
|
|
349
|
+
const isGuid = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(
|
|
350
|
+
nameOrMetadataId
|
|
351
|
+
);
|
|
352
|
+
const path = isGuid ? `/GlobalOptionSetDefinitions(${nameOrMetadataId})` : `/GlobalOptionSetDefinitions(Name='${nameOrMetadataId}')`;
|
|
353
|
+
let builder = this.client.api(path);
|
|
354
|
+
if (options?.select) {
|
|
355
|
+
builder = builder.select(...options.select);
|
|
356
|
+
}
|
|
357
|
+
if (options?.expand) {
|
|
358
|
+
builder = builder.expand(options.expand);
|
|
359
|
+
}
|
|
360
|
+
return await builder.get();
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Create a global option set
|
|
364
|
+
* @param optionSet Option set metadata to create
|
|
365
|
+
* @returns Metadata ID of created option set (GUID)
|
|
366
|
+
* @example
|
|
367
|
+
* ```typescript
|
|
368
|
+
* const metadataId = await metadataClient.createGlobalOptionSet({
|
|
369
|
+
* '@odata.type': 'Microsoft.Dynamics.CRM.OptionSetMetadata',
|
|
370
|
+
* Name: 'new_colors',
|
|
371
|
+
* DisplayName: {
|
|
372
|
+
* LocalizedLabels: [{ Label: 'Colors', LanguageCode: 1033 }]
|
|
373
|
+
* },
|
|
374
|
+
* Options: [
|
|
375
|
+
* { Value: 1, Label: { LocalizedLabels: [{ Label: 'Red', LanguageCode: 1033 }] } },
|
|
376
|
+
* { Value: 2, Label: { LocalizedLabels: [{ Label: 'Blue', LanguageCode: 1033 }] } }
|
|
377
|
+
* ]
|
|
378
|
+
* });
|
|
379
|
+
* ```
|
|
380
|
+
*/
|
|
381
|
+
async createGlobalOptionSet(optionSet) {
|
|
382
|
+
const response = await this.client.api("/GlobalOptionSetDefinitions").header("Content-Type", "application/json").preferRaw("return=representation").post(optionSet);
|
|
383
|
+
if (!response.MetadataId) {
|
|
384
|
+
throw new Error("Failed to retrieve option set metadata ID from response");
|
|
385
|
+
}
|
|
386
|
+
return response.MetadataId;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Update a global option set
|
|
390
|
+
* @param nameOrMetadataId Option set name or metadata ID
|
|
391
|
+
* @param optionSet Option set metadata updates
|
|
392
|
+
*/
|
|
393
|
+
async updateGlobalOptionSet(nameOrMetadataId, optionSet) {
|
|
394
|
+
const isGuid = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(
|
|
395
|
+
nameOrMetadataId
|
|
396
|
+
);
|
|
397
|
+
const path = isGuid ? `/GlobalOptionSetDefinitions(${nameOrMetadataId})` : `/GlobalOptionSetDefinitions(Name='${nameOrMetadataId}')`;
|
|
398
|
+
await this.client.api(path).header("Content-Type", "application/json").header("MSCRM.MergeLabels", "true").put(optionSet);
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Delete a global option set
|
|
402
|
+
* @param nameOrMetadataId Option set name or metadata ID
|
|
403
|
+
*/
|
|
404
|
+
async deleteGlobalOptionSet(nameOrMetadataId) {
|
|
405
|
+
const isGuid = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(
|
|
406
|
+
nameOrMetadataId
|
|
407
|
+
);
|
|
408
|
+
const path = isGuid ? `/GlobalOptionSetDefinitions(${nameOrMetadataId})` : `/GlobalOptionSetDefinitions(Name='${nameOrMetadataId}')`;
|
|
409
|
+
await this.client.api(path).delete();
|
|
410
|
+
}
|
|
411
|
+
// ==================== Option Value Operations ====================
|
|
412
|
+
/**
|
|
413
|
+
* Insert an option value into a local or global option set
|
|
414
|
+
* @param params Insert option value parameters
|
|
415
|
+
* @returns New option value
|
|
416
|
+
* @example
|
|
417
|
+
* ```typescript
|
|
418
|
+
* // For local option set
|
|
419
|
+
* const result = await metadataClient.insertOptionValue({
|
|
420
|
+
* EntityLogicalName: 'account',
|
|
421
|
+
* AttributeLogicalName: 'new_category',
|
|
422
|
+
* Label: { LocalizedLabels: [{ Label: 'Enterprise', LanguageCode: 1033 }] },
|
|
423
|
+
* Value: 100000002
|
|
424
|
+
* });
|
|
425
|
+
*
|
|
426
|
+
* // For global option set
|
|
427
|
+
* const result = await metadataClient.insertOptionValue({
|
|
428
|
+
* OptionSetName: 'new_colors',
|
|
429
|
+
* Label: { LocalizedLabels: [{ Label: 'Green', LanguageCode: 1033 }] },
|
|
430
|
+
* Value: 3
|
|
431
|
+
* });
|
|
432
|
+
* ```
|
|
433
|
+
*/
|
|
434
|
+
async insertOptionValue(params) {
|
|
435
|
+
return await this.client.api("/InsertOptionValue").post(params);
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Update an option value in a local or global option set
|
|
439
|
+
* @param params Update option value parameters
|
|
440
|
+
*/
|
|
441
|
+
async updateOptionValue(params) {
|
|
442
|
+
await this.client.api("/UpdateOptionValue").post(params);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Delete an option value from a local or global option set
|
|
446
|
+
* @param params Delete option value parameters
|
|
447
|
+
*/
|
|
448
|
+
async deleteOptionValue(params) {
|
|
449
|
+
await this.client.api("/DeleteOptionValue").post(params);
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Reorder options in a local or global option set
|
|
453
|
+
* @param params Order option parameters
|
|
454
|
+
*/
|
|
455
|
+
async orderOptions(params) {
|
|
456
|
+
await this.client.api("/OrderOption").post(params);
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Insert a status value (statuscode option)
|
|
460
|
+
* @param params Insert status value parameters
|
|
461
|
+
* @returns New option value
|
|
462
|
+
*/
|
|
463
|
+
async insertStatusValue(params) {
|
|
464
|
+
return await this.client.api("/InsertStatusValue").post(params);
|
|
465
|
+
}
|
|
466
|
+
// ==================== Polymorphic Lookups ====================
|
|
467
|
+
/**
|
|
468
|
+
* Create a customer relationship (polymorphic lookup to account and contact)
|
|
469
|
+
* @param params Customer relationship parameters
|
|
470
|
+
* @returns Attribute ID and relationship IDs
|
|
471
|
+
*/
|
|
472
|
+
async createCustomerRelationship(params) {
|
|
473
|
+
return await this.client.api("/CreateCustomerRelationships").post(params);
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Create a polymorphic lookup attribute
|
|
477
|
+
* @param params Polymorphic lookup parameters
|
|
478
|
+
* @returns Attribute ID and relationship IDs
|
|
479
|
+
* @example
|
|
480
|
+
* ```typescript
|
|
481
|
+
* const result = await metadataClient.createPolymorphicLookup({
|
|
482
|
+
* Lookup: {
|
|
483
|
+
* '@odata.type': 'Microsoft.Dynamics.CRM.ComplexLookupAttributeMetadata',
|
|
484
|
+
* SchemaName: 'new_RegardingObjectId',
|
|
485
|
+
* DisplayName: { LocalizedLabels: [{ Label: 'Regarding', LanguageCode: 1033 }] },
|
|
486
|
+
* Targets: ['account', 'contact', 'lead']
|
|
487
|
+
* },
|
|
488
|
+
* OneToManyRelationships: [
|
|
489
|
+
* // one relationship definition per target entity
|
|
490
|
+
* ]
|
|
491
|
+
* });
|
|
492
|
+
* ```
|
|
493
|
+
*/
|
|
494
|
+
async createPolymorphicLookup(params) {
|
|
495
|
+
return await this.client.api("/CreatePolymorphicLookupAttribute").post(params);
|
|
496
|
+
}
|
|
497
|
+
// ==================== Relationship Eligibility ====================
|
|
498
|
+
/**
|
|
499
|
+
* Check if an entity can be referenced (primary in 1:N)
|
|
500
|
+
* @param entityName Entity logical name
|
|
501
|
+
* @returns Whether the entity can be referenced
|
|
502
|
+
*/
|
|
503
|
+
async canBeReferenced(entityName) {
|
|
504
|
+
const response = await this.client.api(`/CanBeReferenced(EntityName='${entityName}')`).get();
|
|
505
|
+
return response.CanBeReferenced ?? false;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Check if an entity can be referencing (related in 1:N)
|
|
509
|
+
* @param entityName Entity logical name
|
|
510
|
+
* @returns Whether the entity can be referencing
|
|
511
|
+
*/
|
|
512
|
+
async canBeReferencing(entityName) {
|
|
513
|
+
const response = await this.client.api(`/CanBeReferencing(EntityName='${entityName}')`).get();
|
|
514
|
+
return response.CanBeReferencing ?? false;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Check if an entity can participate in many-to-many
|
|
518
|
+
* @param entityName Entity logical name
|
|
519
|
+
* @returns Whether the entity can participate in N:N
|
|
520
|
+
*/
|
|
521
|
+
async canManyToMany(entityName) {
|
|
522
|
+
const response = await this.client.api(`/CanManyToMany(EntityName='${entityName}')`).get();
|
|
523
|
+
return response.CanManyToMany ?? false;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Get entities that can reference the specified entity
|
|
527
|
+
* @param referencedEntityName Referenced entity name
|
|
528
|
+
* @returns Array of entity names that can reference the specified entity
|
|
529
|
+
*/
|
|
530
|
+
async getValidReferencingEntities(referencedEntityName) {
|
|
531
|
+
const response = await this.client.api(`/GetValidReferencingEntities(ReferencedEntityName='${referencedEntityName}')`).get();
|
|
532
|
+
return response.EntityNames ?? [];
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* Get entities that the specified entity can reference
|
|
536
|
+
* @param referencingEntityName Referencing entity name
|
|
537
|
+
* @returns Array of entity names that can be referenced
|
|
538
|
+
*/
|
|
539
|
+
async getValidReferencedEntities(referencingEntityName) {
|
|
540
|
+
const response = await this.client.api(`/GetValidReferencedEntities(ReferencingEntityName='${referencingEntityName}')`).get();
|
|
541
|
+
return response.EntityNames ?? [];
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Get all entities that can participate in many-to-many relationships
|
|
545
|
+
* @returns Array of entity names
|
|
546
|
+
*/
|
|
547
|
+
async getValidManyToMany() {
|
|
548
|
+
const response = await this.client.api("/GetValidManyToMany()").get();
|
|
549
|
+
return response.EntityNames ?? [];
|
|
550
|
+
}
|
|
551
|
+
// ==================== Metadata Change Tracking ====================
|
|
552
|
+
/**
|
|
553
|
+
* Retrieve metadata changes since a client version stamp
|
|
554
|
+
* @param query Entity query expression
|
|
555
|
+
* @param clientVersionStamp Client version stamp from previous call
|
|
556
|
+
* @param deletedMetadataFilters Types of deleted metadata to return
|
|
557
|
+
* @returns Metadata changes response with server version stamp
|
|
558
|
+
* @example
|
|
559
|
+
* ```typescript
|
|
560
|
+
* const result = await metadataClient.retrieveMetadataChanges({
|
|
561
|
+
* Criteria: {
|
|
562
|
+
* FilterOperator: 'And',
|
|
563
|
+
* Conditions: [
|
|
564
|
+
* {
|
|
565
|
+
* PropertyName: 'LogicalName',
|
|
566
|
+
* ConditionOperator: 'Equals',
|
|
567
|
+
* Value: 'account'
|
|
568
|
+
* }
|
|
569
|
+
* ]
|
|
570
|
+
* },
|
|
571
|
+
* Properties: {
|
|
572
|
+
* AllProperties: false,
|
|
573
|
+
* PropertyNames: ['LogicalName', 'DisplayName', 'SchemaName']
|
|
574
|
+
* }
|
|
575
|
+
* });
|
|
576
|
+
* // Store result.ServerVersionStamp for next call
|
|
577
|
+
* ```
|
|
578
|
+
*/
|
|
579
|
+
async retrieveMetadataChanges(query, clientVersionStamp, deletedMetadataFilters) {
|
|
580
|
+
const params = {
|
|
581
|
+
Query: query
|
|
582
|
+
};
|
|
583
|
+
if (clientVersionStamp) {
|
|
584
|
+
params.ClientVersionStamp = clientVersionStamp;
|
|
585
|
+
}
|
|
586
|
+
if (deletedMetadataFilters) {
|
|
587
|
+
params.DeletedMetadataFilters = deletedMetadataFilters;
|
|
588
|
+
}
|
|
589
|
+
return await this.client.api("/RetrieveMetadataChanges").post(params);
|
|
590
|
+
}
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
// src/types/AccessRights.ts
|
|
594
|
+
var AccessRights = /* @__PURE__ */ ((AccessRights2) => {
|
|
595
|
+
AccessRights2[AccessRights2["None"] = 0] = "None";
|
|
596
|
+
AccessRights2[AccessRights2["ReadAccess"] = 1] = "ReadAccess";
|
|
597
|
+
AccessRights2[AccessRights2["WriteAccess"] = 2] = "WriteAccess";
|
|
598
|
+
AccessRights2[AccessRights2["AppendAccess"] = 4] = "AppendAccess";
|
|
599
|
+
AccessRights2[AccessRights2["AppendToAccess"] = 16] = "AppendToAccess";
|
|
600
|
+
AccessRights2[AccessRights2["CreateAccess"] = 32] = "CreateAccess";
|
|
601
|
+
AccessRights2[AccessRights2["DeleteAccess"] = 65536] = "DeleteAccess";
|
|
602
|
+
AccessRights2[AccessRights2["ShareAccess"] = 262144] = "ShareAccess";
|
|
603
|
+
AccessRights2[AccessRights2["AssignAccess"] = 524288] = "AssignAccess";
|
|
604
|
+
return AccessRights2;
|
|
605
|
+
})(AccessRights || {});
|
|
606
|
+
|
|
607
|
+
// src/types/AssociatedMenuBehavior.ts
|
|
608
|
+
var AssociatedMenuBehavior = /* @__PURE__ */ ((AssociatedMenuBehavior2) => {
|
|
609
|
+
AssociatedMenuBehavior2[AssociatedMenuBehavior2["UseCollectionName"] = 0] = "UseCollectionName";
|
|
610
|
+
AssociatedMenuBehavior2[AssociatedMenuBehavior2["UseLabel"] = 1] = "UseLabel";
|
|
611
|
+
AssociatedMenuBehavior2[AssociatedMenuBehavior2["DoNotDisplay"] = 2] = "DoNotDisplay";
|
|
612
|
+
return AssociatedMenuBehavior2;
|
|
613
|
+
})(AssociatedMenuBehavior || {});
|
|
614
|
+
|
|
615
|
+
// src/types/AssociatedMenuGroup.ts
|
|
616
|
+
var AssociatedMenuGroup = /* @__PURE__ */ ((AssociatedMenuGroup2) => {
|
|
617
|
+
AssociatedMenuGroup2[AssociatedMenuGroup2["Details"] = 0] = "Details";
|
|
618
|
+
AssociatedMenuGroup2[AssociatedMenuGroup2["Sales"] = 1] = "Sales";
|
|
619
|
+
AssociatedMenuGroup2[AssociatedMenuGroup2["Service"] = 2] = "Service";
|
|
620
|
+
AssociatedMenuGroup2[AssociatedMenuGroup2["Marketing"] = 3] = "Marketing";
|
|
621
|
+
return AssociatedMenuGroup2;
|
|
622
|
+
})(AssociatedMenuGroup || {});
|
|
623
|
+
|
|
624
|
+
// src/types/AttributeRequiredLevel.ts
|
|
625
|
+
var AttributeRequiredLevel = /* @__PURE__ */ ((AttributeRequiredLevel2) => {
|
|
626
|
+
AttributeRequiredLevel2[AttributeRequiredLevel2["None"] = 0] = "None";
|
|
627
|
+
AttributeRequiredLevel2[AttributeRequiredLevel2["SystemRequired"] = 1] = "SystemRequired";
|
|
628
|
+
AttributeRequiredLevel2[AttributeRequiredLevel2["ApplicationRequired"] = 2] = "ApplicationRequired";
|
|
629
|
+
AttributeRequiredLevel2[AttributeRequiredLevel2["Recommended"] = 3] = "Recommended";
|
|
630
|
+
return AttributeRequiredLevel2;
|
|
631
|
+
})(AttributeRequiredLevel || {});
|
|
632
|
+
|
|
633
|
+
// src/types/AttributeTypeCode.ts
|
|
634
|
+
var AttributeTypeCode = /* @__PURE__ */ ((AttributeTypeCode2) => {
|
|
635
|
+
AttributeTypeCode2[AttributeTypeCode2["Boolean"] = 0] = "Boolean";
|
|
636
|
+
AttributeTypeCode2[AttributeTypeCode2["Customer"] = 1] = "Customer";
|
|
637
|
+
AttributeTypeCode2[AttributeTypeCode2["DateTime"] = 2] = "DateTime";
|
|
638
|
+
AttributeTypeCode2[AttributeTypeCode2["Decimal"] = 3] = "Decimal";
|
|
639
|
+
AttributeTypeCode2[AttributeTypeCode2["Double"] = 4] = "Double";
|
|
640
|
+
AttributeTypeCode2[AttributeTypeCode2["Integer"] = 5] = "Integer";
|
|
641
|
+
AttributeTypeCode2[AttributeTypeCode2["Lookup"] = 6] = "Lookup";
|
|
642
|
+
AttributeTypeCode2[AttributeTypeCode2["Memo"] = 7] = "Memo";
|
|
643
|
+
AttributeTypeCode2[AttributeTypeCode2["Money"] = 8] = "Money";
|
|
644
|
+
AttributeTypeCode2[AttributeTypeCode2["Owner"] = 9] = "Owner";
|
|
645
|
+
AttributeTypeCode2[AttributeTypeCode2["PartyList"] = 10] = "PartyList";
|
|
646
|
+
AttributeTypeCode2[AttributeTypeCode2["Picklist"] = 11] = "Picklist";
|
|
647
|
+
AttributeTypeCode2[AttributeTypeCode2["State"] = 12] = "State";
|
|
648
|
+
AttributeTypeCode2[AttributeTypeCode2["Status"] = 13] = "Status";
|
|
649
|
+
AttributeTypeCode2[AttributeTypeCode2["String"] = 14] = "String";
|
|
650
|
+
AttributeTypeCode2[AttributeTypeCode2["Uniqueidentifier"] = 15] = "Uniqueidentifier";
|
|
651
|
+
AttributeTypeCode2[AttributeTypeCode2["CalendarRules"] = 16] = "CalendarRules";
|
|
652
|
+
AttributeTypeCode2[AttributeTypeCode2["Virtual"] = 17] = "Virtual";
|
|
653
|
+
AttributeTypeCode2[AttributeTypeCode2["BigInt"] = 18] = "BigInt";
|
|
654
|
+
AttributeTypeCode2[AttributeTypeCode2["ManagedProperty"] = 19] = "ManagedProperty";
|
|
655
|
+
AttributeTypeCode2[AttributeTypeCode2["EntityName"] = 20] = "EntityName";
|
|
656
|
+
return AttributeTypeCode2;
|
|
657
|
+
})(AttributeTypeCode || {});
|
|
658
|
+
|
|
659
|
+
// src/types/BusinessNotificationParameterType.ts
|
|
660
|
+
var BusinessNotificationParameterType = /* @__PURE__ */ ((BusinessNotificationParameterType2) => {
|
|
661
|
+
BusinessNotificationParameterType2[BusinessNotificationParameterType2["None"] = 0] = "None";
|
|
662
|
+
BusinessNotificationParameterType2[BusinessNotificationParameterType2["String"] = 1] = "String";
|
|
663
|
+
BusinessNotificationParameterType2[BusinessNotificationParameterType2["Attribute"] = 2] = "Attribute";
|
|
664
|
+
return BusinessNotificationParameterType2;
|
|
665
|
+
})(BusinessNotificationParameterType || {});
|
|
666
|
+
|
|
667
|
+
// src/types/BusinessNotificationSeverity.ts
|
|
668
|
+
var BusinessNotificationSeverity = /* @__PURE__ */ ((BusinessNotificationSeverity2) => {
|
|
669
|
+
BusinessNotificationSeverity2[BusinessNotificationSeverity2["None"] = 0] = "None";
|
|
670
|
+
BusinessNotificationSeverity2[BusinessNotificationSeverity2["Error"] = 1] = "Error";
|
|
671
|
+
BusinessNotificationSeverity2[BusinessNotificationSeverity2["Warning"] = 2] = "Warning";
|
|
672
|
+
BusinessNotificationSeverity2[BusinessNotificationSeverity2["Information"] = 3] = "Information";
|
|
673
|
+
BusinessNotificationSeverity2[BusinessNotificationSeverity2["UserDefined"] = 4] = "UserDefined";
|
|
674
|
+
return BusinessNotificationSeverity2;
|
|
675
|
+
})(BusinessNotificationSeverity || {});
|
|
676
|
+
|
|
677
|
+
// src/types/CascadeType.ts
|
|
678
|
+
var CascadeType = /* @__PURE__ */ ((CascadeType2) => {
|
|
679
|
+
CascadeType2[CascadeType2["NoCascade"] = 0] = "NoCascade";
|
|
680
|
+
CascadeType2[CascadeType2["Cascade"] = 1] = "Cascade";
|
|
681
|
+
CascadeType2[CascadeType2["Active"] = 2] = "Active";
|
|
682
|
+
CascadeType2[CascadeType2["UserOwned"] = 3] = "UserOwned";
|
|
683
|
+
CascadeType2[CascadeType2["RemoveLink"] = 4] = "RemoveLink";
|
|
684
|
+
CascadeType2[CascadeType2["Restrict"] = 5] = "Restrict";
|
|
685
|
+
return CascadeType2;
|
|
686
|
+
})(CascadeType || {});
|
|
687
|
+
|
|
688
|
+
// src/types/ChannelAccessProfilePrivilegeDepth.ts
|
|
689
|
+
var ChannelAccessProfilePrivilegeDepth = /* @__PURE__ */ ((ChannelAccessProfilePrivilegeDepth2) => {
|
|
690
|
+
ChannelAccessProfilePrivilegeDepth2[ChannelAccessProfilePrivilegeDepth2["None"] = 0] = "None";
|
|
691
|
+
ChannelAccessProfilePrivilegeDepth2[ChannelAccessProfilePrivilegeDepth2["EntityReference"] = 1] = "EntityReference";
|
|
692
|
+
ChannelAccessProfilePrivilegeDepth2[ChannelAccessProfilePrivilegeDepth2["ParentEntityReference"] = 2] = "ParentEntityReference";
|
|
693
|
+
ChannelAccessProfilePrivilegeDepth2[ChannelAccessProfilePrivilegeDepth2["Global"] = 8] = "Global";
|
|
694
|
+
return ChannelAccessProfilePrivilegeDepth2;
|
|
695
|
+
})(ChannelAccessProfilePrivilegeDepth || {});
|
|
696
|
+
|
|
697
|
+
// src/types/ConditionOperator.ts
|
|
698
|
+
var ConditionOperator = /* @__PURE__ */ ((ConditionOperator2) => {
|
|
699
|
+
ConditionOperator2[ConditionOperator2["Equal"] = 0] = "Equal";
|
|
700
|
+
ConditionOperator2[ConditionOperator2["NotEqual"] = 1] = "NotEqual";
|
|
701
|
+
ConditionOperator2[ConditionOperator2["GreaterThan"] = 2] = "GreaterThan";
|
|
702
|
+
ConditionOperator2[ConditionOperator2["LessThan"] = 3] = "LessThan";
|
|
703
|
+
ConditionOperator2[ConditionOperator2["GreaterEqual"] = 4] = "GreaterEqual";
|
|
704
|
+
ConditionOperator2[ConditionOperator2["LessEqual"] = 5] = "LessEqual";
|
|
705
|
+
ConditionOperator2[ConditionOperator2["Like"] = 6] = "Like";
|
|
706
|
+
ConditionOperator2[ConditionOperator2["NotLike"] = 7] = "NotLike";
|
|
707
|
+
ConditionOperator2[ConditionOperator2["In"] = 8] = "In";
|
|
708
|
+
ConditionOperator2[ConditionOperator2["NotIn"] = 9] = "NotIn";
|
|
709
|
+
ConditionOperator2[ConditionOperator2["Between"] = 10] = "Between";
|
|
710
|
+
ConditionOperator2[ConditionOperator2["NotBetween"] = 11] = "NotBetween";
|
|
711
|
+
ConditionOperator2[ConditionOperator2["Null"] = 12] = "Null";
|
|
712
|
+
ConditionOperator2[ConditionOperator2["NotNull"] = 13] = "NotNull";
|
|
713
|
+
ConditionOperator2[ConditionOperator2["Yesterday"] = 14] = "Yesterday";
|
|
714
|
+
ConditionOperator2[ConditionOperator2["Today"] = 15] = "Today";
|
|
715
|
+
ConditionOperator2[ConditionOperator2["Tomorrow"] = 16] = "Tomorrow";
|
|
716
|
+
ConditionOperator2[ConditionOperator2["Last7Days"] = 17] = "Last7Days";
|
|
717
|
+
ConditionOperator2[ConditionOperator2["Next7Days"] = 18] = "Next7Days";
|
|
718
|
+
ConditionOperator2[ConditionOperator2["LastWeek"] = 19] = "LastWeek";
|
|
719
|
+
ConditionOperator2[ConditionOperator2["ThisWeek"] = 20] = "ThisWeek";
|
|
720
|
+
ConditionOperator2[ConditionOperator2["NextWeek"] = 21] = "NextWeek";
|
|
721
|
+
ConditionOperator2[ConditionOperator2["LastMonth"] = 22] = "LastMonth";
|
|
722
|
+
ConditionOperator2[ConditionOperator2["ThisMonth"] = 23] = "ThisMonth";
|
|
723
|
+
ConditionOperator2[ConditionOperator2["NextMonth"] = 24] = "NextMonth";
|
|
724
|
+
ConditionOperator2[ConditionOperator2["On"] = 25] = "On";
|
|
725
|
+
ConditionOperator2[ConditionOperator2["OnOrBefore"] = 26] = "OnOrBefore";
|
|
726
|
+
ConditionOperator2[ConditionOperator2["OnOrAfter"] = 27] = "OnOrAfter";
|
|
727
|
+
ConditionOperator2[ConditionOperator2["LastYear"] = 28] = "LastYear";
|
|
728
|
+
ConditionOperator2[ConditionOperator2["ThisYear"] = 29] = "ThisYear";
|
|
729
|
+
ConditionOperator2[ConditionOperator2["NextYear"] = 30] = "NextYear";
|
|
730
|
+
ConditionOperator2[ConditionOperator2["LastXHours"] = 31] = "LastXHours";
|
|
731
|
+
ConditionOperator2[ConditionOperator2["NextXHours"] = 32] = "NextXHours";
|
|
732
|
+
ConditionOperator2[ConditionOperator2["LastXDays"] = 33] = "LastXDays";
|
|
733
|
+
ConditionOperator2[ConditionOperator2["NextXDays"] = 34] = "NextXDays";
|
|
734
|
+
ConditionOperator2[ConditionOperator2["LastXWeeks"] = 35] = "LastXWeeks";
|
|
735
|
+
ConditionOperator2[ConditionOperator2["NextXWeeks"] = 36] = "NextXWeeks";
|
|
736
|
+
ConditionOperator2[ConditionOperator2["LastXMonths"] = 37] = "LastXMonths";
|
|
737
|
+
ConditionOperator2[ConditionOperator2["NextXMonths"] = 38] = "NextXMonths";
|
|
738
|
+
ConditionOperator2[ConditionOperator2["LastXYears"] = 39] = "LastXYears";
|
|
739
|
+
ConditionOperator2[ConditionOperator2["NextXYears"] = 40] = "NextXYears";
|
|
740
|
+
ConditionOperator2[ConditionOperator2["EqualUserId"] = 41] = "EqualUserId";
|
|
741
|
+
ConditionOperator2[ConditionOperator2["NotEqualUserId"] = 42] = "NotEqualUserId";
|
|
742
|
+
ConditionOperator2[ConditionOperator2["EqualBusinessId"] = 43] = "EqualBusinessId";
|
|
743
|
+
ConditionOperator2[ConditionOperator2["NotEqualBusinessId"] = 44] = "NotEqualBusinessId";
|
|
744
|
+
ConditionOperator2[ConditionOperator2["ChildOf"] = 45] = "ChildOf";
|
|
745
|
+
ConditionOperator2[ConditionOperator2["Mask"] = 46] = "Mask";
|
|
746
|
+
ConditionOperator2[ConditionOperator2["NotMask"] = 47] = "NotMask";
|
|
747
|
+
ConditionOperator2[ConditionOperator2["MasksSelect"] = 48] = "MasksSelect";
|
|
748
|
+
ConditionOperator2[ConditionOperator2["Contains"] = 49] = "Contains";
|
|
749
|
+
ConditionOperator2[ConditionOperator2["DoesNotContain"] = 50] = "DoesNotContain";
|
|
750
|
+
ConditionOperator2[ConditionOperator2["EqualUserLanguage"] = 51] = "EqualUserLanguage";
|
|
751
|
+
ConditionOperator2[ConditionOperator2["NotOn"] = 52] = "NotOn";
|
|
752
|
+
ConditionOperator2[ConditionOperator2["OlderThanXMonths"] = 53] = "OlderThanXMonths";
|
|
753
|
+
ConditionOperator2[ConditionOperator2["BeginsWith"] = 54] = "BeginsWith";
|
|
754
|
+
ConditionOperator2[ConditionOperator2["DoesNotBeginWith"] = 55] = "DoesNotBeginWith";
|
|
755
|
+
ConditionOperator2[ConditionOperator2["EndsWith"] = 56] = "EndsWith";
|
|
756
|
+
ConditionOperator2[ConditionOperator2["DoesNotEndWith"] = 57] = "DoesNotEndWith";
|
|
757
|
+
ConditionOperator2[ConditionOperator2["ThisFiscalYear"] = 58] = "ThisFiscalYear";
|
|
758
|
+
ConditionOperator2[ConditionOperator2["ThisFiscalPeriod"] = 59] = "ThisFiscalPeriod";
|
|
759
|
+
ConditionOperator2[ConditionOperator2["NextFiscalYear"] = 60] = "NextFiscalYear";
|
|
760
|
+
ConditionOperator2[ConditionOperator2["NextFiscalPeriod"] = 61] = "NextFiscalPeriod";
|
|
761
|
+
ConditionOperator2[ConditionOperator2["LastFiscalYear"] = 62] = "LastFiscalYear";
|
|
762
|
+
ConditionOperator2[ConditionOperator2["LastFiscalPeriod"] = 63] = "LastFiscalPeriod";
|
|
763
|
+
ConditionOperator2[ConditionOperator2["LastXFiscalYears"] = 64] = "LastXFiscalYears";
|
|
764
|
+
ConditionOperator2[ConditionOperator2["LastXFiscalPeriods"] = 65] = "LastXFiscalPeriods";
|
|
765
|
+
ConditionOperator2[ConditionOperator2["NextXFiscalYears"] = 66] = "NextXFiscalYears";
|
|
766
|
+
ConditionOperator2[ConditionOperator2["NextXFiscalPeriods"] = 67] = "NextXFiscalPeriods";
|
|
767
|
+
ConditionOperator2[ConditionOperator2["InFiscalYear"] = 68] = "InFiscalYear";
|
|
768
|
+
ConditionOperator2[ConditionOperator2["InFiscalPeriod"] = 69] = "InFiscalPeriod";
|
|
769
|
+
ConditionOperator2[ConditionOperator2["InFiscalPeriodAndYear"] = 70] = "InFiscalPeriodAndYear";
|
|
770
|
+
ConditionOperator2[ConditionOperator2["InOrBeforeFiscalPeriodAndYear"] = 71] = "InOrBeforeFiscalPeriodAndYear";
|
|
771
|
+
ConditionOperator2[ConditionOperator2["InOrAfterFiscalPeriodAndYear"] = 72] = "InOrAfterFiscalPeriodAndYear";
|
|
772
|
+
ConditionOperator2[ConditionOperator2["EqualUserTeams"] = 73] = "EqualUserTeams";
|
|
773
|
+
ConditionOperator2[ConditionOperator2["EqualUserOrUserTeams"] = 74] = "EqualUserOrUserTeams";
|
|
774
|
+
ConditionOperator2[ConditionOperator2["Under"] = 75] = "Under";
|
|
775
|
+
ConditionOperator2[ConditionOperator2["NotUnder"] = 76] = "NotUnder";
|
|
776
|
+
ConditionOperator2[ConditionOperator2["UnderOrEqual"] = 77] = "UnderOrEqual";
|
|
777
|
+
ConditionOperator2[ConditionOperator2["Above"] = 78] = "Above";
|
|
778
|
+
ConditionOperator2[ConditionOperator2["AboveOrEqual"] = 79] = "AboveOrEqual";
|
|
779
|
+
ConditionOperator2[ConditionOperator2["EqualUserOrUserHierarchy"] = 80] = "EqualUserOrUserHierarchy";
|
|
780
|
+
ConditionOperator2[ConditionOperator2["EqualUserOrUserHierarchyAndTeams"] = 81] = "EqualUserOrUserHierarchyAndTeams";
|
|
781
|
+
ConditionOperator2[ConditionOperator2["OlderThanXYears"] = 82] = "OlderThanXYears";
|
|
782
|
+
ConditionOperator2[ConditionOperator2["OlderThanXWeeks"] = 83] = "OlderThanXWeeks";
|
|
783
|
+
ConditionOperator2[ConditionOperator2["OlderThanXDays"] = 84] = "OlderThanXDays";
|
|
784
|
+
ConditionOperator2[ConditionOperator2["OlderThanXHours"] = 85] = "OlderThanXHours";
|
|
785
|
+
ConditionOperator2[ConditionOperator2["OlderThanXMinutes"] = 86] = "OlderThanXMinutes";
|
|
786
|
+
ConditionOperator2[ConditionOperator2["ContainValues"] = 87] = "ContainValues";
|
|
787
|
+
ConditionOperator2[ConditionOperator2["DoesNotContainValues"] = 88] = "DoesNotContainValues";
|
|
788
|
+
ConditionOperator2[ConditionOperator2["EqualRoleBusinessId"] = 89] = "EqualRoleBusinessId";
|
|
789
|
+
return ConditionOperator2;
|
|
790
|
+
})(ConditionOperator || {});
|
|
791
|
+
|
|
792
|
+
// src/types/DateTimeFormat.ts
|
|
793
|
+
var DateTimeFormat = /* @__PURE__ */ ((DateTimeFormat2) => {
|
|
794
|
+
DateTimeFormat2[DateTimeFormat2["DateOnly"] = 0] = "DateOnly";
|
|
795
|
+
DateTimeFormat2[DateTimeFormat2["DateAndTime"] = 1] = "DateAndTime";
|
|
796
|
+
return DateTimeFormat2;
|
|
797
|
+
})(DateTimeFormat || {});
|
|
798
|
+
|
|
799
|
+
// src/types/DeletedMetadataFilters.ts
|
|
800
|
+
var DeletedMetadataFilters = /* @__PURE__ */ ((DeletedMetadataFilters2) => {
|
|
801
|
+
DeletedMetadataFilters2[DeletedMetadataFilters2["Default"] = 1] = "Default";
|
|
802
|
+
DeletedMetadataFilters2[DeletedMetadataFilters2["Attribute"] = 2] = "Attribute";
|
|
803
|
+
DeletedMetadataFilters2[DeletedMetadataFilters2["Relationship"] = 4] = "Relationship";
|
|
804
|
+
DeletedMetadataFilters2[DeletedMetadataFilters2["Label"] = 8] = "Label";
|
|
805
|
+
DeletedMetadataFilters2[DeletedMetadataFilters2["OptionSet"] = 16] = "OptionSet";
|
|
806
|
+
DeletedMetadataFilters2[DeletedMetadataFilters2["All"] = 31] = "All";
|
|
807
|
+
return DeletedMetadataFilters2;
|
|
808
|
+
})(DeletedMetadataFilters || {});
|
|
809
|
+
|
|
810
|
+
// src/types/DependencyDepth.ts
|
|
811
|
+
var DependencyDepth = /* @__PURE__ */ ((DependencyDepth2) => {
|
|
812
|
+
DependencyDepth2[DependencyDepth2["Unknown"] = 0] = "Unknown";
|
|
813
|
+
DependencyDepth2[DependencyDepth2["OnDemandWithContext"] = 1] = "OnDemandWithContext";
|
|
814
|
+
DependencyDepth2[DependencyDepth2["OnDemandWithoutContext"] = 2] = "OnDemandWithoutContext";
|
|
815
|
+
DependencyDepth2[DependencyDepth2["OnDemandContextOnly"] = 3] = "OnDemandContextOnly";
|
|
816
|
+
DependencyDepth2[DependencyDepth2["Offline"] = 4] = "Offline";
|
|
817
|
+
DependencyDepth2[DependencyDepth2["Mobile"] = 5] = "Mobile";
|
|
818
|
+
DependencyDepth2[DependencyDepth2["UserContext"] = 6] = "UserContext";
|
|
819
|
+
DependencyDepth2[DependencyDepth2["NoDependency"] = 7] = "NoDependency";
|
|
820
|
+
return DependencyDepth2;
|
|
821
|
+
})(DependencyDepth || {});
|
|
822
|
+
|
|
823
|
+
// src/types/EndpointAccessType.ts
|
|
824
|
+
var EndpointAccessType = /* @__PURE__ */ ((EndpointAccessType2) => {
|
|
825
|
+
EndpointAccessType2[EndpointAccessType2["Default"] = 0] = "Default";
|
|
826
|
+
EndpointAccessType2[EndpointAccessType2["Internet"] = 1] = "Internet";
|
|
827
|
+
EndpointAccessType2[EndpointAccessType2["Intranet"] = 2] = "Intranet";
|
|
828
|
+
return EndpointAccessType2;
|
|
829
|
+
})(EndpointAccessType || {});
|
|
830
|
+
|
|
831
|
+
// src/types/EndpointType.ts
|
|
832
|
+
var EndpointType = /* @__PURE__ */ ((EndpointType2) => {
|
|
833
|
+
EndpointType2[EndpointType2["OrganizationService"] = 0] = "OrganizationService";
|
|
834
|
+
EndpointType2[EndpointType2["OrganizationDataService"] = 1] = "OrganizationDataService";
|
|
835
|
+
EndpointType2[EndpointType2["WebApplication"] = 2] = "WebApplication";
|
|
836
|
+
return EndpointType2;
|
|
837
|
+
})(EndpointType || {});
|
|
838
|
+
|
|
839
|
+
// src/types/EntityClusterMode.ts
|
|
840
|
+
var EntityClusterMode = /* @__PURE__ */ ((EntityClusterMode2) => {
|
|
841
|
+
EntityClusterMode2[EntityClusterMode2["Partitioned"] = 0] = "Partitioned";
|
|
842
|
+
EntityClusterMode2[EntityClusterMode2["Replicated"] = 1] = "Replicated";
|
|
843
|
+
EntityClusterMode2[EntityClusterMode2["Local"] = 2] = "Local";
|
|
844
|
+
EntityClusterMode2[EntityClusterMode2["Inherited"] = 3] = "Inherited";
|
|
845
|
+
return EntityClusterMode2;
|
|
846
|
+
})(EntityClusterMode || {});
|
|
847
|
+
|
|
848
|
+
// src/types/EntityFilters.ts
|
|
849
|
+
var EntityFilters = /* @__PURE__ */ ((EntityFilters2) => {
|
|
850
|
+
EntityFilters2[EntityFilters2["Entity"] = 1] = "Entity";
|
|
851
|
+
EntityFilters2[EntityFilters2["Attributes"] = 2] = "Attributes";
|
|
852
|
+
EntityFilters2[EntityFilters2["Privileges"] = 4] = "Privileges";
|
|
853
|
+
EntityFilters2[EntityFilters2["Relationships"] = 8] = "Relationships";
|
|
854
|
+
EntityFilters2[EntityFilters2["All"] = 15] = "All";
|
|
855
|
+
return EntityFilters2;
|
|
856
|
+
})(EntityFilters || {});
|
|
857
|
+
|
|
858
|
+
// src/types/EntityKeyIndexStatus.ts
|
|
859
|
+
var EntityKeyIndexStatus = /* @__PURE__ */ ((EntityKeyIndexStatus2) => {
|
|
860
|
+
EntityKeyIndexStatus2[EntityKeyIndexStatus2["Pending"] = 0] = "Pending";
|
|
861
|
+
EntityKeyIndexStatus2[EntityKeyIndexStatus2["InProgress"] = 1] = "InProgress";
|
|
862
|
+
EntityKeyIndexStatus2[EntityKeyIndexStatus2["Active"] = 2] = "Active";
|
|
863
|
+
EntityKeyIndexStatus2[EntityKeyIndexStatus2["Failed"] = 3] = "Failed";
|
|
864
|
+
return EntityKeyIndexStatus2;
|
|
865
|
+
})(EntityKeyIndexStatus || {});
|
|
866
|
+
|
|
867
|
+
// src/types/ErrorType.ts
|
|
868
|
+
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
869
|
+
ErrorType2[ErrorType2["Error"] = 1] = "Error";
|
|
870
|
+
ErrorType2[ErrorType2["Warning"] = 2] = "Warning";
|
|
871
|
+
return ErrorType2;
|
|
872
|
+
})(ErrorType || {});
|
|
873
|
+
|
|
874
|
+
// src/types/ImeMode.ts
|
|
875
|
+
var ImeMode = /* @__PURE__ */ ((ImeMode2) => {
|
|
876
|
+
ImeMode2[ImeMode2["Auto"] = 0] = "Auto";
|
|
877
|
+
ImeMode2[ImeMode2["Inactive"] = 1] = "Inactive";
|
|
878
|
+
ImeMode2[ImeMode2["Active"] = 2] = "Active";
|
|
879
|
+
ImeMode2[ImeMode2["Disabled"] = 3] = "Disabled";
|
|
880
|
+
return ImeMode2;
|
|
881
|
+
})(ImeMode || {});
|
|
882
|
+
|
|
883
|
+
// src/types/ImportDecision.ts
|
|
884
|
+
var ImportDecision = /* @__PURE__ */ ((ImportDecision2) => {
|
|
885
|
+
ImportDecision2[ImportDecision2["Import"] = 0] = "Import";
|
|
886
|
+
ImportDecision2[ImportDecision2["Skip"] = 1] = "Skip";
|
|
887
|
+
return ImportDecision2;
|
|
888
|
+
})(ImportDecision || {});
|
|
889
|
+
|
|
890
|
+
// src/types/IntegerFormat.ts
|
|
891
|
+
var IntegerFormat = /* @__PURE__ */ ((IntegerFormat2) => {
|
|
892
|
+
IntegerFormat2[IntegerFormat2["None"] = 0] = "None";
|
|
893
|
+
IntegerFormat2[IntegerFormat2["Duration"] = 1] = "Duration";
|
|
894
|
+
IntegerFormat2[IntegerFormat2["TimeZone"] = 2] = "TimeZone";
|
|
895
|
+
IntegerFormat2[IntegerFormat2["Language"] = 3] = "Language";
|
|
896
|
+
IntegerFormat2[IntegerFormat2["Locale"] = 4] = "Locale";
|
|
897
|
+
return IntegerFormat2;
|
|
898
|
+
})(IntegerFormat || {});
|
|
899
|
+
|
|
900
|
+
// src/types/JoinOperator.ts
|
|
901
|
+
var JoinOperator = /* @__PURE__ */ ((JoinOperator2) => {
|
|
902
|
+
JoinOperator2[JoinOperator2["Inner"] = 0] = "Inner";
|
|
903
|
+
JoinOperator2[JoinOperator2["LeftOuter"] = 1] = "LeftOuter";
|
|
904
|
+
JoinOperator2[JoinOperator2["Natural"] = 2] = "Natural";
|
|
905
|
+
JoinOperator2[JoinOperator2["MatchFirstRowUsingCrossApply"] = 3] = "MatchFirstRowUsingCrossApply";
|
|
906
|
+
JoinOperator2[JoinOperator2["In"] = 4] = "In";
|
|
907
|
+
JoinOperator2[JoinOperator2["Exists"] = 5] = "Exists";
|
|
908
|
+
JoinOperator2[JoinOperator2["Any"] = 6] = "Any";
|
|
909
|
+
JoinOperator2[JoinOperator2["NotAny"] = 7] = "NotAny";
|
|
910
|
+
JoinOperator2[JoinOperator2["All"] = 8] = "All";
|
|
911
|
+
JoinOperator2[JoinOperator2["NotAll"] = 9] = "NotAll";
|
|
912
|
+
return JoinOperator2;
|
|
913
|
+
})(JoinOperator || {});
|
|
914
|
+
|
|
915
|
+
// src/types/LayerDesiredOrderType.ts
|
|
916
|
+
var LayerDesiredOrderType = /* @__PURE__ */ ((LayerDesiredOrderType2) => {
|
|
917
|
+
LayerDesiredOrderType2[LayerDesiredOrderType2["Below"] = 0] = "Below";
|
|
918
|
+
LayerDesiredOrderType2[LayerDesiredOrderType2["Above"] = 1] = "Above";
|
|
919
|
+
LayerDesiredOrderType2[LayerDesiredOrderType2["Base"] = 2] = "Base";
|
|
920
|
+
return LayerDesiredOrderType2;
|
|
921
|
+
})(LayerDesiredOrderType || {});
|
|
922
|
+
|
|
923
|
+
// src/types/LogicalOperator.ts
|
|
924
|
+
var LogicalOperator = /* @__PURE__ */ ((LogicalOperator2) => {
|
|
925
|
+
LogicalOperator2[LogicalOperator2["And"] = 0] = "And";
|
|
926
|
+
LogicalOperator2[LogicalOperator2["Or"] = 1] = "Or";
|
|
927
|
+
return LogicalOperator2;
|
|
928
|
+
})(LogicalOperator || {});
|
|
929
|
+
|
|
930
|
+
// src/types/LookupFormat.ts
|
|
931
|
+
var LookupFormat = /* @__PURE__ */ ((LookupFormat2) => {
|
|
932
|
+
LookupFormat2[LookupFormat2["None"] = 0] = "None";
|
|
933
|
+
LookupFormat2[LookupFormat2["Connection"] = 1] = "Connection";
|
|
934
|
+
LookupFormat2[LookupFormat2["Regarding"] = 2] = "Regarding";
|
|
935
|
+
LookupFormat2[LookupFormat2["Text"] = 3] = "Text";
|
|
936
|
+
return LookupFormat2;
|
|
937
|
+
})(LookupFormat || {});
|
|
938
|
+
|
|
939
|
+
// src/types/ManagedPropertyEvaluationPriority.ts
|
|
940
|
+
var ManagedPropertyEvaluationPriority = /* @__PURE__ */ ((ManagedPropertyEvaluationPriority2) => {
|
|
941
|
+
ManagedPropertyEvaluationPriority2[ManagedPropertyEvaluationPriority2["None"] = 0] = "None";
|
|
942
|
+
ManagedPropertyEvaluationPriority2[ManagedPropertyEvaluationPriority2["Low"] = 1] = "Low";
|
|
943
|
+
ManagedPropertyEvaluationPriority2[ManagedPropertyEvaluationPriority2["Normal"] = 2] = "Normal";
|
|
944
|
+
ManagedPropertyEvaluationPriority2[ManagedPropertyEvaluationPriority2["High"] = 3] = "High";
|
|
945
|
+
ManagedPropertyEvaluationPriority2[ManagedPropertyEvaluationPriority2["Essential"] = 4] = "Essential";
|
|
946
|
+
return ManagedPropertyEvaluationPriority2;
|
|
947
|
+
})(ManagedPropertyEvaluationPriority || {});
|
|
948
|
+
|
|
949
|
+
// src/types/ManagedPropertyOperation.ts
|
|
950
|
+
var ManagedPropertyOperation = /* @__PURE__ */ ((ManagedPropertyOperation2) => {
|
|
951
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["None"] = 0] = "None";
|
|
952
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["Create"] = 1] = "Create";
|
|
953
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["Update"] = 2] = "Update";
|
|
954
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["CreateUpdate"] = 3] = "CreateUpdate";
|
|
955
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["Delete"] = 4] = "Delete";
|
|
956
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["UpdateDelete"] = 6] = "UpdateDelete";
|
|
957
|
+
ManagedPropertyOperation2[ManagedPropertyOperation2["All"] = 7] = "All";
|
|
958
|
+
return ManagedPropertyOperation2;
|
|
959
|
+
})(ManagedPropertyOperation || {});
|
|
960
|
+
|
|
961
|
+
// src/types/ManagedPropertyType.ts
|
|
962
|
+
var ManagedPropertyType = /* @__PURE__ */ ((ManagedPropertyType2) => {
|
|
963
|
+
ManagedPropertyType2[ManagedPropertyType2["Operation"] = 0] = "Operation";
|
|
964
|
+
ManagedPropertyType2[ManagedPropertyType2["Attribute"] = 1] = "Attribute";
|
|
965
|
+
ManagedPropertyType2[ManagedPropertyType2["CustomEvaluator"] = 2] = "CustomEvaluator";
|
|
966
|
+
ManagedPropertyType2[ManagedPropertyType2["Custom"] = 3] = "Custom";
|
|
967
|
+
return ManagedPropertyType2;
|
|
968
|
+
})(ManagedPropertyType || {});
|
|
969
|
+
|
|
970
|
+
// src/types/MetadataConditionOperator.ts
|
|
971
|
+
var MetadataConditionOperator = /* @__PURE__ */ ((MetadataConditionOperator2) => {
|
|
972
|
+
MetadataConditionOperator2[MetadataConditionOperator2["Equals"] = 0] = "Equals";
|
|
973
|
+
MetadataConditionOperator2[MetadataConditionOperator2["NotEquals"] = 1] = "NotEquals";
|
|
974
|
+
MetadataConditionOperator2[MetadataConditionOperator2["In"] = 2] = "In";
|
|
975
|
+
MetadataConditionOperator2[MetadataConditionOperator2["NotIn"] = 3] = "NotIn";
|
|
976
|
+
MetadataConditionOperator2[MetadataConditionOperator2["GreaterThan"] = 4] = "GreaterThan";
|
|
977
|
+
MetadataConditionOperator2[MetadataConditionOperator2["LessThan"] = 5] = "LessThan";
|
|
978
|
+
return MetadataConditionOperator2;
|
|
979
|
+
})(MetadataConditionOperator || {});
|
|
980
|
+
|
|
981
|
+
// src/types/MissingPackageResolutionAction.ts
|
|
982
|
+
var MissingPackageResolutionAction = /* @__PURE__ */ ((MissingPackageResolutionAction2) => {
|
|
983
|
+
MissingPackageResolutionAction2[MissingPackageResolutionAction2["Install"] = 0] = "Install";
|
|
984
|
+
MissingPackageResolutionAction2[MissingPackageResolutionAction2["Update"] = 1] = "Update";
|
|
985
|
+
MissingPackageResolutionAction2[MissingPackageResolutionAction2["Ignore"] = 2] = "Ignore";
|
|
986
|
+
return MissingPackageResolutionAction2;
|
|
987
|
+
})(MissingPackageResolutionAction || {});
|
|
988
|
+
|
|
989
|
+
// src/types/OptionSetType.ts
|
|
990
|
+
var OptionSetType = /* @__PURE__ */ ((OptionSetType2) => {
|
|
991
|
+
OptionSetType2[OptionSetType2["Picklist"] = 0] = "Picklist";
|
|
992
|
+
OptionSetType2[OptionSetType2["State"] = 1] = "State";
|
|
993
|
+
OptionSetType2[OptionSetType2["Status"] = 2] = "Status";
|
|
994
|
+
OptionSetType2[OptionSetType2["Boolean"] = 3] = "Boolean";
|
|
995
|
+
return OptionSetType2;
|
|
996
|
+
})(OptionSetType || {});
|
|
997
|
+
|
|
998
|
+
// src/types/OrderType.ts
|
|
999
|
+
var OrderType = /* @__PURE__ */ ((OrderType2) => {
|
|
1000
|
+
OrderType2[OrderType2["Ascending"] = 0] = "Ascending";
|
|
1001
|
+
OrderType2[OrderType2["Descending"] = 1] = "Descending";
|
|
1002
|
+
return OrderType2;
|
|
1003
|
+
})(OrderType || {});
|
|
1004
|
+
|
|
1005
|
+
// src/types/OrganizationState.ts
|
|
1006
|
+
var OrganizationState = /* @__PURE__ */ ((OrganizationState2) => {
|
|
1007
|
+
OrganizationState2[OrganizationState2["Enabled"] = 0] = "Enabled";
|
|
1008
|
+
OrganizationState2[OrganizationState2["Disabled"] = 1] = "Disabled";
|
|
1009
|
+
return OrganizationState2;
|
|
1010
|
+
})(OrganizationState || {});
|
|
1011
|
+
|
|
1012
|
+
// src/types/OrganizationType.ts
|
|
1013
|
+
var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
|
|
1014
|
+
OrganizationType2[OrganizationType2["Customer"] = 0] = "Customer";
|
|
1015
|
+
OrganizationType2[OrganizationType2["Monitoring"] = 1] = "Monitoring";
|
|
1016
|
+
OrganizationType2[OrganizationType2["Support"] = 2] = "Support";
|
|
1017
|
+
OrganizationType2[OrganizationType2["BackEnd"] = 3] = "BackEnd";
|
|
1018
|
+
OrganizationType2[OrganizationType2["Secondary"] = 4] = "Secondary";
|
|
1019
|
+
OrganizationType2[OrganizationType2["CustomerTest"] = 5] = "CustomerTest";
|
|
1020
|
+
OrganizationType2[OrganizationType2["CustomerFreeTest"] = 6] = "CustomerFreeTest";
|
|
1021
|
+
OrganizationType2[OrganizationType2["CustomerPreview"] = 7] = "CustomerPreview";
|
|
1022
|
+
OrganizationType2[OrganizationType2["Placeholder"] = 8] = "Placeholder";
|
|
1023
|
+
OrganizationType2[OrganizationType2["TestDrive"] = 9] = "TestDrive";
|
|
1024
|
+
OrganizationType2[OrganizationType2["MsftInvestigation"] = 10] = "MsftInvestigation";
|
|
1025
|
+
OrganizationType2[OrganizationType2["EmailTrial"] = 11] = "EmailTrial";
|
|
1026
|
+
OrganizationType2[OrganizationType2["Default"] = 12] = "Default";
|
|
1027
|
+
OrganizationType2[OrganizationType2["Developer"] = 13] = "Developer";
|
|
1028
|
+
OrganizationType2[OrganizationType2["Trial"] = 14] = "Trial";
|
|
1029
|
+
OrganizationType2[OrganizationType2["Teams"] = 15] = "Teams";
|
|
1030
|
+
OrganizationType2[OrganizationType2["Platform"] = 16] = "Platform";
|
|
1031
|
+
return OrganizationType2;
|
|
1032
|
+
})(OrganizationType || {});
|
|
1033
|
+
|
|
1034
|
+
// src/types/OwnershipTypes.ts
|
|
1035
|
+
var OwnershipTypes = /* @__PURE__ */ ((OwnershipTypes2) => {
|
|
1036
|
+
OwnershipTypes2[OwnershipTypes2["None"] = 0] = "None";
|
|
1037
|
+
OwnershipTypes2[OwnershipTypes2["UserOwned"] = 1] = "UserOwned";
|
|
1038
|
+
OwnershipTypes2[OwnershipTypes2["TeamOwned"] = 2] = "TeamOwned";
|
|
1039
|
+
OwnershipTypes2[OwnershipTypes2["BusinessOwned"] = 4] = "BusinessOwned";
|
|
1040
|
+
OwnershipTypes2[OwnershipTypes2["OrganizationOwned"] = 8] = "OrganizationOwned";
|
|
1041
|
+
OwnershipTypes2[OwnershipTypes2["BusinessParented"] = 16] = "BusinessParented";
|
|
1042
|
+
OwnershipTypes2[OwnershipTypes2["Filtered"] = 32] = "Filtered";
|
|
1043
|
+
return OwnershipTypes2;
|
|
1044
|
+
})(OwnershipTypes || {});
|
|
1045
|
+
|
|
1046
|
+
// src/types/PresentInOrg.ts
|
|
1047
|
+
var PresentInOrg = /* @__PURE__ */ ((PresentInOrg2) => {
|
|
1048
|
+
PresentInOrg2[PresentInOrg2["False"] = 0] = "False";
|
|
1049
|
+
PresentInOrg2[PresentInOrg2["True"] = 1] = "True";
|
|
1050
|
+
PresentInOrg2[PresentInOrg2["Unknown"] = 2] = "Unknown";
|
|
1051
|
+
return PresentInOrg2;
|
|
1052
|
+
})(PresentInOrg || {});
|
|
1053
|
+
|
|
1054
|
+
// src/types/PrivilegeDepth.ts
|
|
1055
|
+
var PrivilegeDepth = /* @__PURE__ */ ((PrivilegeDepth2) => {
|
|
1056
|
+
PrivilegeDepth2[PrivilegeDepth2["Basic"] = 0] = "Basic";
|
|
1057
|
+
PrivilegeDepth2[PrivilegeDepth2["Local"] = 1] = "Local";
|
|
1058
|
+
PrivilegeDepth2[PrivilegeDepth2["Deep"] = 2] = "Deep";
|
|
1059
|
+
PrivilegeDepth2[PrivilegeDepth2["Global"] = 3] = "Global";
|
|
1060
|
+
PrivilegeDepth2[PrivilegeDepth2["RecordFilter"] = 4] = "RecordFilter";
|
|
1061
|
+
return PrivilegeDepth2;
|
|
1062
|
+
})(PrivilegeDepth || {});
|
|
1063
|
+
|
|
1064
|
+
// src/types/PrivilegeType.ts
|
|
1065
|
+
var PrivilegeType = /* @__PURE__ */ ((PrivilegeType2) => {
|
|
1066
|
+
PrivilegeType2[PrivilegeType2["None"] = 0] = "None";
|
|
1067
|
+
PrivilegeType2[PrivilegeType2["Create"] = 1] = "Create";
|
|
1068
|
+
PrivilegeType2[PrivilegeType2["Read"] = 2] = "Read";
|
|
1069
|
+
PrivilegeType2[PrivilegeType2["Write"] = 3] = "Write";
|
|
1070
|
+
PrivilegeType2[PrivilegeType2["Delete"] = 4] = "Delete";
|
|
1071
|
+
PrivilegeType2[PrivilegeType2["Assign"] = 5] = "Assign";
|
|
1072
|
+
PrivilegeType2[PrivilegeType2["Share"] = 6] = "Share";
|
|
1073
|
+
PrivilegeType2[PrivilegeType2["Append"] = 7] = "Append";
|
|
1074
|
+
PrivilegeType2[PrivilegeType2["AppendTo"] = 8] = "AppendTo";
|
|
1075
|
+
return PrivilegeType2;
|
|
1076
|
+
})(PrivilegeType || {});
|
|
1077
|
+
|
|
1078
|
+
// src/types/PropagationOwnershipOptions.ts
|
|
1079
|
+
var PropagationOwnershipOptions = /* @__PURE__ */ ((PropagationOwnershipOptions2) => {
|
|
1080
|
+
PropagationOwnershipOptions2[PropagationOwnershipOptions2["None"] = 0] = "None";
|
|
1081
|
+
PropagationOwnershipOptions2[PropagationOwnershipOptions2["Caller"] = 1] = "Caller";
|
|
1082
|
+
PropagationOwnershipOptions2[PropagationOwnershipOptions2["ListMemberOwner"] = 2] = "ListMemberOwner";
|
|
1083
|
+
return PropagationOwnershipOptions2;
|
|
1084
|
+
})(PropagationOwnershipOptions || {});
|
|
1085
|
+
|
|
1086
|
+
// src/types/ProvisionLanguageForUserStatusType.ts
|
|
1087
|
+
var ProvisionLanguageForUserStatusType = /* @__PURE__ */ ((ProvisionLanguageForUserStatusType2) => {
|
|
1088
|
+
ProvisionLanguageForUserStatusType2[ProvisionLanguageForUserStatusType2["Queued"] = 0] = "Queued";
|
|
1089
|
+
ProvisionLanguageForUserStatusType2[ProvisionLanguageForUserStatusType2["Completed"] = 1] = "Completed";
|
|
1090
|
+
ProvisionLanguageForUserStatusType2[ProvisionLanguageForUserStatusType2["Skipped"] = 2] = "Skipped";
|
|
1091
|
+
return ProvisionLanguageForUserStatusType2;
|
|
1092
|
+
})(ProvisionLanguageForUserStatusType || {});
|
|
1093
|
+
|
|
1094
|
+
// src/types/RecentlyViewedRecordType.ts
|
|
1095
|
+
var RecentlyViewedRecordType = /* @__PURE__ */ ((RecentlyViewedRecordType2) => {
|
|
1096
|
+
RecentlyViewedRecordType2[RecentlyViewedRecordType2["Entity"] = 0] = "Entity";
|
|
1097
|
+
RecentlyViewedRecordType2[RecentlyViewedRecordType2["Grid"] = 1] = "Grid";
|
|
1098
|
+
RecentlyViewedRecordType2[RecentlyViewedRecordType2["Isv"] = 2] = "Isv";
|
|
1099
|
+
RecentlyViewedRecordType2[RecentlyViewedRecordType2["Invalid"] = -1] = "Invalid";
|
|
1100
|
+
return RecentlyViewedRecordType2;
|
|
1101
|
+
})(RecentlyViewedRecordType || {});
|
|
1102
|
+
|
|
1103
|
+
// src/types/RelationshipType.ts
|
|
1104
|
+
var RelationshipType = /* @__PURE__ */ ((RelationshipType2) => {
|
|
1105
|
+
RelationshipType2[RelationshipType2["OneToManyRelationship"] = 0] = "OneToManyRelationship";
|
|
1106
|
+
RelationshipType2[RelationshipType2["ManyToManyRelationship"] = 1] = "ManyToManyRelationship";
|
|
1107
|
+
return RelationshipType2;
|
|
1108
|
+
})(RelationshipType || {});
|
|
1109
|
+
|
|
1110
|
+
// src/types/ResultCode.ts
|
|
1111
|
+
var ResultCode = /* @__PURE__ */ ((ResultCode2) => {
|
|
1112
|
+
ResultCode2[ResultCode2["Successful"] = 0] = "Successful";
|
|
1113
|
+
ResultCode2[ResultCode2["Failed"] = 1] = "Failed";
|
|
1114
|
+
ResultCode2[ResultCode2["Skipped"] = 2] = "Skipped";
|
|
1115
|
+
return ResultCode2;
|
|
1116
|
+
})(ResultCode || {});
|
|
1117
|
+
|
|
1118
|
+
// src/types/RibbonLocationFilters.ts
|
|
1119
|
+
var RibbonLocationFilters = /* @__PURE__ */ ((RibbonLocationFilters2) => {
|
|
1120
|
+
RibbonLocationFilters2[RibbonLocationFilters2["Form"] = 1] = "Form";
|
|
1121
|
+
RibbonLocationFilters2[RibbonLocationFilters2["HomepageGrid"] = 2] = "HomepageGrid";
|
|
1122
|
+
RibbonLocationFilters2[RibbonLocationFilters2["SubGrid"] = 4] = "SubGrid";
|
|
1123
|
+
RibbonLocationFilters2[RibbonLocationFilters2["All"] = 7] = "All";
|
|
1124
|
+
return RibbonLocationFilters2;
|
|
1125
|
+
})(RibbonLocationFilters || {});
|
|
1126
|
+
|
|
1127
|
+
// src/types/RollupType.ts
|
|
1128
|
+
var RollupType = /* @__PURE__ */ ((RollupType2) => {
|
|
1129
|
+
RollupType2[RollupType2["None"] = 0] = "None";
|
|
1130
|
+
RollupType2[RollupType2["Related"] = 1] = "Related";
|
|
1131
|
+
RollupType2[RollupType2["Extended"] = 2] = "Extended";
|
|
1132
|
+
return RollupType2;
|
|
1133
|
+
})(RollupType || {});
|
|
1134
|
+
|
|
1135
|
+
// src/types/SearchDirection.ts
|
|
1136
|
+
var SearchDirection = /* @__PURE__ */ ((SearchDirection2) => {
|
|
1137
|
+
SearchDirection2[SearchDirection2["Forward"] = 0] = "Forward";
|
|
1138
|
+
SearchDirection2[SearchDirection2["Backward"] = 1] = "Backward";
|
|
1139
|
+
return SearchDirection2;
|
|
1140
|
+
})(SearchDirection || {});
|
|
1141
|
+
|
|
1142
|
+
// src/types/SecurityTypes.ts
|
|
1143
|
+
var SecurityTypes = /* @__PURE__ */ ((SecurityTypes2) => {
|
|
1144
|
+
SecurityTypes2[SecurityTypes2["None"] = 0] = "None";
|
|
1145
|
+
SecurityTypes2[SecurityTypes2["Append"] = 1] = "Append";
|
|
1146
|
+
SecurityTypes2[SecurityTypes2["ParentChild"] = 2] = "ParentChild";
|
|
1147
|
+
SecurityTypes2[SecurityTypes2["Pointer"] = 4] = "Pointer";
|
|
1148
|
+
SecurityTypes2[SecurityTypes2["Inheritance"] = 8] = "Inheritance";
|
|
1149
|
+
return SecurityTypes2;
|
|
1150
|
+
})(SecurityTypes || {});
|
|
1151
|
+
|
|
1152
|
+
// src/types/ShareAccessRights.ts
|
|
1153
|
+
var ShareAccessRights = /* @__PURE__ */ ((ShareAccessRights2) => {
|
|
1154
|
+
ShareAccessRights2[ShareAccessRights2["None"] = 0] = "None";
|
|
1155
|
+
ShareAccessRights2[ShareAccessRights2["ReadAccess"] = 1] = "ReadAccess";
|
|
1156
|
+
ShareAccessRights2[ShareAccessRights2["WriteAccess"] = 2] = "WriteAccess";
|
|
1157
|
+
ShareAccessRights2[ShareAccessRights2["AppendAccess"] = 4] = "AppendAccess";
|
|
1158
|
+
ShareAccessRights2[ShareAccessRights2["AppendToAccess"] = 16] = "AppendToAccess";
|
|
1159
|
+
ShareAccessRights2[ShareAccessRights2["CreateAccess"] = 32] = "CreateAccess";
|
|
1160
|
+
ShareAccessRights2[ShareAccessRights2["DeleteAccess"] = 65536] = "DeleteAccess";
|
|
1161
|
+
ShareAccessRights2[ShareAccessRights2["ShareAccess"] = 262144] = "ShareAccess";
|
|
1162
|
+
ShareAccessRights2[ShareAccessRights2["AssignAccess"] = 524288] = "AssignAccess";
|
|
1163
|
+
return ShareAccessRights2;
|
|
1164
|
+
})(ShareAccessRights || {});
|
|
1165
|
+
|
|
1166
|
+
// src/types/SolutionOperationStatus.ts
|
|
1167
|
+
var SolutionOperationStatus = /* @__PURE__ */ ((SolutionOperationStatus2) => {
|
|
1168
|
+
SolutionOperationStatus2[SolutionOperationStatus2["Failed"] = 0] = "Failed";
|
|
1169
|
+
SolutionOperationStatus2[SolutionOperationStatus2["Passed"] = 1] = "Passed";
|
|
1170
|
+
return SolutionOperationStatus2;
|
|
1171
|
+
})(SolutionOperationStatus || {});
|
|
1172
|
+
|
|
1173
|
+
// src/types/SolutionOperationType.ts
|
|
1174
|
+
var SolutionOperationType = /* @__PURE__ */ ((SolutionOperationType2) => {
|
|
1175
|
+
SolutionOperationType2[SolutionOperationType2["Import"] = 0] = "Import";
|
|
1176
|
+
return SolutionOperationType2;
|
|
1177
|
+
})(SolutionOperationType || {});
|
|
1178
|
+
|
|
1179
|
+
// src/types/SolutionValidationResultType.ts
|
|
1180
|
+
var SolutionValidationResultType = /* @__PURE__ */ ((SolutionValidationResultType2) => {
|
|
1181
|
+
SolutionValidationResultType2[SolutionValidationResultType2["Info"] = 0] = "Info";
|
|
1182
|
+
SolutionValidationResultType2[SolutionValidationResultType2["Warning"] = 1] = "Warning";
|
|
1183
|
+
SolutionValidationResultType2[SolutionValidationResultType2["Error"] = 2] = "Error";
|
|
1184
|
+
return SolutionValidationResultType2;
|
|
1185
|
+
})(SolutionValidationResultType || {});
|
|
1186
|
+
|
|
1187
|
+
// src/types/StageSolutionStatus.ts
|
|
1188
|
+
var StageSolutionStatus = /* @__PURE__ */ ((StageSolutionStatus2) => {
|
|
1189
|
+
StageSolutionStatus2[StageSolutionStatus2["Failed"] = 0] = "Failed";
|
|
1190
|
+
StageSolutionStatus2[StageSolutionStatus2["Passed"] = 1] = "Passed";
|
|
1191
|
+
return StageSolutionStatus2;
|
|
1192
|
+
})(StageSolutionStatus || {});
|
|
1193
|
+
|
|
1194
|
+
// src/types/StringFormat.ts
|
|
1195
|
+
var StringFormat = /* @__PURE__ */ ((StringFormat2) => {
|
|
1196
|
+
StringFormat2[StringFormat2["Email"] = 0] = "Email";
|
|
1197
|
+
StringFormat2[StringFormat2["Text"] = 1] = "Text";
|
|
1198
|
+
StringFormat2[StringFormat2["TextArea"] = 2] = "TextArea";
|
|
1199
|
+
StringFormat2[StringFormat2["Url"] = 3] = "Url";
|
|
1200
|
+
StringFormat2[StringFormat2["TickerSymbol"] = 4] = "TickerSymbol";
|
|
1201
|
+
StringFormat2[StringFormat2["PhoneticGuide"] = 5] = "PhoneticGuide";
|
|
1202
|
+
StringFormat2[StringFormat2["VersionNumber"] = 6] = "VersionNumber";
|
|
1203
|
+
StringFormat2[StringFormat2["Phone"] = 7] = "Phone";
|
|
1204
|
+
StringFormat2[StringFormat2["Json"] = 8] = "Json";
|
|
1205
|
+
StringFormat2[StringFormat2["RichText"] = 9] = "RichText";
|
|
1206
|
+
return StringFormat2;
|
|
1207
|
+
})(StringFormat || {});
|
|
1208
|
+
|
|
1209
|
+
// src/types/SubCode.ts
|
|
1210
|
+
var SubCode = /* @__PURE__ */ ((SubCode2) => {
|
|
1211
|
+
SubCode2[SubCode2["Unspecified"] = 0] = "Unspecified";
|
|
1212
|
+
SubCode2[SubCode2["Schedulable"] = 1] = "Schedulable";
|
|
1213
|
+
SubCode2[SubCode2["Committed"] = 2] = "Committed";
|
|
1214
|
+
SubCode2[SubCode2["Uncommitted"] = 3] = "Uncommitted";
|
|
1215
|
+
SubCode2[SubCode2["Break"] = 4] = "Break";
|
|
1216
|
+
SubCode2[SubCode2["Holiday"] = 5] = "Holiday";
|
|
1217
|
+
SubCode2[SubCode2["Vacation"] = 6] = "Vacation";
|
|
1218
|
+
SubCode2[SubCode2["Appointment"] = 7] = "Appointment";
|
|
1219
|
+
SubCode2[SubCode2["ResourceStartTime"] = 8] = "ResourceStartTime";
|
|
1220
|
+
SubCode2[SubCode2["ResourceServiceRestriction"] = 9] = "ResourceServiceRestriction";
|
|
1221
|
+
SubCode2[SubCode2["ResourceCapacity"] = 10] = "ResourceCapacity";
|
|
1222
|
+
SubCode2[SubCode2["ServiceRestriction"] = 11] = "ServiceRestriction";
|
|
1223
|
+
SubCode2[SubCode2["ServiceCost"] = 12] = "ServiceCost";
|
|
1224
|
+
return SubCode2;
|
|
1225
|
+
})(SubCode || {});
|
|
1226
|
+
|
|
1227
|
+
// src/types/SubstitutionStatus.ts
|
|
1228
|
+
var SubstitutionStatus = /* @__PURE__ */ ((SubstitutionStatus2) => {
|
|
1229
|
+
SubstitutionStatus2[SubstitutionStatus2["Success"] = 0] = "Success";
|
|
1230
|
+
SubstitutionStatus2[SubstitutionStatus2["Error"] = 1] = "Error";
|
|
1231
|
+
SubstitutionStatus2[SubstitutionStatus2["Warning"] = 2] = "Warning";
|
|
1232
|
+
return SubstitutionStatus2;
|
|
1233
|
+
})(SubstitutionStatus || {});
|
|
1234
|
+
|
|
1235
|
+
// src/types/TargetFieldType.ts
|
|
1236
|
+
var TargetFieldType = /* @__PURE__ */ ((TargetFieldType2) => {
|
|
1237
|
+
TargetFieldType2[TargetFieldType2["All"] = 0] = "All";
|
|
1238
|
+
TargetFieldType2[TargetFieldType2["ValidForCreate"] = 1] = "ValidForCreate";
|
|
1239
|
+
TargetFieldType2[TargetFieldType2["ValidForUpdate"] = 2] = "ValidForUpdate";
|
|
1240
|
+
TargetFieldType2[TargetFieldType2["ValidForRead"] = 3] = "ValidForRead";
|
|
1241
|
+
return TargetFieldType2;
|
|
1242
|
+
})(TargetFieldType || {});
|
|
1243
|
+
|
|
1244
|
+
// src/types/TimeCode.ts
|
|
1245
|
+
var TimeCode = /* @__PURE__ */ ((TimeCode2) => {
|
|
1246
|
+
TimeCode2[TimeCode2["Available"] = 0] = "Available";
|
|
1247
|
+
TimeCode2[TimeCode2["Busy"] = 1] = "Busy";
|
|
1248
|
+
TimeCode2[TimeCode2["Unavailable"] = 2] = "Unavailable";
|
|
1249
|
+
TimeCode2[TimeCode2["Filter"] = 3] = "Filter";
|
|
1250
|
+
return TimeCode2;
|
|
1251
|
+
})(TimeCode || {});
|
|
1252
|
+
|
|
1253
|
+
// src/types/ValidateSolutionStatus.ts
|
|
1254
|
+
var ValidateSolutionStatus = /* @__PURE__ */ ((ValidateSolutionStatus2) => {
|
|
1255
|
+
ValidateSolutionStatus2[ValidateSolutionStatus2["Failed"] = 0] = "Failed";
|
|
1256
|
+
ValidateSolutionStatus2[ValidateSolutionStatus2["Passed"] = 1] = "Passed";
|
|
1257
|
+
return ValidateSolutionStatus2;
|
|
1258
|
+
})(ValidateSolutionStatus || {});
|
|
1259
|
+
|
|
1260
|
+
// src/types/XrmAggregateType.ts
|
|
1261
|
+
var XrmAggregateType = /* @__PURE__ */ ((XrmAggregateType2) => {
|
|
1262
|
+
XrmAggregateType2[XrmAggregateType2["None"] = 0] = "None";
|
|
1263
|
+
XrmAggregateType2[XrmAggregateType2["Count"] = 1] = "Count";
|
|
1264
|
+
XrmAggregateType2[XrmAggregateType2["CountColumn"] = 2] = "CountColumn";
|
|
1265
|
+
XrmAggregateType2[XrmAggregateType2["Sum"] = 3] = "Sum";
|
|
1266
|
+
XrmAggregateType2[XrmAggregateType2["Avg"] = 4] = "Avg";
|
|
1267
|
+
XrmAggregateType2[XrmAggregateType2["Min"] = 5] = "Min";
|
|
1268
|
+
XrmAggregateType2[XrmAggregateType2["Max"] = 6] = "Max";
|
|
1269
|
+
return XrmAggregateType2;
|
|
1270
|
+
})(XrmAggregateType || {});
|
|
1271
|
+
|
|
1272
|
+
// src/types/XrmDateTimeGrouping.ts
|
|
1273
|
+
var XrmDateTimeGrouping = /* @__PURE__ */ ((XrmDateTimeGrouping2) => {
|
|
1274
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["None"] = 0] = "None";
|
|
1275
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["Day"] = 1] = "Day";
|
|
1276
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["Week"] = 2] = "Week";
|
|
1277
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["Month"] = 3] = "Month";
|
|
1278
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["Quarter"] = 4] = "Quarter";
|
|
1279
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["Year"] = 5] = "Year";
|
|
1280
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["FiscalPeriod"] = 6] = "FiscalPeriod";
|
|
1281
|
+
XrmDateTimeGrouping2[XrmDateTimeGrouping2["FiscalYear"] = 7] = "FiscalYear";
|
|
1282
|
+
return XrmDateTimeGrouping2;
|
|
1283
|
+
})(XrmDateTimeGrouping || {});
|
|
1284
|
+
|
|
1285
|
+
export { AccessRights, AssociatedMenuBehavior, AssociatedMenuGroup, AttributeRequiredLevel, AttributeTypeCode, BusinessNotificationParameterType, BusinessNotificationSeverity, CascadeType, ChannelAccessProfilePrivilegeDepth, ConditionOperator, DateTimeFormat, DeletedMetadataFilters, DependencyDepth, EndpointAccessType, EndpointType, EntityClusterMode, EntityFilters, EntityKeyIndexStatus, ErrorType, ImeMode, ImportDecision, IntegerFormat, JoinOperator, LayerDesiredOrderType, LogicalOperator, LookupFormat, ManagedPropertyEvaluationPriority, ManagedPropertyOperation, ManagedPropertyType, MetadataClient, MetadataConditionOperator, MissingPackageResolutionAction, OptionSetType, OrderType, OrganizationState, OrganizationType, OwnershipTypes, PresentInOrg, PrivilegeDepth, PrivilegeType, PropagationOwnershipOptions, ProvisionLanguageForUserStatusType, RecentlyViewedRecordType, RelationshipType, ResultCode, RibbonLocationFilters, RollupType, SearchDirection, SecurityTypes, ShareAccessRights, SolutionOperationStatus, SolutionOperationType, SolutionValidationResultType, StageSolutionStatus, StringFormat, SubCode, SubstitutionStatus, TargetFieldType, TimeCode, ValidateSolutionStatus, XrmAggregateType, XrmDateTimeGrouping };
|
|
1286
|
+
//# sourceMappingURL=index.js.map
|
|
1287
|
+
//# sourceMappingURL=index.js.map
|