@salesforce/lds-adapters-cdp-data-clean-room 1.368.0 → 1.369.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.
@@ -262,7 +262,7 @@ const ingest$9 = function DataCleanRoomProviderRepresentationIngest(input, path,
262
262
  }
263
263
  }
264
264
  const key = keyBuilderFromType$4(luvio, input);
265
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
265
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
266
266
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "data-clean-room", VERSION$9, RepresentationType$9, equals$9);
267
267
  return createLink(key);
268
268
  };
@@ -499,7 +499,7 @@ const ingest$8 = function DataCleanRoomProviderCollectionRepresentationIngest(in
499
499
  }
500
500
  }
501
501
  const key = path.fullPath;
502
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
502
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
503
503
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "data-clean-room", VERSION$8, RepresentationType$8, equals$8);
504
504
  return createLink(key);
505
505
  };
@@ -1053,8 +1053,101 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
1053
1053
  return v_error === undefined ? null : v_error;
1054
1054
  }
1055
1055
 
1056
- const VERSION$7 = "f502169b0ec369d5e3e577700c8835b6";
1057
- function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1056
+ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
1057
+ const v_error = (() => {
1058
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1059
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1060
+ }
1061
+ const obj_configuration = obj.configuration;
1062
+ const path_configuration = path + '.configuration';
1063
+ if (obj_configuration === undefined) {
1064
+ return new TypeError('Expected "defined" but received "' + typeof obj_configuration + '" (at "' + path_configuration + '")');
1065
+ }
1066
+ if (obj.createdBy !== undefined) {
1067
+ const obj_createdBy = obj.createdBy;
1068
+ const path_createdBy = path + '.createdBy';
1069
+ const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
1070
+ if (referencepath_createdByValidationError !== null) {
1071
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1072
+ message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1073
+ return new TypeError(message);
1074
+ }
1075
+ }
1076
+ if (obj.createdDate !== undefined) {
1077
+ const obj_createdDate = obj.createdDate;
1078
+ const path_createdDate = path + '.createdDate';
1079
+ if (typeof obj_createdDate !== 'string') {
1080
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1081
+ }
1082
+ }
1083
+ const obj_description = obj.description;
1084
+ const path_description = path + '.description';
1085
+ if (typeof obj_description !== 'string') {
1086
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1087
+ }
1088
+ if (obj.id !== undefined) {
1089
+ const obj_id = obj.id;
1090
+ const path_id = path + '.id';
1091
+ if (typeof obj_id !== 'string') {
1092
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1093
+ }
1094
+ }
1095
+ if (obj.label !== undefined) {
1096
+ const obj_label = obj.label;
1097
+ const path_label = path + '.label';
1098
+ if (typeof obj_label !== 'string') {
1099
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1100
+ }
1101
+ }
1102
+ if (obj.lastModifiedBy !== undefined) {
1103
+ const obj_lastModifiedBy = obj.lastModifiedBy;
1104
+ const path_lastModifiedBy = path + '.lastModifiedBy';
1105
+ const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
1106
+ if (referencepath_lastModifiedByValidationError !== null) {
1107
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1108
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1109
+ return new TypeError(message);
1110
+ }
1111
+ }
1112
+ if (obj.lastModifiedDate !== undefined) {
1113
+ const obj_lastModifiedDate = obj.lastModifiedDate;
1114
+ const path_lastModifiedDate = path + '.lastModifiedDate';
1115
+ if (typeof obj_lastModifiedDate !== 'string') {
1116
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1117
+ }
1118
+ }
1119
+ if (obj.name !== undefined) {
1120
+ const obj_name = obj.name;
1121
+ const path_name = path + '.name';
1122
+ if (typeof obj_name !== 'string') {
1123
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1124
+ }
1125
+ }
1126
+ if (obj.namespace !== undefined) {
1127
+ const obj_namespace = obj.namespace;
1128
+ const path_namespace = path + '.namespace';
1129
+ if (typeof obj_namespace !== 'string') {
1130
+ return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1131
+ }
1132
+ }
1133
+ const obj_queryTemplate = obj.queryTemplate;
1134
+ const path_queryTemplate = path + '.queryTemplate';
1135
+ if (obj_queryTemplate === undefined) {
1136
+ return new TypeError('Expected "defined" but received "' + typeof obj_queryTemplate + '" (at "' + path_queryTemplate + '")');
1137
+ }
1138
+ if (obj.url !== undefined) {
1139
+ const obj_url = obj.url;
1140
+ const path_url = path + '.url';
1141
+ if (typeof obj_url !== 'string') {
1142
+ return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1143
+ }
1144
+ }
1145
+ })();
1146
+ return v_error === undefined ? null : v_error;
1147
+ }
1148
+
1149
+ const VERSION$7 = "13758c356b17ead7d461ca3579ee1dcf";
1150
+ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1058
1151
  const v_error = (() => {
1059
1152
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1060
1153
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1156,10 +1249,15 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1156
1249
  if (typeof obj_status !== 'string') {
1157
1250
  return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1158
1251
  }
1159
- const obj_templateName = obj.templateName;
1160
- const path_templateName = path + '.templateName';
1161
- if (typeof obj_templateName !== 'string') {
1162
- return new TypeError('Expected "string" but received "' + typeof obj_templateName + '" (at "' + path_templateName + '")');
1252
+ if (obj.templateVersion !== undefined) {
1253
+ const obj_templateVersion = obj.templateVersion;
1254
+ const path_templateVersion = path + '.templateVersion';
1255
+ const referencepath_templateVersionValidationError = validate$8(obj_templateVersion, path_templateVersion);
1256
+ if (referencepath_templateVersionValidationError !== null) {
1257
+ let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
1258
+ message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1259
+ return new TypeError(message);
1260
+ }
1163
1261
  }
1164
1262
  if (obj.url !== undefined) {
1165
1263
  const obj_url = obj.url;
@@ -1200,13 +1298,13 @@ function equals$7(existing, incoming) {
1200
1298
  }
1201
1299
  const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1202
1300
  if (process.env.NODE_ENV !== 'production') {
1203
- const validateError = validate$8(input);
1301
+ const validateError = validate$7(input);
1204
1302
  if (validateError !== null) {
1205
1303
  throw validateError;
1206
1304
  }
1207
1305
  }
1208
1306
  const key = keyBuilderFromType$3(luvio, input);
1209
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1307
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1210
1308
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "data-clean-room", VERSION$7, RepresentationType$7, equals$7);
1211
1309
  return createLink(key);
1212
1310
  };
@@ -1221,7 +1319,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
1221
1319
  }
1222
1320
 
1223
1321
  const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
1224
- function validate$7(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
1322
+ function validate$6(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
1225
1323
  const v_error = (() => {
1226
1324
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1227
1325
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1415,13 +1513,13 @@ function equals$6(existing, incoming) {
1415
1513
  }
1416
1514
  const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1417
1515
  if (process.env.NODE_ENV !== 'production') {
1418
- const validateError = validate$7(input);
1516
+ const validateError = validate$6(input);
1419
1517
  if (validateError !== null) {
1420
1518
  throw validateError;
1421
1519
  }
1422
1520
  }
1423
1521
  const key = path.fullPath;
1424
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1522
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1425
1523
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-clean-room", VERSION$6, RepresentationType$6, equals$6);
1426
1524
  return createLink(key);
1427
1525
  };
@@ -1674,7 +1772,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1674
1772
  };
1675
1773
 
1676
1774
  const VERSION$5 = "60e6b0a7bcb30c169435125696ac47b1";
1677
- function validate$6(obj, path = 'DataCleanRoomMemberRepresentation') {
1775
+ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
1678
1776
  const v_error = (() => {
1679
1777
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1680
1778
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1753,13 +1851,13 @@ function equals$5(existing, incoming) {
1753
1851
  }
1754
1852
  const ingest$5 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
1755
1853
  if (process.env.NODE_ENV !== 'production') {
1756
- const validateError = validate$6(input);
1854
+ const validateError = validate$5(input);
1757
1855
  if (validateError !== null) {
1758
1856
  throw validateError;
1759
1857
  }
1760
1858
  }
1761
1859
  const key = keyBuilderFromType$2(luvio, input);
1762
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1860
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1763
1861
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-clean-room", VERSION$5, RepresentationType$5, equals$5);
1764
1862
  return createLink(key);
1765
1863
  };
@@ -1773,99 +1871,6 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1773
1871
  });
1774
1872
  }
1775
1873
 
1776
- function validate$5(obj, path = 'DataCleanRoomTemplateRepresentation') {
1777
- const v_error = (() => {
1778
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1779
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1780
- }
1781
- const obj_configuration = obj.configuration;
1782
- const path_configuration = path + '.configuration';
1783
- if (obj_configuration === undefined) {
1784
- return new TypeError('Expected "defined" but received "' + typeof obj_configuration + '" (at "' + path_configuration + '")');
1785
- }
1786
- if (obj.createdBy !== undefined) {
1787
- const obj_createdBy = obj.createdBy;
1788
- const path_createdBy = path + '.createdBy';
1789
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
1790
- if (referencepath_createdByValidationError !== null) {
1791
- let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1792
- message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1793
- return new TypeError(message);
1794
- }
1795
- }
1796
- if (obj.createdDate !== undefined) {
1797
- const obj_createdDate = obj.createdDate;
1798
- const path_createdDate = path + '.createdDate';
1799
- if (typeof obj_createdDate !== 'string') {
1800
- return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1801
- }
1802
- }
1803
- const obj_description = obj.description;
1804
- const path_description = path + '.description';
1805
- if (typeof obj_description !== 'string') {
1806
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1807
- }
1808
- if (obj.id !== undefined) {
1809
- const obj_id = obj.id;
1810
- const path_id = path + '.id';
1811
- if (typeof obj_id !== 'string') {
1812
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1813
- }
1814
- }
1815
- if (obj.label !== undefined) {
1816
- const obj_label = obj.label;
1817
- const path_label = path + '.label';
1818
- if (typeof obj_label !== 'string') {
1819
- return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1820
- }
1821
- }
1822
- if (obj.lastModifiedBy !== undefined) {
1823
- const obj_lastModifiedBy = obj.lastModifiedBy;
1824
- const path_lastModifiedBy = path + '.lastModifiedBy';
1825
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
1826
- if (referencepath_lastModifiedByValidationError !== null) {
1827
- let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1828
- message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1829
- return new TypeError(message);
1830
- }
1831
- }
1832
- if (obj.lastModifiedDate !== undefined) {
1833
- const obj_lastModifiedDate = obj.lastModifiedDate;
1834
- const path_lastModifiedDate = path + '.lastModifiedDate';
1835
- if (typeof obj_lastModifiedDate !== 'string') {
1836
- return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1837
- }
1838
- }
1839
- if (obj.name !== undefined) {
1840
- const obj_name = obj.name;
1841
- const path_name = path + '.name';
1842
- if (typeof obj_name !== 'string') {
1843
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1844
- }
1845
- }
1846
- if (obj.namespace !== undefined) {
1847
- const obj_namespace = obj.namespace;
1848
- const path_namespace = path + '.namespace';
1849
- if (typeof obj_namespace !== 'string') {
1850
- return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1851
- }
1852
- }
1853
- const obj_queryTemplate = obj.queryTemplate;
1854
- const path_queryTemplate = path + '.queryTemplate';
1855
- if (obj_queryTemplate === undefined) {
1856
- return new TypeError('Expected "defined" but received "' + typeof obj_queryTemplate + '" (at "' + path_queryTemplate + '")');
1857
- }
1858
- if (obj.url !== undefined) {
1859
- const obj_url = obj.url;
1860
- const path_url = path + '.url';
1861
- if (typeof obj_url !== 'string') {
1862
- return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1863
- }
1864
- }
1865
- })();
1866
- return v_error === undefined ? null : v_error;
1867
- }
1868
-
1869
1874
  const VERSION$4 = "11bd9b71debcc363b339183bc8d65735";
1870
1875
  function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
1871
1876
  const v_error = (() => {
@@ -1947,7 +1952,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
1947
1952
  for (let i = 0; i < obj_members.length; i++) {
1948
1953
  const obj_members_item = obj_members[i];
1949
1954
  const path_members_item = path_members + '[' + i + ']';
1950
- const referencepath_members_itemValidationError = validate$6(obj_members_item, path_members_item);
1955
+ const referencepath_members_itemValidationError = validate$5(obj_members_item, path_members_item);
1951
1956
  if (referencepath_members_itemValidationError !== null) {
1952
1957
  let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
1953
1958
  message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1975,7 +1980,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
1975
1980
  }
1976
1981
  const obj_templateVersion = obj.templateVersion;
1977
1982
  const path_templateVersion = path + '.templateVersion';
1978
- const referencepath_templateVersionValidationError = validate$5(obj_templateVersion, path_templateVersion);
1983
+ const referencepath_templateVersionValidationError = validate$8(obj_templateVersion, path_templateVersion);
1979
1984
  if (referencepath_templateVersionValidationError !== null) {
1980
1985
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
1981
1986
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2026,7 +2031,7 @@ const ingest$4 = function DataCleanRoomCollaborationRepresentationIngest(input,
2026
2031
  }
2027
2032
  }
2028
2033
  const key = keyBuilderFromType$1(luvio, input);
2029
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2034
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2030
2035
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-clean-room", VERSION$4, RepresentationType$4, equals$4);
2031
2036
  return createLink(key);
2032
2037
  };
@@ -2142,7 +2147,7 @@ const ingest$3 = function DataCleanRoomCollaborationCollectionRepresentationInge
2142
2147
  }
2143
2148
  }
2144
2149
  const key = path.fullPath;
2145
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2150
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2146
2151
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "data-clean-room", VERSION$3, RepresentationType$3, equals$3);
2147
2152
  return createLink(key);
2148
2153
  };
@@ -2447,7 +2452,7 @@ function validate$2(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
2447
2452
  for (let i = 0; i < obj_templates.length; i++) {
2448
2453
  const obj_templates_item = obj_templates[i];
2449
2454
  const path_templates_item = path_templates + '[' + i + ']';
2450
- const referencepath_templates_itemValidationError = validate$5(obj_templates_item, path_templates_item);
2455
+ const referencepath_templates_itemValidationError = validate$8(obj_templates_item, path_templates_item);
2451
2456
  if (referencepath_templates_itemValidationError !== null) {
2452
2457
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
2453
2458
  message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2490,7 +2495,7 @@ const ingest$2 = function DataCleanRoomTemplateCollectionRepresentationIngest(in
2490
2495
  }
2491
2496
  }
2492
2497
  const key = path.fullPath;
2493
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2498
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2494
2499
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "data-clean-room", VERSION$2, RepresentationType$2, equals$2);
2495
2500
  return createLink(key);
2496
2501
  };
@@ -2972,7 +2977,7 @@ const ingest$1 = function DataCleanRoomQueryJobRepresentationIngest(input, path,
2972
2977
  }
2973
2978
  }
2974
2979
  const key = keyBuilderFromType(luvio, input);
2975
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2980
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2976
2981
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "data-clean-room", VERSION$1, RepresentationType$1, equals$1);
2977
2982
  return createLink(key);
2978
2983
  };
@@ -3180,7 +3185,7 @@ const ingest = function DataCleanRoomQueryJobHistoryCollectionRepresentationInge
3180
3185
  }
3181
3186
  }
3182
3187
  const key = path.fullPath;
3183
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3188
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
3184
3189
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "data-clean-room", VERSION, RepresentationType, equals);
3185
3190
  return createLink(key);
3186
3191
  };
@@ -1,7 +1,8 @@
1
1
  import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
2
2
  import { UseCaseTemplateMappingRepresentation as UseCaseTemplateMappingRepresentation_UseCaseTemplateMappingRepresentation } from './UseCaseTemplateMappingRepresentation';
3
+ import { DataCleanRoomTemplateRepresentation as DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation } from './DataCleanRoomTemplateRepresentation';
3
4
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
- export declare const VERSION = "f502169b0ec369d5e3e577700c8835b6";
5
+ export declare const VERSION = "13758c356b17ead7d461ca3579ee1dcf";
5
6
  export declare function validate(obj: any, path?: string): TypeError | null;
6
7
  export declare const RepresentationType: string;
7
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -53,8 +54,7 @@ export interface DataCleanRoomDataSpecificationRepresentationNormalized {
53
54
  ownerOrgId?: string;
54
55
  /** Data Clean Room Data Specification Status */
55
56
  status: string;
56
- /** Data Clean Room UseCase Template name */
57
- templateName: string;
57
+ templateVersion?: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
58
58
  /** Url */
59
59
  url?: string;
60
60
  }
@@ -79,6 +79,6 @@ export interface DataCleanRoomDataSpecificationRepresentation {
79
79
  namespace?: string;
80
80
  ownerOrgId?: string;
81
81
  status: string;
82
- templateName: string;
82
+ templateVersion?: DataCleanRoomTemplateRepresentation_DataCleanRoomTemplateRepresentation;
83
83
  url?: string;
84
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-data-clean-room",
3
- "version": "1.368.0",
3
+ "version": "1.369.0",
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.368.0"
44
+ "@salesforce/lds-bindings": "^1.369.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.368.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.369.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -188,7 +188,7 @@ const ingest$9 = function DataCleanRoomMemberRepresentationIngest(input, path, l
188
188
  }
189
189
  }
190
190
  const key = keyBuilderFromType$4(luvio, input);
191
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
191
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
192
192
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "data-clean-room", VERSION$9, RepresentationType$9, equals$9);
193
193
  return createLink(key);
194
194
  };
@@ -577,7 +577,7 @@ const ingest$8 = function DataCleanRoomCollaborationRepresentationIngest(input,
577
577
  }
578
578
  }
579
579
  const key = keyBuilderFromType$3(luvio, input);
580
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
580
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
581
581
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "data-clean-room", VERSION$8, RepresentationType$8, equals$8);
582
582
  return createLink(key);
583
583
  };
@@ -993,7 +993,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
993
993
  return v_error === undefined ? null : v_error;
994
994
  }
995
995
 
996
- const VERSION$7 = "f502169b0ec369d5e3e577700c8835b6";
996
+ const VERSION$7 = "13758c356b17ead7d461ca3579ee1dcf";
997
997
  function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
998
998
  const v_error = (() => {
999
999
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1096,10 +1096,15 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1096
1096
  if (typeof obj_status !== 'string') {
1097
1097
  return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1098
1098
  }
1099
- const obj_templateName = obj.templateName;
1100
- const path_templateName = path + '.templateName';
1101
- if (typeof obj_templateName !== 'string') {
1102
- return new TypeError('Expected "string" but received "' + typeof obj_templateName + '" (at "' + path_templateName + '")');
1099
+ if (obj.templateVersion !== undefined) {
1100
+ const obj_templateVersion = obj.templateVersion;
1101
+ const path_templateVersion = path + '.templateVersion';
1102
+ const referencepath_templateVersionValidationError = validate$e(obj_templateVersion, path_templateVersion);
1103
+ if (referencepath_templateVersionValidationError !== null) {
1104
+ let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
1105
+ message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1106
+ return new TypeError(message);
1107
+ }
1103
1108
  }
1104
1109
  if (obj.url !== undefined) {
1105
1110
  const obj_url = obj.url;
@@ -1146,7 +1151,7 @@ const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(inp
1146
1151
  }
1147
1152
  }
1148
1153
  const key = keyBuilderFromType$2(luvio, input);
1149
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1154
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1150
1155
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "data-clean-room", VERSION$7, RepresentationType$7, equals$7);
1151
1156
  return createLink(key);
1152
1157
  };
@@ -1399,7 +1404,7 @@ const ingest$6 = function DataCleanRoomProviderRepresentationIngest(input, path,
1399
1404
  }
1400
1405
  }
1401
1406
  const key = keyBuilderFromType$1(luvio, input);
1402
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1407
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1403
1408
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-clean-room", VERSION$6, RepresentationType$6, equals$6);
1404
1409
  return createLink(key);
1405
1410
  };
@@ -1660,7 +1665,7 @@ const ingest$5 = function DataCleanRoomQueryJobRepresentationIngest(input, path,
1660
1665
  }
1661
1666
  }
1662
1667
  const key = keyBuilderFromType(luvio, input);
1663
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1668
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1664
1669
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-clean-room", VERSION$5, RepresentationType$5, equals$5);
1665
1670
  return createLink(key);
1666
1671
  };
@@ -1868,7 +1873,7 @@ const ingest$4 = function DataCleanRoomQueryJobHistoryCollectionRepresentationIn
1868
1873
  }
1869
1874
  }
1870
1875
  const key = path.fullPath;
1871
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1876
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1872
1877
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-clean-room", VERSION$4, RepresentationType$4, equals$4);
1873
1878
  return createLink(key);
1874
1879
  };
@@ -2120,7 +2125,7 @@ const ingest$3 = function DataCleanRoomCollaborationCollectionRepresentationInge
2120
2125
  }
2121
2126
  }
2122
2127
  const key = path.fullPath;
2123
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2128
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2124
2129
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "data-clean-room", VERSION$3, RepresentationType$3, equals$3);
2125
2130
  return createLink(key);
2126
2131
  };
@@ -2492,7 +2497,7 @@ const ingest$2 = function DataCleanRoomProviderCollectionRepresentationIngest(in
2492
2497
  }
2493
2498
  }
2494
2499
  const key = path.fullPath;
2495
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2500
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2496
2501
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "data-clean-room", VERSION$2, RepresentationType$2, equals$2);
2497
2502
  return createLink(key);
2498
2503
  };
@@ -2846,7 +2851,7 @@ const ingest$1 = function DataCleanRoomSpecificationCollectionRepresentationInge
2846
2851
  }
2847
2852
  }
2848
2853
  const key = path.fullPath;
2849
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2854
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2850
2855
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "data-clean-room", VERSION$1, RepresentationType$1, equals$1);
2851
2856
  return createLink(key);
2852
2857
  };
@@ -3101,7 +3106,7 @@ const ingest = function DataCleanRoomTemplateCollectionRepresentationIngest(inpu
3101
3106
  }
3102
3107
  }
3103
3108
  const key = path.fullPath;
3104
- const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3109
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
3105
3110
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "data-clean-room", VERSION, RepresentationType, equals);
3106
3111
  return createLink(key);
3107
3112
  };
@@ -3432,4 +3437,4 @@ withDefaultLuvio((luvio) => {
3432
3437
  });
3433
3438
 
3434
3439
  export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
3435
- // version: 1.368.0-de8cc6721e
3440
+ // version: 1.369.0-7bf258f54c
package/src/raml/api.raml CHANGED
@@ -373,9 +373,9 @@ types:
373
373
  enum:
374
374
  - Active
375
375
  - Inactive
376
- templateName:
377
- description: Data Clean Room UseCase Template name
378
- type: string
376
+ templateVersion?:
377
+ description: Template Version Info for which data clean room is created
378
+ type: DataCleanRoomTemplateRepresentation
379
379
  DataCleanRoomMemberRepresentation:
380
380
  description: Represents Cdp Data Clean Room Members
381
381
  type: object
@@ -5,7 +5,7 @@ uses:
5
5
  luvio: luvio://annotations.raml
6
6
 
7
7
  (luvio.keyPrefix): 'data-clean-room'
8
- (luvio.ttl): 60000
8
+ (luvio.ttl): 100
9
9
 
10
10
  types:
11
11
  DataCleanRoomProviderRepresentation: