@salesforce/lds-adapters-cdp-semantic-authoring 1.391.0 → 1.393.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 (20) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +1247 -699
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +2 -0
  4. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +12 -0
  5. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +16 -0
  6. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsModelFiltersByModelApiNameOrId.d.ts +15 -0
  7. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  8. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsModelFiltersByModelApiNameOrId.d.ts +22 -0
  10. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  11. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsModelFiltersByFilterNameOrIdAndModelApiNameOrId.d.ts +23 -0
  12. package/dist/es/es2018/types/src/generated/types/SemanticModelFilterCollectionOutputRepresentation.d.ts +38 -0
  13. package/dist/es/es2018/types/src/generated/types/SemanticModelFilterInputRepresentation.d.ts +47 -0
  14. package/dist/es/es2018/types/src/generated/types/SemanticModelFilterOutputRepresentation.d.ts +80 -0
  15. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +4 -1
  16. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +7 -1
  17. package/package.json +3 -3
  18. package/sfdc/index.js +1226 -678
  19. package/src/raml/api.raml +181 -0
  20. package/src/raml/luvio.raml +3 -0
package/src/raml/api.raml CHANGED
@@ -2872,6 +2872,10 @@ types:
2872
2872
  items:
2873
2873
  type: SemanticMetricInputRepresentation
2874
2874
  required: false
2875
+ semanticModelFilter:
2876
+ description: Semantic model filter within the model.
2877
+ type: SemanticModelFilterInputRepresentation
2878
+ required: false
2875
2879
  semanticParameters:
2876
2880
  description: Semantic parameters within the model.
2877
2881
  type: array
@@ -2884,6 +2888,114 @@ types:
2884
2888
  items:
2885
2889
  type: SemanticRelationshipInputRepresentation
2886
2890
  required: false
2891
+ SemanticModelFilterCollectionOutputRepresentation:
2892
+ description: Semantic model filter collection representation.
2893
+ type: object
2894
+ additionalProperties: true
2895
+ properties:
2896
+ items:
2897
+ description: A list of semantic model filters.
2898
+ type: array
2899
+ required: false
2900
+ items:
2901
+ type: SemanticModelFilterOutputRepresentation
2902
+ SemanticModelFilterInputRepresentation:
2903
+ description: Represents the input structure used to define a filter in a semantic model.
2904
+ type: object
2905
+ properties:
2906
+ apiName:
2907
+ description: The API name of the semantic entity.
2908
+ type: string
2909
+ required: false
2910
+ description:
2911
+ description: An optional description of the semantic entity.
2912
+ type: string
2913
+ required: false
2914
+ externalConnectionApiName:
2915
+ description: The externalConnectionApiName property references the external connection details for external definition
2916
+ type: string
2917
+ required: false
2918
+ externalId:
2919
+ description: The external ID of the semantic entity from the external data source
2920
+ type: string
2921
+ required: false
2922
+ label:
2923
+ 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.
2924
+ type: string
2925
+ required: false
2926
+ filterLogic:
2927
+ description: The filter logic expression that defines how the filters are combined.
2928
+ type: string
2929
+ required: false
2930
+ filters:
2931
+ description: The list of filters to be applied.
2932
+ type: array
2933
+ items:
2934
+ type: SemanticFilterInputRepresentation
2935
+ required: false
2936
+ SemanticModelFilterOutputRepresentation:
2937
+ description: Output representation for a semantic model filter
2938
+ type: object
2939
+ additionalProperties: true
2940
+ properties:
2941
+ apiName:
2942
+ description: The API name of the semantic entity.
2943
+ type: string
2944
+ baseModelApiName:
2945
+ description: The origin model of the semantic entity.
2946
+ type: string
2947
+ required: false
2948
+ cacheKey:
2949
+ description: The Canonical URL of the collection for caching purposes only.
2950
+ type: string
2951
+ required: false
2952
+ createdBy:
2953
+ description: The user who created the semantic entity.
2954
+ type: string
2955
+ createdDate:
2956
+ description: The date in which the semantic entity was created.
2957
+ type: string
2958
+ description:
2959
+ description: The Description of the semantic entity.
2960
+ type: string
2961
+ required: false
2962
+ externalConnectionApiName:
2963
+ description: The externalConnectionApiName property references the external connection details for external definition
2964
+ type: string
2965
+ required: false
2966
+ externalId:
2967
+ description: The external ID of the semantic entity from the external data source
2968
+ type: string
2969
+ required: false
2970
+ id:
2971
+ description: The object ID of the semantic entity.
2972
+ type: string
2973
+ isQueryable:
2974
+ description: Indicates if the entity can be queried in semantic query engine
2975
+ type: SemanticEntityIsQueryableEnum
2976
+ required: false
2977
+ label:
2978
+ description: The display name of the semantic entity to be used in the ui.
2979
+ type: string
2980
+ required: false
2981
+ lastModifiedBy:
2982
+ description: The user who last modified the semantic entity.
2983
+ type: string
2984
+ required: false
2985
+ lastModifiedDate:
2986
+ description: The date in which the semantic entity was last modified.
2987
+ type: string
2988
+ required: false
2989
+ filterLogic:
2990
+ description: The filter logic expression that defines how the filters are combined.
2991
+ type: string
2992
+ required: false
2993
+ filters:
2994
+ description: The list of filters to be applied.
2995
+ type: array
2996
+ required: false
2997
+ items:
2998
+ type: SemanticFilterOutputRepresentation
2887
2999
  SemanticModelObjectCoordinateCollectionInputRepresentation:
2888
3000
  description: Represents a collection of Semantic Model Object Coordinate
2889
3001
  type: object
@@ -3088,6 +3200,12 @@ types:
3088
3200
  required: false
3089
3201
  items:
3090
3202
  type: SemanticMetricOutputRepresentation
3203
+ semanticModelFilters:
3204
+ description: The semantic model filters belonging to this model.
3205
+ type: array
3206
+ required: false
3207
+ items:
3208
+ type: SemanticModelFilterOutputRepresentation
3091
3209
  semanticParameters:
3092
3210
  description: The list of parameters belonging to the semantic model.
3093
3211
  type: array
@@ -5258,6 +5376,69 @@ types:
5258
5376
  modelApiNameOrId:
5259
5377
  type: string
5260
5378
  required: true
5379
+ /model-filters:
5380
+ get:
5381
+ displayName: getSemanticModelFilterCollection
5382
+ description: Retrieves a list of Semantic Model Filters in a specific Semantic Model.
5383
+ responses:
5384
+ '200':
5385
+ description: Success
5386
+ body:
5387
+ application/json:
5388
+ type: SemanticModelFilterCollectionOutputRepresentation
5389
+ post:
5390
+ displayName: postSemanticModelFilterCollection
5391
+ description: Creates a new Semantic Model Filter in a specific Semantic Model.
5392
+ responses:
5393
+ '200':
5394
+ description: Success
5395
+ body:
5396
+ application/json:
5397
+ type: SemanticModelFilterOutputRepresentation
5398
+ body:
5399
+ application/json:
5400
+ type: SemanticModelFilterInputRepresentation
5401
+ (oas-body-name): inputName
5402
+ uriParameters:
5403
+ modelApiNameOrId:
5404
+ type: string
5405
+ required: true
5406
+ /model-filters/{filterNameOrId}:
5407
+ delete:
5408
+ displayName: deleteSemanticModelFilter
5409
+ description: Deletes a specific Semantic Model Filter in a specific Semantic Model.
5410
+ responses:
5411
+ '200':
5412
+ description: Success
5413
+ get:
5414
+ displayName: getSemanticModelFilter
5415
+ description: Retrieves the attributes of a specific Semantic Model Filter in a specific Semantic Model.
5416
+ responses:
5417
+ '200':
5418
+ description: Success
5419
+ body:
5420
+ application/json:
5421
+ type: SemanticModelFilterOutputRepresentation
5422
+ put:
5423
+ displayName: putSemanticModelFilter
5424
+ description: Updates the attributes of a specific Semantic Model Filter in a specific Semantic Model.
5425
+ responses:
5426
+ '200':
5427
+ description: Success
5428
+ body:
5429
+ application/json:
5430
+ type: SemanticModelFilterOutputRepresentation
5431
+ body:
5432
+ application/json:
5433
+ type: SemanticModelFilterInputRepresentation
5434
+ (oas-body-name): inputName
5435
+ uriParameters:
5436
+ filterNameOrId:
5437
+ type: string
5438
+ required: true
5439
+ modelApiNameOrId:
5440
+ type: string
5441
+ required: true
5261
5442
  /override:
5262
5443
  put:
5263
5444
  displayName: putSemanticModelOverride
@@ -27,6 +27,9 @@ types:
27
27
  SemanticCalculatedDimensionOutputRepresentation:
28
28
  (luvio.key):
29
29
  name: id
30
+ SemanticModelFilterOutputRepresentation:
31
+ (luvio.key):
32
+ name: id
30
33
  SemanticParameterOutputRepresentation:
31
34
  (luvio.key):
32
35
  name: id