@salesforce/lds-adapters-cdp-data-clean-room 1.404.0-dev13 → 1.404.0-dev15

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 (36) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +516 -89
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +2 -0
  4. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +9 -1
  5. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +8 -7
  6. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3ConnectionAttributesRepresentation.d.ts +34 -0
  8. package/dist/es/es2018/types/src/generated/types/DataCleanRoomConnectionAttributesRepresentation.d.ts +28 -0
  9. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation.d.ts +31 -0
  10. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathRepresentation.d.ts +30 -0
  11. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTableRepresentation.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectRepresentation.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputRelatedTableRepresentation.d.ts +32 -0
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostUsecaseConfigRepresentation.d.ts +34 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataConfigurationRepresentation.d.ts +32 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataMemberConfigRepresentation.d.ts +43 -0
  18. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataOutputConfigRepresentation.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputConfigurationRepresentation.d.ts +34 -0
  20. package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeConnectionAttributesRepresentation.d.ts +40 -0
  21. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +7 -4
  22. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigInputRepresentation.d.ts +28 -0
  23. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigRepresentation.d.ts +28 -0
  24. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTableInputRepresentation.d.ts +28 -0
  25. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathAttributeInputRepresentation.d.ts +31 -0
  26. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathInputRepresentation.d.ts +30 -0
  27. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
  28. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectInputRepresentation.d.ts +29 -0
  29. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputRelatedTableInputRepresentation.d.ts +32 -0
  30. package/dist/es/es2018/types/src/generated/types/MatchBoostUsecaseConfigInputRepresentation.d.ts +34 -0
  31. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +52 -0
  32. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateConfigRepresentation.d.ts +29 -0
  33. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMemberConfigRepresentation.d.ts +32 -0
  34. package/package.json +3 -3
  35. package/sfdc/index.js +501 -74
  36. package/src/raml/api.raml +433 -6
@@ -7,7 +7,7 @@
7
7
  import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6, typeCheckConfig as typeCheckConfig$c, StoreKeyMap, createResourceParams as createResourceParams$c } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
- const { keys: ObjectKeys, create: ObjectCreate } = Object;
10
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
11
11
  const { isArray: ArrayIsArray$1 } = Array;
12
12
  /**
13
13
  * Validates an adapter config is well-formed.
@@ -31,7 +31,7 @@ function validateConfig(config, adapter, oneOf) {
31
31
  throw new TypeError(`adapter ${displayName} does not yet support ${unsupported.sort().join(', ')}`);
32
32
  }
33
33
  const supported = required.concat(optional);
34
- if (ObjectKeys(config).some(key => !supported.includes(key))) {
34
+ if (ObjectKeys$1(config).some(key => !supported.includes(key))) {
35
35
  throw new TypeError(`adapter ${displayName} configuration supports only ${supported.sort().join(', ')}`);
36
36
  }
37
37
  }
@@ -71,6 +71,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
71
71
  }
72
72
  const keyPrefix = 'data-clean-room';
73
73
 
74
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
74
75
  const { isArray: ArrayIsArray } = Array;
75
76
  const { stringify: JSONStringify } = JSON;
76
77
  function equalsArray(a, b, equalsItem) {
@@ -92,7 +93,7 @@ function createLink(ref) {
92
93
  };
93
94
  }
94
95
 
95
- function validate$s(obj, path = 'CdpUserRepresentation') {
96
+ function validate$C(obj, path = 'CdpUserRepresentation') {
96
97
  const v_error = (() => {
97
98
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
99
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -122,7 +123,7 @@ function validate$s(obj, path = 'CdpUserRepresentation') {
122
123
  return v_error === undefined ? null : v_error;
123
124
  }
124
125
 
125
- function validate$r(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
126
+ function validate$B(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
126
127
  const v_error = (() => {
127
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
128
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -146,7 +147,7 @@ function validate$r(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
146
147
  }
147
148
 
148
149
  const VERSION$9 = "164dc6669e5d3d9cf4de1e0546eb0476";
149
- function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
150
+ function validate$A(obj, path = 'DataCleanRoomProviderRepresentation') {
150
151
  const v_error = (() => {
151
152
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
152
153
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -154,7 +155,7 @@ function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
154
155
  if (obj.createdBy !== undefined) {
155
156
  const obj_createdBy = obj.createdBy;
156
157
  const path_createdBy = path + '.createdBy';
157
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
158
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
158
159
  if (referencepath_createdByValidationError !== null) {
159
160
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
160
161
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -211,7 +212,7 @@ function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
211
212
  if (obj.lastModifiedBy !== undefined) {
212
213
  const obj_lastModifiedBy = obj.lastModifiedBy;
213
214
  const path_lastModifiedBy = path + '.lastModifiedBy';
214
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
215
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
215
216
  if (referencepath_lastModifiedByValidationError !== null) {
216
217
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
217
218
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -312,7 +313,7 @@ function validate$q(obj, path = 'DataCleanRoomProviderRepresentation') {
312
313
  if (obj.useCaseTypeConfig !== undefined) {
313
314
  const obj_useCaseTypeConfig = obj.useCaseTypeConfig;
314
315
  const path_useCaseTypeConfig = path + '.useCaseTypeConfig';
315
- const referencepath_useCaseTypeConfigValidationError = validate$r(obj_useCaseTypeConfig, path_useCaseTypeConfig);
316
+ const referencepath_useCaseTypeConfigValidationError = validate$B(obj_useCaseTypeConfig, path_useCaseTypeConfig);
316
317
  if (referencepath_useCaseTypeConfigValidationError !== null) {
317
318
  let message = 'Object doesn\'t match DataCleanRoomUseCaseTypeRepresentation (at "' + path_useCaseTypeConfig + '")\n';
318
319
  message += referencepath_useCaseTypeConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -351,7 +352,7 @@ function equals$9(existing, incoming) {
351
352
  }
352
353
  const ingest$9 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
353
354
  if (process.env.NODE_ENV !== 'production') {
354
- const validateError = validate$q(input);
355
+ const validateError = validate$A(input);
355
356
  if (validateError !== null) {
356
357
  throw validateError;
357
358
  }
@@ -372,7 +373,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
372
373
  }
373
374
 
374
375
  const VERSION$8 = "52237eeecd4f8f11ae22e265d9abe5ca";
375
- function validate$p(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
376
+ function validate$z(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
376
377
  const v_error = (() => {
377
378
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
378
379
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -588,7 +589,7 @@ function equals$8(existing, incoming) {
588
589
  }
589
590
  const ingest$8 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
590
591
  if (process.env.NODE_ENV !== 'production') {
591
- const validateError = validate$p(input);
592
+ const validateError = validate$z(input);
592
593
  if (validateError !== null) {
593
594
  throw validateError;
594
595
  }
@@ -747,7 +748,7 @@ const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dat
747
748
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
748
749
  };
749
750
 
750
- function validate$o(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
751
+ function validate$y(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
751
752
  const v_error = (() => {
752
753
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
753
754
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -763,7 +764,7 @@ function validate$o(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentati
763
764
  return v_error === undefined ? null : v_error;
764
765
  }
765
766
 
766
- function validate$n(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
767
+ function validate$x(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
767
768
  const v_error = (() => {
768
769
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
769
770
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -787,7 +788,7 @@ function validate$n(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
787
788
  return v_error === undefined ? null : v_error;
788
789
  }
789
790
 
790
- function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
791
+ function validate$w(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
791
792
  const v_error = (() => {
792
793
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
793
794
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -800,7 +801,7 @@ function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
800
801
  for (let i = 0; i < obj_queryParamConfigs.length; i++) {
801
802
  const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
802
803
  const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
803
- const referencepath_queryParamConfigs_itemValidationError = validate$n(obj_queryParamConfigs_item, path_queryParamConfigs_item);
804
+ const referencepath_queryParamConfigs_itemValidationError = validate$x(obj_queryParamConfigs_item, path_queryParamConfigs_item);
804
805
  if (referencepath_queryParamConfigs_itemValidationError !== null) {
805
806
  let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
806
807
  message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -811,7 +812,7 @@ function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation')
811
812
  return v_error === undefined ? null : v_error;
812
813
  }
813
814
 
814
- function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
815
+ function validate$v(obj, path = 'CustomUseCaseTemplateQueryConfig') {
815
816
  const v_error = (() => {
816
817
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
817
818
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -819,7 +820,7 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
819
820
  if (obj.analysisConfigs !== undefined) {
820
821
  const obj_analysisConfigs = obj.analysisConfigs;
821
822
  const path_analysisConfigs = path + '.analysisConfigs';
822
- const referencepath_analysisConfigsValidationError = validate$o(obj_analysisConfigs, path_analysisConfigs);
823
+ const referencepath_analysisConfigsValidationError = validate$y(obj_analysisConfigs, path_analysisConfigs);
823
824
  if (referencepath_analysisConfigsValidationError !== null) {
824
825
  let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
825
826
  message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -839,10 +840,31 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
839
840
  if (obj.queryParameters !== undefined) {
840
841
  const obj_queryParameters = obj.queryParameters;
841
842
  const path_queryParameters = path + '.queryParameters';
842
- const referencepath_queryParametersValidationError = validate$m(obj_queryParameters, path_queryParameters);
843
- if (referencepath_queryParametersValidationError !== null) {
844
- let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
845
- message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
843
+ let obj_queryParameters_union0 = null;
844
+ const obj_queryParameters_union0_error = (() => {
845
+ const referencepath_queryParametersValidationError = validate$w(obj_queryParameters, path_queryParameters);
846
+ if (referencepath_queryParametersValidationError !== null) {
847
+ let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
848
+ message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
849
+ return new TypeError(message);
850
+ }
851
+ })();
852
+ if (obj_queryParameters_union0_error != null) {
853
+ obj_queryParameters_union0 = obj_queryParameters_union0_error.message;
854
+ }
855
+ let obj_queryParameters_union1 = null;
856
+ const obj_queryParameters_union1_error = (() => {
857
+ if (obj_queryParameters !== null) {
858
+ return new TypeError('Expected "null" but received "' + typeof obj_queryParameters + '" (at "' + path_queryParameters + '")');
859
+ }
860
+ })();
861
+ if (obj_queryParameters_union1_error != null) {
862
+ obj_queryParameters_union1 = obj_queryParameters_union1_error.message;
863
+ }
864
+ if (obj_queryParameters_union0 && obj_queryParameters_union1) {
865
+ let message = 'Object doesn\'t match union (at "' + path_queryParameters + '")';
866
+ message += '\n' + obj_queryParameters_union0.split('\n').map((line) => '\t' + line).join('\n');
867
+ message += '\n' + obj_queryParameters_union1.split('\n').map((line) => '\t' + line).join('\n');
846
868
  return new TypeError(message);
847
869
  }
848
870
  }
@@ -858,15 +880,61 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
858
880
  return new TypeError('Expected "string" but received "' + typeof obj_referencedTables_item + '" (at "' + path_referencedTables_item + '")');
859
881
  }
860
882
  }
861
- const obj_source = obj.source;
862
- const path_source = path + '.source';
863
- if (typeof obj_source !== 'string') {
864
- return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
883
+ if (obj.source !== undefined) {
884
+ const obj_source = obj.source;
885
+ const path_source = path + '.source';
886
+ let obj_source_union0 = null;
887
+ const obj_source_union0_error = (() => {
888
+ if (typeof obj_source !== 'string') {
889
+ return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
890
+ }
891
+ })();
892
+ if (obj_source_union0_error != null) {
893
+ obj_source_union0 = obj_source_union0_error.message;
894
+ }
895
+ let obj_source_union1 = null;
896
+ const obj_source_union1_error = (() => {
897
+ if (obj_source !== null) {
898
+ return new TypeError('Expected "null" but received "' + typeof obj_source + '" (at "' + path_source + '")');
899
+ }
900
+ })();
901
+ if (obj_source_union1_error != null) {
902
+ obj_source_union1 = obj_source_union1_error.message;
903
+ }
904
+ if (obj_source_union0 && obj_source_union1) {
905
+ let message = 'Object doesn\'t match union (at "' + path_source + '")';
906
+ message += '\n' + obj_source_union0.split('\n').map((line) => '\t' + line).join('\n');
907
+ message += '\n' + obj_source_union1.split('\n').map((line) => '\t' + line).join('\n');
908
+ return new TypeError(message);
909
+ }
865
910
  }
866
- const obj_type = obj.type;
867
- const path_type = path + '.type';
868
- if (typeof obj_type !== 'string') {
869
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
911
+ if (obj.type !== undefined) {
912
+ const obj_type = obj.type;
913
+ const path_type = path + '.type';
914
+ let obj_type_union0 = null;
915
+ const obj_type_union0_error = (() => {
916
+ if (typeof obj_type !== 'string') {
917
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
918
+ }
919
+ })();
920
+ if (obj_type_union0_error != null) {
921
+ obj_type_union0 = obj_type_union0_error.message;
922
+ }
923
+ let obj_type_union1 = null;
924
+ const obj_type_union1_error = (() => {
925
+ if (obj_type !== null) {
926
+ return new TypeError('Expected "null" but received "' + typeof obj_type + '" (at "' + path_type + '")');
927
+ }
928
+ })();
929
+ if (obj_type_union1_error != null) {
930
+ obj_type_union1 = obj_type_union1_error.message;
931
+ }
932
+ if (obj_type_union0 && obj_type_union1) {
933
+ let message = 'Object doesn\'t match union (at "' + path_type + '")';
934
+ message += '\n' + obj_type_union0.split('\n').map((line) => '\t' + line).join('\n');
935
+ message += '\n' + obj_type_union1.split('\n').map((line) => '\t' + line).join('\n');
936
+ return new TypeError(message);
937
+ }
870
938
  }
871
939
  if (obj.usecase !== undefined) {
872
940
  const obj_usecase = obj.usecase;
@@ -879,7 +947,7 @@ function validate$l(obj, path = 'CustomUseCaseTemplateQueryConfig') {
879
947
  return v_error === undefined ? null : v_error;
880
948
  }
881
949
 
882
- function validate$k(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
950
+ function validate$u(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
883
951
  const v_error = (() => {
884
952
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
885
953
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -892,7 +960,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
892
960
  for (let i = 0; i < obj_queryConfigs.length; i++) {
893
961
  const obj_queryConfigs_item = obj_queryConfigs[i];
894
962
  const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
895
- const referencepath_queryConfigs_itemValidationError = validate$l(obj_queryConfigs_item, path_queryConfigs_item);
963
+ const referencepath_queryConfigs_itemValidationError = validate$v(obj_queryConfigs_item, path_queryConfigs_item);
896
964
  if (referencepath_queryConfigs_itemValidationError !== null) {
897
965
  let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
898
966
  message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -903,7 +971,7 @@ function validate$k(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation')
903
971
  return v_error === undefined ? null : v_error;
904
972
  }
905
973
 
906
- function validate$j(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
974
+ function validate$t(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
907
975
  const v_error = (() => {
908
976
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
909
977
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -941,7 +1009,7 @@ function validate$j(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
941
1009
  return v_error === undefined ? null : v_error;
942
1010
  }
943
1011
 
944
- function validate$i(obj, path = 'CustomUseCaseTemplateTableConfig') {
1012
+ function validate$s(obj, path = 'CustomUseCaseTemplateTableConfig') {
945
1013
  const v_error = (() => {
946
1014
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
947
1015
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -954,7 +1022,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateTableConfig') {
954
1022
  for (let i = 0; i < obj_columns.length; i++) {
955
1023
  const obj_columns_item = obj_columns[i];
956
1024
  const path_columns_item = path_columns + '[' + i + ']';
957
- const referencepath_columns_itemValidationError = validate$j(obj_columns_item, path_columns_item);
1025
+ const referencepath_columns_itemValidationError = validate$t(obj_columns_item, path_columns_item);
958
1026
  if (referencepath_columns_itemValidationError !== null) {
959
1027
  let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
960
1028
  message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -980,7 +1048,7 @@ function validate$i(obj, path = 'CustomUseCaseTemplateTableConfig') {
980
1048
  return v_error === undefined ? null : v_error;
981
1049
  }
982
1050
 
983
- function validate$h(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
1051
+ function validate$r(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
984
1052
  const v_error = (() => {
985
1053
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
986
1054
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -993,7 +1061,7 @@ function validate$h(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
993
1061
  for (let i = 0; i < obj_tableConfigs.length; i++) {
994
1062
  const obj_tableConfigs_item = obj_tableConfigs[i];
995
1063
  const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
996
- const referencepath_tableConfigs_itemValidationError = validate$i(obj_tableConfigs_item, path_tableConfigs_item);
1064
+ const referencepath_tableConfigs_itemValidationError = validate$s(obj_tableConfigs_item, path_tableConfigs_item);
997
1065
  if (referencepath_tableConfigs_itemValidationError !== null) {
998
1066
  let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
999
1067
  message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1004,7 +1072,21 @@ function validate$h(obj, path = 'CustomUseCaseTemplateTableInputRepresentation')
1004
1072
  return v_error === undefined ? null : v_error;
1005
1073
  }
1006
1074
 
1007
- function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1075
+ function validate$q(obj, path = 'DataCleanRoomUsecaseConfigInputRepresentation') {
1076
+ const v_error = (() => {
1077
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1078
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1079
+ }
1080
+ const obj_useCaseType = obj.useCaseType;
1081
+ const path_useCaseType = path + '.useCaseType';
1082
+ if (typeof obj_useCaseType !== 'string') {
1083
+ return new TypeError('Expected "string" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
1084
+ }
1085
+ })();
1086
+ return v_error === undefined ? null : v_error;
1087
+ }
1088
+
1089
+ function validate$p(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1008
1090
  const v_error = (() => {
1009
1091
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1010
1092
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1021,7 +1103,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1021
1103
  }
1022
1104
  const obj_queries = obj.queries;
1023
1105
  const path_queries = path + '.queries';
1024
- const referencepath_queriesValidationError = validate$k(obj_queries, path_queries);
1106
+ const referencepath_queriesValidationError = validate$u(obj_queries, path_queries);
1025
1107
  if (referencepath_queriesValidationError !== null) {
1026
1108
  let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
1027
1109
  message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1029,12 +1111,31 @@ function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1029
1111
  }
1030
1112
  const obj_tables = obj.tables;
1031
1113
  const path_tables = path + '.tables';
1032
- const referencepath_tablesValidationError = validate$h(obj_tables, path_tables);
1114
+ const referencepath_tablesValidationError = validate$r(obj_tables, path_tables);
1033
1115
  if (referencepath_tablesValidationError !== null) {
1034
1116
  let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
1035
1117
  message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1036
1118
  return new TypeError(message);
1037
1119
  }
1120
+ if (obj.useCaseConfigs !== undefined) {
1121
+ const obj_useCaseConfigs = obj.useCaseConfigs;
1122
+ const path_useCaseConfigs = path + '.useCaseConfigs';
1123
+ if (typeof obj_useCaseConfigs !== 'object' || ArrayIsArray(obj_useCaseConfigs) || obj_useCaseConfigs === null) {
1124
+ return new TypeError('Expected "object" but received "' + typeof obj_useCaseConfigs + '" (at "' + path_useCaseConfigs + '")');
1125
+ }
1126
+ const obj_useCaseConfigs_keys = ObjectKeys(obj_useCaseConfigs);
1127
+ for (let i = 0; i < obj_useCaseConfigs_keys.length; i++) {
1128
+ const key = obj_useCaseConfigs_keys[i];
1129
+ const obj_useCaseConfigs_prop = obj_useCaseConfigs[key];
1130
+ const path_useCaseConfigs_prop = path_useCaseConfigs + '["' + key + '"]';
1131
+ const referencepath_useCaseConfigs_propValidationError = validate$q(obj_useCaseConfigs_prop, path_useCaseConfigs_prop);
1132
+ if (referencepath_useCaseConfigs_propValidationError !== null) {
1133
+ let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigInputRepresentation (at "' + path_useCaseConfigs_prop + '")\n';
1134
+ message += referencepath_useCaseConfigs_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1135
+ return new TypeError(message);
1136
+ }
1137
+ }
1138
+ }
1038
1139
  if (obj.version !== undefined) {
1039
1140
  const obj_version = obj.version;
1040
1141
  const path_version = path + '.version';
@@ -1046,7 +1147,7 @@ function validate$g(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
1046
1147
  return v_error === undefined ? null : v_error;
1047
1148
  }
1048
1149
 
1049
- function validate$f(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
1150
+ function validate$o(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
1050
1151
  const v_error = (() => {
1051
1152
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1052
1153
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1132,12 +1233,12 @@ function typeCheckConfig$a(untrustedConfig) {
1132
1233
  const config = {};
1133
1234
  typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1134
1235
  const untrustedConfig_templateJson = untrustedConfig.templateJson;
1135
- const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$g(untrustedConfig_templateJson);
1236
+ const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$p(untrustedConfig_templateJson);
1136
1237
  if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
1137
1238
  config.templateJson = untrustedConfig_templateJson;
1138
1239
  }
1139
1240
  const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
1140
- const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$f(untrustedConfig_useCaseTypeConfig);
1241
+ const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$o(untrustedConfig_useCaseTypeConfig);
1141
1242
  if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
1142
1243
  config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
1143
1244
  }
@@ -1187,7 +1288,7 @@ const createProviderAdapterFactory = (luvio) => {
1187
1288
  };
1188
1289
  };
1189
1290
 
1190
- function validate$e(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
1291
+ function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
1191
1292
  const v_error = (() => {
1192
1293
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1193
1294
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1213,7 +1314,7 @@ function validate$e(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
1213
1314
  return v_error === undefined ? null : v_error;
1214
1315
  }
1215
1316
 
1216
- function validate$d(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
1317
+ function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
1217
1318
  const v_error = (() => {
1218
1319
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1219
1320
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1232,7 +1333,7 @@ function validate$d(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
1232
1333
  return v_error === undefined ? null : v_error;
1233
1334
  }
1234
1335
 
1235
- function validate$c(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
1336
+ function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
1236
1337
  const v_error = (() => {
1237
1338
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1238
1339
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1261,7 +1362,7 @@ function validate$c(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
1261
1362
  return v_error === undefined ? null : v_error;
1262
1363
  }
1263
1364
 
1264
- function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
1365
+ function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
1265
1366
  const v_error = (() => {
1266
1367
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1267
1368
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1281,7 +1382,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1281
1382
  if (obj.createdBy !== undefined) {
1282
1383
  const obj_createdBy = obj.createdBy;
1283
1384
  const path_createdBy = path + '.createdBy';
1284
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
1385
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
1285
1386
  if (referencepath_createdByValidationError !== null) {
1286
1387
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1287
1388
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1298,7 +1399,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1298
1399
  if (obj.dataMapping !== undefined) {
1299
1400
  const obj_dataMapping = obj.dataMapping;
1300
1401
  const path_dataMapping = path + '.dataMapping';
1301
- const referencepath_dataMappingValidationError = validate$a(obj_dataMapping, path_dataMapping);
1402
+ const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
1302
1403
  if (referencepath_dataMappingValidationError !== null) {
1303
1404
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
1304
1405
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1308,7 +1409,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1308
1409
  if (obj.filterOptions !== undefined) {
1309
1410
  const obj_filterOptions = obj.filterOptions;
1310
1411
  const path_filterOptions = path + '.filterOptions';
1311
- const referencepath_filterOptionsValidationError = validate$e(obj_filterOptions, path_filterOptions);
1412
+ const referencepath_filterOptionsValidationError = validate$n(obj_filterOptions, path_filterOptions);
1312
1413
  if (referencepath_filterOptionsValidationError !== null) {
1313
1414
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
1314
1415
  message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1332,7 +1433,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1332
1433
  if (obj.lastModifiedBy !== undefined) {
1333
1434
  const obj_lastModifiedBy = obj.lastModifiedBy;
1334
1435
  const path_lastModifiedBy = path + '.lastModifiedBy';
1335
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
1436
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
1336
1437
  if (referencepath_lastModifiedByValidationError !== null) {
1337
1438
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1338
1439
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1368,7 +1469,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1368
1469
  for (let i = 0; i < obj_path.length; i++) {
1369
1470
  const obj_path_item = obj_path[i];
1370
1471
  const path_path_item = path_path + '[' + i + ']';
1371
- const referencepath_path_itemValidationError = validate$d(obj_path_item, path_path_item);
1472
+ const referencepath_path_itemValidationError = validate$m(obj_path_item, path_path_item);
1372
1473
  if (referencepath_path_itemValidationError !== null) {
1373
1474
  let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
1374
1475
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1377,7 +1478,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1377
1478
  }
1378
1479
  const obj_subjectAttribute = obj.subjectAttribute;
1379
1480
  const path_subjectAttribute = path + '.subjectAttribute';
1380
- const referencepath_subjectAttributeValidationError = validate$c(obj_subjectAttribute, path_subjectAttribute);
1481
+ const referencepath_subjectAttributeValidationError = validate$l(obj_subjectAttribute, path_subjectAttribute);
1381
1482
  if (referencepath_subjectAttributeValidationError !== null) {
1382
1483
  let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
1383
1484
  message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1394,7 +1495,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
1394
1495
  return v_error === undefined ? null : v_error;
1395
1496
  }
1396
1497
 
1397
- function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
1498
+ function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
1398
1499
  const v_error = (() => {
1399
1500
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1400
1501
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1407,7 +1508,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
1407
1508
  for (let i = 0; i < obj_attributes.length; i++) {
1408
1509
  const obj_attributes_item = obj_attributes[i];
1409
1510
  const path_attributes_item = path_attributes + '[' + i + ']';
1410
- const referencepath_attributes_itemValidationError = validate$b(obj_attributes_item, path_attributes_item);
1511
+ const referencepath_attributes_itemValidationError = validate$k(obj_attributes_item, path_attributes_item);
1411
1512
  if (referencepath_attributes_itemValidationError !== null) {
1412
1513
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
1413
1514
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1422,7 +1523,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
1422
1523
  if (obj.createdBy !== undefined) {
1423
1524
  const obj_createdBy = obj.createdBy;
1424
1525
  const path_createdBy = path + '.createdBy';
1425
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
1526
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
1426
1527
  if (referencepath_createdByValidationError !== null) {
1427
1528
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1428
1529
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1453,7 +1554,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
1453
1554
  if (obj.lastModifiedBy !== undefined) {
1454
1555
  const obj_lastModifiedBy = obj.lastModifiedBy;
1455
1556
  const path_lastModifiedBy = path + '.lastModifiedBy';
1456
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
1557
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
1457
1558
  if (referencepath_lastModifiedByValidationError !== null) {
1458
1559
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1459
1560
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1492,20 +1593,285 @@ function validate$a(obj, path = 'UseCaseTemplateMappingRepresentation') {
1492
1593
  return v_error === undefined ? null : v_error;
1493
1594
  }
1494
1595
 
1495
- function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
1596
+ function validate$i(obj, path = 'UseCaseTemplateAttributeConfigRepresentation') {
1597
+ const v_error = (() => {
1598
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1599
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1600
+ }
1601
+ if (obj.alias !== undefined) {
1602
+ const obj_alias = obj.alias;
1603
+ const path_alias = path + '.alias';
1604
+ if (typeof obj_alias !== 'string') {
1605
+ return new TypeError('Expected "string" but received "' + typeof obj_alias + '" (at "' + path_alias + '")');
1606
+ }
1607
+ }
1608
+ if (obj.defaultValue !== undefined) {
1609
+ const obj_defaultValue = obj.defaultValue;
1610
+ const path_defaultValue = path + '.defaultValue';
1611
+ if (typeof obj_defaultValue !== 'string') {
1612
+ return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
1613
+ }
1614
+ }
1615
+ if (obj.description !== undefined) {
1616
+ const obj_description = obj.description;
1617
+ const path_description = path + '.description';
1618
+ if (typeof obj_description !== 'string') {
1619
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1620
+ }
1621
+ }
1622
+ if (obj.id !== undefined) {
1623
+ const obj_id = obj.id;
1624
+ const path_id = path + '.id';
1625
+ if (typeof obj_id !== 'string') {
1626
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1627
+ }
1628
+ }
1629
+ if (obj.label !== undefined) {
1630
+ const obj_label = obj.label;
1631
+ const path_label = path + '.label';
1632
+ if (typeof obj_label !== 'string') {
1633
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1634
+ }
1635
+ }
1636
+ if (obj.queryOptions !== undefined) {
1637
+ const obj_queryOptions = obj.queryOptions;
1638
+ const path_queryOptions = path + '.queryOptions';
1639
+ if (obj_queryOptions === undefined) {
1640
+ return new TypeError('Expected "defined" but received "' + typeof obj_queryOptions + '" (at "' + path_queryOptions + '")');
1641
+ }
1642
+ }
1643
+ if (obj.required !== undefined) {
1644
+ const obj_required = obj.required;
1645
+ const path_required = path + '.required';
1646
+ if (typeof obj_required !== 'boolean') {
1647
+ return new TypeError('Expected "boolean" but received "' + typeof obj_required + '" (at "' + path_required + '")');
1648
+ }
1649
+ }
1650
+ if (obj.tableName !== undefined) {
1651
+ const obj_tableName = obj.tableName;
1652
+ const path_tableName = path + '.tableName';
1653
+ if (typeof obj_tableName !== 'string') {
1654
+ return new TypeError('Expected "string" but received "' + typeof obj_tableName + '" (at "' + path_tableName + '")');
1655
+ }
1656
+ }
1657
+ if (obj.tooltip !== undefined) {
1658
+ const obj_tooltip = obj.tooltip;
1659
+ const path_tooltip = path + '.tooltip';
1660
+ if (typeof obj_tooltip !== 'string') {
1661
+ return new TypeError('Expected "string" but received "' + typeof obj_tooltip + '" (at "' + path_tooltip + '")');
1662
+ }
1663
+ }
1664
+ })();
1665
+ return v_error === undefined ? null : v_error;
1666
+ }
1667
+
1668
+ function validate$h(obj, path = 'UseCaseTemplateMemberConfigRepresentation') {
1669
+ const v_error = (() => {
1670
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1671
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1672
+ }
1673
+ if (obj.attributeConfigs !== undefined) {
1674
+ const obj_attributeConfigs = obj.attributeConfigs;
1675
+ const path_attributeConfigs = path + '.attributeConfigs';
1676
+ if (!ArrayIsArray(obj_attributeConfigs)) {
1677
+ return new TypeError('Expected "array" but received "' + typeof obj_attributeConfigs + '" (at "' + path_attributeConfigs + '")');
1678
+ }
1679
+ for (let i = 0; i < obj_attributeConfigs.length; i++) {
1680
+ const obj_attributeConfigs_item = obj_attributeConfigs[i];
1681
+ const path_attributeConfigs_item = path_attributeConfigs + '[' + i + ']';
1682
+ const referencepath_attributeConfigs_itemValidationError = validate$i(obj_attributeConfigs_item, path_attributeConfigs_item);
1683
+ if (referencepath_attributeConfigs_itemValidationError !== null) {
1684
+ let message = 'Object doesn\'t match UseCaseTemplateAttributeConfigRepresentation (at "' + path_attributeConfigs_item + '")\n';
1685
+ message += referencepath_attributeConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1686
+ return new TypeError(message);
1687
+ }
1688
+ }
1689
+ }
1690
+ if (obj.memberType !== undefined) {
1691
+ const obj_memberType = obj.memberType;
1692
+ const path_memberType = path + '.memberType';
1693
+ if (obj_memberType === undefined) {
1694
+ return new TypeError('Expected "defined" but received "' + typeof obj_memberType + '" (at "' + path_memberType + '")');
1695
+ }
1696
+ }
1697
+ })();
1698
+ return v_error === undefined ? null : v_error;
1699
+ }
1700
+
1701
+ function validate$g(obj, path = 'UseCaseTemplateConfigRepresentation') {
1702
+ const v_error = (() => {
1703
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1704
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1705
+ }
1706
+ if (obj.memberConfigs !== undefined) {
1707
+ const obj_memberConfigs = obj.memberConfigs;
1708
+ const path_memberConfigs = path + '.memberConfigs';
1709
+ if (!ArrayIsArray(obj_memberConfigs)) {
1710
+ return new TypeError('Expected "array" but received "' + typeof obj_memberConfigs + '" (at "' + path_memberConfigs + '")');
1711
+ }
1712
+ for (let i = 0; i < obj_memberConfigs.length; i++) {
1713
+ const obj_memberConfigs_item = obj_memberConfigs[i];
1714
+ const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
1715
+ const referencepath_memberConfigs_itemValidationError = validate$h(obj_memberConfigs_item, path_memberConfigs_item);
1716
+ if (referencepath_memberConfigs_itemValidationError !== null) {
1717
+ let message = 'Object doesn\'t match UseCaseTemplateMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
1718
+ message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1719
+ return new TypeError(message);
1720
+ }
1721
+ }
1722
+ }
1723
+ })();
1724
+ return v_error === undefined ? null : v_error;
1725
+ }
1726
+
1727
+ function validate$f(obj, path = 'DataCleanRoomMetadataOutputConfigRepresentation') {
1728
+ const v_error = (() => {
1729
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1730
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1731
+ }
1732
+ if (obj.connectorType !== undefined) {
1733
+ const obj_connectorType = obj.connectorType;
1734
+ const path_connectorType = path + '.connectorType';
1735
+ if (obj_connectorType === undefined) {
1736
+ return new TypeError('Expected "defined" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
1737
+ }
1738
+ }
1739
+ if (obj.destinationType !== undefined) {
1740
+ const obj_destinationType = obj.destinationType;
1741
+ const path_destinationType = path + '.destinationType';
1742
+ if (obj_destinationType === undefined) {
1743
+ return new TypeError('Expected "defined" but received "' + typeof obj_destinationType + '" (at "' + path_destinationType + '")');
1744
+ }
1745
+ }
1746
+ })();
1747
+ return v_error === undefined ? null : v_error;
1748
+ }
1749
+
1750
+ function validate$e(obj, path = 'DataCleanRoomMetadataMemberConfigRepresentation') {
1751
+ const v_error = (() => {
1752
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1753
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1754
+ }
1755
+ if (obj.canReceiveResult !== undefined) {
1756
+ const obj_canReceiveResult = obj.canReceiveResult;
1757
+ const path_canReceiveResult = path + '.canReceiveResult';
1758
+ if (typeof obj_canReceiveResult !== 'boolean') {
1759
+ return new TypeError('Expected "boolean" but received "' + typeof obj_canReceiveResult + '" (at "' + path_canReceiveResult + '")');
1760
+ }
1761
+ }
1762
+ if (obj.canTriggerQuery !== undefined) {
1763
+ const obj_canTriggerQuery = obj.canTriggerQuery;
1764
+ const path_canTriggerQuery = path + '.canTriggerQuery';
1765
+ if (typeof obj_canTriggerQuery !== 'boolean') {
1766
+ return new TypeError('Expected "boolean" but received "' + typeof obj_canTriggerQuery + '" (at "' + path_canTriggerQuery + '")');
1767
+ }
1768
+ }
1769
+ if (obj.contributesData !== undefined) {
1770
+ const obj_contributesData = obj.contributesData;
1771
+ const path_contributesData = path + '.contributesData';
1772
+ if (typeof obj_contributesData !== 'boolean') {
1773
+ return new TypeError('Expected "boolean" but received "' + typeof obj_contributesData + '" (at "' + path_contributesData + '")');
1774
+ }
1775
+ }
1776
+ if (obj.outputConfig !== undefined) {
1777
+ const obj_outputConfig = obj.outputConfig;
1778
+ const path_outputConfig = path + '.outputConfig';
1779
+ const referencepath_outputConfigValidationError = validate$f(obj_outputConfig, path_outputConfig);
1780
+ if (referencepath_outputConfigValidationError !== null) {
1781
+ let message = 'Object doesn\'t match DataCleanRoomMetadataOutputConfigRepresentation (at "' + path_outputConfig + '")\n';
1782
+ message += referencepath_outputConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1783
+ return new TypeError(message);
1784
+ }
1785
+ }
1786
+ if (obj.paysForQueries !== undefined) {
1787
+ const obj_paysForQueries = obj.paysForQueries;
1788
+ const path_paysForQueries = path + '.paysForQueries';
1789
+ if (typeof obj_paysForQueries !== 'boolean') {
1790
+ return new TypeError('Expected "boolean" but received "' + typeof obj_paysForQueries + '" (at "' + path_paysForQueries + '")');
1791
+ }
1792
+ }
1793
+ if (obj.type !== undefined) {
1794
+ const obj_type = obj.type;
1795
+ const path_type = path + '.type';
1796
+ if (typeof obj_type !== 'string') {
1797
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1798
+ }
1799
+ }
1800
+ })();
1801
+ return v_error === undefined ? null : v_error;
1802
+ }
1803
+
1804
+ function validate$d(obj, path = 'DataCleanRoomUsecaseConfigRepresentation') {
1805
+ const v_error = (() => {
1806
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1807
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1808
+ }
1809
+ if (obj.useCaseType !== undefined) {
1810
+ const obj_useCaseType = obj.useCaseType;
1811
+ const path_useCaseType = path + '.useCaseType';
1812
+ if (obj_useCaseType === undefined) {
1813
+ return new TypeError('Expected "defined" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
1814
+ }
1815
+ }
1816
+ })();
1817
+ return v_error === undefined ? null : v_error;
1818
+ }
1819
+
1820
+ function validate$c(obj, path = 'DataCleanRoomMetadataConfigurationRepresentation') {
1496
1821
  const v_error = (() => {
1497
1822
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1498
1823
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1499
1824
  }
1500
- const obj_configuration = obj.configuration;
1501
- const path_configuration = path + '.configuration';
1502
- if (obj_configuration === undefined) {
1503
- return new TypeError('Expected "defined" but received "' + typeof obj_configuration + '" (at "' + path_configuration + '")');
1825
+ if (obj.memberConfig !== undefined) {
1826
+ const obj_memberConfig = obj.memberConfig;
1827
+ const path_memberConfig = path + '.memberConfig';
1828
+ if (!ArrayIsArray(obj_memberConfig)) {
1829
+ return new TypeError('Expected "array" but received "' + typeof obj_memberConfig + '" (at "' + path_memberConfig + '")');
1830
+ }
1831
+ for (let i = 0; i < obj_memberConfig.length; i++) {
1832
+ const obj_memberConfig_item = obj_memberConfig[i];
1833
+ const path_memberConfig_item = path_memberConfig + '[' + i + ']';
1834
+ const referencepath_memberConfig_itemValidationError = validate$e(obj_memberConfig_item, path_memberConfig_item);
1835
+ if (referencepath_memberConfig_itemValidationError !== null) {
1836
+ let message = 'Object doesn\'t match DataCleanRoomMetadataMemberConfigRepresentation (at "' + path_memberConfig_item + '")\n';
1837
+ message += referencepath_memberConfig_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1838
+ return new TypeError(message);
1839
+ }
1840
+ }
1841
+ }
1842
+ if (obj.usecaseConfig !== undefined) {
1843
+ const obj_usecaseConfig = obj.usecaseConfig;
1844
+ const path_usecaseConfig = path + '.usecaseConfig';
1845
+ const referencepath_usecaseConfigValidationError = validate$d(obj_usecaseConfig, path_usecaseConfig);
1846
+ if (referencepath_usecaseConfigValidationError !== null) {
1847
+ let message = 'Object doesn\'t match DataCleanRoomUsecaseConfigRepresentation (at "' + path_usecaseConfig + '")\n';
1848
+ message += referencepath_usecaseConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1849
+ return new TypeError(message);
1850
+ }
1851
+ }
1852
+ })();
1853
+ return v_error === undefined ? null : v_error;
1854
+ }
1855
+
1856
+ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
1857
+ const v_error = (() => {
1858
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1859
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1860
+ }
1861
+ if (obj.configuration !== undefined) {
1862
+ const obj_configuration = obj.configuration;
1863
+ const path_configuration = path + '.configuration';
1864
+ const referencepath_configurationValidationError = validate$g(obj_configuration, path_configuration);
1865
+ if (referencepath_configurationValidationError !== null) {
1866
+ let message = 'Object doesn\'t match UseCaseTemplateConfigRepresentation (at "' + path_configuration + '")\n';
1867
+ message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1868
+ return new TypeError(message);
1869
+ }
1504
1870
  }
1505
1871
  if (obj.createdBy !== undefined) {
1506
1872
  const obj_createdBy = obj.createdBy;
1507
1873
  const path_createdBy = path + '.createdBy';
1508
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
1874
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
1509
1875
  if (referencepath_createdByValidationError !== null) {
1510
1876
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1511
1877
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1541,7 +1907,7 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
1541
1907
  if (obj.lastModifiedBy !== undefined) {
1542
1908
  const obj_lastModifiedBy = obj.lastModifiedBy;
1543
1909
  const path_lastModifiedBy = path + '.lastModifiedBy';
1544
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
1910
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
1545
1911
  if (referencepath_lastModifiedByValidationError !== null) {
1546
1912
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1547
1913
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1555,6 +1921,16 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
1555
1921
  return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1556
1922
  }
1557
1923
  }
1924
+ if (obj.metadataConfiguration !== undefined) {
1925
+ const obj_metadataConfiguration = obj.metadataConfiguration;
1926
+ const path_metadataConfiguration = path + '.metadataConfiguration';
1927
+ const referencepath_metadataConfigurationValidationError = validate$c(obj_metadataConfiguration, path_metadataConfiguration);
1928
+ if (referencepath_metadataConfigurationValidationError !== null) {
1929
+ let message = 'Object doesn\'t match DataCleanRoomMetadataConfigurationRepresentation (at "' + path_metadataConfiguration + '")\n';
1930
+ message += referencepath_metadataConfigurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1931
+ return new TypeError(message);
1932
+ }
1933
+ }
1558
1934
  if (obj.name !== undefined) {
1559
1935
  const obj_name = obj.name;
1560
1936
  const path_name = path + '.name';
@@ -1614,7 +1990,7 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
1614
1990
  }
1615
1991
 
1616
1992
  const VERSION$7 = "838a38ab153e1dd3331fe38ec216c0ae";
1617
- function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1993
+ function validate$a(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1618
1994
  const v_error = (() => {
1619
1995
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1620
1996
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1622,7 +1998,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1622
1998
  if (obj.createdBy !== undefined) {
1623
1999
  const obj_createdBy = obj.createdBy;
1624
2000
  const path_createdBy = path + '.createdBy';
1625
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
2001
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
1626
2002
  if (referencepath_createdByValidationError !== null) {
1627
2003
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1628
2004
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1638,7 +2014,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1638
2014
  }
1639
2015
  const obj_dataMapping = obj.dataMapping;
1640
2016
  const path_dataMapping = path + '.dataMapping';
1641
- const referencepath_dataMappingValidationError = validate$a(obj_dataMapping, path_dataMapping);
2017
+ const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
1642
2018
  if (referencepath_dataMappingValidationError !== null) {
1643
2019
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
1644
2020
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1671,7 +2047,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1671
2047
  if (obj.lastModifiedBy !== undefined) {
1672
2048
  const obj_lastModifiedBy = obj.lastModifiedBy;
1673
2049
  const path_lastModifiedBy = path + '.lastModifiedBy';
1674
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
2050
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
1675
2051
  if (referencepath_lastModifiedByValidationError !== null) {
1676
2052
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1677
2053
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1726,7 +2102,7 @@ function validate$8(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1726
2102
  if (obj.templateVersion !== undefined) {
1727
2103
  const obj_templateVersion = obj.templateVersion;
1728
2104
  const path_templateVersion = path + '.templateVersion';
1729
- const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
2105
+ const referencepath_templateVersionValidationError = validate$b(obj_templateVersion, path_templateVersion);
1730
2106
  if (referencepath_templateVersionValidationError !== null) {
1731
2107
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
1732
2108
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1772,7 +2148,7 @@ function equals$7(existing, incoming) {
1772
2148
  }
1773
2149
  const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1774
2150
  if (process.env.NODE_ENV !== 'production') {
1775
- const validateError = validate$8(input);
2151
+ const validateError = validate$a(input);
1776
2152
  if (validateError !== null) {
1777
2153
  throw validateError;
1778
2154
  }
@@ -1793,7 +2169,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
1793
2169
  }
1794
2170
 
1795
2171
  const VERSION$6 = "6fb37e337652e88218f2171d1e56647b";
1796
- function validate$7(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
2172
+ function validate$9(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
1797
2173
  const v_error = (() => {
1798
2174
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1799
2175
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1987,7 +2363,7 @@ function equals$6(existing, incoming) {
1987
2363
  }
1988
2364
  const ingest$6 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1989
2365
  if (process.env.NODE_ENV !== 'production') {
1990
- const validateError = validate$7(input);
2366
+ const validateError = validate$9(input);
1991
2367
  if (validateError !== null) {
1992
2368
  throw validateError;
1993
2369
  }
@@ -2248,7 +2624,7 @@ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
2248
2624
  };
2249
2625
  };
2250
2626
 
2251
- function validate$6(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
2627
+ function validate$8(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
2252
2628
  const v_error = (() => {
2253
2629
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2254
2630
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2293,7 +2669,7 @@ function validate$6(obj, path = 'DataCleanRoomMemberConfigRepresentation') {
2293
2669
  }
2294
2670
 
2295
2671
  const VERSION$5 = "cc5736f976c7c58026dd19879ac57f5c";
2296
- function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
2672
+ function validate$7(obj, path = 'DataCleanRoomMemberRepresentation') {
2297
2673
  const v_error = (() => {
2298
2674
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2299
2675
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2317,7 +2693,7 @@ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
2317
2693
  for (let i = 0; i < obj_memberConfigs.length; i++) {
2318
2694
  const obj_memberConfigs_item = obj_memberConfigs[i];
2319
2695
  const path_memberConfigs_item = path_memberConfigs + '[' + i + ']';
2320
- const referencepath_memberConfigs_itemValidationError = validate$6(obj_memberConfigs_item, path_memberConfigs_item);
2696
+ const referencepath_memberConfigs_itemValidationError = validate$8(obj_memberConfigs_item, path_memberConfigs_item);
2321
2697
  if (referencepath_memberConfigs_itemValidationError !== null) {
2322
2698
  let message = 'Object doesn\'t match DataCleanRoomMemberConfigRepresentation (at "' + path_memberConfigs_item + '")\n';
2323
2699
  message += referencepath_memberConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2398,7 +2774,7 @@ function equals$5(existing, incoming) {
2398
2774
  }
2399
2775
  const ingest$5 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
2400
2776
  if (process.env.NODE_ENV !== 'production') {
2401
- const validateError = validate$5(input);
2777
+ const validateError = validate$7(input);
2402
2778
  if (validateError !== null) {
2403
2779
  throw validateError;
2404
2780
  }
@@ -2419,7 +2795,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
2419
2795
  }
2420
2796
 
2421
2797
  const VERSION$4 = "11bd9b71debcc363b339183bc8d65735";
2422
- function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2798
+ function validate$6(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2423
2799
  const v_error = (() => {
2424
2800
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2425
2801
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2434,7 +2810,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2434
2810
  if (obj.createdBy !== undefined) {
2435
2811
  const obj_createdBy = obj.createdBy;
2436
2812
  const path_createdBy = path + '.createdBy';
2437
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
2813
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
2438
2814
  if (referencepath_createdByValidationError !== null) {
2439
2815
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
2440
2816
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2477,7 +2853,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2477
2853
  if (obj.lastModifiedBy !== undefined) {
2478
2854
  const obj_lastModifiedBy = obj.lastModifiedBy;
2479
2855
  const path_lastModifiedBy = path + '.lastModifiedBy';
2480
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
2856
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
2481
2857
  if (referencepath_lastModifiedByValidationError !== null) {
2482
2858
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2483
2859
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2499,7 +2875,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2499
2875
  for (let i = 0; i < obj_members.length; i++) {
2500
2876
  const obj_members_item = obj_members[i];
2501
2877
  const path_members_item = path_members + '[' + i + ']';
2502
- const referencepath_members_itemValidationError = validate$5(obj_members_item, path_members_item);
2878
+ const referencepath_members_itemValidationError = validate$7(obj_members_item, path_members_item);
2503
2879
  if (referencepath_members_itemValidationError !== null) {
2504
2880
  let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
2505
2881
  message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2527,7 +2903,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2527
2903
  }
2528
2904
  const obj_templateVersion = obj.templateVersion;
2529
2905
  const path_templateVersion = path + '.templateVersion';
2530
- const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
2906
+ const referencepath_templateVersionValidationError = validate$b(obj_templateVersion, path_templateVersion);
2531
2907
  if (referencepath_templateVersionValidationError !== null) {
2532
2908
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
2533
2909
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2572,7 +2948,7 @@ function equals$4(existing, incoming) {
2572
2948
  }
2573
2949
  const ingest$4 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
2574
2950
  if (process.env.NODE_ENV !== 'production') {
2575
- const validateError = validate$4(input);
2951
+ const validateError = validate$6(input);
2576
2952
  if (validateError !== null) {
2577
2953
  throw validateError;
2578
2954
  }
@@ -2593,7 +2969,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
2593
2969
  }
2594
2970
 
2595
2971
  const VERSION$3 = "9e5eddaaa3330278c7aa483af5dc8d74";
2596
- function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentation') {
2972
+ function validate$5(obj, path = 'DataCleanRoomCollaborationCollectionRepresentation') {
2597
2973
  const v_error = (() => {
2598
2974
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2599
2975
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2606,7 +2982,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
2606
2982
  for (let i = 0; i < obj_collaborations.length; i++) {
2607
2983
  const obj_collaborations_item = obj_collaborations[i];
2608
2984
  const path_collaborations_item = path_collaborations + '[' + i + ']';
2609
- const referencepath_collaborations_itemValidationError = validate$4(obj_collaborations_item, path_collaborations_item);
2985
+ const referencepath_collaborations_itemValidationError = validate$6(obj_collaborations_item, path_collaborations_item);
2610
2986
  if (referencepath_collaborations_itemValidationError !== null) {
2611
2987
  let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
2612
2988
  message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2688,7 +3064,7 @@ function equals$3(existing, incoming) {
2688
3064
  }
2689
3065
  const ingest$3 = function DataCleanRoomCollaborationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2690
3066
  if (process.env.NODE_ENV !== 'production') {
2691
- const validateError = validate$3(input);
3067
+ const validateError = validate$5(input);
2692
3068
  if (validateError !== null) {
2693
3069
  throw validateError;
2694
3070
  }
@@ -2942,7 +3318,7 @@ const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
2942
3318
  };
2943
3319
 
2944
3320
  const VERSION$2 = "779ba86cca8510319a6e95a736d88189";
2945
- function validate$2(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
3321
+ function validate$4(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
2946
3322
  const v_error = (() => {
2947
3323
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2948
3324
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3000,7 +3376,7 @@ function validate$2(obj, path = 'DataCleanRoomTemplateCollectionRepresentation')
3000
3376
  for (let i = 0; i < obj_templates.length; i++) {
3001
3377
  const obj_templates_item = obj_templates[i];
3002
3378
  const path_templates_item = path_templates + '[' + i + ']';
3003
- const referencepath_templates_itemValidationError = validate$9(obj_templates_item, path_templates_item);
3379
+ const referencepath_templates_itemValidationError = validate$b(obj_templates_item, path_templates_item);
3004
3380
  if (referencepath_templates_itemValidationError !== null) {
3005
3381
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
3006
3382
  message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3037,7 +3413,7 @@ function equals$2(existing, incoming) {
3037
3413
  }
3038
3414
  const ingest$2 = function DataCleanRoomTemplateCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3039
3415
  if (process.env.NODE_ENV !== 'production') {
3040
- const validateError = validate$2(input);
3416
+ const validateError = validate$4(input);
3041
3417
  if (validateError !== null) {
3042
3418
  throw validateError;
3043
3419
  }
@@ -3192,6 +3568,51 @@ const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function data
3192
3568
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
3193
3569
  };
3194
3570
 
3571
+ function validate$3(obj, path = 'DataCleanRoomConnectionAttributesRepresentation') {
3572
+ const v_error = (() => {
3573
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3574
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3575
+ }
3576
+ const obj_connectorType = obj.connectorType;
3577
+ const path_connectorType = path + '.connectorType';
3578
+ if (typeof obj_connectorType !== 'string') {
3579
+ return new TypeError('Expected "string" but received "' + typeof obj_connectorType + '" (at "' + path_connectorType + '")');
3580
+ }
3581
+ })();
3582
+ return v_error === undefined ? null : v_error;
3583
+ }
3584
+
3585
+ function validate$2(obj, path = 'DataCleanRoomOutputConfigurationRepresentation') {
3586
+ const v_error = (() => {
3587
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3588
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3589
+ }
3590
+ if (obj.connectionAttributes !== undefined) {
3591
+ const obj_connectionAttributes = obj.connectionAttributes;
3592
+ const path_connectionAttributes = path + '.connectionAttributes';
3593
+ const referencepath_connectionAttributesValidationError = validate$3(obj_connectionAttributes, path_connectionAttributes);
3594
+ if (referencepath_connectionAttributesValidationError !== null) {
3595
+ let message = 'Object doesn\'t match DataCleanRoomConnectionAttributesRepresentation (at "' + path_connectionAttributes + '")\n';
3596
+ message += referencepath_connectionAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3597
+ return new TypeError(message);
3598
+ }
3599
+ }
3600
+ if (obj.externalId !== undefined) {
3601
+ const obj_externalId = obj.externalId;
3602
+ const path_externalId = path + '.externalId';
3603
+ if (typeof obj_externalId !== 'string') {
3604
+ return new TypeError('Expected "string" but received "' + typeof obj_externalId + '" (at "' + path_externalId + '")');
3605
+ }
3606
+ }
3607
+ const obj_outputDestinationType = obj.outputDestinationType;
3608
+ const path_outputDestinationType = path + '.outputDestinationType';
3609
+ if (typeof obj_outputDestinationType !== 'string') {
3610
+ return new TypeError('Expected "string" but received "' + typeof obj_outputDestinationType + '" (at "' + path_outputDestinationType + '")');
3611
+ }
3612
+ })();
3613
+ return v_error === undefined ? null : v_error;
3614
+ }
3615
+
3195
3616
  function select$6(luvio, params) {
3196
3617
  return select$d();
3197
3618
  }
@@ -3234,12 +3655,18 @@ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
3234
3655
  generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3235
3656
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
3236
3657
  generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
3658
+ generateParamConfigMetadata('outputConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
3237
3659
  ];
3238
3660
  const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
3239
3661
  const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
3240
3662
  function typeCheckConfig$4(untrustedConfig) {
3241
3663
  const config = {};
3242
3664
  typeCheckConfig$c(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
3665
+ const untrustedConfig_outputConfiguration = untrustedConfig.outputConfiguration;
3666
+ const referenceDataCleanRoomOutputConfigurationRepresentationValidationError = validate$2(untrustedConfig_outputConfiguration);
3667
+ if (referenceDataCleanRoomOutputConfigurationRepresentationValidationError === null) {
3668
+ config.outputConfiguration = untrustedConfig_outputConfiguration;
3669
+ }
3243
3670
  return config;
3244
3671
  }
3245
3672
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -3391,7 +3818,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
3391
3818
  if (obj.createdBy !== undefined) {
3392
3819
  const obj_createdBy = obj.createdBy;
3393
3820
  const path_createdBy = path + '.createdBy';
3394
- const referencepath_createdByValidationError = validate$s(obj_createdBy, path_createdBy);
3821
+ const referencepath_createdByValidationError = validate$C(obj_createdBy, path_createdBy);
3395
3822
  if (referencepath_createdByValidationError !== null) {
3396
3823
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
3397
3824
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3441,7 +3868,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
3441
3868
  if (obj.lastModifiedBy !== undefined) {
3442
3869
  const obj_lastModifiedBy = obj.lastModifiedBy;
3443
3870
  const path_lastModifiedBy = path + '.lastModifiedBy';
3444
- const referencepath_lastModifiedByValidationError = validate$s(obj_lastModifiedBy, path_lastModifiedBy);
3871
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
3445
3872
  if (referencepath_lastModifiedByValidationError !== null) {
3446
3873
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
3447
3874
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');