@salesforce/lds-adapters-cdp-semantic-authoring 1.345.0 → 1.347.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 (23) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +736 -843
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticGoal.d.ts +3 -3
  3. package/dist/es/es2018/types/src/generated/adapters/deleteSemanticGoal.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getSemanticGoal.d.ts +3 -3
  5. package/dist/es/es2018/types/src/generated/adapters/updateSemanticGoal.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  8. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +17 -0
  9. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +3 -3
  10. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -1
  11. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +3 -3
  12. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -1
  13. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -1
  15. package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts +5 -5
  16. package/dist/es/es2018/types/src/generated/types/SemanticGoalInputRepresentation.d.ts +7 -7
  17. package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +12 -6
  18. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +3 -3
  19. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +3 -3
  20. package/package.json +3 -3
  21. package/sfdc/index.js +794 -893
  22. package/src/raml/api.raml +57 -12
  23. package/src/raml/luvio.raml +17 -2
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:
@@ -294,7 +294,7 @@ types:
294
294
  type: string
295
295
  enum:
296
296
  - Cio
297
- - CustomSql
297
+ - CustomSQL
298
298
  - Dlo
299
299
  - Dmo
300
300
  SemanticGoalStatusConditionColorEnum:
@@ -1261,11 +1261,11 @@ types:
1261
1261
  endDate:
1262
1262
  description: The end date of the goal date range.
1263
1263
  type: string
1264
- required: false
1264
+ required: true
1265
1265
  startDate:
1266
1266
  description: The start date of the goal date range.
1267
1267
  type: string
1268
- required: false
1268
+ required: true
1269
1269
  SemanticGoalInputRepresentation:
1270
1270
  description: Input representation for specifying a semantic goal
1271
1271
  type: object
@@ -1285,7 +1285,7 @@ types:
1285
1285
  dateRange:
1286
1286
  description: The date range of the semantic goal.
1287
1287
  type: SemanticGoalDateRangeInputRepresentation
1288
- required: false
1288
+ required: true
1289
1289
  forecasting:
1290
1290
  description: The forecasting flag of the semantic goal.
1291
1291
  type: boolean
@@ -1295,11 +1295,11 @@ types:
1295
1295
  type: array
1296
1296
  items:
1297
1297
  type: SemanticGoalStatusConditionInputRepresentation
1298
- required: false
1298
+ required: true
1299
1299
  subMetricDefinitionApiName:
1300
1300
  description: The API name of the semantic sub metric definition.
1301
1301
  type: string
1302
- required: false
1302
+ required: true
1303
1303
  SemanticGoalOutputRepresentation:
1304
1304
  description: A semantic Goal.
1305
1305
  type: object
@@ -1673,7 +1673,7 @@ types:
1673
1673
  items:
1674
1674
  type: SemanticFilterInputRepresentation
1675
1675
  required: false
1676
- customSql:
1676
+ customSQL:
1677
1677
  description: Represents the custom sql query.
1678
1678
  type: string
1679
1679
  required: false
@@ -1736,7 +1736,7 @@ types:
1736
1736
  description: The date in which the semantic entity was last modified.
1737
1737
  type: string
1738
1738
  required: false
1739
- customSql:
1739
+ customSQL:
1740
1740
  description: The custom sql query, relevant only for logicalView created by sql
1741
1741
  type: string
1742
1742
  required: false
@@ -4308,6 +4308,25 @@ types:
4308
4308
  - Relationship
4309
4309
  (oas-collectionFormat): csv
4310
4310
  /goals:
4311
+ delete:
4312
+ displayName: deleteSemanticGoal
4313
+ description: Deletes a specific Semantic Goal.
4314
+ responses:
4315
+ '200':
4316
+ description: Success
4317
+ queryParameters:
4318
+ endDate:
4319
+ description: The end date of the desired goal.
4320
+ type: string
4321
+ required: true
4322
+ startDate:
4323
+ description: The start date of the desired goal.
4324
+ type: string
4325
+ required: true
4326
+ subMetricApiNameOrId:
4327
+ description: The Semantic Sub Metric Id related to the desired goal.
4328
+ type: string
4329
+ required: true
4311
4330
  get:
4312
4331
  displayName: getSemanticGoal
4313
4332
  description: Retrieves a specific Semantic Goal.
@@ -4321,15 +4340,15 @@ types:
4321
4340
  endDate:
4322
4341
  description: The end date of the desired goal.
4323
4342
  type: string
4324
- required: false
4343
+ required: true
4325
4344
  startDate:
4326
4345
  description: The start date of the desired goal.
4327
4346
  type: string
4328
- required: false
4347
+ required: true
4329
4348
  subMetricApiNameOrId:
4330
4349
  description: The Semantic Sub Metric Id related to the desired goal.
4331
4350
  type: string
4332
- required: false
4351
+ required: true
4333
4352
  post:
4334
4353
  displayName: postSemanticGoal
4335
4354
  description: Creates a new semantic goal
@@ -4343,6 +4362,32 @@ types:
4343
4362
  application/json:
4344
4363
  type: SemanticGoalInputRepresentation
4345
4364
  (oas-body-name): inputName
4365
+ put:
4366
+ displayName: putSemanticGoal
4367
+ description: Updates a Semantic Goal.
4368
+ responses:
4369
+ '200':
4370
+ description: Success
4371
+ body:
4372
+ application/json:
4373
+ type: SemanticGoalOutputRepresentation
4374
+ queryParameters:
4375
+ endDate:
4376
+ description: The end date of the desired goal.
4377
+ type: string
4378
+ required: true
4379
+ startDate:
4380
+ description: The start date of the desired goal.
4381
+ type: string
4382
+ required: true
4383
+ subMetricApiNameOrId:
4384
+ description: The Semantic Sub Metric Id related to the desired goal.
4385
+ type: string
4386
+ required: true
4387
+ body:
4388
+ application/json:
4389
+ type: SemanticGoalInputRepresentation
4390
+ (oas-body-name): inputName
4346
4391
  uriParameters:
4347
4392
  modelApiNameOrId:
4348
4393
  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