@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev16 → 1.332.0-dev18

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
@@ -1325,11 +1325,11 @@ types:
1325
1325
  endDate:
1326
1326
  description: The end date of the goal date range.
1327
1327
  type: string
1328
- required: false
1328
+ required: true
1329
1329
  startDate:
1330
1330
  description: The start date of the goal date range.
1331
1331
  type: string
1332
- required: false
1332
+ required: true
1333
1333
  SemanticGoalInputRepresentation:
1334
1334
  description: Input representation for specifying a semantic goal
1335
1335
  type: object
@@ -1349,7 +1349,7 @@ types:
1349
1349
  dateRange:
1350
1350
  description: The date range of the semantic goal.
1351
1351
  type: SemanticGoalDateRangeInputRepresentation
1352
- required: false
1352
+ required: true
1353
1353
  forecasting:
1354
1354
  description: The forecasting flag of the semantic goal.
1355
1355
  type: boolean
@@ -1359,11 +1359,11 @@ types:
1359
1359
  type: array
1360
1360
  items:
1361
1361
  type: SemanticGoalStatusConditionInputRepresentation
1362
- required: false
1362
+ required: true
1363
1363
  subMetricDefinitionApiName:
1364
1364
  description: The API name of the semantic sub metric definition.
1365
1365
  type: string
1366
- required: false
1366
+ required: true
1367
1367
  SemanticGoalOutputRepresentation:
1368
1368
  description: A semantic Goal.
1369
1369
  type: object
@@ -4372,6 +4372,25 @@ types:
4372
4372
  - Relationship
4373
4373
  (oas-collectionFormat): csv
4374
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
4375
4394
  get:
4376
4395
  displayName: getSemanticGoal
4377
4396
  description: Retrieves a specific Semantic Goal.
@@ -4385,15 +4404,15 @@ types:
4385
4404
  endDate:
4386
4405
  description: The end date of the desired goal.
4387
4406
  type: string
4388
- required: false
4407
+ required: true
4389
4408
  startDate:
4390
4409
  description: The start date of the desired goal.
4391
4410
  type: string
4392
- required: false
4411
+ required: true
4393
4412
  subMetricApiNameOrId:
4394
4413
  description: The Semantic Sub Metric Id related to the desired goal.
4395
4414
  type: string
4396
- required: false
4415
+ required: true
4397
4416
  post:
4398
4417
  displayName: postSemanticGoal
4399
4418
  description: Creates a new semantic goal
@@ -4407,6 +4426,32 @@ types:
4407
4426
  application/json:
4408
4427
  type: SemanticGoalInputRepresentation
4409
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
4410
4455
  uriParameters:
4411
4456
  modelApiNameOrId:
4412
4457
  type: string
@@ -54,8 +54,11 @@ types:
54
54
  (luvio.key):
55
55
  name: id
56
56
  SemanticGoalOutputRepresentation:
57
+ (luvio.opaque): true
57
58
  (luvio.key):
58
- name: id
59
+ subMetricNameOrId: subMetricDefinitionApiName
60
+ startDate: dateRange.startDate
61
+ endDate: dateRange.endDate
59
62
 
60
63
  /ssot/semantic/models:
61
64
  get:
@@ -132,9 +135,21 @@ types:
132
135
  /goals:
133
136
  get:
134
137
  (luvio.key):
135
- name: urlParams.modelApiNameOrId
138
+ subMetricNameOrId: queryParams.subMetricApiNameOrId
139
+ startDate: queryParams.startDate
140
+ endDate: queryParams.endDate
136
141
  (luvio.adapter):
137
142
  name: getSemanticGoal
138
143
  post:
139
144
  (luvio.adapter):
140
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