@salesforce/lds-adapters-cdp-data-clean-room 1.332.0-dev26 → 1.332.0-dev27

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 (27) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +1044 -307
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +17 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -1
  4. package/dist/es/es2018/types/src/generated/adapters/getAllDataCleanRoomsPaginated.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatePaginated.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/adapters/rejectDataCleanRoomInvitation.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -1
  9. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomCollaborations.d.ts +18 -0
  10. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomTemplates.d.ts +17 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -1
  12. package/dist/es/es2018/types/src/generated/resources/putSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +16 -0
  13. package/dist/es/es2018/types/src/generated/resources/putSsotDataCleanRoomCollaborationsActionsRejectInvitationByCollaborationIdOrApiName.d.ts +15 -0
  14. package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +3 -3
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationCollectionRepresentation.d.ts +44 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +1 -1
  18. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +6 -3
  19. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +3 -3
  20. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +14 -5
  21. package/dist/es/es2018/types/src/generated/types/DataCleanRoomRejectInvitationInputRepresentation.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateCollectionRepresentation.d.ts +44 -0
  23. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +3 -3
  24. package/package.json +3 -3
  25. package/sfdc/index.js +1164 -399
  26. package/src/raml/api.raml +156 -6
  27. package/src/raml/luvio.raml +24 -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$5, typeCheckConfig as typeCheckConfig$5, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$9, typeCheckConfig as typeCheckConfig$9, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$4 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,35 +102,8 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$b(obj, path = 'CdpUserRepresentation') {
106
- const v_error = (() => {
107
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
109
- }
110
- const obj_id = obj.id;
111
- const path_id = path + '.id';
112
- if (typeof obj_id !== 'string') {
113
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
114
- }
115
- if (obj.name !== undefined) {
116
- const obj_name = obj.name;
117
- const path_name = path + '.name';
118
- if (typeof obj_name !== 'string') {
119
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
120
- }
121
- }
122
- if (obj.profilePhotoUrl !== undefined) {
123
- const obj_profilePhotoUrl = obj.profilePhotoUrl;
124
- const path_profilePhotoUrl = path + '.profilePhotoUrl';
125
- if (typeof obj_profilePhotoUrl !== 'string') {
126
- return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
127
- }
128
- }
129
- })();
130
- return v_error === undefined ? null : v_error;
131
- }
132
-
133
- function validate$a(obj, path = 'DataCleanRoomMemberRepresentation') {
105
+ const VERSION$7 = "60e6b0a7bcb30c169435125696ac47b1";
106
+ function validate$d(obj, path = 'DataCleanRoomMemberRepresentation') {
134
107
  const v_error = (() => {
135
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
136
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -180,8 +153,178 @@ function validate$a(obj, path = 'DataCleanRoomMemberRepresentation') {
180
153
  })();
181
154
  return v_error === undefined ? null : v_error;
182
155
  }
156
+ const RepresentationType$7 = 'DataCleanRoomMemberRepresentation';
157
+ function keyBuilder$b(luvio, config) {
158
+ return keyPrefix + '::' + RepresentationType$7 + ':' + config.invitationId;
159
+ }
160
+ function keyBuilderFromType$3(luvio, object) {
161
+ const keyParams = {
162
+ invitationId: object.invitationId
163
+ };
164
+ return keyBuilder$b(luvio, keyParams);
165
+ }
166
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
167
+ return input;
168
+ }
169
+ const select$g = function DataCleanRoomMemberRepresentationSelect() {
170
+ return {
171
+ kind: 'Fragment',
172
+ version: VERSION$7,
173
+ private: [],
174
+ opaque: true
175
+ };
176
+ };
177
+ function equals$7(existing, incoming) {
178
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
179
+ return false;
180
+ }
181
+ return true;
182
+ }
183
+ const ingest$7 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
184
+ if (process.env.NODE_ENV !== 'production') {
185
+ const validateError = validate$d(input);
186
+ if (validateError !== null) {
187
+ throw validateError;
188
+ }
189
+ }
190
+ const key = keyBuilderFromType$3(luvio, input);
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);
193
+ return createLink(key);
194
+ };
195
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
196
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
197
+ const rootKey = keyBuilderFromType$3(luvio, input);
198
+ rootKeySet.set(rootKey, {
199
+ namespace: keyPrefix,
200
+ representationName: RepresentationType$7,
201
+ mergeable: false
202
+ });
203
+ }
204
+
205
+ function select$f(luvio, params) {
206
+ return select$g();
207
+ }
208
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
209
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
210
+ }
211
+ function ingestSuccess$8(luvio, resourceParams, response) {
212
+ const { body } = response;
213
+ const key = keyBuilderFromType$3(luvio, body);
214
+ luvio.storeIngest(key, ingest$7, body);
215
+ const snapshot = luvio.storeLookup({
216
+ recordId: key,
217
+ node: select$f(),
218
+ variables: {},
219
+ });
220
+ if (process.env.NODE_ENV !== 'production') {
221
+ if (snapshot.state !== 'Fulfilled') {
222
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
223
+ }
224
+ }
225
+ deepFreeze(snapshot.data);
226
+ return snapshot;
227
+ }
228
+ function createResourceRequest$8(config) {
229
+ const headers = {};
230
+ return {
231
+ baseUri: '/services/data/v63.0',
232
+ basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/accept-invitation',
233
+ method: 'put',
234
+ body: config.body,
235
+ urlParams: config.urlParams,
236
+ queryParams: {},
237
+ headers,
238
+ priority: 'normal',
239
+ };
240
+ }
241
+
242
+ const adapterName$8 = 'acceptDataCleanRoomInvitation';
243
+ const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
244
+ generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
245
+ generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
246
+ generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
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) {
251
+ const config = {};
252
+ typeCheckConfig$9(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
253
+ return config;
254
+ }
255
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
256
+ if (!untrustedIsObject(untrustedConfig)) {
257
+ return null;
258
+ }
259
+ if (process.env.NODE_ENV !== 'production') {
260
+ validateConfig(untrustedConfig, configPropertyNames);
261
+ }
262
+ const config = typeCheckConfig$8(untrustedConfig);
263
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
264
+ return null;
265
+ }
266
+ return config;
267
+ }
268
+ function buildNetworkSnapshot$8(luvio, config, options) {
269
+ const resourceParams = createResourceParams$8(config);
270
+ const request = createResourceRequest$8(resourceParams);
271
+ return luvio.dispatchResourceRequest(request, options)
272
+ .then((response) => {
273
+ return luvio.handleSuccessResponse(() => {
274
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
275
+ return luvio.storeBroadcast().then(() => snapshot);
276
+ }, () => {
277
+ const cache = new StoreKeyMap();
278
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
279
+ return cache;
280
+ });
281
+ }, (response) => {
282
+ deepFreeze(response);
283
+ throw response;
284
+ });
285
+ }
286
+ const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
287
+ return function acceptDataCleanRoomInvitation(untrustedConfig) {
288
+ const config = validateAdapterConfig$8(untrustedConfig, acceptDataCleanRoomInvitation_ConfigPropertyNames);
289
+ // Invalid or incomplete config
290
+ if (config === null) {
291
+ throw new Error('Invalid config for "acceptDataCleanRoomInvitation"');
292
+ }
293
+ return buildNetworkSnapshot$8(luvio, config);
294
+ };
295
+ };
296
+
297
+ function validate$c(obj, path = 'CdpUserRepresentation') {
298
+ const v_error = (() => {
299
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
300
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
301
+ }
302
+ if (obj.id !== undefined) {
303
+ const obj_id = obj.id;
304
+ const path_id = path + '.id';
305
+ if (typeof obj_id !== 'string') {
306
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
307
+ }
308
+ }
309
+ if (obj.name !== undefined) {
310
+ const obj_name = obj.name;
311
+ const path_name = path + '.name';
312
+ if (typeof obj_name !== 'string') {
313
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
314
+ }
315
+ }
316
+ if (obj.profilePhotoUrl !== undefined) {
317
+ const obj_profilePhotoUrl = obj.profilePhotoUrl;
318
+ const path_profilePhotoUrl = path + '.profilePhotoUrl';
319
+ if (typeof obj_profilePhotoUrl !== 'string') {
320
+ return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
321
+ }
322
+ }
323
+ })();
324
+ return v_error === undefined ? null : v_error;
325
+ }
183
326
 
184
- function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
327
+ function validate$b(obj, path = 'DataCleanRoomTemplateRepresentation') {
185
328
  const v_error = (() => {
186
329
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
187
330
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -194,7 +337,7 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
194
337
  if (obj.createdBy !== undefined) {
195
338
  const obj_createdBy = obj.createdBy;
196
339
  const path_createdBy = path + '.createdBy';
197
- const referencepath_createdByValidationError = validate$b(obj_createdBy, path_createdBy);
340
+ const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
198
341
  if (referencepath_createdByValidationError !== null) {
199
342
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
200
343
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -213,10 +356,12 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
213
356
  if (typeof obj_description !== 'string') {
214
357
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
215
358
  }
216
- const obj_id = obj.id;
217
- const path_id = path + '.id';
218
- if (typeof obj_id !== 'string') {
219
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
359
+ if (obj.id !== undefined) {
360
+ const obj_id = obj.id;
361
+ const path_id = path + '.id';
362
+ if (typeof obj_id !== 'string') {
363
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
364
+ }
220
365
  }
221
366
  if (obj.label !== undefined) {
222
367
  const obj_label = obj.label;
@@ -228,7 +373,7 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
228
373
  if (obj.lastModifiedBy !== undefined) {
229
374
  const obj_lastModifiedBy = obj.lastModifiedBy;
230
375
  const path_lastModifiedBy = path + '.lastModifiedBy';
231
- const referencepath_lastModifiedByValidationError = validate$b(obj_lastModifiedBy, path_lastModifiedBy);
376
+ const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
232
377
  if (referencepath_lastModifiedByValidationError !== null) {
233
378
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
234
379
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -272,16 +417,23 @@ function validate$9(obj, path = 'DataCleanRoomTemplateRepresentation') {
272
417
  return v_error === undefined ? null : v_error;
273
418
  }
274
419
 
275
- const VERSION$4 = "30341cb5fc17b6b6a436ef81c0f1def0";
276
- function validate$8(obj, path = 'DataCleanRoomCollaborationRepresentation') {
420
+ const VERSION$6 = "11bd9b71debcc363b339183bc8d65735";
421
+ function validate$a(obj, path = 'DataCleanRoomCollaborationRepresentation') {
277
422
  const v_error = (() => {
278
423
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
279
424
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
280
425
  }
426
+ if (obj.apiKey !== undefined) {
427
+ const obj_apiKey = obj.apiKey;
428
+ const path_apiKey = path + '.apiKey';
429
+ if (typeof obj_apiKey !== 'string') {
430
+ return new TypeError('Expected "string" but received "' + typeof obj_apiKey + '" (at "' + path_apiKey + '")');
431
+ }
432
+ }
281
433
  if (obj.createdBy !== undefined) {
282
434
  const obj_createdBy = obj.createdBy;
283
435
  const path_createdBy = path + '.createdBy';
284
- const referencepath_createdByValidationError = validate$b(obj_createdBy, path_createdBy);
436
+ const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
285
437
  if (referencepath_createdByValidationError !== null) {
286
438
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
287
439
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -324,7 +476,7 @@ function validate$8(obj, path = 'DataCleanRoomCollaborationRepresentation') {
324
476
  if (obj.lastModifiedBy !== undefined) {
325
477
  const obj_lastModifiedBy = obj.lastModifiedBy;
326
478
  const path_lastModifiedBy = path + '.lastModifiedBy';
327
- const referencepath_lastModifiedByValidationError = validate$b(obj_lastModifiedBy, path_lastModifiedBy);
479
+ const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
328
480
  if (referencepath_lastModifiedByValidationError !== null) {
329
481
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
330
482
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -346,7 +498,7 @@ function validate$8(obj, path = 'DataCleanRoomCollaborationRepresentation') {
346
498
  for (let i = 0; i < obj_members.length; i++) {
347
499
  const obj_members_item = obj_members[i];
348
500
  const path_members_item = path_members + '[' + i + ']';
349
- const referencepath_members_itemValidationError = validate$a(obj_members_item, path_members_item);
501
+ const referencepath_members_itemValidationError = validate$d(obj_members_item, path_members_item);
350
502
  if (referencepath_members_itemValidationError !== null) {
351
503
  let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
352
504
  message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -374,7 +526,7 @@ function validate$8(obj, path = 'DataCleanRoomCollaborationRepresentation') {
374
526
  }
375
527
  const obj_templateVersion = obj.templateVersion;
376
528
  const path_templateVersion = path + '.templateVersion';
377
- const referencepath_templateVersionValidationError = validate$9(obj_templateVersion, path_templateVersion);
529
+ const referencepath_templateVersionValidationError = validate$b(obj_templateVersion, path_templateVersion);
378
530
  if (referencepath_templateVersionValidationError !== null) {
379
531
  let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
380
532
  message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -390,68 +542,68 @@ function validate$8(obj, path = 'DataCleanRoomCollaborationRepresentation') {
390
542
  })();
391
543
  return v_error === undefined ? null : v_error;
392
544
  }
393
- const RepresentationType$4 = 'DataCleanRoomCollaborationRepresentation';
394
- function keyBuilder$6(luvio, config) {
395
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
545
+ const RepresentationType$6 = 'DataCleanRoomCollaborationRepresentation';
546
+ function keyBuilder$a(luvio, config) {
547
+ return keyPrefix + '::' + RepresentationType$6 + ':' + config.id;
396
548
  }
397
549
  function keyBuilderFromType$2(luvio, object) {
398
550
  const keyParams = {
399
551
  id: object.id
400
552
  };
401
- return keyBuilder$6(luvio, keyParams);
553
+ return keyBuilder$a(luvio, keyParams);
402
554
  }
403
- function normalize$4(input, existing, path, luvio, store, timestamp) {
555
+ function normalize$6(input, existing, path, luvio, store, timestamp) {
404
556
  return input;
405
557
  }
406
- const select$9 = function DataCleanRoomCollaborationRepresentationSelect() {
558
+ const select$e = function DataCleanRoomCollaborationRepresentationSelect() {
407
559
  return {
408
560
  kind: 'Fragment',
409
- version: VERSION$4,
561
+ version: VERSION$6,
410
562
  private: [],
411
563
  opaque: true
412
564
  };
413
565
  };
414
- function equals$4(existing, incoming) {
566
+ function equals$6(existing, incoming) {
415
567
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
416
568
  return false;
417
569
  }
418
570
  return true;
419
571
  }
420
- const ingest$4 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
572
+ const ingest$6 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
421
573
  if (process.env.NODE_ENV !== 'production') {
422
- const validateError = validate$8(input);
574
+ const validateError = validate$a(input);
423
575
  if (validateError !== null) {
424
576
  throw validateError;
425
577
  }
426
578
  }
427
579
  const key = keyBuilderFromType$2(luvio, input);
428
580
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
429
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-clean-room", VERSION$4, RepresentationType$4, equals$4);
581
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-clean-room", VERSION$6, RepresentationType$6, equals$6);
430
582
  return createLink(key);
431
583
  };
432
- function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
584
+ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
433
585
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
434
586
  const rootKey = keyBuilderFromType$2(luvio, input);
435
587
  rootKeySet.set(rootKey, {
436
588
  namespace: keyPrefix,
437
- representationName: RepresentationType$4,
589
+ representationName: RepresentationType$6,
438
590
  mergeable: false
439
591
  });
440
592
  }
441
593
 
442
- function select$8(luvio, params) {
443
- return select$9();
594
+ function select$d(luvio, params) {
595
+ return select$e();
444
596
  }
445
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
446
- getTypeCacheKeys$4(storeKeyMap, luvio, response);
597
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
598
+ getTypeCacheKeys$6(storeKeyMap, luvio, response);
447
599
  }
448
- function ingestSuccess$4(luvio, resourceParams, response) {
600
+ function ingestSuccess$7(luvio, resourceParams, response) {
449
601
  const { body } = response;
450
602
  const key = keyBuilderFromType$2(luvio, body);
451
- luvio.storeIngest(key, ingest$4, body);
603
+ luvio.storeIngest(key, ingest$6, body);
452
604
  const snapshot = luvio.storeLookup({
453
605
  recordId: key,
454
- node: select$8(),
606
+ node: select$d(),
455
607
  variables: {},
456
608
  });
457
609
  if (process.env.NODE_ENV !== 'production') {
@@ -462,7 +614,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
462
614
  deepFreeze(snapshot.data);
463
615
  return snapshot;
464
616
  }
465
- function createResourceRequest$4(config) {
617
+ function createResourceRequest$7(config) {
466
618
  const headers = {};
467
619
  return {
468
620
  baseUri: '/services/data/v63.0',
@@ -476,7 +628,7 @@ function createResourceRequest$4(config) {
476
628
  };
477
629
  }
478
630
 
479
- const adapterName$4 = 'createDataCleanRoomCollaboration';
631
+ const adapterName$7 = 'createDataCleanRoomCollaboration';
480
632
  const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
481
633
  generateParamConfigMetadata('apiKey', false, 2 /* Body */, 0 /* String */),
482
634
  generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
@@ -486,37 +638,37 @@ const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
486
638
  generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
487
639
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
488
640
  ];
489
- const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
490
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$5(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
491
- function typeCheckConfig$4(untrustedConfig) {
641
+ const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
642
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
643
+ function typeCheckConfig$7(untrustedConfig) {
492
644
  const config = {};
493
- typeCheckConfig$5(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
645
+ typeCheckConfig$9(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
494
646
  return config;
495
647
  }
496
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
648
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
497
649
  if (!untrustedIsObject(untrustedConfig)) {
498
650
  return null;
499
651
  }
500
652
  if (process.env.NODE_ENV !== 'production') {
501
653
  validateConfig(untrustedConfig, configPropertyNames);
502
654
  }
503
- const config = typeCheckConfig$4(untrustedConfig);
655
+ const config = typeCheckConfig$7(untrustedConfig);
504
656
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
505
657
  return null;
506
658
  }
507
659
  return config;
508
660
  }
509
- function buildNetworkSnapshot$4(luvio, config, options) {
510
- const resourceParams = createResourceParams$4(config);
511
- const request = createResourceRequest$4(resourceParams);
661
+ function buildNetworkSnapshot$7(luvio, config, options) {
662
+ const resourceParams = createResourceParams$7(config);
663
+ const request = createResourceRequest$7(resourceParams);
512
664
  return luvio.dispatchResourceRequest(request, options)
513
665
  .then((response) => {
514
666
  return luvio.handleSuccessResponse(() => {
515
- const snapshot = ingestSuccess$4(luvio, resourceParams, response);
667
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response);
516
668
  return luvio.storeBroadcast().then(() => snapshot);
517
669
  }, () => {
518
670
  const cache = new StoreKeyMap();
519
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
671
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
520
672
  return cache;
521
673
  });
522
674
  }, (response) => {
@@ -526,16 +678,16 @@ function buildNetworkSnapshot$4(luvio, config, options) {
526
678
  }
527
679
  const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
528
680
  return function createDataCleanRoomCollaboration(untrustedConfig) {
529
- const config = validateAdapterConfig$4(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
681
+ const config = validateAdapterConfig$7(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
530
682
  // Invalid or incomplete config
531
683
  if (config === null) {
532
684
  throw new Error('Invalid config for "createDataCleanRoomCollaboration"');
533
685
  }
534
- return buildNetworkSnapshot$4(luvio, config);
686
+ return buildNetworkSnapshot$7(luvio, config);
535
687
  };
536
688
  };
537
689
 
538
- function validate$7(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
690
+ function validate$9(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
539
691
  const v_error = (() => {
540
692
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
541
693
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -554,7 +706,7 @@ function validate$7(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
554
706
  return v_error === undefined ? null : v_error;
555
707
  }
556
708
 
557
- function validate$6(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
709
+ function validate$8(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
558
710
  const v_error = (() => {
559
711
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
560
712
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -583,7 +735,7 @@ function validate$6(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
583
735
  return v_error === undefined ? null : v_error;
584
736
  }
585
737
 
586
- function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
738
+ function validate$7(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
587
739
  const v_error = (() => {
588
740
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
589
741
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -603,7 +755,7 @@ function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
603
755
  if (obj.createdBy !== undefined) {
604
756
  const obj_createdBy = obj.createdBy;
605
757
  const path_createdBy = path + '.createdBy';
606
- const referencepath_createdByValidationError = validate$b(obj_createdBy, path_createdBy);
758
+ const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
607
759
  if (referencepath_createdByValidationError !== null) {
608
760
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
609
761
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -620,7 +772,7 @@ function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
620
772
  if (obj.dataMapping !== undefined) {
621
773
  const obj_dataMapping = obj.dataMapping;
622
774
  const path_dataMapping = path + '.dataMapping';
623
- const referencepath_dataMappingValidationError = validate$4(obj_dataMapping, path_dataMapping);
775
+ const referencepath_dataMappingValidationError = validate$6(obj_dataMapping, path_dataMapping);
624
776
  if (referencepath_dataMappingValidationError !== null) {
625
777
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
626
778
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -644,7 +796,7 @@ function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
644
796
  if (obj.lastModifiedBy !== undefined) {
645
797
  const obj_lastModifiedBy = obj.lastModifiedBy;
646
798
  const path_lastModifiedBy = path + '.lastModifiedBy';
647
- const referencepath_lastModifiedByValidationError = validate$b(obj_lastModifiedBy, path_lastModifiedBy);
799
+ const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
648
800
  if (referencepath_lastModifiedByValidationError !== null) {
649
801
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
650
802
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -680,7 +832,7 @@ function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
680
832
  for (let i = 0; i < obj_path.length; i++) {
681
833
  const obj_path_item = obj_path[i];
682
834
  const path_path_item = path_path + '[' + i + ']';
683
- const referencepath_path_itemValidationError = validate$7(obj_path_item, path_path_item);
835
+ const referencepath_path_itemValidationError = validate$9(obj_path_item, path_path_item);
684
836
  if (referencepath_path_itemValidationError !== null) {
685
837
  let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
686
838
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -689,7 +841,7 @@ function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
689
841
  }
690
842
  const obj_subjectAttribute = obj.subjectAttribute;
691
843
  const path_subjectAttribute = path + '.subjectAttribute';
692
- const referencepath_subjectAttributeValidationError = validate$6(obj_subjectAttribute, path_subjectAttribute);
844
+ const referencepath_subjectAttributeValidationError = validate$8(obj_subjectAttribute, path_subjectAttribute);
693
845
  if (referencepath_subjectAttributeValidationError !== null) {
694
846
  let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
695
847
  message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -706,7 +858,7 @@ function validate$5(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
706
858
  return v_error === undefined ? null : v_error;
707
859
  }
708
860
 
709
- function validate$4(obj, path = 'UseCaseTemplateMappingRepresentation') {
861
+ function validate$6(obj, path = 'UseCaseTemplateMappingRepresentation') {
710
862
  const v_error = (() => {
711
863
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
712
864
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -719,7 +871,7 @@ function validate$4(obj, path = 'UseCaseTemplateMappingRepresentation') {
719
871
  for (let i = 0; i < obj_attributes.length; i++) {
720
872
  const obj_attributes_item = obj_attributes[i];
721
873
  const path_attributes_item = path_attributes + '[' + i + ']';
722
- const referencepath_attributes_itemValidationError = validate$5(obj_attributes_item, path_attributes_item);
874
+ const referencepath_attributes_itemValidationError = validate$7(obj_attributes_item, path_attributes_item);
723
875
  if (referencepath_attributes_itemValidationError !== null) {
724
876
  let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
725
877
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -734,7 +886,7 @@ function validate$4(obj, path = 'UseCaseTemplateMappingRepresentation') {
734
886
  if (obj.createdBy !== undefined) {
735
887
  const obj_createdBy = obj.createdBy;
736
888
  const path_createdBy = path + '.createdBy';
737
- const referencepath_createdByValidationError = validate$b(obj_createdBy, path_createdBy);
889
+ const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
738
890
  if (referencepath_createdByValidationError !== null) {
739
891
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
740
892
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -765,7 +917,7 @@ function validate$4(obj, path = 'UseCaseTemplateMappingRepresentation') {
765
917
  if (obj.lastModifiedBy !== undefined) {
766
918
  const obj_lastModifiedBy = obj.lastModifiedBy;
767
919
  const path_lastModifiedBy = path + '.lastModifiedBy';
768
- const referencepath_lastModifiedByValidationError = validate$b(obj_lastModifiedBy, path_lastModifiedBy);
920
+ const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
769
921
  if (referencepath_lastModifiedByValidationError !== null) {
770
922
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
771
923
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -804,8 +956,8 @@ function validate$4(obj, path = 'UseCaseTemplateMappingRepresentation') {
804
956
  return v_error === undefined ? null : v_error;
805
957
  }
806
958
 
807
- const VERSION$3 = "422829d0bdee7c37a92811d97b2c7c2b";
808
- function validate$3(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
959
+ const VERSION$5 = "422829d0bdee7c37a92811d97b2c7c2b";
960
+ function validate$5(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
809
961
  const v_error = (() => {
810
962
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
811
963
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -813,7 +965,7 @@ function validate$3(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
813
965
  if (obj.createdBy !== undefined) {
814
966
  const obj_createdBy = obj.createdBy;
815
967
  const path_createdBy = path + '.createdBy';
816
- const referencepath_createdByValidationError = validate$b(obj_createdBy, path_createdBy);
968
+ const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
817
969
  if (referencepath_createdByValidationError !== null) {
818
970
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
819
971
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -829,7 +981,7 @@ function validate$3(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
829
981
  }
830
982
  const obj_dataMapping = obj.dataMapping;
831
983
  const path_dataMapping = path + '.dataMapping';
832
- const referencepath_dataMappingValidationError = validate$4(obj_dataMapping, path_dataMapping);
984
+ const referencepath_dataMappingValidationError = validate$6(obj_dataMapping, path_dataMapping);
833
985
  if (referencepath_dataMappingValidationError !== null) {
834
986
  let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
835
987
  message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -860,7 +1012,7 @@ function validate$3(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
860
1012
  if (obj.lastModifiedBy !== undefined) {
861
1013
  const obj_lastModifiedBy = obj.lastModifiedBy;
862
1014
  const path_lastModifiedBy = path + '.lastModifiedBy';
863
- const referencepath_lastModifiedByValidationError = validate$b(obj_lastModifiedBy, path_lastModifiedBy);
1015
+ const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
864
1016
  if (referencepath_lastModifiedByValidationError !== null) {
865
1017
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
866
1018
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -920,68 +1072,68 @@ function validate$3(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
920
1072
  })();
921
1073
  return v_error === undefined ? null : v_error;
922
1074
  }
923
- const RepresentationType$3 = 'DataCleanRoomDataSpecificationRepresentation';
924
- function keyBuilder$5(luvio, config) {
925
- return keyPrefix + '::' + RepresentationType$3 + ':' + config.id;
1075
+ const RepresentationType$5 = 'DataCleanRoomDataSpecificationRepresentation';
1076
+ function keyBuilder$9(luvio, config) {
1077
+ return keyPrefix + '::' + RepresentationType$5 + ':' + config.id;
926
1078
  }
927
1079
  function keyBuilderFromType$1(luvio, object) {
928
1080
  const keyParams = {
929
1081
  id: object.id
930
1082
  };
931
- return keyBuilder$5(luvio, keyParams);
1083
+ return keyBuilder$9(luvio, keyParams);
932
1084
  }
933
- function normalize$3(input, existing, path, luvio, store, timestamp) {
1085
+ function normalize$5(input, existing, path, luvio, store, timestamp) {
934
1086
  return input;
935
1087
  }
936
- const select$7 = function DataCleanRoomDataSpecificationRepresentationSelect() {
1088
+ const select$c = function DataCleanRoomDataSpecificationRepresentationSelect() {
937
1089
  return {
938
1090
  kind: 'Fragment',
939
- version: VERSION$3,
1091
+ version: VERSION$5,
940
1092
  private: [],
941
1093
  opaque: true
942
1094
  };
943
1095
  };
944
- function equals$3(existing, incoming) {
1096
+ function equals$5(existing, incoming) {
945
1097
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
946
1098
  return false;
947
1099
  }
948
1100
  return true;
949
1101
  }
950
- const ingest$3 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
1102
+ const ingest$5 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
951
1103
  if (process.env.NODE_ENV !== 'production') {
952
- const validateError = validate$3(input);
1104
+ const validateError = validate$5(input);
953
1105
  if (validateError !== null) {
954
1106
  throw validateError;
955
1107
  }
956
1108
  }
957
1109
  const key = keyBuilderFromType$1(luvio, input);
958
1110
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
959
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "data-clean-room", VERSION$3, RepresentationType$3, equals$3);
1111
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-clean-room", VERSION$5, RepresentationType$5, equals$5);
960
1112
  return createLink(key);
961
1113
  };
962
- function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
1114
+ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
963
1115
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
964
1116
  const rootKey = keyBuilderFromType$1(luvio, input);
965
1117
  rootKeySet.set(rootKey, {
966
1118
  namespace: keyPrefix,
967
- representationName: RepresentationType$3,
1119
+ representationName: RepresentationType$5,
968
1120
  mergeable: false
969
1121
  });
970
1122
  }
971
1123
 
972
- function select$6(luvio, params) {
973
- return select$7();
1124
+ function select$b(luvio, params) {
1125
+ return select$c();
974
1126
  }
975
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
976
- getTypeCacheKeys$3(storeKeyMap, luvio, response);
1127
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1128
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
977
1129
  }
978
- function ingestSuccess$3(luvio, resourceParams, response) {
1130
+ function ingestSuccess$6(luvio, resourceParams, response) {
979
1131
  const { body } = response;
980
1132
  const key = keyBuilderFromType$1(luvio, body);
981
- luvio.storeIngest(key, ingest$3, body);
1133
+ luvio.storeIngest(key, ingest$5, body);
982
1134
  const snapshot = luvio.storeLookup({
983
1135
  recordId: key,
984
- node: select$6(),
1136
+ node: select$b(),
985
1137
  variables: {},
986
1138
  });
987
1139
  if (process.env.NODE_ENV !== 'production') {
@@ -992,7 +1144,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
992
1144
  deepFreeze(snapshot.data);
993
1145
  return snapshot;
994
1146
  }
995
- function createResourceRequest$3(config) {
1147
+ function createResourceRequest$6(config) {
996
1148
  const headers = {};
997
1149
  return {
998
1150
  baseUri: '/services/data/v63.0',
@@ -1006,9 +1158,9 @@ function createResourceRequest$3(config) {
1006
1158
  };
1007
1159
  }
1008
1160
 
1009
- const adapterName$3 = 'createDataCleanRoomSpecification';
1161
+ const adapterName$6 = 'createDataCleanRoomSpecification';
1010
1162
  const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
1011
- generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */, true),
1163
+ generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */),
1012
1164
  generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
1013
1165
  generateParamConfigMetadata('ownerOrgId', true, 2 /* Body */, 0 /* String */),
1014
1166
  generateParamConfigMetadata('templateName', true, 2 /* Body */, 0 /* String */),
@@ -1017,46 +1169,39 @@ const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
1017
1169
  generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
1018
1170
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1019
1171
  ];
1020
- const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1021
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$5(createDataCleanRoomSpecification_ConfigPropertyMetadata);
1022
- function typeCheckConfig$3(untrustedConfig) {
1172
+ const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1173
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$9(createDataCleanRoomSpecification_ConfigPropertyMetadata);
1174
+ function typeCheckConfig$6(untrustedConfig) {
1023
1175
  const config = {};
1024
- typeCheckConfig$5(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1176
+ typeCheckConfig$9(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
1025
1177
  const untrustedConfig_dataMapping = untrustedConfig.dataMapping;
1026
- if (ArrayIsArray$1(untrustedConfig_dataMapping)) {
1027
- const untrustedConfig_dataMapping_array = [];
1028
- for (let i = 0, arrayLength = untrustedConfig_dataMapping.length; i < arrayLength; i++) {
1029
- const untrustedConfig_dataMapping_item = untrustedConfig_dataMapping[i];
1030
- untrustedConfig_dataMapping_array.push(untrustedConfig_dataMapping_item);
1031
- }
1032
- config.dataMapping = untrustedConfig_dataMapping_array;
1033
- }
1178
+ config.dataMapping = untrustedConfig_dataMapping;
1034
1179
  return config;
1035
1180
  }
1036
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
1181
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
1037
1182
  if (!untrustedIsObject(untrustedConfig)) {
1038
1183
  return null;
1039
1184
  }
1040
1185
  if (process.env.NODE_ENV !== 'production') {
1041
1186
  validateConfig(untrustedConfig, configPropertyNames);
1042
1187
  }
1043
- const config = typeCheckConfig$3(untrustedConfig);
1188
+ const config = typeCheckConfig$6(untrustedConfig);
1044
1189
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1045
1190
  return null;
1046
1191
  }
1047
1192
  return config;
1048
1193
  }
1049
- function buildNetworkSnapshot$3(luvio, config, options) {
1050
- const resourceParams = createResourceParams$3(config);
1051
- const request = createResourceRequest$3(resourceParams);
1194
+ function buildNetworkSnapshot$6(luvio, config, options) {
1195
+ const resourceParams = createResourceParams$6(config);
1196
+ const request = createResourceRequest$6(resourceParams);
1052
1197
  return luvio.dispatchResourceRequest(request, options)
1053
1198
  .then((response) => {
1054
1199
  return luvio.handleSuccessResponse(() => {
1055
- const snapshot = ingestSuccess$3(luvio, resourceParams, response);
1200
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response);
1056
1201
  return luvio.storeBroadcast().then(() => snapshot);
1057
1202
  }, () => {
1058
1203
  const cache = new StoreKeyMap();
1059
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
1204
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
1060
1205
  return cache;
1061
1206
  });
1062
1207
  }, (response) => {
@@ -1066,17 +1211,17 @@ function buildNetworkSnapshot$3(luvio, config, options) {
1066
1211
  }
1067
1212
  const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
1068
1213
  return function createDataCleanRoomSpecification(untrustedConfig) {
1069
- const config = validateAdapterConfig$3(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
1214
+ const config = validateAdapterConfig$6(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
1070
1215
  // Invalid or incomplete config
1071
1216
  if (config === null) {
1072
1217
  throw new Error('Invalid config for "createDataCleanRoomSpecification"');
1073
1218
  }
1074
- return buildNetworkSnapshot$3(luvio, config);
1219
+ return buildNetworkSnapshot$6(luvio, config);
1075
1220
  };
1076
1221
  };
1077
1222
 
1078
- const VERSION$2 = "929b1bcf37fe62f914c2364146a0f5e6";
1079
- function validate$2(obj, path = 'DataCleanRoomProviderRepresentation') {
1223
+ const VERSION$4 = "929b1bcf37fe62f914c2364146a0f5e6";
1224
+ function validate$4(obj, path = 'DataCleanRoomProviderRepresentation') {
1080
1225
  const v_error = (() => {
1081
1226
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1082
1227
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1084,7 +1229,7 @@ function validate$2(obj, path = 'DataCleanRoomProviderRepresentation') {
1084
1229
  if (obj.createdBy !== undefined) {
1085
1230
  const obj_createdBy = obj.createdBy;
1086
1231
  const path_createdBy = path + '.createdBy';
1087
- const referencepath_createdByValidationError = validate$b(obj_createdBy, path_createdBy);
1232
+ const referencepath_createdByValidationError = validate$c(obj_createdBy, path_createdBy);
1088
1233
  if (referencepath_createdByValidationError !== null) {
1089
1234
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
1090
1235
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1123,7 +1268,7 @@ function validate$2(obj, path = 'DataCleanRoomProviderRepresentation') {
1123
1268
  if (obj.lastModifiedBy !== undefined) {
1124
1269
  const obj_lastModifiedBy = obj.lastModifiedBy;
1125
1270
  const path_lastModifiedBy = path + '.lastModifiedBy';
1126
- const referencepath_lastModifiedByValidationError = validate$b(obj_lastModifiedBy, path_lastModifiedBy);
1271
+ const referencepath_lastModifiedByValidationError = validate$c(obj_lastModifiedBy, path_lastModifiedBy);
1127
1272
  if (referencepath_lastModifiedByValidationError !== null) {
1128
1273
  let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
1129
1274
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1180,68 +1325,68 @@ function validate$2(obj, path = 'DataCleanRoomProviderRepresentation') {
1180
1325
  })();
1181
1326
  return v_error === undefined ? null : v_error;
1182
1327
  }
1183
- const RepresentationType$2 = 'DataCleanRoomProviderRepresentation';
1184
- function keyBuilder$4(luvio, config) {
1185
- return keyPrefix + '::' + RepresentationType$2 + ':' + config.id;
1328
+ const RepresentationType$4 = 'DataCleanRoomProviderRepresentation';
1329
+ function keyBuilder$8(luvio, config) {
1330
+ return keyPrefix + '::' + RepresentationType$4 + ':' + config.id;
1186
1331
  }
1187
1332
  function keyBuilderFromType(luvio, object) {
1188
1333
  const keyParams = {
1189
1334
  id: object.id
1190
1335
  };
1191
- return keyBuilder$4(luvio, keyParams);
1336
+ return keyBuilder$8(luvio, keyParams);
1192
1337
  }
1193
- function normalize$2(input, existing, path, luvio, store, timestamp) {
1338
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
1194
1339
  return input;
1195
1340
  }
1196
- const select$5 = function DataCleanRoomProviderRepresentationSelect() {
1341
+ const select$a = function DataCleanRoomProviderRepresentationSelect() {
1197
1342
  return {
1198
1343
  kind: 'Fragment',
1199
- version: VERSION$2,
1344
+ version: VERSION$4,
1200
1345
  private: [],
1201
1346
  opaque: true
1202
1347
  };
1203
1348
  };
1204
- function equals$2(existing, incoming) {
1349
+ function equals$4(existing, incoming) {
1205
1350
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1206
1351
  return false;
1207
1352
  }
1208
1353
  return true;
1209
1354
  }
1210
- const ingest$2 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
1355
+ const ingest$4 = function DataCleanRoomProviderRepresentationIngest(input, path, luvio, store, timestamp) {
1211
1356
  if (process.env.NODE_ENV !== 'production') {
1212
- const validateError = validate$2(input);
1357
+ const validateError = validate$4(input);
1213
1358
  if (validateError !== null) {
1214
1359
  throw validateError;
1215
1360
  }
1216
1361
  }
1217
1362
  const key = keyBuilderFromType(luvio, input);
1218
1363
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1219
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "data-clean-room", VERSION$2, RepresentationType$2, equals$2);
1364
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-clean-room", VERSION$4, RepresentationType$4, equals$4);
1220
1365
  return createLink(key);
1221
1366
  };
1222
- function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1367
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1223
1368
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1224
1369
  const rootKey = keyBuilderFromType(luvio, input);
1225
1370
  rootKeySet.set(rootKey, {
1226
1371
  namespace: keyPrefix,
1227
- representationName: RepresentationType$2,
1372
+ representationName: RepresentationType$4,
1228
1373
  mergeable: false
1229
1374
  });
1230
1375
  }
1231
1376
 
1232
- function select$4(luvio, params) {
1233
- return select$5();
1377
+ function select$9(luvio, params) {
1378
+ return select$a();
1234
1379
  }
1235
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
1236
- getTypeCacheKeys$2(storeKeyMap, luvio, response);
1380
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1381
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
1237
1382
  }
1238
- function ingestSuccess$2(luvio, resourceParams, response) {
1383
+ function ingestSuccess$5(luvio, resourceParams, response) {
1239
1384
  const { body } = response;
1240
1385
  const key = keyBuilderFromType(luvio, body);
1241
- luvio.storeIngest(key, ingest$2, body);
1386
+ luvio.storeIngest(key, ingest$4, body);
1242
1387
  const snapshot = luvio.storeLookup({
1243
1388
  recordId: key,
1244
- node: select$4(),
1389
+ node: select$9(),
1245
1390
  variables: {},
1246
1391
  });
1247
1392
  if (process.env.NODE_ENV !== 'production') {
@@ -1252,7 +1397,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
1252
1397
  deepFreeze(snapshot.data);
1253
1398
  return snapshot;
1254
1399
  }
1255
- function createResourceRequest$2(config) {
1400
+ function createResourceRequest$5(config) {
1256
1401
  const headers = {};
1257
1402
  return {
1258
1403
  baseUri: '/services/data/v63.0',
@@ -1266,7 +1411,7 @@ function createResourceRequest$2(config) {
1266
1411
  };
1267
1412
  }
1268
1413
 
1269
- const adapterName$2 = 'createProvider';
1414
+ const adapterName$5 = 'createProvider';
1270
1415
  const createProvider_ConfigPropertyMetadata = [
1271
1416
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
1272
1417
  generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
@@ -1276,37 +1421,37 @@ const createProvider_ConfigPropertyMetadata = [
1276
1421
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1277
1422
  generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
1278
1423
  ];
1279
- const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createProvider_ConfigPropertyMetadata);
1280
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$5(createProvider_ConfigPropertyMetadata);
1281
- function typeCheckConfig$2(untrustedConfig) {
1424
+ const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createProvider_ConfigPropertyMetadata);
1425
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$9(createProvider_ConfigPropertyMetadata);
1426
+ function typeCheckConfig$5(untrustedConfig) {
1282
1427
  const config = {};
1283
- typeCheckConfig$5(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1428
+ typeCheckConfig$9(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
1284
1429
  return config;
1285
1430
  }
1286
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1431
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
1287
1432
  if (!untrustedIsObject(untrustedConfig)) {
1288
1433
  return null;
1289
1434
  }
1290
1435
  if (process.env.NODE_ENV !== 'production') {
1291
1436
  validateConfig(untrustedConfig, configPropertyNames);
1292
1437
  }
1293
- const config = typeCheckConfig$2(untrustedConfig);
1438
+ const config = typeCheckConfig$5(untrustedConfig);
1294
1439
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1295
1440
  return null;
1296
1441
  }
1297
1442
  return config;
1298
1443
  }
1299
- function buildNetworkSnapshot$2(luvio, config, options) {
1300
- const resourceParams = createResourceParams$2(config);
1301
- const request = createResourceRequest$2(resourceParams);
1444
+ function buildNetworkSnapshot$5(luvio, config, options) {
1445
+ const resourceParams = createResourceParams$5(config);
1446
+ const request = createResourceRequest$5(resourceParams);
1302
1447
  return luvio.dispatchResourceRequest(request, options)
1303
1448
  .then((response) => {
1304
1449
  return luvio.handleSuccessResponse(() => {
1305
- const snapshot = ingestSuccess$2(luvio, resourceParams, response);
1450
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response);
1306
1451
  return luvio.storeBroadcast().then(() => snapshot);
1307
1452
  }, () => {
1308
1453
  const cache = new StoreKeyMap();
1309
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1454
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
1310
1455
  return cache;
1311
1456
  });
1312
1457
  }, (response) => {
@@ -1316,21 +1461,36 @@ function buildNetworkSnapshot$2(luvio, config, options) {
1316
1461
  }
1317
1462
  const createProviderAdapterFactory = (luvio) => {
1318
1463
  return function createProvider(untrustedConfig) {
1319
- const config = validateAdapterConfig$2(untrustedConfig, createProvider_ConfigPropertyNames);
1464
+ const config = validateAdapterConfig$5(untrustedConfig, createProvider_ConfigPropertyNames);
1320
1465
  // Invalid or incomplete config
1321
1466
  if (config === null) {
1322
1467
  throw new Error('Invalid config for "createProvider"');
1323
1468
  }
1324
- return buildNetworkSnapshot$2(luvio, config);
1469
+ return buildNetworkSnapshot$5(luvio, config);
1325
1470
  };
1326
1471
  };
1327
1472
 
1328
- const VERSION$1 = "52237eeecd4f8f11ae22e265d9abe5ca";
1329
- function validate$1(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
1473
+ const VERSION$3 = "9e5eddaaa3330278c7aa483af5dc8d74";
1474
+ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentation') {
1330
1475
  const v_error = (() => {
1331
1476
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1332
1477
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1333
1478
  }
1479
+ const obj_collaborations = obj.collaborations;
1480
+ const path_collaborations = path + '.collaborations';
1481
+ if (!ArrayIsArray(obj_collaborations)) {
1482
+ return new TypeError('Expected "array" but received "' + typeof obj_collaborations + '" (at "' + path_collaborations + '")');
1483
+ }
1484
+ for (let i = 0; i < obj_collaborations.length; i++) {
1485
+ const obj_collaborations_item = obj_collaborations[i];
1486
+ const path_collaborations_item = path_collaborations + '[' + i + ']';
1487
+ const referencepath_collaborations_itemValidationError = validate$a(obj_collaborations_item, path_collaborations_item);
1488
+ if (referencepath_collaborations_itemValidationError !== null) {
1489
+ let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
1490
+ message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1491
+ return new TypeError(message);
1492
+ }
1493
+ }
1334
1494
  if (obj.currentPageUrl !== undefined) {
1335
1495
  const obj_currentPageUrl = obj.currentPageUrl;
1336
1496
  const path_currentPageUrl = path + '.currentPageUrl';
@@ -1338,12 +1498,10 @@ function validate$1(obj, path = 'DataCleanRoomProviderCollectionRepresentation')
1338
1498
  return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
1339
1499
  }
1340
1500
  }
1341
- if (obj.limit !== undefined) {
1342
- const obj_limit = obj.limit;
1343
- const path_limit = path + '.limit';
1344
- if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
1345
- return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
1346
- }
1501
+ const obj_limit = obj.limit;
1502
+ const path_limit = path + '.limit';
1503
+ if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
1504
+ return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
1347
1505
  }
1348
1506
  if (obj.nextPageUrl !== undefined) {
1349
1507
  const obj_nextPageUrl = obj.nextPageUrl;
@@ -1373,16 +1531,254 @@ function validate$1(obj, path = 'DataCleanRoomProviderCollectionRepresentation')
1373
1531
  return new TypeError(message);
1374
1532
  }
1375
1533
  }
1376
- if (obj.offset !== undefined) {
1377
- const obj_offset = obj.offset;
1378
- const path_offset = path + '.offset';
1379
- if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
1380
- return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
1534
+ const obj_offset = obj.offset;
1535
+ const path_offset = path + '.offset';
1536
+ if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
1537
+ return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
1538
+ }
1539
+ if (obj.totalSize !== undefined) {
1540
+ const obj_totalSize = obj.totalSize;
1541
+ const path_totalSize = path + '.totalSize';
1542
+ if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
1543
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
1381
1544
  }
1382
1545
  }
1383
- const obj_providers = obj.providers;
1384
- const path_providers = path + '.providers';
1385
- if (!ArrayIsArray(obj_providers)) {
1546
+ })();
1547
+ return v_error === undefined ? null : v_error;
1548
+ }
1549
+ const RepresentationType$3 = 'DataCleanRoomCollaborationCollectionRepresentation';
1550
+ function normalize$3(input, existing, path, luvio, store, timestamp) {
1551
+ return input;
1552
+ }
1553
+ const select$8 = function DataCleanRoomCollaborationCollectionRepresentationSelect() {
1554
+ return {
1555
+ kind: 'Fragment',
1556
+ version: VERSION$3,
1557
+ private: [],
1558
+ opaque: true
1559
+ };
1560
+ };
1561
+ function equals$3(existing, incoming) {
1562
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1563
+ return false;
1564
+ }
1565
+ return true;
1566
+ }
1567
+ const ingest$3 = function DataCleanRoomCollaborationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1568
+ if (process.env.NODE_ENV !== 'production') {
1569
+ const validateError = validate$3(input);
1570
+ if (validateError !== null) {
1571
+ throw validateError;
1572
+ }
1573
+ }
1574
+ const key = path.fullPath;
1575
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1576
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "data-clean-room", VERSION$3, RepresentationType$3, equals$3);
1577
+ return createLink(key);
1578
+ };
1579
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
1580
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1581
+ const rootKey = fullPathFactory();
1582
+ rootKeySet.set(rootKey, {
1583
+ namespace: keyPrefix,
1584
+ representationName: RepresentationType$3,
1585
+ mergeable: false
1586
+ });
1587
+ }
1588
+
1589
+ function select$7(luvio, params) {
1590
+ return select$8();
1591
+ }
1592
+ function keyBuilder$7(luvio, params) {
1593
+ return keyPrefix + '::DataCleanRoomCollaborationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1594
+ }
1595
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
1596
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
1597
+ }
1598
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
1599
+ const { body } = response;
1600
+ const key = keyBuilder$7(luvio, resourceParams);
1601
+ luvio.storeIngest(key, ingest$3, body);
1602
+ const snapshot = luvio.storeLookup({
1603
+ recordId: key,
1604
+ node: select$7(),
1605
+ variables: {},
1606
+ }, snapshotRefresh);
1607
+ if (process.env.NODE_ENV !== 'production') {
1608
+ if (snapshot.state !== 'Fulfilled') {
1609
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1610
+ }
1611
+ }
1612
+ deepFreeze(snapshot.data);
1613
+ return snapshot;
1614
+ }
1615
+ function ingestError$3(luvio, params, error, snapshotRefresh) {
1616
+ const key = keyBuilder$7(luvio, params);
1617
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1618
+ luvio.storeIngestError(key, errorSnapshot);
1619
+ return errorSnapshot;
1620
+ }
1621
+ function createResourceRequest$4(config) {
1622
+ const headers = {};
1623
+ return {
1624
+ baseUri: '/services/data/v63.0',
1625
+ basePath: '/ssot/data-clean-room/collaborations',
1626
+ method: 'get',
1627
+ body: null,
1628
+ urlParams: {},
1629
+ queryParams: config.queryParams,
1630
+ headers,
1631
+ priority: 'normal',
1632
+ };
1633
+ }
1634
+
1635
+ const adapterName$4 = 'getAllDataCleanRoomsPaginated';
1636
+ const getAllDataCleanRoomsPaginated_ConfigPropertyMetadata = [
1637
+ generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
1638
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1639
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1640
+ generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1641
+ ];
1642
+ const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1643
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$9(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1644
+ function keyBuilder$6(luvio, config) {
1645
+ const resourceParams = createResourceParams$4(config);
1646
+ return keyBuilder$7(luvio, resourceParams);
1647
+ }
1648
+ function typeCheckConfig$4(untrustedConfig) {
1649
+ const config = {};
1650
+ typeCheckConfig$9(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
1651
+ return config;
1652
+ }
1653
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
1654
+ if (!untrustedIsObject(untrustedConfig)) {
1655
+ return null;
1656
+ }
1657
+ if (process.env.NODE_ENV !== 'production') {
1658
+ validateConfig(untrustedConfig, configPropertyNames);
1659
+ }
1660
+ const config = typeCheckConfig$4(untrustedConfig);
1661
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
1662
+ return null;
1663
+ }
1664
+ return config;
1665
+ }
1666
+ function adapterFragment$3(luvio, config) {
1667
+ createResourceParams$4(config);
1668
+ return select$7();
1669
+ }
1670
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
1671
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
1672
+ config,
1673
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
1674
+ });
1675
+ return luvio.storeBroadcast().then(() => snapshot);
1676
+ }
1677
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
1678
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
1679
+ config,
1680
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
1681
+ });
1682
+ return luvio.storeBroadcast().then(() => snapshot);
1683
+ }
1684
+ function buildNetworkSnapshot$4(luvio, config, options) {
1685
+ const resourceParams = createResourceParams$4(config);
1686
+ const request = createResourceRequest$4(resourceParams);
1687
+ return luvio.dispatchResourceRequest(request, options)
1688
+ .then((response) => {
1689
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
1690
+ const cache = new StoreKeyMap();
1691
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
1692
+ return cache;
1693
+ });
1694
+ }, (response) => {
1695
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
1696
+ });
1697
+ }
1698
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
1699
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
1700
+ }
1701
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
1702
+ const { luvio, config } = context;
1703
+ const selector = {
1704
+ recordId: keyBuilder$6(luvio, config),
1705
+ node: adapterFragment$3(luvio, config),
1706
+ variables: {},
1707
+ };
1708
+ const cacheSnapshot = storeLookup(selector, {
1709
+ config,
1710
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
1711
+ });
1712
+ return cacheSnapshot;
1713
+ }
1714
+ const getAllDataCleanRoomsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomsPaginated(untrustedConfig, requestContext) {
1715
+ const config = validateAdapterConfig$4(untrustedConfig, getAllDataCleanRoomsPaginated_ConfigPropertyNames);
1716
+ // Invalid or incomplete config
1717
+ if (config === null) {
1718
+ return null;
1719
+ }
1720
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1721
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
1722
+ };
1723
+
1724
+ const VERSION$2 = "52237eeecd4f8f11ae22e265d9abe5ca";
1725
+ function validate$2(obj, path = 'DataCleanRoomProviderCollectionRepresentation') {
1726
+ const v_error = (() => {
1727
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1728
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1729
+ }
1730
+ if (obj.currentPageUrl !== undefined) {
1731
+ const obj_currentPageUrl = obj.currentPageUrl;
1732
+ const path_currentPageUrl = path + '.currentPageUrl';
1733
+ if (typeof obj_currentPageUrl !== 'string') {
1734
+ return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
1735
+ }
1736
+ }
1737
+ if (obj.limit !== undefined) {
1738
+ const obj_limit = obj.limit;
1739
+ const path_limit = path + '.limit';
1740
+ if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
1741
+ return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
1742
+ }
1743
+ }
1744
+ if (obj.nextPageUrl !== undefined) {
1745
+ const obj_nextPageUrl = obj.nextPageUrl;
1746
+ const path_nextPageUrl = path + '.nextPageUrl';
1747
+ let obj_nextPageUrl_union0 = null;
1748
+ const obj_nextPageUrl_union0_error = (() => {
1749
+ if (typeof obj_nextPageUrl !== 'string') {
1750
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1751
+ }
1752
+ })();
1753
+ if (obj_nextPageUrl_union0_error != null) {
1754
+ obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
1755
+ }
1756
+ let obj_nextPageUrl_union1 = null;
1757
+ const obj_nextPageUrl_union1_error = (() => {
1758
+ if (obj_nextPageUrl !== null) {
1759
+ return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
1760
+ }
1761
+ })();
1762
+ if (obj_nextPageUrl_union1_error != null) {
1763
+ obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
1764
+ }
1765
+ if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
1766
+ let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
1767
+ message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
1768
+ message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
1769
+ return new TypeError(message);
1770
+ }
1771
+ }
1772
+ if (obj.offset !== undefined) {
1773
+ const obj_offset = obj.offset;
1774
+ const path_offset = path + '.offset';
1775
+ if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
1776
+ return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
1777
+ }
1778
+ }
1779
+ const obj_providers = obj.providers;
1780
+ const path_providers = path + '.providers';
1781
+ if (!ArrayIsArray(obj_providers)) {
1386
1782
  return new TypeError('Expected "array" but received "' + typeof obj_providers + '" (at "' + path_providers + '")');
1387
1783
  }
1388
1784
  for (let i = 0; i < obj_providers.length; i++) {
@@ -1402,14 +1798,14 @@ function validate$1(obj, path = 'DataCleanRoomProviderCollectionRepresentation')
1402
1798
  })();
1403
1799
  return v_error === undefined ? null : v_error;
1404
1800
  }
1405
- const RepresentationType$1 = 'DataCleanRoomProviderCollectionRepresentation';
1406
- function normalize$1(input, existing, path, luvio, store, timestamp) {
1801
+ const RepresentationType$2 = 'DataCleanRoomProviderCollectionRepresentation';
1802
+ function normalize$2(input, existing, path, luvio, store, timestamp) {
1407
1803
  const input_providers = input.providers;
1408
1804
  const input_providers_id = path.fullPath + '__providers';
1409
1805
  for (let i = 0; i < input_providers.length; i++) {
1410
1806
  const input_providers_item = input_providers[i];
1411
1807
  let input_providers_item_id = input_providers_id + '__' + i;
1412
- input_providers[i] = ingest$2(input_providers_item, {
1808
+ input_providers[i] = ingest$4(input_providers_item, {
1413
1809
  fullPath: input_providers_item_id,
1414
1810
  propertyName: i,
1415
1811
  parent: {
@@ -1422,10 +1818,10 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
1422
1818
  }
1423
1819
  return input;
1424
1820
  }
1425
- const select$3 = function DataCleanRoomProviderCollectionRepresentationSelect() {
1821
+ const select$6 = function DataCleanRoomProviderCollectionRepresentationSelect() {
1426
1822
  return {
1427
1823
  kind: 'Fragment',
1428
- version: VERSION$1,
1824
+ version: VERSION$2,
1429
1825
  private: [],
1430
1826
  selections: [
1431
1827
  {
@@ -1452,7 +1848,7 @@ const select$3 = function DataCleanRoomProviderCollectionRepresentationSelect()
1452
1848
  name: 'providers',
1453
1849
  kind: 'Link',
1454
1850
  plural: true,
1455
- fragment: select$5()
1851
+ fragment: select$a()
1456
1852
  },
1457
1853
  {
1458
1854
  name: 'totalSize',
@@ -1462,7 +1858,7 @@ const select$3 = function DataCleanRoomProviderCollectionRepresentationSelect()
1462
1858
  ]
1463
1859
  };
1464
1860
  };
1465
- function equals$1(existing, incoming) {
1861
+ function equals$2(existing, incoming) {
1466
1862
  const existing_limit = existing.limit;
1467
1863
  const incoming_limit = incoming.limit;
1468
1864
  // if at least one of these optionals is defined
@@ -1540,48 +1936,48 @@ function equals$1(existing, incoming) {
1540
1936
  }
1541
1937
  return true;
1542
1938
  }
1543
- const ingest$1 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1939
+ const ingest$2 = function DataCleanRoomProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1544
1940
  if (process.env.NODE_ENV !== 'production') {
1545
- const validateError = validate$1(input);
1941
+ const validateError = validate$2(input);
1546
1942
  if (validateError !== null) {
1547
1943
  throw validateError;
1548
1944
  }
1549
1945
  }
1550
1946
  const key = path.fullPath;
1551
1947
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1552
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "data-clean-room", VERSION$1, RepresentationType$1, equals$1);
1948
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "data-clean-room", VERSION$2, RepresentationType$2, equals$2);
1553
1949
  return createLink(key);
1554
1950
  };
1555
- function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
1951
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1556
1952
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1557
1953
  const rootKey = fullPathFactory();
1558
1954
  rootKeySet.set(rootKey, {
1559
1955
  namespace: keyPrefix,
1560
- representationName: RepresentationType$1,
1956
+ representationName: RepresentationType$2,
1561
1957
  mergeable: false
1562
1958
  });
1563
1959
  const input_providers_length = input.providers.length;
1564
1960
  for (let i = 0; i < input_providers_length; i++) {
1565
- getTypeCacheKeys$2(rootKeySet, luvio, input.providers[i]);
1961
+ getTypeCacheKeys$4(rootKeySet, luvio, input.providers[i]);
1566
1962
  }
1567
1963
  }
1568
1964
 
1569
- function select$2(luvio, params) {
1570
- return select$3();
1965
+ function select$5(luvio, params) {
1966
+ return select$6();
1571
1967
  }
1572
- function keyBuilder$3(luvio, params) {
1968
+ function keyBuilder$5(luvio, params) {
1573
1969
  return keyPrefix + '::DataCleanRoomProviderCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1574
1970
  }
1575
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1576
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
1971
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
1972
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
1577
1973
  }
1578
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1974
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
1579
1975
  const { body } = response;
1580
- const key = keyBuilder$3(luvio, resourceParams);
1581
- luvio.storeIngest(key, ingest$1, body);
1976
+ const key = keyBuilder$5(luvio, resourceParams);
1977
+ luvio.storeIngest(key, ingest$2, body);
1582
1978
  const snapshot = luvio.storeLookup({
1583
1979
  recordId: key,
1584
- node: select$2(),
1980
+ node: select$5(),
1585
1981
  variables: {},
1586
1982
  }, snapshotRefresh);
1587
1983
  if (process.env.NODE_ENV !== 'production') {
@@ -1592,13 +1988,13 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1592
1988
  deepFreeze(snapshot.data);
1593
1989
  return snapshot;
1594
1990
  }
1595
- function ingestError$1(luvio, params, error, snapshotRefresh) {
1596
- const key = keyBuilder$3(luvio, params);
1991
+ function ingestError$2(luvio, params, error, snapshotRefresh) {
1992
+ const key = keyBuilder$5(luvio, params);
1597
1993
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1598
1994
  luvio.storeIngestError(key, errorSnapshot);
1599
1995
  return errorSnapshot;
1600
1996
  }
1601
- function createResourceRequest$1(config) {
1997
+ function createResourceRequest$3(config) {
1602
1998
  const headers = {};
1603
1999
  return {
1604
2000
  baseUri: '/services/data/v63.0',
@@ -1612,63 +2008,417 @@ function createResourceRequest$1(config) {
1612
2008
  };
1613
2009
  }
1614
2010
 
1615
- const adapterName$1 = 'getDataCleanRoomProvidersPaginated';
2011
+ const adapterName$3 = 'getDataCleanRoomProvidersPaginated';
1616
2012
  const getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata = [
1617
2013
  generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
1618
2014
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1619
2015
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1620
2016
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1621
2017
  ];
1622
- const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
1623
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$5(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
1624
- function keyBuilder$2(luvio, config) {
1625
- const resourceParams = createResourceParams$1(config);
2018
+ const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2019
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2020
+ function keyBuilder$4(luvio, config) {
2021
+ const resourceParams = createResourceParams$3(config);
2022
+ return keyBuilder$5(luvio, resourceParams);
2023
+ }
2024
+ function typeCheckConfig$3(untrustedConfig) {
2025
+ const config = {};
2026
+ typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2027
+ return config;
2028
+ }
2029
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
2030
+ if (!untrustedIsObject(untrustedConfig)) {
2031
+ return null;
2032
+ }
2033
+ if (process.env.NODE_ENV !== 'production') {
2034
+ validateConfig(untrustedConfig, configPropertyNames);
2035
+ }
2036
+ const config = typeCheckConfig$3(untrustedConfig);
2037
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
2038
+ return null;
2039
+ }
2040
+ return config;
2041
+ }
2042
+ function adapterFragment$2(luvio, config) {
2043
+ createResourceParams$3(config);
2044
+ return select$5();
2045
+ }
2046
+ function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
2047
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
2048
+ config,
2049
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
2050
+ });
2051
+ return luvio.storeBroadcast().then(() => snapshot);
2052
+ }
2053
+ function onFetchResponseError$2(luvio, config, resourceParams, response) {
2054
+ const snapshot = ingestError$2(luvio, resourceParams, response, {
2055
+ config,
2056
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
2057
+ });
2058
+ return luvio.storeBroadcast().then(() => snapshot);
2059
+ }
2060
+ function buildNetworkSnapshot$3(luvio, config, options) {
2061
+ const resourceParams = createResourceParams$3(config);
2062
+ const request = createResourceRequest$3(resourceParams);
2063
+ return luvio.dispatchResourceRequest(request, options)
2064
+ .then((response) => {
2065
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
2066
+ const cache = new StoreKeyMap();
2067
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
2068
+ return cache;
2069
+ });
2070
+ }, (response) => {
2071
+ return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
2072
+ });
2073
+ }
2074
+ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
2075
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
2076
+ }
2077
+ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
2078
+ const { luvio, config } = context;
2079
+ const selector = {
2080
+ recordId: keyBuilder$4(luvio, config),
2081
+ node: adapterFragment$2(luvio, config),
2082
+ variables: {},
2083
+ };
2084
+ const cacheSnapshot = storeLookup(selector, {
2085
+ config,
2086
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
2087
+ });
2088
+ return cacheSnapshot;
2089
+ }
2090
+ const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomProvidersPaginated(untrustedConfig, requestContext) {
2091
+ const config = validateAdapterConfig$3(untrustedConfig, getDataCleanRoomProvidersPaginated_ConfigPropertyNames);
2092
+ // Invalid or incomplete config
2093
+ if (config === null) {
2094
+ return null;
2095
+ }
2096
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2097
+ buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
2098
+ };
2099
+
2100
+ const VERSION$1 = "6fb37e337652e88218f2171d1e56647b";
2101
+ function validate$1(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
2102
+ const v_error = (() => {
2103
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2104
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2105
+ }
2106
+ const obj_cleanroomSpecifications = obj.cleanroomSpecifications;
2107
+ const path_cleanroomSpecifications = path + '.cleanroomSpecifications';
2108
+ if (!ArrayIsArray(obj_cleanroomSpecifications)) {
2109
+ return new TypeError('Expected "array" but received "' + typeof obj_cleanroomSpecifications + '" (at "' + path_cleanroomSpecifications + '")');
2110
+ }
2111
+ for (let i = 0; i < obj_cleanroomSpecifications.length; i++) {
2112
+ const obj_cleanroomSpecifications_item = obj_cleanroomSpecifications[i];
2113
+ const path_cleanroomSpecifications_item = path_cleanroomSpecifications + '[' + i + ']';
2114
+ if (typeof obj_cleanroomSpecifications_item !== 'object') {
2115
+ return new TypeError('Expected "object" but received "' + typeof obj_cleanroomSpecifications_item + '" (at "' + path_cleanroomSpecifications_item + '")');
2116
+ }
2117
+ }
2118
+ if (obj.currentPageUrl !== undefined) {
2119
+ const obj_currentPageUrl = obj.currentPageUrl;
2120
+ const path_currentPageUrl = path + '.currentPageUrl';
2121
+ if (typeof obj_currentPageUrl !== 'string') {
2122
+ return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
2123
+ }
2124
+ }
2125
+ const obj_limit = obj.limit;
2126
+ const path_limit = path + '.limit';
2127
+ if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
2128
+ return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
2129
+ }
2130
+ if (obj.nextPageUrl !== undefined) {
2131
+ const obj_nextPageUrl = obj.nextPageUrl;
2132
+ const path_nextPageUrl = path + '.nextPageUrl';
2133
+ let obj_nextPageUrl_union0 = null;
2134
+ const obj_nextPageUrl_union0_error = (() => {
2135
+ if (typeof obj_nextPageUrl !== 'string') {
2136
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
2137
+ }
2138
+ })();
2139
+ if (obj_nextPageUrl_union0_error != null) {
2140
+ obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
2141
+ }
2142
+ let obj_nextPageUrl_union1 = null;
2143
+ const obj_nextPageUrl_union1_error = (() => {
2144
+ if (obj_nextPageUrl !== null) {
2145
+ return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
2146
+ }
2147
+ })();
2148
+ if (obj_nextPageUrl_union1_error != null) {
2149
+ obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
2150
+ }
2151
+ if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
2152
+ let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
2153
+ message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
2154
+ message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
2155
+ return new TypeError(message);
2156
+ }
2157
+ }
2158
+ const obj_offset = obj.offset;
2159
+ const path_offset = path + '.offset';
2160
+ if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
2161
+ return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
2162
+ }
2163
+ if (obj.totalSize !== undefined) {
2164
+ const obj_totalSize = obj.totalSize;
2165
+ const path_totalSize = path + '.totalSize';
2166
+ if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
2167
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
2168
+ }
2169
+ }
2170
+ })();
2171
+ return v_error === undefined ? null : v_error;
2172
+ }
2173
+ const RepresentationType$1 = 'DataCleanRoomSpecificationCollectionRepresentation';
2174
+ function normalize$1(input, existing, path, luvio, store, timestamp) {
2175
+ const input_cleanroomSpecifications = input.cleanroomSpecifications;
2176
+ const input_cleanroomSpecifications_id = path.fullPath + '__cleanroomSpecifications';
2177
+ for (let i = 0; i < input_cleanroomSpecifications.length; i++) {
2178
+ const input_cleanroomSpecifications_item = input_cleanroomSpecifications[i];
2179
+ let input_cleanroomSpecifications_item_id = input_cleanroomSpecifications_id + '__' + i;
2180
+ input_cleanroomSpecifications[i] = ingest$5(input_cleanroomSpecifications_item, {
2181
+ fullPath: input_cleanroomSpecifications_item_id,
2182
+ propertyName: i,
2183
+ parent: {
2184
+ data: input,
2185
+ key: path.fullPath,
2186
+ existing: existing,
2187
+ },
2188
+ ttl: path.ttl
2189
+ }, luvio, store, timestamp);
2190
+ }
2191
+ return input;
2192
+ }
2193
+ const select$4 = function DataCleanRoomSpecificationCollectionRepresentationSelect() {
2194
+ return {
2195
+ kind: 'Fragment',
2196
+ version: VERSION$1,
2197
+ private: [],
2198
+ selections: [
2199
+ {
2200
+ name: 'cleanroomSpecifications',
2201
+ kind: 'Link',
2202
+ plural: true,
2203
+ fragment: select$c()
2204
+ },
2205
+ {
2206
+ name: 'currentPageUrl',
2207
+ kind: 'Scalar',
2208
+ required: false
2209
+ },
2210
+ {
2211
+ name: 'limit',
2212
+ kind: 'Scalar'
2213
+ },
2214
+ {
2215
+ name: 'nextPageUrl',
2216
+ kind: 'Scalar',
2217
+ required: false
2218
+ },
2219
+ {
2220
+ name: 'offset',
2221
+ kind: 'Scalar'
2222
+ },
2223
+ {
2224
+ name: 'totalSize',
2225
+ kind: 'Scalar',
2226
+ required: false
2227
+ }
2228
+ ]
2229
+ };
2230
+ };
2231
+ function equals$1(existing, incoming) {
2232
+ const existing_limit = existing.limit;
2233
+ const incoming_limit = incoming.limit;
2234
+ if (!(existing_limit === incoming_limit)) {
2235
+ return false;
2236
+ }
2237
+ const existing_offset = existing.offset;
2238
+ const incoming_offset = incoming.offset;
2239
+ if (!(existing_offset === incoming_offset)) {
2240
+ return false;
2241
+ }
2242
+ const existing_totalSize = existing.totalSize;
2243
+ const incoming_totalSize = incoming.totalSize;
2244
+ // if at least one of these optionals is defined
2245
+ if (existing_totalSize !== undefined || incoming_totalSize !== undefined) {
2246
+ // if one of these is not defined we know the other is defined and therefore
2247
+ // not equal
2248
+ if (existing_totalSize === undefined || incoming_totalSize === undefined) {
2249
+ return false;
2250
+ }
2251
+ if (!(existing_totalSize === incoming_totalSize)) {
2252
+ return false;
2253
+ }
2254
+ }
2255
+ const existing_currentPageUrl = existing.currentPageUrl;
2256
+ const incoming_currentPageUrl = incoming.currentPageUrl;
2257
+ // if at least one of these optionals is defined
2258
+ if (existing_currentPageUrl !== undefined || incoming_currentPageUrl !== undefined) {
2259
+ // if one of these is not defined we know the other is defined and therefore
2260
+ // not equal
2261
+ if (existing_currentPageUrl === undefined || incoming_currentPageUrl === undefined) {
2262
+ return false;
2263
+ }
2264
+ if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
2265
+ return false;
2266
+ }
2267
+ }
2268
+ const existing_cleanroomSpecifications = existing.cleanroomSpecifications;
2269
+ const incoming_cleanroomSpecifications = incoming.cleanroomSpecifications;
2270
+ const equals_cleanroomSpecifications_items = equalsArray(existing_cleanroomSpecifications, incoming_cleanroomSpecifications, (existing_cleanroomSpecifications_item, incoming_cleanroomSpecifications_item) => {
2271
+ if (!(existing_cleanroomSpecifications_item.__ref === incoming_cleanroomSpecifications_item.__ref)) {
2272
+ return false;
2273
+ }
2274
+ });
2275
+ if (equals_cleanroomSpecifications_items === false) {
2276
+ return false;
2277
+ }
2278
+ const existing_nextPageUrl = existing.nextPageUrl;
2279
+ const incoming_nextPageUrl = incoming.nextPageUrl;
2280
+ // if at least one of these optionals is defined
2281
+ if (existing_nextPageUrl !== undefined || incoming_nextPageUrl !== undefined) {
2282
+ // if one of these is not defined we know the other is defined and therefore
2283
+ // not equal
2284
+ if (existing_nextPageUrl === undefined || incoming_nextPageUrl === undefined) {
2285
+ return false;
2286
+ }
2287
+ if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
2288
+ return false;
2289
+ }
2290
+ }
2291
+ return true;
2292
+ }
2293
+ const ingest$1 = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2294
+ if (process.env.NODE_ENV !== 'production') {
2295
+ const validateError = validate$1(input);
2296
+ if (validateError !== null) {
2297
+ throw validateError;
2298
+ }
2299
+ }
2300
+ const key = path.fullPath;
2301
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2302
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "data-clean-room", VERSION$1, RepresentationType$1, equals$1);
2303
+ return createLink(key);
2304
+ };
2305
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
2306
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2307
+ const rootKey = fullPathFactory();
2308
+ rootKeySet.set(rootKey, {
2309
+ namespace: keyPrefix,
2310
+ representationName: RepresentationType$1,
2311
+ mergeable: false
2312
+ });
2313
+ const input_cleanroomSpecifications_length = input.cleanroomSpecifications.length;
2314
+ for (let i = 0; i < input_cleanroomSpecifications_length; i++) {
2315
+ getTypeCacheKeys$5(rootKeySet, luvio, input.cleanroomSpecifications[i]);
2316
+ }
2317
+ }
2318
+
2319
+ function select$3(luvio, params) {
2320
+ return select$4();
2321
+ }
2322
+ function keyBuilder$3(luvio, params) {
2323
+ return keyPrefix + '::DataCleanRoomSpecificationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
2324
+ }
2325
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
2326
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
2327
+ }
2328
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
2329
+ const { body } = response;
2330
+ const key = keyBuilder$3(luvio, resourceParams);
2331
+ luvio.storeIngest(key, ingest$1, body);
2332
+ const snapshot = luvio.storeLookup({
2333
+ recordId: key,
2334
+ node: select$3(),
2335
+ variables: {},
2336
+ }, snapshotRefresh);
2337
+ if (process.env.NODE_ENV !== 'production') {
2338
+ if (snapshot.state !== 'Fulfilled') {
2339
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2340
+ }
2341
+ }
2342
+ deepFreeze(snapshot.data);
2343
+ return snapshot;
2344
+ }
2345
+ function ingestError$1(luvio, params, error, snapshotRefresh) {
2346
+ const key = keyBuilder$3(luvio, params);
2347
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2348
+ luvio.storeIngestError(key, errorSnapshot);
2349
+ return errorSnapshot;
2350
+ }
2351
+ function createResourceRequest$2(config) {
2352
+ const headers = {};
2353
+ return {
2354
+ baseUri: '/services/data/v63.0',
2355
+ basePath: '/ssot/data-clean-room/specifications',
2356
+ method: 'get',
2357
+ body: null,
2358
+ urlParams: {},
2359
+ queryParams: config.queryParams,
2360
+ headers,
2361
+ priority: 'normal',
2362
+ };
2363
+ }
2364
+
2365
+ const adapterName$2 = 'getDataCleanRoomSpecificationsPaginated';
2366
+ const getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata = [
2367
+ generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
2368
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
2369
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
2370
+ generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
2371
+ ];
2372
+ const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2373
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2374
+ function keyBuilder$2(luvio, config) {
2375
+ const resourceParams = createResourceParams$2(config);
1626
2376
  return keyBuilder$3(luvio, resourceParams);
1627
2377
  }
1628
- function typeCheckConfig$1(untrustedConfig) {
2378
+ function typeCheckConfig$2(untrustedConfig) {
1629
2379
  const config = {};
1630
- typeCheckConfig$5(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
2380
+ typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
1631
2381
  return config;
1632
2382
  }
1633
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
2383
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
1634
2384
  if (!untrustedIsObject(untrustedConfig)) {
1635
2385
  return null;
1636
2386
  }
1637
2387
  if (process.env.NODE_ENV !== 'production') {
1638
2388
  validateConfig(untrustedConfig, configPropertyNames);
1639
2389
  }
1640
- const config = typeCheckConfig$1(untrustedConfig);
2390
+ const config = typeCheckConfig$2(untrustedConfig);
1641
2391
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1642
2392
  return null;
1643
2393
  }
1644
2394
  return config;
1645
2395
  }
1646
2396
  function adapterFragment$1(luvio, config) {
1647
- createResourceParams$1(config);
1648
- return select$2();
2397
+ createResourceParams$2(config);
2398
+ return select$3();
1649
2399
  }
1650
2400
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
1651
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
2401
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
1652
2402
  config,
1653
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
2403
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1654
2404
  });
1655
2405
  return luvio.storeBroadcast().then(() => snapshot);
1656
2406
  }
1657
2407
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
1658
2408
  const snapshot = ingestError$1(luvio, resourceParams, response, {
1659
2409
  config,
1660
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
2410
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1661
2411
  });
1662
2412
  return luvio.storeBroadcast().then(() => snapshot);
1663
2413
  }
1664
- function buildNetworkSnapshot$1(luvio, config, options) {
1665
- const resourceParams = createResourceParams$1(config);
1666
- const request = createResourceRequest$1(resourceParams);
2414
+ function buildNetworkSnapshot$2(luvio, config, options) {
2415
+ const resourceParams = createResourceParams$2(config);
2416
+ const request = createResourceRequest$2(resourceParams);
1667
2417
  return luvio.dispatchResourceRequest(request, options)
1668
2418
  .then((response) => {
1669
2419
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
1670
2420
  const cache = new StoreKeyMap();
1671
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
2421
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
1672
2422
  return cache;
1673
2423
  });
1674
2424
  }, (response) => {
@@ -1676,7 +2426,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1676
2426
  });
1677
2427
  }
1678
2428
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
1679
- return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
2429
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
1680
2430
  }
1681
2431
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1682
2432
  const { luvio, config } = context;
@@ -1687,12 +2437,12 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
1687
2437
  };
1688
2438
  const cacheSnapshot = storeLookup(selector, {
1689
2439
  config,
1690
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
2440
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
1691
2441
  });
1692
2442
  return cacheSnapshot;
1693
2443
  }
1694
- const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomProvidersPaginated(untrustedConfig, requestContext) {
1695
- const config = validateAdapterConfig$1(untrustedConfig, getDataCleanRoomProvidersPaginated_ConfigPropertyNames);
2444
+ const getDataCleanRoomSpecificationsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomSpecificationsPaginated(untrustedConfig, requestContext) {
2445
+ const config = validateAdapterConfig$2(untrustedConfig, getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames);
1696
2446
  // Invalid or incomplete config
1697
2447
  if (config === null) {
1698
2448
  return null;
@@ -1701,24 +2451,12 @@ const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dat
1701
2451
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
1702
2452
  };
1703
2453
 
1704
- const VERSION = "6fb37e337652e88218f2171d1e56647b";
1705
- function validate(obj, path = 'DataCleanRoomSpecificationCollectionRepresentation') {
2454
+ const VERSION = "779ba86cca8510319a6e95a736d88189";
2455
+ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
1706
2456
  const v_error = (() => {
1707
2457
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1708
2458
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1709
2459
  }
1710
- const obj_cleanroomSpecifications = obj.cleanroomSpecifications;
1711
- const path_cleanroomSpecifications = path + '.cleanroomSpecifications';
1712
- if (!ArrayIsArray(obj_cleanroomSpecifications)) {
1713
- return new TypeError('Expected "array" but received "' + typeof obj_cleanroomSpecifications + '" (at "' + path_cleanroomSpecifications + '")');
1714
- }
1715
- for (let i = 0; i < obj_cleanroomSpecifications.length; i++) {
1716
- const obj_cleanroomSpecifications_item = obj_cleanroomSpecifications[i];
1717
- const path_cleanroomSpecifications_item = path_cleanroomSpecifications + '[' + i + ']';
1718
- if (typeof obj_cleanroomSpecifications_item !== 'object') {
1719
- return new TypeError('Expected "object" but received "' + typeof obj_cleanroomSpecifications_item + '" (at "' + path_cleanroomSpecifications_item + '")');
1720
- }
1721
- }
1722
2460
  if (obj.currentPageUrl !== undefined) {
1723
2461
  const obj_currentPageUrl = obj.currentPageUrl;
1724
2462
  const path_currentPageUrl = path + '.currentPageUrl';
@@ -1764,6 +2502,21 @@ function validate(obj, path = 'DataCleanRoomSpecificationCollectionRepresentatio
1764
2502
  if (typeof obj_offset !== 'number' || (typeof obj_offset === 'number' && Math.floor(obj_offset) !== obj_offset)) {
1765
2503
  return new TypeError('Expected "integer" but received "' + typeof obj_offset + '" (at "' + path_offset + '")');
1766
2504
  }
2505
+ const obj_templates = obj.templates;
2506
+ const path_templates = path + '.templates';
2507
+ if (!ArrayIsArray(obj_templates)) {
2508
+ return new TypeError('Expected "array" but received "' + typeof obj_templates + '" (at "' + path_templates + '")');
2509
+ }
2510
+ for (let i = 0; i < obj_templates.length; i++) {
2511
+ const obj_templates_item = obj_templates[i];
2512
+ const path_templates_item = path_templates + '[' + i + ']';
2513
+ const referencepath_templates_itemValidationError = validate$b(obj_templates_item, path_templates_item);
2514
+ if (referencepath_templates_itemValidationError !== null) {
2515
+ let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
2516
+ message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2517
+ return new TypeError(message);
2518
+ }
2519
+ }
1767
2520
  if (obj.totalSize !== undefined) {
1768
2521
  const obj_totalSize = obj.totalSize;
1769
2522
  const path_totalSize = path + '.totalSize';
@@ -1774,127 +2527,25 @@ function validate(obj, path = 'DataCleanRoomSpecificationCollectionRepresentatio
1774
2527
  })();
1775
2528
  return v_error === undefined ? null : v_error;
1776
2529
  }
1777
- const RepresentationType = 'DataCleanRoomSpecificationCollectionRepresentation';
2530
+ const RepresentationType = 'DataCleanRoomTemplateCollectionRepresentation';
1778
2531
  function normalize(input, existing, path, luvio, store, timestamp) {
1779
- const input_cleanroomSpecifications = input.cleanroomSpecifications;
1780
- const input_cleanroomSpecifications_id = path.fullPath + '__cleanroomSpecifications';
1781
- for (let i = 0; i < input_cleanroomSpecifications.length; i++) {
1782
- const input_cleanroomSpecifications_item = input_cleanroomSpecifications[i];
1783
- let input_cleanroomSpecifications_item_id = input_cleanroomSpecifications_id + '__' + i;
1784
- input_cleanroomSpecifications[i] = ingest$3(input_cleanroomSpecifications_item, {
1785
- fullPath: input_cleanroomSpecifications_item_id,
1786
- propertyName: i,
1787
- parent: {
1788
- data: input,
1789
- key: path.fullPath,
1790
- existing: existing,
1791
- },
1792
- ttl: path.ttl
1793
- }, luvio, store, timestamp);
1794
- }
1795
2532
  return input;
1796
2533
  }
1797
- const select$1 = function DataCleanRoomSpecificationCollectionRepresentationSelect() {
2534
+ const select$2 = function DataCleanRoomTemplateCollectionRepresentationSelect() {
1798
2535
  return {
1799
2536
  kind: 'Fragment',
1800
2537
  version: VERSION,
1801
2538
  private: [],
1802
- selections: [
1803
- {
1804
- name: 'cleanroomSpecifications',
1805
- kind: 'Link',
1806
- plural: true,
1807
- fragment: select$7()
1808
- },
1809
- {
1810
- name: 'currentPageUrl',
1811
- kind: 'Scalar',
1812
- required: false
1813
- },
1814
- {
1815
- name: 'limit',
1816
- kind: 'Scalar'
1817
- },
1818
- {
1819
- name: 'nextPageUrl',
1820
- kind: 'Scalar',
1821
- required: false
1822
- },
1823
- {
1824
- name: 'offset',
1825
- kind: 'Scalar'
1826
- },
1827
- {
1828
- name: 'totalSize',
1829
- kind: 'Scalar',
1830
- required: false
1831
- }
1832
- ]
2539
+ opaque: true
1833
2540
  };
1834
2541
  };
1835
2542
  function equals(existing, incoming) {
1836
- const existing_limit = existing.limit;
1837
- const incoming_limit = incoming.limit;
1838
- if (!(existing_limit === incoming_limit)) {
1839
- return false;
1840
- }
1841
- const existing_offset = existing.offset;
1842
- const incoming_offset = incoming.offset;
1843
- if (!(existing_offset === incoming_offset)) {
1844
- return false;
1845
- }
1846
- const existing_totalSize = existing.totalSize;
1847
- const incoming_totalSize = incoming.totalSize;
1848
- // if at least one of these optionals is defined
1849
- if (existing_totalSize !== undefined || incoming_totalSize !== undefined) {
1850
- // if one of these is not defined we know the other is defined and therefore
1851
- // not equal
1852
- if (existing_totalSize === undefined || incoming_totalSize === undefined) {
1853
- return false;
1854
- }
1855
- if (!(existing_totalSize === incoming_totalSize)) {
1856
- return false;
1857
- }
1858
- }
1859
- const existing_currentPageUrl = existing.currentPageUrl;
1860
- const incoming_currentPageUrl = incoming.currentPageUrl;
1861
- // if at least one of these optionals is defined
1862
- if (existing_currentPageUrl !== undefined || incoming_currentPageUrl !== undefined) {
1863
- // if one of these is not defined we know the other is defined and therefore
1864
- // not equal
1865
- if (existing_currentPageUrl === undefined || incoming_currentPageUrl === undefined) {
1866
- return false;
1867
- }
1868
- if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
1869
- return false;
1870
- }
1871
- }
1872
- const existing_cleanroomSpecifications = existing.cleanroomSpecifications;
1873
- const incoming_cleanroomSpecifications = incoming.cleanroomSpecifications;
1874
- const equals_cleanroomSpecifications_items = equalsArray(existing_cleanroomSpecifications, incoming_cleanroomSpecifications, (existing_cleanroomSpecifications_item, incoming_cleanroomSpecifications_item) => {
1875
- if (!(existing_cleanroomSpecifications_item.__ref === incoming_cleanroomSpecifications_item.__ref)) {
1876
- return false;
1877
- }
1878
- });
1879
- if (equals_cleanroomSpecifications_items === false) {
2543
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
1880
2544
  return false;
1881
2545
  }
1882
- const existing_nextPageUrl = existing.nextPageUrl;
1883
- const incoming_nextPageUrl = incoming.nextPageUrl;
1884
- // if at least one of these optionals is defined
1885
- if (existing_nextPageUrl !== undefined || incoming_nextPageUrl !== undefined) {
1886
- // if one of these is not defined we know the other is defined and therefore
1887
- // not equal
1888
- if (existing_nextPageUrl === undefined || incoming_nextPageUrl === undefined) {
1889
- return false;
1890
- }
1891
- if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
1892
- return false;
1893
- }
1894
- }
1895
2546
  return true;
1896
2547
  }
1897
- const ingest = function DataCleanRoomSpecificationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2548
+ const ingest = function DataCleanRoomTemplateCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1898
2549
  if (process.env.NODE_ENV !== 'production') {
1899
2550
  const validateError = validate(input);
1900
2551
  if (validateError !== null) {
@@ -1914,28 +2565,24 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
1914
2565
  representationName: RepresentationType,
1915
2566
  mergeable: false
1916
2567
  });
1917
- const input_cleanroomSpecifications_length = input.cleanroomSpecifications.length;
1918
- for (let i = 0; i < input_cleanroomSpecifications_length; i++) {
1919
- getTypeCacheKeys$3(rootKeySet, luvio, input.cleanroomSpecifications[i]);
1920
- }
1921
2568
  }
1922
2569
 
1923
- function select(luvio, params) {
1924
- return select$1();
2570
+ function select$1(luvio, params) {
2571
+ return select$2();
1925
2572
  }
1926
2573
  function keyBuilder$1(luvio, params) {
1927
- return keyPrefix + '::DataCleanRoomSpecificationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
2574
+ return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1928
2575
  }
1929
- function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2576
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1930
2577
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
1931
2578
  }
1932
- function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
2579
+ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1933
2580
  const { body } = response;
1934
2581
  const key = keyBuilder$1(luvio, resourceParams);
1935
2582
  luvio.storeIngest(key, ingest, body);
1936
2583
  const snapshot = luvio.storeLookup({
1937
2584
  recordId: key,
1938
- node: select(),
2585
+ node: select$1(),
1939
2586
  variables: {},
1940
2587
  }, snapshotRefresh);
1941
2588
  if (process.env.NODE_ENV !== 'production') {
@@ -1952,11 +2599,11 @@ function ingestError(luvio, params, error, snapshotRefresh) {
1952
2599
  luvio.storeIngestError(key, errorSnapshot);
1953
2600
  return errorSnapshot;
1954
2601
  }
1955
- function createResourceRequest(config) {
2602
+ function createResourceRequest$1(config) {
1956
2603
  const headers = {};
1957
2604
  return {
1958
2605
  baseUri: '/services/data/v63.0',
1959
- basePath: '/ssot/data-clean-room/specifications',
2606
+ basePath: '/ssot/data-clean-room/templates',
1960
2607
  method: 'get',
1961
2608
  body: null,
1962
2609
  urlParams: {},
@@ -1966,63 +2613,62 @@ function createResourceRequest(config) {
1966
2613
  };
1967
2614
  }
1968
2615
 
1969
- const adapterName = 'getDataCleanRoomSpecificationsPaginated';
1970
- const getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata = [
1971
- generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
2616
+ const adapterName$1 = 'getDataCleanRoomTemplatePaginated';
2617
+ const getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata = [
1972
2618
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1973
2619
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1974
2620
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
1975
2621
  ];
1976
- const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
1977
- const createResourceParams = /*#__PURE__*/ createResourceParams$5(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2622
+ const getDataCleanRoomTemplatePaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
2623
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$9(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
1978
2624
  function keyBuilder(luvio, config) {
1979
- const resourceParams = createResourceParams(config);
2625
+ const resourceParams = createResourceParams$1(config);
1980
2626
  return keyBuilder$1(luvio, resourceParams);
1981
2627
  }
1982
- function typeCheckConfig(untrustedConfig) {
2628
+ function typeCheckConfig$1(untrustedConfig) {
1983
2629
  const config = {};
1984
- typeCheckConfig$5(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
2630
+ typeCheckConfig$9(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
1985
2631
  return config;
1986
2632
  }
1987
- function validateAdapterConfig(untrustedConfig, configPropertyNames) {
2633
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
1988
2634
  if (!untrustedIsObject(untrustedConfig)) {
1989
2635
  return null;
1990
2636
  }
1991
2637
  if (process.env.NODE_ENV !== 'production') {
1992
2638
  validateConfig(untrustedConfig, configPropertyNames);
1993
2639
  }
1994
- const config = typeCheckConfig(untrustedConfig);
2640
+ const config = typeCheckConfig$1(untrustedConfig);
1995
2641
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1996
2642
  return null;
1997
2643
  }
1998
2644
  return config;
1999
2645
  }
2000
2646
  function adapterFragment(luvio, config) {
2001
- createResourceParams(config);
2002
- return select();
2647
+ createResourceParams$1(config);
2648
+ return select$1();
2003
2649
  }
2004
2650
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
2005
- const snapshot = ingestSuccess(luvio, resourceParams, response, {
2651
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
2006
2652
  config,
2007
- resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
2653
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
2008
2654
  });
2009
2655
  return luvio.storeBroadcast().then(() => snapshot);
2010
2656
  }
2011
2657
  function onFetchResponseError(luvio, config, resourceParams, response) {
2012
2658
  const snapshot = ingestError(luvio, resourceParams, response, {
2013
2659
  config,
2014
- resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
2660
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
2015
2661
  });
2016
2662
  return luvio.storeBroadcast().then(() => snapshot);
2017
2663
  }
2018
- function buildNetworkSnapshot(luvio, config, options) {
2019
- const resourceParams = createResourceParams(config);
2020
- const request = createResourceRequest(resourceParams);
2664
+ function buildNetworkSnapshot$1(luvio, config, options) {
2665
+ const resourceParams = createResourceParams$1(config);
2666
+ const request = createResourceRequest$1(resourceParams);
2021
2667
  return luvio.dispatchResourceRequest(request, options)
2022
2668
  .then((response) => {
2023
2669
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
2024
2670
  const cache = new StoreKeyMap();
2025
- getResponseCacheKeys(cache, luvio, resourceParams, response.body);
2671
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
2026
2672
  return cache;
2027
2673
  });
2028
2674
  }, (response) => {
@@ -2030,7 +2676,7 @@ function buildNetworkSnapshot(luvio, config, options) {
2030
2676
  });
2031
2677
  }
2032
2678
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
2033
- return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
2679
+ return buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
2034
2680
  }
2035
2681
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
2036
2682
  const { luvio, config } = context;
@@ -2041,12 +2687,12 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
2041
2687
  };
2042
2688
  const cacheSnapshot = storeLookup(selector, {
2043
2689
  config,
2044
- resolve: () => buildNetworkSnapshot(luvio, config, snapshotRefreshOptions)
2690
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
2045
2691
  });
2046
2692
  return cacheSnapshot;
2047
2693
  }
2048
- const getDataCleanRoomSpecificationsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomSpecificationsPaginated(untrustedConfig, requestContext) {
2049
- const config = validateAdapterConfig(untrustedConfig, getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames);
2694
+ const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomTemplatePaginated(untrustedConfig, requestContext) {
2695
+ const config = validateAdapterConfig$1(untrustedConfig, getDataCleanRoomTemplatePaginated_ConfigPropertyNames);
2050
2696
  // Invalid or incomplete config
2051
2697
  if (config === null) {
2052
2698
  return null;
@@ -2055,14 +2701,115 @@ const getDataCleanRoomSpecificationsPaginatedAdapterFactory = (luvio) => functio
2055
2701
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
2056
2702
  };
2057
2703
 
2704
+ function select(luvio, params) {
2705
+ return select$g();
2706
+ }
2707
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
2708
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
2709
+ }
2710
+ function ingestSuccess(luvio, resourceParams, response) {
2711
+ const { body } = response;
2712
+ const key = keyBuilderFromType$3(luvio, body);
2713
+ luvio.storeIngest(key, ingest$7, body);
2714
+ const snapshot = luvio.storeLookup({
2715
+ recordId: key,
2716
+ node: select(),
2717
+ variables: {},
2718
+ });
2719
+ if (process.env.NODE_ENV !== 'production') {
2720
+ if (snapshot.state !== 'Fulfilled') {
2721
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2722
+ }
2723
+ }
2724
+ deepFreeze(snapshot.data);
2725
+ return snapshot;
2726
+ }
2727
+ function createResourceRequest(config) {
2728
+ const headers = {};
2729
+ return {
2730
+ baseUri: '/services/data/v63.0',
2731
+ basePath: '/ssot/data-clean-room/collaborations/' + config.urlParams.collaborationIdOrApiName + '/actions/reject-invitation',
2732
+ method: 'put',
2733
+ body: config.body,
2734
+ urlParams: config.urlParams,
2735
+ queryParams: {},
2736
+ headers,
2737
+ priority: 'normal',
2738
+ };
2739
+ }
2740
+
2741
+ const adapterName = 'rejectDataCleanRoomInvitation';
2742
+ const rejectDataCleanRoomInvitation_ConfigPropertyMetadata = [
2743
+ generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
2744
+ generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
2745
+ ];
2746
+ const rejectDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2747
+ const createResourceParams = /*#__PURE__*/ createResourceParams$9(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2748
+ function typeCheckConfig(untrustedConfig) {
2749
+ const config = {};
2750
+ typeCheckConfig$9(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
2751
+ return config;
2752
+ }
2753
+ function validateAdapterConfig(untrustedConfig, configPropertyNames) {
2754
+ if (!untrustedIsObject(untrustedConfig)) {
2755
+ return null;
2756
+ }
2757
+ if (process.env.NODE_ENV !== 'production') {
2758
+ validateConfig(untrustedConfig, configPropertyNames);
2759
+ }
2760
+ const config = typeCheckConfig(untrustedConfig);
2761
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
2762
+ return null;
2763
+ }
2764
+ return config;
2765
+ }
2766
+ function buildNetworkSnapshot(luvio, config, options) {
2767
+ const resourceParams = createResourceParams(config);
2768
+ const request = createResourceRequest(resourceParams);
2769
+ return luvio.dispatchResourceRequest(request, options)
2770
+ .then((response) => {
2771
+ return luvio.handleSuccessResponse(() => {
2772
+ const snapshot = ingestSuccess(luvio, resourceParams, response);
2773
+ return luvio.storeBroadcast().then(() => snapshot);
2774
+ }, () => {
2775
+ const cache = new StoreKeyMap();
2776
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
2777
+ return cache;
2778
+ });
2779
+ }, (response) => {
2780
+ deepFreeze(response);
2781
+ throw response;
2782
+ });
2783
+ }
2784
+ const rejectDataCleanRoomInvitationAdapterFactory = (luvio) => {
2785
+ return function rejectDataCleanRoomInvitation(untrustedConfig) {
2786
+ const config = validateAdapterConfig(untrustedConfig, rejectDataCleanRoomInvitation_ConfigPropertyNames);
2787
+ // Invalid or incomplete config
2788
+ if (config === null) {
2789
+ throw new Error('Invalid config for "rejectDataCleanRoomInvitation"');
2790
+ }
2791
+ return buildNetworkSnapshot(luvio, config);
2792
+ };
2793
+ };
2794
+
2795
+ let acceptDataCleanRoomInvitation;
2058
2796
  let createDataCleanRoomCollaboration;
2059
2797
  let createDataCleanRoomSpecification;
2060
2798
  let createProvider;
2799
+ let getAllDataCleanRoomsPaginated;
2061
2800
  let getDataCleanRoomProvidersPaginated;
2062
2801
  let getDataCleanRoomSpecificationsPaginated;
2802
+ let getDataCleanRoomTemplatePaginated;
2803
+ let rejectDataCleanRoomInvitation;
2063
2804
  // Imperative GET Adapters
2805
+ let getAllDataCleanRoomsPaginated_imperative;
2064
2806
  let getDataCleanRoomProvidersPaginated_imperative;
2065
2807
  let getDataCleanRoomSpecificationsPaginated_imperative;
2808
+ let getDataCleanRoomTemplatePaginated_imperative;
2809
+ const getAllDataCleanRoomsPaginatedMetadata = {
2810
+ apiFamily: 'dataclean-room',
2811
+ name: 'getAllDataCleanRoomsPaginated',
2812
+ };
2066
2813
  const getDataCleanRoomProvidersPaginatedMetadata = {
2067
2814
  apiFamily: 'dataclean-room',
2068
2815
  name: 'getDataCleanRoomProvidersPaginated',
@@ -2071,38 +2818,56 @@ const getDataCleanRoomSpecificationsPaginatedMetadata = {
2071
2818
  apiFamily: 'dataclean-room',
2072
2819
  name: 'getDataCleanRoomSpecificationsPaginated',
2073
2820
  };
2821
+ const getDataCleanRoomTemplatePaginatedMetadata = {
2822
+ apiFamily: 'dataclean-room',
2823
+ name: 'getDataCleanRoomTemplatePaginated',
2824
+ };
2074
2825
  // Notify Update Available
2075
2826
  function bindExportsTo(luvio) {
2076
2827
  // LDS Adapters
2828
+ const getAllDataCleanRoomsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getAllDataCleanRoomsPaginated', getAllDataCleanRoomsPaginatedAdapterFactory), getAllDataCleanRoomsPaginatedMetadata);
2077
2829
  const getDataCleanRoomProvidersPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomProvidersPaginated', getDataCleanRoomProvidersPaginatedAdapterFactory), getDataCleanRoomProvidersPaginatedMetadata);
2078
2830
  const getDataCleanRoomSpecificationsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomSpecificationsPaginated', getDataCleanRoomSpecificationsPaginatedAdapterFactory), getDataCleanRoomSpecificationsPaginatedMetadata);
2831
+ const getDataCleanRoomTemplatePaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomTemplatePaginated', getDataCleanRoomTemplatePaginatedAdapterFactory), getDataCleanRoomTemplatePaginatedMetadata);
2079
2832
  function unwrapSnapshotData(factory) {
2080
2833
  const adapter = factory(luvio);
2081
2834
  return (config) => adapter(config).then((snapshot) => snapshot.data);
2082
2835
  }
2083
2836
  return {
2837
+ acceptDataCleanRoomInvitation: unwrapSnapshotData(acceptDataCleanRoomInvitationAdapterFactory),
2084
2838
  createDataCleanRoomCollaboration: unwrapSnapshotData(createDataCleanRoomCollaborationAdapterFactory),
2085
2839
  createDataCleanRoomSpecification: unwrapSnapshotData(createDataCleanRoomSpecificationAdapterFactory),
2086
2840
  createProvider: unwrapSnapshotData(createProviderAdapterFactory),
2841
+ getAllDataCleanRoomsPaginated: createWireAdapterConstructor(luvio, getAllDataCleanRoomsPaginated_ldsAdapter, getAllDataCleanRoomsPaginatedMetadata),
2087
2842
  getDataCleanRoomProvidersPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
2088
2843
  getDataCleanRoomSpecificationsPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
2844
+ getDataCleanRoomTemplatePaginated: createWireAdapterConstructor(luvio, getDataCleanRoomTemplatePaginated_ldsAdapter, getDataCleanRoomTemplatePaginatedMetadata),
2845
+ rejectDataCleanRoomInvitation: unwrapSnapshotData(rejectDataCleanRoomInvitationAdapterFactory),
2089
2846
  // Imperative GET Adapters
2847
+ getAllDataCleanRoomsPaginated_imperative: createImperativeAdapter(luvio, getAllDataCleanRoomsPaginated_ldsAdapter, getAllDataCleanRoomsPaginatedMetadata),
2090
2848
  getDataCleanRoomProvidersPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
2091
2849
  getDataCleanRoomSpecificationsPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
2850
+ getDataCleanRoomTemplatePaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomTemplatePaginated_ldsAdapter, getDataCleanRoomTemplatePaginatedMetadata),
2092
2851
  // Notify Update Availables
2093
2852
  };
2094
2853
  }
2095
2854
  withDefaultLuvio((luvio) => {
2096
2855
  ({
2856
+ acceptDataCleanRoomInvitation,
2097
2857
  createDataCleanRoomCollaboration,
2098
2858
  createDataCleanRoomSpecification,
2099
2859
  createProvider,
2860
+ getAllDataCleanRoomsPaginated,
2100
2861
  getDataCleanRoomProvidersPaginated,
2101
2862
  getDataCleanRoomSpecificationsPaginated,
2863
+ getDataCleanRoomTemplatePaginated,
2864
+ rejectDataCleanRoomInvitation,
2865
+ getAllDataCleanRoomsPaginated_imperative,
2102
2866
  getDataCleanRoomProvidersPaginated_imperative,
2103
2867
  getDataCleanRoomSpecificationsPaginated_imperative,
2868
+ getDataCleanRoomTemplatePaginated_imperative,
2104
2869
  } = bindExportsTo(luvio));
2105
2870
  });
2106
2871
 
2107
- export { createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative };
2108
- // version: 1.332.0-dev26-f3960c3b25
2872
+ export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
2873
+ // version: 1.332.0-dev27-60d5a53495