@salesforce/lds-adapters-cdp-data-clean-room 1.354.0-dev7 → 1.354.0-dev9

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 (18) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +968 -457
  2. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -1
  3. package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getAllDataCleanRoomQueryPaginated.d.ts +31 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomCollaborationsJobsByCollaborationIdOrApiName.d.ts +21 -0
  8. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +16 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -1
  10. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +3 -3
  11. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +3 -3
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobHistoryCollectionRepresentation.d.ts +44 -0
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +31 -0
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +77 -0
  15. package/package.json +3 -3
  16. package/sfdc/index.js +847 -322
  17. package/src/raml/api.raml +142 -3
  18. 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$e(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$e(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$e(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,7 +225,7 @@ 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
231
  baseUri: '/services/data/v64.0',
@@ -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$d(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$d(obj, path = 'CdpUserRepresentation') {
324
324
  return v_error === undefined ? null : v_error;
325
325
  }
326
326
 
327
- function validate$c(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$c(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$d(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$c(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$d(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$c(obj, path = 'DataCleanRoomTemplateRepresentation') {
417
417
  return v_error === undefined ? null : v_error;
418
418
  }
419
419
 
420
- const VERSION$6 = "11bd9b71debcc363b339183bc8d65735";
421
- function validate$b(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$b(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$d(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$b(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$d(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$b(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$e(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$b(obj, path = 'DataCleanRoomCollaborationRepresentation') {
526
526
  }
527
527
  const obj_templateVersion = obj.templateVersion;
528
528
  const path_templateVersion = path + '.templateVersion';
529
- const referencepath_templateVersionValidationError = validate$c(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$b(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$b(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,7 +614,7 @@ 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
620
  baseUri: '/services/data/v64.0',
@@ -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 */),
@@ -639,37 +639,37 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
639
639
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
640
640
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
641
641
  ];
642
- const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
643
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
644
- 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) {
645
645
  const config = {};
646
- typeCheckConfig$9(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
646
+ typeCheckConfig$b(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
647
647
  return config;
648
648
  }
649
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
649
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
650
650
  if (!untrustedIsObject(untrustedConfig)) {
651
651
  return null;
652
652
  }
653
653
  if (process.env.NODE_ENV !== 'production') {
654
654
  validateConfig(untrustedConfig, configPropertyNames);
655
655
  }
656
- const config = typeCheckConfig$7(untrustedConfig);
656
+ const config = typeCheckConfig$9(untrustedConfig);
657
657
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
658
658
  return null;
659
659
  }
660
660
  return config;
661
661
  }
662
- function buildNetworkSnapshot$7(luvio, config, options) {
663
- const resourceParams = createResourceParams$7(config);
664
- const request = createResourceRequest$7(resourceParams);
662
+ function buildNetworkSnapshot$9(luvio, config, options) {
663
+ const resourceParams = createResourceParams$9(config);
664
+ const request = createResourceRequest$9(resourceParams);
665
665
  return luvio.dispatchResourceRequest(request, options)
666
666
  .then((response) => {
667
667
  return luvio.handleSuccessResponse(() => {
668
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
668
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
669
669
  return luvio.storeBroadcast().then(() => snapshot);
670
670
  }, () => {
671
671
  const cache = new StoreKeyMap();
672
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
672
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
673
673
  return cache;
674
674
  });
675
675
  }, (response) => {
@@ -679,16 +679,16 @@ function buildNetworkSnapshot$7(luvio, config, options) {
679
679
  }
680
680
  const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
681
681
  return function createDataCleanRoomCollaboration(untrustedConfig) {
682
- const config = validateAdapterConfig$7(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
682
+ const config = validateAdapterConfig$9(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
683
683
  // Invalid or incomplete config
684
684
  if (config === null) {
685
685
  throw new Error('Invalid config for "createDataCleanRoomCollaboration"');
686
686
  }
687
- return buildNetworkSnapshot$7(luvio, config);
687
+ return buildNetworkSnapshot$9(luvio, config);
688
688
  };
689
689
  };
690
690
 
691
- function validate$a(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
691
+ function validate$c(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
692
692
  const v_error = (() => {
693
693
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
694
694
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -714,7 +714,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
714
714
  return v_error === undefined ? null : v_error;
715
715
  }
716
716
 
717
- function validate$9(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
717
+ function validate$b(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
718
718
  const v_error = (() => {
719
719
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
720
720
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -733,7 +733,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
733
733
  return v_error === undefined ? null : v_error;
734
734
  }
735
735
 
736
- function validate$8(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
736
+ function validate$a(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
737
737
  const v_error = (() => {
738
738
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
739
739
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -762,7 +762,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
762
762
  return v_error === undefined ? null : v_error;
763
763
  }
764
764
 
765
- function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
765
+ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
766
766
  const v_error = (() => {
767
767
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
768
768
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -782,7 +782,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
782
782
  if (obj.createdBy !== undefined) {
783
783
  const obj_createdBy = obj.createdBy;
784
784
  const path_createdBy = path + '.createdBy';
785
- const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
785
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
786
786
  if (referencepath_createdByValidationError !== null) {
787
787
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
788
788
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -799,7 +799,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
799
799
  if (obj.dataMapping !== undefined) {
800
800
  const obj_dataMapping = obj.dataMapping;
801
801
  const path_dataMapping = path + '.dataMapping';
802
- const referencepath_dataMappingValidationError = validate$6(obj_dataMapping, path_dataMapping);
802
+ const referencepath_dataMappingValidationError = validate$8(obj_dataMapping, path_dataMapping);
803
803
  if (referencepath_dataMappingValidationError !== null) {
804
804
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
805
805
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -809,7 +809,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
809
809
  if (obj.filterOptions !== undefined) {
810
810
  const obj_filterOptions = obj.filterOptions;
811
811
  const path_filterOptions = path + '.filterOptions';
812
- const referencepath_filterOptionsValidationError = validate$a(obj_filterOptions, path_filterOptions);
812
+ const referencepath_filterOptionsValidationError = validate$c(obj_filterOptions, path_filterOptions);
813
813
  if (referencepath_filterOptionsValidationError !== null) {
814
814
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
815
815
  message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -833,7 +833,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
833
833
  if (obj.lastModifiedBy !== undefined) {
834
834
  const obj_lastModifiedBy = obj.lastModifiedBy;
835
835
  const path_lastModifiedBy = path + '.lastModifiedBy';
836
- const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
836
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
837
837
  if (referencepath_lastModifiedByValidationError !== null) {
838
838
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
839
839
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -869,7 +869,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
869
869
  for (let i = 0; i < obj_path.length; i++) {
870
870
  const obj_path_item = obj_path[i];
871
871
  const path_path_item = path_path + '[' + i + ']';
872
- 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);
873
873
  if (referencepath_path_itemValidationError !== null) {
874
874
  let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
875
875
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -878,7 +878,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
878
878
  }
879
879
  const obj_subjectAttribute = obj.subjectAttribute;
880
880
  const path_subjectAttribute = path + '.subjectAttribute';
881
- const referencepath_subjectAttributeValidationError = validate$8(obj_subjectAttribute, path_subjectAttribute);
881
+ const referencepath_subjectAttributeValidationError = validate$a(obj_subjectAttribute, path_subjectAttribute);
882
882
  if (referencepath_subjectAttributeValidationError !== null) {
883
883
  let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
884
884
  message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -895,7 +895,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
895
895
  return v_error === undefined ? null : v_error;
896
896
  }
897
897
 
898
- function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
898
+ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
899
899
  const v_error = (() => {
900
900
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
901
901
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -908,7 +908,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
908
908
  for (let i = 0; i < obj_attributes.length; i++) {
909
909
  const obj_attributes_item = obj_attributes[i];
910
910
  const path_attributes_item = path_attributes + '[' + i + ']';
911
- 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);
912
912
  if (referencepath_attributes_itemValidationError !== null) {
913
913
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
914
914
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -923,7 +923,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
923
923
  if (obj.createdBy !== undefined) {
924
924
  const obj_createdBy = obj.createdBy;
925
925
  const path_createdBy = path + '.createdBy';
926
- const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
926
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
927
927
  if (referencepath_createdByValidationError !== null) {
928
928
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
929
929
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -954,7 +954,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
954
954
  if (obj.lastModifiedBy !== undefined) {
955
955
  const obj_lastModifiedBy = obj.lastModifiedBy;
956
956
  const path_lastModifiedBy = path + '.lastModifiedBy';
957
- const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
957
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
958
958
  if (referencepath_lastModifiedByValidationError !== null) {
959
959
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
960
960
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -993,8 +993,8 @@ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
993
993
  return v_error === undefined ? null : v_error;
994
994
  }
995
995
 
996
- const VERSION$5 = "422829d0bdee7c37a92811d97b2c7c2b";
997
- function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
996
+ const VERSION$7 = "f502169b0ec369d5e3e577700c8835b6";
997
+ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
998
998
  const v_error = (() => {
999
999
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1000
1000
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1002,7 +1002,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1002
1002
  if (obj.createdBy !== undefined) {
1003
1003
  const obj_createdBy = obj.createdBy;
1004
1004
  const path_createdBy = path + '.createdBy';
1005
- const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
1005
+ const referencepath_createdByValidationError = validate$f(obj_createdBy, path_createdBy);
1006
1006
  if (referencepath_createdByValidationError !== null) {
1007
1007
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1008
1008
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1018,7 +1018,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1018
1018
  }
1019
1019
  const obj_dataMapping = obj.dataMapping;
1020
1020
  const path_dataMapping = path + '.dataMapping';
1021
- const referencepath_dataMappingValidationError = validate$6(obj_dataMapping, path_dataMapping);
1021
+ const referencepath_dataMappingValidationError = validate$8(obj_dataMapping, path_dataMapping);
1022
1022
  if (referencepath_dataMappingValidationError !== null) {
1023
1023
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
1024
1024
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1029,10 +1029,12 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1029
1029
  if (typeof obj_dataSpaceName !== 'string') {
1030
1030
  return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceName + '" (at "' + path_dataSpaceName + '")');
1031
1031
  }
1032
- const obj_description = obj.description;
1033
- const path_description = path + '.description';
1034
- if (typeof obj_description !== 'string') {
1035
- 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
+ }
1036
1038
  }
1037
1039
  const obj_id = obj.id;
1038
1040
  const path_id = path + '.id';
@@ -1049,7 +1051,7 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1049
1051
  if (obj.lastModifiedBy !== undefined) {
1050
1052
  const obj_lastModifiedBy = obj.lastModifiedBy;
1051
1053
  const path_lastModifiedBy = path + '.lastModifiedBy';
1052
- const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
1054
+ const referencepath_lastModifiedByValidationError = validate$f(obj_lastModifiedBy, path_lastModifiedBy);
1053
1055
  if (referencepath_lastModifiedByValidationError !== null) {
1054
1056
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1055
1057
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1082,11 +1084,530 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1082
1084
  return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
1083
1085
  }
1084
1086
  }
1085
- if (obj.ownerOrgId !== undefined) {
1086
- const obj_ownerOrgId = obj.ownerOrgId;
1087
- const path_ownerOrgId = path + '.ownerOrgId';
1088
- if (typeof obj_ownerOrgId !== 'string') {
1089
- return new TypeError('Expected "string" but received "' + typeof obj_ownerOrgId + '" (at "' + path_ownerOrgId + '")');
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 + '")');
1597
+ }
1598
+ }
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
+ }
1090
1611
  }
1091
1612
  }
1092
1613
  const obj_status = obj.status;
@@ -1094,35 +1615,30 @@ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
1094
1615
  if (typeof obj_status !== 'string') {
1095
1616
  return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
1096
1617
  }
1097
- const obj_templateName = obj.templateName;
1098
- const path_templateName = path + '.templateName';
1099
- if (typeof obj_templateName !== 'string') {
1100
- return new TypeError('Expected "string" but received "' + typeof obj_templateName + '" (at "' + path_templateName + '")');
1101
- }
1102
- if (obj.url !== undefined) {
1103
- const obj_url = obj.url;
1104
- const path_url = path + '.url';
1105
- if (typeof obj_url !== 'string') {
1106
- 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 + '")');
1107
1623
  }
1108
1624
  }
1109
1625
  })();
1110
1626
  return v_error === undefined ? null : v_error;
1111
1627
  }
1112
- const RepresentationType$5 = 'DataCleanRoomDataSpecificationRepresentation';
1113
- function keyBuilder$9(luvio, config) {
1628
+ const RepresentationType$5 = 'DataCleanRoomQueryJobRepresentation';
1629
+ function keyBuilder$a(luvio, config) {
1114
1630
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.id;
1115
1631
  }
1116
- function keyBuilderFromType$1(luvio, object) {
1632
+ function keyBuilderFromType(luvio, object) {
1117
1633
  const keyParams = {
1118
1634
  id: object.id
1119
1635
  };
1120
- return keyBuilder$9(luvio, keyParams);
1636
+ return keyBuilder$a(luvio, keyParams);
1121
1637
  }
1122
1638
  function normalize$5(input, existing, path, luvio, store, timestamp) {
1123
1639
  return input;
1124
1640
  }
1125
- const select$c = function DataCleanRoomDataSpecificationRepresentationSelect() {
1641
+ const select$c = function DataCleanRoomQueryJobRepresentationSelect() {
1126
1642
  return {
1127
1643
  kind: 'Fragment',
1128
1644
  version: VERSION$5,
@@ -1136,21 +1652,21 @@ function equals$5(existing, incoming) {
1136
1652
  }
1137
1653
  return true;
1138
1654
  }
1139
- const ingest$5 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1655
+ const ingest$5 = function DataCleanRoomQueryJobRepresentationIngest(input, path, luvio, store, timestamp) {
1140
1656
  if (process.env.NODE_ENV !== 'production') {
1141
1657
  const validateError = validate$5(input);
1142
1658
  if (validateError !== null) {
1143
1659
  throw validateError;
1144
1660
  }
1145
1661
  }
1146
- const key = keyBuilderFromType$1(luvio, input);
1662
+ const key = keyBuilderFromType(luvio, input);
1147
1663
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1148
1664
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-clean-room", VERSION$5, RepresentationType$5, equals$5);
1149
1665
  return createLink(key);
1150
1666
  };
1151
1667
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1152
1668
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1153
- const rootKey = keyBuilderFromType$1(luvio, input);
1669
+ const rootKey = keyBuilderFromType(luvio, input);
1154
1670
  rootKeySet.set(rootKey, {
1155
1671
  namespace: keyPrefix,
1156
1672
  representationName: RepresentationType$5,
@@ -1166,7 +1682,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1166
1682
  }
1167
1683
  function ingestSuccess$6(luvio, resourceParams, response) {
1168
1684
  const { body } = response;
1169
- const key = keyBuilderFromType$1(luvio, body);
1685
+ const key = keyBuilderFromType(luvio, body);
1170
1686
  luvio.storeIngest(key, ingest$5, body);
1171
1687
  const snapshot = luvio.storeLookup({
1172
1688
  recordId: key,
@@ -1185,34 +1701,27 @@ function createResourceRequest$6(config) {
1185
1701
  const headers = {};
1186
1702
  return {
1187
1703
  baseUri: '/services/data/v64.0',
1188
- basePath: '/ssot/data-clean-room/specifications',
1704
+ basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/run',
1189
1705
  method: 'post',
1190
1706
  body: config.body,
1191
- urlParams: {},
1707
+ urlParams: config.urlParams,
1192
1708
  queryParams: {},
1193
1709
  headers,
1194
1710
  priority: 'normal',
1195
1711
  };
1196
1712
  }
1197
1713
 
1198
- const adapterName$6 = 'createDataCleanRoomSpecification';
1199
- const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
1200
- generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */),
1201
- generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
1202
- generateParamConfigMetadata('ownerOrgId', true, 2 /* Body */, 0 /* String */),
1203
- generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
1204
- generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1205
- generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1206
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
1207
- 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),
1208
1719
  ];
1209
- const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1210
- 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);
1211
1722
  function typeCheckConfig$6(untrustedConfig) {
1212
1723
  const config = {};
1213
- typeCheckConfig$9(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1214
- const untrustedConfig_dataMapping = untrustedConfig.dataMapping;
1215
- config.dataMapping = untrustedConfig_dataMapping;
1724
+ typeCheckConfig$b(untrustedConfig, config, executeDataCleanRoomQuery_ConfigPropertyMetadata);
1216
1725
  return config;
1217
1726
  }
1218
1727
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -1246,136 +1755,98 @@ function buildNetworkSnapshot$6(luvio, config, options) {
1246
1755
  throw response;
1247
1756
  });
1248
1757
  }
1249
- const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1250
- return function createDataCleanRoomSpecification(untrustedConfig) {
1251
- const config = validateAdapterConfig$6(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
1758
+ const executeDataCleanRoomQueryAdapterFactory = (luvio) => {
1759
+ return function executeDataCleanRoomQuery(untrustedConfig) {
1760
+ const config = validateAdapterConfig$6(untrustedConfig, executeDataCleanRoomQuery_ConfigPropertyNames);
1252
1761
  // Invalid or incomplete config
1253
1762
  if (config === null) {
1254
- throw new Error('Invalid config for "createDataCleanRoomSpecification"');
1763
+ throw new Error('Invalid config for "executeDataCleanRoomQuery"');
1255
1764
  }
1256
1765
  return buildNetworkSnapshot$6(luvio, config);
1257
1766
  };
1258
1767
  };
1259
1768
 
1260
- const VERSION$4 = "929b1bcf37fe62f914c2364146a0f5e6";
1261
- function validate$4(obj, path = 'DataCleanRoomProviderRepresentation') {
1769
+ const VERSION$4 = "7aaafdce5d4ed7457442ab5701329217";
1770
+ function validate$4(obj, path = 'DataCleanRoomQueryJobHistoryCollectionRepresentation') {
1262
1771
  const v_error = (() => {
1263
1772
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1264
1773
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1265
1774
  }
1266
- if (obj.createdBy !== undefined) {
1267
- const obj_createdBy = obj.createdBy;
1268
- const path_createdBy = path + '.createdBy';
1269
- const referencepath_createdByValidationError = validate$d(obj_createdBy, path_createdBy);
1270
- if (referencepath_createdByValidationError !== null) {
1271
- let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1272
- message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1273
- return new TypeError(message);
1274
- }
1275
- }
1276
- if (obj.createdDate !== undefined) {
1277
- const obj_createdDate = obj.createdDate;
1278
- const path_createdDate = path + '.createdDate';
1279
- if (typeof obj_createdDate !== 'string') {
1280
- return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1281
- }
1282
- }
1283
- const obj_dataCloudOrgId = obj.dataCloudOrgId;
1284
- const path_dataCloudOrgId = path + '.dataCloudOrgId';
1285
- if (typeof obj_dataCloudOrgId !== 'string') {
1286
- return new TypeError('Expected "string" but received "' + typeof obj_dataCloudOrgId + '" (at "' + path_dataCloudOrgId + '")');
1287
- }
1288
- const obj_description = obj.description;
1289
- const path_description = path + '.description';
1290
- if (typeof obj_description !== 'string') {
1291
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1292
- }
1293
- const obj_id = obj.id;
1294
- const path_id = path + '.id';
1295
- if (typeof obj_id !== 'string') {
1296
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1297
- }
1298
- if (obj.label !== undefined) {
1299
- const obj_label = obj.label;
1300
- const path_label = path + '.label';
1301
- if (typeof obj_label !== 'string') {
1302
- return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1303
- }
1304
- }
1305
- if (obj.lastModifiedBy !== undefined) {
1306
- const obj_lastModifiedBy = obj.lastModifiedBy;
1307
- const path_lastModifiedBy = path + '.lastModifiedBy';
1308
- const referencepath_lastModifiedByValidationError = validate$d(obj_lastModifiedBy, path_lastModifiedBy);
1309
- if (referencepath_lastModifiedByValidationError !== null) {
1310
- let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1311
- message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1312
- 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 + '")');
1313
1780
  }
1314
1781
  }
1315
- if (obj.lastModifiedDate !== undefined) {
1316
- const obj_lastModifiedDate = obj.lastModifiedDate;
1317
- const path_lastModifiedDate = path + '.lastModifiedDate';
1318
- if (typeof obj_lastModifiedDate !== 'string') {
1319
- return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1320
- }
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 + '")');
1321
1786
  }
1322
- if (obj.logoUrl !== undefined) {
1323
- const obj_logoUrl = obj.logoUrl;
1324
- const path_logoUrl = path + '.logoUrl';
1325
- if (typeof obj_logoUrl !== 'string') {
1326
- 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;
1327
1798
  }
1328
- }
1329
- if (obj.name !== undefined) {
1330
- const obj_name = obj.name;
1331
- const path_name = path + '.name';
1332
- if (typeof obj_name !== 'string') {
1333
- 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;
1334
1807
  }
1335
- }
1336
- if (obj.namespace !== undefined) {
1337
- const obj_namespace = obj.namespace;
1338
- const path_namespace = path + '.namespace';
1339
- if (typeof obj_namespace !== 'string') {
1340
- 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);
1341
1813
  }
1342
1814
  }
1343
- const obj_templateNames = obj.templateNames;
1344
- const path_templateNames = path + '.templateNames';
1345
- if (!ArrayIsArray(obj_templateNames)) {
1346
- 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 + '")');
1347
1819
  }
1348
- for (let i = 0; i < obj_templateNames.length; i++) {
1349
- const obj_templateNames_item = obj_templateNames[i];
1350
- const path_templateNames_item = path_templateNames + '[' + i + ']';
1351
- if (typeof obj_templateNames_item !== 'string') {
1352
- 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);
1353
1833
  }
1354
1834
  }
1355
- if (obj.url !== undefined) {
1356
- const obj_url = obj.url;
1357
- const path_url = path + '.url';
1358
- if (typeof obj_url !== 'string') {
1359
- 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 + '")');
1360
1840
  }
1361
1841
  }
1362
1842
  })();
1363
1843
  return v_error === undefined ? null : v_error;
1364
1844
  }
1365
- const RepresentationType$4 = 'DataCleanRoomProviderRepresentation';
1366
- function keyBuilder$8(luvio, config) {
1367
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
1368
- }
1369
- function keyBuilderFromType(luvio, object) {
1370
- const keyParams = {
1371
- id: object.id
1372
- };
1373
- return keyBuilder$8(luvio, keyParams);
1374
- }
1845
+ const RepresentationType$4 = 'DataCleanRoomQueryJobHistoryCollectionRepresentation';
1375
1846
  function normalize$4(input, existing, path, luvio, store, timestamp) {
1376
1847
  return input;
1377
1848
  }
1378
- const select$a = function DataCleanRoomProviderRepresentationSelect() {
1849
+ const select$a = function DataCleanRoomQueryJobHistoryCollectionRepresentationSelect() {
1379
1850
  return {
1380
1851
  kind: 'Fragment',
1381
1852
  version: VERSION$4,
@@ -1389,21 +1860,21 @@ function equals$4(existing, incoming) {
1389
1860
  }
1390
1861
  return true;
1391
1862
  }
1392
- const ingest$4 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
1863
+ const ingest$4 = function DataCleanRoomQueryJobHistoryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1393
1864
  if (process.env.NODE_ENV !== 'production') {
1394
1865
  const validateError = validate$4(input);
1395
1866
  if (validateError !== null) {
1396
1867
  throw validateError;
1397
1868
  }
1398
1869
  }
1399
- const key = keyBuilderFromType(luvio, input);
1870
+ const key = path.fullPath;
1400
1871
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1401
1872
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-clean-room", VERSION$4, RepresentationType$4, equals$4);
1402
1873
  return createLink(key);
1403
1874
  };
1404
1875
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1405
1876
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1406
- const rootKey = keyBuilderFromType(luvio, input);
1877
+ const rootKey = fullPathFactory();
1407
1878
  rootKeySet.set(rootKey, {
1408
1879
  namespace: keyPrefix,
1409
1880
  representationName: RepresentationType$4,
@@ -1414,18 +1885,21 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1414
1885
  function select$9(luvio, params) {
1415
1886
  return select$a();
1416
1887
  }
1888
+ function keyBuilder$9(luvio, params) {
1889
+ return keyPrefix + '::DataCleanRoomQueryJobHistoryCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'filters:' + params.queryParams.filters + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'collaborationIdOrApiName:' + params.urlParams.collaborationIdOrApiName + ')';
1890
+ }
1417
1891
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1418
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
1892
+ getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
1419
1893
  }
1420
- function ingestSuccess$5(luvio, resourceParams, response) {
1894
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1421
1895
  const { body } = response;
1422
- const key = keyBuilderFromType(luvio, body);
1896
+ const key = keyBuilder$9(luvio, resourceParams);
1423
1897
  luvio.storeIngest(key, ingest$4, body);
1424
1898
  const snapshot = luvio.storeLookup({
1425
1899
  recordId: key,
1426
1900
  node: select$9(),
1427
1901
  variables: {},
1428
- });
1902
+ }, snapshotRefresh);
1429
1903
  if (process.env.NODE_ENV !== 'production') {
1430
1904
  if (snapshot.state !== 'Fulfilled') {
1431
1905
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
@@ -1434,35 +1908,43 @@ function ingestSuccess$5(luvio, resourceParams, response) {
1434
1908
  deepFreeze(snapshot.data);
1435
1909
  return snapshot;
1436
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
+ }
1437
1917
  function createResourceRequest$5(config) {
1438
1918
  const headers = {};
1439
1919
  return {
1440
1920
  baseUri: '/services/data/v64.0',
1441
- basePath: '/ssot/data-clean-room/providers',
1442
- method: 'post',
1443
- body: config.body,
1444
- urlParams: {},
1445
- queryParams: {},
1921
+ basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/jobs',
1922
+ method: 'get',
1923
+ body: null,
1924
+ urlParams: config.urlParams,
1925
+ queryParams: config.queryParams,
1446
1926
  headers,
1447
1927
  priority: 'normal',
1448
1928
  };
1449
1929
  }
1450
1930
 
1451
- const adapterName$5 = 'createProvider';
1452
- const createProvider_ConfigPropertyMetadata = [
1453
- generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1454
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
1455
- generateParamConfigMetadata('templateNames', true, 2 /* Body */, 0 /* String */, true),
1456
- generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
1457
- generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1458
- generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1459
- generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
1931
+ const adapterName$5 = 'getAllDataCleanRoomQueryPaginated';
1932
+ const getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata = [
1933
+ generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
1934
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1935
+ generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
1936
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1937
+ generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1460
1938
  ];
1461
- const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createProvider_ConfigPropertyMetadata);
1462
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$9(createProvider_ConfigPropertyMetadata);
1939
+ const getAllDataCleanRoomQueryPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
1940
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$b(getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
1941
+ function keyBuilder$8(luvio, config) {
1942
+ const resourceParams = createResourceParams$5(config);
1943
+ return keyBuilder$9(luvio, resourceParams);
1944
+ }
1463
1945
  function typeCheckConfig$5(untrustedConfig) {
1464
1946
  const config = {};
1465
- typeCheckConfig$9(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1947
+ typeCheckConfig$b(untrustedConfig, config, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
1466
1948
  return config;
1467
1949
  }
1468
1950
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -1478,33 +1960,62 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
1478
1960
  }
1479
1961
  return config;
1480
1962
  }
1963
+ function adapterFragment$4(luvio, config) {
1964
+ createResourceParams$5(config);
1965
+ return select$9();
1966
+ }
1967
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
1968
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
1969
+ config,
1970
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
1971
+ });
1972
+ return luvio.storeBroadcast().then(() => snapshot);
1973
+ }
1974
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
1975
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
1976
+ config,
1977
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
1978
+ });
1979
+ return luvio.storeBroadcast().then(() => snapshot);
1980
+ }
1481
1981
  function buildNetworkSnapshot$5(luvio, config, options) {
1482
1982
  const resourceParams = createResourceParams$5(config);
1483
1983
  const request = createResourceRequest$5(resourceParams);
1484
1984
  return luvio.dispatchResourceRequest(request, options)
1485
1985
  .then((response) => {
1486
- return luvio.handleSuccessResponse(() => {
1487
- const snapshot = ingestSuccess$5(luvio, resourceParams, response);
1488
- return luvio.storeBroadcast().then(() => snapshot);
1489
- }, () => {
1986
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
1490
1987
  const cache = new StoreKeyMap();
1491
1988
  getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
1492
1989
  return cache;
1493
1990
  });
1494
1991
  }, (response) => {
1495
- deepFreeze(response);
1496
- throw response;
1992
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
1497
1993
  });
1498
1994
  }
1499
- const createProviderAdapterFactory = (luvio) => {
1500
- return function createProvider(untrustedConfig) {
1501
- const config = validateAdapterConfig$5(untrustedConfig, createProvider_ConfigPropertyNames);
1502
- // Invalid or incomplete config
1503
- if (config === null) {
1504
- throw new Error('Invalid config for "createProvider"');
1505
- }
1506
- return buildNetworkSnapshot$5(luvio, config);
1995
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
1996
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
1997
+ }
1998
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
1999
+ const { luvio, config } = context;
2000
+ const selector = {
2001
+ recordId: keyBuilder$8(luvio, config),
2002
+ node: adapterFragment$4(luvio, config),
2003
+ variables: {},
1507
2004
  };
2005
+ const cacheSnapshot = storeLookup(selector, {
2006
+ config,
2007
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2008
+ });
2009
+ return cacheSnapshot;
2010
+ }
2011
+ const getAllDataCleanRoomQueryPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomQueryPaginated(untrustedConfig, requestContext) {
2012
+ const config = validateAdapterConfig$5(untrustedConfig, getAllDataCleanRoomQueryPaginated_ConfigPropertyNames);
2013
+ // Invalid or incomplete config
2014
+ if (config === null) {
2015
+ return null;
2016
+ }
2017
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2018
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
1508
2019
  };
1509
2020
 
1510
2021
  const VERSION$3 = "9e5eddaaa3330278c7aa483af5dc8d74";
@@ -1521,7 +2032,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
1521
2032
  for (let i = 0; i < obj_collaborations.length; i++) {
1522
2033
  const obj_collaborations_item = obj_collaborations[i];
1523
2034
  const path_collaborations_item = path_collaborations + '[' + i + ']';
1524
- const referencepath_collaborations_itemValidationError = validate$b(obj_collaborations_item, path_collaborations_item);
2035
+ const referencepath_collaborations_itemValidationError = validate$d(obj_collaborations_item, path_collaborations_item);
1525
2036
  if (referencepath_collaborations_itemValidationError !== null) {
1526
2037
  let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
1527
2038
  message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1677,14 +2188,14 @@ const getAllDataCleanRoomsPaginated_ConfigPropertyMetadata = [
1677
2188
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1678
2189
  ];
1679
2190
  const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1680
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$9(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2191
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$b(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1681
2192
  function keyBuilder$6(luvio, config) {
1682
2193
  const resourceParams = createResourceParams$4(config);
1683
2194
  return keyBuilder$7(luvio, resourceParams);
1684
2195
  }
1685
2196
  function typeCheckConfig$4(untrustedConfig) {
1686
2197
  const config = {};
1687
- typeCheckConfig$9(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
2198
+ typeCheckConfig$b(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1688
2199
  return config;
1689
2200
  }
1690
2201
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -1733,7 +2244,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
1733
2244
  });
1734
2245
  }
1735
2246
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1736
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
2247
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
1737
2248
  }
1738
2249
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1739
2250
  const { luvio, config } = context;
@@ -1842,7 +2353,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
1842
2353
  for (let i = 0; i < input_providers.length; i++) {
1843
2354
  const input_providers_item = input_providers[i];
1844
2355
  let input_providers_item_id = input_providers_id + '__' + i;
1845
- input_providers[i] = ingest$4(input_providers_item, {
2356
+ input_providers[i] = ingest$6(input_providers_item, {
1846
2357
  fullPath: input_providers_item_id,
1847
2358
  propertyName: i,
1848
2359
  parent: {
@@ -1885,7 +2396,7 @@ const select$6 = function DataCleanRoomProviderCollectionRepresentationSelect()
1885
2396
  name: 'providers',
1886
2397
  kind: 'Link',
1887
2398
  plural: true,
1888
- fragment: select$a()
2399
+ fragment: select$e()
1889
2400
  },
1890
2401
  {
1891
2402
  name: 'totalSize',
@@ -1995,7 +2506,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1995
2506
  });
1996
2507
  const input_providers_length = input.providers.length;
1997
2508
  for (let i = 0; i < input_providers_length; i++) {
1998
- getTypeCacheKeys$4(rootKeySet, luvio, input.providers[i]);
2509
+ getTypeCacheKeys$6(rootKeySet, luvio, input.providers[i]);
1999
2510
  }
2000
2511
  }
2001
2512
 
@@ -2053,14 +2564,14 @@ const getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata = [
2053
2564
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2054
2565
  ];
2055
2566
  const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2056
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2567
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2057
2568
  function keyBuilder$4(luvio, config) {
2058
2569
  const resourceParams = createResourceParams$3(config);
2059
2570
  return keyBuilder$5(luvio, resourceParams);
2060
2571
  }
2061
2572
  function typeCheckConfig$3(untrustedConfig) {
2062
2573
  const config = {};
2063
- typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2574
+ typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2064
2575
  return config;
2065
2576
  }
2066
2577
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -2109,7 +2620,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
2109
2620
  });
2110
2621
  }
2111
2622
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2112
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
2623
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
2113
2624
  }
2114
2625
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2115
2626
  const { luvio, config } = context;
@@ -2214,7 +2725,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
2214
2725
  for (let i = 0; i < input_cleanroomSpecifications.length; i++) {
2215
2726
  const input_cleanroomSpecifications_item = input_cleanroomSpecifications[i];
2216
2727
  let input_cleanroomSpecifications_item_id = input_cleanroomSpecifications_id + '__' + i;
2217
- input_cleanroomSpecifications[i] = ingest$5(input_cleanroomSpecifications_item, {
2728
+ input_cleanroomSpecifications[i] = ingest$7(input_cleanroomSpecifications_item, {
2218
2729
  fullPath: input_cleanroomSpecifications_item_id,
2219
2730
  propertyName: i,
2220
2731
  parent: {
@@ -2237,7 +2748,7 @@ const select$4 = function DataCleanRoomSpecificationCollectionRepresentationSele
2237
2748
  name: 'cleanroomSpecifications',
2238
2749
  kind: 'Link',
2239
2750
  plural: true,
2240
- fragment: select$c()
2751
+ fragment: select$g()
2241
2752
  },
2242
2753
  {
2243
2754
  name: 'currentPageUrl',
@@ -2349,7 +2860,7 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
2349
2860
  });
2350
2861
  const input_cleanroomSpecifications_length = input.cleanroomSpecifications.length;
2351
2862
  for (let i = 0; i < input_cleanroomSpecifications_length; i++) {
2352
- getTypeCacheKeys$5(rootKeySet, luvio, input.cleanroomSpecifications[i]);
2863
+ getTypeCacheKeys$7(rootKeySet, luvio, input.cleanroomSpecifications[i]);
2353
2864
  }
2354
2865
  }
2355
2866
 
@@ -2407,14 +2918,14 @@ const getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata = [
2407
2918
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2408
2919
  ];
2409
2920
  const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2410
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2921
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2411
2922
  function keyBuilder$2(luvio, config) {
2412
2923
  const resourceParams = createResourceParams$2(config);
2413
2924
  return keyBuilder$3(luvio, resourceParams);
2414
2925
  }
2415
2926
  function typeCheckConfig$2(untrustedConfig) {
2416
2927
  const config = {};
2417
- typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2928
+ typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2418
2929
  return config;
2419
2930
  }
2420
2931
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -2463,7 +2974,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
2463
2974
  });
2464
2975
  }
2465
2976
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
2466
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
2977
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
2467
2978
  }
2468
2979
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
2469
2980
  const { luvio, config } = context;
@@ -2547,7 +3058,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
2547
3058
  for (let i = 0; i < obj_templates.length; i++) {
2548
3059
  const obj_templates_item = obj_templates[i];
2549
3060
  const path_templates_item = path_templates + '[' + i + ']';
2550
- const referencepath_templates_itemValidationError = validate$c(obj_templates_item, path_templates_item);
3061
+ const referencepath_templates_itemValidationError = validate$e(obj_templates_item, path_templates_item);
2551
3062
  if (referencepath_templates_itemValidationError !== null) {
2552
3063
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
2553
3064
  message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2657,14 +3168,14 @@ const getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata = [
2657
3168
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2658
3169
  ];
2659
3170
  const getDataCleanRoomTemplatePaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2660
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3171
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$b(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2661
3172
  function keyBuilder(luvio, config) {
2662
3173
  const resourceParams = createResourceParams$1(config);
2663
3174
  return keyBuilder$1(luvio, resourceParams);
2664
3175
  }
2665
3176
  function typeCheckConfig$1(untrustedConfig) {
2666
3177
  const config = {};
2667
- typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
3178
+ typeCheckConfig$b(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2668
3179
  return config;
2669
3180
  }
2670
3181
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -2713,7 +3224,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
2713
3224
  });
2714
3225
  }
2715
3226
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
2716
- return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
3227
+ return buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
2717
3228
  }
2718
3229
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
2719
3230
  const { luvio, config } = context;
@@ -2739,15 +3250,15 @@ const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function data
2739
3250
  };
2740
3251
 
2741
3252
  function select(luvio, params) {
2742
- return select$g();
3253
+ return select$k();
2743
3254
  }
2744
3255
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2745
- getTypeCacheKeys$7(storeKeyMap, luvio, response);
3256
+ getTypeCacheKeys$9(storeKeyMap, luvio, response);
2746
3257
  }
2747
3258
  function ingestSuccess(luvio, resourceParams, response) {
2748
3259
  const { body } = response;
2749
- const key = keyBuilderFromType$3(luvio, body);
2750
- luvio.storeIngest(key, ingest$7, body);
3260
+ const key = keyBuilderFromType$4(luvio, body);
3261
+ luvio.storeIngest(key, ingest$9, body);
2751
3262
  const snapshot = luvio.storeLookup({
2752
3263
  recordId: key,
2753
3264
  node: select(),
@@ -2781,10 +3292,10 @@ const rejectDataCleanRoomInvitation_ConfigPropertyMetadata = [
2781
3292
  generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
2782
3293
  ];
2783
3294
  const rejectDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2784
- const createResourceParams = /*#__PURE__*/ createResourceParams$9(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3295
+ const createResourceParams = /*#__PURE__*/ createResourceParams$b(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2785
3296
  function typeCheckConfig(untrustedConfig) {
2786
3297
  const config = {};
2787
- typeCheckConfig$9(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
3298
+ typeCheckConfig$b(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2788
3299
  return config;
2789
3300
  }
2790
3301
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -2833,16 +3344,23 @@ let acceptDataCleanRoomInvitation;
2833
3344
  let createDataCleanRoomCollaboration;
2834
3345
  let createDataCleanRoomSpecification;
2835
3346
  let createProvider;
3347
+ let executeDataCleanRoomQuery;
3348
+ let getAllDataCleanRoomQueryPaginated;
2836
3349
  let getAllDataCleanRoomsPaginated;
2837
3350
  let getDataCleanRoomProvidersPaginated;
2838
3351
  let getDataCleanRoomSpecificationsPaginated;
2839
3352
  let getDataCleanRoomTemplatePaginated;
2840
3353
  let rejectDataCleanRoomInvitation;
2841
3354
  // Imperative GET Adapters
3355
+ let getAllDataCleanRoomQueryPaginated_imperative;
2842
3356
  let getAllDataCleanRoomsPaginated_imperative;
2843
3357
  let getDataCleanRoomProvidersPaginated_imperative;
2844
3358
  let getDataCleanRoomSpecificationsPaginated_imperative;
2845
3359
  let getDataCleanRoomTemplatePaginated_imperative;
3360
+ const getAllDataCleanRoomQueryPaginatedMetadata = {
3361
+ apiFamily: 'dataclean-room',
3362
+ name: 'getAllDataCleanRoomQueryPaginated',
3363
+ };
2846
3364
  const getAllDataCleanRoomsPaginatedMetadata = {
2847
3365
  apiFamily: 'dataclean-room',
2848
3366
  name: 'getAllDataCleanRoomsPaginated',
@@ -2862,6 +3380,7 @@ const getDataCleanRoomTemplatePaginatedMetadata = {
2862
3380
  // Notify Update Available
2863
3381
  function bindExportsTo(luvio) {
2864
3382
  // LDS Adapters
3383
+ const getAllDataCleanRoomQueryPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getAllDataCleanRoomQueryPaginated', getAllDataCleanRoomQueryPaginatedAdapterFactory), getAllDataCleanRoomQueryPaginatedMetadata);
2865
3384
  const getAllDataCleanRoomsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getAllDataCleanRoomsPaginated', getAllDataCleanRoomsPaginatedAdapterFactory), getAllDataCleanRoomsPaginatedMetadata);
2866
3385
  const getDataCleanRoomProvidersPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomProvidersPaginated', getDataCleanRoomProvidersPaginatedAdapterFactory), getDataCleanRoomProvidersPaginatedMetadata);
2867
3386
  const getDataCleanRoomSpecificationsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomSpecificationsPaginated', getDataCleanRoomSpecificationsPaginatedAdapterFactory), getDataCleanRoomSpecificationsPaginatedMetadata);
@@ -2875,12 +3394,15 @@ function bindExportsTo(luvio) {
2875
3394
  createDataCleanRoomCollaboration: unwrapSnapshotData(createDataCleanRoomCollaborationAdapterFactory),
2876
3395
  createDataCleanRoomSpecification: unwrapSnapshotData(createDataCleanRoomSpecificationAdapterFactory),
2877
3396
  createProvider: unwrapSnapshotData(createProviderAdapterFactory),
3397
+ executeDataCleanRoomQuery: unwrapSnapshotData(executeDataCleanRoomQueryAdapterFactory),
3398
+ getAllDataCleanRoomQueryPaginated: createWireAdapterConstructor(luvio, getAllDataCleanRoomQueryPaginated_ldsAdapter, getAllDataCleanRoomQueryPaginatedMetadata),
2878
3399
  getAllDataCleanRoomsPaginated: createWireAdapterConstructor(luvio, getAllDataCleanRoomsPaginated_ldsAdapter, getAllDataCleanRoomsPaginatedMetadata),
2879
3400
  getDataCleanRoomProvidersPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
2880
3401
  getDataCleanRoomSpecificationsPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
2881
3402
  getDataCleanRoomTemplatePaginated: createWireAdapterConstructor(luvio, getDataCleanRoomTemplatePaginated_ldsAdapter, getDataCleanRoomTemplatePaginatedMetadata),
2882
3403
  rejectDataCleanRoomInvitation: unwrapSnapshotData(rejectDataCleanRoomInvitationAdapterFactory),
2883
3404
  // Imperative GET Adapters
3405
+ getAllDataCleanRoomQueryPaginated_imperative: createImperativeAdapter(luvio, getAllDataCleanRoomQueryPaginated_ldsAdapter, getAllDataCleanRoomQueryPaginatedMetadata),
2884
3406
  getAllDataCleanRoomsPaginated_imperative: createImperativeAdapter(luvio, getAllDataCleanRoomsPaginated_ldsAdapter, getAllDataCleanRoomsPaginatedMetadata),
2885
3407
  getDataCleanRoomProvidersPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
2886
3408
  getDataCleanRoomSpecificationsPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
@@ -2894,11 +3416,14 @@ withDefaultLuvio((luvio) => {
2894
3416
  createDataCleanRoomCollaboration,
2895
3417
  createDataCleanRoomSpecification,
2896
3418
  createProvider,
3419
+ executeDataCleanRoomQuery,
3420
+ getAllDataCleanRoomQueryPaginated,
2897
3421
  getAllDataCleanRoomsPaginated,
2898
3422
  getDataCleanRoomProvidersPaginated,
2899
3423
  getDataCleanRoomSpecificationsPaginated,
2900
3424
  getDataCleanRoomTemplatePaginated,
2901
3425
  rejectDataCleanRoomInvitation,
3426
+ getAllDataCleanRoomQueryPaginated_imperative,
2902
3427
  getAllDataCleanRoomsPaginated_imperative,
2903
3428
  getDataCleanRoomProvidersPaginated_imperative,
2904
3429
  getDataCleanRoomSpecificationsPaginated_imperative,
@@ -2906,5 +3431,5 @@ withDefaultLuvio((luvio) => {
2906
3431
  } = bindExportsTo(luvio));
2907
3432
  });
2908
3433
 
2909
- export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
2910
- // version: 1.354.0-dev7-4e860a7769
3434
+ export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
3435
+ // version: 1.354.0-dev9-c4f5ca8212