@salesforce/lds-adapters-cdp-semantic-authoring 1.400.0 → 1.402.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.
Files changed (29) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +3500 -2131
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticDimensionHierarchy.d.ts +22 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +2 -0
  4. package/dist/es/es2018/types/src/generated/adapters/deleteSemanticDimensionHierarchy.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getSemanticDimensionHierarchies.d.ts +28 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getSemanticDimensionHierarchy.d.ts +29 -0
  7. package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +2 -0
  8. package/dist/es/es2018/types/src/generated/adapters/updateSemanticDimensionHierarchy.d.ts +23 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
  10. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +9 -1
  11. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsDimensionHierarchyByDimensionHierarchyNameOrIdAndModelApiNameOrId.d.ts +13 -0
  12. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDimensionHierarchiesByModelApiNameOrId.d.ts +18 -0
  13. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDimensionHierarchyByDimensionHierarchyNameOrIdAndModelApiNameOrId.d.ts +17 -0
  14. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  15. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
  16. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDimensionHierarchiesByModelApiNameOrId.d.ts +21 -0
  17. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  18. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDimensionHierarchyByDimensionHierarchyNameOrIdAndModelApiNameOrId.d.ts +22 -0
  19. package/dist/es/es2018/types/src/generated/types/SemanticDimensionHierarchyCollectionOutputRepresentation.d.ts +38 -0
  20. package/dist/es/es2018/types/src/generated/types/SemanticDimensionHierarchyInputRepresentation.d.ts +44 -0
  21. package/dist/es/es2018/types/src/generated/types/SemanticDimensionHierarchyLevelInputRepresentation.d.ts +37 -0
  22. package/dist/es/es2018/types/src/generated/types/SemanticDimensionHierarchyLevelOutputRepresentation.d.ts +37 -0
  23. package/dist/es/es2018/types/src/generated/types/SemanticDimensionHierarchyOutputRepresentation.d.ts +83 -0
  24. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +5 -1
  25. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +7 -1
  26. package/package.json +3 -3
  27. package/sfdc/index.js +2560 -1121
  28. package/src/raml/api.raml +226 -0
  29. package/src/raml/luvio.raml +24 -0
package/src/raml/api.raml CHANGED
@@ -336,6 +336,7 @@ types:
336
336
  - CalculatedDimension
337
337
  - CalculatedMeasurement
338
338
  - DataObject
339
+ - DimensionHierarchy
339
340
  - Grouping
340
341
  - LogicalView
341
342
  - MappedField
@@ -421,6 +422,7 @@ types:
421
422
  - ManyToOne
422
423
  - OneToMany
423
424
  - OneToOne
425
+ - Unspecified
424
426
  SemanticAggregationTypeEnum:
425
427
  description: A function that computes numerical calculations on data, allowing the query to return summarized information about the expression results. Valid values are Sum, Average, Min, Max, Median, Count Distinct, Count, Stddev, Stddevp, Var, Varp, Last, First, UserAgg, and None.
426
428
  type: string
@@ -1354,6 +1356,148 @@ types:
1354
1356
  required: false
1355
1357
  items:
1356
1358
  type: SemanticDimensionOutputRepresentation
1359
+ SemanticDimensionHierarchyCollectionOutputRepresentation:
1360
+ description: Represents the output of a semantic dimension hierarchy collection.
1361
+ type: object
1362
+ additionalProperties: true
1363
+ properties:
1364
+ items:
1365
+ description: A list of semantic dimension hierarchy items.
1366
+ type: array
1367
+ required: false
1368
+ items:
1369
+ type: SemanticDimensionHierarchyOutputRepresentation
1370
+ SemanticDimensionHierarchyInputRepresentation:
1371
+ description: Input representation for creating semantic dimension hierarchy
1372
+ type: object
1373
+ properties:
1374
+ apiName:
1375
+ description: The API name of the semantic entity.
1376
+ type: string
1377
+ required: false
1378
+ description:
1379
+ description: An optional description of the semantic entity.
1380
+ type: string
1381
+ required: false
1382
+ externalConnectionApiName:
1383
+ description: The externalConnectionApiName property references the external connection details for external definition
1384
+ type: string
1385
+ required: false
1386
+ externalId:
1387
+ description: The external ID of the semantic entity from the external data source
1388
+ type: string
1389
+ required: false
1390
+ label:
1391
+ description: The display name of the semantic entity. Optional, if not specified will use the same as the api name but instead of “_” will use spaces.
1392
+ type: string
1393
+ required: false
1394
+ levels:
1395
+ description: The list of levels references to be used as the union fields.
1396
+ type: array
1397
+ items:
1398
+ type: SemanticDimensionHierarchyLevelInputRepresentation
1399
+ required: false
1400
+ SemanticDimensionHierarchyLevelInputRepresentation:
1401
+ description: Input for a level within a semantic dimension hierarchy
1402
+ type: object
1403
+ properties:
1404
+ definitionApiName:
1405
+ description: The API name of the source semantic definition
1406
+ type: string
1407
+ definitionType:
1408
+ description: The type of the source semantic definition
1409
+ type: SemanticDefinitionTypeEnum
1410
+ position:
1411
+ description: The position/order of this level within the hierarchy (starting from 0)
1412
+ type: integer
1413
+ definitionFieldName:
1414
+ description: The field name within the source semantic definition
1415
+ type: string
1416
+ required: false
1417
+ SemanticDimensionHierarchyLevelOutputRepresentation:
1418
+ description: Represents a level within a semantic dimension hierarchy
1419
+ type: object
1420
+ additionalProperties: true
1421
+ properties:
1422
+ definitionApiName:
1423
+ description: The API name of the source semantic definition
1424
+ type: string
1425
+ definitionFieldName:
1426
+ description: The field name within the source semantic definition
1427
+ type: string
1428
+ required: false
1429
+ definitionType:
1430
+ description: The type of the source definition (e.g., DataObject, CalculatedField, LogicalView, Group)
1431
+ type: SemanticDefinitionTypeEnum
1432
+ position:
1433
+ description: The position/order of this level within the hierarchy (starting from 0)
1434
+ type: integer
1435
+ SemanticDimensionHierarchyOutputRepresentation:
1436
+ description: Semantic dimension hierarchy output representation
1437
+ type: object
1438
+ additionalProperties: true
1439
+ properties:
1440
+ apiName:
1441
+ description: The API name of the semantic entity.
1442
+ type: string
1443
+ baseModelApiName:
1444
+ description: The origin model of the semantic entity.
1445
+ type: string
1446
+ required: false
1447
+ cacheKey:
1448
+ description: The Canonical URL of the collection for caching purposes only.
1449
+ type: string
1450
+ required: false
1451
+ createdBy:
1452
+ description: The user who created the semantic entity.
1453
+ type: string
1454
+ createdDate:
1455
+ description: The date in which the semantic entity was created.
1456
+ type: string
1457
+ description:
1458
+ description: The Description of the semantic entity.
1459
+ type: string
1460
+ required: false
1461
+ externalConnectionApiName:
1462
+ description: The externalConnectionApiName property references the external connection details for external definition
1463
+ type: string
1464
+ required: false
1465
+ externalId:
1466
+ description: The external ID of the semantic entity from the external data source
1467
+ type: string
1468
+ required: false
1469
+ id:
1470
+ description: The object ID of the semantic entity.
1471
+ type: string
1472
+ isQueryable:
1473
+ description: Indicates if the entity can be queried in semantic query engine
1474
+ type: SemanticEntityIsQueryableEnum
1475
+ required: false
1476
+ label:
1477
+ description: The display name of the semantic entity to be used in the ui.
1478
+ type: string
1479
+ required: false
1480
+ lastModifiedBy:
1481
+ description: The user who last modified the semantic entity.
1482
+ type: string
1483
+ required: false
1484
+ lastModifiedDate:
1485
+ description: The date in which the semantic entity was last modified.
1486
+ type: string
1487
+ required: false
1488
+ isSystemDefinition:
1489
+ description: The isSystemDefinition property indicates whether a semantic definition is an automatically generated one. These semantic definitions cannot be modified or deleted.Default is false.
1490
+ type: boolean
1491
+ required: false
1492
+ unmapped:
1493
+ description: The unmapped property indicates whether a semantic definition is based on unmapped DMO field or an unmapped definition that is based on unmapped
1494
+ type: boolean
1495
+ required: false
1496
+ levels:
1497
+ description: Ordered list of levels that define the structure of the dimension hierarchy. Each level represents a data-object field, group, logical view field, or calculated dimension
1498
+ type: array
1499
+ items:
1500
+ type: SemanticDimensionHierarchyLevelOutputRepresentation
1357
1501
  SemanticDimensionInputRepresentation:
1358
1502
  description: Input representation for creating a semantic dimension
1359
1503
  type: object
@@ -2853,6 +2997,12 @@ types:
2853
2997
  items:
2854
2998
  type: SemanticBaseModelInputRepresentation
2855
2999
  required: false
3000
+ dimensionHierarchies:
3001
+ description: Semantic dimension hierarchies within the model.
3002
+ type: array
3003
+ items:
3004
+ type: SemanticDimensionHierarchyInputRepresentation
3005
+ required: false
2856
3006
  externalConnections:
2857
3007
  description: The semantic external connections belonging to this model.
2858
3008
  type: array
@@ -3211,6 +3361,12 @@ types:
3211
3361
  required: false
3212
3362
  items:
3213
3363
  type: SemanticDataObjectOutputRepresentation
3364
+ semanticDimensionHierarchies:
3365
+ description: The semantic dimension hierarchies belonging to this model.
3366
+ type: array
3367
+ required: false
3368
+ items:
3369
+ type: SemanticDimensionHierarchyOutputRepresentation
3214
3370
  semanticGroupings:
3215
3371
  description: The semantic groupings belonging to this model.
3216
3372
  type: array
@@ -4983,6 +5139,7 @@ types:
4983
5139
  - CalculatedDimension
4984
5140
  - CalculatedMeasurement
4985
5141
  - DataObject
5142
+ - DimensionHierarchy
4986
5143
  - Grouping
4987
5144
  - LogicalView
4988
5145
  - MappedField
@@ -4990,6 +5147,75 @@ types:
4990
5147
  - Parameter
4991
5148
  - Relationship
4992
5149
  (oas-collectionFormat): csv
5150
+
5151
+ /dimension-hierarchies:
5152
+ get:
5153
+ displayName: getSemanticDimensionHierarchyCollection
5154
+ description: Retrieves a list of all dimension hierarchies in the specified Semantic Model.
5155
+ responses:
5156
+ '200':
5157
+ description: Success
5158
+ body:
5159
+ application/json:
5160
+ type: SemanticDimensionHierarchyCollectionOutputRepresentation
5161
+ queryParameters:
5162
+ name:
5163
+ description: Filters search results based on a specific string within a dimension hierarchy's name.
5164
+ type: string
5165
+ required: false
5166
+ post:
5167
+ displayName: postSemanticDimensionHierarchyCollection
5168
+ description: Creates a new dimension hierarchy in the specified Semantic Model.
5169
+ responses:
5170
+ '200':
5171
+ description: Success
5172
+ body:
5173
+ application/json:
5174
+ type: SemanticDimensionHierarchyOutputRepresentation
5175
+ body:
5176
+ application/json:
5177
+ type: SemanticDimensionHierarchyInputRepresentation
5178
+ (oas-body-name): input
5179
+ uriParameters:
5180
+ modelApiNameOrId:
5181
+ type: string
5182
+ required: true
5183
+ /dimension-hierarchy/{dimensionHierarchyNameOrId}:
5184
+ delete:
5185
+ displayName: deleteSemanticDimensionHierarchy
5186
+ description: Deletes a specific dimension hierarchy and all of its structure in the specified Semantic Model.
5187
+ responses:
5188
+ '200':
5189
+ description: Success
5190
+ get:
5191
+ displayName: getSemanticDimensionHierarchy
5192
+ description: Retrieves the details of a specific dimension hierarchy by ID in the specified Semantic Model.
5193
+ responses:
5194
+ '200':
5195
+ description: Success
5196
+ body:
5197
+ application/json:
5198
+ type: SemanticDimensionHierarchyOutputRepresentation
5199
+ put:
5200
+ displayName: putSemanticDimensionHierarchy
5201
+ description: Updates a specific dimension hierarchy in the specified Semantic Model. Providing an empty list of levels will delete the hierarchy.
5202
+ responses:
5203
+ '200':
5204
+ description: Success
5205
+ body:
5206
+ application/json:
5207
+ type: SemanticDimensionHierarchyOutputRepresentation
5208
+ body:
5209
+ application/json:
5210
+ type: SemanticDimensionHierarchyInputRepresentation
5211
+ (oas-body-name): inputName
5212
+ uriParameters:
5213
+ dimensionHierarchyNameOrId:
5214
+ type: string
5215
+ required: true
5216
+ modelApiNameOrId:
5217
+ type: string
5218
+ required: true
4993
5219
  /goals:
4994
5220
  delete:
4995
5221
  displayName: deleteSemanticGoal
@@ -27,6 +27,9 @@ types:
27
27
  SemanticCalculatedDimensionOutputRepresentation:
28
28
  (luvio.key):
29
29
  name: id
30
+ SemanticDimensionHierarchyOutputRepresentation:
31
+ (luvio.key):
32
+ name: id
30
33
  SemanticModelFilterOutputRepresentation:
31
34
  (luvio.key):
32
35
  name: id
@@ -137,6 +140,27 @@ types:
137
140
  name: urlParams.subMetricNameOrId
138
141
  (luvio.adapter):
139
142
  name: deleteGoalFromSubMetric
143
+ /dimension-hierarchies:
144
+ get:
145
+ (luvio.adapter):
146
+ name: getSemanticDimensionHierarchies
147
+ post:
148
+ (luvio.adapter):
149
+ name: createSemanticDimensionHierarchy
150
+ /dimension-hierarchy/{dimensionHierarchyNameOrId}:
151
+ get:
152
+ (luvio.key):
153
+ name: urlParams.dimensionHierarchyNameOrId
154
+ (luvio.adapter):
155
+ name: getSemanticDimensionHierarchy
156
+ put:
157
+ (luvio.adapter):
158
+ name: updateSemanticDimensionHierarchy
159
+ delete:
160
+ (luvio.key):
161
+ name: urlParams.dimensionHierarchyNameOrId
162
+ (luvio.adapter):
163
+ name: deleteSemanticDimensionHierarchy
140
164
  /dependencies:
141
165
  get:
142
166
  (luvio.adapter):