@salesforce/lds-adapters-cdp-data-clean-room 1.380.0-dev18 → 1.380.0-dev19

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.
@@ -1014,10 +1014,12 @@ function validate$f(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1014
1014
  message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1015
1015
  return new TypeError(message);
1016
1016
  }
1017
- const obj_version = obj.version;
1018
- const path_version = path + '.version';
1019
- if (typeof obj_version !== 'string') {
1020
- return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
1017
+ if (obj.version !== undefined) {
1018
+ const obj_version = obj.version;
1019
+ const path_version = path + '.version';
1020
+ if (typeof obj_version !== 'string') {
1021
+ return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
1022
+ }
1021
1023
  }
1022
1024
  })();
1023
1025
  return v_error === undefined ? null : v_error;
@@ -1,7 +1,7 @@
1
1
  import { CustomUseCaseTemplateQueryInputRepresentation as CustomUseCaseTemplateQueryInputRepresentation_CustomUseCaseTemplateQueryInputRepresentation } from './CustomUseCaseTemplateQueryInputRepresentation';
2
2
  import { CustomUseCaseTemplateTableInputRepresentation as CustomUseCaseTemplateTableInputRepresentation_CustomUseCaseTemplateTableInputRepresentation } from './CustomUseCaseTemplateTableInputRepresentation';
3
3
  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';
4
- export declare const VERSION = "1a027bfddd6ac05e690cb2aeb90ac012";
4
+ export declare const VERSION = "2ae72864653d02e150ce1e964e60b850";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: CustomUseCaseTemplateInputRepresentation, existing: CustomUseCaseTemplateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomUseCaseTemplateInputRepresentationNormalized;
@@ -23,7 +23,7 @@ export interface CustomUseCaseTemplateInputRepresentationNormalized {
23
23
  queries: CustomUseCaseTemplateQueryInputRepresentation_CustomUseCaseTemplateQueryInputRepresentation;
24
24
  tables: CustomUseCaseTemplateTableInputRepresentation_CustomUseCaseTemplateTableInputRepresentation;
25
25
  /** version of the custom template */
26
- version: string;
26
+ version?: string;
27
27
  }
28
28
  /**
29
29
  * Represents data clean room custom template
@@ -36,5 +36,5 @@ export interface CustomUseCaseTemplateInputRepresentation {
36
36
  name: string;
37
37
  queries: CustomUseCaseTemplateQueryInputRepresentation_CustomUseCaseTemplateQueryInputRepresentation;
38
38
  tables: CustomUseCaseTemplateTableInputRepresentation_CustomUseCaseTemplateTableInputRepresentation;
39
- version: string;
39
+ version?: string;
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-data-clean-room",
3
- "version": "1.380.0-dev18",
3
+ "version": "1.380.0-dev19",
4
4
  "description": "API's related to Data Clean Room Feature",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-data-clean-room.js",
@@ -41,10 +41,10 @@
41
41
  "test:unit": "jest"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.380.0-dev18"
44
+ "@salesforce/lds-bindings": "^1.380.0-dev19"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev18"
47
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev19"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -1586,10 +1586,12 @@ function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1586
1586
  message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1587
1587
  return new TypeError(message);
1588
1588
  }
1589
- const obj_version = obj.version;
1590
- const path_version = path + '.version';
1591
- if (typeof obj_version !== 'string') {
1592
- return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
1589
+ if (obj.version !== undefined) {
1590
+ const obj_version = obj.version;
1591
+ const path_version = path + '.version';
1592
+ if (typeof obj_version !== 'string') {
1593
+ return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
1594
+ }
1593
1595
  }
1594
1596
  })();
1595
1597
  return v_error === undefined ? null : v_error;
@@ -4071,4 +4073,4 @@ withDefaultLuvio((luvio) => {
4071
4073
  });
4072
4074
 
4073
4075
  export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, getDataCleanRoomTemplatesByProviderIdPaginated, getDataCleanRoomTemplatesByProviderIdPaginated_imperative, rejectDataCleanRoomInvitation };
4074
- // version: 1.380.0-dev18-ccce6b904c
4076
+ // version: 1.380.0-dev19-7a60ade74d
package/src/raml/api.raml CHANGED
@@ -890,7 +890,7 @@ types:
890
890
  version:
891
891
  description: version of the custom template
892
892
  type: string
893
- required: true
893
+ required: false
894
894
  tables:
895
895
  description: List of tables referenced in template queries
896
896
  type: CustomUseCaseTemplateTableInputRepresentation