@salesforce/lds-adapters-cdp-semantic-authoring 1.302.0 → 1.304.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 +1837 -390
- package/dist/es/es2018/types/src/generated/adapters/getSemanticMetricsToSubMetrics.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetric.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetrics.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMetricApiNamesSubMetricsByMetricApiNamesAndModelApiNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsMetricsByModelApiNameOrId.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricOutputRepresentation.d.ts +75 -0
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricsByMetricCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricsByMetricOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeOutputRepresentation.d.ts +34 -0
- package/package.json +3 -3
- package/sfdc/index.js +5125 -3606
- package/src/raml/api.raml +280 -10
- package/src/raml/luvio.raml +17 -0
package/src/raml/api.raml
CHANGED
|
@@ -1940,6 +1940,167 @@ types:
|
|
|
1940
1940
|
properties:
|
|
1941
1941
|
//:
|
|
1942
1942
|
type: string
|
|
1943
|
+
SemanticSubMetricCollectionOutputRepresentation:
|
|
1944
|
+
description: Semantic Sub Metrics collection representation.
|
|
1945
|
+
type: object
|
|
1946
|
+
properties:
|
|
1947
|
+
items:
|
|
1948
|
+
description: The list of semantic SubMetrics.
|
|
1949
|
+
type: array
|
|
1950
|
+
required: false
|
|
1951
|
+
items:
|
|
1952
|
+
type: SemanticSubMetricOutputRepresentation
|
|
1953
|
+
SemanticSubMetricsByMetricCollectionOutputRepresentation:
|
|
1954
|
+
description: Collection of metric to sub metrics.
|
|
1955
|
+
type: object
|
|
1956
|
+
properties:
|
|
1957
|
+
items:
|
|
1958
|
+
description: The list of semantic metric to sub metrics.
|
|
1959
|
+
type: array
|
|
1960
|
+
required: false
|
|
1961
|
+
items:
|
|
1962
|
+
type: SemanticSubMetricsByMetricOutputRepresentation
|
|
1963
|
+
SemanticSubMetricsByMetricOutputRepresentation:
|
|
1964
|
+
description: contain metric data with it's sub metrics.
|
|
1965
|
+
type: object
|
|
1966
|
+
properties:
|
|
1967
|
+
metricApiName:
|
|
1968
|
+
description: The API name of the metric.
|
|
1969
|
+
type: string | nil
|
|
1970
|
+
required: false
|
|
1971
|
+
subMetrics:
|
|
1972
|
+
description: The sub metrics that depend on the metric
|
|
1973
|
+
type: array
|
|
1974
|
+
required: false
|
|
1975
|
+
items:
|
|
1976
|
+
type: SemanticSubMetricOutputRepresentation
|
|
1977
|
+
SemanticSubMetricInputRepresentation:
|
|
1978
|
+
description: Input representation for specifying a semantic sub-metric
|
|
1979
|
+
type: object
|
|
1980
|
+
properties:
|
|
1981
|
+
apiName:
|
|
1982
|
+
description: The API name of the semantic entity.
|
|
1983
|
+
type: string
|
|
1984
|
+
dataspace:
|
|
1985
|
+
description: An optional dataspace in which the entity is located.
|
|
1986
|
+
type: string | nil
|
|
1987
|
+
description:
|
|
1988
|
+
description: An optional description of the semantic entity.
|
|
1989
|
+
type: string | nil
|
|
1990
|
+
label:
|
|
1991
|
+
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.
|
|
1992
|
+
type: string | nil
|
|
1993
|
+
filterLogic:
|
|
1994
|
+
description: The filter logic of the sub-metric.
|
|
1995
|
+
type: string | nil
|
|
1996
|
+
filters:
|
|
1997
|
+
description: The filters of the sub-metric.
|
|
1998
|
+
type: array
|
|
1999
|
+
items:
|
|
2000
|
+
type: object
|
|
2001
|
+
semanticMetricDefinitionApiName:
|
|
2002
|
+
description: The API name of the semantic metric definition.
|
|
2003
|
+
type: string
|
|
2004
|
+
timeRange:
|
|
2005
|
+
description: The time range of the sub-metric.
|
|
2006
|
+
type: object
|
|
2007
|
+
SemanticSubMetricOutputRepresentation:
|
|
2008
|
+
description: A semantic Sub Metric.
|
|
2009
|
+
type: object
|
|
2010
|
+
properties:
|
|
2011
|
+
apiName:
|
|
2012
|
+
description: The API name of the semantic entity.
|
|
2013
|
+
type: string
|
|
2014
|
+
baseModelApiName:
|
|
2015
|
+
description: The baseModelApiName of the semantic entity.
|
|
2016
|
+
type: string
|
|
2017
|
+
required: false
|
|
2018
|
+
createdBy:
|
|
2019
|
+
description: The user who created the semantic entity.
|
|
2020
|
+
type: string
|
|
2021
|
+
createdDate:
|
|
2022
|
+
description: The date in which the semantic entity was created.
|
|
2023
|
+
type: string
|
|
2024
|
+
description:
|
|
2025
|
+
description: The Description of the semantic entity.
|
|
2026
|
+
type: string | nil
|
|
2027
|
+
required: false
|
|
2028
|
+
id:
|
|
2029
|
+
description: The object ID of the semantic entity.
|
|
2030
|
+
type: string
|
|
2031
|
+
required: false
|
|
2032
|
+
label:
|
|
2033
|
+
description: The display name of the semantic entity to be used in the ui.
|
|
2034
|
+
type: string | nil
|
|
2035
|
+
lastModifiedBy:
|
|
2036
|
+
description: The user who last modified the semantic entity.
|
|
2037
|
+
type: string | nil
|
|
2038
|
+
required: false
|
|
2039
|
+
lastModifiedDate:
|
|
2040
|
+
description: The date in which the semantic entity was last modified.
|
|
2041
|
+
type: string | nil
|
|
2042
|
+
required: false
|
|
2043
|
+
filterLogic:
|
|
2044
|
+
description: The filter logic of the Sub Metric.
|
|
2045
|
+
type: string | nil
|
|
2046
|
+
required: false
|
|
2047
|
+
filters:
|
|
2048
|
+
description: The filters of the Sub Metric.
|
|
2049
|
+
type: array
|
|
2050
|
+
required: false
|
|
2051
|
+
items:
|
|
2052
|
+
type: SemanticFilterOutputRepresentation
|
|
2053
|
+
semanticMetricDefinitionApiName:
|
|
2054
|
+
description: The API name of the semantic metric definition.
|
|
2055
|
+
type: string | nil
|
|
2056
|
+
required: false
|
|
2057
|
+
timeRange:
|
|
2058
|
+
description: The time range of the Sub Metric.
|
|
2059
|
+
type: SemanticTimeRangeOutputRepresentation | nil
|
|
2060
|
+
required: false
|
|
2061
|
+
SemanticTimeRangeInputRepresentation:
|
|
2062
|
+
description: Input representation for specifying a semantic time range
|
|
2063
|
+
type: object
|
|
2064
|
+
properties:
|
|
2065
|
+
customerEndDate:
|
|
2066
|
+
description: The end date of the customer-defined time range.
|
|
2067
|
+
type: string
|
|
2068
|
+
customerStartDate:
|
|
2069
|
+
description: The start date of the customer-defined time range.
|
|
2070
|
+
type: string
|
|
2071
|
+
timeRangeType:
|
|
2072
|
+
description: The type of the time range.
|
|
2073
|
+
type: string
|
|
2074
|
+
enum:
|
|
2075
|
+
- Customer
|
|
2076
|
+
- LastMonth
|
|
2077
|
+
- LastWeek
|
|
2078
|
+
- LastYear
|
|
2079
|
+
- MonthToDate
|
|
2080
|
+
- Yesterday
|
|
2081
|
+
SemanticTimeRangeOutputRepresentation:
|
|
2082
|
+
description: A semantic time range.
|
|
2083
|
+
type: object
|
|
2084
|
+
properties:
|
|
2085
|
+
customerEndDate:
|
|
2086
|
+
description: The end date of the customer-defined time range.
|
|
2087
|
+
type: string | nil
|
|
2088
|
+
required: false
|
|
2089
|
+
customerStartDate:
|
|
2090
|
+
description: The start date of the customer-defined time range.
|
|
2091
|
+
type: string | nil
|
|
2092
|
+
required: false
|
|
2093
|
+
timeRangeType:
|
|
2094
|
+
description: The type of the time range.
|
|
2095
|
+
type: string | nil
|
|
2096
|
+
required: false
|
|
2097
|
+
enum:
|
|
2098
|
+
- Customer
|
|
2099
|
+
- LastMonth
|
|
2100
|
+
- LastWeek
|
|
2101
|
+
- LastYear
|
|
2102
|
+
- MonthToDate
|
|
2103
|
+
- Yesterday
|
|
1943
2104
|
/ssot/semantic/models:
|
|
1944
2105
|
get:
|
|
1945
2106
|
displayName: getSemanticModelCollection
|
|
@@ -2212,37 +2373,86 @@ types:
|
|
|
2212
2373
|
modelApiNameOrId:
|
|
2213
2374
|
type: string
|
|
2214
2375
|
required: true
|
|
2215
|
-
/metrics:
|
|
2376
|
+
/metric-api-names/{metricApiNames}/sub-metrics:
|
|
2216
2377
|
get:
|
|
2217
|
-
displayName:
|
|
2218
|
-
description: Retrieves a
|
|
2378
|
+
displayName: getSemanticSubMetricsByMetric
|
|
2379
|
+
description: Retrieves a collection of metric to sub metrics
|
|
2219
2380
|
responses:
|
|
2220
2381
|
'200':
|
|
2221
2382
|
description: Success
|
|
2222
2383
|
body:
|
|
2223
2384
|
application/json:
|
|
2224
|
-
type:
|
|
2385
|
+
type: SemanticSubMetricsByMetricCollectionOutputRepresentation
|
|
2225
2386
|
uriParameters:
|
|
2387
|
+
metricApiNames:
|
|
2388
|
+
type: string
|
|
2389
|
+
required: true
|
|
2226
2390
|
modelApiNameOrId:
|
|
2227
2391
|
type: string
|
|
2228
2392
|
required: true
|
|
2229
|
-
/metrics
|
|
2393
|
+
/metrics:
|
|
2230
2394
|
get:
|
|
2231
|
-
displayName:
|
|
2232
|
-
description: Retrieves a
|
|
2395
|
+
displayName: getSemanticMetricCollection
|
|
2396
|
+
description: Retrieves a result of Semantic Metrics.
|
|
2397
|
+
responses:
|
|
2398
|
+
'200':
|
|
2399
|
+
description: Success
|
|
2400
|
+
body:
|
|
2401
|
+
application/json:
|
|
2402
|
+
type: SemanticMetricCollectionOutputRepresentation
|
|
2403
|
+
post:
|
|
2404
|
+
displayName: postSemanticMetricCollection
|
|
2405
|
+
description: Creates a new semantic metric
|
|
2233
2406
|
responses:
|
|
2234
2407
|
'200':
|
|
2235
2408
|
description: Success
|
|
2236
2409
|
body:
|
|
2237
2410
|
application/json:
|
|
2238
2411
|
type: SemanticMetricOutputRepresentation
|
|
2412
|
+
body:
|
|
2413
|
+
application/json:
|
|
2414
|
+
type: SemanticMetricInputRepresentation
|
|
2415
|
+
(oas-body-name): input
|
|
2239
2416
|
uriParameters:
|
|
2240
|
-
metricNameOrId:
|
|
2241
|
-
type: string
|
|
2242
|
-
required: true
|
|
2243
2417
|
modelApiNameOrId:
|
|
2244
2418
|
type: string
|
|
2245
2419
|
required: true
|
|
2420
|
+
/{metricNameOrId}:
|
|
2421
|
+
delete:
|
|
2422
|
+
displayName: deleteSemanticMetric
|
|
2423
|
+
description: Deletes a specific Semantic Metric.
|
|
2424
|
+
responses:
|
|
2425
|
+
'200':
|
|
2426
|
+
description: Success
|
|
2427
|
+
get:
|
|
2428
|
+
displayName: getSemanticMetric
|
|
2429
|
+
description: Retrieves a specific Semantic Metric.
|
|
2430
|
+
responses:
|
|
2431
|
+
'200':
|
|
2432
|
+
description: Success
|
|
2433
|
+
body:
|
|
2434
|
+
application/json:
|
|
2435
|
+
type: SemanticMetricOutputRepresentation
|
|
2436
|
+
put:
|
|
2437
|
+
displayName: putSemanticMetric
|
|
2438
|
+
description: Updates a specific Semantic Metric.
|
|
2439
|
+
responses:
|
|
2440
|
+
'200':
|
|
2441
|
+
description: Success
|
|
2442
|
+
body:
|
|
2443
|
+
application/json:
|
|
2444
|
+
type: SemanticMetricOutputRepresentation
|
|
2445
|
+
body:
|
|
2446
|
+
application/json:
|
|
2447
|
+
type: SemanticMetricInputRepresentation
|
|
2448
|
+
(oas-body-name): inputName
|
|
2449
|
+
uriParameters:
|
|
2450
|
+
metricNameOrId:
|
|
2451
|
+
type: string
|
|
2452
|
+
required: true
|
|
2453
|
+
modelApiNameOrId:
|
|
2454
|
+
type: string
|
|
2455
|
+
required: true
|
|
2246
2456
|
/parameters:
|
|
2247
2457
|
get:
|
|
2248
2458
|
displayName: getSemanticParameterCollection
|
|
@@ -2305,3 +2515,63 @@ types:
|
|
|
2305
2515
|
relationshipNameOrId:
|
|
2306
2516
|
type: string
|
|
2307
2517
|
required: true
|
|
2518
|
+
/sub-metrics:
|
|
2519
|
+
get:
|
|
2520
|
+
displayName: getSemanticSubMetricCollection
|
|
2521
|
+
description: Retrieves a result of Semantic Sub Metrics.
|
|
2522
|
+
responses:
|
|
2523
|
+
'200':
|
|
2524
|
+
description: Success
|
|
2525
|
+
body:
|
|
2526
|
+
application/json:
|
|
2527
|
+
type: SemanticSubMetricCollectionOutputRepresentation
|
|
2528
|
+
post:
|
|
2529
|
+
displayName: postSemanticSubMetricCollection
|
|
2530
|
+
description: Creates a new semantic sub metric
|
|
2531
|
+
responses:
|
|
2532
|
+
'200':
|
|
2533
|
+
description: Success
|
|
2534
|
+
body:
|
|
2535
|
+
application/json:
|
|
2536
|
+
type: SemanticSubMetricOutputRepresentation
|
|
2537
|
+
body:
|
|
2538
|
+
application/json:
|
|
2539
|
+
type: SemanticSubMetricInputRepresentation
|
|
2540
|
+
(oas-body-name): input
|
|
2541
|
+
uriParameters:
|
|
2542
|
+
modelApiNameOrId:
|
|
2543
|
+
type: string
|
|
2544
|
+
/{subMetricNameOrId}:
|
|
2545
|
+
delete:
|
|
2546
|
+
displayName: deleteSemanticSubMetric
|
|
2547
|
+
description: Deletes a specific Semantic Sub Metric.
|
|
2548
|
+
responses:
|
|
2549
|
+
'200':
|
|
2550
|
+
description: Success
|
|
2551
|
+
get:
|
|
2552
|
+
displayName: getSemanticSubMetric
|
|
2553
|
+
description: Retrieves a specific Semantic Sub Metric.
|
|
2554
|
+
responses:
|
|
2555
|
+
'200':
|
|
2556
|
+
description: Success
|
|
2557
|
+
body:
|
|
2558
|
+
application/json:
|
|
2559
|
+
type: SemanticSubMetricOutputRepresentation
|
|
2560
|
+
put:
|
|
2561
|
+
displayName: putSemanticSubMetric
|
|
2562
|
+
description: Updates a specific Semantic Sub Metric.
|
|
2563
|
+
responses:
|
|
2564
|
+
'200':
|
|
2565
|
+
description: Success
|
|
2566
|
+
body:
|
|
2567
|
+
application/json:
|
|
2568
|
+
type: SemanticSubMetricOutputRepresentation
|
|
2569
|
+
body:
|
|
2570
|
+
application/json:
|
|
2571
|
+
type: SemanticSubMetricInputRepresentation
|
|
2572
|
+
(oas-body-name): inputName
|
|
2573
|
+
uriParameters:
|
|
2574
|
+
modelApiNameOrId:
|
|
2575
|
+
type: string
|
|
2576
|
+
subMetricNameOrId:
|
|
2577
|
+
type: string
|
package/src/raml/luvio.raml
CHANGED
|
@@ -14,6 +14,9 @@ types:
|
|
|
14
14
|
SemanticMetricOutputRepresentation:
|
|
15
15
|
(luvio.key):
|
|
16
16
|
name: id
|
|
17
|
+
SemanticSubMetricOutputRepresentation:
|
|
18
|
+
(luvio.key):
|
|
19
|
+
name: apiName
|
|
17
20
|
|
|
18
21
|
/ssot/semantic/models:
|
|
19
22
|
get:
|
|
@@ -32,9 +35,23 @@ types:
|
|
|
32
35
|
get:
|
|
33
36
|
(luvio.adapter):
|
|
34
37
|
name: getSemanticMetrics
|
|
38
|
+
/metric-api-names/{metricApiNames}/sub-metrics:
|
|
39
|
+
get:
|
|
40
|
+
(luvio.adapter):
|
|
41
|
+
name: getSemanticMetricsToSubMetrics
|
|
35
42
|
/metrics/{metricNameOrId}:
|
|
36
43
|
get:
|
|
37
44
|
(luvio.key):
|
|
38
45
|
name: urlParams.metricNameOrId
|
|
39
46
|
(luvio.adapter):
|
|
40
47
|
name: getSemanticMetric
|
|
48
|
+
/sub-metrics:
|
|
49
|
+
get:
|
|
50
|
+
(luvio.adapter):
|
|
51
|
+
name: getSemanticSubMetrics
|
|
52
|
+
/sub-metrics/{subMetricNameOrId}:
|
|
53
|
+
get:
|
|
54
|
+
(luvio.key):
|
|
55
|
+
name: urlParams.subMetricNameOrId
|
|
56
|
+
(luvio.adapter):
|
|
57
|
+
name: getSemanticSubMetric
|