@salesforce/lds-adapters-cdp-data-clean-room 1.391.0 → 1.393.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-data-clean-room.js +1012 -401
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/adapters/createProvider.d.ts +13 -5
- package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatePaginated.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatesByProviderIdPaginated.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomProvidersTemplatesByProviderIdOrName.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomTemplates.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomProviders.d.ts +13 -5
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateAnalysisConfigRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryParamConfig.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryParamRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateTableConfig.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateTableInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts +29 -11
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderRepresentation.d.ts +26 -11
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +16 -4
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomUseCaseTypeInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomUseCaseTypeRepresentation.d.ts +28 -0
- package/package.json +3 -3
- package/sfdc/index.js +1022 -400
- package/src/raml/api.raml +328 -9
- package/src/raml/luvio.raml +4 -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$
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$c, typeCheckConfig as typeCheckConfig$c, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$6 } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -102,8 +102,8 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
const VERSION$9 = "
|
|
106
|
-
function validate$
|
|
105
|
+
const VERSION$9 = "a8672aefcec1f2472ac82220f6461ae6";
|
|
106
|
+
function validate$r(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -123,10 +123,12 @@ function validate$g(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
123
123
|
if (typeof obj_memberId !== 'string') {
|
|
124
124
|
return new TypeError('Expected "string" but received "' + typeof obj_memberId + '" (at "' + path_memberId + '")');
|
|
125
125
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
if (obj.memberOrgId !== undefined) {
|
|
127
|
+
const obj_memberOrgId = obj.memberOrgId;
|
|
128
|
+
const path_memberOrgId = path + '.memberOrgId';
|
|
129
|
+
if (typeof obj_memberOrgId !== 'string') {
|
|
130
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberOrgId + '" (at "' + path_memberOrgId + '")');
|
|
131
|
+
}
|
|
130
132
|
}
|
|
131
133
|
const obj_memberStatus = obj.memberStatus;
|
|
132
134
|
const path_memberStatus = path + '.memberStatus';
|
|
@@ -154,19 +156,19 @@ function validate$g(obj, path = 'DataCleanRoomMemberRepresentation') {
|
|
|
154
156
|
return v_error === undefined ? null : v_error;
|
|
155
157
|
}
|
|
156
158
|
const RepresentationType$9 = 'DataCleanRoomMemberRepresentation';
|
|
157
|
-
function keyBuilder$
|
|
159
|
+
function keyBuilder$g(luvio, config) {
|
|
158
160
|
return keyPrefix + '::' + RepresentationType$9 + ':' + config.invitationId;
|
|
159
161
|
}
|
|
160
162
|
function keyBuilderFromType$4(luvio, object) {
|
|
161
163
|
const keyParams = {
|
|
162
164
|
invitationId: object.invitationId
|
|
163
165
|
};
|
|
164
|
-
return keyBuilder$
|
|
166
|
+
return keyBuilder$g(luvio, keyParams);
|
|
165
167
|
}
|
|
166
168
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
167
169
|
return input;
|
|
168
170
|
}
|
|
169
|
-
const select$
|
|
171
|
+
const select$l = function DataCleanRoomMemberRepresentationSelect() {
|
|
170
172
|
return {
|
|
171
173
|
kind: 'Fragment',
|
|
172
174
|
version: VERSION$9,
|
|
@@ -182,7 +184,7 @@ function equals$9(existing, incoming) {
|
|
|
182
184
|
}
|
|
183
185
|
const ingest$9 = function DataCleanRoomMemberRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
184
186
|
if (process.env.NODE_ENV !== 'production') {
|
|
185
|
-
const validateError = validate$
|
|
187
|
+
const validateError = validate$r(input);
|
|
186
188
|
if (validateError !== null) {
|
|
187
189
|
throw validateError;
|
|
188
190
|
}
|
|
@@ -202,19 +204,19 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
202
204
|
});
|
|
203
205
|
}
|
|
204
206
|
|
|
205
|
-
function select$
|
|
206
|
-
return select$
|
|
207
|
+
function select$k(luvio, params) {
|
|
208
|
+
return select$l();
|
|
207
209
|
}
|
|
208
|
-
function getResponseCacheKeys$
|
|
210
|
+
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
209
211
|
getTypeCacheKeys$9(storeKeyMap, luvio, response);
|
|
210
212
|
}
|
|
211
|
-
function ingestSuccess$
|
|
213
|
+
function ingestSuccess$b(luvio, resourceParams, response) {
|
|
212
214
|
const { body } = response;
|
|
213
215
|
const key = keyBuilderFromType$4(luvio, body);
|
|
214
216
|
luvio.storeIngest(key, ingest$9, body);
|
|
215
217
|
const snapshot = luvio.storeLookup({
|
|
216
218
|
recordId: key,
|
|
217
|
-
node: select$
|
|
219
|
+
node: select$k(),
|
|
218
220
|
variables: {},
|
|
219
221
|
});
|
|
220
222
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -225,7 +227,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
|
|
|
225
227
|
deepFreeze(snapshot.data);
|
|
226
228
|
return snapshot;
|
|
227
229
|
}
|
|
228
|
-
function createResourceRequest$
|
|
230
|
+
function createResourceRequest$b(config) {
|
|
229
231
|
const headers = {};
|
|
230
232
|
return {
|
|
231
233
|
baseUri: '/services/data/v66.0',
|
|
@@ -239,43 +241,43 @@ function createResourceRequest$a(config) {
|
|
|
239
241
|
};
|
|
240
242
|
}
|
|
241
243
|
|
|
242
|
-
const adapterName$
|
|
244
|
+
const adapterName$b = 'acceptDataCleanRoomInvitation';
|
|
243
245
|
const acceptDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
244
246
|
generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
245
247
|
generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
|
|
246
248
|
generateParamConfigMetadata('specificationId', true, 2 /* Body */, 0 /* String */),
|
|
247
249
|
];
|
|
248
|
-
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
249
|
-
const createResourceParams$
|
|
250
|
-
function typeCheckConfig$
|
|
250
|
+
const acceptDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
251
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
252
|
+
function typeCheckConfig$b(untrustedConfig) {
|
|
251
253
|
const config = {};
|
|
252
|
-
typeCheckConfig$
|
|
254
|
+
typeCheckConfig$c(untrustedConfig, config, acceptDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
253
255
|
return config;
|
|
254
256
|
}
|
|
255
|
-
function validateAdapterConfig$
|
|
257
|
+
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
256
258
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
257
259
|
return null;
|
|
258
260
|
}
|
|
259
261
|
if (process.env.NODE_ENV !== 'production') {
|
|
260
262
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
261
263
|
}
|
|
262
|
-
const config = typeCheckConfig$
|
|
264
|
+
const config = typeCheckConfig$b(untrustedConfig);
|
|
263
265
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
264
266
|
return null;
|
|
265
267
|
}
|
|
266
268
|
return config;
|
|
267
269
|
}
|
|
268
|
-
function buildNetworkSnapshot$
|
|
269
|
-
const resourceParams = createResourceParams$
|
|
270
|
-
const request = createResourceRequest$
|
|
270
|
+
function buildNetworkSnapshot$b(luvio, config, options) {
|
|
271
|
+
const resourceParams = createResourceParams$b(config);
|
|
272
|
+
const request = createResourceRequest$b(resourceParams);
|
|
271
273
|
return luvio.dispatchResourceRequest(request, options)
|
|
272
274
|
.then((response) => {
|
|
273
275
|
return luvio.handleSuccessResponse(() => {
|
|
274
|
-
const snapshot = ingestSuccess$
|
|
276
|
+
const snapshot = ingestSuccess$b(luvio, resourceParams, response);
|
|
275
277
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
276
278
|
}, () => {
|
|
277
279
|
const cache = new StoreKeyMap();
|
|
278
|
-
getResponseCacheKeys$
|
|
280
|
+
getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
|
|
279
281
|
return cache;
|
|
280
282
|
});
|
|
281
283
|
}, (response) => {
|
|
@@ -285,16 +287,16 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
285
287
|
}
|
|
286
288
|
const acceptDataCleanRoomInvitationAdapterFactory = (luvio) => {
|
|
287
289
|
return function acceptDataCleanRoomInvitation(untrustedConfig) {
|
|
288
|
-
const config = validateAdapterConfig$
|
|
290
|
+
const config = validateAdapterConfig$b(untrustedConfig, acceptDataCleanRoomInvitation_ConfigPropertyNames);
|
|
289
291
|
// Invalid or incomplete config
|
|
290
292
|
if (config === null) {
|
|
291
293
|
throw new Error('Invalid config for "acceptDataCleanRoomInvitation"');
|
|
292
294
|
}
|
|
293
|
-
return buildNetworkSnapshot$
|
|
295
|
+
return buildNetworkSnapshot$b(luvio, config);
|
|
294
296
|
};
|
|
295
297
|
};
|
|
296
298
|
|
|
297
|
-
function validate$
|
|
299
|
+
function validate$q(obj, path = 'CdpUserRepresentation') {
|
|
298
300
|
const v_error = (() => {
|
|
299
301
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
300
302
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -324,7 +326,7 @@ function validate$f(obj, path = 'CdpUserRepresentation') {
|
|
|
324
326
|
return v_error === undefined ? null : v_error;
|
|
325
327
|
}
|
|
326
328
|
|
|
327
|
-
function validate$
|
|
329
|
+
function validate$p(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
328
330
|
const v_error = (() => {
|
|
329
331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
330
332
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -337,7 +339,7 @@ function validate$e(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
337
339
|
if (obj.createdBy !== undefined) {
|
|
338
340
|
const obj_createdBy = obj.createdBy;
|
|
339
341
|
const path_createdBy = path + '.createdBy';
|
|
340
|
-
const referencepath_createdByValidationError = validate$
|
|
342
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
341
343
|
if (referencepath_createdByValidationError !== null) {
|
|
342
344
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
343
345
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -373,7 +375,7 @@ function validate$e(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
373
375
|
if (obj.lastModifiedBy !== undefined) {
|
|
374
376
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
375
377
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
376
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
378
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
377
379
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
378
380
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
379
381
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -401,11 +403,32 @@ function validate$e(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
401
403
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
402
404
|
}
|
|
403
405
|
}
|
|
406
|
+
if (obj.providerId !== undefined) {
|
|
407
|
+
const obj_providerId = obj.providerId;
|
|
408
|
+
const path_providerId = path + '.providerId';
|
|
409
|
+
if (typeof obj_providerId !== 'string') {
|
|
410
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerId + '" (at "' + path_providerId + '")');
|
|
411
|
+
}
|
|
412
|
+
}
|
|
404
413
|
const obj_queryTemplate = obj.queryTemplate;
|
|
405
414
|
const path_queryTemplate = path + '.queryTemplate';
|
|
406
415
|
if (obj_queryTemplate === undefined) {
|
|
407
416
|
return new TypeError('Expected "defined" but received "' + typeof obj_queryTemplate + '" (at "' + path_queryTemplate + '")');
|
|
408
417
|
}
|
|
418
|
+
if (obj.templateType !== undefined) {
|
|
419
|
+
const obj_templateType = obj.templateType;
|
|
420
|
+
const path_templateType = path + '.templateType';
|
|
421
|
+
if (typeof obj_templateType !== 'string') {
|
|
422
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
if (obj.templateVersion !== undefined) {
|
|
426
|
+
const obj_templateVersion = obj.templateVersion;
|
|
427
|
+
const path_templateVersion = path + '.templateVersion';
|
|
428
|
+
if (typeof obj_templateVersion !== 'string') {
|
|
429
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateVersion + '" (at "' + path_templateVersion + '")');
|
|
430
|
+
}
|
|
431
|
+
}
|
|
409
432
|
if (obj.url !== undefined) {
|
|
410
433
|
const obj_url = obj.url;
|
|
411
434
|
const path_url = path + '.url';
|
|
@@ -413,12 +436,19 @@ function validate$e(obj, path = 'DataCleanRoomTemplateRepresentation') {
|
|
|
413
436
|
return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
414
437
|
}
|
|
415
438
|
}
|
|
439
|
+
if (obj.useCaseType !== undefined) {
|
|
440
|
+
const obj_useCaseType = obj.useCaseType;
|
|
441
|
+
const path_useCaseType = path + '.useCaseType';
|
|
442
|
+
if (typeof obj_useCaseType !== 'string') {
|
|
443
|
+
return new TypeError('Expected "string" but received "' + typeof obj_useCaseType + '" (at "' + path_useCaseType + '")');
|
|
444
|
+
}
|
|
445
|
+
}
|
|
416
446
|
})();
|
|
417
447
|
return v_error === undefined ? null : v_error;
|
|
418
448
|
}
|
|
419
449
|
|
|
420
450
|
const VERSION$8 = "11bd9b71debcc363b339183bc8d65735";
|
|
421
|
-
function validate$
|
|
451
|
+
function validate$o(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
422
452
|
const v_error = (() => {
|
|
423
453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
424
454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -433,7 +463,7 @@ function validate$d(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
433
463
|
if (obj.createdBy !== undefined) {
|
|
434
464
|
const obj_createdBy = obj.createdBy;
|
|
435
465
|
const path_createdBy = path + '.createdBy';
|
|
436
|
-
const referencepath_createdByValidationError = validate$
|
|
466
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
437
467
|
if (referencepath_createdByValidationError !== null) {
|
|
438
468
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
439
469
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -476,7 +506,7 @@ function validate$d(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
476
506
|
if (obj.lastModifiedBy !== undefined) {
|
|
477
507
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
478
508
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
479
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
509
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
480
510
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
481
511
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
482
512
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -498,7 +528,7 @@ function validate$d(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
498
528
|
for (let i = 0; i < obj_members.length; i++) {
|
|
499
529
|
const obj_members_item = obj_members[i];
|
|
500
530
|
const path_members_item = path_members + '[' + i + ']';
|
|
501
|
-
const referencepath_members_itemValidationError = validate$
|
|
531
|
+
const referencepath_members_itemValidationError = validate$r(obj_members_item, path_members_item);
|
|
502
532
|
if (referencepath_members_itemValidationError !== null) {
|
|
503
533
|
let message = 'Object doesn\'t match DataCleanRoomMemberRepresentation (at "' + path_members_item + '")\n';
|
|
504
534
|
message += referencepath_members_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -526,7 +556,7 @@ function validate$d(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
526
556
|
}
|
|
527
557
|
const obj_templateVersion = obj.templateVersion;
|
|
528
558
|
const path_templateVersion = path + '.templateVersion';
|
|
529
|
-
const referencepath_templateVersionValidationError = validate$
|
|
559
|
+
const referencepath_templateVersionValidationError = validate$p(obj_templateVersion, path_templateVersion);
|
|
530
560
|
if (referencepath_templateVersionValidationError !== null) {
|
|
531
561
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
532
562
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -543,19 +573,19 @@ function validate$d(obj, path = 'DataCleanRoomCollaborationRepresentation') {
|
|
|
543
573
|
return v_error === undefined ? null : v_error;
|
|
544
574
|
}
|
|
545
575
|
const RepresentationType$8 = 'DataCleanRoomCollaborationRepresentation';
|
|
546
|
-
function keyBuilder$
|
|
576
|
+
function keyBuilder$f(luvio, config) {
|
|
547
577
|
return keyPrefix + '::' + RepresentationType$8 + ':' + config.id;
|
|
548
578
|
}
|
|
549
579
|
function keyBuilderFromType$3(luvio, object) {
|
|
550
580
|
const keyParams = {
|
|
551
581
|
id: object.id
|
|
552
582
|
};
|
|
553
|
-
return keyBuilder$
|
|
583
|
+
return keyBuilder$f(luvio, keyParams);
|
|
554
584
|
}
|
|
555
585
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
556
586
|
return input;
|
|
557
587
|
}
|
|
558
|
-
const select$
|
|
588
|
+
const select$j = function DataCleanRoomCollaborationRepresentationSelect() {
|
|
559
589
|
return {
|
|
560
590
|
kind: 'Fragment',
|
|
561
591
|
version: VERSION$8,
|
|
@@ -571,7 +601,7 @@ function equals$8(existing, incoming) {
|
|
|
571
601
|
}
|
|
572
602
|
const ingest$8 = function DataCleanRoomCollaborationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
573
603
|
if (process.env.NODE_ENV !== 'production') {
|
|
574
|
-
const validateError = validate$
|
|
604
|
+
const validateError = validate$o(input);
|
|
575
605
|
if (validateError !== null) {
|
|
576
606
|
throw validateError;
|
|
577
607
|
}
|
|
@@ -591,19 +621,19 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
591
621
|
});
|
|
592
622
|
}
|
|
593
623
|
|
|
594
|
-
function select$
|
|
595
|
-
return select$
|
|
624
|
+
function select$i(luvio, params) {
|
|
625
|
+
return select$j();
|
|
596
626
|
}
|
|
597
|
-
function getResponseCacheKeys$
|
|
627
|
+
function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
|
|
598
628
|
getTypeCacheKeys$8(storeKeyMap, luvio, response);
|
|
599
629
|
}
|
|
600
|
-
function ingestSuccess$
|
|
630
|
+
function ingestSuccess$a(luvio, resourceParams, response) {
|
|
601
631
|
const { body } = response;
|
|
602
632
|
const key = keyBuilderFromType$3(luvio, body);
|
|
603
633
|
luvio.storeIngest(key, ingest$8, body);
|
|
604
634
|
const snapshot = luvio.storeLookup({
|
|
605
635
|
recordId: key,
|
|
606
|
-
node: select$
|
|
636
|
+
node: select$i(),
|
|
607
637
|
variables: {},
|
|
608
638
|
});
|
|
609
639
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -614,7 +644,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
|
|
|
614
644
|
deepFreeze(snapshot.data);
|
|
615
645
|
return snapshot;
|
|
616
646
|
}
|
|
617
|
-
function createResourceRequest$
|
|
647
|
+
function createResourceRequest$a(config) {
|
|
618
648
|
const headers = {};
|
|
619
649
|
return {
|
|
620
650
|
baseUri: '/services/data/v66.0',
|
|
@@ -628,48 +658,49 @@ function createResourceRequest$9(config) {
|
|
|
628
658
|
};
|
|
629
659
|
}
|
|
630
660
|
|
|
631
|
-
const adapterName$
|
|
661
|
+
const adapterName$a = 'createDataCleanRoomCollaboration';
|
|
632
662
|
const createDataCleanRoomCollaboration_ConfigPropertyMetadata = [
|
|
633
663
|
generateParamConfigMetadata('apiKey', false, 2 /* Body */, 0 /* String */),
|
|
634
664
|
generateParamConfigMetadata('dataCloudOrgId', true, 2 /* Body */, 0 /* String */),
|
|
635
665
|
generateParamConfigMetadata('dataSpaceName', false, 2 /* Body */, 0 /* String */),
|
|
636
666
|
generateParamConfigMetadata('providerDevName', true, 2 /* Body */, 0 /* String */),
|
|
637
667
|
generateParamConfigMetadata('specificationDevName', true, 2 /* Body */, 0 /* String */),
|
|
638
|
-
generateParamConfigMetadata('templateName',
|
|
668
|
+
generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
|
|
639
669
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
640
670
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
671
|
+
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
641
672
|
];
|
|
642
|
-
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
643
|
-
const createResourceParams$
|
|
644
|
-
function typeCheckConfig$
|
|
673
|
+
const createDataCleanRoomCollaboration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
674
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
675
|
+
function typeCheckConfig$a(untrustedConfig) {
|
|
645
676
|
const config = {};
|
|
646
|
-
typeCheckConfig$
|
|
677
|
+
typeCheckConfig$c(untrustedConfig, config, createDataCleanRoomCollaboration_ConfigPropertyMetadata);
|
|
647
678
|
return config;
|
|
648
679
|
}
|
|
649
|
-
function validateAdapterConfig$
|
|
680
|
+
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
650
681
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
651
682
|
return null;
|
|
652
683
|
}
|
|
653
684
|
if (process.env.NODE_ENV !== 'production') {
|
|
654
685
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
655
686
|
}
|
|
656
|
-
const config = typeCheckConfig$
|
|
687
|
+
const config = typeCheckConfig$a(untrustedConfig);
|
|
657
688
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
658
689
|
return null;
|
|
659
690
|
}
|
|
660
691
|
return config;
|
|
661
692
|
}
|
|
662
|
-
function buildNetworkSnapshot$
|
|
663
|
-
const resourceParams = createResourceParams$
|
|
664
|
-
const request = createResourceRequest$
|
|
693
|
+
function buildNetworkSnapshot$a(luvio, config, options) {
|
|
694
|
+
const resourceParams = createResourceParams$a(config);
|
|
695
|
+
const request = createResourceRequest$a(resourceParams);
|
|
665
696
|
return luvio.dispatchResourceRequest(request, options)
|
|
666
697
|
.then((response) => {
|
|
667
698
|
return luvio.handleSuccessResponse(() => {
|
|
668
|
-
const snapshot = ingestSuccess$
|
|
699
|
+
const snapshot = ingestSuccess$a(luvio, resourceParams, response);
|
|
669
700
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
670
701
|
}, () => {
|
|
671
702
|
const cache = new StoreKeyMap();
|
|
672
|
-
getResponseCacheKeys$
|
|
703
|
+
getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
|
|
673
704
|
return cache;
|
|
674
705
|
});
|
|
675
706
|
}, (response) => {
|
|
@@ -679,16 +710,16 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
679
710
|
}
|
|
680
711
|
const createDataCleanRoomCollaborationAdapterFactory = (luvio) => {
|
|
681
712
|
return function createDataCleanRoomCollaboration(untrustedConfig) {
|
|
682
|
-
const config = validateAdapterConfig$
|
|
713
|
+
const config = validateAdapterConfig$a(untrustedConfig, createDataCleanRoomCollaboration_ConfigPropertyNames);
|
|
683
714
|
// Invalid or incomplete config
|
|
684
715
|
if (config === null) {
|
|
685
716
|
throw new Error('Invalid config for "createDataCleanRoomCollaboration"');
|
|
686
717
|
}
|
|
687
|
-
return buildNetworkSnapshot$
|
|
718
|
+
return buildNetworkSnapshot$a(luvio, config);
|
|
688
719
|
};
|
|
689
720
|
};
|
|
690
721
|
|
|
691
|
-
function validate$
|
|
722
|
+
function validate$n(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepresentation') {
|
|
692
723
|
const v_error = (() => {
|
|
693
724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
694
725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -714,7 +745,7 @@ function validate$c(obj, path = 'UseCaseTemplateMappingAttributeFilterOptionRepr
|
|
|
714
745
|
return v_error === undefined ? null : v_error;
|
|
715
746
|
}
|
|
716
747
|
|
|
717
|
-
function validate$
|
|
748
|
+
function validate$m(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentation') {
|
|
718
749
|
const v_error = (() => {
|
|
719
750
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
720
751
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -733,7 +764,7 @@ function validate$b(obj, path = 'UseCaseTemplateMappingPathAttributeRepresentati
|
|
|
733
764
|
return v_error === undefined ? null : v_error;
|
|
734
765
|
}
|
|
735
766
|
|
|
736
|
-
function validate$
|
|
767
|
+
function validate$l(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresentation') {
|
|
737
768
|
const v_error = (() => {
|
|
738
769
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
739
770
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -762,7 +793,7 @@ function validate$a(obj, path = 'UseCaseTemplateMappingSubjectAttributeRepresent
|
|
|
762
793
|
return v_error === undefined ? null : v_error;
|
|
763
794
|
}
|
|
764
795
|
|
|
765
|
-
function validate$
|
|
796
|
+
function validate$k(obj, path = 'UseCaseTemplateMappingAttributeRepresentation') {
|
|
766
797
|
const v_error = (() => {
|
|
767
798
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
768
799
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -782,7 +813,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
782
813
|
if (obj.createdBy !== undefined) {
|
|
783
814
|
const obj_createdBy = obj.createdBy;
|
|
784
815
|
const path_createdBy = path + '.createdBy';
|
|
785
|
-
const referencepath_createdByValidationError = validate$
|
|
816
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
786
817
|
if (referencepath_createdByValidationError !== null) {
|
|
787
818
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
788
819
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -799,7 +830,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
799
830
|
if (obj.dataMapping !== undefined) {
|
|
800
831
|
const obj_dataMapping = obj.dataMapping;
|
|
801
832
|
const path_dataMapping = path + '.dataMapping';
|
|
802
|
-
const referencepath_dataMappingValidationError = validate$
|
|
833
|
+
const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
|
|
803
834
|
if (referencepath_dataMappingValidationError !== null) {
|
|
804
835
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
805
836
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -809,7 +840,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
809
840
|
if (obj.filterOptions !== undefined) {
|
|
810
841
|
const obj_filterOptions = obj.filterOptions;
|
|
811
842
|
const path_filterOptions = path + '.filterOptions';
|
|
812
|
-
const referencepath_filterOptionsValidationError = validate$
|
|
843
|
+
const referencepath_filterOptionsValidationError = validate$n(obj_filterOptions, path_filterOptions);
|
|
813
844
|
if (referencepath_filterOptionsValidationError !== null) {
|
|
814
845
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeFilterOptionRepresentation (at "' + path_filterOptions + '")\n';
|
|
815
846
|
message += referencepath_filterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -833,7 +864,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
833
864
|
if (obj.lastModifiedBy !== undefined) {
|
|
834
865
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
835
866
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
836
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
867
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
837
868
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
838
869
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
839
870
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -869,7 +900,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
869
900
|
for (let i = 0; i < obj_path.length; i++) {
|
|
870
901
|
const obj_path_item = obj_path[i];
|
|
871
902
|
const path_path_item = path_path + '[' + i + ']';
|
|
872
|
-
const referencepath_path_itemValidationError = validate$
|
|
903
|
+
const referencepath_path_itemValidationError = validate$m(obj_path_item, path_path_item);
|
|
873
904
|
if (referencepath_path_itemValidationError !== null) {
|
|
874
905
|
let message = 'Object doesn\'t match UseCaseTemplateMappingPathAttributeRepresentation (at "' + path_path_item + '")\n';
|
|
875
906
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -878,7 +909,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
878
909
|
}
|
|
879
910
|
const obj_subjectAttribute = obj.subjectAttribute;
|
|
880
911
|
const path_subjectAttribute = path + '.subjectAttribute';
|
|
881
|
-
const referencepath_subjectAttributeValidationError = validate$
|
|
912
|
+
const referencepath_subjectAttributeValidationError = validate$l(obj_subjectAttribute, path_subjectAttribute);
|
|
882
913
|
if (referencepath_subjectAttributeValidationError !== null) {
|
|
883
914
|
let message = 'Object doesn\'t match UseCaseTemplateMappingSubjectAttributeRepresentation (at "' + path_subjectAttribute + '")\n';
|
|
884
915
|
message += referencepath_subjectAttributeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -895,7 +926,7 @@ function validate$9(obj, path = 'UseCaseTemplateMappingAttributeRepresentation')
|
|
|
895
926
|
return v_error === undefined ? null : v_error;
|
|
896
927
|
}
|
|
897
928
|
|
|
898
|
-
function validate$
|
|
929
|
+
function validate$j(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
899
930
|
const v_error = (() => {
|
|
900
931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
901
932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -908,7 +939,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
908
939
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
909
940
|
const obj_attributes_item = obj_attributes[i];
|
|
910
941
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
911
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
942
|
+
const referencepath_attributes_itemValidationError = validate$k(obj_attributes_item, path_attributes_item);
|
|
912
943
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
913
944
|
let message = 'Object doesn\'t match UseCaseTemplateMappingAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
914
945
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -923,7 +954,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
923
954
|
if (obj.createdBy !== undefined) {
|
|
924
955
|
const obj_createdBy = obj.createdBy;
|
|
925
956
|
const path_createdBy = path + '.createdBy';
|
|
926
|
-
const referencepath_createdByValidationError = validate$
|
|
957
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
927
958
|
if (referencepath_createdByValidationError !== null) {
|
|
928
959
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
929
960
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -954,7 +985,7 @@ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
954
985
|
if (obj.lastModifiedBy !== undefined) {
|
|
955
986
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
956
987
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
957
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
988
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
958
989
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
959
990
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
960
991
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -993,8 +1024,8 @@ function validate$8(obj, path = 'UseCaseTemplateMappingRepresentation') {
|
|
|
993
1024
|
return v_error === undefined ? null : v_error;
|
|
994
1025
|
}
|
|
995
1026
|
|
|
996
|
-
const VERSION$7 = "
|
|
997
|
-
function validate$
|
|
1027
|
+
const VERSION$7 = "838a38ab153e1dd3331fe38ec216c0ae";
|
|
1028
|
+
function validate$i(obj, path = 'DataCleanRoomDataSpecificationRepresentation') {
|
|
998
1029
|
const v_error = (() => {
|
|
999
1030
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1000
1031
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1002,7 +1033,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1002
1033
|
if (obj.createdBy !== undefined) {
|
|
1003
1034
|
const obj_createdBy = obj.createdBy;
|
|
1004
1035
|
const path_createdBy = path + '.createdBy';
|
|
1005
|
-
const referencepath_createdByValidationError = validate$
|
|
1036
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
1006
1037
|
if (referencepath_createdByValidationError !== null) {
|
|
1007
1038
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1008
1039
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1018,7 +1049,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1018
1049
|
}
|
|
1019
1050
|
const obj_dataMapping = obj.dataMapping;
|
|
1020
1051
|
const path_dataMapping = path + '.dataMapping';
|
|
1021
|
-
const referencepath_dataMappingValidationError = validate$
|
|
1052
|
+
const referencepath_dataMappingValidationError = validate$j(obj_dataMapping, path_dataMapping);
|
|
1022
1053
|
if (referencepath_dataMappingValidationError !== null) {
|
|
1023
1054
|
let message = 'Object doesn\'t match UseCaseTemplateMappingRepresentation (at "' + path_dataMapping + '")\n';
|
|
1024
1055
|
message += referencepath_dataMappingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1051,7 +1082,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1051
1082
|
if (obj.lastModifiedBy !== undefined) {
|
|
1052
1083
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1053
1084
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1054
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1085
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1055
1086
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1056
1087
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1057
1088
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1091,6 +1122,13 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1091
1122
|
return new TypeError('Expected "string" but received "' + typeof obj_ownerOrgId + '" (at "' + path_ownerOrgId + '")');
|
|
1092
1123
|
}
|
|
1093
1124
|
}
|
|
1125
|
+
if (obj.providerId !== undefined) {
|
|
1126
|
+
const obj_providerId = obj.providerId;
|
|
1127
|
+
const path_providerId = path + '.providerId';
|
|
1128
|
+
if (typeof obj_providerId !== 'string') {
|
|
1129
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerId + '" (at "' + path_providerId + '")');
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1094
1132
|
const obj_status = obj.status;
|
|
1095
1133
|
const path_status = path + '.status';
|
|
1096
1134
|
if (typeof obj_status !== 'string') {
|
|
@@ -1099,7 +1137,7 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1099
1137
|
if (obj.templateVersion !== undefined) {
|
|
1100
1138
|
const obj_templateVersion = obj.templateVersion;
|
|
1101
1139
|
const path_templateVersion = path + '.templateVersion';
|
|
1102
|
-
const referencepath_templateVersionValidationError = validate$
|
|
1140
|
+
const referencepath_templateVersionValidationError = validate$p(obj_templateVersion, path_templateVersion);
|
|
1103
1141
|
if (referencepath_templateVersionValidationError !== null) {
|
|
1104
1142
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templateVersion + '")\n';
|
|
1105
1143
|
message += referencepath_templateVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1117,19 +1155,19 @@ function validate$7(obj, path = 'DataCleanRoomDataSpecificationRepresentation')
|
|
|
1117
1155
|
return v_error === undefined ? null : v_error;
|
|
1118
1156
|
}
|
|
1119
1157
|
const RepresentationType$7 = 'DataCleanRoomDataSpecificationRepresentation';
|
|
1120
|
-
function keyBuilder$
|
|
1158
|
+
function keyBuilder$e(luvio, config) {
|
|
1121
1159
|
return keyPrefix + '::' + RepresentationType$7 + ':' + config.id;
|
|
1122
1160
|
}
|
|
1123
1161
|
function keyBuilderFromType$2(luvio, object) {
|
|
1124
1162
|
const keyParams = {
|
|
1125
1163
|
id: object.id
|
|
1126
1164
|
};
|
|
1127
|
-
return keyBuilder$
|
|
1165
|
+
return keyBuilder$e(luvio, keyParams);
|
|
1128
1166
|
}
|
|
1129
1167
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
1130
1168
|
return input;
|
|
1131
1169
|
}
|
|
1132
|
-
const select$
|
|
1170
|
+
const select$h = function DataCleanRoomDataSpecificationRepresentationSelect() {
|
|
1133
1171
|
return {
|
|
1134
1172
|
kind: 'Fragment',
|
|
1135
1173
|
version: VERSION$7,
|
|
@@ -1145,7 +1183,7 @@ function equals$7(existing, incoming) {
|
|
|
1145
1183
|
}
|
|
1146
1184
|
const ingest$7 = function DataCleanRoomDataSpecificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1147
1185
|
if (process.env.NODE_ENV !== 'production') {
|
|
1148
|
-
const validateError = validate$
|
|
1186
|
+
const validateError = validate$i(input);
|
|
1149
1187
|
if (validateError !== null) {
|
|
1150
1188
|
throw validateError;
|
|
1151
1189
|
}
|
|
@@ -1165,19 +1203,19 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1165
1203
|
});
|
|
1166
1204
|
}
|
|
1167
1205
|
|
|
1168
|
-
function select$
|
|
1169
|
-
return select$
|
|
1206
|
+
function select$g(luvio, params) {
|
|
1207
|
+
return select$h();
|
|
1170
1208
|
}
|
|
1171
|
-
function getResponseCacheKeys$
|
|
1209
|
+
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
1172
1210
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
1173
1211
|
}
|
|
1174
|
-
function ingestSuccess$
|
|
1212
|
+
function ingestSuccess$9(luvio, resourceParams, response) {
|
|
1175
1213
|
const { body } = response;
|
|
1176
1214
|
const key = keyBuilderFromType$2(luvio, body);
|
|
1177
1215
|
luvio.storeIngest(key, ingest$7, body);
|
|
1178
1216
|
const snapshot = luvio.storeLookup({
|
|
1179
1217
|
recordId: key,
|
|
1180
|
-
node: select$
|
|
1218
|
+
node: select$g(),
|
|
1181
1219
|
variables: {},
|
|
1182
1220
|
});
|
|
1183
1221
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1188,7 +1226,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
|
|
|
1188
1226
|
deepFreeze(snapshot.data);
|
|
1189
1227
|
return snapshot;
|
|
1190
1228
|
}
|
|
1191
|
-
function createResourceRequest$
|
|
1229
|
+
function createResourceRequest$9(config) {
|
|
1192
1230
|
const headers = {};
|
|
1193
1231
|
return {
|
|
1194
1232
|
baseUri: '/services/data/v66.0',
|
|
@@ -1202,50 +1240,53 @@ function createResourceRequest$8(config) {
|
|
|
1202
1240
|
};
|
|
1203
1241
|
}
|
|
1204
1242
|
|
|
1205
|
-
const adapterName$
|
|
1243
|
+
const adapterName$9 = 'createDataCleanRoomSpecification';
|
|
1206
1244
|
const createDataCleanRoomSpecification_ConfigPropertyMetadata = [
|
|
1207
1245
|
generateParamConfigMetadata('dataMapping', true, 2 /* Body */, 4 /* Unsupported */),
|
|
1208
1246
|
generateParamConfigMetadata('memberType', true, 2 /* Body */, 0 /* String */),
|
|
1209
1247
|
generateParamConfigMetadata('ownerOrgId', true, 2 /* Body */, 0 /* String */),
|
|
1210
|
-
generateParamConfigMetadata('templateName',
|
|
1248
|
+
generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
|
|
1211
1249
|
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
1212
1250
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
1213
1251
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1214
1252
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
1253
|
+
generateParamConfigMetadata('templateVersionId', false, 2 /* Body */, 0 /* String */),
|
|
1254
|
+
generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
|
|
1255
|
+
generateParamConfigMetadata('useCaseType', false, 2 /* Body */, 0 /* String */),
|
|
1215
1256
|
];
|
|
1216
|
-
const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
1217
|
-
const createResourceParams$
|
|
1218
|
-
function typeCheckConfig$
|
|
1257
|
+
const createDataCleanRoomSpecification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
1258
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
1259
|
+
function typeCheckConfig$9(untrustedConfig) {
|
|
1219
1260
|
const config = {};
|
|
1220
|
-
typeCheckConfig$
|
|
1261
|
+
typeCheckConfig$c(untrustedConfig, config, createDataCleanRoomSpecification_ConfigPropertyMetadata);
|
|
1221
1262
|
const untrustedConfig_dataMapping = untrustedConfig.dataMapping;
|
|
1222
1263
|
config.dataMapping = untrustedConfig_dataMapping;
|
|
1223
1264
|
return config;
|
|
1224
1265
|
}
|
|
1225
|
-
function validateAdapterConfig$
|
|
1266
|
+
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
1226
1267
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
1227
1268
|
return null;
|
|
1228
1269
|
}
|
|
1229
1270
|
if (process.env.NODE_ENV !== 'production') {
|
|
1230
1271
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
1231
1272
|
}
|
|
1232
|
-
const config = typeCheckConfig$
|
|
1273
|
+
const config = typeCheckConfig$9(untrustedConfig);
|
|
1233
1274
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1234
1275
|
return null;
|
|
1235
1276
|
}
|
|
1236
1277
|
return config;
|
|
1237
1278
|
}
|
|
1238
|
-
function buildNetworkSnapshot$
|
|
1239
|
-
const resourceParams = createResourceParams$
|
|
1240
|
-
const request = createResourceRequest$
|
|
1279
|
+
function buildNetworkSnapshot$9(luvio, config, options) {
|
|
1280
|
+
const resourceParams = createResourceParams$9(config);
|
|
1281
|
+
const request = createResourceRequest$9(resourceParams);
|
|
1241
1282
|
return luvio.dispatchResourceRequest(request, options)
|
|
1242
1283
|
.then((response) => {
|
|
1243
1284
|
return luvio.handleSuccessResponse(() => {
|
|
1244
|
-
const snapshot = ingestSuccess$
|
|
1285
|
+
const snapshot = ingestSuccess$9(luvio, resourceParams, response);
|
|
1245
1286
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1246
1287
|
}, () => {
|
|
1247
1288
|
const cache = new StoreKeyMap();
|
|
1248
|
-
getResponseCacheKeys$
|
|
1289
|
+
getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
|
|
1249
1290
|
return cache;
|
|
1250
1291
|
});
|
|
1251
1292
|
}, (response) => {
|
|
@@ -1255,16 +1296,352 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
1255
1296
|
}
|
|
1256
1297
|
const createDataCleanRoomSpecificationAdapterFactory = (luvio) => {
|
|
1257
1298
|
return function createDataCleanRoomSpecification(untrustedConfig) {
|
|
1258
|
-
const config = validateAdapterConfig$
|
|
1299
|
+
const config = validateAdapterConfig$9(untrustedConfig, createDataCleanRoomSpecification_ConfigPropertyNames);
|
|
1259
1300
|
// Invalid or incomplete config
|
|
1260
1301
|
if (config === null) {
|
|
1261
1302
|
throw new Error('Invalid config for "createDataCleanRoomSpecification"');
|
|
1262
1303
|
}
|
|
1263
|
-
return buildNetworkSnapshot$
|
|
1304
|
+
return buildNetworkSnapshot$9(luvio, config);
|
|
1264
1305
|
};
|
|
1265
1306
|
};
|
|
1266
1307
|
|
|
1267
|
-
|
|
1308
|
+
function validate$h(obj, path = 'CustomUseCaseTemplateAnalysisConfigRepresentation') {
|
|
1309
|
+
const v_error = (() => {
|
|
1310
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1311
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1312
|
+
}
|
|
1313
|
+
if (obj.outputPath !== undefined) {
|
|
1314
|
+
const obj_outputPath = obj.outputPath;
|
|
1315
|
+
const path_outputPath = path + '.outputPath';
|
|
1316
|
+
if (typeof obj_outputPath !== 'string') {
|
|
1317
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputPath + '" (at "' + path_outputPath + '")');
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
})();
|
|
1321
|
+
return v_error === undefined ? null : v_error;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
function validate$g(obj, path = 'CustomUseCaseTemplateQueryParamConfig') {
|
|
1325
|
+
const v_error = (() => {
|
|
1326
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1327
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1328
|
+
}
|
|
1329
|
+
const obj_description = obj.description;
|
|
1330
|
+
const path_description = path + '.description';
|
|
1331
|
+
if (typeof obj_description !== 'string') {
|
|
1332
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1333
|
+
}
|
|
1334
|
+
const obj_name = obj.name;
|
|
1335
|
+
const path_name = path + '.name';
|
|
1336
|
+
if (typeof obj_name !== 'string') {
|
|
1337
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1338
|
+
}
|
|
1339
|
+
const obj_type = obj.type;
|
|
1340
|
+
const path_type = path + '.type';
|
|
1341
|
+
if (typeof obj_type !== 'string') {
|
|
1342
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
1343
|
+
}
|
|
1344
|
+
})();
|
|
1345
|
+
return v_error === undefined ? null : v_error;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
function validate$f(obj, path = 'CustomUseCaseTemplateQueryParamRepresentation') {
|
|
1349
|
+
const v_error = (() => {
|
|
1350
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1351
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1352
|
+
}
|
|
1353
|
+
const obj_queryParamConfigs = obj.queryParamConfigs;
|
|
1354
|
+
const path_queryParamConfigs = path + '.queryParamConfigs';
|
|
1355
|
+
if (!ArrayIsArray(obj_queryParamConfigs)) {
|
|
1356
|
+
return new TypeError('Expected "array" but received "' + typeof obj_queryParamConfigs + '" (at "' + path_queryParamConfigs + '")');
|
|
1357
|
+
}
|
|
1358
|
+
for (let i = 0; i < obj_queryParamConfigs.length; i++) {
|
|
1359
|
+
const obj_queryParamConfigs_item = obj_queryParamConfigs[i];
|
|
1360
|
+
const path_queryParamConfigs_item = path_queryParamConfigs + '[' + i + ']';
|
|
1361
|
+
const referencepath_queryParamConfigs_itemValidationError = validate$g(obj_queryParamConfigs_item, path_queryParamConfigs_item);
|
|
1362
|
+
if (referencepath_queryParamConfigs_itemValidationError !== null) {
|
|
1363
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamConfig (at "' + path_queryParamConfigs_item + '")\n';
|
|
1364
|
+
message += referencepath_queryParamConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1365
|
+
return new TypeError(message);
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
})();
|
|
1369
|
+
return v_error === undefined ? null : v_error;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
function validate$e(obj, path = 'CustomUseCaseTemplateQueryConfig') {
|
|
1373
|
+
const v_error = (() => {
|
|
1374
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1375
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1376
|
+
}
|
|
1377
|
+
if (obj.analysisConfigs !== undefined) {
|
|
1378
|
+
const obj_analysisConfigs = obj.analysisConfigs;
|
|
1379
|
+
const path_analysisConfigs = path + '.analysisConfigs';
|
|
1380
|
+
const referencepath_analysisConfigsValidationError = validate$h(obj_analysisConfigs, path_analysisConfigs);
|
|
1381
|
+
if (referencepath_analysisConfigsValidationError !== null) {
|
|
1382
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateAnalysisConfigRepresentation (at "' + path_analysisConfigs + '")\n';
|
|
1383
|
+
message += referencepath_analysisConfigsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1384
|
+
return new TypeError(message);
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
const obj_description = obj.description;
|
|
1388
|
+
const path_description = path + '.description';
|
|
1389
|
+
if (typeof obj_description !== 'string') {
|
|
1390
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1391
|
+
}
|
|
1392
|
+
const obj_name = obj.name;
|
|
1393
|
+
const path_name = path + '.name';
|
|
1394
|
+
if (typeof obj_name !== 'string') {
|
|
1395
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1396
|
+
}
|
|
1397
|
+
if (obj.queryParameters !== undefined) {
|
|
1398
|
+
const obj_queryParameters = obj.queryParameters;
|
|
1399
|
+
const path_queryParameters = path + '.queryParameters';
|
|
1400
|
+
const referencepath_queryParametersValidationError = validate$f(obj_queryParameters, path_queryParameters);
|
|
1401
|
+
if (referencepath_queryParametersValidationError !== null) {
|
|
1402
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryParamRepresentation (at "' + path_queryParameters + '")\n';
|
|
1403
|
+
message += referencepath_queryParametersValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1404
|
+
return new TypeError(message);
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
const obj_referencedTables = obj.referencedTables;
|
|
1408
|
+
const path_referencedTables = path + '.referencedTables';
|
|
1409
|
+
if (!ArrayIsArray(obj_referencedTables)) {
|
|
1410
|
+
return new TypeError('Expected "array" but received "' + typeof obj_referencedTables + '" (at "' + path_referencedTables + '")');
|
|
1411
|
+
}
|
|
1412
|
+
for (let i = 0; i < obj_referencedTables.length; i++) {
|
|
1413
|
+
const obj_referencedTables_item = obj_referencedTables[i];
|
|
1414
|
+
const path_referencedTables_item = path_referencedTables + '[' + i + ']';
|
|
1415
|
+
if (typeof obj_referencedTables_item !== 'string') {
|
|
1416
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referencedTables_item + '" (at "' + path_referencedTables_item + '")');
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
const obj_source = obj.source;
|
|
1420
|
+
const path_source = path + '.source';
|
|
1421
|
+
if (typeof obj_source !== 'string') {
|
|
1422
|
+
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
1423
|
+
}
|
|
1424
|
+
const obj_type = obj.type;
|
|
1425
|
+
const path_type = path + '.type';
|
|
1426
|
+
if (typeof obj_type !== 'string') {
|
|
1427
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
1428
|
+
}
|
|
1429
|
+
if (obj.usecase !== undefined) {
|
|
1430
|
+
const obj_usecase = obj.usecase;
|
|
1431
|
+
const path_usecase = path + '.usecase';
|
|
1432
|
+
if (typeof obj_usecase !== 'string') {
|
|
1433
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usecase + '" (at "' + path_usecase + '")');
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
})();
|
|
1437
|
+
return v_error === undefined ? null : v_error;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
function validate$d(obj, path = 'CustomUseCaseTemplateQueryInputRepresentation') {
|
|
1441
|
+
const v_error = (() => {
|
|
1442
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1443
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1444
|
+
}
|
|
1445
|
+
const obj_queryConfigs = obj.queryConfigs;
|
|
1446
|
+
const path_queryConfigs = path + '.queryConfigs';
|
|
1447
|
+
if (!ArrayIsArray(obj_queryConfigs)) {
|
|
1448
|
+
return new TypeError('Expected "array" but received "' + typeof obj_queryConfigs + '" (at "' + path_queryConfigs + '")');
|
|
1449
|
+
}
|
|
1450
|
+
for (let i = 0; i < obj_queryConfigs.length; i++) {
|
|
1451
|
+
const obj_queryConfigs_item = obj_queryConfigs[i];
|
|
1452
|
+
const path_queryConfigs_item = path_queryConfigs + '[' + i + ']';
|
|
1453
|
+
const referencepath_queryConfigs_itemValidationError = validate$e(obj_queryConfigs_item, path_queryConfigs_item);
|
|
1454
|
+
if (referencepath_queryConfigs_itemValidationError !== null) {
|
|
1455
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryConfig (at "' + path_queryConfigs_item + '")\n';
|
|
1456
|
+
message += referencepath_queryConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1457
|
+
return new TypeError(message);
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
})();
|
|
1461
|
+
return v_error === undefined ? null : v_error;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
function validate$c(obj, path = 'CustomUseCaseTemplateColumnRepresentation') {
|
|
1465
|
+
const v_error = (() => {
|
|
1466
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1467
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1468
|
+
}
|
|
1469
|
+
if (obj.defaultValue !== undefined) {
|
|
1470
|
+
const obj_defaultValue = obj.defaultValue;
|
|
1471
|
+
const path_defaultValue = path + '.defaultValue';
|
|
1472
|
+
if (typeof obj_defaultValue !== 'string') {
|
|
1473
|
+
return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
const obj_description = obj.description;
|
|
1477
|
+
const path_description = path + '.description';
|
|
1478
|
+
if (typeof obj_description !== 'string') {
|
|
1479
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1480
|
+
}
|
|
1481
|
+
const obj_name = obj.name;
|
|
1482
|
+
const path_name = path + '.name';
|
|
1483
|
+
if (typeof obj_name !== 'string') {
|
|
1484
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1485
|
+
}
|
|
1486
|
+
const obj_type = obj.type;
|
|
1487
|
+
const path_type = path + '.type';
|
|
1488
|
+
if (typeof obj_type !== 'string') {
|
|
1489
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
1490
|
+
}
|
|
1491
|
+
})();
|
|
1492
|
+
return v_error === undefined ? null : v_error;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
function validate$b(obj, path = 'CustomUseCaseTemplateTableConfig') {
|
|
1496
|
+
const v_error = (() => {
|
|
1497
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1498
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1499
|
+
}
|
|
1500
|
+
const obj_columns = obj.columns;
|
|
1501
|
+
const path_columns = path + '.columns';
|
|
1502
|
+
if (!ArrayIsArray(obj_columns)) {
|
|
1503
|
+
return new TypeError('Expected "array" but received "' + typeof obj_columns + '" (at "' + path_columns + '")');
|
|
1504
|
+
}
|
|
1505
|
+
for (let i = 0; i < obj_columns.length; i++) {
|
|
1506
|
+
const obj_columns_item = obj_columns[i];
|
|
1507
|
+
const path_columns_item = path_columns + '[' + i + ']';
|
|
1508
|
+
const referencepath_columns_itemValidationError = validate$c(obj_columns_item, path_columns_item);
|
|
1509
|
+
if (referencepath_columns_itemValidationError !== null) {
|
|
1510
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
1511
|
+
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1512
|
+
return new TypeError(message);
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
const obj_description = obj.description;
|
|
1516
|
+
const path_description = path + '.description';
|
|
1517
|
+
if (typeof obj_description !== 'string') {
|
|
1518
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1519
|
+
}
|
|
1520
|
+
const obj_name = obj.name;
|
|
1521
|
+
const path_name = path + '.name';
|
|
1522
|
+
if (typeof obj_name !== 'string') {
|
|
1523
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1524
|
+
}
|
|
1525
|
+
const obj_role = obj.role;
|
|
1526
|
+
const path_role = path + '.role';
|
|
1527
|
+
if (typeof obj_role !== 'string') {
|
|
1528
|
+
return new TypeError('Expected "string" but received "' + typeof obj_role + '" (at "' + path_role + '")');
|
|
1529
|
+
}
|
|
1530
|
+
})();
|
|
1531
|
+
return v_error === undefined ? null : v_error;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
function validate$a(obj, path = 'CustomUseCaseTemplateTableInputRepresentation') {
|
|
1535
|
+
const v_error = (() => {
|
|
1536
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1537
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1538
|
+
}
|
|
1539
|
+
const obj_tableConfigs = obj.tableConfigs;
|
|
1540
|
+
const path_tableConfigs = path + '.tableConfigs';
|
|
1541
|
+
if (!ArrayIsArray(obj_tableConfigs)) {
|
|
1542
|
+
return new TypeError('Expected "array" but received "' + typeof obj_tableConfigs + '" (at "' + path_tableConfigs + '")');
|
|
1543
|
+
}
|
|
1544
|
+
for (let i = 0; i < obj_tableConfigs.length; i++) {
|
|
1545
|
+
const obj_tableConfigs_item = obj_tableConfigs[i];
|
|
1546
|
+
const path_tableConfigs_item = path_tableConfigs + '[' + i + ']';
|
|
1547
|
+
const referencepath_tableConfigs_itemValidationError = validate$b(obj_tableConfigs_item, path_tableConfigs_item);
|
|
1548
|
+
if (referencepath_tableConfigs_itemValidationError !== null) {
|
|
1549
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateTableConfig (at "' + path_tableConfigs_item + '")\n';
|
|
1550
|
+
message += referencepath_tableConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1551
|
+
return new TypeError(message);
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
})();
|
|
1555
|
+
return v_error === undefined ? null : v_error;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
function validate$9(obj, path = 'CustomUseCaseTemplateInputRepresentation') {
|
|
1559
|
+
const v_error = (() => {
|
|
1560
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1561
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1562
|
+
}
|
|
1563
|
+
const obj_description = obj.description;
|
|
1564
|
+
const path_description = path + '.description';
|
|
1565
|
+
if (typeof obj_description !== 'string') {
|
|
1566
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1567
|
+
}
|
|
1568
|
+
const obj_name = obj.name;
|
|
1569
|
+
const path_name = path + '.name';
|
|
1570
|
+
if (typeof obj_name !== 'string') {
|
|
1571
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1572
|
+
}
|
|
1573
|
+
const obj_queries = obj.queries;
|
|
1574
|
+
const path_queries = path + '.queries';
|
|
1575
|
+
const referencepath_queriesValidationError = validate$d(obj_queries, path_queries);
|
|
1576
|
+
if (referencepath_queriesValidationError !== null) {
|
|
1577
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateQueryInputRepresentation (at "' + path_queries + '")\n';
|
|
1578
|
+
message += referencepath_queriesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1579
|
+
return new TypeError(message);
|
|
1580
|
+
}
|
|
1581
|
+
const obj_tables = obj.tables;
|
|
1582
|
+
const path_tables = path + '.tables';
|
|
1583
|
+
const referencepath_tablesValidationError = validate$a(obj_tables, path_tables);
|
|
1584
|
+
if (referencepath_tablesValidationError !== null) {
|
|
1585
|
+
let message = 'Object doesn\'t match CustomUseCaseTemplateTableInputRepresentation (at "' + path_tables + '")\n';
|
|
1586
|
+
message += referencepath_tablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1587
|
+
return new TypeError(message);
|
|
1588
|
+
}
|
|
1589
|
+
const obj_version = obj.version;
|
|
1590
|
+
const path_version = path + '.version';
|
|
1591
|
+
if (typeof obj_version !== 'string') {
|
|
1592
|
+
return new TypeError('Expected "string" but received "' + typeof obj_version + '" (at "' + path_version + '")');
|
|
1593
|
+
}
|
|
1594
|
+
})();
|
|
1595
|
+
return v_error === undefined ? null : v_error;
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
function validate$8(obj, path = 'DataCleanRoomUseCaseTypeInputRepresentation') {
|
|
1599
|
+
const v_error = (() => {
|
|
1600
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1601
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1602
|
+
}
|
|
1603
|
+
if (obj.useCaseTypes !== undefined) {
|
|
1604
|
+
const obj_useCaseTypes = obj.useCaseTypes;
|
|
1605
|
+
const path_useCaseTypes = path + '.useCaseTypes';
|
|
1606
|
+
if (!ArrayIsArray(obj_useCaseTypes)) {
|
|
1607
|
+
return new TypeError('Expected "array" but received "' + typeof obj_useCaseTypes + '" (at "' + path_useCaseTypes + '")');
|
|
1608
|
+
}
|
|
1609
|
+
for (let i = 0; i < obj_useCaseTypes.length; i++) {
|
|
1610
|
+
const obj_useCaseTypes_item = obj_useCaseTypes[i];
|
|
1611
|
+
const path_useCaseTypes_item = path_useCaseTypes + '[' + i + ']';
|
|
1612
|
+
if (typeof obj_useCaseTypes_item !== 'string') {
|
|
1613
|
+
return new TypeError('Expected "string" but received "' + typeof obj_useCaseTypes_item + '" (at "' + path_useCaseTypes_item + '")');
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
})();
|
|
1618
|
+
return v_error === undefined ? null : v_error;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
function validate$7(obj, path = 'DataCleanRoomUseCaseTypeRepresentation') {
|
|
1622
|
+
const v_error = (() => {
|
|
1623
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1624
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1625
|
+
}
|
|
1626
|
+
if (obj.useCaseTypes !== undefined) {
|
|
1627
|
+
const obj_useCaseTypes = obj.useCaseTypes;
|
|
1628
|
+
const path_useCaseTypes = path + '.useCaseTypes';
|
|
1629
|
+
if (!ArrayIsArray(obj_useCaseTypes)) {
|
|
1630
|
+
return new TypeError('Expected "array" but received "' + typeof obj_useCaseTypes + '" (at "' + path_useCaseTypes + '")');
|
|
1631
|
+
}
|
|
1632
|
+
for (let i = 0; i < obj_useCaseTypes.length; i++) {
|
|
1633
|
+
const obj_useCaseTypes_item = obj_useCaseTypes[i];
|
|
1634
|
+
const path_useCaseTypes_item = path_useCaseTypes + '[' + i + ']';
|
|
1635
|
+
if (typeof obj_useCaseTypes_item !== 'string') {
|
|
1636
|
+
return new TypeError('Expected "string" but received "' + typeof obj_useCaseTypes_item + '" (at "' + path_useCaseTypes_item + '")');
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
})();
|
|
1641
|
+
return v_error === undefined ? null : v_error;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
const VERSION$6 = "a27689b905a74d6a3a8638a2f09d5b3c";
|
|
1268
1645
|
function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
1269
1646
|
const v_error = (() => {
|
|
1270
1647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1273,7 +1650,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1273
1650
|
if (obj.createdBy !== undefined) {
|
|
1274
1651
|
const obj_createdBy = obj.createdBy;
|
|
1275
1652
|
const path_createdBy = path + '.createdBy';
|
|
1276
|
-
const referencepath_createdByValidationError = validate$
|
|
1653
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
1277
1654
|
if (referencepath_createdByValidationError !== null) {
|
|
1278
1655
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1279
1656
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1287,20 +1664,33 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1287
1664
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
1288
1665
|
}
|
|
1289
1666
|
}
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1667
|
+
if (obj.creationType !== undefined) {
|
|
1668
|
+
const obj_creationType = obj.creationType;
|
|
1669
|
+
const path_creationType = path + '.creationType';
|
|
1670
|
+
if (typeof obj_creationType !== 'string') {
|
|
1671
|
+
return new TypeError('Expected "string" but received "' + typeof obj_creationType + '" (at "' + path_creationType + '")');
|
|
1672
|
+
}
|
|
1294
1673
|
}
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1674
|
+
if (obj.dataCloudOrgId !== undefined) {
|
|
1675
|
+
const obj_dataCloudOrgId = obj.dataCloudOrgId;
|
|
1676
|
+
const path_dataCloudOrgId = path + '.dataCloudOrgId';
|
|
1677
|
+
if (typeof obj_dataCloudOrgId !== 'string') {
|
|
1678
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataCloudOrgId + '" (at "' + path_dataCloudOrgId + '")');
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
if (obj.description !== undefined) {
|
|
1682
|
+
const obj_description = obj.description;
|
|
1683
|
+
const path_description = path + '.description';
|
|
1684
|
+
if (typeof obj_description !== 'string') {
|
|
1685
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1686
|
+
}
|
|
1299
1687
|
}
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1688
|
+
if (obj.domainUrl !== undefined) {
|
|
1689
|
+
const obj_domainUrl = obj.domainUrl;
|
|
1690
|
+
const path_domainUrl = path + '.domainUrl';
|
|
1691
|
+
if (typeof obj_domainUrl !== 'string') {
|
|
1692
|
+
return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
|
|
1693
|
+
}
|
|
1304
1694
|
}
|
|
1305
1695
|
const obj_id = obj.id;
|
|
1306
1696
|
const path_id = path + '.id';
|
|
@@ -1317,7 +1707,7 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1317
1707
|
if (obj.lastModifiedBy !== undefined) {
|
|
1318
1708
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1319
1709
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1320
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1710
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1321
1711
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1322
1712
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1323
1713
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1352,21 +1742,46 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1352
1742
|
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
1353
1743
|
}
|
|
1354
1744
|
}
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1745
|
+
if (obj.offCoreTenantId !== undefined) {
|
|
1746
|
+
const obj_offCoreTenantId = obj.offCoreTenantId;
|
|
1747
|
+
const path_offCoreTenantId = path + '.offCoreTenantId';
|
|
1748
|
+
if (typeof obj_offCoreTenantId !== 'string') {
|
|
1749
|
+
return new TypeError('Expected "string" but received "' + typeof obj_offCoreTenantId + '" (at "' + path_offCoreTenantId + '")');
|
|
1750
|
+
}
|
|
1359
1751
|
}
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1752
|
+
if (obj.providerName !== undefined) {
|
|
1753
|
+
const obj_providerName = obj.providerName;
|
|
1754
|
+
const path_providerName = path + '.providerName';
|
|
1755
|
+
if (typeof obj_providerName !== 'string') {
|
|
1756
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerName + '" (at "' + path_providerName + '")');
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
if (obj.source !== undefined) {
|
|
1760
|
+
const obj_source = obj.source;
|
|
1761
|
+
const path_source = path + '.source';
|
|
1762
|
+
if (typeof obj_source !== 'string') {
|
|
1763
|
+
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
if (obj.sourceConfiguration !== undefined) {
|
|
1767
|
+
const obj_sourceConfiguration = obj.sourceConfiguration;
|
|
1768
|
+
const path_sourceConfiguration = path + '.sourceConfiguration';
|
|
1769
|
+
if (obj_sourceConfiguration === undefined) {
|
|
1770
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_sourceConfiguration + '" (at "' + path_sourceConfiguration + '")');
|
|
1771
|
+
}
|
|
1364
1772
|
}
|
|
1365
|
-
|
|
1366
|
-
const
|
|
1367
|
-
const
|
|
1368
|
-
if (
|
|
1369
|
-
return new TypeError('Expected "
|
|
1773
|
+
if (obj.templateNames !== undefined) {
|
|
1774
|
+
const obj_templateNames = obj.templateNames;
|
|
1775
|
+
const path_templateNames = path + '.templateNames';
|
|
1776
|
+
if (!ArrayIsArray(obj_templateNames)) {
|
|
1777
|
+
return new TypeError('Expected "array" but received "' + typeof obj_templateNames + '" (at "' + path_templateNames + '")');
|
|
1778
|
+
}
|
|
1779
|
+
for (let i = 0; i < obj_templateNames.length; i++) {
|
|
1780
|
+
const obj_templateNames_item = obj_templateNames[i];
|
|
1781
|
+
const path_templateNames_item = path_templateNames + '[' + i + ']';
|
|
1782
|
+
if (typeof obj_templateNames_item !== 'string') {
|
|
1783
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateNames_item + '" (at "' + path_templateNames_item + '")');
|
|
1784
|
+
}
|
|
1370
1785
|
}
|
|
1371
1786
|
}
|
|
1372
1787
|
if (obj.url !== undefined) {
|
|
@@ -1376,23 +1791,33 @@ function validate$6(obj, path = 'DataCleanRoomProviderRepresentation') {
|
|
|
1376
1791
|
return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
|
|
1377
1792
|
}
|
|
1378
1793
|
}
|
|
1794
|
+
if (obj.useCaseTypeConfig !== undefined) {
|
|
1795
|
+
const obj_useCaseTypeConfig = obj.useCaseTypeConfig;
|
|
1796
|
+
const path_useCaseTypeConfig = path + '.useCaseTypeConfig';
|
|
1797
|
+
const referencepath_useCaseTypeConfigValidationError = validate$7(obj_useCaseTypeConfig, path_useCaseTypeConfig);
|
|
1798
|
+
if (referencepath_useCaseTypeConfigValidationError !== null) {
|
|
1799
|
+
let message = 'Object doesn\'t match DataCleanRoomUseCaseTypeRepresentation (at "' + path_useCaseTypeConfig + '")\n';
|
|
1800
|
+
message += referencepath_useCaseTypeConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1801
|
+
return new TypeError(message);
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1379
1804
|
})();
|
|
1380
1805
|
return v_error === undefined ? null : v_error;
|
|
1381
1806
|
}
|
|
1382
1807
|
const RepresentationType$6 = 'DataCleanRoomProviderRepresentation';
|
|
1383
|
-
function keyBuilder$
|
|
1808
|
+
function keyBuilder$d(luvio, config) {
|
|
1384
1809
|
return keyPrefix + '::' + RepresentationType$6 + ':' + config.id;
|
|
1385
1810
|
}
|
|
1386
1811
|
function keyBuilderFromType$1(luvio, object) {
|
|
1387
1812
|
const keyParams = {
|
|
1388
1813
|
id: object.id
|
|
1389
1814
|
};
|
|
1390
|
-
return keyBuilder$
|
|
1815
|
+
return keyBuilder$d(luvio, keyParams);
|
|
1391
1816
|
}
|
|
1392
1817
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
1393
1818
|
return input;
|
|
1394
1819
|
}
|
|
1395
|
-
const select$
|
|
1820
|
+
const select$f = function DataCleanRoomProviderRepresentationSelect() {
|
|
1396
1821
|
return {
|
|
1397
1822
|
kind: 'Fragment',
|
|
1398
1823
|
version: VERSION$6,
|
|
@@ -1428,19 +1853,19 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1428
1853
|
});
|
|
1429
1854
|
}
|
|
1430
1855
|
|
|
1431
|
-
function select$
|
|
1432
|
-
return select$
|
|
1856
|
+
function select$e(luvio, params) {
|
|
1857
|
+
return select$f();
|
|
1433
1858
|
}
|
|
1434
|
-
function getResponseCacheKeys$
|
|
1859
|
+
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
1435
1860
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
1436
1861
|
}
|
|
1437
|
-
function ingestSuccess$
|
|
1862
|
+
function ingestSuccess$8(luvio, resourceParams, response) {
|
|
1438
1863
|
const { body } = response;
|
|
1439
1864
|
const key = keyBuilderFromType$1(luvio, body);
|
|
1440
1865
|
luvio.storeIngest(key, ingest$6, body);
|
|
1441
1866
|
const snapshot = luvio.storeLookup({
|
|
1442
1867
|
recordId: key,
|
|
1443
|
-
node: select$
|
|
1868
|
+
node: select$e(),
|
|
1444
1869
|
variables: {},
|
|
1445
1870
|
});
|
|
1446
1871
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1451,7 +1876,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
1451
1876
|
deepFreeze(snapshot.data);
|
|
1452
1877
|
return snapshot;
|
|
1453
1878
|
}
|
|
1454
|
-
function createResourceRequest$
|
|
1879
|
+
function createResourceRequest$8(config) {
|
|
1455
1880
|
const headers = {};
|
|
1456
1881
|
return {
|
|
1457
1882
|
baseUri: '/services/data/v66.0',
|
|
@@ -1465,49 +1890,67 @@ function createResourceRequest$7(config) {
|
|
|
1465
1890
|
};
|
|
1466
1891
|
}
|
|
1467
1892
|
|
|
1468
|
-
const adapterName$
|
|
1893
|
+
const adapterName$8 = 'createProvider';
|
|
1469
1894
|
const createProvider_ConfigPropertyMetadata = [
|
|
1470
1895
|
generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
|
|
1471
|
-
generateParamConfigMetadata('description',
|
|
1472
|
-
generateParamConfigMetadata('templateNames',
|
|
1473
|
-
generateParamConfigMetadata('dataCloudOrgId',
|
|
1474
|
-
generateParamConfigMetadata('domainUrl',
|
|
1896
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1897
|
+
generateParamConfigMetadata('templateNames', false, 2 /* Body */, 0 /* String */, true),
|
|
1898
|
+
generateParamConfigMetadata('dataCloudOrgId', false, 2 /* Body */, 0 /* String */),
|
|
1899
|
+
generateParamConfigMetadata('domainUrl', false, 2 /* Body */, 0 /* String */),
|
|
1475
1900
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
1476
1901
|
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
1477
1902
|
generateParamConfigMetadata('logoUrl', false, 2 /* Body */, 0 /* String */),
|
|
1478
|
-
generateParamConfigMetadata('offCoreTenantId',
|
|
1903
|
+
generateParamConfigMetadata('offCoreTenantId', false, 2 /* Body */, 0 /* String */),
|
|
1904
|
+
generateParamConfigMetadata('source', false, 2 /* Body */, 0 /* String */),
|
|
1905
|
+
generateParamConfigMetadata('templateJson', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1906
|
+
generateParamConfigMetadata('templateType', false, 2 /* Body */, 0 /* String */),
|
|
1907
|
+
generateParamConfigMetadata('useCaseTypeConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1908
|
+
generateParamConfigMetadata('providerName', false, 2 /* Body */, 0 /* String */),
|
|
1909
|
+
generateParamConfigMetadata('sourceConfiguration', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1479
1910
|
];
|
|
1480
|
-
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
1481
|
-
const createResourceParams$
|
|
1482
|
-
function typeCheckConfig$
|
|
1911
|
+
const createProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createProvider_ConfigPropertyMetadata);
|
|
1912
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(createProvider_ConfigPropertyMetadata);
|
|
1913
|
+
function typeCheckConfig$8(untrustedConfig) {
|
|
1483
1914
|
const config = {};
|
|
1484
|
-
typeCheckConfig$
|
|
1915
|
+
typeCheckConfig$c(untrustedConfig, config, createProvider_ConfigPropertyMetadata);
|
|
1916
|
+
const untrustedConfig_templateJson = untrustedConfig.templateJson;
|
|
1917
|
+
const referenceCustomUseCaseTemplateInputRepresentationValidationError = validate$9(untrustedConfig_templateJson);
|
|
1918
|
+
if (referenceCustomUseCaseTemplateInputRepresentationValidationError === null) {
|
|
1919
|
+
config.templateJson = untrustedConfig_templateJson;
|
|
1920
|
+
}
|
|
1921
|
+
const untrustedConfig_useCaseTypeConfig = untrustedConfig.useCaseTypeConfig;
|
|
1922
|
+
const referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError = validate$8(untrustedConfig_useCaseTypeConfig);
|
|
1923
|
+
if (referenceDataCleanRoomUseCaseTypeInputRepresentationValidationError === null) {
|
|
1924
|
+
config.useCaseTypeConfig = untrustedConfig_useCaseTypeConfig;
|
|
1925
|
+
}
|
|
1926
|
+
const untrustedConfig_sourceConfiguration = untrustedConfig.sourceConfiguration;
|
|
1927
|
+
config.sourceConfiguration = untrustedConfig_sourceConfiguration;
|
|
1485
1928
|
return config;
|
|
1486
1929
|
}
|
|
1487
|
-
function validateAdapterConfig$
|
|
1930
|
+
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
1488
1931
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
1489
1932
|
return null;
|
|
1490
1933
|
}
|
|
1491
1934
|
if (process.env.NODE_ENV !== 'production') {
|
|
1492
1935
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
1493
1936
|
}
|
|
1494
|
-
const config = typeCheckConfig$
|
|
1937
|
+
const config = typeCheckConfig$8(untrustedConfig);
|
|
1495
1938
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1496
1939
|
return null;
|
|
1497
1940
|
}
|
|
1498
1941
|
return config;
|
|
1499
1942
|
}
|
|
1500
|
-
function buildNetworkSnapshot$
|
|
1501
|
-
const resourceParams = createResourceParams$
|
|
1502
|
-
const request = createResourceRequest$
|
|
1943
|
+
function buildNetworkSnapshot$8(luvio, config, options) {
|
|
1944
|
+
const resourceParams = createResourceParams$8(config);
|
|
1945
|
+
const request = createResourceRequest$8(resourceParams);
|
|
1503
1946
|
return luvio.dispatchResourceRequest(request, options)
|
|
1504
1947
|
.then((response) => {
|
|
1505
1948
|
return luvio.handleSuccessResponse(() => {
|
|
1506
|
-
const snapshot = ingestSuccess$
|
|
1949
|
+
const snapshot = ingestSuccess$8(luvio, resourceParams, response);
|
|
1507
1950
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1508
1951
|
}, () => {
|
|
1509
1952
|
const cache = new StoreKeyMap();
|
|
1510
|
-
getResponseCacheKeys$
|
|
1953
|
+
getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
|
|
1511
1954
|
return cache;
|
|
1512
1955
|
});
|
|
1513
1956
|
}, (response) => {
|
|
@@ -1517,16 +1960,16 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
1517
1960
|
}
|
|
1518
1961
|
const createProviderAdapterFactory = (luvio) => {
|
|
1519
1962
|
return function createProvider(untrustedConfig) {
|
|
1520
|
-
const config = validateAdapterConfig$
|
|
1963
|
+
const config = validateAdapterConfig$8(untrustedConfig, createProvider_ConfigPropertyNames);
|
|
1521
1964
|
// Invalid or incomplete config
|
|
1522
1965
|
if (config === null) {
|
|
1523
1966
|
throw new Error('Invalid config for "createProvider"');
|
|
1524
1967
|
}
|
|
1525
|
-
return buildNetworkSnapshot$
|
|
1968
|
+
return buildNetworkSnapshot$8(luvio, config);
|
|
1526
1969
|
};
|
|
1527
1970
|
};
|
|
1528
1971
|
|
|
1529
|
-
const VERSION$5 = "
|
|
1972
|
+
const VERSION$5 = "c88ad589b064cbc75394ed69083e8f5f";
|
|
1530
1973
|
function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
1531
1974
|
const v_error = (() => {
|
|
1532
1975
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1542,7 +1985,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
1542
1985
|
if (obj.createdBy !== undefined) {
|
|
1543
1986
|
const obj_createdBy = obj.createdBy;
|
|
1544
1987
|
const path_createdBy = path + '.createdBy';
|
|
1545
|
-
const referencepath_createdByValidationError = validate$
|
|
1988
|
+
const referencepath_createdByValidationError = validate$q(obj_createdBy, path_createdBy);
|
|
1546
1989
|
if (referencepath_createdByValidationError !== null) {
|
|
1547
1990
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_createdBy + '")\n';
|
|
1548
1991
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1570,6 +2013,13 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
1570
2013
|
return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
|
|
1571
2014
|
}
|
|
1572
2015
|
}
|
|
2016
|
+
if (obj.executedBy !== undefined) {
|
|
2017
|
+
const obj_executedBy = obj.executedBy;
|
|
2018
|
+
const path_executedBy = path + '.executedBy';
|
|
2019
|
+
if (typeof obj_executedBy !== 'string') {
|
|
2020
|
+
return new TypeError('Expected "string" but received "' + typeof obj_executedBy + '" (at "' + path_executedBy + '")');
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
1573
2023
|
const obj_id = obj.id;
|
|
1574
2024
|
const path_id = path + '.id';
|
|
1575
2025
|
if (typeof obj_id !== 'string') {
|
|
@@ -1585,7 +2035,7 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
1585
2035
|
if (obj.lastModifiedBy !== undefined) {
|
|
1586
2036
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1587
2037
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1588
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2038
|
+
const referencepath_lastModifiedByValidationError = validate$q(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1589
2039
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1590
2040
|
let message = 'Object doesn\'t match CdpUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1591
2041
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1606,11 +2056,32 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
1606
2056
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1607
2057
|
}
|
|
1608
2058
|
}
|
|
1609
|
-
if (obj.
|
|
1610
|
-
const
|
|
1611
|
-
const
|
|
1612
|
-
if (typeof
|
|
1613
|
-
return new TypeError('Expected "
|
|
2059
|
+
if (obj.outputDMOName !== undefined) {
|
|
2060
|
+
const obj_outputDMOName = obj.outputDMOName;
|
|
2061
|
+
const path_outputDMOName = path + '.outputDMOName';
|
|
2062
|
+
if (typeof obj_outputDMOName !== 'string') {
|
|
2063
|
+
return new TypeError('Expected "string" but received "' + typeof obj_outputDMOName + '" (at "' + path_outputDMOName + '")');
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
if (obj.queryParam !== undefined) {
|
|
2067
|
+
const obj_queryParam = obj.queryParam;
|
|
2068
|
+
const path_queryParam = path + '.queryParam';
|
|
2069
|
+
if (obj_queryParam === undefined) {
|
|
2070
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_queryParam + '" (at "' + path_queryParam + '")');
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
if (obj.reportId !== undefined) {
|
|
2074
|
+
const obj_reportId = obj.reportId;
|
|
2075
|
+
const path_reportId = path + '.reportId';
|
|
2076
|
+
if (typeof obj_reportId !== 'string') {
|
|
2077
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reportId + '" (at "' + path_reportId + '")');
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
if (obj.reportName !== undefined) {
|
|
2081
|
+
const obj_reportName = obj.reportName;
|
|
2082
|
+
const path_reportName = path + '.reportName';
|
|
2083
|
+
if (typeof obj_reportName !== 'string') {
|
|
2084
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reportName + '" (at "' + path_reportName + '")');
|
|
1614
2085
|
}
|
|
1615
2086
|
}
|
|
1616
2087
|
if (obj.segmentNames !== undefined) {
|
|
@@ -1643,19 +2114,19 @@ function validate$5(obj, path = 'DataCleanRoomQueryJobRepresentation') {
|
|
|
1643
2114
|
return v_error === undefined ? null : v_error;
|
|
1644
2115
|
}
|
|
1645
2116
|
const RepresentationType$5 = 'DataCleanRoomQueryJobRepresentation';
|
|
1646
|
-
function keyBuilder$
|
|
2117
|
+
function keyBuilder$c(luvio, config) {
|
|
1647
2118
|
return keyPrefix + '::' + RepresentationType$5 + ':' + config.id;
|
|
1648
2119
|
}
|
|
1649
2120
|
function keyBuilderFromType(luvio, object) {
|
|
1650
2121
|
const keyParams = {
|
|
1651
2122
|
id: object.id
|
|
1652
2123
|
};
|
|
1653
|
-
return keyBuilder$
|
|
2124
|
+
return keyBuilder$c(luvio, keyParams);
|
|
1654
2125
|
}
|
|
1655
2126
|
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
1656
2127
|
return input;
|
|
1657
2128
|
}
|
|
1658
|
-
const select$
|
|
2129
|
+
const select$d = function DataCleanRoomQueryJobRepresentationSelect() {
|
|
1659
2130
|
return {
|
|
1660
2131
|
kind: 'Fragment',
|
|
1661
2132
|
version: VERSION$5,
|
|
@@ -1691,19 +2162,19 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1691
2162
|
});
|
|
1692
2163
|
}
|
|
1693
2164
|
|
|
1694
|
-
function select$
|
|
1695
|
-
return select$
|
|
2165
|
+
function select$c(luvio, params) {
|
|
2166
|
+
return select$d();
|
|
1696
2167
|
}
|
|
1697
|
-
function getResponseCacheKeys$
|
|
2168
|
+
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
1698
2169
|
getTypeCacheKeys$5(storeKeyMap, luvio, response);
|
|
1699
2170
|
}
|
|
1700
|
-
function ingestSuccess$
|
|
2171
|
+
function ingestSuccess$7(luvio, resourceParams, response) {
|
|
1701
2172
|
const { body } = response;
|
|
1702
2173
|
const key = keyBuilderFromType(luvio, body);
|
|
1703
2174
|
luvio.storeIngest(key, ingest$5, body);
|
|
1704
2175
|
const snapshot = luvio.storeLookup({
|
|
1705
2176
|
recordId: key,
|
|
1706
|
-
node: select$
|
|
2177
|
+
node: select$c(),
|
|
1707
2178
|
variables: {},
|
|
1708
2179
|
});
|
|
1709
2180
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1714,7 +2185,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
1714
2185
|
deepFreeze(snapshot.data);
|
|
1715
2186
|
return snapshot;
|
|
1716
2187
|
}
|
|
1717
|
-
function createResourceRequest$
|
|
2188
|
+
function createResourceRequest$7(config) {
|
|
1718
2189
|
const headers = {};
|
|
1719
2190
|
return {
|
|
1720
2191
|
baseUri: '/services/data/v66.0',
|
|
@@ -1728,43 +2199,46 @@ function createResourceRequest$6(config) {
|
|
|
1728
2199
|
};
|
|
1729
2200
|
}
|
|
1730
2201
|
|
|
1731
|
-
const adapterName$
|
|
2202
|
+
const adapterName$7 = 'executeDataCleanRoomQuery';
|
|
1732
2203
|
const executeDataCleanRoomQuery_ConfigPropertyMetadata = [
|
|
1733
2204
|
generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
1734
2205
|
generateParamConfigMetadata('queryExecutionName', true, 2 /* Body */, 0 /* String */),
|
|
1735
|
-
generateParamConfigMetadata('segmentIds',
|
|
2206
|
+
generateParamConfigMetadata('segmentIds', false, 2 /* Body */, 0 /* String */, true),
|
|
2207
|
+
generateParamConfigMetadata('queryParameters', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1736
2208
|
];
|
|
1737
|
-
const executeDataCleanRoomQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
1738
|
-
const createResourceParams$
|
|
1739
|
-
function typeCheckConfig$
|
|
2209
|
+
const executeDataCleanRoomQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, executeDataCleanRoomQuery_ConfigPropertyMetadata);
|
|
2210
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(executeDataCleanRoomQuery_ConfigPropertyMetadata);
|
|
2211
|
+
function typeCheckConfig$7(untrustedConfig) {
|
|
1740
2212
|
const config = {};
|
|
1741
|
-
typeCheckConfig$
|
|
2213
|
+
typeCheckConfig$c(untrustedConfig, config, executeDataCleanRoomQuery_ConfigPropertyMetadata);
|
|
2214
|
+
const untrustedConfig_queryParameters = untrustedConfig.queryParameters;
|
|
2215
|
+
config.queryParameters = untrustedConfig_queryParameters;
|
|
1742
2216
|
return config;
|
|
1743
2217
|
}
|
|
1744
|
-
function validateAdapterConfig$
|
|
2218
|
+
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
1745
2219
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
1746
2220
|
return null;
|
|
1747
2221
|
}
|
|
1748
2222
|
if (process.env.NODE_ENV !== 'production') {
|
|
1749
2223
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
1750
2224
|
}
|
|
1751
|
-
const config = typeCheckConfig$
|
|
2225
|
+
const config = typeCheckConfig$7(untrustedConfig);
|
|
1752
2226
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1753
2227
|
return null;
|
|
1754
2228
|
}
|
|
1755
2229
|
return config;
|
|
1756
2230
|
}
|
|
1757
|
-
function buildNetworkSnapshot$
|
|
1758
|
-
const resourceParams = createResourceParams$
|
|
1759
|
-
const request = createResourceRequest$
|
|
2231
|
+
function buildNetworkSnapshot$7(luvio, config, options) {
|
|
2232
|
+
const resourceParams = createResourceParams$7(config);
|
|
2233
|
+
const request = createResourceRequest$7(resourceParams);
|
|
1760
2234
|
return luvio.dispatchResourceRequest(request, options)
|
|
1761
2235
|
.then((response) => {
|
|
1762
2236
|
return luvio.handleSuccessResponse(() => {
|
|
1763
|
-
const snapshot = ingestSuccess$
|
|
2237
|
+
const snapshot = ingestSuccess$7(luvio, resourceParams, response);
|
|
1764
2238
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1765
2239
|
}, () => {
|
|
1766
2240
|
const cache = new StoreKeyMap();
|
|
1767
|
-
getResponseCacheKeys$
|
|
2241
|
+
getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
|
|
1768
2242
|
return cache;
|
|
1769
2243
|
});
|
|
1770
2244
|
}, (response) => {
|
|
@@ -1774,12 +2248,12 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
1774
2248
|
}
|
|
1775
2249
|
const executeDataCleanRoomQueryAdapterFactory = (luvio) => {
|
|
1776
2250
|
return function executeDataCleanRoomQuery(untrustedConfig) {
|
|
1777
|
-
const config = validateAdapterConfig$
|
|
2251
|
+
const config = validateAdapterConfig$7(untrustedConfig, executeDataCleanRoomQuery_ConfigPropertyNames);
|
|
1778
2252
|
// Invalid or incomplete config
|
|
1779
2253
|
if (config === null) {
|
|
1780
2254
|
throw new Error('Invalid config for "executeDataCleanRoomQuery"');
|
|
1781
2255
|
}
|
|
1782
|
-
return buildNetworkSnapshot$
|
|
2256
|
+
return buildNetworkSnapshot$7(luvio, config);
|
|
1783
2257
|
};
|
|
1784
2258
|
};
|
|
1785
2259
|
|
|
@@ -1863,7 +2337,7 @@ const RepresentationType$4 = 'DataCleanRoomQueryJobHistoryCollectionRepresentati
|
|
|
1863
2337
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
1864
2338
|
return input;
|
|
1865
2339
|
}
|
|
1866
|
-
const select$
|
|
2340
|
+
const select$b = function DataCleanRoomQueryJobHistoryCollectionRepresentationSelect() {
|
|
1867
2341
|
return {
|
|
1868
2342
|
kind: 'Fragment',
|
|
1869
2343
|
version: VERSION$4,
|
|
@@ -1899,22 +2373,22 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1899
2373
|
});
|
|
1900
2374
|
}
|
|
1901
2375
|
|
|
1902
|
-
function select$
|
|
1903
|
-
return select$
|
|
2376
|
+
function select$a(luvio, params) {
|
|
2377
|
+
return select$b();
|
|
1904
2378
|
}
|
|
1905
|
-
function keyBuilder$
|
|
2379
|
+
function keyBuilder$b(luvio, params) {
|
|
1906
2380
|
return keyPrefix + '::DataCleanRoomQueryJobHistoryCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'filters:' + params.queryParams.filters + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'collaborationIdOrApiName:' + params.urlParams.collaborationIdOrApiName + ')';
|
|
1907
2381
|
}
|
|
1908
|
-
function getResponseCacheKeys$
|
|
1909
|
-
getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$
|
|
2382
|
+
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
2383
|
+
getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
|
|
1910
2384
|
}
|
|
1911
|
-
function ingestSuccess$
|
|
2385
|
+
function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
|
|
1912
2386
|
const { body } = response;
|
|
1913
|
-
const key = keyBuilder$
|
|
2387
|
+
const key = keyBuilder$b(luvio, resourceParams);
|
|
1914
2388
|
luvio.storeIngest(key, ingest$4, body);
|
|
1915
2389
|
const snapshot = luvio.storeLookup({
|
|
1916
2390
|
recordId: key,
|
|
1917
|
-
node: select$
|
|
2391
|
+
node: select$a(),
|
|
1918
2392
|
variables: {},
|
|
1919
2393
|
}, snapshotRefresh);
|
|
1920
2394
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1925,13 +2399,13 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1925
2399
|
deepFreeze(snapshot.data);
|
|
1926
2400
|
return snapshot;
|
|
1927
2401
|
}
|
|
1928
|
-
function ingestError$
|
|
1929
|
-
const key = keyBuilder$
|
|
2402
|
+
function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
2403
|
+
const key = keyBuilder$b(luvio, params);
|
|
1930
2404
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1931
2405
|
luvio.storeIngestError(key, errorSnapshot);
|
|
1932
2406
|
return errorSnapshot;
|
|
1933
2407
|
}
|
|
1934
|
-
function createResourceRequest$
|
|
2408
|
+
function createResourceRequest$6(config) {
|
|
1935
2409
|
const headers = {};
|
|
1936
2410
|
return {
|
|
1937
2411
|
baseUri: '/services/data/v66.0',
|
|
@@ -1945,7 +2419,7 @@ function createResourceRequest$5(config) {
|
|
|
1945
2419
|
};
|
|
1946
2420
|
}
|
|
1947
2421
|
|
|
1948
|
-
const adapterName$
|
|
2422
|
+
const adapterName$6 = 'getAllDataCleanRoomQueryPaginated';
|
|
1949
2423
|
const getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata = [
|
|
1950
2424
|
generateParamConfigMetadata('collaborationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
1951
2425
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
@@ -1953,86 +2427,86 @@ const getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata = [
|
|
|
1953
2427
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1954
2428
|
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1955
2429
|
];
|
|
1956
|
-
const getAllDataCleanRoomQueryPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
1957
|
-
const createResourceParams$
|
|
1958
|
-
function keyBuilder$
|
|
1959
|
-
const resourceParams = createResourceParams$
|
|
1960
|
-
return keyBuilder$
|
|
2430
|
+
const getAllDataCleanRoomQueryPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
|
|
2431
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
|
|
2432
|
+
function keyBuilder$a(luvio, config) {
|
|
2433
|
+
const resourceParams = createResourceParams$6(config);
|
|
2434
|
+
return keyBuilder$b(luvio, resourceParams);
|
|
1961
2435
|
}
|
|
1962
|
-
function typeCheckConfig$
|
|
2436
|
+
function typeCheckConfig$6(untrustedConfig) {
|
|
1963
2437
|
const config = {};
|
|
1964
|
-
typeCheckConfig$
|
|
2438
|
+
typeCheckConfig$c(untrustedConfig, config, getAllDataCleanRoomQueryPaginated_ConfigPropertyMetadata);
|
|
1965
2439
|
return config;
|
|
1966
2440
|
}
|
|
1967
|
-
function validateAdapterConfig$
|
|
2441
|
+
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
1968
2442
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
1969
2443
|
return null;
|
|
1970
2444
|
}
|
|
1971
2445
|
if (process.env.NODE_ENV !== 'production') {
|
|
1972
2446
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
1973
2447
|
}
|
|
1974
|
-
const config = typeCheckConfig$
|
|
2448
|
+
const config = typeCheckConfig$6(untrustedConfig);
|
|
1975
2449
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1976
2450
|
return null;
|
|
1977
2451
|
}
|
|
1978
2452
|
return config;
|
|
1979
2453
|
}
|
|
1980
|
-
function adapterFragment$
|
|
1981
|
-
createResourceParams$
|
|
1982
|
-
return select$
|
|
2454
|
+
function adapterFragment$5(luvio, config) {
|
|
2455
|
+
createResourceParams$6(config);
|
|
2456
|
+
return select$a();
|
|
1983
2457
|
}
|
|
1984
|
-
function onFetchResponseSuccess$
|
|
1985
|
-
const snapshot = ingestSuccess$
|
|
2458
|
+
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
2459
|
+
const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
|
|
1986
2460
|
config,
|
|
1987
|
-
resolve: () => buildNetworkSnapshot$
|
|
2461
|
+
resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
|
|
1988
2462
|
});
|
|
1989
2463
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1990
2464
|
}
|
|
1991
|
-
function onFetchResponseError$
|
|
1992
|
-
const snapshot = ingestError$
|
|
2465
|
+
function onFetchResponseError$5(luvio, config, resourceParams, response) {
|
|
2466
|
+
const snapshot = ingestError$5(luvio, resourceParams, response, {
|
|
1993
2467
|
config,
|
|
1994
|
-
resolve: () => buildNetworkSnapshot$
|
|
2468
|
+
resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
|
|
1995
2469
|
});
|
|
1996
2470
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1997
2471
|
}
|
|
1998
|
-
function buildNetworkSnapshot$
|
|
1999
|
-
const resourceParams = createResourceParams$
|
|
2000
|
-
const request = createResourceRequest$
|
|
2472
|
+
function buildNetworkSnapshot$6(luvio, config, options) {
|
|
2473
|
+
const resourceParams = createResourceParams$6(config);
|
|
2474
|
+
const request = createResourceRequest$6(resourceParams);
|
|
2001
2475
|
return luvio.dispatchResourceRequest(request, options)
|
|
2002
2476
|
.then((response) => {
|
|
2003
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
2477
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
|
|
2004
2478
|
const cache = new StoreKeyMap();
|
|
2005
|
-
getResponseCacheKeys$
|
|
2479
|
+
getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
|
|
2006
2480
|
return cache;
|
|
2007
2481
|
});
|
|
2008
2482
|
}, (response) => {
|
|
2009
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
2483
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
|
|
2010
2484
|
});
|
|
2011
2485
|
}
|
|
2012
|
-
function buildNetworkSnapshotCachePolicy$
|
|
2013
|
-
return buildNetworkSnapshotCachePolicy$
|
|
2486
|
+
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
2487
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
|
|
2014
2488
|
}
|
|
2015
|
-
function buildCachedSnapshotCachePolicy$
|
|
2489
|
+
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
2016
2490
|
const { luvio, config } = context;
|
|
2017
2491
|
const selector = {
|
|
2018
|
-
recordId: keyBuilder$
|
|
2019
|
-
node: adapterFragment$
|
|
2492
|
+
recordId: keyBuilder$a(luvio, config),
|
|
2493
|
+
node: adapterFragment$5(luvio, config),
|
|
2020
2494
|
variables: {},
|
|
2021
2495
|
};
|
|
2022
2496
|
const cacheSnapshot = storeLookup(selector, {
|
|
2023
2497
|
config,
|
|
2024
|
-
resolve: () => buildNetworkSnapshot$
|
|
2498
|
+
resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
|
|
2025
2499
|
});
|
|
2026
2500
|
return cacheSnapshot;
|
|
2027
2501
|
}
|
|
2028
2502
|
const getAllDataCleanRoomQueryPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomQueryPaginated(untrustedConfig, requestContext) {
|
|
2029
|
-
const config = validateAdapterConfig$
|
|
2503
|
+
const config = validateAdapterConfig$6(untrustedConfig, getAllDataCleanRoomQueryPaginated_ConfigPropertyNames);
|
|
2030
2504
|
// Invalid or incomplete config
|
|
2031
2505
|
if (config === null) {
|
|
2032
2506
|
return null;
|
|
2033
2507
|
}
|
|
2034
2508
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
2035
|
-
buildCachedSnapshotCachePolicy$
|
|
2509
|
+
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
2036
2510
|
};
|
|
2037
2511
|
|
|
2038
2512
|
const VERSION$3 = "9e5eddaaa3330278c7aa483af5dc8d74";
|
|
@@ -2049,7 +2523,7 @@ function validate$3(obj, path = 'DataCleanRoomCollaborationCollectionRepresentat
|
|
|
2049
2523
|
for (let i = 0; i < obj_collaborations.length; i++) {
|
|
2050
2524
|
const obj_collaborations_item = obj_collaborations[i];
|
|
2051
2525
|
const path_collaborations_item = path_collaborations + '[' + i + ']';
|
|
2052
|
-
const referencepath_collaborations_itemValidationError = validate$
|
|
2526
|
+
const referencepath_collaborations_itemValidationError = validate$o(obj_collaborations_item, path_collaborations_item);
|
|
2053
2527
|
if (referencepath_collaborations_itemValidationError !== null) {
|
|
2054
2528
|
let message = 'Object doesn\'t match DataCleanRoomCollaborationRepresentation (at "' + path_collaborations_item + '")\n';
|
|
2055
2529
|
message += referencepath_collaborations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2115,7 +2589,7 @@ const RepresentationType$3 = 'DataCleanRoomCollaborationCollectionRepresentation
|
|
|
2115
2589
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
2116
2590
|
return input;
|
|
2117
2591
|
}
|
|
2118
|
-
const select$
|
|
2592
|
+
const select$9 = function DataCleanRoomCollaborationCollectionRepresentationSelect() {
|
|
2119
2593
|
return {
|
|
2120
2594
|
kind: 'Fragment',
|
|
2121
2595
|
version: VERSION$3,
|
|
@@ -2151,22 +2625,22 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2151
2625
|
});
|
|
2152
2626
|
}
|
|
2153
2627
|
|
|
2154
|
-
function select$
|
|
2155
|
-
return select$
|
|
2628
|
+
function select$8(luvio, params) {
|
|
2629
|
+
return select$9();
|
|
2156
2630
|
}
|
|
2157
|
-
function keyBuilder$
|
|
2631
|
+
function keyBuilder$9(luvio, params) {
|
|
2158
2632
|
return keyPrefix + '::DataCleanRoomCollaborationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
|
|
2159
2633
|
}
|
|
2160
|
-
function getResponseCacheKeys$
|
|
2161
|
-
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$
|
|
2634
|
+
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
2635
|
+
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
|
|
2162
2636
|
}
|
|
2163
|
-
function ingestSuccess$
|
|
2637
|
+
function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
2164
2638
|
const { body } = response;
|
|
2165
|
-
const key = keyBuilder$
|
|
2639
|
+
const key = keyBuilder$9(luvio, resourceParams);
|
|
2166
2640
|
luvio.storeIngest(key, ingest$3, body);
|
|
2167
2641
|
const snapshot = luvio.storeLookup({
|
|
2168
2642
|
recordId: key,
|
|
2169
|
-
node: select$
|
|
2643
|
+
node: select$8(),
|
|
2170
2644
|
variables: {},
|
|
2171
2645
|
}, snapshotRefresh);
|
|
2172
2646
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2177,13 +2651,13 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2177
2651
|
deepFreeze(snapshot.data);
|
|
2178
2652
|
return snapshot;
|
|
2179
2653
|
}
|
|
2180
|
-
function ingestError$
|
|
2181
|
-
const key = keyBuilder$
|
|
2654
|
+
function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
2655
|
+
const key = keyBuilder$9(luvio, params);
|
|
2182
2656
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2183
2657
|
luvio.storeIngestError(key, errorSnapshot);
|
|
2184
2658
|
return errorSnapshot;
|
|
2185
2659
|
}
|
|
2186
|
-
function createResourceRequest$
|
|
2660
|
+
function createResourceRequest$5(config) {
|
|
2187
2661
|
const headers = {};
|
|
2188
2662
|
return {
|
|
2189
2663
|
baseUri: '/services/data/v66.0',
|
|
@@ -2197,93 +2671,93 @@ function createResourceRequest$4(config) {
|
|
|
2197
2671
|
};
|
|
2198
2672
|
}
|
|
2199
2673
|
|
|
2200
|
-
const adapterName$
|
|
2674
|
+
const adapterName$5 = 'getAllDataCleanRoomsPaginated';
|
|
2201
2675
|
const getAllDataCleanRoomsPaginated_ConfigPropertyMetadata = [
|
|
2202
2676
|
generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2203
2677
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2204
2678
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2205
2679
|
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2206
2680
|
];
|
|
2207
|
-
const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
2208
|
-
const createResourceParams$
|
|
2209
|
-
function keyBuilder$
|
|
2210
|
-
const resourceParams = createResourceParams$
|
|
2211
|
-
return keyBuilder$
|
|
2681
|
+
const getAllDataCleanRoomsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
|
|
2682
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
|
|
2683
|
+
function keyBuilder$8(luvio, config) {
|
|
2684
|
+
const resourceParams = createResourceParams$5(config);
|
|
2685
|
+
return keyBuilder$9(luvio, resourceParams);
|
|
2212
2686
|
}
|
|
2213
|
-
function typeCheckConfig$
|
|
2687
|
+
function typeCheckConfig$5(untrustedConfig) {
|
|
2214
2688
|
const config = {};
|
|
2215
|
-
typeCheckConfig$
|
|
2689
|
+
typeCheckConfig$c(untrustedConfig, config, getAllDataCleanRoomsPaginated_ConfigPropertyMetadata);
|
|
2216
2690
|
return config;
|
|
2217
2691
|
}
|
|
2218
|
-
function validateAdapterConfig$
|
|
2692
|
+
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
2219
2693
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
2220
2694
|
return null;
|
|
2221
2695
|
}
|
|
2222
2696
|
if (process.env.NODE_ENV !== 'production') {
|
|
2223
2697
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
2224
2698
|
}
|
|
2225
|
-
const config = typeCheckConfig$
|
|
2699
|
+
const config = typeCheckConfig$5(untrustedConfig);
|
|
2226
2700
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
2227
2701
|
return null;
|
|
2228
2702
|
}
|
|
2229
2703
|
return config;
|
|
2230
2704
|
}
|
|
2231
|
-
function adapterFragment$
|
|
2232
|
-
createResourceParams$
|
|
2233
|
-
return select$
|
|
2705
|
+
function adapterFragment$4(luvio, config) {
|
|
2706
|
+
createResourceParams$5(config);
|
|
2707
|
+
return select$8();
|
|
2234
2708
|
}
|
|
2235
|
-
function onFetchResponseSuccess$
|
|
2236
|
-
const snapshot = ingestSuccess$
|
|
2709
|
+
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
2710
|
+
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
2237
2711
|
config,
|
|
2238
|
-
resolve: () => buildNetworkSnapshot$
|
|
2712
|
+
resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
|
|
2239
2713
|
});
|
|
2240
2714
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2241
2715
|
}
|
|
2242
|
-
function onFetchResponseError$
|
|
2243
|
-
const snapshot = ingestError$
|
|
2716
|
+
function onFetchResponseError$4(luvio, config, resourceParams, response) {
|
|
2717
|
+
const snapshot = ingestError$4(luvio, resourceParams, response, {
|
|
2244
2718
|
config,
|
|
2245
|
-
resolve: () => buildNetworkSnapshot$
|
|
2719
|
+
resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
|
|
2246
2720
|
});
|
|
2247
2721
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2248
2722
|
}
|
|
2249
|
-
function buildNetworkSnapshot$
|
|
2250
|
-
const resourceParams = createResourceParams$
|
|
2251
|
-
const request = createResourceRequest$
|
|
2723
|
+
function buildNetworkSnapshot$5(luvio, config, options) {
|
|
2724
|
+
const resourceParams = createResourceParams$5(config);
|
|
2725
|
+
const request = createResourceRequest$5(resourceParams);
|
|
2252
2726
|
return luvio.dispatchResourceRequest(request, options)
|
|
2253
2727
|
.then((response) => {
|
|
2254
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
2728
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
|
|
2255
2729
|
const cache = new StoreKeyMap();
|
|
2256
|
-
getResponseCacheKeys$
|
|
2730
|
+
getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
|
|
2257
2731
|
return cache;
|
|
2258
2732
|
});
|
|
2259
2733
|
}, (response) => {
|
|
2260
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
2734
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
|
|
2261
2735
|
});
|
|
2262
2736
|
}
|
|
2263
|
-
function buildNetworkSnapshotCachePolicy$
|
|
2264
|
-
return buildNetworkSnapshotCachePolicy$
|
|
2737
|
+
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
2738
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
|
|
2265
2739
|
}
|
|
2266
|
-
function buildCachedSnapshotCachePolicy$
|
|
2740
|
+
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
2267
2741
|
const { luvio, config } = context;
|
|
2268
2742
|
const selector = {
|
|
2269
|
-
recordId: keyBuilder$
|
|
2270
|
-
node: adapterFragment$
|
|
2743
|
+
recordId: keyBuilder$8(luvio, config),
|
|
2744
|
+
node: adapterFragment$4(luvio, config),
|
|
2271
2745
|
variables: {},
|
|
2272
2746
|
};
|
|
2273
2747
|
const cacheSnapshot = storeLookup(selector, {
|
|
2274
2748
|
config,
|
|
2275
|
-
resolve: () => buildNetworkSnapshot$
|
|
2749
|
+
resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
|
|
2276
2750
|
});
|
|
2277
2751
|
return cacheSnapshot;
|
|
2278
2752
|
}
|
|
2279
2753
|
const getAllDataCleanRoomsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getAllDataCleanRoomsPaginated(untrustedConfig, requestContext) {
|
|
2280
|
-
const config = validateAdapterConfig$
|
|
2754
|
+
const config = validateAdapterConfig$5(untrustedConfig, getAllDataCleanRoomsPaginated_ConfigPropertyNames);
|
|
2281
2755
|
// Invalid or incomplete config
|
|
2282
2756
|
if (config === null) {
|
|
2283
2757
|
return null;
|
|
2284
2758
|
}
|
|
2285
2759
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
2286
|
-
buildCachedSnapshotCachePolicy$
|
|
2760
|
+
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
2287
2761
|
};
|
|
2288
2762
|
|
|
2289
2763
|
const VERSION$2 = "52237eeecd4f8f11ae22e265d9abe5ca";
|
|
@@ -2383,7 +2857,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
|
2383
2857
|
}
|
|
2384
2858
|
return input;
|
|
2385
2859
|
}
|
|
2386
|
-
const select$
|
|
2860
|
+
const select$7 = function DataCleanRoomProviderCollectionRepresentationSelect() {
|
|
2387
2861
|
return {
|
|
2388
2862
|
kind: 'Fragment',
|
|
2389
2863
|
version: VERSION$2,
|
|
@@ -2413,7 +2887,7 @@ const select$6 = function DataCleanRoomProviderCollectionRepresentationSelect()
|
|
|
2413
2887
|
name: 'providers',
|
|
2414
2888
|
kind: 'Link',
|
|
2415
2889
|
plural: true,
|
|
2416
|
-
fragment: select$
|
|
2890
|
+
fragment: select$f()
|
|
2417
2891
|
},
|
|
2418
2892
|
{
|
|
2419
2893
|
name: 'totalSize',
|
|
@@ -2527,22 +3001,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2527
3001
|
}
|
|
2528
3002
|
}
|
|
2529
3003
|
|
|
2530
|
-
function select$
|
|
2531
|
-
return select$
|
|
3004
|
+
function select$6(luvio, params) {
|
|
3005
|
+
return select$7();
|
|
2532
3006
|
}
|
|
2533
|
-
function keyBuilder$
|
|
3007
|
+
function keyBuilder$7(luvio, params) {
|
|
2534
3008
|
return keyPrefix + '::DataCleanRoomProviderCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
|
|
2535
3009
|
}
|
|
2536
|
-
function getResponseCacheKeys$
|
|
2537
|
-
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$
|
|
3010
|
+
function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
3011
|
+
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
2538
3012
|
}
|
|
2539
|
-
function ingestSuccess$
|
|
3013
|
+
function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
2540
3014
|
const { body } = response;
|
|
2541
|
-
const key = keyBuilder$
|
|
3015
|
+
const key = keyBuilder$7(luvio, resourceParams);
|
|
2542
3016
|
luvio.storeIngest(key, ingest$2, body);
|
|
2543
3017
|
const snapshot = luvio.storeLookup({
|
|
2544
3018
|
recordId: key,
|
|
2545
|
-
node: select$
|
|
3019
|
+
node: select$6(),
|
|
2546
3020
|
variables: {},
|
|
2547
3021
|
}, snapshotRefresh);
|
|
2548
3022
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2553,13 +3027,13 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2553
3027
|
deepFreeze(snapshot.data);
|
|
2554
3028
|
return snapshot;
|
|
2555
3029
|
}
|
|
2556
|
-
function ingestError$
|
|
2557
|
-
const key = keyBuilder$
|
|
3030
|
+
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
3031
|
+
const key = keyBuilder$7(luvio, params);
|
|
2558
3032
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2559
3033
|
luvio.storeIngestError(key, errorSnapshot);
|
|
2560
3034
|
return errorSnapshot;
|
|
2561
3035
|
}
|
|
2562
|
-
function createResourceRequest$
|
|
3036
|
+
function createResourceRequest$4(config) {
|
|
2563
3037
|
const headers = {};
|
|
2564
3038
|
return {
|
|
2565
3039
|
baseUri: '/services/data/v66.0',
|
|
@@ -2573,93 +3047,93 @@ function createResourceRequest$3(config) {
|
|
|
2573
3047
|
};
|
|
2574
3048
|
}
|
|
2575
3049
|
|
|
2576
|
-
const adapterName$
|
|
3050
|
+
const adapterName$4 = 'getDataCleanRoomProvidersPaginated';
|
|
2577
3051
|
const getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata = [
|
|
2578
3052
|
generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2579
3053
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2580
3054
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2581
3055
|
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2582
3056
|
];
|
|
2583
|
-
const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
2584
|
-
const createResourceParams$
|
|
2585
|
-
function keyBuilder$
|
|
2586
|
-
const resourceParams = createResourceParams$
|
|
2587
|
-
return keyBuilder$
|
|
3057
|
+
const getDataCleanRoomProvidersPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
|
|
3058
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
|
|
3059
|
+
function keyBuilder$6(luvio, config) {
|
|
3060
|
+
const resourceParams = createResourceParams$4(config);
|
|
3061
|
+
return keyBuilder$7(luvio, resourceParams);
|
|
2588
3062
|
}
|
|
2589
|
-
function typeCheckConfig$
|
|
3063
|
+
function typeCheckConfig$4(untrustedConfig) {
|
|
2590
3064
|
const config = {};
|
|
2591
|
-
typeCheckConfig$
|
|
3065
|
+
typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomProvidersPaginated_ConfigPropertyMetadata);
|
|
2592
3066
|
return config;
|
|
2593
3067
|
}
|
|
2594
|
-
function validateAdapterConfig$
|
|
3068
|
+
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
2595
3069
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
2596
3070
|
return null;
|
|
2597
3071
|
}
|
|
2598
3072
|
if (process.env.NODE_ENV !== 'production') {
|
|
2599
3073
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
2600
3074
|
}
|
|
2601
|
-
const config = typeCheckConfig$
|
|
3075
|
+
const config = typeCheckConfig$4(untrustedConfig);
|
|
2602
3076
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
2603
3077
|
return null;
|
|
2604
3078
|
}
|
|
2605
3079
|
return config;
|
|
2606
3080
|
}
|
|
2607
|
-
function adapterFragment$
|
|
2608
|
-
createResourceParams$
|
|
2609
|
-
return select$
|
|
3081
|
+
function adapterFragment$3(luvio, config) {
|
|
3082
|
+
createResourceParams$4(config);
|
|
3083
|
+
return select$6();
|
|
2610
3084
|
}
|
|
2611
|
-
function onFetchResponseSuccess$
|
|
2612
|
-
const snapshot = ingestSuccess$
|
|
3085
|
+
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
3086
|
+
const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
|
|
2613
3087
|
config,
|
|
2614
|
-
resolve: () => buildNetworkSnapshot$
|
|
3088
|
+
resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
|
|
2615
3089
|
});
|
|
2616
3090
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2617
3091
|
}
|
|
2618
|
-
function onFetchResponseError$
|
|
2619
|
-
const snapshot = ingestError$
|
|
3092
|
+
function onFetchResponseError$3(luvio, config, resourceParams, response) {
|
|
3093
|
+
const snapshot = ingestError$3(luvio, resourceParams, response, {
|
|
2620
3094
|
config,
|
|
2621
|
-
resolve: () => buildNetworkSnapshot$
|
|
3095
|
+
resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
|
|
2622
3096
|
});
|
|
2623
3097
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2624
3098
|
}
|
|
2625
|
-
function buildNetworkSnapshot$
|
|
2626
|
-
const resourceParams = createResourceParams$
|
|
2627
|
-
const request = createResourceRequest$
|
|
3099
|
+
function buildNetworkSnapshot$4(luvio, config, options) {
|
|
3100
|
+
const resourceParams = createResourceParams$4(config);
|
|
3101
|
+
const request = createResourceRequest$4(resourceParams);
|
|
2628
3102
|
return luvio.dispatchResourceRequest(request, options)
|
|
2629
3103
|
.then((response) => {
|
|
2630
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
3104
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
|
|
2631
3105
|
const cache = new StoreKeyMap();
|
|
2632
|
-
getResponseCacheKeys$
|
|
3106
|
+
getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
|
|
2633
3107
|
return cache;
|
|
2634
3108
|
});
|
|
2635
3109
|
}, (response) => {
|
|
2636
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
3110
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
|
|
2637
3111
|
});
|
|
2638
3112
|
}
|
|
2639
|
-
function buildNetworkSnapshotCachePolicy$
|
|
2640
|
-
return buildNetworkSnapshotCachePolicy$
|
|
3113
|
+
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
3114
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
|
|
2641
3115
|
}
|
|
2642
|
-
function buildCachedSnapshotCachePolicy$
|
|
3116
|
+
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
2643
3117
|
const { luvio, config } = context;
|
|
2644
3118
|
const selector = {
|
|
2645
|
-
recordId: keyBuilder$
|
|
2646
|
-
node: adapterFragment$
|
|
3119
|
+
recordId: keyBuilder$6(luvio, config),
|
|
3120
|
+
node: adapterFragment$3(luvio, config),
|
|
2647
3121
|
variables: {},
|
|
2648
3122
|
};
|
|
2649
3123
|
const cacheSnapshot = storeLookup(selector, {
|
|
2650
3124
|
config,
|
|
2651
|
-
resolve: () => buildNetworkSnapshot$
|
|
3125
|
+
resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
|
|
2652
3126
|
});
|
|
2653
3127
|
return cacheSnapshot;
|
|
2654
3128
|
}
|
|
2655
3129
|
const getDataCleanRoomProvidersPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomProvidersPaginated(untrustedConfig, requestContext) {
|
|
2656
|
-
const config = validateAdapterConfig$
|
|
3130
|
+
const config = validateAdapterConfig$4(untrustedConfig, getDataCleanRoomProvidersPaginated_ConfigPropertyNames);
|
|
2657
3131
|
// Invalid or incomplete config
|
|
2658
3132
|
if (config === null) {
|
|
2659
3133
|
return null;
|
|
2660
3134
|
}
|
|
2661
3135
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
2662
|
-
buildCachedSnapshotCachePolicy$
|
|
3136
|
+
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
2663
3137
|
};
|
|
2664
3138
|
|
|
2665
3139
|
const VERSION$1 = "6fb37e337652e88218f2171d1e56647b";
|
|
@@ -2755,7 +3229,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
|
2755
3229
|
}
|
|
2756
3230
|
return input;
|
|
2757
3231
|
}
|
|
2758
|
-
const select$
|
|
3232
|
+
const select$5 = function DataCleanRoomSpecificationCollectionRepresentationSelect() {
|
|
2759
3233
|
return {
|
|
2760
3234
|
kind: 'Fragment',
|
|
2761
3235
|
version: VERSION$1,
|
|
@@ -2765,7 +3239,7 @@ const select$4 = function DataCleanRoomSpecificationCollectionRepresentationSele
|
|
|
2765
3239
|
name: 'cleanroomSpecifications',
|
|
2766
3240
|
kind: 'Link',
|
|
2767
3241
|
plural: true,
|
|
2768
|
-
fragment: select$
|
|
3242
|
+
fragment: select$h()
|
|
2769
3243
|
},
|
|
2770
3244
|
{
|
|
2771
3245
|
name: 'currentPageUrl',
|
|
@@ -2881,22 +3355,22 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2881
3355
|
}
|
|
2882
3356
|
}
|
|
2883
3357
|
|
|
2884
|
-
function select$
|
|
2885
|
-
return select$
|
|
3358
|
+
function select$4(luvio, params) {
|
|
3359
|
+
return select$5();
|
|
2886
3360
|
}
|
|
2887
|
-
function keyBuilder$
|
|
3361
|
+
function keyBuilder$5(luvio, params) {
|
|
2888
3362
|
return keyPrefix + '::DataCleanRoomSpecificationCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
|
|
2889
3363
|
}
|
|
2890
|
-
function getResponseCacheKeys$
|
|
2891
|
-
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$
|
|
3364
|
+
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
3365
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
|
|
2892
3366
|
}
|
|
2893
|
-
function ingestSuccess$
|
|
3367
|
+
function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
2894
3368
|
const { body } = response;
|
|
2895
|
-
const key = keyBuilder$
|
|
3369
|
+
const key = keyBuilder$5(luvio, resourceParams);
|
|
2896
3370
|
luvio.storeIngest(key, ingest$1, body);
|
|
2897
3371
|
const snapshot = luvio.storeLookup({
|
|
2898
3372
|
recordId: key,
|
|
2899
|
-
node: select$
|
|
3373
|
+
node: select$4(),
|
|
2900
3374
|
variables: {},
|
|
2901
3375
|
}, snapshotRefresh);
|
|
2902
3376
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2907,13 +3381,13 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2907
3381
|
deepFreeze(snapshot.data);
|
|
2908
3382
|
return snapshot;
|
|
2909
3383
|
}
|
|
2910
|
-
function ingestError$
|
|
2911
|
-
const key = keyBuilder$
|
|
3384
|
+
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
3385
|
+
const key = keyBuilder$5(luvio, params);
|
|
2912
3386
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2913
3387
|
luvio.storeIngestError(key, errorSnapshot);
|
|
2914
3388
|
return errorSnapshot;
|
|
2915
3389
|
}
|
|
2916
|
-
function createResourceRequest$
|
|
3390
|
+
function createResourceRequest$3(config) {
|
|
2917
3391
|
const headers = {};
|
|
2918
3392
|
return {
|
|
2919
3393
|
baseUri: '/services/data/v66.0',
|
|
@@ -2927,93 +3401,93 @@ function createResourceRequest$2(config) {
|
|
|
2927
3401
|
};
|
|
2928
3402
|
}
|
|
2929
3403
|
|
|
2930
|
-
const adapterName$
|
|
3404
|
+
const adapterName$3 = 'getDataCleanRoomSpecificationsPaginated';
|
|
2931
3405
|
const getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata = [
|
|
2932
3406
|
generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2933
3407
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2934
3408
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2935
3409
|
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2936
3410
|
];
|
|
2937
|
-
const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
2938
|
-
const createResourceParams$
|
|
2939
|
-
function keyBuilder$
|
|
2940
|
-
const resourceParams = createResourceParams$
|
|
2941
|
-
return keyBuilder$
|
|
3411
|
+
const getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
|
|
3412
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
|
|
3413
|
+
function keyBuilder$4(luvio, config) {
|
|
3414
|
+
const resourceParams = createResourceParams$3(config);
|
|
3415
|
+
return keyBuilder$5(luvio, resourceParams);
|
|
2942
3416
|
}
|
|
2943
|
-
function typeCheckConfig$
|
|
3417
|
+
function typeCheckConfig$3(untrustedConfig) {
|
|
2944
3418
|
const config = {};
|
|
2945
|
-
typeCheckConfig$
|
|
3419
|
+
typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomSpecificationsPaginated_ConfigPropertyMetadata);
|
|
2946
3420
|
return config;
|
|
2947
3421
|
}
|
|
2948
|
-
function validateAdapterConfig$
|
|
3422
|
+
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
2949
3423
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
2950
3424
|
return null;
|
|
2951
3425
|
}
|
|
2952
3426
|
if (process.env.NODE_ENV !== 'production') {
|
|
2953
3427
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
2954
3428
|
}
|
|
2955
|
-
const config = typeCheckConfig$
|
|
3429
|
+
const config = typeCheckConfig$3(untrustedConfig);
|
|
2956
3430
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
2957
3431
|
return null;
|
|
2958
3432
|
}
|
|
2959
3433
|
return config;
|
|
2960
3434
|
}
|
|
2961
|
-
function adapterFragment$
|
|
2962
|
-
createResourceParams$
|
|
2963
|
-
return select$
|
|
3435
|
+
function adapterFragment$2(luvio, config) {
|
|
3436
|
+
createResourceParams$3(config);
|
|
3437
|
+
return select$4();
|
|
2964
3438
|
}
|
|
2965
|
-
function onFetchResponseSuccess$
|
|
2966
|
-
const snapshot = ingestSuccess$
|
|
3439
|
+
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
3440
|
+
const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
|
|
2967
3441
|
config,
|
|
2968
|
-
resolve: () => buildNetworkSnapshot$
|
|
3442
|
+
resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
|
|
2969
3443
|
});
|
|
2970
3444
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2971
3445
|
}
|
|
2972
|
-
function onFetchResponseError$
|
|
2973
|
-
const snapshot = ingestError$
|
|
3446
|
+
function onFetchResponseError$2(luvio, config, resourceParams, response) {
|
|
3447
|
+
const snapshot = ingestError$2(luvio, resourceParams, response, {
|
|
2974
3448
|
config,
|
|
2975
|
-
resolve: () => buildNetworkSnapshot$
|
|
3449
|
+
resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
|
|
2976
3450
|
});
|
|
2977
3451
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2978
3452
|
}
|
|
2979
|
-
function buildNetworkSnapshot$
|
|
2980
|
-
const resourceParams = createResourceParams$
|
|
2981
|
-
const request = createResourceRequest$
|
|
3453
|
+
function buildNetworkSnapshot$3(luvio, config, options) {
|
|
3454
|
+
const resourceParams = createResourceParams$3(config);
|
|
3455
|
+
const request = createResourceRequest$3(resourceParams);
|
|
2982
3456
|
return luvio.dispatchResourceRequest(request, options)
|
|
2983
3457
|
.then((response) => {
|
|
2984
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
3458
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
|
|
2985
3459
|
const cache = new StoreKeyMap();
|
|
2986
|
-
getResponseCacheKeys$
|
|
3460
|
+
getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
|
|
2987
3461
|
return cache;
|
|
2988
3462
|
});
|
|
2989
3463
|
}, (response) => {
|
|
2990
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
3464
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
|
|
2991
3465
|
});
|
|
2992
3466
|
}
|
|
2993
|
-
function buildNetworkSnapshotCachePolicy$
|
|
2994
|
-
return buildNetworkSnapshotCachePolicy$
|
|
3467
|
+
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
3468
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
|
|
2995
3469
|
}
|
|
2996
|
-
function buildCachedSnapshotCachePolicy$
|
|
3470
|
+
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
2997
3471
|
const { luvio, config } = context;
|
|
2998
3472
|
const selector = {
|
|
2999
|
-
recordId: keyBuilder$
|
|
3000
|
-
node: adapterFragment$
|
|
3473
|
+
recordId: keyBuilder$4(luvio, config),
|
|
3474
|
+
node: adapterFragment$2(luvio, config),
|
|
3001
3475
|
variables: {},
|
|
3002
3476
|
};
|
|
3003
3477
|
const cacheSnapshot = storeLookup(selector, {
|
|
3004
3478
|
config,
|
|
3005
|
-
resolve: () => buildNetworkSnapshot$
|
|
3479
|
+
resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
|
|
3006
3480
|
});
|
|
3007
3481
|
return cacheSnapshot;
|
|
3008
3482
|
}
|
|
3009
3483
|
const getDataCleanRoomSpecificationsPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomSpecificationsPaginated(untrustedConfig, requestContext) {
|
|
3010
|
-
const config = validateAdapterConfig$
|
|
3484
|
+
const config = validateAdapterConfig$3(untrustedConfig, getDataCleanRoomSpecificationsPaginated_ConfigPropertyNames);
|
|
3011
3485
|
// Invalid or incomplete config
|
|
3012
3486
|
if (config === null) {
|
|
3013
3487
|
return null;
|
|
3014
3488
|
}
|
|
3015
3489
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
3016
|
-
buildCachedSnapshotCachePolicy$
|
|
3490
|
+
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
3017
3491
|
};
|
|
3018
3492
|
|
|
3019
3493
|
const VERSION = "779ba86cca8510319a6e95a736d88189";
|
|
@@ -3075,7 +3549,7 @@ function validate(obj, path = 'DataCleanRoomTemplateCollectionRepresentation') {
|
|
|
3075
3549
|
for (let i = 0; i < obj_templates.length; i++) {
|
|
3076
3550
|
const obj_templates_item = obj_templates[i];
|
|
3077
3551
|
const path_templates_item = path_templates + '[' + i + ']';
|
|
3078
|
-
const referencepath_templates_itemValidationError = validate$
|
|
3552
|
+
const referencepath_templates_itemValidationError = validate$p(obj_templates_item, path_templates_item);
|
|
3079
3553
|
if (referencepath_templates_itemValidationError !== null) {
|
|
3080
3554
|
let message = 'Object doesn\'t match DataCleanRoomTemplateRepresentation (at "' + path_templates_item + '")\n';
|
|
3081
3555
|
message += referencepath_templates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3096,7 +3570,7 @@ const RepresentationType = 'DataCleanRoomTemplateCollectionRepresentation';
|
|
|
3096
3570
|
function normalize(input, existing, path, luvio, store, timestamp) {
|
|
3097
3571
|
return input;
|
|
3098
3572
|
}
|
|
3099
|
-
const select$
|
|
3573
|
+
const select$3 = function DataCleanRoomTemplateCollectionRepresentationSelect() {
|
|
3100
3574
|
return {
|
|
3101
3575
|
kind: 'Fragment',
|
|
3102
3576
|
version: VERSION,
|
|
@@ -3132,11 +3606,146 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3132
3606
|
});
|
|
3133
3607
|
}
|
|
3134
3608
|
|
|
3135
|
-
function select$
|
|
3609
|
+
function select$2(luvio, params) {
|
|
3610
|
+
return select$3();
|
|
3611
|
+
}
|
|
3612
|
+
function keyBuilder$3(luvio, params) {
|
|
3613
|
+
return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'filters:' + params.queryParams.filters + ')';
|
|
3614
|
+
}
|
|
3615
|
+
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
3616
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
3617
|
+
}
|
|
3618
|
+
function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
3619
|
+
const { body } = response;
|
|
3620
|
+
const key = keyBuilder$3(luvio, resourceParams);
|
|
3621
|
+
luvio.storeIngest(key, ingest, body);
|
|
3622
|
+
const snapshot = luvio.storeLookup({
|
|
3623
|
+
recordId: key,
|
|
3624
|
+
node: select$2(),
|
|
3625
|
+
variables: {},
|
|
3626
|
+
}, snapshotRefresh);
|
|
3627
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
3628
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
3629
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
deepFreeze(snapshot.data);
|
|
3633
|
+
return snapshot;
|
|
3634
|
+
}
|
|
3635
|
+
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
3636
|
+
const key = keyBuilder$3(luvio, params);
|
|
3637
|
+
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
3638
|
+
luvio.storeIngestError(key, errorSnapshot);
|
|
3639
|
+
return errorSnapshot;
|
|
3640
|
+
}
|
|
3641
|
+
function createResourceRequest$2(config) {
|
|
3642
|
+
const headers = {};
|
|
3643
|
+
return {
|
|
3644
|
+
baseUri: '/services/data/v66.0',
|
|
3645
|
+
basePath: '/ssot/data-clean-room/templates',
|
|
3646
|
+
method: 'get',
|
|
3647
|
+
body: null,
|
|
3648
|
+
urlParams: {},
|
|
3649
|
+
queryParams: config.queryParams,
|
|
3650
|
+
headers,
|
|
3651
|
+
priority: 'normal',
|
|
3652
|
+
};
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
const adapterName$2 = 'getDataCleanRoomTemplatePaginated';
|
|
3656
|
+
const getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata = [
|
|
3657
|
+
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
3658
|
+
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
3659
|
+
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3660
|
+
generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3661
|
+
];
|
|
3662
|
+
const getDataCleanRoomTemplatePaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
|
|
3663
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
|
|
3664
|
+
function keyBuilder$2(luvio, config) {
|
|
3665
|
+
const resourceParams = createResourceParams$2(config);
|
|
3666
|
+
return keyBuilder$3(luvio, resourceParams);
|
|
3667
|
+
}
|
|
3668
|
+
function typeCheckConfig$2(untrustedConfig) {
|
|
3669
|
+
const config = {};
|
|
3670
|
+
typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomTemplatePaginated_ConfigPropertyMetadata);
|
|
3671
|
+
return config;
|
|
3672
|
+
}
|
|
3673
|
+
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
3674
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
3675
|
+
return null;
|
|
3676
|
+
}
|
|
3677
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
3678
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
3679
|
+
}
|
|
3680
|
+
const config = typeCheckConfig$2(untrustedConfig);
|
|
3681
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
3682
|
+
return null;
|
|
3683
|
+
}
|
|
3684
|
+
return config;
|
|
3685
|
+
}
|
|
3686
|
+
function adapterFragment$1(luvio, config) {
|
|
3687
|
+
createResourceParams$2(config);
|
|
3136
3688
|
return select$2();
|
|
3137
3689
|
}
|
|
3690
|
+
function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
|
|
3691
|
+
const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
|
|
3692
|
+
config,
|
|
3693
|
+
resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
|
|
3694
|
+
});
|
|
3695
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
3696
|
+
}
|
|
3697
|
+
function onFetchResponseError$1(luvio, config, resourceParams, response) {
|
|
3698
|
+
const snapshot = ingestError$1(luvio, resourceParams, response, {
|
|
3699
|
+
config,
|
|
3700
|
+
resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
|
|
3701
|
+
});
|
|
3702
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
3703
|
+
}
|
|
3704
|
+
function buildNetworkSnapshot$2(luvio, config, options) {
|
|
3705
|
+
const resourceParams = createResourceParams$2(config);
|
|
3706
|
+
const request = createResourceRequest$2(resourceParams);
|
|
3707
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
3708
|
+
.then((response) => {
|
|
3709
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
3710
|
+
const cache = new StoreKeyMap();
|
|
3711
|
+
getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
|
|
3712
|
+
return cache;
|
|
3713
|
+
});
|
|
3714
|
+
}, (response) => {
|
|
3715
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
3716
|
+
});
|
|
3717
|
+
}
|
|
3718
|
+
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
3719
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
3720
|
+
}
|
|
3721
|
+
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
3722
|
+
const { luvio, config } = context;
|
|
3723
|
+
const selector = {
|
|
3724
|
+
recordId: keyBuilder$2(luvio, config),
|
|
3725
|
+
node: adapterFragment$1(luvio, config),
|
|
3726
|
+
variables: {},
|
|
3727
|
+
};
|
|
3728
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
3729
|
+
config,
|
|
3730
|
+
resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
|
|
3731
|
+
});
|
|
3732
|
+
return cacheSnapshot;
|
|
3733
|
+
}
|
|
3734
|
+
const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomTemplatePaginated(untrustedConfig, requestContext) {
|
|
3735
|
+
const config = validateAdapterConfig$2(untrustedConfig, getDataCleanRoomTemplatePaginated_ConfigPropertyNames);
|
|
3736
|
+
// Invalid or incomplete config
|
|
3737
|
+
if (config === null) {
|
|
3738
|
+
return null;
|
|
3739
|
+
}
|
|
3740
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
3741
|
+
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
3742
|
+
};
|
|
3743
|
+
|
|
3744
|
+
function select$1(luvio, params) {
|
|
3745
|
+
return select$3();
|
|
3746
|
+
}
|
|
3138
3747
|
function keyBuilder$1(luvio, params) {
|
|
3139
|
-
return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
|
|
3748
|
+
return keyPrefix + '::DataCleanRoomTemplateCollectionRepresentation:(' + 'filters:' + params.queryParams.filters + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'providerIdOrName:' + params.urlParams.providerIdOrName + ')';
|
|
3140
3749
|
}
|
|
3141
3750
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
3142
3751
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -3168,31 +3777,33 @@ function createResourceRequest$1(config) {
|
|
|
3168
3777
|
const headers = {};
|
|
3169
3778
|
return {
|
|
3170
3779
|
baseUri: '/services/data/v66.0',
|
|
3171
|
-
basePath: '/ssot/data-clean-room/templates',
|
|
3780
|
+
basePath: '/ssot/data-clean-room/providers/' + config.urlParams.providerIdOrName + '/templates',
|
|
3172
3781
|
method: 'get',
|
|
3173
3782
|
body: null,
|
|
3174
|
-
urlParams:
|
|
3783
|
+
urlParams: config.urlParams,
|
|
3175
3784
|
queryParams: config.queryParams,
|
|
3176
3785
|
headers,
|
|
3177
3786
|
priority: 'normal',
|
|
3178
3787
|
};
|
|
3179
3788
|
}
|
|
3180
3789
|
|
|
3181
|
-
const adapterName$1 = '
|
|
3182
|
-
const
|
|
3790
|
+
const adapterName$1 = 'getDataCleanRoomTemplatesByProviderIdPaginated';
|
|
3791
|
+
const getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata = [
|
|
3792
|
+
generateParamConfigMetadata('providerIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
3793
|
+
generateParamConfigMetadata('filters', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3183
3794
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
3184
3795
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
3185
3796
|
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3186
3797
|
];
|
|
3187
|
-
const
|
|
3188
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
3798
|
+
const getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata);
|
|
3799
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata);
|
|
3189
3800
|
function keyBuilder(luvio, config) {
|
|
3190
3801
|
const resourceParams = createResourceParams$1(config);
|
|
3191
3802
|
return keyBuilder$1(luvio, resourceParams);
|
|
3192
3803
|
}
|
|
3193
3804
|
function typeCheckConfig$1(untrustedConfig) {
|
|
3194
3805
|
const config = {};
|
|
3195
|
-
typeCheckConfig$
|
|
3806
|
+
typeCheckConfig$c(untrustedConfig, config, getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyMetadata);
|
|
3196
3807
|
return config;
|
|
3197
3808
|
}
|
|
3198
3809
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -3241,7 +3852,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
3241
3852
|
});
|
|
3242
3853
|
}
|
|
3243
3854
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
3244
|
-
return buildNetworkSnapshotCachePolicy$
|
|
3855
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
3245
3856
|
}
|
|
3246
3857
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
3247
3858
|
const { luvio, config } = context;
|
|
@@ -3256,8 +3867,8 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
|
3256
3867
|
});
|
|
3257
3868
|
return cacheSnapshot;
|
|
3258
3869
|
}
|
|
3259
|
-
const
|
|
3260
|
-
const config = validateAdapterConfig$1(untrustedConfig,
|
|
3870
|
+
const getDataCleanRoomTemplatesByProviderIdPaginatedAdapterFactory = (luvio) => function dataCleanRoom__getDataCleanRoomTemplatesByProviderIdPaginated(untrustedConfig, requestContext) {
|
|
3871
|
+
const config = validateAdapterConfig$1(untrustedConfig, getDataCleanRoomTemplatesByProviderIdPaginated_ConfigPropertyNames);
|
|
3261
3872
|
// Invalid or incomplete config
|
|
3262
3873
|
if (config === null) {
|
|
3263
3874
|
return null;
|
|
@@ -3267,7 +3878,7 @@ const getDataCleanRoomTemplatePaginatedAdapterFactory = (luvio) => function data
|
|
|
3267
3878
|
};
|
|
3268
3879
|
|
|
3269
3880
|
function select(luvio, params) {
|
|
3270
|
-
return select$
|
|
3881
|
+
return select$l();
|
|
3271
3882
|
}
|
|
3272
3883
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
3273
3884
|
getTypeCacheKeys$9(storeKeyMap, luvio, response);
|
|
@@ -3309,10 +3920,10 @@ const rejectDataCleanRoomInvitation_ConfigPropertyMetadata = [
|
|
|
3309
3920
|
generateParamConfigMetadata('invitationId', true, 2 /* Body */, 0 /* String */),
|
|
3310
3921
|
];
|
|
3311
3922
|
const rejectDataCleanRoomInvitation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3312
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
3923
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$c(rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3313
3924
|
function typeCheckConfig(untrustedConfig) {
|
|
3314
3925
|
const config = {};
|
|
3315
|
-
typeCheckConfig$
|
|
3926
|
+
typeCheckConfig$c(untrustedConfig, config, rejectDataCleanRoomInvitation_ConfigPropertyMetadata);
|
|
3316
3927
|
return config;
|
|
3317
3928
|
}
|
|
3318
3929
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -3367,6 +3978,7 @@ let getAllDataCleanRoomsPaginated;
|
|
|
3367
3978
|
let getDataCleanRoomProvidersPaginated;
|
|
3368
3979
|
let getDataCleanRoomSpecificationsPaginated;
|
|
3369
3980
|
let getDataCleanRoomTemplatePaginated;
|
|
3981
|
+
let getDataCleanRoomTemplatesByProviderIdPaginated;
|
|
3370
3982
|
let rejectDataCleanRoomInvitation;
|
|
3371
3983
|
// Imperative GET Adapters
|
|
3372
3984
|
let getAllDataCleanRoomQueryPaginated_imperative;
|
|
@@ -3374,6 +3986,7 @@ let getAllDataCleanRoomsPaginated_imperative;
|
|
|
3374
3986
|
let getDataCleanRoomProvidersPaginated_imperative;
|
|
3375
3987
|
let getDataCleanRoomSpecificationsPaginated_imperative;
|
|
3376
3988
|
let getDataCleanRoomTemplatePaginated_imperative;
|
|
3989
|
+
let getDataCleanRoomTemplatesByProviderIdPaginated_imperative;
|
|
3377
3990
|
const getAllDataCleanRoomQueryPaginatedMetadata = {
|
|
3378
3991
|
apiFamily: 'dataclean-room',
|
|
3379
3992
|
name: 'getAllDataCleanRoomQueryPaginated',
|
|
@@ -3394,6 +4007,10 @@ const getDataCleanRoomTemplatePaginatedMetadata = {
|
|
|
3394
4007
|
apiFamily: 'dataclean-room',
|
|
3395
4008
|
name: 'getDataCleanRoomTemplatePaginated',
|
|
3396
4009
|
};
|
|
4010
|
+
const getDataCleanRoomTemplatesByProviderIdPaginatedMetadata = {
|
|
4011
|
+
apiFamily: 'dataclean-room',
|
|
4012
|
+
name: 'getDataCleanRoomTemplatesByProviderIdPaginated',
|
|
4013
|
+
};
|
|
3397
4014
|
// Notify Update Available
|
|
3398
4015
|
function bindExportsTo(luvio) {
|
|
3399
4016
|
// LDS Adapters
|
|
@@ -3402,6 +4019,7 @@ function bindExportsTo(luvio) {
|
|
|
3402
4019
|
const getDataCleanRoomProvidersPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomProvidersPaginated', getDataCleanRoomProvidersPaginatedAdapterFactory), getDataCleanRoomProvidersPaginatedMetadata);
|
|
3403
4020
|
const getDataCleanRoomSpecificationsPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomSpecificationsPaginated', getDataCleanRoomSpecificationsPaginatedAdapterFactory), getDataCleanRoomSpecificationsPaginatedMetadata);
|
|
3404
4021
|
const getDataCleanRoomTemplatePaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomTemplatePaginated', getDataCleanRoomTemplatePaginatedAdapterFactory), getDataCleanRoomTemplatePaginatedMetadata);
|
|
4022
|
+
const getDataCleanRoomTemplatesByProviderIdPaginated_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDataCleanRoomTemplatesByProviderIdPaginated', getDataCleanRoomTemplatesByProviderIdPaginatedAdapterFactory), getDataCleanRoomTemplatesByProviderIdPaginatedMetadata);
|
|
3405
4023
|
function unwrapSnapshotData(factory) {
|
|
3406
4024
|
const adapter = factory(luvio);
|
|
3407
4025
|
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
@@ -3417,6 +4035,7 @@ function bindExportsTo(luvio) {
|
|
|
3417
4035
|
getDataCleanRoomProvidersPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
|
|
3418
4036
|
getDataCleanRoomSpecificationsPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
|
|
3419
4037
|
getDataCleanRoomTemplatePaginated: createWireAdapterConstructor(luvio, getDataCleanRoomTemplatePaginated_ldsAdapter, getDataCleanRoomTemplatePaginatedMetadata),
|
|
4038
|
+
getDataCleanRoomTemplatesByProviderIdPaginated: createWireAdapterConstructor(luvio, getDataCleanRoomTemplatesByProviderIdPaginated_ldsAdapter, getDataCleanRoomTemplatesByProviderIdPaginatedMetadata),
|
|
3420
4039
|
rejectDataCleanRoomInvitation: unwrapSnapshotData(rejectDataCleanRoomInvitationAdapterFactory),
|
|
3421
4040
|
// Imperative GET Adapters
|
|
3422
4041
|
getAllDataCleanRoomQueryPaginated_imperative: createImperativeAdapter(luvio, getAllDataCleanRoomQueryPaginated_ldsAdapter, getAllDataCleanRoomQueryPaginatedMetadata),
|
|
@@ -3424,6 +4043,7 @@ function bindExportsTo(luvio) {
|
|
|
3424
4043
|
getDataCleanRoomProvidersPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomProvidersPaginated_ldsAdapter, getDataCleanRoomProvidersPaginatedMetadata),
|
|
3425
4044
|
getDataCleanRoomSpecificationsPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomSpecificationsPaginated_ldsAdapter, getDataCleanRoomSpecificationsPaginatedMetadata),
|
|
3426
4045
|
getDataCleanRoomTemplatePaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomTemplatePaginated_ldsAdapter, getDataCleanRoomTemplatePaginatedMetadata),
|
|
4046
|
+
getDataCleanRoomTemplatesByProviderIdPaginated_imperative: createImperativeAdapter(luvio, getDataCleanRoomTemplatesByProviderIdPaginated_ldsAdapter, getDataCleanRoomTemplatesByProviderIdPaginatedMetadata),
|
|
3427
4047
|
// Notify Update Availables
|
|
3428
4048
|
};
|
|
3429
4049
|
}
|
|
@@ -3439,14 +4059,16 @@ withDefaultLuvio((luvio) => {
|
|
|
3439
4059
|
getDataCleanRoomProvidersPaginated,
|
|
3440
4060
|
getDataCleanRoomSpecificationsPaginated,
|
|
3441
4061
|
getDataCleanRoomTemplatePaginated,
|
|
4062
|
+
getDataCleanRoomTemplatesByProviderIdPaginated,
|
|
3442
4063
|
rejectDataCleanRoomInvitation,
|
|
3443
4064
|
getAllDataCleanRoomQueryPaginated_imperative,
|
|
3444
4065
|
getAllDataCleanRoomsPaginated_imperative,
|
|
3445
4066
|
getDataCleanRoomProvidersPaginated_imperative,
|
|
3446
4067
|
getDataCleanRoomSpecificationsPaginated_imperative,
|
|
3447
4068
|
getDataCleanRoomTemplatePaginated_imperative,
|
|
4069
|
+
getDataCleanRoomTemplatesByProviderIdPaginated_imperative,
|
|
3448
4070
|
} = bindExportsTo(luvio));
|
|
3449
4071
|
});
|
|
3450
4072
|
|
|
3451
|
-
export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, rejectDataCleanRoomInvitation };
|
|
3452
|
-
// version: 1.
|
|
4073
|
+
export { acceptDataCleanRoomInvitation, createDataCleanRoomCollaboration, createDataCleanRoomSpecification, createProvider, executeDataCleanRoomQuery, getAllDataCleanRoomQueryPaginated, getAllDataCleanRoomQueryPaginated_imperative, getAllDataCleanRoomsPaginated, getAllDataCleanRoomsPaginated_imperative, getDataCleanRoomProvidersPaginated, getDataCleanRoomProvidersPaginated_imperative, getDataCleanRoomSpecificationsPaginated, getDataCleanRoomSpecificationsPaginated_imperative, getDataCleanRoomTemplatePaginated, getDataCleanRoomTemplatePaginated_imperative, getDataCleanRoomTemplatesByProviderIdPaginated, getDataCleanRoomTemplatesByProviderIdPaginated_imperative, rejectDataCleanRoomInvitation };
|
|
4074
|
+
// version: 1.393.0-94e6d2aef3
|