@salesforce/lds-adapters-cdp-data-clean-room 1.354.0-dev6 → 1.354.0-dev8

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 (23) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +1008 -464
  2. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -1
  4. package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +17 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getAllDataCleanRoomQueryPaginated.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
  8. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomJobsByCollaborationIdOrApiName.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomActionsRunByCollaborationIdOrApiName.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -1
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +4 -1
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +3 -3
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +3 -3
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobHistoryCollectionRepresentation.d.ts +44 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +31 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +77 -0
  18. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeFilterOptionRepresentation.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeRepresentation.d.ts +4 -1
  20. package/package.json +3 -3
  21. package/sfdc/index.js +891 -333
  22. package/src/raml/api.raml +149 -4
  23. package/src/raml/luvio.raml +14 -0
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$9, typeCheckConfig as typeCheckConfig$9, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$b, typeCheckConfig as typeCheckConfig$b, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$5 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,8 +102,8 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- const VERSION$7 = "60e6b0a7bcb30c169435125696ac47b1";
106
- function validate$d(obj, path = 'DataCleanRoomMemberRepresentation') {
105
+ const VERSION$9 = "60e6b0a7bcb30c169435125696ac47b1";
106
+ function validate$g(obj, path = 'DataCleanRoomMemberRepresentation') {
107
107
  const v_error = (() => {
108
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -153,68 +153,68 @@ function validate$d(obj, path = 'DataCleanRoomMemberRepresentation') {
153
153
  })();
154
154
  return v_error === undefined ? null : v_error;
155
155
  }
156
- const RepresentationType$7 = 'DataCleanRoomMemberRepresentation';
157
- function keyBuilder$b(luvio, config) {
158
- return keyPrefix + '::' + RepresentationType$7 + ':' + config.invitationId;
156
+ const RepresentationType$9 = 'DataCleanRoomMemberRepresentation';
157
+ function keyBuilder$e(luvio, config) {
158
+ return keyPrefix + '::' + RepresentationType$9 + ':' + config.invitationId;
159
159
  }
160
- function keyBuilderFromType$3(luvio, object) {
160
+ function keyBuilderFromType$4(luvio, object) {
161
161
  const keyParams = {
162
162
  invitationId: object.invitationId
163
163
  };
164
- return keyBuilder$b(luvio, keyParams);
164
+ return keyBuilder$e(luvio, keyParams);
165
165
  }
166
- function normalize$7(input, existing, path, luvio, store, timestamp) {
166
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
167
167
  return input;
168
168
  }
169
- const select$g = function DataCleanRoomMemberRepresentationSelect() {
169
+ const select$k = function DataCleanRoomMemberRepresentationSelect() {
170
170
  return {
171
171
  kind: 'Fragment',
172
- version: VERSION$7,
172
+ version: VERSION$9,
173
173
  private: [],
174
174
  opaque: true
175
175
  };
176
176
  };
177
- function equals$7(existing, incoming) {
177
+ function equals$9(existing, incoming) {
178
178
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
179
179
  return false;
180
180
  }
181
181
  return true;
182
182
  }
183
- const ingest$7 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
183
+ const ingest$9 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
184
184
  if (process.env.NODE_ENV !== 'production') {
185
- const validateError = validate$d(input);
185
+ const validateError = validate$g(input);
186
186
  if (validateError !== null) {
187
187
  throw validateError;
188
188
  }
189
189
  }
190
- const key = keyBuilderFromType$3(luvio, input);
190
+ const key = keyBuilderFromType$4(luvio, input);
191
191
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
192
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "data-clean-room", VERSION$7, RepresentationType$7, equals$7);
192
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "data-clean-room", VERSION$9, RepresentationType$9, equals$9);
193
193
  return createLink(key);
194
194
  };
195
- function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
195
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
196
196
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
197
- const rootKey = keyBuilderFromType$3(luvio, input);
197
+ const rootKey = keyBuilderFromType$4(luvio, input);
198
198
  rootKeySet.set(rootKey, {
199
199
  namespace: keyPrefix,
200
- representationName: RepresentationType$7,
200
+ representationName: RepresentationType$9,
201
201
  mergeable: false
202
202
  });
203
203
  }
204
204
 
205
- function select$f(luvio, params) {
206
- return select$g();
205
+ function select$j(luvio, params) {
206
+ return select$k();
207
207
  }
208
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
209
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
208
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
209
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
210
210
  }
211
- function ingestSuccess$8(luvio, resourceParams, response) {
211
+ function ingestSuccess$a(luvio, resourceParams, response) {
212
212
  const { body } = response;
213
- const key = keyBuilderFromType$3(luvio, body);
214
- luvio.storeIngest(key, ingest$7, body);
213
+ const key = keyBuilderFromType$4(luvio, body);
214
+ luvio.storeIngest(key, ingest$9, body);
215
215
  const snapshot = luvio.storeLookup({
216
216
  recordId: key,
217
- node: select$f(),
217
+ node: select$j(),
218
218
  variables: {},
219
219
  });
220
220
  if (process.env.NODE_ENV !== 'production') {
@@ -225,10 +225,10 @@ function ingestSuccess$8(luvio, resourceParams, response) {
225
225
  deepFreeze(snapshot.data);
226
226
  return snapshot;
227
227
  }
228
- function createResourceRequest$8(config) {
228
+ function createResourceRequest$a(config) {
229
229
  const headers = {};
230
230
  return {
231
- baseUri: '/services/data/v63.0',
231
+ baseUri: '/services/data/v64.0',
232
232
  basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/accept-invitation',
233
233
  method: 'put',
234
234
  body: config.body,
@@ -239,43 +239,43 @@ function createResourceRequest$8(config) {
239
239
  };
240
240
  }
241
241
 
242
- const adapterName$8 = 'acceptDataCleanRoomInvitation';
242
+ const adapterName$a = 'acceptDataCleanRoomInvitation';
243
243
  const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
244
244
  generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
245
245
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
246
246
  generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
247
247
  ];
248
- const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
249
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$9(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
250
- function typeCheckConfig$8(untrustedConfig) {
248
+ const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
249
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$b(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
250
+ function typeCheckConfig$a(untrustedConfig) {
251
251
  const config = {};
252
- typeCheckConfig$9(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
252
+ typeCheckConfig$b(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
253
253
  return config;
254
254
  }
255
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
255
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
256
256
  if (!untrustedIsObject(untrustedConfig)) {
257
257
  return null;
258
258
  }
259
259
  if (process.env.NODE_ENV !== 'production') {
260
260
  validateConfig(untrustedConfig, configPropertyNames);
261
261
  }
262
- const config = typeCheckConfig$8(untrustedConfig);
262
+ const config = typeCheckConfig$a(untrustedConfig);
263
263
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
264
264
  return null;
265
265
  }
266
266
  return config;
267
267
  }
268
- function buildNetworkSnapshot$8(luvio, config, options) {
269
- const resourceParams = createResourceParams$8(config);
270
- const request = createResourceRequest$8(resourceParams);
268
+ function buildNetworkSnapshot$a(luvio, config, options) {
269
+ const resourceParams = createResourceParams$a(config);
270
+ const request = createResourceRequest$a(resourceParams);
271
271
  return luvio.dispatchResourceRequest(request, options)
272
272
  .then((response) => {
273
273
  return luvio.handleSuccessResponse(() => {
274
- const snapshot = ingestSuccess$8(luvio, resourceParams, response);
274
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
275
275
  return luvio.storeBroadcast().then(() => snapshot);
276
276
  }, () => {
277
277
  const cache = new StoreKeyMap();
278
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
278
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
279
279
  return cache;
280
280
  });
281
281
  }, (response) => {
@@ -285,16 +285,16 @@ function buildNetworkSnapshot$8(luvio, config, options) {
285
285
  }
286
286
  const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
287
287
  return function acceptDataCleanRoomInvitation(untrustedConfig) {
288
- const config = validateAdapterConfig$8(untrustedConfig, acceptDataCleanRoomInvitation_ConfigPropertyNames);
288
+ const config = validateAdapterConfig$a(untrustedConfig, acceptDataCleanRoomInvitation_ConfigPropertyNames);
289
289
  // Invalid or incomplete config
290
290
  if (config === null) {
291
291
  throw new Error('Invalid config for "acceptDataCleanRoomInvitation"');
292
292
  }
293
- return buildNetworkSnapshot$8(luvio, config);
293
+ return buildNetworkSnapshot$a(luvio, config);
294
294
  };
295
295
  };
296
296
 
297
- function validate$c(obj, path = 'CdpUserRepresentation') {
297
+ function validate$f(obj, path = 'CdpUserRepresentation') {
298
298
  const v_error = (() => {
299
299
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
300
300
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -324,7 +324,7 @@ function validate$c(obj, path = 'CdpUserRepresentation') {
324
324
  return v_error === undefined ? null : v_error;
325
325
  }
326
326
 
327
- function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
327
+ function validate$e(obj, path = 'DataCleanRoomTemplateRepresentation') {
328
328
  const v_error = (() => {
329
329
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
330
330
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -337,7 +337,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
337
337
  if (obj.createdBy !== undefined) {
338
338
  const obj_createdBy = obj.createdBy;
339
339
  const path_createdBy = path + '.createdBy';
340
- const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
340
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
341
341
  if (referencepath_createdByValidationError !== null) {
342
342
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
343
343
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -373,7 +373,7 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
373
373
  if (obj.lastModifiedBy !== undefined) {
374
374
  const obj_lastModifiedBy = obj.lastModifiedBy;
375
375
  const path_lastModifiedBy = path + '.lastModifiedBy';
376
- const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
376
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
377
377
  if (referencepath_lastModifiedByValidationError !== null) {
378
378
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
379
379
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -417,8 +417,8 @@ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
417
417
  return v_error === undefined ? null : v_error;
418
418
  }
419
419
 
420
- const VERSION$6 = "11bd9b71debcc363b339183bc8d65735";
421
- function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
420
+ const VERSION$8 = "11bd9b71debcc363b339183bc8d65735";
421
+ function validate$d(obj, path = 'DataCleanRoomCollaborationRepresentation') {
422
422
  const v_error = (() => {
423
423
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
424
424
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -433,7 +433,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
433
433
  if (obj.createdBy !== undefined) {
434
434
  const obj_createdBy = obj.createdBy;
435
435
  const path_createdBy = path + '.createdBy';
436
- const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
436
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
437
437
  if (referencepath_createdByValidationError !== null) {
438
438
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
439
439
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -476,7 +476,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
476
476
  if (obj.lastModifiedBy !== undefined) {
477
477
  const obj_lastModifiedBy = obj.lastModifiedBy;
478
478
  const path_lastModifiedBy = path + '.lastModifiedBy';
479
- const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
479
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
480
480
  if (referencepath_lastModifiedByValidationError !== null) {
481
481
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
482
482
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -498,7 +498,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
498
498
  for (let i = 0; i < obj_members.length; i++) {
499
499
  const obj_members_item = obj_members[i];
500
500
  const path_members_item = path_members + '[' + i + ']';
501
- const referencepath_members_itemValidationError = validate$d(obj_members_item, path_members_item);
501
+ const referencepath_members_itemValidationError = validate$g(obj_members_item, path_members_item);
502
502
  if (referencepath_members_itemValidationError !== null) {
503
503
  let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
504
504
  message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -526,7 +526,7 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
526
526
  }
527
527
  const obj_templateVersion = obj.templateVersion;
528
528
  const path_templateVersion = path + '.templateVersion';
529
- const referencepath_templateVersionValidationError = validate$b(obj_templateVersion, path_templateVersion);
529
+ const referencepath_templateVersionValidationError = validate$e(obj_templateVersion, path_templateVersion);
530
530
  if (referencepath_templateVersionValidationError !== null) {
531
531
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
532
532
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -542,68 +542,68 @@ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
542
542
  })();
543
543
  return v_error === undefined ? null : v_error;
544
544
  }
545
- const RepresentationType$6 = 'DataCleanRoomCollaborationRepresentation';
546
- function keyBuilder$a(luvio, config) {
547
- return keyPrefix + '::' + RepresentationType$6 + ':' + config.id;
545
+ const RepresentationType$8 = 'DataCleanRoomCollaborationRepresentation';
546
+ function keyBuilder$d(luvio, config) {
547
+ return keyPrefix + '::' + RepresentationType$8 + ':' + config.id;
548
548
  }
549
- function keyBuilderFromType$2(luvio, object) {
549
+ function keyBuilderFromType$3(luvio, object) {
550
550
  const keyParams = {
551
551
  id: object.id
552
552
  };
553
- return keyBuilder$a(luvio, keyParams);
553
+ return keyBuilder$d(luvio, keyParams);
554
554
  }
555
- function normalize$6(input, existing, path, luvio, store, timestamp) {
555
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
556
556
  return input;
557
557
  }
558
- const select$e = function DataCleanRoomCollaborationRepresentationSelect() {
558
+ const select$i = function DataCleanRoomCollaborationRepresentationSelect() {
559
559
  return {
560
560
  kind: 'Fragment',
561
- version: VERSION$6,
561
+ version: VERSION$8,
562
562
  private: [],
563
563
  opaque: true
564
564
  };
565
565
  };
566
- function equals$6(existing, incoming) {
566
+ function equals$8(existing, incoming) {
567
567
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
568
568
  return false;
569
569
  }
570
570
  return true;
571
571
  }
572
- const ingest$6 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
572
+ const ingest$8 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
573
573
  if (process.env.NODE_ENV !== 'production') {
574
- const validateError = validate$a(input);
574
+ const validateError = validate$d(input);
575
575
  if (validateError !== null) {
576
576
  throw validateError;
577
577
  }
578
578
  }
579
- const key = keyBuilderFromType$2(luvio, input);
579
+ const key = keyBuilderFromType$3(luvio, input);
580
580
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
581
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-clean-room", VERSION$6, RepresentationType$6, equals$6);
581
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "data-clean-room", VERSION$8, RepresentationType$8, equals$8);
582
582
  return createLink(key);
583
583
  };
584
- function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
584
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
585
585
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
586
- const rootKey = keyBuilderFromType$2(luvio, input);
586
+ const rootKey = keyBuilderFromType$3(luvio, input);
587
587
  rootKeySet.set(rootKey, {
588
588
  namespace: keyPrefix,
589
- representationName: RepresentationType$6,
589
+ representationName: RepresentationType$8,
590
590
  mergeable: false
591
591
  });
592
592
  }
593
593
 
594
- function select$d(luvio, params) {
595
- return select$e();
594
+ function select$h(luvio, params) {
595
+ return select$i();
596
596
  }
597
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
598
- getTypeCacheKeys$6(storeKeyMap, luvio, response);
597
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
598
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
599
599
  }
600
- function ingestSuccess$7(luvio, resourceParams, response) {
600
+ function ingestSuccess$9(luvio, resourceParams, response) {
601
601
  const { body } = response;
602
- const key = keyBuilderFromType$2(luvio, body);
603
- luvio.storeIngest(key, ingest$6, body);
602
+ const key = keyBuilderFromType$3(luvio, body);
603
+ luvio.storeIngest(key, ingest$8, body);
604
604
  const snapshot = luvio.storeLookup({
605
605
  recordId: key,
606
- node: select$d(),
606
+ node: select$h(),
607
607
  variables: {},
608
608
  });
609
609
  if (process.env.NODE_ENV !== 'production') {
@@ -614,10 +614,10 @@ function ingestSuccess$7(luvio, resourceParams, response) {
614
614
  deepFreeze(snapshot.data);
615
615
  return snapshot;
616
616
  }
617
- function createResourceRequest$7(config) {
617
+ function createResourceRequest$9(config) {
618
618
  const headers = {};
619
619
  return {
620
- baseUri: '/services/data/v63.0',
620
+ baseUri: '/services/data/v64.0',
621
621
  basePath: '/ssot/data-clean-room/collaborations',
622
622
  method: 'post',
623
623
  body: config.body,
@@ -628,7 +628,7 @@ function createResourceRequest$7(config) {
628
628
  };
629
629
  }
630
630
 
631
- const adapterName$7 = 'createDataCleanRoomCollaboration';
631
+ const adapterName$9 = 'createDataCleanRoomCollaboration';
632
632
  const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
633
633
  generateParamConfigMetadata('apiKey', false, 2 /* Body */, 0 /* String */),
634
634
  generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
@@ -637,38 +637,39 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
637
637
  generateParamConfigMetadata('specificationDevName', true, 2 /* Body */, 0 /* String */),
638
638
  generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
639
639
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
640
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
640
641
  ];
641
- const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
642
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
643
- function typeCheckConfig$7(untrustedConfig) {
642
+ const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
643
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$b(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
644
+ function typeCheckConfig$9(untrustedConfig) {
644
645
  const config = {};
645
- typeCheckConfig$9(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
646
+ typeCheckConfig$b(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
646
647
  return config;
647
648
  }
648
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
649
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
649
650
  if (!untrustedIsObject(untrustedConfig)) {
650
651
  return null;
651
652
  }
652
653
  if (process.env.NODE_ENV !== 'production') {
653
654
  validateConfig(untrustedConfig, configPropertyNames);
654
655
  }
655
- const config = typeCheckConfig$7(untrustedConfig);
656
+ const config = typeCheckConfig$9(untrustedConfig);
656
657
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
657
658
  return null;
658
659
  }
659
660
  return config;
660
661
  }
661
- function buildNetworkSnapshot$7(luvio, config, options) {
662
- const resourceParams = createResourceParams$7(config);
663
- const request = createResourceRequest$7(resourceParams);
662
+ function buildNetworkSnapshot$9(luvio, config, options) {
663
+ const resourceParams = createResourceParams$9(config);
664
+ const request = createResourceRequest$9(resourceParams);
664
665
  return luvio.dispatchResourceRequest(request, options)
665
666
  .then((response) => {
666
667
  return luvio.handleSuccessResponse(() => {
667
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
668
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
668
669
  return luvio.storeBroadcast().then(() => snapshot);
669
670
  }, () => {
670
671
  const cache = new StoreKeyMap();
671
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
672
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
672
673
  return cache;
673
674
  });
674
675
  }, (response) => {
@@ -678,16 +679,42 @@ function buildNetworkSnapshot$7(luvio, config, options) {
678
679
  }
679
680
  const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
680
681
  return function createDataCleanRoomCollaboration(untrustedConfig) {
681
- const config = validateAdapterConfig$7(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
682
+ const config = validateAdapterConfig$9(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
682
683
  // Invalid or incomplete config
683
684
  if (config === null) {
684
685
  throw new Error('Invalid config for "createDataCleanRoomCollaboration"');
685
686
  }
686
- return buildNetworkSnapshot$7(luvio, config);
687
+ return buildNetworkSnapshot$9(luvio, config);
687
688
  };
688
689
  };
689
690
 
690
- function validate$9(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
691
+ function validate$c(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
692
+ const v_error = (() => {
693
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
694
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
695
+ }
696
+ const obj_operator = obj.operator;
697
+ const path_operator = path + '.operator';
698
+ if (typeof obj_operator !== 'string') {
699
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
700
+ }
701
+ const obj_values = obj.values;
702
+ const path_values = path + '.values';
703
+ if (!ArrayIsArray(obj_values)) {
704
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
705
+ }
706
+ for (let i = 0; i < obj_values.length; i++) {
707
+ const obj_values_item = obj_values[i];
708
+ const path_values_item = path_values + '[' + i + ']';
709
+ if (typeof obj_values_item !== 'string') {
710
+ return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
711
+ }
712
+ }
713
+ })();
714
+ return v_error === undefined ? null : v_error;
715
+ }
716
+
717
+ function validate$b(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
691
718
  const v_error = (() => {
692
719
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
693
720
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -706,7 +733,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
706
733
  return v_error === undefined ? null : v_error;
707
734
  }
708
735
 
709
- function validate$8(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
736
+ function validate$a(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
710
737
  const v_error = (() => {
711
738
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
712
739
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -735,7 +762,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
735
762
  return v_error === undefined ? null : v_error;
736
763
  }
737
764
 
738
- function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
765
+ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
739
766
  const v_error = (() => {
740
767
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
741
768
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -755,7 +782,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
755
782
  if (obj.createdBy !== undefined) {
756
783
  const obj_createdBy = obj.createdBy;
757
784
  const path_createdBy = path + '.createdBy';
758
- const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
785
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
759
786
  if (referencepath_createdByValidationError !== null) {
760
787
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
761
788
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -772,13 +799,23 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
772
799
  if (obj.dataMapping !== undefined) {
773
800
  const obj_dataMapping = obj.dataMapping;
774
801
  const path_dataMapping = path + '.dataMapping';
775
- const referencepath_dataMappingValidationError = validate$6(obj_dataMapping, path_dataMapping);
802
+ const referencepath_dataMappingValidationError = validate$8(obj_dataMapping, path_dataMapping);
776
803
  if (referencepath_dataMappingValidationError !== null) {
777
804
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
778
805
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
779
806
  return new TypeError(message);
780
807
  }
781
808
  }
809
+ if (obj.filterOptions !== undefined) {
810
+ const obj_filterOptions = obj.filterOptions;
811
+ const path_filterOptions = path + '.filterOptions';
812
+ const referencepath_filterOptionsValidationError = validate$c(obj_filterOptions, path_filterOptions);
813
+ if (referencepath_filterOptionsValidationError !== null) {
814
+ let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
815
+ message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
816
+ return new TypeError(message);
817
+ }
818
+ }
782
819
  if (obj.id !== undefined) {
783
820
  const obj_id = obj.id;
784
821
  const path_id = path + '.id';
@@ -796,7 +833,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
796
833
  if (obj.lastModifiedBy !== undefined) {
797
834
  const obj_lastModifiedBy = obj.lastModifiedBy;
798
835
  const path_lastModifiedBy = path + '.lastModifiedBy';
799
- const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
836
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
800
837
  if (referencepath_lastModifiedByValidationError !== null) {
801
838
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
802
839
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -832,7 +869,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
832
869
  for (let i = 0; i < obj_path.length; i++) {
833
870
  const obj_path_item = obj_path[i];
834
871
  const path_path_item = path_path + '[' + i + ']';
835
- const referencepath_path_itemValidationError = validate$9(obj_path_item, path_path_item);
872
+ const referencepath_path_itemValidationError = validate$b(obj_path_item, path_path_item);
836
873
  if (referencepath_path_itemValidationError !== null) {
837
874
  let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
838
875
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -841,7 +878,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
841
878
  }
842
879
  const obj_subjectAttribute = obj.subjectAttribute;
843
880
  const path_subjectAttribute = path + '.subjectAttribute';
844
- const referencepath_subjectAttributeValidationError = validate$8(obj_subjectAttribute, path_subjectAttribute);
881
+ const referencepath_subjectAttributeValidationError = validate$a(obj_subjectAttribute, path_subjectAttribute);
845
882
  if (referencepath_subjectAttributeValidationError !== null) {
846
883
  let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
847
884
  message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -858,7 +895,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
858
895
  return v_error === undefined ? null : v_error;
859
896
  }
860
897
 
861
- function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
898
+ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
862
899
  const v_error = (() => {
863
900
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
864
901
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -871,7 +908,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
871
908
  for (let i = 0; i < obj_attributes.length; i++) {
872
909
  const obj_attributes_item = obj_attributes[i];
873
910
  const path_attributes_item = path_attributes + '[' + i + ']';
874
- const referencepath_attributes_itemValidationError = validate$7(obj_attributes_item, path_attributes_item);
911
+ const referencepath_attributes_itemValidationError = validate$9(obj_attributes_item, path_attributes_item);
875
912
  if (referencepath_attributes_itemValidationError !== null) {
876
913
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
877
914
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -886,7 +923,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
886
923
  if (obj.createdBy !== undefined) {
887
924
  const obj_createdBy = obj.createdBy;
888
925
  const path_createdBy = path + '.createdBy';
889
- const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
926
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
890
927
  if (referencepath_createdByValidationError !== null) {
891
928
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
892
929
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -917,7 +954,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
917
954
  if (obj.lastModifiedBy !== undefined) {
918
955
  const obj_lastModifiedBy = obj.lastModifiedBy;
919
956
  const path_lastModifiedBy = path + '.lastModifiedBy';
920
- const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
957
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
921
958
  if (referencepath_lastModifiedByValidationError !== null) {
922
959
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
923
960
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -956,8 +993,8 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
956
993
  return v_error === undefined ? null : v_error;
957
994
  }
958
995
 
959
- const VERSION$5 = "422829d0bdee7c37a92811d97b2c7c2b";
960
- function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
996
+ const VERSION$7 = "f502169b0ec369d5e3e577700c8835b6";
997
+ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
961
998
  const v_error = (() => {
962
999
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
963
1000
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -965,7 +1002,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
965
1002
  if (obj.createdBy !== undefined) {
966
1003
  const obj_createdBy = obj.createdBy;
967
1004
  const path_createdBy = path + '.createdBy';
968
- const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
1005
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
969
1006
  if (referencepath_createdByValidationError !== null) {
970
1007
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
971
1008
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -981,7 +1018,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
981
1018
  }
982
1019
  const obj_dataMapping = obj.dataMapping;
983
1020
  const path_dataMapping = path + '.dataMapping';
984
- const referencepath_dataMappingValidationError = validate$6(obj_dataMapping, path_dataMapping);
1021
+ const referencepath_dataMappingValidationError = validate$8(obj_dataMapping, path_dataMapping);
985
1022
  if (referencepath_dataMappingValidationError !== null) {
986
1023
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
987
1024
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -992,10 +1029,12 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
992
1029
  if (typeof obj_dataSpaceName !== 'string') {
993
1030
  return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceName + '" (at "' + path_dataSpaceName + '")');
994
1031
  }
995
- const obj_description = obj.description;
996
- const path_description = path + '.description';
997
- if (typeof obj_description !== 'string') {
998
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1032
+ if (obj.description !== undefined) {
1033
+ const obj_description = obj.description;
1034
+ const path_description = path + '.description';
1035
+ if (typeof obj_description !== 'string') {
1036
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1037
+ }
999
1038
  }
1000
1039
  const obj_id = obj.id;
1001
1040
  const path_id = path + '.id';
@@ -1012,7 +1051,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1012
1051
  if (obj.lastModifiedBy !== undefined) {
1013
1052
  const obj_lastModifiedBy = obj.lastModifiedBy;
1014
1053
  const path_lastModifiedBy = path + '.lastModifiedBy';
1015
- const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
1054
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
1016
1055
  if (referencepath_lastModifiedByValidationError !== null) {
1017
1056
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1018
1057
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1038,18 +1077,537 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1038
1077
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1039
1078
  }
1040
1079
  }
1041
- if (obj.namespace !== undefined) {
1042
- const obj_namespace = obj.namespace;
1043
- const path_namespace = path + '.namespace';
1044
- if (typeof obj_namespace !== 'string') {
1045
- return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1080
+ if (obj.namespace !== undefined) {
1081
+ const obj_namespace = obj.namespace;
1082
+ const path_namespace = path + '.namespace';
1083
+ if (typeof obj_namespace !== 'string') {
1084
+ return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1085
+ }
1086
+ }
1087
+ if (obj.ownerOrgId !== undefined) {
1088
+ const obj_ownerOrgId = obj.ownerOrgId;
1089
+ const path_ownerOrgId = path + '.ownerOrgId';
1090
+ if (typeof obj_ownerOrgId !== 'string') {
1091
+ return new TypeError('Expected "string" but received "' + typeof obj_ownerOrgId + '" (at "' + path_ownerOrgId + '")');
1092
+ }
1093
+ }
1094
+ const obj_status = obj.status;
1095
+ const path_status = path + '.status';
1096
+ if (typeof obj_status !== 'string') {
1097
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1098
+ }
1099
+ const obj_templateName = obj.templateName;
1100
+ const path_templateName = path + '.templateName';
1101
+ if (typeof obj_templateName !== 'string') {
1102
+ return new TypeError('Expected "string" but received "' + typeof obj_templateName + '" (at "' + path_templateName + '")');
1103
+ }
1104
+ if (obj.url !== undefined) {
1105
+ const obj_url = obj.url;
1106
+ const path_url = path + '.url';
1107
+ if (typeof obj_url !== 'string') {
1108
+ return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1109
+ }
1110
+ }
1111
+ })();
1112
+ return v_error === undefined ? null : v_error;
1113
+ }
1114
+ const RepresentationType$7 = 'DataCleanRoomDataSpecificationRepresentation';
1115
+ function keyBuilder$c(luvio, config) {
1116
+ return keyPrefix + '::' + RepresentationType$7 + ':' + config.id;
1117
+ }
1118
+ function keyBuilderFromType$2(luvio, object) {
1119
+ const keyParams = {
1120
+ id: object.id
1121
+ };
1122
+ return keyBuilder$c(luvio, keyParams);
1123
+ }
1124
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
1125
+ return input;
1126
+ }
1127
+ const select$g = function DataCleanRoomDataSpecificationRepresentationSelect() {
1128
+ return {
1129
+ kind: 'Fragment',
1130
+ version: VERSION$7,
1131
+ private: [],
1132
+ opaque: true
1133
+ };
1134
+ };
1135
+ function equals$7(existing, incoming) {
1136
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1137
+ return false;
1138
+ }
1139
+ return true;
1140
+ }
1141
+ const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1142
+ if (process.env.NODE_ENV !== 'production') {
1143
+ const validateError = validate$7(input);
1144
+ if (validateError !== null) {
1145
+ throw validateError;
1146
+ }
1147
+ }
1148
+ const key = keyBuilderFromType$2(luvio, input);
1149
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1150
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "data-clean-room", VERSION$7, RepresentationType$7, equals$7);
1151
+ return createLink(key);
1152
+ };
1153
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
1154
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1155
+ const rootKey = keyBuilderFromType$2(luvio, input);
1156
+ rootKeySet.set(rootKey, {
1157
+ namespace: keyPrefix,
1158
+ representationName: RepresentationType$7,
1159
+ mergeable: false
1160
+ });
1161
+ }
1162
+
1163
+ function select$f(luvio, params) {
1164
+ return select$g();
1165
+ }
1166
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
1167
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
1168
+ }
1169
+ function ingestSuccess$8(luvio, resourceParams, response) {
1170
+ const { body } = response;
1171
+ const key = keyBuilderFromType$2(luvio, body);
1172
+ luvio.storeIngest(key, ingest$7, body);
1173
+ const snapshot = luvio.storeLookup({
1174
+ recordId: key,
1175
+ node: select$f(),
1176
+ variables: {},
1177
+ });
1178
+ if (process.env.NODE_ENV !== 'production') {
1179
+ if (snapshot.state !== 'Fulfilled') {
1180
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1181
+ }
1182
+ }
1183
+ deepFreeze(snapshot.data);
1184
+ return snapshot;
1185
+ }
1186
+ function createResourceRequest$8(config) {
1187
+ const headers = {};
1188
+ return {
1189
+ baseUri: '/services/data/v64.0',
1190
+ basePath: '/ssot/data-clean-room/specifications',
1191
+ method: 'post',
1192
+ body: config.body,
1193
+ urlParams: {},
1194
+ queryParams: {},
1195
+ headers,
1196
+ priority: 'normal',
1197
+ };
1198
+ }
1199
+
1200
+ const adapterName$8 = 'createDataCleanRoomSpecification';
1201
+ const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
1202
+ generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */),
1203
+ generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
1204
+ generateParamConfigMetadata('ownerOrgId', true, 2 /* Body */, 0 /* String */),
1205
+ generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
1206
+ generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1207
+ generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1208
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1209
+ generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1210
+ ];
1211
+ const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1212
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$b(createDataCleanRoomSpecification_ConfigPropertyMetadata);
1213
+ function typeCheckConfig$8(untrustedConfig) {
1214
+ const config = {};
1215
+ typeCheckConfig$b(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1216
+ const untrustedConfig_dataMapping = untrustedConfig.dataMapping;
1217
+ config.dataMapping = untrustedConfig_dataMapping;
1218
+ return config;
1219
+ }
1220
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
1221
+ if (!untrustedIsObject(untrustedConfig)) {
1222
+ return null;
1223
+ }
1224
+ if (process.env.NODE_ENV !== 'production') {
1225
+ validateConfig(untrustedConfig, configPropertyNames);
1226
+ }
1227
+ const config = typeCheckConfig$8(untrustedConfig);
1228
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1229
+ return null;
1230
+ }
1231
+ return config;
1232
+ }
1233
+ function buildNetworkSnapshot$8(luvio, config, options) {
1234
+ const resourceParams = createResourceParams$8(config);
1235
+ const request = createResourceRequest$8(resourceParams);
1236
+ return luvio.dispatchResourceRequest(request, options)
1237
+ .then((response) => {
1238
+ return luvio.handleSuccessResponse(() => {
1239
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
1240
+ return luvio.storeBroadcast().then(() => snapshot);
1241
+ }, () => {
1242
+ const cache = new StoreKeyMap();
1243
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
1244
+ return cache;
1245
+ });
1246
+ }, (response) => {
1247
+ deepFreeze(response);
1248
+ throw response;
1249
+ });
1250
+ }
1251
+ const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1252
+ return function createDataCleanRoomSpecification(untrustedConfig) {
1253
+ const config = validateAdapterConfig$8(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
1254
+ // Invalid or incomplete config
1255
+ if (config === null) {
1256
+ throw new Error('Invalid config for "createDataCleanRoomSpecification"');
1257
+ }
1258
+ return buildNetworkSnapshot$8(luvio, config);
1259
+ };
1260
+ };
1261
+
1262
+ const VERSION$6 = "929b1bcf37fe62f914c2364146a0f5e6";
1263
+ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
1264
+ const v_error = (() => {
1265
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1266
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1267
+ }
1268
+ if (obj.createdBy !== undefined) {
1269
+ const obj_createdBy = obj.createdBy;
1270
+ const path_createdBy = path + '.createdBy';
1271
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
1272
+ if (referencepath_createdByValidationError !== null) {
1273
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1274
+ message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1275
+ return new TypeError(message);
1276
+ }
1277
+ }
1278
+ if (obj.createdDate !== undefined) {
1279
+ const obj_createdDate = obj.createdDate;
1280
+ const path_createdDate = path + '.createdDate';
1281
+ if (typeof obj_createdDate !== 'string') {
1282
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1283
+ }
1284
+ }
1285
+ const obj_dataCloudOrgId = obj.dataCloudOrgId;
1286
+ const path_dataCloudOrgId = path + '.dataCloudOrgId';
1287
+ if (typeof obj_dataCloudOrgId !== 'string') {
1288
+ return new TypeError('Expected "string" but received "' + typeof obj_dataCloudOrgId + '" (at "' + path_dataCloudOrgId + '")');
1289
+ }
1290
+ const obj_description = obj.description;
1291
+ const path_description = path + '.description';
1292
+ if (typeof obj_description !== 'string') {
1293
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1294
+ }
1295
+ const obj_id = obj.id;
1296
+ const path_id = path + '.id';
1297
+ if (typeof obj_id !== 'string') {
1298
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1299
+ }
1300
+ if (obj.label !== undefined) {
1301
+ const obj_label = obj.label;
1302
+ const path_label = path + '.label';
1303
+ if (typeof obj_label !== 'string') {
1304
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1305
+ }
1306
+ }
1307
+ if (obj.lastModifiedBy !== undefined) {
1308
+ const obj_lastModifiedBy = obj.lastModifiedBy;
1309
+ const path_lastModifiedBy = path + '.lastModifiedBy';
1310
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
1311
+ if (referencepath_lastModifiedByValidationError !== null) {
1312
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1313
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1314
+ return new TypeError(message);
1315
+ }
1316
+ }
1317
+ if (obj.lastModifiedDate !== undefined) {
1318
+ const obj_lastModifiedDate = obj.lastModifiedDate;
1319
+ const path_lastModifiedDate = path + '.lastModifiedDate';
1320
+ if (typeof obj_lastModifiedDate !== 'string') {
1321
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1322
+ }
1323
+ }
1324
+ if (obj.logoUrl !== undefined) {
1325
+ const obj_logoUrl = obj.logoUrl;
1326
+ const path_logoUrl = path + '.logoUrl';
1327
+ if (typeof obj_logoUrl !== 'string') {
1328
+ return new TypeError('Expected "string" but received "' + typeof obj_logoUrl + '" (at "' + path_logoUrl + '")');
1329
+ }
1330
+ }
1331
+ if (obj.name !== undefined) {
1332
+ const obj_name = obj.name;
1333
+ const path_name = path + '.name';
1334
+ if (typeof obj_name !== 'string') {
1335
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1336
+ }
1337
+ }
1338
+ if (obj.namespace !== undefined) {
1339
+ const obj_namespace = obj.namespace;
1340
+ const path_namespace = path + '.namespace';
1341
+ if (typeof obj_namespace !== 'string') {
1342
+ return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1343
+ }
1344
+ }
1345
+ const obj_templateNames = obj.templateNames;
1346
+ const path_templateNames = path + '.templateNames';
1347
+ if (!ArrayIsArray(obj_templateNames)) {
1348
+ return new TypeError('Expected "array" but received "' + typeof obj_templateNames + '" (at "' + path_templateNames + '")');
1349
+ }
1350
+ for (let i = 0; i < obj_templateNames.length; i++) {
1351
+ const obj_templateNames_item = obj_templateNames[i];
1352
+ const path_templateNames_item = path_templateNames + '[' + i + ']';
1353
+ if (typeof obj_templateNames_item !== 'string') {
1354
+ return new TypeError('Expected "string" but received "' + typeof obj_templateNames_item + '" (at "' + path_templateNames_item + '")');
1355
+ }
1356
+ }
1357
+ if (obj.url !== undefined) {
1358
+ const obj_url = obj.url;
1359
+ const path_url = path + '.url';
1360
+ if (typeof obj_url !== 'string') {
1361
+ return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1362
+ }
1363
+ }
1364
+ })();
1365
+ return v_error === undefined ? null : v_error;
1366
+ }
1367
+ const RepresentationType$6 = 'DataCleanRoomProviderRepresentation';
1368
+ function keyBuilder$b(luvio, config) {
1369
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.id;
1370
+ }
1371
+ function keyBuilderFromType$1(luvio, object) {
1372
+ const keyParams = {
1373
+ id: object.id
1374
+ };
1375
+ return keyBuilder$b(luvio, keyParams);
1376
+ }
1377
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
1378
+ return input;
1379
+ }
1380
+ const select$e = function DataCleanRoomProviderRepresentationSelect() {
1381
+ return {
1382
+ kind: 'Fragment',
1383
+ version: VERSION$6,
1384
+ private: [],
1385
+ opaque: true
1386
+ };
1387
+ };
1388
+ function equals$6(existing, incoming) {
1389
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1390
+ return false;
1391
+ }
1392
+ return true;
1393
+ }
1394
+ const ingest$6 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
1395
+ if (process.env.NODE_ENV !== 'production') {
1396
+ const validateError = validate$6(input);
1397
+ if (validateError !== null) {
1398
+ throw validateError;
1399
+ }
1400
+ }
1401
+ const key = keyBuilderFromType$1(luvio, input);
1402
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1403
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-clean-room", VERSION$6, RepresentationType$6, equals$6);
1404
+ return createLink(key);
1405
+ };
1406
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1407
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1408
+ const rootKey = keyBuilderFromType$1(luvio, input);
1409
+ rootKeySet.set(rootKey, {
1410
+ namespace: keyPrefix,
1411
+ representationName: RepresentationType$6,
1412
+ mergeable: false
1413
+ });
1414
+ }
1415
+
1416
+ function select$d(luvio, params) {
1417
+ return select$e();
1418
+ }
1419
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
1420
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
1421
+ }
1422
+ function ingestSuccess$7(luvio, resourceParams, response) {
1423
+ const { body } = response;
1424
+ const key = keyBuilderFromType$1(luvio, body);
1425
+ luvio.storeIngest(key, ingest$6, body);
1426
+ const snapshot = luvio.storeLookup({
1427
+ recordId: key,
1428
+ node: select$d(),
1429
+ variables: {},
1430
+ });
1431
+ if (process.env.NODE_ENV !== 'production') {
1432
+ if (snapshot.state !== 'Fulfilled') {
1433
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1434
+ }
1435
+ }
1436
+ deepFreeze(snapshot.data);
1437
+ return snapshot;
1438
+ }
1439
+ function createResourceRequest$7(config) {
1440
+ const headers = {};
1441
+ return {
1442
+ baseUri: '/services/data/v64.0',
1443
+ basePath: '/ssot/data-clean-room/providers',
1444
+ method: 'post',
1445
+ body: config.body,
1446
+ urlParams: {},
1447
+ queryParams: {},
1448
+ headers,
1449
+ priority: 'normal',
1450
+ };
1451
+ }
1452
+
1453
+ const adapterName$7 = 'createProvider';
1454
+ const createProvider_ConfigPropertyMetadata = [
1455
+ generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1456
+ generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
1457
+ generateParamConfigMetadata('templateNames', true, 2 /* Body */, 0 /* String */, true),
1458
+ generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
1459
+ generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1460
+ generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1461
+ generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
1462
+ ];
1463
+ const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createProvider_ConfigPropertyMetadata);
1464
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$b(createProvider_ConfigPropertyMetadata);
1465
+ function typeCheckConfig$7(untrustedConfig) {
1466
+ const config = {};
1467
+ typeCheckConfig$b(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1468
+ return config;
1469
+ }
1470
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
1471
+ if (!untrustedIsObject(untrustedConfig)) {
1472
+ return null;
1473
+ }
1474
+ if (process.env.NODE_ENV !== 'production') {
1475
+ validateConfig(untrustedConfig, configPropertyNames);
1476
+ }
1477
+ const config = typeCheckConfig$7(untrustedConfig);
1478
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1479
+ return null;
1480
+ }
1481
+ return config;
1482
+ }
1483
+ function buildNetworkSnapshot$7(luvio, config, options) {
1484
+ const resourceParams = createResourceParams$7(config);
1485
+ const request = createResourceRequest$7(resourceParams);
1486
+ return luvio.dispatchResourceRequest(request, options)
1487
+ .then((response) => {
1488
+ return luvio.handleSuccessResponse(() => {
1489
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response);
1490
+ return luvio.storeBroadcast().then(() => snapshot);
1491
+ }, () => {
1492
+ const cache = new StoreKeyMap();
1493
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
1494
+ return cache;
1495
+ });
1496
+ }, (response) => {
1497
+ deepFreeze(response);
1498
+ throw response;
1499
+ });
1500
+ }
1501
+ const createProviderAdapterFactory = (luvio) => {
1502
+ return function createProvider(untrustedConfig) {
1503
+ const config = validateAdapterConfig$7(untrustedConfig, createProvider_ConfigPropertyNames);
1504
+ // Invalid or incomplete config
1505
+ if (config === null) {
1506
+ throw new Error('Invalid config for "createProvider"');
1507
+ }
1508
+ return buildNetworkSnapshot$7(luvio, config);
1509
+ };
1510
+ };
1511
+
1512
+ const VERSION$5 = "a9f0b009de72ece59b856eea14e4af5c";
1513
+ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
1514
+ const v_error = (() => {
1515
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1516
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1517
+ }
1518
+ if (obj.completedDate !== undefined) {
1519
+ const obj_completedDate = obj.completedDate;
1520
+ const path_completedDate = path + '.completedDate';
1521
+ if (typeof obj_completedDate !== 'string') {
1522
+ return new TypeError('Expected "string" but received "' + typeof obj_completedDate + '" (at "' + path_completedDate + '")');
1523
+ }
1524
+ }
1525
+ if (obj.createdBy !== undefined) {
1526
+ const obj_createdBy = obj.createdBy;
1527
+ const path_createdBy = path + '.createdBy';
1528
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
1529
+ if (referencepath_createdByValidationError !== null) {
1530
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1531
+ message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1532
+ return new TypeError(message);
1533
+ }
1534
+ }
1535
+ if (obj.createdDate !== undefined) {
1536
+ const obj_createdDate = obj.createdDate;
1537
+ const path_createdDate = path + '.createdDate';
1538
+ if (typeof obj_createdDate !== 'string') {
1539
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1540
+ }
1541
+ }
1542
+ if (obj.errorCode !== undefined) {
1543
+ const obj_errorCode = obj.errorCode;
1544
+ const path_errorCode = path + '.errorCode';
1545
+ if (typeof obj_errorCode !== 'string') {
1546
+ return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
1547
+ }
1548
+ }
1549
+ if (obj.errorMessage !== undefined) {
1550
+ const obj_errorMessage = obj.errorMessage;
1551
+ const path_errorMessage = path + '.errorMessage';
1552
+ if (typeof obj_errorMessage !== 'string') {
1553
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
1554
+ }
1555
+ }
1556
+ const obj_id = obj.id;
1557
+ const path_id = path + '.id';
1558
+ if (typeof obj_id !== 'string') {
1559
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1560
+ }
1561
+ if (obj.label !== undefined) {
1562
+ const obj_label = obj.label;
1563
+ const path_label = path + '.label';
1564
+ if (typeof obj_label !== 'string') {
1565
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1566
+ }
1567
+ }
1568
+ if (obj.lastModifiedBy !== undefined) {
1569
+ const obj_lastModifiedBy = obj.lastModifiedBy;
1570
+ const path_lastModifiedBy = path + '.lastModifiedBy';
1571
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
1572
+ if (referencepath_lastModifiedByValidationError !== null) {
1573
+ let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1574
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1575
+ return new TypeError(message);
1576
+ }
1577
+ }
1578
+ if (obj.lastModifiedDate !== undefined) {
1579
+ const obj_lastModifiedDate = obj.lastModifiedDate;
1580
+ const path_lastModifiedDate = path + '.lastModifiedDate';
1581
+ if (typeof obj_lastModifiedDate !== 'string') {
1582
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1583
+ }
1584
+ }
1585
+ if (obj.name !== undefined) {
1586
+ const obj_name = obj.name;
1587
+ const path_name = path + '.name';
1588
+ if (typeof obj_name !== 'string') {
1589
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1590
+ }
1591
+ }
1592
+ if (obj.result !== undefined) {
1593
+ const obj_result = obj.result;
1594
+ const path_result = path + '.result';
1595
+ if (typeof obj_result !== 'number' || (typeof obj_result === 'number' && Math.floor(obj_result) !== obj_result)) {
1596
+ return new TypeError('Expected "integer" but received "' + typeof obj_result + '" (at "' + path_result + '")');
1046
1597
  }
1047
1598
  }
1048
- if (obj.ownerOrgId !== undefined) {
1049
- const obj_ownerOrgId = obj.ownerOrgId;
1050
- const path_ownerOrgId = path + '.ownerOrgId';
1051
- if (typeof obj_ownerOrgId !== 'string') {
1052
- return new TypeError('Expected "string" but received "' + typeof obj_ownerOrgId + '" (at "' + path_ownerOrgId + '")');
1599
+ if (obj.segmentNames !== undefined) {
1600
+ const obj_segmentNames = obj.segmentNames;
1601
+ const path_segmentNames = path + '.segmentNames';
1602
+ if (!ArrayIsArray(obj_segmentNames)) {
1603
+ return new TypeError('Expected "array" but received "' + typeof obj_segmentNames + '" (at "' + path_segmentNames + '")');
1604
+ }
1605
+ for (let i = 0; i < obj_segmentNames.length; i++) {
1606
+ const obj_segmentNames_item = obj_segmentNames[i];
1607
+ const path_segmentNames_item = path_segmentNames + '[' + i + ']';
1608
+ if (typeof obj_segmentNames_item !== 'string') {
1609
+ return new TypeError('Expected "string" but received "' + typeof obj_segmentNames_item + '" (at "' + path_segmentNames_item + '")');
1610
+ }
1053
1611
  }
1054
1612
  }
1055
1613
  const obj_status = obj.status;
@@ -1057,35 +1615,30 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1057
1615
  if (typeof obj_status !== 'string') {
1058
1616
  return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1059
1617
  }
1060
- const obj_templateName = obj.templateName;
1061
- const path_templateName = path + '.templateName';
1062
- if (typeof obj_templateName !== 'string') {
1063
- return new TypeError('Expected "string" but received "' + typeof obj_templateName + '" (at "' + path_templateName + '")');
1064
- }
1065
- if (obj.url !== undefined) {
1066
- const obj_url = obj.url;
1067
- const path_url = path + '.url';
1068
- if (typeof obj_url !== 'string') {
1069
- return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1618
+ if (obj.triggeredDate !== undefined) {
1619
+ const obj_triggeredDate = obj.triggeredDate;
1620
+ const path_triggeredDate = path + '.triggeredDate';
1621
+ if (typeof obj_triggeredDate !== 'string') {
1622
+ return new TypeError('Expected "string" but received "' + typeof obj_triggeredDate + '" (at "' + path_triggeredDate + '")');
1070
1623
  }
1071
1624
  }
1072
1625
  })();
1073
1626
  return v_error === undefined ? null : v_error;
1074
1627
  }
1075
- const RepresentationType$5 = 'DataCleanRoomDataSpecificationRepresentation';
1076
- function keyBuilder$9(luvio, config) {
1628
+ const RepresentationType$5 = 'DataCleanRoomQueryJobRepresentation';
1629
+ function keyBuilder$a(luvio, config) {
1077
1630
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.id;
1078
1631
  }
1079
- function keyBuilderFromType$1(luvio, object) {
1632
+ function keyBuilderFromType(luvio, object) {
1080
1633
  const keyParams = {
1081
1634
  id: object.id
1082
1635
  };
1083
- return keyBuilder$9(luvio, keyParams);
1636
+ return keyBuilder$a(luvio, keyParams);
1084
1637
  }
1085
1638
  function normalize$5(input, existing, path, luvio, store, timestamp) {
1086
1639
  return input;
1087
1640
  }
1088
- const select$c = function DataCleanRoomDataSpecificationRepresentationSelect() {
1641
+ const select$c = function DataCleanRoomQueryJobRepresentationSelect() {
1089
1642
  return {
1090
1643
  kind: 'Fragment',
1091
1644
  version: VERSION$5,
@@ -1099,21 +1652,21 @@ function equals$5(existing, incoming) {
1099
1652
  }
1100
1653
  return true;
1101
1654
  }
1102
- const ingest$5 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1655
+ const ingest$5 = function DataCleanRoomQueryJobRepresentationIngest(input, path, luvio, store, timestamp) {
1103
1656
  if (process.env.NODE_ENV !== 'production') {
1104
1657
  const validateError = validate$5(input);
1105
1658
  if (validateError !== null) {
1106
1659
  throw validateError;
1107
1660
  }
1108
1661
  }
1109
- const key = keyBuilderFromType$1(luvio, input);
1662
+ const key = keyBuilderFromType(luvio, input);
1110
1663
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1111
1664
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-clean-room", VERSION$5, RepresentationType$5, equals$5);
1112
1665
  return createLink(key);
1113
1666
  };
1114
1667
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1115
1668
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1116
- const rootKey = keyBuilderFromType$1(luvio, input);
1669
+ const rootKey = keyBuilderFromType(luvio, input);
1117
1670
  rootKeySet.set(rootKey, {
1118
1671
  namespace: keyPrefix,
1119
1672
  representationName: RepresentationType$5,
@@ -1129,7 +1682,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1129
1682
  }
1130
1683
  function ingestSuccess$6(luvio, resourceParams, response) {
1131
1684
  const { body } = response;
1132
- const key = keyBuilderFromType$1(luvio, body);
1685
+ const key = keyBuilderFromType(luvio, body);
1133
1686
  luvio.storeIngest(key, ingest$5, body);
1134
1687
  const snapshot = luvio.storeLookup({
1135
1688
  recordId: key,
@@ -1147,35 +1700,28 @@ function ingestSuccess$6(luvio, resourceParams, response) {
1147
1700
  function createResourceRequest$6(config) {
1148
1701
  const headers = {};
1149
1702
  return {
1150
- baseUri: '/services/data/v63.0',
1151
- basePath: '/ssot/data-clean-room/specifications',
1703
+ baseUri: '/services/data/v64.0',
1704
+ basePath: '/ssot/data-clean-room/' + config.urlParams.collaborationIdOrApiName + '/actions/run',
1152
1705
  method: 'post',
1153
1706
  body: config.body,
1154
- urlParams: {},
1707
+ urlParams: config.urlParams,
1155
1708
  queryParams: {},
1156
1709
  headers,
1157
1710
  priority: 'normal',
1158
1711
  };
1159
1712
  }
1160
1713
 
1161
- const adapterName$6 = 'createDataCleanRoomSpecification';
1162
- const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
1163
- generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */),
1164
- generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
1165
- generateParamConfigMetadata('ownerOrgId', true, 2 /* Body */, 0 /* String */),
1166
- generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
1167
- generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1168
- generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1169
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
1170
- generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1714
+ const adapterName$6 = 'executeDataCleanRoomQuery';
1715
+ const executeDataCleanRoomQuery_ConfigPropertyMetadata = [
1716
+ generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
1717
+ generateParamConfigMetadata('queryExecutionName', true, 2 /* Body */, 0 /* String */),
1718
+ generateParamConfigMetadata('segmentIds', true, 2 /* Body */, 0 /* String */, true),
1171
1719
  ];
1172
- const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1173
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomSpecification_ConfigPropertyMetadata);
1720
+ const executeDataCleanRoomQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, executeDataCleanRoomQuery_ConfigPropertyMetadata);
1721
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$b(executeDataCleanRoomQuery_ConfigPropertyMetadata);
1174
1722
  function typeCheckConfig$6(untrustedConfig) {
1175
1723
  const config = {};
1176
- typeCheckConfig$9(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1177
- const untrustedConfig_dataMapping = untrustedConfig.dataMapping;
1178
- config.dataMapping = untrustedConfig_dataMapping;
1724
+ typeCheckConfig$b(untrustedConfig, config, executeDataCleanRoomQuery_ConfigPropertyMetadata);
1179
1725
  return config;
1180
1726
  }
1181
1727
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -1209,136 +1755,98 @@ function buildNetworkSnapshot$6(luvio, config, options) {
1209
1755
  throw response;
1210
1756
  });
1211
1757
  }
1212
- const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1213
- return function createDataCleanRoomSpecification(untrustedConfig) {
1214
- const config = validateAdapterConfig$6(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
1758
+ const executeDataCleanRoomQueryAdapterFactory = (luvio) => {
1759
+ return function executeDataCleanRoomQuery(untrustedConfig) {
1760
+ const config = validateAdapterConfig$6(untrustedConfig, executeDataCleanRoomQuery_ConfigPropertyNames);
1215
1761
  // Invalid or incomplete config
1216
1762
  if (config === null) {
1217
- throw new Error('Invalid config for "createDataCleanRoomSpecification"');
1763
+ throw new Error('Invalid config for "executeDataCleanRoomQuery"');
1218
1764
  }
1219
1765
  return buildNetworkSnapshot$6(luvio, config);
1220
1766
  };
1221
1767
  };
1222
1768
 
1223
- const VERSION$4 = "929b1bcf37fe62f914c2364146a0f5e6";
1224
- function validate$4(obj, path = 'DataCleanRoomProviderRepresentation') {
1769
+ const VERSION$4 = "7aaafdce5d4ed7457442ab5701329217";
1770
+ function validate$4(obj, path = 'DataCleanRoomQueryJobHistoryCollectionRepresentation') {
1225
1771
  const v_error = (() => {
1226
1772
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1227
1773
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1228
1774
  }
1229
- if (obj.createdBy !== undefined) {
1230
- const obj_createdBy = obj.createdBy;
1231
- const path_createdBy = path + '.createdBy';
1232
- const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
1233
- if (referencepath_createdByValidationError !== null) {
1234
- let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1235
- message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1236
- return new TypeError(message);
1237
- }
1238
- }
1239
- if (obj.createdDate !== undefined) {
1240
- const obj_createdDate = obj.createdDate;
1241
- const path_createdDate = path + '.createdDate';
1242
- if (typeof obj_createdDate !== 'string') {
1243
- return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1244
- }
1245
- }
1246
- const obj_dataCloudOrgId = obj.dataCloudOrgId;
1247
- const path_dataCloudOrgId = path + '.dataCloudOrgId';
1248
- if (typeof obj_dataCloudOrgId !== 'string') {
1249
- return new TypeError('Expected "string" but received "' + typeof obj_dataCloudOrgId + '" (at "' + path_dataCloudOrgId + '")');
1250
- }
1251
- const obj_description = obj.description;
1252
- const path_description = path + '.description';
1253
- if (typeof obj_description !== 'string') {
1254
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1255
- }
1256
- const obj_id = obj.id;
1257
- const path_id = path + '.id';
1258
- if (typeof obj_id !== 'string') {
1259
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1260
- }
1261
- if (obj.label !== undefined) {
1262
- const obj_label = obj.label;
1263
- const path_label = path + '.label';
1264
- if (typeof obj_label !== 'string') {
1265
- return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1266
- }
1267
- }
1268
- if (obj.lastModifiedBy !== undefined) {
1269
- const obj_lastModifiedBy = obj.lastModifiedBy;
1270
- const path_lastModifiedBy = path + '.lastModifiedBy';
1271
- const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
1272
- if (referencepath_lastModifiedByValidationError !== null) {
1273
- let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1274
- message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1275
- return new TypeError(message);
1775
+ if (obj.currentPageUrl !== undefined) {
1776
+ const obj_currentPageUrl = obj.currentPageUrl;
1777
+ const path_currentPageUrl = path + '.currentPageUrl';
1778
+ if (typeof obj_currentPageUrl !== 'string') {
1779
+ return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
1276
1780
  }
1277
1781
  }
1278
- if (obj.lastModifiedDate !== undefined) {
1279
- const obj_lastModifiedDate = obj.lastModifiedDate;
1280
- const path_lastModifiedDate = path + '.lastModifiedDate';
1281
- if (typeof obj_lastModifiedDate !== 'string') {
1282
- return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1283
- }
1782
+ const obj_limit = obj.limit;
1783
+ const path_limit = path + '.limit';
1784
+ if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
1785
+ return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
1284
1786
  }
1285
- if (obj.logoUrl !== undefined) {
1286
- const obj_logoUrl = obj.logoUrl;
1287
- const path_logoUrl = path + '.logoUrl';
1288
- if (typeof obj_logoUrl !== 'string') {
1289
- return new TypeError('Expected "string" but received "' + typeof obj_logoUrl + '" (at "' + path_logoUrl + '")');
1787
+ if (obj.nextPageUrl !== undefined) {
1788
+ const obj_nextPageUrl = obj.nextPageUrl;
1789
+ const path_nextPageUrl = path + '.nextPageUrl';
1790
+ let obj_nextPageUrl_union0 = null;
1791
+ const obj_nextPageUrl_union0_error = (() => {
1792
+ if (typeof obj_nextPageUrl !== 'string') {
1793
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1794
+ }
1795
+ })();
1796
+ if (obj_nextPageUrl_union0_error != null) {
1797
+ obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
1290
1798
  }
1291
- }
1292
- if (obj.name !== undefined) {
1293
- const obj_name = obj.name;
1294
- const path_name = path + '.name';
1295
- if (typeof obj_name !== 'string') {
1296
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1799
+ let obj_nextPageUrl_union1 = null;
1800
+ const obj_nextPageUrl_union1_error = (() => {
1801
+ if (obj_nextPageUrl !== null) {
1802
+ return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1803
+ }
1804
+ })();
1805
+ if (obj_nextPageUrl_union1_error != null) {
1806
+ obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
1297
1807
  }
1298
- }
1299
- if (obj.namespace !== undefined) {
1300
- const obj_namespace = obj.namespace;
1301
- const path_namespace = path + '.namespace';
1302
- if (typeof obj_namespace !== 'string') {
1303
- return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1808
+ if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
1809
+ let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
1810
+ message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
1811
+ message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
1812
+ return new TypeError(message);
1304
1813
  }
1305
1814
  }
1306
- const obj_templateNames = obj.templateNames;
1307
- const path_templateNames = path + '.templateNames';
1308
- if (!ArrayIsArray(obj_templateNames)) {
1309
- return new TypeError('Expected "array" but received "' + typeof obj_templateNames + '" (at "' + path_templateNames + '")');
1815
+ const obj_offset = obj.offset;
1816
+ const path_offset = path + '.offset';
1817
+ if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
1818
+ return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
1310
1819
  }
1311
- for (let i = 0; i < obj_templateNames.length; i++) {
1312
- const obj_templateNames_item = obj_templateNames[i];
1313
- const path_templateNames_item = path_templateNames + '[' + i + ']';
1314
- if (typeof obj_templateNames_item !== 'string') {
1315
- return new TypeError('Expected "string" but received "' + typeof obj_templateNames_item + '" (at "' + path_templateNames_item + '")');
1820
+ const obj_queryJobs = obj.queryJobs;
1821
+ const path_queryJobs = path + '.queryJobs';
1822
+ if (!ArrayIsArray(obj_queryJobs)) {
1823
+ return new TypeError('Expected "array" but received "' + typeof obj_queryJobs + '" (at "' + path_queryJobs + '")');
1824
+ }
1825
+ for (let i = 0; i < obj_queryJobs.length; i++) {
1826
+ const obj_queryJobs_item = obj_queryJobs[i];
1827
+ const path_queryJobs_item = path_queryJobs + '[' + i + ']';
1828
+ const referencepath_queryJobs_itemValidationError = validate$5(obj_queryJobs_item, path_queryJobs_item);
1829
+ if (referencepath_queryJobs_itemValidationError !== null) {
1830
+ let message = 'Object doesn\'t match DataCleanRoomQueryJobRepresentation (at "' + path_queryJobs_item + '")\n';
1831
+ message += referencepath_queryJobs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1832
+ return new TypeError(message);
1316
1833
  }
1317
1834
  }
1318
- if (obj.url !== undefined) {
1319
- const obj_url = obj.url;
1320
- const path_url = path + '.url';
1321
- if (typeof obj_url !== 'string') {
1322
- return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1835
+ if (obj.totalSize !== undefined) {
1836
+ const obj_totalSize = obj.totalSize;
1837
+ const path_totalSize = path + '.totalSize';
1838
+ if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
1839
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
1323
1840
  }
1324
1841
  }
1325
1842
  })();
1326
1843
  return v_error === undefined ? null : v_error;
1327
1844
  }
1328
- const RepresentationType$4 = 'DataCleanRoomProviderRepresentation';
1329
- function keyBuilder$8(luvio, config) {
1330
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
1331
- }
1332
- function keyBuilderFromType(luvio, object) {
1333
- const keyParams = {
1334
- id: object.id
1335
- };
1336
- return keyBuilder$8(luvio, keyParams);
1337
- }
1845
+ const RepresentationType$4 = 'DataCleanRoomQueryJobHistoryCollectionRepresentation';
1338
1846
  function normalize$4(input, existing, path, luvio, store, timestamp) {
1339
1847
  return input;
1340
1848
  }
1341
- const select$a = function DataCleanRoomProviderRepresentationSelect() {
1849
+ const select$a = function DataCleanRoomQueryJobHistoryCollectionRepresentationSelect() {
1342
1850
  return {
1343
1851
  kind: 'Fragment',
1344
1852
  version: VERSION$4,
@@ -1352,21 +1860,21 @@ function equals$4(existing, incoming) {
1352
1860
  }
1353
1861
  return true;
1354
1862
  }
1355
- const ingest$4 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
1863
+ const ingest$4 = function DataCleanRoomQueryJobHistoryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1356
1864
  if (process.env.NODE_ENV !== 'production') {
1357
1865
  const validateError = validate$4(input);
1358
1866
  if (validateError !== null) {
1359
1867
  throw validateError;
1360
1868
  }
1361
1869
  }
1362
- const key = keyBuilderFromType(luvio, input);
1870
+ const key = path.fullPath;
1363
1871
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1364
1872
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-clean-room", VERSION$4, RepresentationType$4, equals$4);
1365
1873
  return createLink(key);
1366
1874
  };
1367
1875
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1368
1876
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1369
- const rootKey = keyBuilderFromType(luvio, input);
1877
+ const rootKey = fullPathFactory();
1370
1878
  rootKeySet.set(rootKey, {
1371
1879
  namespace: keyPrefix,
1372
1880
  representationName: RepresentationType$4,
@@ -1377,18 +1885,21 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1377
1885
  function select$9(luvio, params) {
1378
1886
  return select$a();
1379
1887
  }
1888
+ function keyBuilder$9(luvio, params) {
1889
+ return keyPrefix + '::DataCleanRoomQueryJobHistoryCollectionRepresentation:(' + 'collaborationIdOrApiName:' + params.urlParams.collaborationIdOrApiName + ')';
1890
+ }
1380
1891
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1381
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
1892
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
1382
1893
  }
1383
- function ingestSuccess$5(luvio, resourceParams, response) {
1894
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1384
1895
  const { body } = response;
1385
- const key = keyBuilderFromType(luvio, body);
1896
+ const key = keyBuilder$9(luvio, resourceParams);
1386
1897
  luvio.storeIngest(key, ingest$4, body);
1387
1898
  const snapshot = luvio.storeLookup({
1388
1899
  recordId: key,
1389
1900
  node: select$9(),
1390
1901
  variables: {},
1391
- });
1902
+ }, snapshotRefresh);
1392
1903
  if (process.env.NODE_ENV !== 'production') {
1393
1904
  if (snapshot.state !== 'Fulfilled') {
1394
1905
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
@@ -1397,35 +1908,39 @@ function ingestSuccess$5(luvio, resourceParams, response) {
1397
1908
  deepFreeze(snapshot.data);
1398
1909
  return snapshot;
1399
1910
  }
1911
+ function ingestError$4(luvio, params, error, snapshotRefresh) {
1912
+ const key = keyBuilder$9(luvio, params);
1913
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1914
+ luvio.storeIngestError(key, errorSnapshot);
1915
+ return errorSnapshot;
1916
+ }
1400
1917
  function createResourceRequest$5(config) {
1401
1918
  const headers = {};
1402
1919
  return {
1403
- baseUri: '/services/data/v63.0',
1404
- basePath: '/ssot/data-clean-room/providers',
1405
- method: 'post',
1406
- body: config.body,
1407
- urlParams: {},
1920
+ baseUri: '/services/data/v64.0',
1921
+ basePath: '/ssot/data-clean-room/' + config.urlParams.collaborationIdOrApiName + '/jobs',
1922
+ method: 'get',
1923
+ body: null,
1924
+ urlParams: config.urlParams,
1408
1925
  queryParams: {},
1409
1926
  headers,
1410
1927
  priority: 'normal',
1411
1928
  };
1412
1929
  }
1413
1930
 
1414
- const adapterName$5 = 'createProvider';
1415
- const createProvider_ConfigPropertyMetadata = [
1416
- generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1417
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
1418
- generateParamConfigMetadata('templateNames', true, 2 /* Body */, 0 /* String */, true),
1419
- generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
1420
- generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1421
- generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1422
- generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
1931
+ const adapterName$5 = 'getAllDataCleanRoomQueryPaginated';
1932
+ const getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata = [
1933
+ generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
1423
1934
  ];
1424
- const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createProvider_ConfigPropertyMetadata);
1425
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$9(createProvider_ConfigPropertyMetadata);
1935
+ const getAllDataCleanRoomQueryPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
1936
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$b(getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
1937
+ function keyBuilder$8(luvio, config) {
1938
+ const resourceParams = createResourceParams$5(config);
1939
+ return keyBuilder$9(luvio, resourceParams);
1940
+ }
1426
1941
  function typeCheckConfig$5(untrustedConfig) {
1427
1942
  const config = {};
1428
- typeCheckConfig$9(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1943
+ typeCheckConfig$b(untrustedConfig, config, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
1429
1944
  return config;
1430
1945
  }
1431
1946
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -1441,33 +1956,62 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
1441
1956
  }
1442
1957
  return config;
1443
1958
  }
1959
+ function adapterFragment$4(luvio, config) {
1960
+ createResourceParams$5(config);
1961
+ return select$9();
1962
+ }
1963
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
1964
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
1965
+ config,
1966
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
1967
+ });
1968
+ return luvio.storeBroadcast().then(() => snapshot);
1969
+ }
1970
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
1971
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
1972
+ config,
1973
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
1974
+ });
1975
+ return luvio.storeBroadcast().then(() => snapshot);
1976
+ }
1444
1977
  function buildNetworkSnapshot$5(luvio, config, options) {
1445
1978
  const resourceParams = createResourceParams$5(config);
1446
1979
  const request = createResourceRequest$5(resourceParams);
1447
1980
  return luvio.dispatchResourceRequest(request, options)
1448
1981
  .then((response) => {
1449
- return luvio.handleSuccessResponse(() => {
1450
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
1451
- return luvio.storeBroadcast().then(() => snapshot);
1452
- }, () => {
1982
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
1453
1983
  const cache = new StoreKeyMap();
1454
1984
  getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
1455
1985
  return cache;
1456
1986
  });
1457
1987
  }, (response) => {
1458
- deepFreeze(response);
1459
- throw response;
1988
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
1460
1989
  });
1461
1990
  }
1462
- const createProviderAdapterFactory = (luvio) => {
1463
- return function createProvider(untrustedConfig) {
1464
- const config = validateAdapterConfig$5(untrustedConfig, createProvider_ConfigPropertyNames);
1465
- // Invalid or incomplete config
1466
- if (config === null) {
1467
- throw new Error('Invalid config for "createProvider"');
1468
- }
1469
- return buildNetworkSnapshot$5(luvio, config);
1991
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
1992
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
1993
+ }
1994
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1995
+ const { luvio, config } = context;
1996
+ const selector = {
1997
+ recordId: keyBuilder$8(luvio, config),
1998
+ node: adapterFragment$4(luvio, config),
1999
+ variables: {},
1470
2000
  };
2001
+ const cacheSnapshot = storeLookup(selector, {
2002
+ config,
2003
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2004
+ });
2005
+ return cacheSnapshot;
2006
+ }
2007
+ const getAllDataCleanRoomQueryPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomQueryPaginated(untrustedConfig, requestContext) {
2008
+ const config = validateAdapterConfig$5(untrustedConfig, getAllDataCleanRoomQueryPaginated_ConfigPropertyNames);
2009
+ // Invalid or incomplete config
2010
+ if (config === null) {
2011
+ return null;
2012
+ }
2013
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2014
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1471
2015
  };
1472
2016
 
1473
2017
  const VERSION$3 = "9e5eddaaa3330278c7aa483af5dc8d74";
@@ -1484,7 +2028,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
1484
2028
  for (let i = 0; i < obj_collaborations.length; i++) {
1485
2029
  const obj_collaborations_item = obj_collaborations[i];
1486
2030
  const path_collaborations_item = path_collaborations + '[' + i + ']';
1487
- const referencepath_collaborations_itemValidationError = validate$a(obj_collaborations_item, path_collaborations_item);
2031
+ const referencepath_collaborations_itemValidationError = validate$d(obj_collaborations_item, path_collaborations_item);
1488
2032
  if (referencepath_collaborations_itemValidationError !== null) {
1489
2033
  let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
1490
2034
  message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1621,7 +2165,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
1621
2165
  function createResourceRequest$4(config) {
1622
2166
  const headers = {};
1623
2167
  return {
1624
- baseUri: '/services/data/v63.0',
2168
+ baseUri: '/services/data/v64.0',
1625
2169
  basePath: '/ssot/data-clean-room/collaborations',
1626
2170
  method: 'get',
1627
2171
  body: null,
@@ -1640,14 +2184,14 @@ const getAllDataCleanRoomsPaginated_ConfigPropertyMetadata = [
1640
2184
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1641
2185
  ];
1642
2186
  const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1643
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$9(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2187
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$b(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1644
2188
  function keyBuilder$6(luvio, config) {
1645
2189
  const resourceParams = createResourceParams$4(config);
1646
2190
  return keyBuilder$7(luvio, resourceParams);
1647
2191
  }
1648
2192
  function typeCheckConfig$4(untrustedConfig) {
1649
2193
  const config = {};
1650
- typeCheckConfig$9(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2194
+ typeCheckConfig$b(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1651
2195
  return config;
1652
2196
  }
1653
2197
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -1696,7 +2240,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
1696
2240
  });
1697
2241
  }
1698
2242
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1699
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
2243
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
1700
2244
  }
1701
2245
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1702
2246
  const { luvio, config } = context;
@@ -1805,7 +2349,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
1805
2349
  for (let i = 0; i < input_providers.length; i++) {
1806
2350
  const input_providers_item = input_providers[i];
1807
2351
  let input_providers_item_id = input_providers_id + '__' + i;
1808
- input_providers[i] = ingest$4(input_providers_item, {
2352
+ input_providers[i] = ingest$6(input_providers_item, {
1809
2353
  fullPath: input_providers_item_id,
1810
2354
  propertyName: i,
1811
2355
  parent: {
@@ -1848,7 +2392,7 @@ const select$6 = function DataCleanRoomProviderCollectionRepresentationSelect()
1848
2392
  name: 'providers',
1849
2393
  kind: 'Link',
1850
2394
  plural: true,
1851
- fragment: select$a()
2395
+ fragment: select$e()
1852
2396
  },
1853
2397
  {
1854
2398
  name: 'totalSize',
@@ -1958,7 +2502,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1958
2502
  });
1959
2503
  const input_providers_length = input.providers.length;
1960
2504
  for (let i = 0; i < input_providers_length; i++) {
1961
- getTypeCacheKeys$4(rootKeySet, luvio, input.providers[i]);
2505
+ getTypeCacheKeys$6(rootKeySet, luvio, input.providers[i]);
1962
2506
  }
1963
2507
  }
1964
2508
 
@@ -1997,7 +2541,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
1997
2541
  function createResourceRequest$3(config) {
1998
2542
  const headers = {};
1999
2543
  return {
2000
- baseUri: '/services/data/v63.0',
2544
+ baseUri: '/services/data/v64.0',
2001
2545
  basePath: '/ssot/data-clean-room/providers',
2002
2546
  method: 'get',
2003
2547
  body: null,
@@ -2016,14 +2560,14 @@ const getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata = [
2016
2560
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2017
2561
  ];
2018
2562
  const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2019
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2563
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2020
2564
  function keyBuilder$4(luvio, config) {
2021
2565
  const resourceParams = createResourceParams$3(config);
2022
2566
  return keyBuilder$5(luvio, resourceParams);
2023
2567
  }
2024
2568
  function typeCheckConfig$3(untrustedConfig) {
2025
2569
  const config = {};
2026
- typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2570
+ typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2027
2571
  return config;
2028
2572
  }
2029
2573
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -2072,7 +2616,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
2072
2616
  });
2073
2617
  }
2074
2618
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2075
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
2619
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
2076
2620
  }
2077
2621
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2078
2622
  const { luvio, config } = context;
@@ -2177,7 +2721,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
2177
2721
  for (let i = 0; i < input_cleanroomSpecifications.length; i++) {
2178
2722
  const input_cleanroomSpecifications_item = input_cleanroomSpecifications[i];
2179
2723
  let input_cleanroomSpecifications_item_id = input_cleanroomSpecifications_id + '__' + i;
2180
- input_cleanroomSpecifications[i] = ingest$5(input_cleanroomSpecifications_item, {
2724
+ input_cleanroomSpecifications[i] = ingest$7(input_cleanroomSpecifications_item, {
2181
2725
  fullPath: input_cleanroomSpecifications_item_id,
2182
2726
  propertyName: i,
2183
2727
  parent: {
@@ -2200,7 +2744,7 @@ const select$4 = function DataCleanRoomSpecificationCollectionRepresentationSele
2200
2744
  name: 'cleanroomSpecifications',
2201
2745
  kind: 'Link',
2202
2746
  plural: true,
2203
- fragment: select$c()
2747
+ fragment: select$g()
2204
2748
  },
2205
2749
  {
2206
2750
  name: 'currentPageUrl',
@@ -2312,7 +2856,7 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
2312
2856
  });
2313
2857
  const input_cleanroomSpecifications_length = input.cleanroomSpecifications.length;
2314
2858
  for (let i = 0; i < input_cleanroomSpecifications_length; i++) {
2315
- getTypeCacheKeys$5(rootKeySet, luvio, input.cleanroomSpecifications[i]);
2859
+ getTypeCacheKeys$7(rootKeySet, luvio, input.cleanroomSpecifications[i]);
2316
2860
  }
2317
2861
  }
2318
2862
 
@@ -2351,7 +2895,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
2351
2895
  function createResourceRequest$2(config) {
2352
2896
  const headers = {};
2353
2897
  return {
2354
- baseUri: '/services/data/v63.0',
2898
+ baseUri: '/services/data/v64.0',
2355
2899
  basePath: '/ssot/data-clean-room/specifications',
2356
2900
  method: 'get',
2357
2901
  body: null,
@@ -2370,14 +2914,14 @@ const getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata = [
2370
2914
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2371
2915
  ];
2372
2916
  const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2373
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2917
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2374
2918
  function keyBuilder$2(luvio, config) {
2375
2919
  const resourceParams = createResourceParams$2(config);
2376
2920
  return keyBuilder$3(luvio, resourceParams);
2377
2921
  }
2378
2922
  function typeCheckConfig$2(untrustedConfig) {
2379
2923
  const config = {};
2380
- typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2924
+ typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2381
2925
  return config;
2382
2926
  }
2383
2927
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -2426,7 +2970,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
2426
2970
  });
2427
2971
  }
2428
2972
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
2429
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
2973
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
2430
2974
  }
2431
2975
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
2432
2976
  const { luvio, config } = context;
@@ -2510,7 +3054,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
2510
3054
  for (let i = 0; i < obj_templates.length; i++) {
2511
3055
  const obj_templates_item = obj_templates[i];
2512
3056
  const path_templates_item = path_templates + '[' + i + ']';
2513
- const referencepath_templates_itemValidationError = validate$b(obj_templates_item, path_templates_item);
3057
+ const referencepath_templates_itemValidationError = validate$e(obj_templates_item, path_templates_item);
2514
3058
  if (referencepath_templates_itemValidationError !== null) {
2515
3059
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
2516
3060
  message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2602,7 +3146,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
2602
3146
  function createResourceRequest$1(config) {
2603
3147
  const headers = {};
2604
3148
  return {
2605
- baseUri: '/services/data/v63.0',
3149
+ baseUri: '/services/data/v64.0',
2606
3150
  basePath: '/ssot/data-clean-room/templates',
2607
3151
  method: 'get',
2608
3152
  body: null,
@@ -2620,14 +3164,14 @@ const getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata = [
2620
3164
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2621
3165
  ];
2622
3166
  const getDataCleanRoomTemplatePaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2623
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3167
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2624
3168
  function keyBuilder(luvio, config) {
2625
3169
  const resourceParams = createResourceParams$1(config);
2626
3170
  return keyBuilder$1(luvio, resourceParams);
2627
3171
  }
2628
3172
  function typeCheckConfig$1(untrustedConfig) {
2629
3173
  const config = {};
2630
- typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3174
+ typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2631
3175
  return config;
2632
3176
  }
2633
3177
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -2676,7 +3220,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
2676
3220
  });
2677
3221
  }
2678
3222
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
2679
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
3223
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
2680
3224
  }
2681
3225
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
2682
3226
  const { luvio, config } = context;
@@ -2702,15 +3246,15 @@ const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function data
2702
3246
  };
2703
3247
 
2704
3248
  function select(luvio, params) {
2705
- return select$g();
3249
+ return select$k();
2706
3250
  }
2707
3251
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2708
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
3252
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
2709
3253
  }
2710
3254
  function ingestSuccess(luvio, resourceParams, response) {
2711
3255
  const { body } = response;
2712
- const key = keyBuilderFromType$3(luvio, body);
2713
- luvio.storeIngest(key, ingest$7, body);
3256
+ const key = keyBuilderFromType$4(luvio, body);
3257
+ luvio.storeIngest(key, ingest$9, body);
2714
3258
  const snapshot = luvio.storeLookup({
2715
3259
  recordId: key,
2716
3260
  node: select(),
@@ -2727,7 +3271,7 @@ function ingestSuccess(luvio, resourceParams, response) {
2727
3271
  function createResourceRequest(config) {
2728
3272
  const headers = {};
2729
3273
  return {
2730
- baseUri: '/services/data/v63.0',
3274
+ baseUri: '/services/data/v64.0',
2731
3275
  basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/reject-invitation',
2732
3276
  method: 'put',
2733
3277
  body: config.body,
@@ -2744,10 +3288,10 @@ const rejectDataCleanRoomInvitation_ConfigPropertyMetadata = [
2744
3288
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
2745
3289
  ];
2746
3290
  const rejectDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2747
- const createResourceParams = /*#__PURE__*/ createResourceParams$9(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3291
+ const createResourceParams = /*#__PURE__*/ createResourceParams$b(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2748
3292
  function typeCheckConfig(untrustedConfig) {
2749
3293
  const config = {};
2750
- typeCheckConfig$9(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3294
+ typeCheckConfig$b(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2751
3295
  return config;
2752
3296
  }
2753
3297
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -2796,16 +3340,23 @@ let acceptDataCleanRoomInvitation;
2796
3340
  let createDataCleanRoomCollaboration;
2797
3341
  let createDataCleanRoomSpecification;
2798
3342
  let createProvider;
3343
+ let executeDataCleanRoomQuery;
3344
+ let getAllDataCleanRoomQueryPaginated;
2799
3345
  let getAllDataCleanRoomsPaginated;
2800
3346
  let getDataCleanRoomProvidersPaginated;
2801
3347
  let getDataCleanRoomSpecificationsPaginated;
2802
3348
  let getDataCleanRoomTemplatePaginated;
2803
3349
  let rejectDataCleanRoomInvitation;
2804
3350
  // Imperative GET Adapters
3351
+ let getAllDataCleanRoomQueryPaginated_imperative;
2805
3352
  let getAllDataCleanRoomsPaginated_imperative;
2806
3353
  let getDataCleanRoomProvidersPaginated_imperative;
2807
3354
  let getDataCleanRoomSpecificationsPaginated_imperative;
2808
3355
  let getDataCleanRoomTemplatePaginated_imperative;
3356
+ const getAllDataCleanRoomQueryPaginatedMetadata = {
3357
+ apiFamily: 'dataclean-room',
3358
+ name: 'getAllDataCleanRoomQueryPaginated',
3359
+ };
2809
3360
  const getAllDataCleanRoomsPaginatedMetadata = {
2810
3361
  apiFamily: 'dataclean-room',
2811
3362
  name: 'getAllDataCleanRoomsPaginated',
@@ -2825,6 +3376,7 @@ const getDataCleanRoomTemplatePaginatedMetadata = {
2825
3376
  // Notify Update Available
2826
3377
  function bindExportsTo(luvio) {
2827
3378
  // LDS Adapters
3379
+ const getAllDataCleanRoomQueryPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getAllDataCleanRoomQueryPaginated', getAllDataCleanRoomQueryPaginatedAdapterFactory), getAllDataCleanRoomQueryPaginatedMetadata);
2828
3380
  const getAllDataCleanRoomsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getAllDataCleanRoomsPaginated', getAllDataCleanRoomsPaginatedAdapterFactory), getAllDataCleanRoomsPaginatedMetadata);
2829
3381
  const getDataCleanRoomProvidersPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomProvidersPaginated', getDataCleanRoomProvidersPaginatedAdapterFactory), getDataCleanRoomProvidersPaginatedMetadata);
2830
3382
  const getDataCleanRoomSpecificationsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomSpecificationsPaginated', getDataCleanRoomSpecificationsPaginatedAdapterFactory), getDataCleanRoomSpecificationsPaginatedMetadata);
@@ -2838,12 +3390,15 @@ function bindExportsTo(luvio) {
2838
3390
  createDataCleanRoomCollaboration: unwrapSnapshotData(createDataCleanRoomCollaborationAdapterFactory),
2839
3391
  createDataCleanRoomSpecification: unwrapSnapshotData(createDataCleanRoomSpecificationAdapterFactory),
2840
3392
  createProvider: unwrapSnapshotData(createProviderAdapterFactory),
3393
+ executeDataCleanRoomQuery: unwrapSnapshotData(executeDataCleanRoomQueryAdapterFactory),
3394
+ getAllDataCleanRoomQueryPaginated: createWireAdapterConstructor(luvio, getAllDataCleanRoomQueryPaginated_ldsAdapter, getAllDataCleanRoomQueryPaginatedMetadata),
2841
3395
  getAllDataCleanRoomsPaginated: createWireAdapterConstructor(luvio, getAllDataCleanRoomsPaginated_ldsAdapter, getAllDataCleanRoomsPaginatedMetadata),
2842
3396
  getDataCleanRoomProvidersPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
2843
3397
  getDataCleanRoomSpecificationsPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
2844
3398
  getDataCleanRoomTemplatePaginated: createWireAdapterConstructor(luvio, getDataCleanRoomTemplatePaginated_ldsAdapter, getDataCleanRoomTemplatePaginatedMetadata),
2845
3399
  rejectDataCleanRoomInvitation: unwrapSnapshotData(rejectDataCleanRoomInvitationAdapterFactory),
2846
3400
  // Imperative GET Adapters
3401
+ getAllDataCleanRoomQueryPaginated_imperative: createImperativeAdapter(luvio, getAllDataCleanRoomQueryPaginated_ldsAdapter, getAllDataCleanRoomQueryPaginatedMetadata),
2847
3402
  getAllDataCleanRoomsPaginated_imperative: createImperativeAdapter(luvio, getAllDataCleanRoomsPaginated_ldsAdapter, getAllDataCleanRoomsPaginatedMetadata),
2848
3403
  getDataCleanRoomProvidersPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
2849
3404
  getDataCleanRoomSpecificationsPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
@@ -2857,11 +3412,14 @@ withDefaultLuvio((luvio) => {
2857
3412
  createDataCleanRoomCollaboration,
2858
3413
  createDataCleanRoomSpecification,
2859
3414
  createProvider,
3415
+ executeDataCleanRoomQuery,
3416
+ getAllDataCleanRoomQueryPaginated,
2860
3417
  getAllDataCleanRoomsPaginated,
2861
3418
  getDataCleanRoomProvidersPaginated,
2862
3419
  getDataCleanRoomSpecificationsPaginated,
2863
3420
  getDataCleanRoomTemplatePaginated,
2864
3421
  rejectDataCleanRoomInvitation,
3422
+ getAllDataCleanRoomQueryPaginated_imperative,
2865
3423
  getAllDataCleanRoomsPaginated_imperative,
2866
3424
  getDataCleanRoomProvidersPaginated_imperative,
2867
3425
  getDataCleanRoomSpecificationsPaginated_imperative,
@@ -2869,5 +3427,5 @@ withDefaultLuvio((luvio) => {
2869
3427
  } = bindExportsTo(luvio));
2870
3428
  });
2871
3429
 
2872
- export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
2873
- // version: 1.354.0-dev6-efb2ef03dd
3430
+ export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
3431
+ // version: 1.354.0-dev8-9491b01b31