@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev2 → 1.332.0-dev4

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.
@@ -3669,11 +3669,11 @@ function validate$y(obj, path = 'SemanticLogicalViewInputRepresentation') {
3669
3669
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
3670
3670
  }
3671
3671
  }
3672
- if (obj.customSql !== undefined) {
3673
- const obj_customSql = obj.customSql;
3674
- const path_customSql = path + '.customSql';
3675
- if (typeof obj_customSql !== 'string') {
3676
- return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
3672
+ if (obj.customSQL !== undefined) {
3673
+ const obj_customSQL = obj.customSQL;
3674
+ const path_customSQL = path + '.customSQL';
3675
+ if (typeof obj_customSQL !== 'string') {
3676
+ return new TypeError('Expected "string" but received "' + typeof obj_customSQL + '" (at "' + path_customSQL + '")');
3677
3677
  }
3678
3678
  }
3679
3679
  if (obj.description !== undefined) {
@@ -7649,7 +7649,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
7649
7649
  }
7650
7650
  }
7651
7651
 
7652
- const VERSION$6 = "281e0163ea1fc7d956974394f5310216";
7652
+ const VERSION$6 = "f186bf0514421e7f42e284136d60ea6c";
7653
7653
  function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7654
7654
  const v_error = (() => {
7655
7655
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7684,11 +7684,11 @@ function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7684
7684
  if (typeof obj_createdDate !== 'string') {
7685
7685
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
7686
7686
  }
7687
- if (obj.customSql !== undefined) {
7688
- const obj_customSql = obj.customSql;
7689
- const path_customSql = path + '.customSql';
7690
- if (typeof obj_customSql !== 'string') {
7691
- return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
7687
+ if (obj.customSQL !== undefined) {
7688
+ const obj_customSQL = obj.customSQL;
7689
+ const path_customSQL = path + '.customSQL';
7690
+ if (typeof obj_customSQL !== 'string') {
7691
+ return new TypeError('Expected "string" but received "' + typeof obj_customSQL + '" (at "' + path_customSQL + '")');
7692
7692
  }
7693
7693
  }
7694
7694
  if (obj.description !== undefined) {
@@ -7897,7 +7897,7 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
7897
7897
  kind: 'Scalar'
7898
7898
  },
7899
7899
  {
7900
- name: 'customSql',
7900
+ name: 'customSQL',
7901
7901
  kind: 'Scalar',
7902
7902
  required: false
7903
7903
  },
@@ -8008,16 +8008,16 @@ function equals$6(existing, incoming) {
8008
8008
  if (!(existing_createdDate === incoming_createdDate)) {
8009
8009
  return false;
8010
8010
  }
8011
- const existing_customSql = existing.customSql;
8012
- const incoming_customSql = incoming.customSql;
8011
+ const existing_customSQL = existing.customSQL;
8012
+ const incoming_customSQL = incoming.customSQL;
8013
8013
  // if at least one of these optionals is defined
8014
- if (existing_customSql !== undefined || incoming_customSql !== undefined) {
8014
+ if (existing_customSQL !== undefined || incoming_customSQL !== undefined) {
8015
8015
  // if one of these is not defined we know the other is defined and therefore
8016
8016
  // not equal
8017
- if (existing_customSql === undefined || incoming_customSql === undefined) {
8017
+ if (existing_customSQL === undefined || incoming_customSQL === undefined) {
8018
8018
  return false;
8019
8019
  }
8020
- if (!(existing_customSql === incoming_customSql)) {
8020
+ if (!(existing_customSQL === incoming_customSQL)) {
8021
8021
  return false;
8022
8022
  }
8023
8023
  }
@@ -15,7 +15,7 @@ export interface ResourceRequestConfig {
15
15
  label?: string;
16
16
  filterLogic?: string;
17
17
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
18
- customSql?: string;
18
+ customSQL?: string;
19
19
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
20
20
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
21
21
  semanticUnions?: Array<types_SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -14,7 +14,7 @@ export interface ResourceRequestConfig {
14
14
  label?: string;
15
15
  filterLogic?: string;
16
16
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
17
- customSql?: string;
17
+ customSQL?: string;
18
18
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
19
19
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
20
20
  semanticUnions?: Array<types_SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -15,7 +15,7 @@ export interface ResourceRequestConfig {
15
15
  label?: string;
16
16
  filterLogic?: string;
17
17
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
18
- customSql?: string;
18
+ customSQL?: string;
19
19
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
20
20
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
21
21
  semanticUnions?: Array<types_SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -3,7 +3,7 @@ import { SemanticDataObjectInputRepresentation as SemanticDataObjectInputReprese
3
3
  import { SemanticRelationshipInputRepresentation as SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation } from './SemanticRelationshipInputRepresentation';
4
4
  import { SemanticUnionInputRepresentation as SemanticUnionInputRepresentation_SemanticUnionInputRepresentation } from './SemanticUnionInputRepresentation';
5
5
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
6
- export declare const VERSION = "f913bc73e37e2a7107113fd7ad230fa5";
6
+ export declare const VERSION = "dd0b4801453112232c32bb0078b30e92";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export declare function normalize(input: SemanticLogicalViewInputRepresentation, existing: SemanticLogicalViewInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticLogicalViewInputRepresentationNormalized;
@@ -21,7 +21,7 @@ export interface SemanticLogicalViewInputRepresentationNormalized {
21
21
  /** The API name of the semantic entity. */
22
22
  apiName?: string;
23
23
  /** Represents the custom sql query. */
24
- customSql?: string;
24
+ customSQL?: string;
25
25
  /** An optional description of the semantic entity. */
26
26
  description?: string;
27
27
  /** The logic for generating a filter based on the list of filters. */
@@ -45,7 +45,7 @@ export interface SemanticLogicalViewInputRepresentationNormalized {
45
45
  */
46
46
  export interface SemanticLogicalViewInputRepresentation {
47
47
  apiName?: string;
48
- customSql?: string;
48
+ customSQL?: string;
49
49
  description?: string;
50
50
  filterLogic?: string;
51
51
  filters?: Array<SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
@@ -3,7 +3,7 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
3
3
  import { SemanticDataObjectOutputRepresentation as SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation } from './SemanticDataObjectOutputRepresentation';
4
4
  import { SemanticRelationshipOutputRepresentation as SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation } from './SemanticRelationshipOutputRepresentation';
5
5
  import { SemanticUnionOutputRepresentation as SemanticUnionOutputRepresentation_SemanticUnionOutputRepresentation } from './SemanticUnionOutputRepresentation';
6
- export declare const VERSION = "281e0163ea1fc7d956974394f5310216";
6
+ export declare const VERSION = "f186bf0514421e7f42e284136d60ea6c";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -51,7 +51,7 @@ export interface SemanticLogicalViewOutputRepresentationNormalized {
51
51
  /** The date in which the semantic entity was created. */
52
52
  createdDate: string;
53
53
  /** The custom sql query, relevant only for logicalView created by sql */
54
- customSql?: string;
54
+ customSQL?: string;
55
55
  /** The Description of the semantic entity. */
56
56
  description?: string;
57
57
  /** The logic expression for generating a filter based on the list of filters. */
@@ -87,7 +87,7 @@ export interface SemanticLogicalViewOutputRepresentation {
87
87
  cacheKey?: string;
88
88
  createdBy: string;
89
89
  createdDate: string;
90
- customSql?: string;
90
+ customSQL?: string;
91
91
  description?: string;
92
92
  filterLogic?: string;
93
93
  filters?: Array<SemanticFilterOutputRepresentation_SemanticFilterOutputRepresentation>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.332.0-dev2",
3
+ "version": "1.332.0-dev4",
4
4
  "description": "Semantic Authoring",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-semantic-authoring.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.332.0-dev2"
43
+ "@salesforce/lds-bindings": "^1.332.0-dev4"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.332.0-dev2"
46
+ "@salesforce/lds-compiler-plugins": "^1.332.0-dev4"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1198,11 +1198,11 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1198
1198
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1199
1199
  }
1200
1200
  }
1201
- if (obj.customSql !== undefined) {
1202
- const obj_customSql = obj.customSql;
1203
- const path_customSql = path + '.customSql';
1204
- if (typeof obj_customSql !== 'string') {
1205
- return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
1201
+ if (obj.customSQL !== undefined) {
1202
+ const obj_customSQL = obj.customSQL;
1203
+ const path_customSQL = path + '.customSQL';
1204
+ if (typeof obj_customSQL !== 'string') {
1205
+ return new TypeError('Expected "string" but received "' + typeof obj_customSQL + '" (at "' + path_customSQL + '")');
1206
1206
  }
1207
1207
  }
1208
1208
  if (obj.description !== undefined) {
@@ -5485,7 +5485,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
5485
5485
  }
5486
5486
  }
5487
5487
 
5488
- const VERSION$d = "281e0163ea1fc7d956974394f5310216";
5488
+ const VERSION$d = "f186bf0514421e7f42e284136d60ea6c";
5489
5489
  function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5490
5490
  const v_error = (() => {
5491
5491
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5520,11 +5520,11 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5520
5520
  if (typeof obj_createdDate !== 'string') {
5521
5521
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
5522
5522
  }
5523
- if (obj.customSql !== undefined) {
5524
- const obj_customSql = obj.customSql;
5525
- const path_customSql = path + '.customSql';
5526
- if (typeof obj_customSql !== 'string') {
5527
- return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
5523
+ if (obj.customSQL !== undefined) {
5524
+ const obj_customSQL = obj.customSQL;
5525
+ const path_customSQL = path + '.customSQL';
5526
+ if (typeof obj_customSQL !== 'string') {
5527
+ return new TypeError('Expected "string" but received "' + typeof obj_customSQL + '" (at "' + path_customSQL + '")');
5528
5528
  }
5529
5529
  }
5530
5530
  if (obj.description !== undefined) {
@@ -5733,7 +5733,7 @@ const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5733
5733
  kind: 'Scalar'
5734
5734
  },
5735
5735
  {
5736
- name: 'customSql',
5736
+ name: 'customSQL',
5737
5737
  kind: 'Scalar',
5738
5738
  required: false
5739
5739
  },
@@ -5844,16 +5844,16 @@ function equals$d(existing, incoming) {
5844
5844
  if (!(existing_createdDate === incoming_createdDate)) {
5845
5845
  return false;
5846
5846
  }
5847
- const existing_customSql = existing.customSql;
5848
- const incoming_customSql = incoming.customSql;
5847
+ const existing_customSQL = existing.customSQL;
5848
+ const incoming_customSQL = incoming.customSQL;
5849
5849
  // if at least one of these optionals is defined
5850
- if (existing_customSql !== undefined || incoming_customSql !== undefined) {
5850
+ if (existing_customSQL !== undefined || incoming_customSQL !== undefined) {
5851
5851
  // if one of these is not defined we know the other is defined and therefore
5852
5852
  // not equal
5853
- if (existing_customSql === undefined || incoming_customSql === undefined) {
5853
+ if (existing_customSQL === undefined || incoming_customSQL === undefined) {
5854
5854
  return false;
5855
5855
  }
5856
- if (!(existing_customSql === incoming_customSql)) {
5856
+ if (!(existing_customSQL === incoming_customSQL)) {
5857
5857
  return false;
5858
5858
  }
5859
5859
  }
@@ -12375,4 +12375,4 @@ withDefaultLuvio((luvio) => {
12375
12375
  });
12376
12376
 
12377
12377
  export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticModel };
12378
- // version: 1.332.0-dev2-db38b645f2
12378
+ // version: 1.332.0-dev4-b9914caa2e
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:
@@ -301,7 +301,7 @@ types:
301
301
  type: string
302
302
  enum:
303
303
  - Cio
304
- - CustomSql
304
+ - CustomSQL
305
305
  - Dlo
306
306
  - Dmo
307
307
  SemanticDisplayCategoryEnum:
@@ -1546,7 +1546,7 @@ types:
1546
1546
  items:
1547
1547
  type: SemanticFilterInputRepresentation
1548
1548
  required: false
1549
- customSql:
1549
+ customSQL:
1550
1550
  description: Represents the custom sql query.
1551
1551
  type: string
1552
1552
  required: false
@@ -1609,7 +1609,7 @@ types:
1609
1609
  description: The date in which the semantic entity was last modified.
1610
1610
  type: string
1611
1611
  required: false
1612
- customSql:
1612
+ customSQL:
1613
1613
  description: The custom sql query, relevant only for logicalView created by sql
1614
1614
  type: string
1615
1615
  required: false