@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev2 → 1.332.0-dev20

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 (50) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +2553 -1058
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticGoal.d.ts +24 -0
  3. package/dist/es/es2018/types/src/generated/adapters/deleteGoalFromSubMetric.d.ts +15 -0
  4. package/dist/es/es2018/types/src/generated/adapters/deleteSemanticGoal.d.ts +17 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getLeafDependenciesByTypes.d.ts +28 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getSemanticGoal.d.ts +31 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetrics.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetricsById.d.ts +2 -0
  9. package/dist/es/es2018/types/src/generated/adapters/patchSemanticMetricGoal.d.ts +19 -0
  10. package/dist/es/es2018/types/src/generated/adapters/updateSemanticGoal.d.ts +27 -0
  11. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
  12. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +11 -1
  13. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +17 -0
  14. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +1 -0
  15. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDependenciesByModelApiNameOrId.d.ts +18 -0
  16. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +21 -0
  17. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +3 -0
  18. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +4 -4
  19. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticSubMetricsBySubMetricIds.d.ts +4 -0
  20. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -1
  21. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +3 -5
  22. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +23 -0
  23. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -1
  24. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsParametersByModelApiNameOrId.d.ts +1 -0
  25. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +28 -0
  26. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -1
  27. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsParametersByModelApiNameOrIdAndParameterApiNameOrId.d.ts +1 -0
  28. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
  29. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +4 -1
  30. package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeInputRepresentation.d.ts +5 -5
  31. package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts +9 -9
  32. package/dist/es/es2018/types/src/generated/types/SemanticGoalInputRepresentation.d.ts +48 -0
  33. package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +84 -0
  34. package/dist/es/es2018/types/src/generated/types/SemanticGoalStatusConditionInputRepresentation.d.ts +43 -0
  35. package/dist/es/es2018/types/src/generated/types/SemanticGoalStatusConditionOutputRepresentation.d.ts +43 -0
  36. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +3 -3
  37. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +3 -3
  38. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementInputRepresentation.d.ts +1 -1
  39. package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalInputRepresentation.d.ts +8 -12
  40. package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalOutputRepresentation.d.ts +8 -12
  41. package/dist/es/es2018/types/src/generated/types/SemanticParameterInputRepresentation.d.ts +4 -1
  42. package/dist/es/es2018/types/src/generated/types/SemanticParameterListValueInputRepresentation.d.ts +31 -0
  43. package/dist/es/es2018/types/src/generated/types/SemanticParameterListValueOutputRepresentation.d.ts +31 -0
  44. package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +5 -1
  45. package/package.json +3 -3
  46. package/sfdc/index.js +2687 -1116
  47. package/src/raml/api.raml +399 -50
  48. package/src/raml/luvio.raml +40 -0
  49. package/dist/es/es2018/types/src/generated/types/SemanticGoalValueInputRepresentation.d.ts +0 -28
  50. package/dist/es/es2018/types/src/generated/types/SemanticGoalValueOutputRepresentation.d.ts +0 -28
package/src/raml/api.raml CHANGED
@@ -108,7 +108,7 @@ types:
108
108
  description: The semantic view types enum, relevant only for logicalView created by sql
109
109
  type: string
110
110
  enum:
111
- - CustomSql
111
+ - CustomSQL
112
112
  - HardJoin
113
113
  - Union
114
114
  SemanticDataTypeEnum:
@@ -229,13 +229,50 @@ types:
229
229
  - LessThanOrEqual
230
230
  - NotEquals
231
231
  - NotEqualsIgnoreCase
232
- SemanticGoalTypeEnum:
233
- description: The Type property of the semantic metric goal.
232
+ SemanticGeoRoleEnum:
233
+ description: The geoRole type of the referenced dimension field.
234
234
  type: string
235
235
  enum:
236
- - AtLeast
237
- - AtMost
238
- - Exact
236
+ - Airport
237
+ - AreaCode
238
+ - CbsaMsa
239
+ - City
240
+ - Congressional
241
+ - Country
242
+ - District
243
+ - Latitude
244
+ - Longitude
245
+ - Nuts
246
+ - Province
247
+ - Region
248
+ - State
249
+ - ZipCode
250
+ SemanticCalculatedFieldDefaultAggregationTypeEnum:
251
+ description: The semantic calculated field default aggregation type
252
+ type: string
253
+ enum:
254
+ - Auto
255
+ - Average
256
+ - Count
257
+ - CountDistinct
258
+ - First
259
+ - Last
260
+ - Max
261
+ - Median
262
+ - Min
263
+ - None
264
+ - StdDev
265
+ - StdDevP
266
+ - Sum
267
+ - UserAgg
268
+ - Var
269
+ - VarP
270
+ SemanticCalculatedFieldDataRoleEnum:
271
+ description: The semantic calculated field data role
272
+ type: string
273
+ enum:
274
+ - Dimension
275
+ - Measurement
239
276
  SemanticDirectionalityTypeEnum:
240
277
  description: Indicates the directionality of the Semantic Calculated Measurement by establishing whether an upward or a downward trend is seen as positive (Up) or negative (Down).
241
278
  type: string
@@ -301,9 +338,21 @@ types:
301
338
  type: string
302
339
  enum:
303
340
  - Cio
304
- - CustomSql
341
+ - CustomSQL
305
342
  - Dlo
306
343
  - Dmo
344
+ SemanticGoalStatusConditionColorEnum:
345
+ description: The Color of the Goal Status Condition
346
+ type: string
347
+ enum:
348
+ - CloudBlue
349
+ - Green
350
+ - Indigo
351
+ - Pink
352
+ - Red
353
+ - Teal
354
+ - Violet
355
+ - Yellow
307
356
  SemanticDisplayCategoryEnum:
308
357
  description: Product category of the Semantic Model. Valid values are Marketing, Commerce, Sales, Service, and Other.
309
358
  type: string
@@ -604,6 +653,16 @@ types:
604
653
  required: false
605
654
  items:
606
655
  type: SemanticFilterOutputRepresentation
656
+ level:
657
+ description: The calculated measurement level
658
+ type: string
659
+ required: false
660
+ enum:
661
+ - AggregateFunction
662
+ - ContextDependent
663
+ - Lod
664
+ - Row
665
+ - TableCalc
607
666
  syntax:
608
667
  description: The syntax of the semantic expression.
609
668
  type: SemanticExpressionSyntaxTypeEnum
@@ -796,6 +855,16 @@ types:
796
855
  required: false
797
856
  items:
798
857
  type: SemanticFilterOutputRepresentation
858
+ level:
859
+ description: The calculated measurement level
860
+ type: string
861
+ required: false
862
+ enum:
863
+ - AggregateFunction
864
+ - ContextDependent
865
+ - Lod
866
+ - Row
867
+ - TableCalc
799
868
  syntax:
800
869
  description: The syntax of the semantic expression.
801
870
  type: SemanticExpressionSyntaxTypeEnum
@@ -1237,49 +1306,171 @@ types:
1237
1306
  type: string
1238
1307
  required: false
1239
1308
  SemanticGoalDateRangeInputRepresentation:
1240
- description: Input representation for specifying a semantic metric goal date range
1309
+ description: Input representation for specifying a semantic goal date range
1241
1310
  type: object
1242
1311
  properties:
1243
1312
  endDate:
1244
- description: The Value property of the semantic metric goal start date
1313
+ description: The end date of the goal date range.
1245
1314
  type: string
1246
1315
  required: false
1247
1316
  startDate:
1248
- description: The Value property of the semantic metric goal start date
1317
+ description: The start date of the goal date range.
1249
1318
  type: string
1250
1319
  required: false
1251
1320
  SemanticGoalDateRangeOutputRepresentation:
1252
- description: A semantic Metric Goal Date Range.
1321
+ description: A semantic goal date range.
1253
1322
  type: object
1254
1323
  additionalProperties: true
1255
1324
  properties:
1256
1325
  endDate:
1257
- description: The end date of the semantic metric goal.
1326
+ description: The end date of the goal date range.
1258
1327
  type: string
1259
- required: false
1328
+ required: true
1260
1329
  startDate:
1261
- description: The start date of the semantic metric goal.
1330
+ description: The start date of the goal date range.
1331
+ type: string
1332
+ required: true
1333
+ SemanticGoalInputRepresentation:
1334
+ description: Input representation for specifying a semantic goal
1335
+ type: object
1336
+ properties:
1337
+ apiName:
1338
+ description: The API name of the semantic entity.
1339
+ type: string
1340
+ required: false
1341
+ description:
1342
+ description: An optional description of the semantic entity.
1343
+ type: string
1344
+ required: false
1345
+ label:
1346
+ 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.
1262
1347
  type: string
1263
1348
  required: false
1264
- SemanticGoalValueInputRepresentation:
1265
- description: Input representation for specifying a semantic metric goal value
1349
+ dateRange:
1350
+ description: The date range of the semantic goal.
1351
+ type: SemanticGoalDateRangeInputRepresentation
1352
+ required: true
1353
+ forecasting:
1354
+ description: The forecasting flag of the semantic goal.
1355
+ type: boolean
1356
+ required: false
1357
+ statusConditions:
1358
+ description: The Status Condition list of the semantic goal.
1359
+ type: array
1360
+ items:
1361
+ type: SemanticGoalStatusConditionInputRepresentation
1362
+ required: true
1363
+ subMetricDefinitionApiName:
1364
+ description: The API name of the semantic sub metric definition.
1365
+ type: string
1366
+ required: true
1367
+ SemanticGoalOutputRepresentation:
1368
+ description: A semantic Goal.
1266
1369
  type: object
1370
+ additionalProperties: true
1267
1371
  properties:
1268
- staticValue:
1269
- description: The Static Value property of the semantic metric goal value
1270
- type: number
1271
- format: double
1372
+ apiName:
1373
+ description: The API name of the semantic entity.
1374
+ type: string
1375
+ baseModelApiName:
1376
+ description: The origin model of the semantic entity.
1377
+ type: string
1378
+ required: false
1379
+ cacheKey:
1380
+ description: The Canonical URL of the collection for caching purposes only.
1381
+ type: string
1382
+ required: false
1383
+ createdBy:
1384
+ description: The user who created the semantic entity.
1385
+ type: string
1386
+ createdDate:
1387
+ description: The date in which the semantic entity was created.
1388
+ type: string
1389
+ description:
1390
+ description: The Description of the semantic entity.
1391
+ type: string
1392
+ required: false
1393
+ id:
1394
+ description: The object ID of the semantic entity.
1395
+ type: string
1396
+ label:
1397
+ description: The display name of the semantic entity to be used in the ui.
1398
+ type: string
1399
+ required: false
1400
+ lastModifiedBy:
1401
+ description: The user who last modified the semantic entity.
1402
+ type: string
1403
+ required: false
1404
+ lastModifiedDate:
1405
+ description: The date in which the semantic entity was last modified.
1406
+ type: string
1407
+ required: false
1408
+ dateRange:
1409
+ description: The date range of the semantic goal.
1410
+ type: SemanticGoalDateRangeOutputRepresentation
1411
+ forecasting:
1412
+ description: The forecasting state of the semantic goal.
1413
+ type: boolean
1414
+ statusConditions:
1415
+ description: The status condition list of the semantic goal.
1416
+ type: array
1417
+ items:
1418
+ type: SemanticGoalStatusConditionOutputRepresentation
1419
+ subMetricDefinitionApiName:
1420
+ description: The API name of the semantic sub metric definition.
1421
+ type: string
1422
+ SemanticGoalStatusConditionInputRepresentation:
1423
+ description: Input representation for specifying a semantic metric goal status condition
1424
+ type: object
1425
+ properties:
1426
+ color:
1427
+ description: The Color of the Goal Status Condition
1428
+ type: SemanticGoalStatusConditionColorEnum
1272
1429
  required: false
1273
- SemanticGoalValueOutputRepresentation:
1274
- description: A semantic goal value.
1430
+ currencyIsoCode:
1431
+ description: The Currency ISO code of the Goal Status Condition
1432
+ type: string
1433
+ required: false
1434
+ operator:
1435
+ description: The Operator of the Goal Status Condition
1436
+ type: SemanticFilterOperatorTypeEnum
1437
+ required: false
1438
+ primary:
1439
+ description: The Primary state of the Goal Status Condition
1440
+ type: boolean
1441
+ required: false
1442
+ statusName:
1443
+ description: The Status Name of the Goal Status Condition
1444
+ type: string
1445
+ required: false
1446
+ value:
1447
+ description: The Value of the Goal Status Condition
1448
+ type: string
1449
+ required: false
1450
+ SemanticGoalStatusConditionOutputRepresentation:
1451
+ description: Output representation for specifying a semantic metric goal status condition
1275
1452
  type: object
1276
1453
  additionalProperties: true
1277
1454
  properties:
1278
- staticValue:
1279
- description: The static value of the semantic metric goal value.
1280
- type: number
1281
- format: double
1455
+ color:
1456
+ description: The Color of the Goal Status Condition
1457
+ type: SemanticGoalStatusConditionColorEnum
1458
+ currencyIsoCode:
1459
+ description: The Currency ISO code of the Goal Status Condition
1460
+ type: string
1282
1461
  required: false
1462
+ operator:
1463
+ description: The Operator of the Goal Status Condition
1464
+ type: SemanticFilterOperatorTypeEnum
1465
+ primary:
1466
+ description: The Primary state of the Goal Status Condition
1467
+ type: boolean
1468
+ statusName:
1469
+ description: The Status Name of the Goal Status Condition
1470
+ type: string
1471
+ value:
1472
+ description: The Value of the Goal Status Condition
1473
+ type: string
1283
1474
  SemanticGroupingCollectionOutputRepresentation:
1284
1475
  description: Semantic groupings collection representation.
1285
1476
  type: object
@@ -1546,7 +1737,7 @@ types:
1546
1737
  items:
1547
1738
  type: SemanticFilterInputRepresentation
1548
1739
  required: false
1549
- customSql:
1740
+ customSQL:
1550
1741
  description: Represents the custom sql query.
1551
1742
  type: string
1552
1743
  required: false
@@ -1609,7 +1800,7 @@ types:
1609
1800
  description: The date in which the semantic entity was last modified.
1610
1801
  type: string
1611
1802
  required: false
1612
- customSql:
1803
+ customSQL:
1613
1804
  description: The custom sql query, relevant only for logicalView created by sql
1614
1805
  type: string
1615
1806
  required: false
@@ -1803,7 +1994,7 @@ types:
1803
1994
  type: string
1804
1995
  required: false
1805
1996
  decimalPlace:
1806
- description: The number of decimals places. Optional, if not specified, will use the original decimal places from the dmo/cio field.
1997
+ description: The number of decimals places. Optional, if not specified, will use the original decimal places from the dmo/cio/dlo field.
1807
1998
  type: integer
1808
1999
  required: false
1809
2000
  displayCategory:
@@ -1989,32 +2180,29 @@ types:
1989
2180
  description: Input representation for specifying a semantic metric goal
1990
2181
  type: object
1991
2182
  properties:
1992
- date:
1993
- description: The Date property of the semantic metric goal.
1994
- type: SemanticGoalDateRangeInputRepresentation
1995
- required: false
1996
- goalType:
1997
- description: The Type property of the semantic metric goal.
1998
- type: SemanticGoalTypeEnum
2183
+ forecasting:
2184
+ description: The forecasting state of the semantic metric goal.
2185
+ type: boolean
1999
2186
  required: false
2000
- value:
2001
- description: The Value property of the semantic metric goal.
2002
- type: SemanticGoalValueInputRepresentation
2187
+ statusConditions:
2188
+ description: The Status Condition list of the semantic metric goal.
2189
+ type: array
2190
+ items:
2191
+ type: SemanticGoalStatusConditionInputRepresentation
2003
2192
  required: false
2004
2193
  SemanticMetricGoalOutputRepresentation:
2005
2194
  description: A semantic Metric Goal.
2006
2195
  type: object
2007
2196
  additionalProperties: true
2008
2197
  properties:
2009
- date:
2010
- description: The Date range of the semantic metric goal.
2011
- type: SemanticGoalDateRangeOutputRepresentation
2012
- goalType:
2013
- description: The Goal Type of the semantic metric goal type.
2014
- type: SemanticGoalTypeEnum
2015
- value:
2016
- description: The API name of the semantic metric goal.
2017
- type: SemanticGoalValueOutputRepresentation
2198
+ forecasting:
2199
+ description: The forecasting state of the semantic metric goal.
2200
+ type: boolean
2201
+ statusConditions:
2202
+ description: The status condition list of the semantic metric goal.
2203
+ type: array
2204
+ items:
2205
+ type: SemanticGoalStatusConditionOutputRepresentation
2018
2206
  SemanticMetricInputRepresentation:
2019
2207
  description: Input representation for creating a semantic metric
2020
2208
  type: object
@@ -2782,6 +2970,12 @@ types:
2782
2970
  description: The API name of the semantic entity.
2783
2971
  type: string
2784
2972
  required: false
2973
+ allowedValues:
2974
+ description: The list allowedValues of the semantic parameter.
2975
+ type: array
2976
+ required: false
2977
+ items:
2978
+ type: object
2785
2979
  description:
2786
2980
  description: An optional description of the semantic entity.
2787
2981
  type: string
@@ -2828,6 +3022,12 @@ types:
2828
3022
  apiName:
2829
3023
  description: The API name of the semantic entity.
2830
3024
  type: string
3025
+ allowedValues:
3026
+ description: The allowed list values of the semantic parameter.
3027
+ type: array
3028
+ required: false
3029
+ items:
3030
+ type: SemanticParameterListValueOutputRepresentation
2831
3031
  baseModelApiName:
2832
3032
  description: The origin model of the semantic entity.
2833
3033
  type: string
@@ -2891,6 +3091,28 @@ types:
2891
3091
  required: false
2892
3092
  items:
2893
3093
  type: string
3094
+ SemanticParameterListValueInputRepresentation:
3095
+ description: Input representation of an allowed list value for a semantic parameter .
3096
+ type: object
3097
+ properties:
3098
+ displayName:
3099
+ description: The display name (Display As) of the allowed parameter value.
3100
+ type: string
3101
+ value:
3102
+ description: The allowed value in the list of parameter allowed values.
3103
+ type: string
3104
+ SemanticParameterListValueOutputRepresentation:
3105
+ description: Output representation of an allowed list value for a semantic parameter.
3106
+ type: object
3107
+ properties:
3108
+ displayName:
3109
+ description: The display name (Display As) of the allowed parameter value.
3110
+ type: string
3111
+ required: false
3112
+ value:
3113
+ description: The allowed value in the list of parameter allowed values.
3114
+ type: string
3115
+ required: false
2894
3116
  SemanticRelationshipCollectionOutputRepresentation:
2895
3117
  description: Semantic relationship collection representation.
2896
3118
  type: object
@@ -4121,6 +4343,119 @@ types:
4121
4343
  modelApiNameOrId:
4122
4344
  type: string
4123
4345
  required: true
4346
+ /dependencies:
4347
+ get:
4348
+ displayName: getSemanticDependencyCollection
4349
+ description: Obtains the dependencies of specific Semantic Definition types
4350
+ responses:
4351
+ '200':
4352
+ description: Success
4353
+ body:
4354
+ application/json:
4355
+ type: SemanticDependencyCollectionOutputRepresentation
4356
+ queryParameters:
4357
+ types:
4358
+ description: Types of semantic objects to get dependencies for
4359
+ type: array
4360
+ required: false
4361
+ items:
4362
+ type: string
4363
+ enum:
4364
+ - CalculatedDimension
4365
+ - CalculatedMeasurement
4366
+ - DataObject
4367
+ - Grouping
4368
+ - LogicalView
4369
+ - MappedField
4370
+ - Metric
4371
+ - Parameter
4372
+ - Relationship
4373
+ (oas-collectionFormat): csv
4374
+ /goals:
4375
+ delete:
4376
+ displayName: deleteSemanticGoal
4377
+ description: Deletes a specific Semantic Goal.
4378
+ responses:
4379
+ '200':
4380
+ description: Success
4381
+ queryParameters:
4382
+ endDate:
4383
+ description: The end date of the desired goal.
4384
+ type: string
4385
+ required: true
4386
+ startDate:
4387
+ description: The start date of the desired goal.
4388
+ type: string
4389
+ required: true
4390
+ subMetricApiNameOrId:
4391
+ description: The Semantic Sub Metric Id related to the desired goal.
4392
+ type: string
4393
+ required: true
4394
+ get:
4395
+ displayName: getSemanticGoal
4396
+ description: Retrieves a specific Semantic Goal.
4397
+ responses:
4398
+ '200':
4399
+ description: Success
4400
+ body:
4401
+ application/json:
4402
+ type: SemanticGoalOutputRepresentation
4403
+ queryParameters:
4404
+ endDate:
4405
+ description: The end date of the desired goal.
4406
+ type: string
4407
+ required: true
4408
+ startDate:
4409
+ description: The start date of the desired goal.
4410
+ type: string
4411
+ required: true
4412
+ subMetricApiNameOrId:
4413
+ description: The Semantic Sub Metric Id related to the desired goal.
4414
+ type: string
4415
+ required: true
4416
+ post:
4417
+ displayName: postSemanticGoal
4418
+ description: Creates a new semantic goal
4419
+ responses:
4420
+ '200':
4421
+ description: Success
4422
+ body:
4423
+ application/json:
4424
+ type: SemanticGoalOutputRepresentation
4425
+ body:
4426
+ application/json:
4427
+ type: SemanticGoalInputRepresentation
4428
+ (oas-body-name): inputName
4429
+ put:
4430
+ displayName: putSemanticGoal
4431
+ description: Updates a Semantic Goal.
4432
+ responses:
4433
+ '200':
4434
+ description: Success
4435
+ body:
4436
+ application/json:
4437
+ type: SemanticGoalOutputRepresentation
4438
+ queryParameters:
4439
+ endDate:
4440
+ description: The end date of the desired goal.
4441
+ type: string
4442
+ required: true
4443
+ startDate:
4444
+ description: The start date of the desired goal.
4445
+ type: string
4446
+ required: true
4447
+ subMetricApiNameOrId:
4448
+ description: The Semantic Sub Metric Id related to the desired goal.
4449
+ type: string
4450
+ required: true
4451
+ body:
4452
+ application/json:
4453
+ type: SemanticGoalInputRepresentation
4454
+ (oas-body-name): inputName
4455
+ uriParameters:
4456
+ modelApiNameOrId:
4457
+ type: string
4458
+ required: true
4124
4459
  /groupings:
4125
4460
  get:
4126
4461
  displayName: getSemanticGroupingCollection
@@ -4645,6 +4980,11 @@ types:
4645
4980
  body:
4646
4981
  application/json:
4647
4982
  type: SemanticSubMetricCollectionOutputRepresentation
4983
+ queryParameters:
4984
+ hasGoal:
4985
+ description: Filters the list of Sub Metrics by having a goal in the sub metric.
4986
+ type: boolean
4987
+ required: false
4648
4988
  post:
4649
4989
  displayName: postSemanticSubMetricCollection
4650
4990
  description: Creates a new semantic sub metric
@@ -4707,13 +5047,13 @@ types:
4707
5047
  description: Success
4708
5048
  get:
4709
5049
  displayName: getSemanticMetricGoal
4710
- description: Retrieves all Semantic Sub Metrics having a Goal.
5050
+ description: Retrieve Semantic Sub.
4711
5051
  responses:
4712
5052
  '200':
4713
5053
  description: Success
4714
5054
  body:
4715
5055
  application/json:
4716
- type: SemanticSubMetricCollectionOutputRepresentation
5056
+ type: SemanticSubMetricOutputRepresentation
4717
5057
  patch:
4718
5058
  displayName: patchSemanticMetricGoal
4719
5059
  description: Creates a goal in Semantic Sub Metrics.
@@ -4744,6 +5084,15 @@ types:
4744
5084
  body:
4745
5085
  application/json:
4746
5086
  type: SemanticSubMetricCollectionOutputRepresentation
5087
+ queryParameters:
5088
+ sortBy:
5089
+ description: Represents the field to sort by.
5090
+ type: string
5091
+ required: false
5092
+ sortOrder:
5093
+ description: Sort order of the Semantic Calculated Dimension. Valid values are Ascending, Descending and None.
5094
+ type: SemanticSortOrderEnum
5095
+ required: false
4747
5096
  uriParameters:
4748
5097
  subMetricIds:
4749
5098
  type: string
@@ -53,6 +53,12 @@ types:
53
53
  SemanticGroupingOutputRepresentation:
54
54
  (luvio.key):
55
55
  name: id
56
+ SemanticGoalOutputRepresentation:
57
+ (luvio.opaque): true
58
+ (luvio.key):
59
+ subMetricNameOrId: subMetricDefinitionApiName
60
+ startDate: dateRange.startDate
61
+ endDate: dateRange.endDate
56
62
 
57
63
  /ssot/semantic/models:
58
64
  get:
@@ -113,3 +119,37 @@ types:
113
119
  name: urlParams.subMetricNameOrId
114
120
  (luvio.adapter):
115
121
  name: deleteSemanticSubMetric
122
+ /dependencies:
123
+ get:
124
+ (luvio.adapter):
125
+ name: getLeafDependenciesByTypes
126
+ /sub-metrics/{subMetricNameOrId}/goal:
127
+ patch:
128
+ (luvio.adapter):
129
+ name: patchSemanticMetricGoal
130
+ delete:
131
+ (luvio.key):
132
+ name: urlParams.subMetricNameOrId
133
+ (luvio.adapter):
134
+ name: deleteGoalFromSubMetric
135
+ /goals:
136
+ get:
137
+ (luvio.key):
138
+ subMetricNameOrId: queryParams.subMetricApiNameOrId
139
+ startDate: queryParams.startDate
140
+ endDate: queryParams.endDate
141
+ (luvio.adapter):
142
+ name: getSemanticGoal
143
+ post:
144
+ (luvio.adapter):
145
+ name: createSemanticGoal
146
+ put:
147
+ (luvio.adapter):
148
+ name: updateSemanticGoal
149
+ delete:
150
+ (luvio.key):
151
+ subMetricNameOrId: queryParams.subMetricApiNameOrId
152
+ startDate: queryParams.startDate
153
+ endDate: queryParams.endDate
154
+ (luvio.adapter):
155
+ name: deleteSemanticGoal
@@ -1,28 +0,0 @@
1
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "ff91598c8f9f42c2ec9c9e526a2cce75";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: SemanticGoalValueInputRepresentation, existing: SemanticGoalValueInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticGoalValueInputRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: SemanticGoalValueInputRepresentationNormalized, incoming: SemanticGoalValueInputRepresentationNormalized): boolean;
8
- export declare const ingest: $64$luvio_engine_ResourceIngest;
9
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticGoalValueInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
- /**
11
- * Input representation for specifying a semantic metric goal value
12
- *
13
- * Keys:
14
- * (none)
15
- */
16
- export interface SemanticGoalValueInputRepresentationNormalized {
17
- /** The Static Value property of the semantic metric goal value */
18
- staticValue?: number;
19
- }
20
- /**
21
- * Input representation for specifying a semantic metric goal value
22
- *
23
- * Keys:
24
- * (none)
25
- */
26
- export interface SemanticGoalValueInputRepresentation {
27
- staticValue?: number;
28
- }