@salesforce/lds-adapters-cdp-data-clean-room 1.391.0 → 1.392.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +1011 -400
  2. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +2 -1
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +4 -1
  4. package/dist/es/es2018/types/src/generated/adapters/createProvider.d.ts +13 -5
  5. package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +1 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatePaginated.d.ts +1 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatesByProviderIdPaginated.d.ts +31 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  10. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomProvidersTemplatesByProviderIdOrName.d.ts +21 -0
  11. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomTemplates.d.ts +1 -0
  12. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +2 -1
  13. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +1 -0
  14. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomProviders.d.ts +13 -5
  15. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +4 -1
  16. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateAnalysisConfigRepresentation.d.ts +28 -0
  17. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +37 -0
  18. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +40 -0
  19. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +49 -0
  20. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryInputRepresentation.d.ts +29 -0
  21. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryParamConfig.d.ts +34 -0
  22. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryParamRepresentation.d.ts +29 -0
  23. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateTableConfig.d.ts +38 -0
  24. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateTableInputRepresentation.d.ts +29 -0
  25. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +6 -3
  26. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +12 -3
  27. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +4 -1
  28. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +3 -3
  29. package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts +29 -11
  30. package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderRepresentation.d.ts +26 -11
  31. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +4 -1
  32. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +16 -4
  33. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +13 -1
  34. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUseCaseTypeInputRepresentation.d.ts +28 -0
  35. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUseCaseTypeRepresentation.d.ts +28 -0
  36. package/package.json +3 -3
  37. package/sfdc/index.js +1021 -399
  38. package/src/raml/api.raml +327 -9
  39. package/src/raml/luvio.raml +4 -0
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$5, typeCheckConfig as typeCheckConfig$b, StoreKeyMap, createResourceParams as createResourceParams$b } from '@luvio/engine';
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
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- function validate$g(obj, path = 'CdpUserRepresentation') {
95
+ function validate$r(obj, path = 'CdpUserRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
98
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -122,8 +122,31 @@ function validate$g(obj, path = 'CdpUserRepresentation') {
122
122
  return v_error === undefined ? null : v_error;
123
123
  }
124
124
 
125
- const VERSION$9 = "7b8c1dda7e7cb9972974bdc212eda9cd";
126
- function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
125
+ function validate$q(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
126
+ const v_error = (() => {
127
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
128
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
129
+ }
130
+ if (obj.useCaseTypes !== undefined) {
131
+ const obj_useCaseTypes = obj.useCaseTypes;
132
+ const path_useCaseTypes = path + '.useCaseTypes';
133
+ if (!ArrayIsArray(obj_useCaseTypes)) {
134
+ return new TypeError('Expected "array" but received "' + typeof obj_useCaseTypes + '" (at "' + path_useCaseTypes + '")');
135
+ }
136
+ for (let i = 0; i < obj_useCaseTypes.length; i++) {
137
+ const obj_useCaseTypes_item = obj_useCaseTypes[i];
138
+ const path_useCaseTypes_item = path_useCaseTypes + '[' + i + ']';
139
+ if (typeof obj_useCaseTypes_item !== 'string') {
140
+ return new TypeError('Expected "string" but received "' + typeof obj_useCaseTypes_item + '" (at "' + path_useCaseTypes_item + '")');
141
+ }
142
+ }
143
+ }
144
+ })();
145
+ return v_error === undefined ? null : v_error;
146
+ }
147
+
148
+ const VERSION$9 = "a27689b905a74d6a3a8638a2f09d5b3c";
149
+ function validate$p(obj, path = 'DataCleanRoomProviderRepresentation') {
127
150
  const v_error = (() => {
128
151
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
152
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -131,7 +154,7 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
131
154
  if (obj.createdBy !== undefined) {
132
155
  const obj_createdBy = obj.createdBy;
133
156
  const path_createdBy = path + '.createdBy';
134
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
157
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
135
158
  if (referencepath_createdByValidationError !== null) {
136
159
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
137
160
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -145,20 +168,33 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
145
168
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
146
169
  }
147
170
  }
148
- const obj_dataCloudOrgId = obj.dataCloudOrgId;
149
- const path_dataCloudOrgId = path + '.dataCloudOrgId';
150
- if (typeof obj_dataCloudOrgId !== 'string') {
151
- return new TypeError('Expected "string" but received "' + typeof obj_dataCloudOrgId + '" (at "' + path_dataCloudOrgId + '")');
171
+ if (obj.creationType !== undefined) {
172
+ const obj_creationType = obj.creationType;
173
+ const path_creationType = path + '.creationType';
174
+ if (typeof obj_creationType !== 'string') {
175
+ return new TypeError('Expected "string" but received "' + typeof obj_creationType + '" (at "' + path_creationType + '")');
176
+ }
152
177
  }
153
- const obj_description = obj.description;
154
- const path_description = path + '.description';
155
- if (typeof obj_description !== 'string') {
156
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
178
+ if (obj.dataCloudOrgId !== undefined) {
179
+ const obj_dataCloudOrgId = obj.dataCloudOrgId;
180
+ const path_dataCloudOrgId = path + '.dataCloudOrgId';
181
+ if (typeof obj_dataCloudOrgId !== 'string') {
182
+ return new TypeError('Expected "string" but received "' + typeof obj_dataCloudOrgId + '" (at "' + path_dataCloudOrgId + '")');
183
+ }
184
+ }
185
+ if (obj.description !== undefined) {
186
+ const obj_description = obj.description;
187
+ const path_description = path + '.description';
188
+ if (typeof obj_description !== 'string') {
189
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
190
+ }
157
191
  }
158
- const obj_domainUrl = obj.domainUrl;
159
- const path_domainUrl = path + '.domainUrl';
160
- if (typeof obj_domainUrl !== 'string') {
161
- return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
192
+ if (obj.domainUrl !== undefined) {
193
+ const obj_domainUrl = obj.domainUrl;
194
+ const path_domainUrl = path + '.domainUrl';
195
+ if (typeof obj_domainUrl !== 'string') {
196
+ return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
197
+ }
162
198
  }
163
199
  const obj_id = obj.id;
164
200
  const path_id = path + '.id';
@@ -175,7 +211,7 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
175
211
  if (obj.lastModifiedBy !== undefined) {
176
212
  const obj_lastModifiedBy = obj.lastModifiedBy;
177
213
  const path_lastModifiedBy = path + '.lastModifiedBy';
178
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
214
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
179
215
  if (referencepath_lastModifiedByValidationError !== null) {
180
216
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
181
217
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -210,21 +246,46 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
210
246
  return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
211
247
  }
212
248
  }
213
- const obj_offCoreTenantId = obj.offCoreTenantId;
214
- const path_offCoreTenantId = path + '.offCoreTenantId';
215
- if (typeof obj_offCoreTenantId !== 'string') {
216
- return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
249
+ if (obj.offCoreTenantId !== undefined) {
250
+ const obj_offCoreTenantId = obj.offCoreTenantId;
251
+ const path_offCoreTenantId = path + '.offCoreTenantId';
252
+ if (typeof obj_offCoreTenantId !== 'string') {
253
+ return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
254
+ }
255
+ }
256
+ if (obj.providerName !== undefined) {
257
+ const obj_providerName = obj.providerName;
258
+ const path_providerName = path + '.providerName';
259
+ if (typeof obj_providerName !== 'string') {
260
+ return new TypeError('Expected "string" but received "' + typeof obj_providerName + '" (at "' + path_providerName + '")');
261
+ }
262
+ }
263
+ if (obj.source !== undefined) {
264
+ const obj_source = obj.source;
265
+ const path_source = path + '.source';
266
+ if (typeof obj_source !== 'string') {
267
+ return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
268
+ }
217
269
  }
218
- const obj_templateNames = obj.templateNames;
219
- const path_templateNames = path + '.templateNames';
220
- if (!ArrayIsArray(obj_templateNames)) {
221
- return new TypeError('Expected "array" but received "' + typeof obj_templateNames + '" (at "' + path_templateNames + '")');
270
+ if (obj.sourceConfiguration !== undefined) {
271
+ const obj_sourceConfiguration = obj.sourceConfiguration;
272
+ const path_sourceConfiguration = path + '.sourceConfiguration';
273
+ if (obj_sourceConfiguration === undefined) {
274
+ return new TypeError('Expected "defined" but received "' + typeof obj_sourceConfiguration + '" (at "' + path_sourceConfiguration + '")');
275
+ }
222
276
  }
223
- for (let i = 0; i < obj_templateNames.length; i++) {
224
- const obj_templateNames_item = obj_templateNames[i];
225
- const path_templateNames_item = path_templateNames + '[' + i + ']';
226
- if (typeof obj_templateNames_item !== 'string') {
227
- return new TypeError('Expected "string" but received "' + typeof obj_templateNames_item + '" (at "' + path_templateNames_item + '")');
277
+ if (obj.templateNames !== undefined) {
278
+ const obj_templateNames = obj.templateNames;
279
+ const path_templateNames = path + '.templateNames';
280
+ if (!ArrayIsArray(obj_templateNames)) {
281
+ return new TypeError('Expected "array" but received "' + typeof obj_templateNames + '" (at "' + path_templateNames + '")');
282
+ }
283
+ for (let i = 0; i < obj_templateNames.length; i++) {
284
+ const obj_templateNames_item = obj_templateNames[i];
285
+ const path_templateNames_item = path_templateNames + '[' + i + ']';
286
+ if (typeof obj_templateNames_item !== 'string') {
287
+ return new TypeError('Expected "string" but received "' + typeof obj_templateNames_item + '" (at "' + path_templateNames_item + '")');
288
+ }
228
289
  }
229
290
  }
230
291
  if (obj.url !== undefined) {
@@ -234,23 +295,33 @@ function validate$f(obj, path = 'DataCleanRoomProviderRepresentation') {
234
295
  return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
235
296
  }
236
297
  }
298
+ if (obj.useCaseTypeConfig !== undefined) {
299
+ const obj_useCaseTypeConfig = obj.useCaseTypeConfig;
300
+ const path_useCaseTypeConfig = path + '.useCaseTypeConfig';
301
+ const referencepath_useCaseTypeConfigValidationError = validate$q(obj_useCaseTypeConfig, path_useCaseTypeConfig);
302
+ if (referencepath_useCaseTypeConfigValidationError !== null) {
303
+ let message = 'Object doesn\'t match DataCleanRoomUseCaseTypeRepresentation (at "' + path_useCaseTypeConfig + '")\n';
304
+ message += referencepath_useCaseTypeConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
305
+ return new TypeError(message);
306
+ }
307
+ }
237
308
  })();
238
309
  return v_error === undefined ? null : v_error;
239
310
  }
240
311
  const RepresentationType$9 = 'DataCleanRoomProviderRepresentation';
241
- function keyBuilder$e(luvio, config) {
312
+ function keyBuilder$g(luvio, config) {
242
313
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.id;
243
314
  }
244
315
  function keyBuilderFromType$4(luvio, object) {
245
316
  const keyParams = {
246
317
  id: object.id
247
318
  };
248
- return keyBuilder$e(luvio, keyParams);
319
+ return keyBuilder$g(luvio, keyParams);
249
320
  }
250
321
  function normalize$9(input, existing, path, luvio, store, timestamp) {
251
322
  return input;
252
323
  }
253
- const select$k = function DataCleanRoomProviderRepresentationSelect() {
324
+ const select$l = function DataCleanRoomProviderRepresentationSelect() {
254
325
  return {
255
326
  kind: 'Fragment',
256
327
  version: VERSION$9,
@@ -266,7 +337,7 @@ function equals$9(existing, incoming) {
266
337
  }
267
338
  const ingest$9 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
268
339
  if (process.env.NODE_ENV !== 'production') {
269
- const validateError = validate$f(input);
340
+ const validateError = validate$p(input);
270
341
  if (validateError !== null) {
271
342
  throw validateError;
272
343
  }
@@ -287,7 +358,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
287
358
  }
288
359
 
289
360
  const VERSION$8 = "52237eeecd4f8f11ae22e265d9abe5ca";
290
- function validate$e(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
361
+ function validate$o(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
291
362
  const v_error = (() => {
292
363
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
293
364
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -383,7 +454,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
383
454
  }
384
455
  return input;
385
456
  }
386
- const select$j = function DataCleanRoomProviderCollectionRepresentationSelect() {
457
+ const select$k = function DataCleanRoomProviderCollectionRepresentationSelect() {
387
458
  return {
388
459
  kind: 'Fragment',
389
460
  version: VERSION$8,
@@ -413,7 +484,7 @@ const select$j = function DataCleanRoomProviderCollectionRepresentationSelect()
413
484
  name: 'providers',
414
485
  kind: 'Link',
415
486
  plural: true,
416
- fragment: select$k()
487
+ fragment: select$l()
417
488
  },
418
489
  {
419
490
  name: 'totalSize',
@@ -503,7 +574,7 @@ function equals$8(existing, incoming) {
503
574
  }
504
575
  const ingest$8 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
505
576
  if (process.env.NODE_ENV !== 'production') {
506
- const validateError = validate$e(input);
577
+ const validateError = validate$o(input);
507
578
  if (validateError !== null) {
508
579
  throw validateError;
509
580
  }
@@ -527,22 +598,22 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
527
598
  }
528
599
  }
529
600
 
530
- function select$i(luvio, params) {
531
- return select$j();
601
+ function select$j(luvio, params) {
602
+ return select$k();
532
603
  }
533
- function keyBuilder$d(luvio, params) {
604
+ function keyBuilder$f(luvio, params) {
534
605
  return keyPrefix + '::DataCleanRoomProviderCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
535
606
  }
536
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
537
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
607
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
608
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
538
609
  }
539
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
610
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
540
611
  const { body } = response;
541
- const key = keyBuilder$d(luvio, resourceParams);
612
+ const key = keyBuilder$f(luvio, resourceParams);
542
613
  luvio.storeIngest(key, ingest$8, body);
543
614
  const snapshot = luvio.storeLookup({
544
615
  recordId: key,
545
- node: select$i(),
616
+ node: select$j(),
546
617
  variables: {},
547
618
  }, snapshotRefresh);
548
619
  if (process.env.NODE_ENV !== 'production') {
@@ -553,13 +624,13 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
553
624
  deepFreeze(snapshot.data);
554
625
  return snapshot;
555
626
  }
556
- function ingestError$4(luvio, params, error, snapshotRefresh) {
557
- const key = keyBuilder$d(luvio, params);
627
+ function ingestError$5(luvio, params, error, snapshotRefresh) {
628
+ const key = keyBuilder$f(luvio, params);
558
629
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
559
630
  luvio.storeIngestError(key, errorSnapshot);
560
631
  return errorSnapshot;
561
632
  }
562
- function createResourceRequest$a(config) {
633
+ function createResourceRequest$b(config) {
563
634
  const headers = {};
564
635
  return {
565
636
  baseUri: '/services/data/v66.0',
@@ -573,108 +644,421 @@ function createResourceRequest$a(config) {
573
644
  };
574
645
  }
575
646
 
576
- const adapterName$a = 'getDataCleanRoomProvidersPaginated';
647
+ const adapterName$b = 'getDataCleanRoomProvidersPaginated';
577
648
  const getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata = [
578
649
  generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
579
650
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
580
651
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
581
652
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
582
653
  ];
583
- const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
584
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
585
- function keyBuilder$c(luvio, config) {
586
- const resourceParams = createResourceParams$a(config);
587
- return keyBuilder$d(luvio, resourceParams);
654
+ const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
655
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
656
+ function keyBuilder$e(luvio, config) {
657
+ const resourceParams = createResourceParams$b(config);
658
+ return keyBuilder$f(luvio, resourceParams);
588
659
  }
589
- function typeCheckConfig$a(untrustedConfig) {
660
+ function typeCheckConfig$b(untrustedConfig) {
590
661
  const config = {};
591
- typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
662
+ typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
592
663
  return config;
593
664
  }
594
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
665
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
595
666
  if (!untrustedIsObject(untrustedConfig)) {
596
667
  return null;
597
668
  }
598
669
  if (process.env.NODE_ENV !== 'production') {
599
670
  validateConfig(untrustedConfig, configPropertyNames);
600
671
  }
601
- const config = typeCheckConfig$a(untrustedConfig);
672
+ const config = typeCheckConfig$b(untrustedConfig);
602
673
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
603
674
  return null;
604
675
  }
605
676
  return config;
606
677
  }
607
- function adapterFragment$4(luvio, config) {
608
- createResourceParams$a(config);
609
- return select$i();
678
+ function adapterFragment$5(luvio, config) {
679
+ createResourceParams$b(config);
680
+ return select$j();
610
681
  }
611
- function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
612
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
682
+ function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
683
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
613
684
  config,
614
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
685
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
615
686
  });
616
687
  return luvio.storeBroadcast().then(() => snapshot);
617
688
  }
618
- function onFetchResponseError$4(luvio, config, resourceParams, response) {
619
- const snapshot = ingestError$4(luvio, resourceParams, response, {
689
+ function onFetchResponseError$5(luvio, config, resourceParams, response) {
690
+ const snapshot = ingestError$5(luvio, resourceParams, response, {
620
691
  config,
621
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
692
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
622
693
  });
623
694
  return luvio.storeBroadcast().then(() => snapshot);
624
695
  }
625
- function buildNetworkSnapshot$a(luvio, config, options) {
626
- const resourceParams = createResourceParams$a(config);
627
- const request = createResourceRequest$a(resourceParams);
696
+ function buildNetworkSnapshot$b(luvio, config, options) {
697
+ const resourceParams = createResourceParams$b(config);
698
+ const request = createResourceRequest$b(resourceParams);
628
699
  return luvio.dispatchResourceRequest(request, options)
629
700
  .then((response) => {
630
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
701
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
631
702
  const cache = new StoreKeyMap();
632
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
703
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
633
704
  return cache;
634
705
  });
635
706
  }, (response) => {
636
- return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
707
+ return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
637
708
  });
638
709
  }
639
- function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
640
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
710
+ function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
711
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
641
712
  }
642
- function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
713
+ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
643
714
  const { luvio, config } = context;
644
715
  const selector = {
645
- recordId: keyBuilder$c(luvio, config),
646
- node: adapterFragment$4(luvio, config),
716
+ recordId: keyBuilder$e(luvio, config),
717
+ node: adapterFragment$5(luvio, config),
647
718
  variables: {},
648
719
  };
649
720
  const cacheSnapshot = storeLookup(selector, {
650
721
  config,
651
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
722
+ resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
652
723
  });
653
724
  return cacheSnapshot;
654
725
  }
655
726
  const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomProvidersPaginated(untrustedConfig, requestContext) {
656
- const config = validateAdapterConfig$a(untrustedConfig, getDataCleanRoomProvidersPaginated_ConfigPropertyNames);
727
+ const config = validateAdapterConfig$b(untrustedConfig, getDataCleanRoomProvidersPaginated_ConfigPropertyNames);
657
728
  // Invalid or incomplete config
658
729
  if (config === null) {
659
730
  return null;
660
731
  }
661
732
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
662
- buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
733
+ buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
663
734
  };
664
735
 
665
- function select$h(luvio, params) {
666
- return select$k();
736
+ function validate$n(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
737
+ const v_error = (() => {
738
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
739
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
740
+ }
741
+ if (obj.outputPath !== undefined) {
742
+ const obj_outputPath = obj.outputPath;
743
+ const path_outputPath = path + '.outputPath';
744
+ if (typeof obj_outputPath !== 'string') {
745
+ return new TypeError('Expected "string" but received "' + typeof obj_outputPath + '" (at "' + path_outputPath + '")');
746
+ }
747
+ }
748
+ })();
749
+ return v_error === undefined ? null : v_error;
667
750
  }
668
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
751
+
752
+ function validate$m(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
753
+ const v_error = (() => {
754
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
755
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
756
+ }
757
+ const obj_description = obj.description;
758
+ const path_description = path + '.description';
759
+ if (typeof obj_description !== 'string') {
760
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
761
+ }
762
+ const obj_name = obj.name;
763
+ const path_name = path + '.name';
764
+ if (typeof obj_name !== 'string') {
765
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
766
+ }
767
+ const obj_type = obj.type;
768
+ const path_type = path + '.type';
769
+ if (typeof obj_type !== 'string') {
770
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
771
+ }
772
+ })();
773
+ return v_error === undefined ? null : v_error;
774
+ }
775
+
776
+ function validate$l(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
777
+ const v_error = (() => {
778
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
779
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
780
+ }
781
+ const obj_queryParamConfigs = obj.queryParamConfigs;
782
+ const path_queryParamConfigs = path + '.queryParamConfigs';
783
+ if (!ArrayIsArray(obj_queryParamConfigs)) {
784
+ return new TypeError('Expected "array" but received "' + typeof obj_queryParamConfigs + '" (at "' + path_queryParamConfigs + '")');
785
+ }
786
+ for (let i = 0; i < obj_queryParamConfigs.length; i++) {
787
+ const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
788
+ const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
789
+ const referencepath_queryParamConfigs_itemValidationError = validate$m(obj_queryParamConfigs_item, path_queryParamConfigs_item);
790
+ if (referencepath_queryParamConfigs_itemValidationError !== null) {
791
+ let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
792
+ message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
793
+ return new TypeError(message);
794
+ }
795
+ }
796
+ })();
797
+ return v_error === undefined ? null : v_error;
798
+ }
799
+
800
+ function validate$k(obj, path = 'CustomUseCaseTemplateQueryConfig') {
801
+ const v_error = (() => {
802
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
803
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
804
+ }
805
+ if (obj.analysisConfigs !== undefined) {
806
+ const obj_analysisConfigs = obj.analysisConfigs;
807
+ const path_analysisConfigs = path + '.analysisConfigs';
808
+ const referencepath_analysisConfigsValidationError = validate$n(obj_analysisConfigs, path_analysisConfigs);
809
+ if (referencepath_analysisConfigsValidationError !== null) {
810
+ let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
811
+ message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
812
+ return new TypeError(message);
813
+ }
814
+ }
815
+ const obj_description = obj.description;
816
+ const path_description = path + '.description';
817
+ if (typeof obj_description !== 'string') {
818
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
819
+ }
820
+ const obj_name = obj.name;
821
+ const path_name = path + '.name';
822
+ if (typeof obj_name !== 'string') {
823
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
824
+ }
825
+ if (obj.queryParameters !== undefined) {
826
+ const obj_queryParameters = obj.queryParameters;
827
+ const path_queryParameters = path + '.queryParameters';
828
+ const referencepath_queryParametersValidationError = validate$l(obj_queryParameters, path_queryParameters);
829
+ if (referencepath_queryParametersValidationError !== null) {
830
+ let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
831
+ message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
832
+ return new TypeError(message);
833
+ }
834
+ }
835
+ const obj_referencedTables = obj.referencedTables;
836
+ const path_referencedTables = path + '.referencedTables';
837
+ if (!ArrayIsArray(obj_referencedTables)) {
838
+ return new TypeError('Expected "array" but received "' + typeof obj_referencedTables + '" (at "' + path_referencedTables + '")');
839
+ }
840
+ for (let i = 0; i < obj_referencedTables.length; i++) {
841
+ const obj_referencedTables_item = obj_referencedTables[i];
842
+ const path_referencedTables_item = path_referencedTables + '[' + i + ']';
843
+ if (typeof obj_referencedTables_item !== 'string') {
844
+ return new TypeError('Expected "string" but received "' + typeof obj_referencedTables_item + '" (at "' + path_referencedTables_item + '")');
845
+ }
846
+ }
847
+ const obj_source = obj.source;
848
+ const path_source = path + '.source';
849
+ if (typeof obj_source !== 'string') {
850
+ return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
851
+ }
852
+ const obj_type = obj.type;
853
+ const path_type = path + '.type';
854
+ if (typeof obj_type !== 'string') {
855
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
856
+ }
857
+ if (obj.usecase !== undefined) {
858
+ const obj_usecase = obj.usecase;
859
+ const path_usecase = path + '.usecase';
860
+ if (typeof obj_usecase !== 'string') {
861
+ return new TypeError('Expected "string" but received "' + typeof obj_usecase + '" (at "' + path_usecase + '")');
862
+ }
863
+ }
864
+ })();
865
+ return v_error === undefined ? null : v_error;
866
+ }
867
+
868
+ function validate$j(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
869
+ const v_error = (() => {
870
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
871
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
872
+ }
873
+ const obj_queryConfigs = obj.queryConfigs;
874
+ const path_queryConfigs = path + '.queryConfigs';
875
+ if (!ArrayIsArray(obj_queryConfigs)) {
876
+ return new TypeError('Expected "array" but received "' + typeof obj_queryConfigs + '" (at "' + path_queryConfigs + '")');
877
+ }
878
+ for (let i = 0; i < obj_queryConfigs.length; i++) {
879
+ const obj_queryConfigs_item = obj_queryConfigs[i];
880
+ const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
881
+ const referencepath_queryConfigs_itemValidationError = validate$k(obj_queryConfigs_item, path_queryConfigs_item);
882
+ if (referencepath_queryConfigs_itemValidationError !== null) {
883
+ let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
884
+ message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
885
+ return new TypeError(message);
886
+ }
887
+ }
888
+ })();
889
+ return v_error === undefined ? null : v_error;
890
+ }
891
+
892
+ function validate$i(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
893
+ const v_error = (() => {
894
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
895
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
896
+ }
897
+ if (obj.defaultValue !== undefined) {
898
+ const obj_defaultValue = obj.defaultValue;
899
+ const path_defaultValue = path + '.defaultValue';
900
+ if (typeof obj_defaultValue !== 'string') {
901
+ return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
902
+ }
903
+ }
904
+ const obj_description = obj.description;
905
+ const path_description = path + '.description';
906
+ if (typeof obj_description !== 'string') {
907
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
908
+ }
909
+ const obj_name = obj.name;
910
+ const path_name = path + '.name';
911
+ if (typeof obj_name !== 'string') {
912
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
913
+ }
914
+ const obj_type = obj.type;
915
+ const path_type = path + '.type';
916
+ if (typeof obj_type !== 'string') {
917
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
918
+ }
919
+ })();
920
+ return v_error === undefined ? null : v_error;
921
+ }
922
+
923
+ function validate$h(obj, path = 'CustomUseCaseTemplateTableConfig') {
924
+ const v_error = (() => {
925
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
926
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
927
+ }
928
+ const obj_columns = obj.columns;
929
+ const path_columns = path + '.columns';
930
+ if (!ArrayIsArray(obj_columns)) {
931
+ return new TypeError('Expected "array" but received "' + typeof obj_columns + '" (at "' + path_columns + '")');
932
+ }
933
+ for (let i = 0; i < obj_columns.length; i++) {
934
+ const obj_columns_item = obj_columns[i];
935
+ const path_columns_item = path_columns + '[' + i + ']';
936
+ const referencepath_columns_itemValidationError = validate$i(obj_columns_item, path_columns_item);
937
+ if (referencepath_columns_itemValidationError !== null) {
938
+ let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
939
+ message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
940
+ return new TypeError(message);
941
+ }
942
+ }
943
+ const obj_description = obj.description;
944
+ const path_description = path + '.description';
945
+ if (typeof obj_description !== 'string') {
946
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
947
+ }
948
+ const obj_name = obj.name;
949
+ const path_name = path + '.name';
950
+ if (typeof obj_name !== 'string') {
951
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
952
+ }
953
+ const obj_role = obj.role;
954
+ const path_role = path + '.role';
955
+ if (typeof obj_role !== 'string') {
956
+ return new TypeError('Expected "string" but received "' + typeof obj_role + '" (at "' + path_role + '")');
957
+ }
958
+ })();
959
+ return v_error === undefined ? null : v_error;
960
+ }
961
+
962
+ function validate$g(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
963
+ const v_error = (() => {
964
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
965
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
966
+ }
967
+ const obj_tableConfigs = obj.tableConfigs;
968
+ const path_tableConfigs = path + '.tableConfigs';
969
+ if (!ArrayIsArray(obj_tableConfigs)) {
970
+ return new TypeError('Expected "array" but received "' + typeof obj_tableConfigs + '" (at "' + path_tableConfigs + '")');
971
+ }
972
+ for (let i = 0; i < obj_tableConfigs.length; i++) {
973
+ const obj_tableConfigs_item = obj_tableConfigs[i];
974
+ const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
975
+ const referencepath_tableConfigs_itemValidationError = validate$h(obj_tableConfigs_item, path_tableConfigs_item);
976
+ if (referencepath_tableConfigs_itemValidationError !== null) {
977
+ let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
978
+ message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
979
+ return new TypeError(message);
980
+ }
981
+ }
982
+ })();
983
+ return v_error === undefined ? null : v_error;
984
+ }
985
+
986
+ function validate$f(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
987
+ const v_error = (() => {
988
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
989
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
990
+ }
991
+ const obj_description = obj.description;
992
+ const path_description = path + '.description';
993
+ if (typeof obj_description !== 'string') {
994
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
995
+ }
996
+ const obj_name = obj.name;
997
+ const path_name = path + '.name';
998
+ if (typeof obj_name !== 'string') {
999
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1000
+ }
1001
+ const obj_queries = obj.queries;
1002
+ const path_queries = path + '.queries';
1003
+ const referencepath_queriesValidationError = validate$j(obj_queries, path_queries);
1004
+ if (referencepath_queriesValidationError !== null) {
1005
+ let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
1006
+ message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1007
+ return new TypeError(message);
1008
+ }
1009
+ const obj_tables = obj.tables;
1010
+ const path_tables = path + '.tables';
1011
+ const referencepath_tablesValidationError = validate$g(obj_tables, path_tables);
1012
+ if (referencepath_tablesValidationError !== null) {
1013
+ let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
1014
+ message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1015
+ return new TypeError(message);
1016
+ }
1017
+ const obj_version = obj.version;
1018
+ const path_version = path + '.version';
1019
+ if (typeof obj_version !== 'string') {
1020
+ return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
1021
+ }
1022
+ })();
1023
+ return v_error === undefined ? null : v_error;
1024
+ }
1025
+
1026
+ function validate$e(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
1027
+ const v_error = (() => {
1028
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1029
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1030
+ }
1031
+ if (obj.useCaseTypes !== undefined) {
1032
+ const obj_useCaseTypes = obj.useCaseTypes;
1033
+ const path_useCaseTypes = path + '.useCaseTypes';
1034
+ if (!ArrayIsArray(obj_useCaseTypes)) {
1035
+ return new TypeError('Expected "array" but received "' + typeof obj_useCaseTypes + '" (at "' + path_useCaseTypes + '")');
1036
+ }
1037
+ for (let i = 0; i < obj_useCaseTypes.length; i++) {
1038
+ const obj_useCaseTypes_item = obj_useCaseTypes[i];
1039
+ const path_useCaseTypes_item = path_useCaseTypes + '[' + i + ']';
1040
+ if (typeof obj_useCaseTypes_item !== 'string') {
1041
+ return new TypeError('Expected "string" but received "' + typeof obj_useCaseTypes_item + '" (at "' + path_useCaseTypes_item + '")');
1042
+ }
1043
+ }
1044
+ }
1045
+ })();
1046
+ return v_error === undefined ? null : v_error;
1047
+ }
1048
+
1049
+ function select$i(luvio, params) {
1050
+ return select$l();
1051
+ }
1052
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
669
1053
  getTypeCacheKeys$9(storeKeyMap, luvio, response);
670
1054
  }
671
- function ingestSuccess$9(luvio, resourceParams, response) {
1055
+ function ingestSuccess$a(luvio, resourceParams, response) {
672
1056
  const { body } = response;
673
1057
  const key = keyBuilderFromType$4(luvio, body);
674
1058
  luvio.storeIngest(key, ingest$9, body);
675
1059
  const snapshot = luvio.storeLookup({
676
1060
  recordId: key,
677
- node: select$h(),
1061
+ node: select$i(),
678
1062
  variables: {},
679
1063
  });
680
1064
  if (process.env.NODE_ENV !== 'production') {
@@ -685,7 +1069,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
685
1069
  deepFreeze(snapshot.data);
686
1070
  return snapshot;
687
1071
  }
688
- function createResourceRequest$9(config) {
1072
+ function createResourceRequest$a(config) {
689
1073
  const headers = {};
690
1074
  return {
691
1075
  baseUri: '/services/data/v66.0',
@@ -699,49 +1083,67 @@ function createResourceRequest$9(config) {
699
1083
  };
700
1084
  }
701
1085
 
702
- const adapterName$9 = 'createProvider';
1086
+ const adapterName$a = 'createProvider';
703
1087
  const createProvider_ConfigPropertyMetadata = [
704
1088
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
705
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
706
- generateParamConfigMetadata('templateNames', true, 2 /* Body */, 0 /* String */, true),
707
- generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
708
- generateParamConfigMetadata('domainUrl', true, 2 /* Body */, 0 /* String */),
1089
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1090
+ generateParamConfigMetadata('templateNames', false, 2 /* Body */, 0 /* String */, true),
1091
+ generateParamConfigMetadata('dataCloudOrgId', false, 2 /* Body */, 0 /* String */),
1092
+ generateParamConfigMetadata('domainUrl', false, 2 /* Body */, 0 /* String */),
709
1093
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
710
1094
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
711
1095
  generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
712
- generateParamConfigMetadata('offCoreTenantId', true, 2 /* Body */, 0 /* String */),
1096
+ generateParamConfigMetadata('offCoreTenantId', false, 2 /* Body */, 0 /* String */),
1097
+ generateParamConfigMetadata('source', false, 2 /* Body */, 0 /* String */),
1098
+ generateParamConfigMetadata('templateJson', false, 2 /* Body */, 4 /* Unsupported */),
1099
+ generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
1100
+ generateParamConfigMetadata('useCaseTypeConfig', false, 2 /* Body */, 4 /* Unsupported */),
1101
+ generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
1102
+ generateParamConfigMetadata('sourceConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
713
1103
  ];
714
- const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createProvider_ConfigPropertyMetadata);
715
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$b(createProvider_ConfigPropertyMetadata);
716
- function typeCheckConfig$9(untrustedConfig) {
1104
+ const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createProvider_ConfigPropertyMetadata);
1105
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createProvider_ConfigPropertyMetadata);
1106
+ function typeCheckConfig$a(untrustedConfig) {
717
1107
  const config = {};
718
- typeCheckConfig$b(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1108
+ typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1109
+ const untrustedConfig_templateJson = untrustedConfig.templateJson;
1110
+ const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$f(untrustedConfig_templateJson);
1111
+ if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
1112
+ config.templateJson = untrustedConfig_templateJson;
1113
+ }
1114
+ const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
1115
+ const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$e(untrustedConfig_useCaseTypeConfig);
1116
+ if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
1117
+ config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
1118
+ }
1119
+ const untrustedConfig_sourceConfiguration = untrustedConfig.sourceConfiguration;
1120
+ config.sourceConfiguration = untrustedConfig_sourceConfiguration;
719
1121
  return config;
720
1122
  }
721
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1123
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
722
1124
  if (!untrustedIsObject(untrustedConfig)) {
723
1125
  return null;
724
1126
  }
725
1127
  if (process.env.NODE_ENV !== 'production') {
726
1128
  validateConfig(untrustedConfig, configPropertyNames);
727
1129
  }
728
- const config = typeCheckConfig$9(untrustedConfig);
1130
+ const config = typeCheckConfig$a(untrustedConfig);
729
1131
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
730
1132
  return null;
731
1133
  }
732
1134
  return config;
733
1135
  }
734
- function buildNetworkSnapshot$9(luvio, config, options) {
735
- const resourceParams = createResourceParams$9(config);
736
- const request = createResourceRequest$9(resourceParams);
1136
+ function buildNetworkSnapshot$a(luvio, config, options) {
1137
+ const resourceParams = createResourceParams$a(config);
1138
+ const request = createResourceRequest$a(resourceParams);
737
1139
  return luvio.dispatchResourceRequest(request, options)
738
1140
  .then((response) => {
739
1141
  return luvio.handleSuccessResponse(() => {
740
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
1142
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
741
1143
  return luvio.storeBroadcast().then(() => snapshot);
742
1144
  }, () => {
743
1145
  const cache = new StoreKeyMap();
744
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1146
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
745
1147
  return cache;
746
1148
  });
747
1149
  }, (response) => {
@@ -751,12 +1153,12 @@ function buildNetworkSnapshot$9(luvio, config, options) {
751
1153
  }
752
1154
  const createProviderAdapterFactory = (luvio) => {
753
1155
  return function createProvider(untrustedConfig) {
754
- const config = validateAdapterConfig$9(untrustedConfig, createProvider_ConfigPropertyNames);
1156
+ const config = validateAdapterConfig$a(untrustedConfig, createProvider_ConfigPropertyNames);
755
1157
  // Invalid or incomplete config
756
1158
  if (config === null) {
757
1159
  throw new Error('Invalid config for "createProvider"');
758
1160
  }
759
- return buildNetworkSnapshot$9(luvio, config);
1161
+ return buildNetworkSnapshot$a(luvio, config);
760
1162
  };
761
1163
  };
762
1164
 
@@ -854,7 +1256,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
854
1256
  if (obj.createdBy !== undefined) {
855
1257
  const obj_createdBy = obj.createdBy;
856
1258
  const path_createdBy = path + '.createdBy';
857
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
1259
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
858
1260
  if (referencepath_createdByValidationError !== null) {
859
1261
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
860
1262
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -905,7 +1307,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
905
1307
  if (obj.lastModifiedBy !== undefined) {
906
1308
  const obj_lastModifiedBy = obj.lastModifiedBy;
907
1309
  const path_lastModifiedBy = path + '.lastModifiedBy';
908
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
1310
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
909
1311
  if (referencepath_lastModifiedByValidationError !== null) {
910
1312
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
911
1313
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -995,7 +1397,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
995
1397
  if (obj.createdBy !== undefined) {
996
1398
  const obj_createdBy = obj.createdBy;
997
1399
  const path_createdBy = path + '.createdBy';
998
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
1400
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
999
1401
  if (referencepath_createdByValidationError !== null) {
1000
1402
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1001
1403
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1026,7 +1428,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingRepresentation') {
1026
1428
  if (obj.lastModifiedBy !== undefined) {
1027
1429
  const obj_lastModifiedBy = obj.lastModifiedBy;
1028
1430
  const path_lastModifiedBy = path + '.lastModifiedBy';
1029
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
1431
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
1030
1432
  if (referencepath_lastModifiedByValidationError !== null) {
1031
1433
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1032
1434
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1078,7 +1480,7 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
1078
1480
  if (obj.createdBy !== undefined) {
1079
1481
  const obj_createdBy = obj.createdBy;
1080
1482
  const path_createdBy = path + '.createdBy';
1081
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
1483
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
1082
1484
  if (referencepath_createdByValidationError !== null) {
1083
1485
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1084
1486
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1114,7 +1516,7 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
1114
1516
  if (obj.lastModifiedBy !== undefined) {
1115
1517
  const obj_lastModifiedBy = obj.lastModifiedBy;
1116
1518
  const path_lastModifiedBy = path + '.lastModifiedBy';
1117
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
1519
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
1118
1520
  if (referencepath_lastModifiedByValidationError !== null) {
1119
1521
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1120
1522
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1142,11 +1544,32 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
1142
1544
  return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1143
1545
  }
1144
1546
  }
1547
+ if (obj.providerId !== undefined) {
1548
+ const obj_providerId = obj.providerId;
1549
+ const path_providerId = path + '.providerId';
1550
+ if (typeof obj_providerId !== 'string') {
1551
+ return new TypeError('Expected "string" but received "' + typeof obj_providerId + '" (at "' + path_providerId + '")');
1552
+ }
1553
+ }
1145
1554
  const obj_queryTemplate = obj.queryTemplate;
1146
1555
  const path_queryTemplate = path + '.queryTemplate';
1147
1556
  if (obj_queryTemplate === undefined) {
1148
1557
  return new TypeError('Expected "defined" but received "' + typeof obj_queryTemplate + '" (at "' + path_queryTemplate + '")');
1149
1558
  }
1559
+ if (obj.templateType !== undefined) {
1560
+ const obj_templateType = obj.templateType;
1561
+ const path_templateType = path + '.templateType';
1562
+ if (typeof obj_templateType !== 'string') {
1563
+ return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
1564
+ }
1565
+ }
1566
+ if (obj.templateVersion !== undefined) {
1567
+ const obj_templateVersion = obj.templateVersion;
1568
+ const path_templateVersion = path + '.templateVersion';
1569
+ if (typeof obj_templateVersion !== 'string') {
1570
+ return new TypeError('Expected "string" but received "' + typeof obj_templateVersion + '" (at "' + path_templateVersion + '")');
1571
+ }
1572
+ }
1150
1573
  if (obj.url !== undefined) {
1151
1574
  const obj_url = obj.url;
1152
1575
  const path_url = path + '.url';
@@ -1154,11 +1577,18 @@ function validate$8(obj, path = 'DataCleanRoomTemplateRepresentation') {
1154
1577
  return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1155
1578
  }
1156
1579
  }
1580
+ if (obj.useCaseType !== undefined) {
1581
+ const obj_useCaseType = obj.useCaseType;
1582
+ const path_useCaseType = path + '.useCaseType';
1583
+ if (typeof obj_useCaseType !== 'string') {
1584
+ return new TypeError('Expected "string" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
1585
+ }
1586
+ }
1157
1587
  })();
1158
1588
  return v_error === undefined ? null : v_error;
1159
1589
  }
1160
1590
 
1161
- const VERSION$7 = "13758c356b17ead7d461ca3579ee1dcf";
1591
+ const VERSION$7 = "838a38ab153e1dd3331fe38ec216c0ae";
1162
1592
  function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
1163
1593
  const v_error = (() => {
1164
1594
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1167,7 +1597,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1167
1597
  if (obj.createdBy !== undefined) {
1168
1598
  const obj_createdBy = obj.createdBy;
1169
1599
  const path_createdBy = path + '.createdBy';
1170
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
1600
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
1171
1601
  if (referencepath_createdByValidationError !== null) {
1172
1602
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1173
1603
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1216,7 +1646,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1216
1646
  if (obj.lastModifiedBy !== undefined) {
1217
1647
  const obj_lastModifiedBy = obj.lastModifiedBy;
1218
1648
  const path_lastModifiedBy = path + '.lastModifiedBy';
1219
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
1649
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
1220
1650
  if (referencepath_lastModifiedByValidationError !== null) {
1221
1651
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1222
1652
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1256,6 +1686,13 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1256
1686
  return new TypeError('Expected "string" but received "' + typeof obj_ownerOrgId + '" (at "' + path_ownerOrgId + '")');
1257
1687
  }
1258
1688
  }
1689
+ if (obj.providerId !== undefined) {
1690
+ const obj_providerId = obj.providerId;
1691
+ const path_providerId = path + '.providerId';
1692
+ if (typeof obj_providerId !== 'string') {
1693
+ return new TypeError('Expected "string" but received "' + typeof obj_providerId + '" (at "' + path_providerId + '")');
1694
+ }
1695
+ }
1259
1696
  const obj_status = obj.status;
1260
1697
  const path_status = path + '.status';
1261
1698
  if (typeof obj_status !== 'string') {
@@ -1282,19 +1719,19 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1282
1719
  return v_error === undefined ? null : v_error;
1283
1720
  }
1284
1721
  const RepresentationType$7 = 'DataCleanRoomDataSpecificationRepresentation';
1285
- function keyBuilder$b(luvio, config) {
1722
+ function keyBuilder$d(luvio, config) {
1286
1723
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.id;
1287
1724
  }
1288
1725
  function keyBuilderFromType$3(luvio, object) {
1289
1726
  const keyParams = {
1290
1727
  id: object.id
1291
1728
  };
1292
- return keyBuilder$b(luvio, keyParams);
1729
+ return keyBuilder$d(luvio, keyParams);
1293
1730
  }
1294
1731
  function normalize$7(input, existing, path, luvio, store, timestamp) {
1295
1732
  return input;
1296
1733
  }
1297
- const select$g = function DataCleanRoomDataSpecificationRepresentationSelect() {
1734
+ const select$h = function DataCleanRoomDataSpecificationRepresentationSelect() {
1298
1735
  return {
1299
1736
  kind: 'Fragment',
1300
1737
  version: VERSION$7,
@@ -1423,7 +1860,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
1423
1860
  }
1424
1861
  return input;
1425
1862
  }
1426
- const select$f = function DataCleanRoomSpecificationCollectionRepresentationSelect() {
1863
+ const select$g = function DataCleanRoomSpecificationCollectionRepresentationSelect() {
1427
1864
  return {
1428
1865
  kind: 'Fragment',
1429
1866
  version: VERSION$6,
@@ -1433,7 +1870,7 @@ const select$f = function DataCleanRoomSpecificationCollectionRepresentationSele
1433
1870
  name: 'cleanroomSpecifications',
1434
1871
  kind: 'Link',
1435
1872
  plural: true,
1436
- fragment: select$g()
1873
+ fragment: select$h()
1437
1874
  },
1438
1875
  {
1439
1876
  name: 'currentPageUrl',
@@ -1549,22 +1986,22 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1549
1986
  }
1550
1987
  }
1551
1988
 
1552
- function select$e(luvio, params) {
1553
- return select$f();
1989
+ function select$f(luvio, params) {
1990
+ return select$g();
1554
1991
  }
1555
- function keyBuilder$a(luvio, params) {
1992
+ function keyBuilder$c(luvio, params) {
1556
1993
  return keyPrefix + '::DataCleanRoomSpecificationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1557
1994
  }
1558
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
1559
- getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
1995
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
1996
+ getTypeCacheKeys$6(storeKeyMap, luvio, response, () => keyBuilder$c(luvio, resourceParams));
1560
1997
  }
1561
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
1998
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1562
1999
  const { body } = response;
1563
- const key = keyBuilder$a(luvio, resourceParams);
2000
+ const key = keyBuilder$c(luvio, resourceParams);
1564
2001
  luvio.storeIngest(key, ingest$6, body);
1565
2002
  const snapshot = luvio.storeLookup({
1566
2003
  recordId: key,
1567
- node: select$e(),
2004
+ node: select$f(),
1568
2005
  variables: {},
1569
2006
  }, snapshotRefresh);
1570
2007
  if (process.env.NODE_ENV !== 'production') {
@@ -1575,13 +2012,13 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
1575
2012
  deepFreeze(snapshot.data);
1576
2013
  return snapshot;
1577
2014
  }
1578
- function ingestError$3(luvio, params, error, snapshotRefresh) {
1579
- const key = keyBuilder$a(luvio, params);
2015
+ function ingestError$4(luvio, params, error, snapshotRefresh) {
2016
+ const key = keyBuilder$c(luvio, params);
1580
2017
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1581
2018
  luvio.storeIngestError(key, errorSnapshot);
1582
2019
  return errorSnapshot;
1583
2020
  }
1584
- function createResourceRequest$8(config) {
2021
+ function createResourceRequest$9(config) {
1585
2022
  const headers = {};
1586
2023
  return {
1587
2024
  baseUri: '/services/data/v66.0',
@@ -1595,108 +2032,108 @@ function createResourceRequest$8(config) {
1595
2032
  };
1596
2033
  }
1597
2034
 
1598
- const adapterName$8 = 'getDataCleanRoomSpecificationsPaginated';
2035
+ const adapterName$9 = 'getDataCleanRoomSpecificationsPaginated';
1599
2036
  const getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata = [
1600
2037
  generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
1601
2038
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1602
2039
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1603
2040
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1604
2041
  ];
1605
- const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
1606
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
1607
- function keyBuilder$9(luvio, config) {
1608
- const resourceParams = createResourceParams$8(config);
1609
- return keyBuilder$a(luvio, resourceParams);
2042
+ const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2043
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2044
+ function keyBuilder$b(luvio, config) {
2045
+ const resourceParams = createResourceParams$9(config);
2046
+ return keyBuilder$c(luvio, resourceParams);
1610
2047
  }
1611
- function typeCheckConfig$8(untrustedConfig) {
2048
+ function typeCheckConfig$9(untrustedConfig) {
1612
2049
  const config = {};
1613
- typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2050
+ typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
1614
2051
  return config;
1615
2052
  }
1616
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
2053
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1617
2054
  if (!untrustedIsObject(untrustedConfig)) {
1618
2055
  return null;
1619
2056
  }
1620
2057
  if (process.env.NODE_ENV !== 'production') {
1621
2058
  validateConfig(untrustedConfig, configPropertyNames);
1622
2059
  }
1623
- const config = typeCheckConfig$8(untrustedConfig);
2060
+ const config = typeCheckConfig$9(untrustedConfig);
1624
2061
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1625
2062
  return null;
1626
2063
  }
1627
2064
  return config;
1628
2065
  }
1629
- function adapterFragment$3(luvio, config) {
1630
- createResourceParams$8(config);
1631
- return select$e();
2066
+ function adapterFragment$4(luvio, config) {
2067
+ createResourceParams$9(config);
2068
+ return select$f();
1632
2069
  }
1633
- function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
1634
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
2070
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
2071
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
1635
2072
  config,
1636
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
2073
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1637
2074
  });
1638
2075
  return luvio.storeBroadcast().then(() => snapshot);
1639
2076
  }
1640
- function onFetchResponseError$3(luvio, config, resourceParams, response) {
1641
- const snapshot = ingestError$3(luvio, resourceParams, response, {
2077
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
2078
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
1642
2079
  config,
1643
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
2080
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1644
2081
  });
1645
2082
  return luvio.storeBroadcast().then(() => snapshot);
1646
2083
  }
1647
- function buildNetworkSnapshot$8(luvio, config, options) {
1648
- const resourceParams = createResourceParams$8(config);
1649
- const request = createResourceRequest$8(resourceParams);
2084
+ function buildNetworkSnapshot$9(luvio, config, options) {
2085
+ const resourceParams = createResourceParams$9(config);
2086
+ const request = createResourceRequest$9(resourceParams);
1650
2087
  return luvio.dispatchResourceRequest(request, options)
1651
2088
  .then((response) => {
1652
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
2089
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
1653
2090
  const cache = new StoreKeyMap();
1654
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
2091
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1655
2092
  return cache;
1656
2093
  });
1657
2094
  }, (response) => {
1658
- return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
2095
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
1659
2096
  });
1660
2097
  }
1661
- function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1662
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
2098
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
2099
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
1663
2100
  }
1664
- function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
2101
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1665
2102
  const { luvio, config } = context;
1666
2103
  const selector = {
1667
- recordId: keyBuilder$9(luvio, config),
1668
- node: adapterFragment$3(luvio, config),
2104
+ recordId: keyBuilder$b(luvio, config),
2105
+ node: adapterFragment$4(luvio, config),
1669
2106
  variables: {},
1670
2107
  };
1671
2108
  const cacheSnapshot = storeLookup(selector, {
1672
2109
  config,
1673
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
2110
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1674
2111
  });
1675
2112
  return cacheSnapshot;
1676
2113
  }
1677
2114
  const getDataCleanRoomSpecificationsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomSpecificationsPaginated(untrustedConfig, requestContext) {
1678
- const config = validateAdapterConfig$8(untrustedConfig, getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames);
2115
+ const config = validateAdapterConfig$9(untrustedConfig, getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames);
1679
2116
  // Invalid or incomplete config
1680
2117
  if (config === null) {
1681
2118
  return null;
1682
2119
  }
1683
2120
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1684
- buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
2121
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1685
2122
  };
1686
2123
 
1687
- function select$d(luvio, params) {
1688
- return select$g();
2124
+ function select$e(luvio, params) {
2125
+ return select$h();
1689
2126
  }
1690
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
2127
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
1691
2128
  getTypeCacheKeys$7(storeKeyMap, luvio, response);
1692
2129
  }
1693
- function ingestSuccess$7(luvio, resourceParams, response) {
2130
+ function ingestSuccess$8(luvio, resourceParams, response) {
1694
2131
  const { body } = response;
1695
2132
  const key = keyBuilderFromType$3(luvio, body);
1696
2133
  luvio.storeIngest(key, ingest$7, body);
1697
2134
  const snapshot = luvio.storeLookup({
1698
2135
  recordId: key,
1699
- node: select$d(),
2136
+ node: select$e(),
1700
2137
  variables: {},
1701
2138
  });
1702
2139
  if (process.env.NODE_ENV !== 'production') {
@@ -1707,7 +2144,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
1707
2144
  deepFreeze(snapshot.data);
1708
2145
  return snapshot;
1709
2146
  }
1710
- function createResourceRequest$7(config) {
2147
+ function createResourceRequest$8(config) {
1711
2148
  const headers = {};
1712
2149
  return {
1713
2150
  baseUri: '/services/data/v66.0',
@@ -1721,50 +2158,53 @@ function createResourceRequest$7(config) {
1721
2158
  };
1722
2159
  }
1723
2160
 
1724
- const adapterName$7 = 'createDataCleanRoomSpecification';
2161
+ const adapterName$8 = 'createDataCleanRoomSpecification';
1725
2162
  const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
1726
2163
  generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */),
1727
2164
  generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
1728
2165
  generateParamConfigMetadata('ownerOrgId', true, 2 /* Body */, 0 /* String */),
1729
- generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
2166
+ generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
1730
2167
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1731
2168
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1732
2169
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1733
2170
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
2171
+ generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
2172
+ generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
2173
+ generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
1734
2174
  ];
1735
- const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1736
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$b(createDataCleanRoomSpecification_ConfigPropertyMetadata);
1737
- function typeCheckConfig$7(untrustedConfig) {
2175
+ const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createDataCleanRoomSpecification_ConfigPropertyMetadata);
2176
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomSpecification_ConfigPropertyMetadata);
2177
+ function typeCheckConfig$8(untrustedConfig) {
1738
2178
  const config = {};
1739
- typeCheckConfig$b(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
2179
+ typeCheckConfig$c(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1740
2180
  const untrustedConfig_dataMapping = untrustedConfig.dataMapping;
1741
2181
  config.dataMapping = untrustedConfig_dataMapping;
1742
2182
  return config;
1743
2183
  }
1744
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
2184
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
1745
2185
  if (!untrustedIsObject(untrustedConfig)) {
1746
2186
  return null;
1747
2187
  }
1748
2188
  if (process.env.NODE_ENV !== 'production') {
1749
2189
  validateConfig(untrustedConfig, configPropertyNames);
1750
2190
  }
1751
- const config = typeCheckConfig$7(untrustedConfig);
2191
+ const config = typeCheckConfig$8(untrustedConfig);
1752
2192
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1753
2193
  return null;
1754
2194
  }
1755
2195
  return config;
1756
2196
  }
1757
- function buildNetworkSnapshot$7(luvio, config, options) {
1758
- const resourceParams = createResourceParams$7(config);
1759
- const request = createResourceRequest$7(resourceParams);
2197
+ function buildNetworkSnapshot$8(luvio, config, options) {
2198
+ const resourceParams = createResourceParams$8(config);
2199
+ const request = createResourceRequest$8(resourceParams);
1760
2200
  return luvio.dispatchResourceRequest(request, options)
1761
2201
  .then((response) => {
1762
2202
  return luvio.handleSuccessResponse(() => {
1763
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
2203
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
1764
2204
  return luvio.storeBroadcast().then(() => snapshot);
1765
2205
  }, () => {
1766
2206
  const cache = new StoreKeyMap();
1767
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
2207
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
1768
2208
  return cache;
1769
2209
  });
1770
2210
  }, (response) => {
@@ -1774,16 +2214,16 @@ function buildNetworkSnapshot$7(luvio, config, options) {
1774
2214
  }
1775
2215
  const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1776
2216
  return function createDataCleanRoomSpecification(untrustedConfig) {
1777
- const config = validateAdapterConfig$7(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
2217
+ const config = validateAdapterConfig$8(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
1778
2218
  // Invalid or incomplete config
1779
2219
  if (config === null) {
1780
2220
  throw new Error('Invalid config for "createDataCleanRoomSpecification"');
1781
2221
  }
1782
- return buildNetworkSnapshot$7(luvio, config);
2222
+ return buildNetworkSnapshot$8(luvio, config);
1783
2223
  };
1784
2224
  };
1785
2225
 
1786
- const VERSION$5 = "60e6b0a7bcb30c169435125696ac47b1";
2226
+ const VERSION$5 = "a8672aefcec1f2472ac82220f6461ae6";
1787
2227
  function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
1788
2228
  const v_error = (() => {
1789
2229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1804,10 +2244,12 @@ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
1804
2244
  if (typeof obj_memberId !== 'string') {
1805
2245
  return new TypeError('Expected "string" but received "' + typeof obj_memberId + '" (at "' + path_memberId + '")');
1806
2246
  }
1807
- const obj_memberOrgId = obj.memberOrgId;
1808
- const path_memberOrgId = path + '.memberOrgId';
1809
- if (typeof obj_memberOrgId !== 'string') {
1810
- return new TypeError('Expected "string" but received "' + typeof obj_memberOrgId + '" (at "' + path_memberOrgId + '")');
2247
+ if (obj.memberOrgId !== undefined) {
2248
+ const obj_memberOrgId = obj.memberOrgId;
2249
+ const path_memberOrgId = path + '.memberOrgId';
2250
+ if (typeof obj_memberOrgId !== 'string') {
2251
+ return new TypeError('Expected "string" but received "' + typeof obj_memberOrgId + '" (at "' + path_memberOrgId + '")');
2252
+ }
1811
2253
  }
1812
2254
  const obj_memberStatus = obj.memberStatus;
1813
2255
  const path_memberStatus = path + '.memberStatus';
@@ -1835,19 +2277,19 @@ function validate$5(obj, path = 'DataCleanRoomMemberRepresentation') {
1835
2277
  return v_error === undefined ? null : v_error;
1836
2278
  }
1837
2279
  const RepresentationType$5 = 'DataCleanRoomMemberRepresentation';
1838
- function keyBuilder$8(luvio, config) {
2280
+ function keyBuilder$a(luvio, config) {
1839
2281
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.invitationId;
1840
2282
  }
1841
2283
  function keyBuilderFromType$2(luvio, object) {
1842
2284
  const keyParams = {
1843
2285
  invitationId: object.invitationId
1844
2286
  };
1845
- return keyBuilder$8(luvio, keyParams);
2287
+ return keyBuilder$a(luvio, keyParams);
1846
2288
  }
1847
2289
  function normalize$5(input, existing, path, luvio, store, timestamp) {
1848
2290
  return input;
1849
2291
  }
1850
- const select$c = function DataCleanRoomMemberRepresentationSelect() {
2292
+ const select$d = function DataCleanRoomMemberRepresentationSelect() {
1851
2293
  return {
1852
2294
  kind: 'Fragment',
1853
2295
  version: VERSION$5,
@@ -1899,7 +2341,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
1899
2341
  if (obj.createdBy !== undefined) {
1900
2342
  const obj_createdBy = obj.createdBy;
1901
2343
  const path_createdBy = path + '.createdBy';
1902
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
2344
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
1903
2345
  if (referencepath_createdByValidationError !== null) {
1904
2346
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1905
2347
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1942,7 +2384,7 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
1942
2384
  if (obj.lastModifiedBy !== undefined) {
1943
2385
  const obj_lastModifiedBy = obj.lastModifiedBy;
1944
2386
  const path_lastModifiedBy = path + '.lastModifiedBy';
1945
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
2387
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
1946
2388
  if (referencepath_lastModifiedByValidationError !== null) {
1947
2389
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1948
2390
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2009,19 +2451,19 @@ function validate$4(obj, path = 'DataCleanRoomCollaborationRepresentation') {
2009
2451
  return v_error === undefined ? null : v_error;
2010
2452
  }
2011
2453
  const RepresentationType$4 = 'DataCleanRoomCollaborationRepresentation';
2012
- function keyBuilder$7(luvio, config) {
2454
+ function keyBuilder$9(luvio, config) {
2013
2455
  return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
2014
2456
  }
2015
2457
  function keyBuilderFromType$1(luvio, object) {
2016
2458
  const keyParams = {
2017
2459
  id: object.id
2018
2460
  };
2019
- return keyBuilder$7(luvio, keyParams);
2461
+ return keyBuilder$9(luvio, keyParams);
2020
2462
  }
2021
2463
  function normalize$4(input, existing, path, luvio, store, timestamp) {
2022
2464
  return input;
2023
2465
  }
2024
- const select$b = function DataCleanRoomCollaborationRepresentationSelect() {
2466
+ const select$c = function DataCleanRoomCollaborationRepresentationSelect() {
2025
2467
  return {
2026
2468
  kind: 'Fragment',
2027
2469
  version: VERSION$4,
@@ -2137,7 +2579,7 @@ const RepresentationType$3 = 'DataCleanRoomCollaborationCollectionRepresentation
2137
2579
  function normalize$3(input, existing, path, luvio, store, timestamp) {
2138
2580
  return input;
2139
2581
  }
2140
- const select$a = function DataCleanRoomCollaborationCollectionRepresentationSelect() {
2582
+ const select$b = function DataCleanRoomCollaborationCollectionRepresentationSelect() {
2141
2583
  return {
2142
2584
  kind: 'Fragment',
2143
2585
  version: VERSION$3,
@@ -2173,22 +2615,22 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
2173
2615
  });
2174
2616
  }
2175
2617
 
2176
- function select$9(luvio, params) {
2177
- return select$a();
2618
+ function select$a(luvio, params) {
2619
+ return select$b();
2178
2620
  }
2179
- function keyBuilder$6(luvio, params) {
2621
+ function keyBuilder$8(luvio, params) {
2180
2622
  return keyPrefix + '::DataCleanRoomCollaborationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
2181
2623
  }
2182
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
2183
- getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
2624
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
2625
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
2184
2626
  }
2185
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
2627
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
2186
2628
  const { body } = response;
2187
- const key = keyBuilder$6(luvio, resourceParams);
2629
+ const key = keyBuilder$8(luvio, resourceParams);
2188
2630
  luvio.storeIngest(key, ingest$3, body);
2189
2631
  const snapshot = luvio.storeLookup({
2190
2632
  recordId: key,
2191
- node: select$9(),
2633
+ node: select$a(),
2192
2634
  variables: {},
2193
2635
  }, snapshotRefresh);
2194
2636
  if (process.env.NODE_ENV !== 'production') {
@@ -2199,13 +2641,13 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
2199
2641
  deepFreeze(snapshot.data);
2200
2642
  return snapshot;
2201
2643
  }
2202
- function ingestError$2(luvio, params, error, snapshotRefresh) {
2203
- const key = keyBuilder$6(luvio, params);
2644
+ function ingestError$3(luvio, params, error, snapshotRefresh) {
2645
+ const key = keyBuilder$8(luvio, params);
2204
2646
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2205
2647
  luvio.storeIngestError(key, errorSnapshot);
2206
2648
  return errorSnapshot;
2207
2649
  }
2208
- function createResourceRequest$6(config) {
2650
+ function createResourceRequest$7(config) {
2209
2651
  const headers = {};
2210
2652
  return {
2211
2653
  baseUri: '/services/data/v66.0',
@@ -2219,108 +2661,108 @@ function createResourceRequest$6(config) {
2219
2661
  };
2220
2662
  }
2221
2663
 
2222
- const adapterName$6 = 'getAllDataCleanRoomsPaginated';
2664
+ const adapterName$7 = 'getAllDataCleanRoomsPaginated';
2223
2665
  const getAllDataCleanRoomsPaginated_ConfigPropertyMetadata = [
2224
2666
  generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
2225
2667
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
2226
2668
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
2227
2669
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2228
2670
  ];
2229
- const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2230
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$b(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2231
- function keyBuilder$5(luvio, config) {
2232
- const resourceParams = createResourceParams$6(config);
2233
- return keyBuilder$6(luvio, resourceParams);
2671
+ const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2672
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2673
+ function keyBuilder$7(luvio, config) {
2674
+ const resourceParams = createResourceParams$7(config);
2675
+ return keyBuilder$8(luvio, resourceParams);
2234
2676
  }
2235
- function typeCheckConfig$6(untrustedConfig) {
2677
+ function typeCheckConfig$7(untrustedConfig) {
2236
2678
  const config = {};
2237
- typeCheckConfig$b(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2679
+ typeCheckConfig$c(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2238
2680
  return config;
2239
2681
  }
2240
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
2682
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
2241
2683
  if (!untrustedIsObject(untrustedConfig)) {
2242
2684
  return null;
2243
2685
  }
2244
2686
  if (process.env.NODE_ENV !== 'production') {
2245
2687
  validateConfig(untrustedConfig, configPropertyNames);
2246
2688
  }
2247
- const config = typeCheckConfig$6(untrustedConfig);
2689
+ const config = typeCheckConfig$7(untrustedConfig);
2248
2690
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2249
2691
  return null;
2250
2692
  }
2251
2693
  return config;
2252
2694
  }
2253
- function adapterFragment$2(luvio, config) {
2254
- createResourceParams$6(config);
2255
- return select$9();
2695
+ function adapterFragment$3(luvio, config) {
2696
+ createResourceParams$7(config);
2697
+ return select$a();
2256
2698
  }
2257
- function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
2258
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
2699
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
2700
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
2259
2701
  config,
2260
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
2702
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2261
2703
  });
2262
2704
  return luvio.storeBroadcast().then(() => snapshot);
2263
2705
  }
2264
- function onFetchResponseError$2(luvio, config, resourceParams, response) {
2265
- const snapshot = ingestError$2(luvio, resourceParams, response, {
2706
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
2707
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
2266
2708
  config,
2267
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
2709
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2268
2710
  });
2269
2711
  return luvio.storeBroadcast().then(() => snapshot);
2270
2712
  }
2271
- function buildNetworkSnapshot$6(luvio, config, options) {
2272
- const resourceParams = createResourceParams$6(config);
2273
- const request = createResourceRequest$6(resourceParams);
2713
+ function buildNetworkSnapshot$7(luvio, config, options) {
2714
+ const resourceParams = createResourceParams$7(config);
2715
+ const request = createResourceRequest$7(resourceParams);
2274
2716
  return luvio.dispatchResourceRequest(request, options)
2275
2717
  .then((response) => {
2276
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
2718
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
2277
2719
  const cache = new StoreKeyMap();
2278
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
2720
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
2279
2721
  return cache;
2280
2722
  });
2281
2723
  }, (response) => {
2282
- return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
2724
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
2283
2725
  });
2284
2726
  }
2285
- function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2286
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
2727
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
2728
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
2287
2729
  }
2288
- function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2730
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
2289
2731
  const { luvio, config } = context;
2290
2732
  const selector = {
2291
- recordId: keyBuilder$5(luvio, config),
2292
- node: adapterFragment$2(luvio, config),
2733
+ recordId: keyBuilder$7(luvio, config),
2734
+ node: adapterFragment$3(luvio, config),
2293
2735
  variables: {},
2294
2736
  };
2295
2737
  const cacheSnapshot = storeLookup(selector, {
2296
2738
  config,
2297
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
2739
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
2298
2740
  });
2299
2741
  return cacheSnapshot;
2300
2742
  }
2301
2743
  const getAllDataCleanRoomsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomsPaginated(untrustedConfig, requestContext) {
2302
- const config = validateAdapterConfig$6(untrustedConfig, getAllDataCleanRoomsPaginated_ConfigPropertyNames);
2744
+ const config = validateAdapterConfig$7(untrustedConfig, getAllDataCleanRoomsPaginated_ConfigPropertyNames);
2303
2745
  // Invalid or incomplete config
2304
2746
  if (config === null) {
2305
2747
  return null;
2306
2748
  }
2307
2749
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2308
- buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
2750
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
2309
2751
  };
2310
2752
 
2311
- function select$8(luvio, params) {
2312
- return select$b();
2753
+ function select$9(luvio, params) {
2754
+ return select$c();
2313
2755
  }
2314
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
2756
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
2315
2757
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
2316
2758
  }
2317
- function ingestSuccess$5(luvio, resourceParams, response) {
2759
+ function ingestSuccess$6(luvio, resourceParams, response) {
2318
2760
  const { body } = response;
2319
2761
  const key = keyBuilderFromType$1(luvio, body);
2320
2762
  luvio.storeIngest(key, ingest$4, body);
2321
2763
  const snapshot = luvio.storeLookup({
2322
2764
  recordId: key,
2323
- node: select$8(),
2765
+ node: select$9(),
2324
2766
  variables: {},
2325
2767
  });
2326
2768
  if (process.env.NODE_ENV !== 'production') {
@@ -2331,7 +2773,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
2331
2773
  deepFreeze(snapshot.data);
2332
2774
  return snapshot;
2333
2775
  }
2334
- function createResourceRequest$5(config) {
2776
+ function createResourceRequest$6(config) {
2335
2777
  const headers = {};
2336
2778
  return {
2337
2779
  baseUri: '/services/data/v66.0',
@@ -2345,48 +2787,49 @@ function createResourceRequest$5(config) {
2345
2787
  };
2346
2788
  }
2347
2789
 
2348
- const adapterName$5 = 'createDataCleanRoomCollaboration';
2790
+ const adapterName$6 = 'createDataCleanRoomCollaboration';
2349
2791
  const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
2350
2792
  generateParamConfigMetadata('apiKey', false, 2 /* Body */, 0 /* String */),
2351
2793
  generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
2352
2794
  generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
2353
2795
  generateParamConfigMetadata('providerDevName', true, 2 /* Body */, 0 /* String */),
2354
2796
  generateParamConfigMetadata('specificationDevName', true, 2 /* Body */, 0 /* String */),
2355
- generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
2797
+ generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
2356
2798
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
2357
2799
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
2800
+ generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
2358
2801
  ];
2359
- const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
2360
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$b(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
2361
- function typeCheckConfig$5(untrustedConfig) {
2802
+ const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
2803
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
2804
+ function typeCheckConfig$6(untrustedConfig) {
2362
2805
  const config = {};
2363
- typeCheckConfig$b(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
2806
+ typeCheckConfig$c(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
2364
2807
  return config;
2365
2808
  }
2366
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
2809
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
2367
2810
  if (!untrustedIsObject(untrustedConfig)) {
2368
2811
  return null;
2369
2812
  }
2370
2813
  if (process.env.NODE_ENV !== 'production') {
2371
2814
  validateConfig(untrustedConfig, configPropertyNames);
2372
2815
  }
2373
- const config = typeCheckConfig$5(untrustedConfig);
2816
+ const config = typeCheckConfig$6(untrustedConfig);
2374
2817
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2375
2818
  return null;
2376
2819
  }
2377
2820
  return config;
2378
2821
  }
2379
- function buildNetworkSnapshot$5(luvio, config, options) {
2380
- const resourceParams = createResourceParams$5(config);
2381
- const request = createResourceRequest$5(resourceParams);
2822
+ function buildNetworkSnapshot$6(luvio, config, options) {
2823
+ const resourceParams = createResourceParams$6(config);
2824
+ const request = createResourceRequest$6(resourceParams);
2382
2825
  return luvio.dispatchResourceRequest(request, options)
2383
2826
  .then((response) => {
2384
2827
  return luvio.handleSuccessResponse(() => {
2385
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
2828
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
2386
2829
  return luvio.storeBroadcast().then(() => snapshot);
2387
2830
  }, () => {
2388
2831
  const cache = new StoreKeyMap();
2389
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
2832
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
2390
2833
  return cache;
2391
2834
  });
2392
2835
  }, (response) => {
@@ -2396,12 +2839,12 @@ function buildNetworkSnapshot$5(luvio, config, options) {
2396
2839
  }
2397
2840
  const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
2398
2841
  return function createDataCleanRoomCollaboration(untrustedConfig) {
2399
- const config = validateAdapterConfig$5(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
2842
+ const config = validateAdapterConfig$6(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
2400
2843
  // Invalid or incomplete config
2401
2844
  if (config === null) {
2402
2845
  throw new Error('Invalid config for "createDataCleanRoomCollaboration"');
2403
2846
  }
2404
- return buildNetworkSnapshot$5(luvio, config);
2847
+ return buildNetworkSnapshot$6(luvio, config);
2405
2848
  };
2406
2849
  };
2407
2850
 
@@ -2485,7 +2928,7 @@ const RepresentationType$2 = 'DataCleanRoomTemplateCollectionRepresentation';
2485
2928
  function normalize$2(input, existing, path, luvio, store, timestamp) {
2486
2929
  return input;
2487
2930
  }
2488
- const select$7 = function DataCleanRoomTemplateCollectionRepresentationSelect() {
2931
+ const select$8 = function DataCleanRoomTemplateCollectionRepresentationSelect() {
2489
2932
  return {
2490
2933
  kind: 'Fragment',
2491
2934
  version: VERSION$2,
@@ -2521,22 +2964,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
2521
2964
  });
2522
2965
  }
2523
2966
 
2524
- function select$6(luvio, params) {
2525
- return select$7();
2967
+ function select$7(luvio, params) {
2968
+ return select$8();
2526
2969
  }
2527
- function keyBuilder$4(luvio, params) {
2528
- return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
2970
+ function keyBuilder$6(luvio, params) {
2971
+ return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'filters:' + params.queryParams.filters + ')';
2529
2972
  }
2530
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
2531
- getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
2973
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
2974
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
2532
2975
  }
2533
- function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
2976
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
2534
2977
  const { body } = response;
2535
- const key = keyBuilder$4(luvio, resourceParams);
2978
+ const key = keyBuilder$6(luvio, resourceParams);
2536
2979
  luvio.storeIngest(key, ingest$2, body);
2537
2980
  const snapshot = luvio.storeLookup({
2538
2981
  recordId: key,
2539
- node: select$6(),
2982
+ node: select$7(),
2540
2983
  variables: {},
2541
2984
  }, snapshotRefresh);
2542
2985
  if (process.env.NODE_ENV !== 'production') {
@@ -2547,13 +2990,13 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
2547
2990
  deepFreeze(snapshot.data);
2548
2991
  return snapshot;
2549
2992
  }
2550
- function ingestError$1(luvio, params, error, snapshotRefresh) {
2551
- const key = keyBuilder$4(luvio, params);
2993
+ function ingestError$2(luvio, params, error, snapshotRefresh) {
2994
+ const key = keyBuilder$6(luvio, params);
2552
2995
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2553
2996
  luvio.storeIngestError(key, errorSnapshot);
2554
2997
  return errorSnapshot;
2555
2998
  }
2556
- function createResourceRequest$4(config) {
2999
+ function createResourceRequest$5(config) {
2557
3000
  const headers = {};
2558
3001
  return {
2559
3002
  baseUri: '/services/data/v66.0',
@@ -2567,107 +3010,108 @@ function createResourceRequest$4(config) {
2567
3010
  };
2568
3011
  }
2569
3012
 
2570
- const adapterName$4 = 'getDataCleanRoomTemplatePaginated';
3013
+ const adapterName$5 = 'getDataCleanRoomTemplatePaginated';
2571
3014
  const getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata = [
2572
3015
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
2573
3016
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
2574
3017
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
3018
+ generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
2575
3019
  ];
2576
- const getDataCleanRoomTemplatePaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2577
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2578
- function keyBuilder$3(luvio, config) {
2579
- const resourceParams = createResourceParams$4(config);
2580
- return keyBuilder$4(luvio, resourceParams);
3020
+ const getDataCleanRoomTemplatePaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3021
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3022
+ function keyBuilder$5(luvio, config) {
3023
+ const resourceParams = createResourceParams$5(config);
3024
+ return keyBuilder$6(luvio, resourceParams);
2581
3025
  }
2582
- function typeCheckConfig$4(untrustedConfig) {
3026
+ function typeCheckConfig$5(untrustedConfig) {
2583
3027
  const config = {};
2584
- typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3028
+ typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2585
3029
  return config;
2586
3030
  }
2587
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
3031
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
2588
3032
  if (!untrustedIsObject(untrustedConfig)) {
2589
3033
  return null;
2590
3034
  }
2591
3035
  if (process.env.NODE_ENV !== 'production') {
2592
3036
  validateConfig(untrustedConfig, configPropertyNames);
2593
3037
  }
2594
- const config = typeCheckConfig$4(untrustedConfig);
3038
+ const config = typeCheckConfig$5(untrustedConfig);
2595
3039
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2596
3040
  return null;
2597
3041
  }
2598
3042
  return config;
2599
3043
  }
2600
- function adapterFragment$1(luvio, config) {
2601
- createResourceParams$4(config);
2602
- return select$6();
3044
+ function adapterFragment$2(luvio, config) {
3045
+ createResourceParams$5(config);
3046
+ return select$7();
2603
3047
  }
2604
- function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
2605
- const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
3048
+ function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
3049
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
2606
3050
  config,
2607
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
3051
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2608
3052
  });
2609
3053
  return luvio.storeBroadcast().then(() => snapshot);
2610
3054
  }
2611
- function onFetchResponseError$1(luvio, config, resourceParams, response) {
2612
- const snapshot = ingestError$1(luvio, resourceParams, response, {
3055
+ function onFetchResponseError$2(luvio, config, resourceParams, response) {
3056
+ const snapshot = ingestError$2(luvio, resourceParams, response, {
2613
3057
  config,
2614
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
3058
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2615
3059
  });
2616
3060
  return luvio.storeBroadcast().then(() => snapshot);
2617
3061
  }
2618
- function buildNetworkSnapshot$4(luvio, config, options) {
2619
- const resourceParams = createResourceParams$4(config);
2620
- const request = createResourceRequest$4(resourceParams);
3062
+ function buildNetworkSnapshot$5(luvio, config, options) {
3063
+ const resourceParams = createResourceParams$5(config);
3064
+ const request = createResourceRequest$5(resourceParams);
2621
3065
  return luvio.dispatchResourceRequest(request, options)
2622
3066
  .then((response) => {
2623
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
3067
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
2624
3068
  const cache = new StoreKeyMap();
2625
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
3069
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
2626
3070
  return cache;
2627
3071
  });
2628
3072
  }, (response) => {
2629
- return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
3073
+ return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
2630
3074
  });
2631
3075
  }
2632
- function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
2633
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
3076
+ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
3077
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
2634
3078
  }
2635
- function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
3079
+ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2636
3080
  const { luvio, config } = context;
2637
3081
  const selector = {
2638
- recordId: keyBuilder$3(luvio, config),
2639
- node: adapterFragment$1(luvio, config),
3082
+ recordId: keyBuilder$5(luvio, config),
3083
+ node: adapterFragment$2(luvio, config),
2640
3084
  variables: {},
2641
3085
  };
2642
3086
  const cacheSnapshot = storeLookup(selector, {
2643
3087
  config,
2644
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
3088
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2645
3089
  });
2646
3090
  return cacheSnapshot;
2647
3091
  }
2648
3092
  const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomTemplatePaginated(untrustedConfig, requestContext) {
2649
- const config = validateAdapterConfig$4(untrustedConfig, getDataCleanRoomTemplatePaginated_ConfigPropertyNames);
3093
+ const config = validateAdapterConfig$5(untrustedConfig, getDataCleanRoomTemplatePaginated_ConfigPropertyNames);
2650
3094
  // Invalid or incomplete config
2651
3095
  if (config === null) {
2652
3096
  return null;
2653
3097
  }
2654
3098
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2655
- buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
3099
+ buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
2656
3100
  };
2657
3101
 
2658
- function select$5(luvio, params) {
2659
- return select$c();
3102
+ function select$6(luvio, params) {
3103
+ return select$d();
2660
3104
  }
2661
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
3105
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
2662
3106
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
2663
3107
  }
2664
- function ingestSuccess$3(luvio, resourceParams, response) {
3108
+ function ingestSuccess$4(luvio, resourceParams, response) {
2665
3109
  const { body } = response;
2666
3110
  const key = keyBuilderFromType$2(luvio, body);
2667
3111
  luvio.storeIngest(key, ingest$5, body);
2668
3112
  const snapshot = luvio.storeLookup({
2669
3113
  recordId: key,
2670
- node: select$5(),
3114
+ node: select$6(),
2671
3115
  variables: {},
2672
3116
  });
2673
3117
  if (process.env.NODE_ENV !== 'production') {
@@ -2678,7 +3122,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
2678
3122
  deepFreeze(snapshot.data);
2679
3123
  return snapshot;
2680
3124
  }
2681
- function createResourceRequest$3(config) {
3125
+ function createResourceRequest$4(config) {
2682
3126
  const headers = {};
2683
3127
  return {
2684
3128
  baseUri: '/services/data/v66.0',
@@ -2692,43 +3136,43 @@ function createResourceRequest$3(config) {
2692
3136
  };
2693
3137
  }
2694
3138
 
2695
- const adapterName$3 = 'acceptDataCleanRoomInvitation';
3139
+ const adapterName$4 = 'acceptDataCleanRoomInvitation';
2696
3140
  const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
2697
3141
  generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
2698
3142
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
2699
3143
  generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
2700
3144
  ];
2701
- const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
2702
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$b(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
2703
- function typeCheckConfig$3(untrustedConfig) {
3145
+ const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
3146
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
3147
+ function typeCheckConfig$4(untrustedConfig) {
2704
3148
  const config = {};
2705
- typeCheckConfig$b(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
3149
+ typeCheckConfig$c(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
2706
3150
  return config;
2707
3151
  }
2708
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
3152
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
2709
3153
  if (!untrustedIsObject(untrustedConfig)) {
2710
3154
  return null;
2711
3155
  }
2712
3156
  if (process.env.NODE_ENV !== 'production') {
2713
3157
  validateConfig(untrustedConfig, configPropertyNames);
2714
3158
  }
2715
- const config = typeCheckConfig$3(untrustedConfig);
3159
+ const config = typeCheckConfig$4(untrustedConfig);
2716
3160
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2717
3161
  return null;
2718
3162
  }
2719
3163
  return config;
2720
3164
  }
2721
- function buildNetworkSnapshot$3(luvio, config, options) {
2722
- const resourceParams = createResourceParams$3(config);
2723
- const request = createResourceRequest$3(resourceParams);
3165
+ function buildNetworkSnapshot$4(luvio, config, options) {
3166
+ const resourceParams = createResourceParams$4(config);
3167
+ const request = createResourceRequest$4(resourceParams);
2724
3168
  return luvio.dispatchResourceRequest(request, options)
2725
3169
  .then((response) => {
2726
3170
  return luvio.handleSuccessResponse(() => {
2727
- const snapshot = ingestSuccess$3(luvio, resourceParams, response);
3171
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response);
2728
3172
  return luvio.storeBroadcast().then(() => snapshot);
2729
3173
  }, () => {
2730
3174
  const cache = new StoreKeyMap();
2731
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
3175
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
2732
3176
  return cache;
2733
3177
  });
2734
3178
  }, (response) => {
@@ -2738,28 +3182,28 @@ function buildNetworkSnapshot$3(luvio, config, options) {
2738
3182
  }
2739
3183
  const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
2740
3184
  return function acceptDataCleanRoomInvitation(untrustedConfig) {
2741
- const config = validateAdapterConfig$3(untrustedConfig, acceptDataCleanRoomInvitation_ConfigPropertyNames);
3185
+ const config = validateAdapterConfig$4(untrustedConfig, acceptDataCleanRoomInvitation_ConfigPropertyNames);
2742
3186
  // Invalid or incomplete config
2743
3187
  if (config === null) {
2744
3188
  throw new Error('Invalid config for "acceptDataCleanRoomInvitation"');
2745
3189
  }
2746
- return buildNetworkSnapshot$3(luvio, config);
3190
+ return buildNetworkSnapshot$4(luvio, config);
2747
3191
  };
2748
3192
  };
2749
3193
 
2750
- function select$4(luvio, params) {
2751
- return select$c();
3194
+ function select$5(luvio, params) {
3195
+ return select$d();
2752
3196
  }
2753
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
3197
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
2754
3198
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
2755
3199
  }
2756
- function ingestSuccess$2(luvio, resourceParams, response) {
3200
+ function ingestSuccess$3(luvio, resourceParams, response) {
2757
3201
  const { body } = response;
2758
3202
  const key = keyBuilderFromType$2(luvio, body);
2759
3203
  luvio.storeIngest(key, ingest$5, body);
2760
3204
  const snapshot = luvio.storeLookup({
2761
3205
  recordId: key,
2762
- node: select$4(),
3206
+ node: select$5(),
2763
3207
  variables: {},
2764
3208
  });
2765
3209
  if (process.env.NODE_ENV !== 'production') {
@@ -2770,7 +3214,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
2770
3214
  deepFreeze(snapshot.data);
2771
3215
  return snapshot;
2772
3216
  }
2773
- function createResourceRequest$2(config) {
3217
+ function createResourceRequest$3(config) {
2774
3218
  const headers = {};
2775
3219
  return {
2776
3220
  baseUri: '/services/data/v66.0',
@@ -2784,42 +3228,42 @@ function createResourceRequest$2(config) {
2784
3228
  };
2785
3229
  }
2786
3230
 
2787
- const adapterName$2 = 'rejectDataCleanRoomInvitation';
3231
+ const adapterName$3 = 'rejectDataCleanRoomInvitation';
2788
3232
  const rejectDataCleanRoomInvitation_ConfigPropertyMetadata = [
2789
3233
  generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
2790
3234
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
2791
3235
  ];
2792
- const rejectDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2793
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$b(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2794
- function typeCheckConfig$2(untrustedConfig) {
3236
+ const rejectDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3237
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3238
+ function typeCheckConfig$3(untrustedConfig) {
2795
3239
  const config = {};
2796
- typeCheckConfig$b(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3240
+ typeCheckConfig$c(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2797
3241
  return config;
2798
3242
  }
2799
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
3243
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
2800
3244
  if (!untrustedIsObject(untrustedConfig)) {
2801
3245
  return null;
2802
3246
  }
2803
3247
  if (process.env.NODE_ENV !== 'production') {
2804
3248
  validateConfig(untrustedConfig, configPropertyNames);
2805
3249
  }
2806
- const config = typeCheckConfig$2(untrustedConfig);
3250
+ const config = typeCheckConfig$3(untrustedConfig);
2807
3251
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2808
3252
  return null;
2809
3253
  }
2810
3254
  return config;
2811
3255
  }
2812
- function buildNetworkSnapshot$2(luvio, config, options) {
2813
- const resourceParams = createResourceParams$2(config);
2814
- const request = createResourceRequest$2(resourceParams);
3256
+ function buildNetworkSnapshot$3(luvio, config, options) {
3257
+ const resourceParams = createResourceParams$3(config);
3258
+ const request = createResourceRequest$3(resourceParams);
2815
3259
  return luvio.dispatchResourceRequest(request, options)
2816
3260
  .then((response) => {
2817
3261
  return luvio.handleSuccessResponse(() => {
2818
- const snapshot = ingestSuccess$2(luvio, resourceParams, response);
3262
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response);
2819
3263
  return luvio.storeBroadcast().then(() => snapshot);
2820
3264
  }, () => {
2821
3265
  const cache = new StoreKeyMap();
2822
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
3266
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
2823
3267
  return cache;
2824
3268
  });
2825
3269
  }, (response) => {
@@ -2829,16 +3273,16 @@ function buildNetworkSnapshot$2(luvio, config, options) {
2829
3273
  }
2830
3274
  const rejectDataCleanRoomInvitationAdapterFactory = (luvio) => {
2831
3275
  return function rejectDataCleanRoomInvitation(untrustedConfig) {
2832
- const config = validateAdapterConfig$2(untrustedConfig, rejectDataCleanRoomInvitation_ConfigPropertyNames);
3276
+ const config = validateAdapterConfig$3(untrustedConfig, rejectDataCleanRoomInvitation_ConfigPropertyNames);
2833
3277
  // Invalid or incomplete config
2834
3278
  if (config === null) {
2835
3279
  throw new Error('Invalid config for "rejectDataCleanRoomInvitation"');
2836
3280
  }
2837
- return buildNetworkSnapshot$2(luvio, config);
3281
+ return buildNetworkSnapshot$3(luvio, config);
2838
3282
  };
2839
3283
  };
2840
3284
 
2841
- const VERSION$1 = "a9f0b009de72ece59b856eea14e4af5c";
3285
+ const VERSION$1 = "c88ad589b064cbc75394ed69083e8f5f";
2842
3286
  function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2843
3287
  const v_error = (() => {
2844
3288
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2854,7 +3298,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2854
3298
  if (obj.createdBy !== undefined) {
2855
3299
  const obj_createdBy = obj.createdBy;
2856
3300
  const path_createdBy = path + '.createdBy';
2857
- const referencepath_createdByValidationError = validate$g(obj_createdBy, path_createdBy);
3301
+ const referencepath_createdByValidationError = validate$r(obj_createdBy, path_createdBy);
2858
3302
  if (referencepath_createdByValidationError !== null) {
2859
3303
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
2860
3304
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2882,6 +3326,13 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2882
3326
  return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
2883
3327
  }
2884
3328
  }
3329
+ if (obj.executedBy !== undefined) {
3330
+ const obj_executedBy = obj.executedBy;
3331
+ const path_executedBy = path + '.executedBy';
3332
+ if (typeof obj_executedBy !== 'string') {
3333
+ return new TypeError('Expected "string" but received "' + typeof obj_executedBy + '" (at "' + path_executedBy + '")');
3334
+ }
3335
+ }
2885
3336
  const obj_id = obj.id;
2886
3337
  const path_id = path + '.id';
2887
3338
  if (typeof obj_id !== 'string') {
@@ -2897,7 +3348,7 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2897
3348
  if (obj.lastModifiedBy !== undefined) {
2898
3349
  const obj_lastModifiedBy = obj.lastModifiedBy;
2899
3350
  const path_lastModifiedBy = path + '.lastModifiedBy';
2900
- const referencepath_lastModifiedByValidationError = validate$g(obj_lastModifiedBy, path_lastModifiedBy);
3351
+ const referencepath_lastModifiedByValidationError = validate$r(obj_lastModifiedBy, path_lastModifiedBy);
2901
3352
  if (referencepath_lastModifiedByValidationError !== null) {
2902
3353
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2903
3354
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2918,11 +3369,32 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2918
3369
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2919
3370
  }
2920
3371
  }
2921
- if (obj.result !== undefined) {
2922
- const obj_result = obj.result;
2923
- const path_result = path + '.result';
2924
- if (typeof obj_result !== 'number' || (typeof obj_result === 'number' && Math.floor(obj_result) !== obj_result)) {
2925
- return new TypeError('Expected "integer" but received "' + typeof obj_result + '" (at "' + path_result + '")');
3372
+ if (obj.outputDMOName !== undefined) {
3373
+ const obj_outputDMOName = obj.outputDMOName;
3374
+ const path_outputDMOName = path + '.outputDMOName';
3375
+ if (typeof obj_outputDMOName !== 'string') {
3376
+ return new TypeError('Expected "string" but received "' + typeof obj_outputDMOName + '" (at "' + path_outputDMOName + '")');
3377
+ }
3378
+ }
3379
+ if (obj.queryParam !== undefined) {
3380
+ const obj_queryParam = obj.queryParam;
3381
+ const path_queryParam = path + '.queryParam';
3382
+ if (obj_queryParam === undefined) {
3383
+ return new TypeError('Expected "defined" but received "' + typeof obj_queryParam + '" (at "' + path_queryParam + '")');
3384
+ }
3385
+ }
3386
+ if (obj.reportId !== undefined) {
3387
+ const obj_reportId = obj.reportId;
3388
+ const path_reportId = path + '.reportId';
3389
+ if (typeof obj_reportId !== 'string') {
3390
+ return new TypeError('Expected "string" but received "' + typeof obj_reportId + '" (at "' + path_reportId + '")');
3391
+ }
3392
+ }
3393
+ if (obj.reportName !== undefined) {
3394
+ const obj_reportName = obj.reportName;
3395
+ const path_reportName = path + '.reportName';
3396
+ if (typeof obj_reportName !== 'string') {
3397
+ return new TypeError('Expected "string" but received "' + typeof obj_reportName + '" (at "' + path_reportName + '")');
2926
3398
  }
2927
3399
  }
2928
3400
  if (obj.segmentNames !== undefined) {
@@ -2955,19 +3427,19 @@ function validate$1(obj, path = 'DataCleanRoomQueryJobRepresentation') {
2955
3427
  return v_error === undefined ? null : v_error;
2956
3428
  }
2957
3429
  const RepresentationType$1 = 'DataCleanRoomQueryJobRepresentation';
2958
- function keyBuilder$2(luvio, config) {
3430
+ function keyBuilder$4(luvio, config) {
2959
3431
  return keyPrefix + '::' + RepresentationType$1 + ':' + config.id;
2960
3432
  }
2961
3433
  function keyBuilderFromType(luvio, object) {
2962
3434
  const keyParams = {
2963
3435
  id: object.id
2964
3436
  };
2965
- return keyBuilder$2(luvio, keyParams);
3437
+ return keyBuilder$4(luvio, keyParams);
2966
3438
  }
2967
3439
  function normalize$1(input, existing, path, luvio, store, timestamp) {
2968
3440
  return input;
2969
3441
  }
2970
- const select$3 = function DataCleanRoomQueryJobRepresentationSelect() {
3442
+ const select$4 = function DataCleanRoomQueryJobRepresentationSelect() {
2971
3443
  return {
2972
3444
  kind: 'Fragment',
2973
3445
  version: VERSION$1,
@@ -3003,19 +3475,19 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
3003
3475
  });
3004
3476
  }
3005
3477
 
3006
- function select$2(luvio, params) {
3007
- return select$3();
3478
+ function select$3(luvio, params) {
3479
+ return select$4();
3008
3480
  }
3009
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
3481
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
3010
3482
  getTypeCacheKeys$1(storeKeyMap, luvio, response);
3011
3483
  }
3012
- function ingestSuccess$1(luvio, resourceParams, response) {
3484
+ function ingestSuccess$2(luvio, resourceParams, response) {
3013
3485
  const { body } = response;
3014
3486
  const key = keyBuilderFromType(luvio, body);
3015
3487
  luvio.storeIngest(key, ingest$1, body);
3016
3488
  const snapshot = luvio.storeLookup({
3017
3489
  recordId: key,
3018
- node: select$2(),
3490
+ node: select$3(),
3019
3491
  variables: {},
3020
3492
  });
3021
3493
  if (process.env.NODE_ENV !== 'production') {
@@ -3026,7 +3498,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
3026
3498
  deepFreeze(snapshot.data);
3027
3499
  return snapshot;
3028
3500
  }
3029
- function createResourceRequest$1(config) {
3501
+ function createResourceRequest$2(config) {
3030
3502
  const headers = {};
3031
3503
  return {
3032
3504
  baseUri: '/services/data/v66.0',
@@ -3040,43 +3512,46 @@ function createResourceRequest$1(config) {
3040
3512
  };
3041
3513
  }
3042
3514
 
3043
- const adapterName$1 = 'executeDataCleanRoomQuery';
3515
+ const adapterName$2 = 'executeDataCleanRoomQuery';
3044
3516
  const executeDataCleanRoomQuery_ConfigPropertyMetadata = [
3045
3517
  generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3046
3518
  generateParamConfigMetadata('queryExecutionName', true, 2 /* Body */, 0 /* String */),
3047
3519
  generateParamConfigMetadata('segmentIds', true, 2 /* Body */, 0 /* String */, true),
3520
+ generateParamConfigMetadata('queryParameters', false, 2 /* Body */, 4 /* Unsupported */),
3048
3521
  ];
3049
- const executeDataCleanRoomQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, executeDataCleanRoomQuery_ConfigPropertyMetadata);
3050
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$b(executeDataCleanRoomQuery_ConfigPropertyMetadata);
3051
- function typeCheckConfig$1(untrustedConfig) {
3522
+ const executeDataCleanRoomQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, executeDataCleanRoomQuery_ConfigPropertyMetadata);
3523
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(executeDataCleanRoomQuery_ConfigPropertyMetadata);
3524
+ function typeCheckConfig$2(untrustedConfig) {
3052
3525
  const config = {};
3053
- typeCheckConfig$b(untrustedConfig, config, executeDataCleanRoomQuery_ConfigPropertyMetadata);
3526
+ typeCheckConfig$c(untrustedConfig, config, executeDataCleanRoomQuery_ConfigPropertyMetadata);
3527
+ const untrustedConfig_queryParameters = untrustedConfig.queryParameters;
3528
+ config.queryParameters = untrustedConfig_queryParameters;
3054
3529
  return config;
3055
3530
  }
3056
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
3531
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
3057
3532
  if (!untrustedIsObject(untrustedConfig)) {
3058
3533
  return null;
3059
3534
  }
3060
3535
  if (process.env.NODE_ENV !== 'production') {
3061
3536
  validateConfig(untrustedConfig, configPropertyNames);
3062
3537
  }
3063
- const config = typeCheckConfig$1(untrustedConfig);
3538
+ const config = typeCheckConfig$2(untrustedConfig);
3064
3539
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3065
3540
  return null;
3066
3541
  }
3067
3542
  return config;
3068
3543
  }
3069
- function buildNetworkSnapshot$1(luvio, config, options) {
3070
- const resourceParams = createResourceParams$1(config);
3071
- const request = createResourceRequest$1(resourceParams);
3544
+ function buildNetworkSnapshot$2(luvio, config, options) {
3545
+ const resourceParams = createResourceParams$2(config);
3546
+ const request = createResourceRequest$2(resourceParams);
3072
3547
  return luvio.dispatchResourceRequest(request, options)
3073
3548
  .then((response) => {
3074
3549
  return luvio.handleSuccessResponse(() => {
3075
- const snapshot = ingestSuccess$1(luvio, resourceParams, response);
3550
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response);
3076
3551
  return luvio.storeBroadcast().then(() => snapshot);
3077
3552
  }, () => {
3078
3553
  const cache = new StoreKeyMap();
3079
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
3554
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
3080
3555
  return cache;
3081
3556
  });
3082
3557
  }, (response) => {
@@ -3086,12 +3561,12 @@ function buildNetworkSnapshot$1(luvio, config, options) {
3086
3561
  }
3087
3562
  const executeDataCleanRoomQueryAdapterFactory = (luvio) => {
3088
3563
  return function executeDataCleanRoomQuery(untrustedConfig) {
3089
- const config = validateAdapterConfig$1(untrustedConfig, executeDataCleanRoomQuery_ConfigPropertyNames);
3564
+ const config = validateAdapterConfig$2(untrustedConfig, executeDataCleanRoomQuery_ConfigPropertyNames);
3090
3565
  // Invalid or incomplete config
3091
3566
  if (config === null) {
3092
3567
  throw new Error('Invalid config for "executeDataCleanRoomQuery"');
3093
3568
  }
3094
- return buildNetworkSnapshot$1(luvio, config);
3569
+ return buildNetworkSnapshot$2(luvio, config);
3095
3570
  };
3096
3571
  };
3097
3572
 
@@ -3175,7 +3650,7 @@ const RepresentationType = 'DataCleanRoomQueryJobHistoryCollectionRepresentation
3175
3650
  function normalize(input, existing, path, luvio, store, timestamp) {
3176
3651
  return input;
3177
3652
  }
3178
- const select$1 = function DataCleanRoomQueryJobHistoryCollectionRepresentationSelect() {
3653
+ const select$2 = function DataCleanRoomQueryJobHistoryCollectionRepresentationSelect() {
3179
3654
  return {
3180
3655
  kind: 'Fragment',
3181
3656
  version: VERSION,
@@ -3211,19 +3686,155 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
3211
3686
  });
3212
3687
  }
3213
3688
 
3214
- function select(luvio, params) {
3689
+ function select$1(luvio, params) {
3690
+ return select$2();
3691
+ }
3692
+ function keyBuilder$3(luvio, params) {
3693
+ return keyPrefix + '::DataCleanRoomQueryJobHistoryCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'filters:' + params.queryParams.filters + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'collaborationIdOrApiName:' + params.urlParams.collaborationIdOrApiName + ')';
3694
+ }
3695
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
3696
+ getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
3697
+ }
3698
+ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
3699
+ const { body } = response;
3700
+ const key = keyBuilder$3(luvio, resourceParams);
3701
+ luvio.storeIngest(key, ingest, body);
3702
+ const snapshot = luvio.storeLookup({
3703
+ recordId: key,
3704
+ node: select$1(),
3705
+ variables: {},
3706
+ }, snapshotRefresh);
3707
+ if (process.env.NODE_ENV !== 'production') {
3708
+ if (snapshot.state !== 'Fulfilled') {
3709
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3710
+ }
3711
+ }
3712
+ deepFreeze(snapshot.data);
3713
+ return snapshot;
3714
+ }
3715
+ function ingestError$1(luvio, params, error, snapshotRefresh) {
3716
+ const key = keyBuilder$3(luvio, params);
3717
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3718
+ luvio.storeIngestError(key, errorSnapshot);
3719
+ return errorSnapshot;
3720
+ }
3721
+ function createResourceRequest$1(config) {
3722
+ const headers = {};
3723
+ return {
3724
+ baseUri: '/services/data/v66.0',
3725
+ basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/jobs',
3726
+ method: 'get',
3727
+ body: null,
3728
+ urlParams: config.urlParams,
3729
+ queryParams: config.queryParams,
3730
+ headers,
3731
+ priority: 'normal',
3732
+ };
3733
+ }
3734
+
3735
+ const adapterName$1 = 'getAllDataCleanRoomQueryPaginated';
3736
+ const getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata = [
3737
+ generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3738
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
3739
+ generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
3740
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
3741
+ generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
3742
+ ];
3743
+ const getAllDataCleanRoomQueryPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
3744
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
3745
+ function keyBuilder$2(luvio, config) {
3746
+ const resourceParams = createResourceParams$1(config);
3747
+ return keyBuilder$3(luvio, resourceParams);
3748
+ }
3749
+ function typeCheckConfig$1(untrustedConfig) {
3750
+ const config = {};
3751
+ typeCheckConfig$c(untrustedConfig, config, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
3752
+ return config;
3753
+ }
3754
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
3755
+ if (!untrustedIsObject(untrustedConfig)) {
3756
+ return null;
3757
+ }
3758
+ if (process.env.NODE_ENV !== 'production') {
3759
+ validateConfig(untrustedConfig, configPropertyNames);
3760
+ }
3761
+ const config = typeCheckConfig$1(untrustedConfig);
3762
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
3763
+ return null;
3764
+ }
3765
+ return config;
3766
+ }
3767
+ function adapterFragment$1(luvio, config) {
3768
+ createResourceParams$1(config);
3215
3769
  return select$1();
3216
3770
  }
3771
+ function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
3772
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
3773
+ config,
3774
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
3775
+ });
3776
+ return luvio.storeBroadcast().then(() => snapshot);
3777
+ }
3778
+ function onFetchResponseError$1(luvio, config, resourceParams, response) {
3779
+ const snapshot = ingestError$1(luvio, resourceParams, response, {
3780
+ config,
3781
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
3782
+ });
3783
+ return luvio.storeBroadcast().then(() => snapshot);
3784
+ }
3785
+ function buildNetworkSnapshot$1(luvio, config, options) {
3786
+ const resourceParams = createResourceParams$1(config);
3787
+ const request = createResourceRequest$1(resourceParams);
3788
+ return luvio.dispatchResourceRequest(request, options)
3789
+ .then((response) => {
3790
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
3791
+ const cache = new StoreKeyMap();
3792
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
3793
+ return cache;
3794
+ });
3795
+ }, (response) => {
3796
+ return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
3797
+ });
3798
+ }
3799
+ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
3800
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
3801
+ }
3802
+ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
3803
+ const { luvio, config } = context;
3804
+ const selector = {
3805
+ recordId: keyBuilder$2(luvio, config),
3806
+ node: adapterFragment$1(luvio, config),
3807
+ variables: {},
3808
+ };
3809
+ const cacheSnapshot = storeLookup(selector, {
3810
+ config,
3811
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
3812
+ });
3813
+ return cacheSnapshot;
3814
+ }
3815
+ const getAllDataCleanRoomQueryPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomQueryPaginated(untrustedConfig, requestContext) {
3816
+ const config = validateAdapterConfig$1(untrustedConfig, getAllDataCleanRoomQueryPaginated_ConfigPropertyNames);
3817
+ // Invalid or incomplete config
3818
+ if (config === null) {
3819
+ return null;
3820
+ }
3821
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3822
+ buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
3823
+ };
3824
+
3825
+ function select(luvio, params) {
3826
+ return select$8();
3827
+ }
3217
3828
  function keyBuilder$1(luvio, params) {
3218
- return keyPrefix + '::DataCleanRoomQueryJobHistoryCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'filters:' + params.queryParams.filters + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'collaborationIdOrApiName:' + params.urlParams.collaborationIdOrApiName + ')';
3829
+ return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'providerIdOrName:' + params.urlParams.providerIdOrName + ')';
3219
3830
  }
3220
3831
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
3221
- getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
3832
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
3222
3833
  }
3223
3834
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
3224
3835
  const { body } = response;
3225
3836
  const key = keyBuilder$1(luvio, resourceParams);
3226
- luvio.storeIngest(key, ingest, body);
3837
+ luvio.storeIngest(key, ingest$2, body);
3227
3838
  const snapshot = luvio.storeLookup({
3228
3839
  recordId: key,
3229
3840
  node: select(),
@@ -3247,7 +3858,7 @@ function createResourceRequest(config) {
3247
3858
  const headers = {};
3248
3859
  return {
3249
3860
  baseUri: '/services/data/v66.0',
3250
- basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/jobs',
3861
+ basePath: '/ssot/data-clean-room/providers/' + config.urlParams.providerIdOrName + '/templates',
3251
3862
  method: 'get',
3252
3863
  body: null,
3253
3864
  urlParams: config.urlParams,
@@ -3257,23 +3868,23 @@ function createResourceRequest(config) {
3257
3868
  };
3258
3869
  }
3259
3870
 
3260
- const adapterName = 'getAllDataCleanRoomQueryPaginated';
3261
- const getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata = [
3262
- generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3263
- generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
3871
+ const adapterName = 'getDataCleanRoomTemplatesByProviderIdPaginated';
3872
+ const getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata = [
3873
+ generateParamConfigMetadata('providerIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
3264
3874
  generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
3875
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
3265
3876
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
3266
3877
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
3267
3878
  ];
3268
- const getAllDataCleanRoomQueryPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
3269
- const createResourceParams = /*#__PURE__*/ createResourceParams$b(getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
3879
+ const getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata);
3880
+ const createResourceParams = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata);
3270
3881
  function keyBuilder(luvio, config) {
3271
3882
  const resourceParams = createResourceParams(config);
3272
3883
  return keyBuilder$1(luvio, resourceParams);
3273
3884
  }
3274
3885
  function typeCheckConfig(untrustedConfig) {
3275
3886
  const config = {};
3276
- typeCheckConfig$b(untrustedConfig, config, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
3887
+ typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata);
3277
3888
  return config;
3278
3889
  }
3279
3890
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -3322,7 +3933,7 @@ function buildNetworkSnapshot(luvio, config, options) {
3322
3933
  });
3323
3934
  }
3324
3935
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
3325
- return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
3936
+ return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
3326
3937
  }
3327
3938
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
3328
3939
  const { luvio, config } = context;
@@ -3337,8 +3948,8 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
3337
3948
  });
3338
3949
  return cacheSnapshot;
3339
3950
  }
3340
- const getAllDataCleanRoomQueryPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomQueryPaginated(untrustedConfig, requestContext) {
3341
- const config = validateAdapterConfig(untrustedConfig, getAllDataCleanRoomQueryPaginated_ConfigPropertyNames);
3951
+ const getDataCleanRoomTemplatesByProviderIdPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomTemplatesByProviderIdPaginated(untrustedConfig, requestContext) {
3952
+ const config = validateAdapterConfig(untrustedConfig, getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyNames);
3342
3953
  // Invalid or incomplete config
3343
3954
  if (config === null) {
3344
3955
  return null;
@@ -3347,4 +3958,4 @@ const getAllDataCleanRoomQueryPaginatedAdapterFactory = (luvio) => function data
3347
3958
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
3348
3959
  };
3349
3960
 
3350
- export { acceptDataCleanRoomInvitationAdapterFactory, createDataCleanRoomCollaborationAdapterFactory, createDataCleanRoomSpecificationAdapterFactory, createProviderAdapterFactory, executeDataCleanRoomQueryAdapterFactory, getAllDataCleanRoomQueryPaginatedAdapterFactory, getAllDataCleanRoomsPaginatedAdapterFactory, getDataCleanRoomProvidersPaginatedAdapterFactory, getDataCleanRoomSpecificationsPaginatedAdapterFactory, getDataCleanRoomTemplatePaginatedAdapterFactory, rejectDataCleanRoomInvitationAdapterFactory };
3961
+ export { acceptDataCleanRoomInvitationAdapterFactory, createDataCleanRoomCollaborationAdapterFactory, createDataCleanRoomSpecificationAdapterFactory, createProviderAdapterFactory, executeDataCleanRoomQueryAdapterFactory, getAllDataCleanRoomQueryPaginatedAdapterFactory, getAllDataCleanRoomsPaginatedAdapterFactory, getDataCleanRoomProvidersPaginatedAdapterFactory, getDataCleanRoomSpecificationsPaginatedAdapterFactory, getDataCleanRoomTemplatePaginatedAdapterFactory, getDataCleanRoomTemplatesByProviderIdPaginatedAdapterFactory, rejectDataCleanRoomInvitationAdapterFactory };