@salesforce/lds-adapters-cdp-semantic-authoring 1.344.0 → 1.346.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/dist/es/es2018/cdp-semantic-authoring.js +1664 -845
- package/dist/es/es2018/types/src/generated/adapters/createSemanticGoal.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticGoal.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalInputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +78 -0
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +1360 -490
- package/src/raml/api.raml +163 -4
- package/src/raml/luvio.raml +12 -0
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
|
-
-
|
|
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
|
-
-
|
|
297
|
+
- CustomSQL
|
|
298
298
|
- Dlo
|
|
299
299
|
- Dmo
|
|
300
300
|
SemanticGoalStatusConditionColorEnum:
|
|
@@ -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
|
|
@@ -1559,7 +1673,7 @@ types:
|
|
|
1559
1673
|
items:
|
|
1560
1674
|
type: SemanticFilterInputRepresentation
|
|
1561
1675
|
required: false
|
|
1562
|
-
|
|
1676
|
+
customSQL:
|
|
1563
1677
|
description: Represents the custom sql query.
|
|
1564
1678
|
type: string
|
|
1565
1679
|
required: false
|
|
@@ -1622,7 +1736,7 @@ types:
|
|
|
1622
1736
|
description: The date in which the semantic entity was last modified.
|
|
1623
1737
|
type: string
|
|
1624
1738
|
required: false
|
|
1625
|
-
|
|
1739
|
+
customSQL:
|
|
1626
1740
|
description: The custom sql query, relevant only for logicalView created by sql
|
|
1627
1741
|
type: string
|
|
1628
1742
|
required: false
|
|
@@ -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
|
package/src/raml/luvio.raml
CHANGED
|
@@ -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
|