@salesforce/lds-adapters-cdp-semantic-authoring 1.343.0 → 1.345.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/src/raml/api.raml CHANGED
@@ -1241,6 +1241,120 @@ types:
1241
1241
  description: The string representation of the value to filter against.
1242
1242
  type: string
1243
1243
  required: false
1244
+ SemanticGoalDateRangeInputRepresentation:
1245
+ description: Input representation for specifying a semantic goal date range
1246
+ type: object
1247
+ properties:
1248
+ endDate:
1249
+ description: The end date of the goal date range.
1250
+ type: string
1251
+ required: false
1252
+ startDate:
1253
+ description: The start date of the goal date range.
1254
+ type: string
1255
+ required: false
1256
+ SemanticGoalDateRangeOutputRepresentation:
1257
+ description: A semantic goal date range.
1258
+ type: object
1259
+ additionalProperties: true
1260
+ properties:
1261
+ endDate:
1262
+ description: The end date of the goal date range.
1263
+ type: string
1264
+ required: false
1265
+ startDate:
1266
+ description: The start date of the goal date range.
1267
+ type: string
1268
+ required: false
1269
+ SemanticGoalInputRepresentation:
1270
+ description: Input representation for specifying a semantic goal
1271
+ type: object
1272
+ properties:
1273
+ apiName:
1274
+ description: The API name of the semantic entity.
1275
+ type: string
1276
+ required: false
1277
+ description:
1278
+ description: An optional description of the semantic entity.
1279
+ type: string
1280
+ required: false
1281
+ label:
1282
+ 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.
1283
+ type: string
1284
+ required: false
1285
+ dateRange:
1286
+ description: The date range of the semantic goal.
1287
+ type: SemanticGoalDateRangeInputRepresentation
1288
+ required: false
1289
+ forecasting:
1290
+ description: The forecasting flag of the semantic goal.
1291
+ type: boolean
1292
+ required: false
1293
+ statusConditions:
1294
+ description: The Status Condition list of the semantic goal.
1295
+ type: array
1296
+ items:
1297
+ type: SemanticGoalStatusConditionInputRepresentation
1298
+ required: false
1299
+ subMetricDefinitionApiName:
1300
+ description: The API name of the semantic sub metric definition.
1301
+ type: string
1302
+ required: false
1303
+ SemanticGoalOutputRepresentation:
1304
+ description: A semantic Goal.
1305
+ type: object
1306
+ additionalProperties: true
1307
+ properties:
1308
+ apiName:
1309
+ description: The API name of the semantic entity.
1310
+ type: string
1311
+ baseModelApiName:
1312
+ description: The origin model of the semantic entity.
1313
+ type: string
1314
+ required: false
1315
+ cacheKey:
1316
+ description: The Canonical URL of the collection for caching purposes only.
1317
+ type: string
1318
+ required: false
1319
+ createdBy:
1320
+ description: The user who created the semantic entity.
1321
+ type: string
1322
+ createdDate:
1323
+ description: The date in which the semantic entity was created.
1324
+ type: string
1325
+ description:
1326
+ description: The Description of the semantic entity.
1327
+ type: string
1328
+ required: false
1329
+ id:
1330
+ description: The object ID of the semantic entity.
1331
+ type: string
1332
+ label:
1333
+ description: The display name of the semantic entity to be used in the ui.
1334
+ type: string
1335
+ required: false
1336
+ lastModifiedBy:
1337
+ description: The user who last modified the semantic entity.
1338
+ type: string
1339
+ required: false
1340
+ lastModifiedDate:
1341
+ description: The date in which the semantic entity was last modified.
1342
+ type: string
1343
+ required: false
1344
+ dateRange:
1345
+ description: The date range of the semantic goal.
1346
+ type: SemanticGoalDateRangeOutputRepresentation
1347
+ forecasting:
1348
+ description: The forecasting state of the semantic goal.
1349
+ type: boolean
1350
+ statusConditions:
1351
+ description: The status condition list of the semantic goal.
1352
+ type: array
1353
+ items:
1354
+ type: SemanticGoalStatusConditionOutputRepresentation
1355
+ subMetricDefinitionApiName:
1356
+ description: The API name of the semantic sub metric definition.
1357
+ type: string
1244
1358
  SemanticGoalStatusConditionInputRepresentation:
1245
1359
  description: Input representation for specifying a semantic metric goal status condition
1246
1360
  type: object
@@ -2020,6 +2134,11 @@ types:
2020
2134
  forecasting:
2021
2135
  description: The forecasting state of the semantic metric goal.
2022
2136
  type: boolean
2137
+ statusConditions:
2138
+ description: The status condition list of the semantic metric goal.
2139
+ type: array
2140
+ items:
2141
+ type: SemanticGoalStatusConditionOutputRepresentation
2023
2142
  SemanticMetricInputRepresentation:
2024
2143
  description: Input representation for creating a semantic metric
2025
2144
  type: object
@@ -4188,6 +4307,46 @@ types:
4188
4307
  - Parameter
4189
4308
  - Relationship
4190
4309
  (oas-collectionFormat): csv
4310
+ /goals:
4311
+ get:
4312
+ displayName: getSemanticGoal
4313
+ description: Retrieves a specific Semantic Goal.
4314
+ responses:
4315
+ '200':
4316
+ description: Success
4317
+ body:
4318
+ application/json:
4319
+ type: SemanticGoalOutputRepresentation
4320
+ queryParameters:
4321
+ endDate:
4322
+ description: The end date of the desired goal.
4323
+ type: string
4324
+ required: false
4325
+ startDate:
4326
+ description: The start date of the desired goal.
4327
+ type: string
4328
+ required: false
4329
+ subMetricApiNameOrId:
4330
+ description: The Semantic Sub Metric Id related to the desired goal.
4331
+ type: string
4332
+ required: false
4333
+ post:
4334
+ displayName: postSemanticGoal
4335
+ description: Creates a new semantic goal
4336
+ responses:
4337
+ '200':
4338
+ description: Success
4339
+ body:
4340
+ application/json:
4341
+ type: SemanticGoalOutputRepresentation
4342
+ body:
4343
+ application/json:
4344
+ type: SemanticGoalInputRepresentation
4345
+ (oas-body-name): inputName
4346
+ uriParameters:
4347
+ modelApiNameOrId:
4348
+ type: string
4349
+ required: true
4191
4350
  /groupings:
4192
4351
  get:
4193
4352
  displayName: getSemanticGroupingCollection
@@ -53,6 +53,9 @@ types:
53
53
  SemanticGroupingOutputRepresentation:
54
54
  (luvio.key):
55
55
  name: id
56
+ SemanticGoalOutputRepresentation:
57
+ (luvio.key):
58
+ name: id
56
59
 
57
60
  /ssot/semantic/models:
58
61
  get:
@@ -126,3 +129,12 @@ types:
126
129
  get:
127
130
  (luvio.adapter):
128
131
  name: getLeafDependenciesByTypes
132
+ /goals:
133
+ get:
134
+ (luvio.key):
135
+ name: urlParams.modelApiNameOrId
136
+ (luvio.adapter):
137
+ name: getSemanticGoal
138
+ post:
139
+ (luvio.adapter):
140
+ name: createSemanticGoal