@salesforce/lds-adapters-analytics-unifiedanalytics 1.307.0 → 1.308.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1047 -715
  2. package/dist/es/es2018/types/src/generated/adapters/createLoglines.d.ts +15 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createVisualization.d.ts +1 -3
  4. package/dist/es/es2018/types/src/generated/adapters/publish.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/updateVisualization.d.ts +1 -3
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  8. package/dist/es/es2018/types/src/generated/resources/patchUnifiedAnalyticsVisualizationsByVisualizationIdOrApiName.d.ts +1 -3
  9. package/dist/es/es2018/types/src/generated/resources/postUnifiedAnalyticsAdminMonitoringEvents.d.ts +12 -0
  10. package/dist/es/es2018/types/src/generated/resources/postUnifiedAnalyticsLoglines.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/resources/postUnifiedAnalyticsVisualizations.d.ts +1 -3
  12. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsLogLinesRepresentation.d.ts +44 -0
  13. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsLoglineInputRepresentation.d.ts +35 -0
  14. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsLoglinesInputRepresentation.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsMonitoringEventInputRepresentation.d.ts +28 -0
  16. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsMonitoringEventItemInputRepresentation.d.ts +40 -0
  17. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsMonitoringEventItemRepresentation.d.ts +44 -0
  18. package/dist/es/es2018/types/src/generated/types/VisualizationInputRepresentation.d.ts +3 -7
  19. package/dist/es/es2018/types/src/generated/types/VisualizationRepresentation.d.ts +3 -7
  20. package/dist/es/es2018/types/src/generated/types/WorkspaceRepresentation.d.ts +3 -3
  21. package/package.json +3 -3
  22. package/sfdc/index.js +1628 -1290
  23. package/src/raml/api.raml +121 -8
  24. package/src/raml/luvio.raml +20 -0
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$f, typeCheckConfig as typeCheckConfig$y, StoreKeyMap, createResourceParams as createResourceParams$y } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$A, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$f, typeCheckConfig as typeCheckConfig$A } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -93,7 +93,179 @@ function createLink(ref) {
93
93
  };
94
94
  }
95
95
 
96
- function validate$E(obj, path = 'DashboardAnnotationAnchorRepresentation') {
96
+ const TTL$d = 1000;
97
+ const VERSION$n = "c1d57e95aac548d53c761d2e1deeb661";
98
+ function validate$G(obj, path = 'UnifiedAnalyticsMonitoringEventItemRepresentation') {
99
+ const v_error = (() => {
100
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
101
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
102
+ }
103
+ const obj_failureCount = obj.failureCount;
104
+ const path_failureCount = path + '.failureCount';
105
+ if (typeof obj_failureCount !== 'number' || (typeof obj_failureCount === 'number' && Math.floor(obj_failureCount) !== obj_failureCount)) {
106
+ return new TypeError('Expected "integer" but received "' + typeof obj_failureCount + '" (at "' + path_failureCount + '")');
107
+ }
108
+ const obj_id = obj.id;
109
+ const path_id = path + '.id';
110
+ if (typeof obj_id !== 'string') {
111
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
112
+ }
113
+ const obj_successCount = obj.successCount;
114
+ const path_successCount = path + '.successCount';
115
+ if (typeof obj_successCount !== 'number' || (typeof obj_successCount === 'number' && Math.floor(obj_successCount) !== obj_successCount)) {
116
+ return new TypeError('Expected "integer" but received "' + typeof obj_successCount + '" (at "' + path_successCount + '")');
117
+ }
118
+ })();
119
+ return v_error === undefined ? null : v_error;
120
+ }
121
+ const RepresentationType$o = 'UnifiedAnalyticsMonitoringEventItemRepresentation';
122
+ function keyBuilder$N(luvio, config) {
123
+ return keyPrefix + '::' + RepresentationType$o + ':' + config.id;
124
+ }
125
+ function keyBuilderFromType$d(luvio, object) {
126
+ const keyParams = {
127
+ id: object.id
128
+ };
129
+ return keyBuilder$N(luvio, keyParams);
130
+ }
131
+ function normalize$n(input, existing, path, luvio, store, timestamp) {
132
+ return input;
133
+ }
134
+ const select$S = function UnifiedAnalyticsMonitoringEventItemRepresentationSelect() {
135
+ return {
136
+ kind: 'Fragment',
137
+ version: VERSION$n,
138
+ private: [],
139
+ opaque: true
140
+ };
141
+ };
142
+ function equals$n(existing, incoming) {
143
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
144
+ return false;
145
+ }
146
+ return true;
147
+ }
148
+ const ingest$n = function UnifiedAnalyticsMonitoringEventItemRepresentationIngest(input, path, luvio, store, timestamp) {
149
+ if (process.env.NODE_ENV !== 'production') {
150
+ const validateError = validate$G(input);
151
+ if (validateError !== null) {
152
+ throw validateError;
153
+ }
154
+ }
155
+ const key = keyBuilderFromType$d(luvio, input);
156
+ const ttlToUse = TTL$d;
157
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "UnifiedAnalytics", VERSION$n, RepresentationType$o, equals$n);
158
+ return createLink(key);
159
+ };
160
+ function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
161
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
162
+ const rootKey = keyBuilderFromType$d(luvio, input);
163
+ rootKeySet.set(rootKey, {
164
+ namespace: keyPrefix,
165
+ representationName: RepresentationType$o,
166
+ mergeable: false
167
+ });
168
+ }
169
+
170
+ function select$R(luvio, params) {
171
+ return select$S();
172
+ }
173
+ function getResponseCacheKeys$z(storeKeyMap, luvio, resourceParams, response) {
174
+ getTypeCacheKeys$n(storeKeyMap, luvio, response);
175
+ }
176
+ function ingestSuccess$u(luvio, resourceParams, response) {
177
+ const { body } = response;
178
+ const key = keyBuilderFromType$d(luvio, body);
179
+ luvio.storeIngest(key, ingest$n, body);
180
+ const snapshot = luvio.storeLookup({
181
+ recordId: key,
182
+ node: select$R(),
183
+ variables: {},
184
+ });
185
+ if (process.env.NODE_ENV !== 'production') {
186
+ if (snapshot.state !== 'Fulfilled') {
187
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
188
+ }
189
+ }
190
+ deepFreeze(snapshot.data);
191
+ return snapshot;
192
+ }
193
+ function createResourceRequest$z(config) {
194
+ const headers = {};
195
+ return {
196
+ baseUri: '/services/data/v62.0',
197
+ basePath: '/unified-analytics/admin/monitoring/events',
198
+ method: 'post',
199
+ body: config.body,
200
+ urlParams: {},
201
+ queryParams: {},
202
+ headers,
203
+ priority: 'normal',
204
+ };
205
+ }
206
+
207
+ const adapterName$z = 'publish';
208
+ const publish_ConfigPropertyMetadata = [
209
+ generateParamConfigMetadata('events', true, 2 /* Body */, 4 /* Unsupported */, true),
210
+ ];
211
+ const publish_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, publish_ConfigPropertyMetadata);
212
+ const createResourceParams$z = /*#__PURE__*/ createResourceParams$A(publish_ConfigPropertyMetadata);
213
+ function typeCheckConfig$z(untrustedConfig) {
214
+ const config = {};
215
+ const untrustedConfig_events = untrustedConfig.events;
216
+ if (ArrayIsArray$1(untrustedConfig_events)) {
217
+ const untrustedConfig_events_array = [];
218
+ for (let i = 0, arrayLength = untrustedConfig_events.length; i < arrayLength; i++) {
219
+ const untrustedConfig_events_item = untrustedConfig_events[i];
220
+ untrustedConfig_events_array.push(untrustedConfig_events_item);
221
+ }
222
+ config.events = untrustedConfig_events_array;
223
+ }
224
+ return config;
225
+ }
226
+ function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
227
+ if (!untrustedIsObject(untrustedConfig)) {
228
+ return null;
229
+ }
230
+ if (process.env.NODE_ENV !== 'production') {
231
+ validateConfig(untrustedConfig, configPropertyNames);
232
+ }
233
+ const config = typeCheckConfig$z(untrustedConfig);
234
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
235
+ return null;
236
+ }
237
+ return config;
238
+ }
239
+ function buildNetworkSnapshot$z(luvio, config, options) {
240
+ const resourceParams = createResourceParams$z(config);
241
+ const request = createResourceRequest$z(resourceParams);
242
+ return luvio.dispatchResourceRequest(request, options)
243
+ .then((response) => {
244
+ return luvio.handleSuccessResponse(() => {
245
+ const snapshot = ingestSuccess$u(luvio, resourceParams, response);
246
+ return luvio.storeBroadcast().then(() => snapshot);
247
+ }, () => {
248
+ const cache = new StoreKeyMap();
249
+ getResponseCacheKeys$z(cache, luvio, resourceParams, response.body);
250
+ return cache;
251
+ });
252
+ }, (response) => {
253
+ deepFreeze(response);
254
+ throw response;
255
+ });
256
+ }
257
+ const publishAdapterFactory = (luvio) => {
258
+ return function publish(untrustedConfig) {
259
+ const config = validateAdapterConfig$z(untrustedConfig, publish_ConfigPropertyNames);
260
+ // Invalid or incomplete config
261
+ if (config === null) {
262
+ throw new Error('Invalid config for "publish"');
263
+ }
264
+ return buildNetworkSnapshot$z(luvio, config);
265
+ };
266
+ };
267
+
268
+ function validate$F(obj, path = 'DashboardAnnotationAnchorRepresentation') {
97
269
  const v_error = (() => {
98
270
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
99
271
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -107,7 +279,7 @@ function validate$E(obj, path = 'DashboardAnnotationAnchorRepresentation') {
107
279
  return v_error === undefined ? null : v_error;
108
280
  }
109
281
 
110
- function validate$D(obj, path = 'AnnotationAssetRepresentation') {
282
+ function validate$E(obj, path = 'AnnotationAssetRepresentation') {
111
283
  const v_error = (() => {
112
284
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
113
285
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -126,7 +298,7 @@ function validate$D(obj, path = 'AnnotationAssetRepresentation') {
126
298
  return v_error === undefined ? null : v_error;
127
299
  }
128
300
 
129
- function validate$C(obj, path = 'FileTypeOutputRepresentation') {
301
+ function validate$D(obj, path = 'FileTypeOutputRepresentation') {
130
302
  const v_error = (() => {
131
303
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
132
304
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -145,7 +317,7 @@ function validate$C(obj, path = 'FileTypeOutputRepresentation') {
145
317
  return v_error === undefined ? null : v_error;
146
318
  }
147
319
 
148
- function validate$B(obj, path = 'ContentVersionOutputRepresentation') {
320
+ function validate$C(obj, path = 'ContentVersionOutputRepresentation') {
149
321
  const v_error = (() => {
150
322
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
151
323
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -159,7 +331,7 @@ function validate$B(obj, path = 'ContentVersionOutputRepresentation') {
159
331
  const path_filetype = path + '.filetype';
160
332
  let obj_filetype_union0 = null;
161
333
  const obj_filetype_union0_error = (() => {
162
- const referencepath_filetypeValidationError = validate$C(obj_filetype, path_filetype);
334
+ const referencepath_filetypeValidationError = validate$D(obj_filetype, path_filetype);
163
335
  if (referencepath_filetypeValidationError !== null) {
164
336
  let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
165
337
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -229,14 +401,14 @@ function validate$B(obj, path = 'ContentVersionOutputRepresentation') {
229
401
  return v_error === undefined ? null : v_error;
230
402
  }
231
403
 
232
- function validate$A(obj, path = 'ContentDocumentOutputRepresentation') {
404
+ function validate$B(obj, path = 'ContentDocumentOutputRepresentation') {
233
405
  const v_error = (() => {
234
406
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
235
407
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
236
408
  }
237
409
  const obj_filetype = obj.filetype;
238
410
  const path_filetype = path + '.filetype';
239
- const referencepath_filetypeValidationError = validate$C(obj_filetype, path_filetype);
411
+ const referencepath_filetypeValidationError = validate$D(obj_filetype, path_filetype);
240
412
  if (referencepath_filetypeValidationError !== null) {
241
413
  let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
242
414
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -249,7 +421,7 @@ function validate$A(obj, path = 'ContentDocumentOutputRepresentation') {
249
421
  }
250
422
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
251
423
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
252
- const referencepath_latestPublishedVersionValidationError = validate$B(obj_latestPublishedVersion, path_latestPublishedVersion);
424
+ const referencepath_latestPublishedVersionValidationError = validate$C(obj_latestPublishedVersion, path_latestPublishedVersion);
253
425
  if (referencepath_latestPublishedVersionValidationError !== null) {
254
426
  let message = 'Object doesn\'t match ContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
255
427
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -269,7 +441,7 @@ function validate$A(obj, path = 'ContentDocumentOutputRepresentation') {
269
441
  return v_error === undefined ? null : v_error;
270
442
  }
271
443
 
272
- function validate$z(obj, path = 'SlackFileOutputRepresentation') {
444
+ function validate$A(obj, path = 'SlackFileOutputRepresentation') {
273
445
  const v_error = (() => {
274
446
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
275
447
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -278,7 +450,7 @@ function validate$z(obj, path = 'SlackFileOutputRepresentation') {
278
450
  const path_contentDocument = path + '.contentDocument';
279
451
  let obj_contentDocument_union0 = null;
280
452
  const obj_contentDocument_union0_error = (() => {
281
- const referencepath_contentDocumentValidationError = validate$A(obj_contentDocument, path_contentDocument);
453
+ const referencepath_contentDocumentValidationError = validate$B(obj_contentDocument, path_contentDocument);
282
454
  if (referencepath_contentDocumentValidationError !== null) {
283
455
  let message = 'Object doesn\'t match ContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
284
456
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -378,7 +550,7 @@ function validate$z(obj, path = 'SlackFileOutputRepresentation') {
378
550
  return v_error === undefined ? null : v_error;
379
551
  }
380
552
 
381
- function validate$y(obj, path = 'SlackEmojiOutputRepresentation') {
553
+ function validate$z(obj, path = 'SlackEmojiOutputRepresentation') {
382
554
  const v_error = (() => {
383
555
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
384
556
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -502,7 +674,7 @@ function validate$y(obj, path = 'SlackEmojiOutputRepresentation') {
502
674
  return v_error === undefined ? null : v_error;
503
675
  }
504
676
 
505
- function validate$x(obj, path = 'SlackUserInfoOutputRepresentation') {
677
+ function validate$y(obj, path = 'SlackUserInfoOutputRepresentation') {
506
678
  const v_error = (() => {
507
679
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
508
680
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -829,7 +1001,7 @@ function validate$x(obj, path = 'SlackUserInfoOutputRepresentation') {
829
1001
  const path_statusEmoji = path + '.statusEmoji';
830
1002
  let obj_statusEmoji_union0 = null;
831
1003
  const obj_statusEmoji_union0_error = (() => {
832
- const referencepath_statusEmojiValidationError = validate$y(obj_statusEmoji, path_statusEmoji);
1004
+ const referencepath_statusEmojiValidationError = validate$z(obj_statusEmoji, path_statusEmoji);
833
1005
  if (referencepath_statusEmojiValidationError !== null) {
834
1006
  let message = 'Object doesn\'t match SlackEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
835
1007
  message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -892,7 +1064,7 @@ function validate$x(obj, path = 'SlackUserInfoOutputRepresentation') {
892
1064
  return v_error === undefined ? null : v_error;
893
1065
  }
894
1066
 
895
- function validate$w(obj, path = 'SlackReactionOutputRepresentation') {
1067
+ function validate$x(obj, path = 'SlackReactionOutputRepresentation') {
896
1068
  const v_error = (() => {
897
1069
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
898
1070
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -972,7 +1144,7 @@ function validate$w(obj, path = 'SlackReactionOutputRepresentation') {
972
1144
  for (let i = 0; i < obj_reactedUsers.length; i++) {
973
1145
  const obj_reactedUsers_item = obj_reactedUsers[i];
974
1146
  const path_reactedUsers_item = path_reactedUsers + '[' + i + ']';
975
- const referencepath_reactedUsers_itemValidationError = validate$x(obj_reactedUsers_item, path_reactedUsers_item);
1147
+ const referencepath_reactedUsers_itemValidationError = validate$y(obj_reactedUsers_item, path_reactedUsers_item);
976
1148
  if (referencepath_reactedUsers_itemValidationError !== null) {
977
1149
  let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_reactedUsers_item + '")\n';
978
1150
  message += referencepath_reactedUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1061,7 +1233,7 @@ function validate$w(obj, path = 'SlackReactionOutputRepresentation') {
1061
1233
  return v_error === undefined ? null : v_error;
1062
1234
  }
1063
1235
 
1064
- function validate$v(obj, path = 'SlackMessageOutputRepresentation') {
1236
+ function validate$w(obj, path = 'SlackMessageOutputRepresentation') {
1065
1237
  const v_error = (() => {
1066
1238
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1067
1239
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1110,7 +1282,7 @@ function validate$v(obj, path = 'SlackMessageOutputRepresentation') {
1110
1282
  for (let i = 0; i < obj_files.length; i++) {
1111
1283
  const obj_files_item = obj_files[i];
1112
1284
  const path_files_item = path_files + '[' + i + ']';
1113
- const referencepath_files_itemValidationError = validate$z(obj_files_item, path_files_item);
1285
+ const referencepath_files_itemValidationError = validate$A(obj_files_item, path_files_item);
1114
1286
  if (referencepath_files_itemValidationError !== null) {
1115
1287
  let message = 'Object doesn\'t match SlackFileOutputRepresentation (at "' + path_files_item + '")\n';
1116
1288
  message += referencepath_files_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1208,7 +1380,7 @@ function validate$v(obj, path = 'SlackMessageOutputRepresentation') {
1208
1380
  for (let i = 0; i < obj_reactions.length; i++) {
1209
1381
  const obj_reactions_item = obj_reactions[i];
1210
1382
  const path_reactions_item = path_reactions + '[' + i + ']';
1211
- const referencepath_reactions_itemValidationError = validate$w(obj_reactions_item, path_reactions_item);
1383
+ const referencepath_reactions_itemValidationError = validate$x(obj_reactions_item, path_reactions_item);
1212
1384
  if (referencepath_reactions_itemValidationError !== null) {
1213
1385
  let message = 'Object doesn\'t match SlackReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
1214
1386
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1249,7 +1421,7 @@ function validate$v(obj, path = 'SlackMessageOutputRepresentation') {
1249
1421
  for (let i = 0; i < obj_replyUsers.length; i++) {
1250
1422
  const obj_replyUsers_item = obj_replyUsers[i];
1251
1423
  const path_replyUsers_item = path_replyUsers + '[' + i + ']';
1252
- const referencepath_replyUsers_itemValidationError = validate$x(obj_replyUsers_item, path_replyUsers_item);
1424
+ const referencepath_replyUsers_itemValidationError = validate$y(obj_replyUsers_item, path_replyUsers_item);
1253
1425
  if (referencepath_replyUsers_itemValidationError !== null) {
1254
1426
  let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_replyUsers_item + '")\n';
1255
1427
  message += referencepath_replyUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1361,7 +1533,7 @@ function validate$v(obj, path = 'SlackMessageOutputRepresentation') {
1361
1533
  }
1362
1534
  const obj_userInfo = obj.userInfo;
1363
1535
  const path_userInfo = path + '.userInfo';
1364
- const referencepath_userInfoValidationError = validate$x(obj_userInfo, path_userInfo);
1536
+ const referencepath_userInfoValidationError = validate$y(obj_userInfo, path_userInfo);
1365
1537
  if (referencepath_userInfoValidationError !== null) {
1366
1538
  let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_userInfo + '")\n';
1367
1539
  message += referencepath_userInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1371,7 +1543,7 @@ function validate$v(obj, path = 'SlackMessageOutputRepresentation') {
1371
1543
  return v_error === undefined ? null : v_error;
1372
1544
  }
1373
1545
 
1374
- function validate$u(obj, path = 'AnnotationConversationRepresentation') {
1546
+ function validate$v(obj, path = 'AnnotationConversationRepresentation') {
1375
1547
  const v_error = (() => {
1376
1548
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1377
1549
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1396,7 +1568,7 @@ function validate$u(obj, path = 'AnnotationConversationRepresentation') {
1396
1568
  const path_message = path + '.message';
1397
1569
  let obj_message_union0 = null;
1398
1570
  const obj_message_union0_error = (() => {
1399
- const referencepath_messageValidationError = validate$v(obj_message, path_message);
1571
+ const referencepath_messageValidationError = validate$w(obj_message, path_message);
1400
1572
  if (referencepath_messageValidationError !== null) {
1401
1573
  let message = 'Object doesn\'t match SlackMessageOutputRepresentation (at "' + path_message + '")\n';
1402
1574
  message += referencepath_messageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1431,9 +1603,9 @@ function validate$u(obj, path = 'AnnotationConversationRepresentation') {
1431
1603
  return v_error === undefined ? null : v_error;
1432
1604
  }
1433
1605
 
1434
- const TTL$b = 1000;
1435
- const VERSION$l = "bacc25da56cffff8126d9bdafc471a37";
1436
- function validate$t(obj, path = 'AnnotationRepresentation') {
1606
+ const TTL$c = 1000;
1607
+ const VERSION$m = "bacc25da56cffff8126d9bdafc471a37";
1608
+ function validate$u(obj, path = 'AnnotationRepresentation') {
1437
1609
  const v_error = (() => {
1438
1610
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1439
1611
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1441,7 +1613,7 @@ function validate$t(obj, path = 'AnnotationRepresentation') {
1441
1613
  if (obj.anchor !== undefined) {
1442
1614
  const obj_anchor = obj.anchor;
1443
1615
  const path_anchor = path + '.anchor';
1444
- const referencepath_anchorValidationError = validate$E(obj_anchor, path_anchor);
1616
+ const referencepath_anchorValidationError = validate$F(obj_anchor, path_anchor);
1445
1617
  if (referencepath_anchorValidationError !== null) {
1446
1618
  let message = 'Object doesn\'t match DashboardAnnotationAnchorRepresentation (at "' + path_anchor + '")\n';
1447
1619
  message += referencepath_anchorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1455,7 +1627,7 @@ function validate$t(obj, path = 'AnnotationRepresentation') {
1455
1627
  }
1456
1628
  const obj_asset = obj.asset;
1457
1629
  const path_asset = path + '.asset';
1458
- const referencepath_assetValidationError = validate$D(obj_asset, path_asset);
1630
+ const referencepath_assetValidationError = validate$E(obj_asset, path_asset);
1459
1631
  if (referencepath_assetValidationError !== null) {
1460
1632
  let message = 'Object doesn\'t match AnnotationAssetRepresentation (at "' + path_asset + '")\n';
1461
1633
  message += referencepath_assetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1463,7 +1635,7 @@ function validate$t(obj, path = 'AnnotationRepresentation') {
1463
1635
  }
1464
1636
  const obj_collaborationObject = obj.collaborationObject;
1465
1637
  const path_collaborationObject = path + '.collaborationObject';
1466
- const referencepath_collaborationObjectValidationError = validate$u(obj_collaborationObject, path_collaborationObject);
1638
+ const referencepath_collaborationObjectValidationError = validate$v(obj_collaborationObject, path_collaborationObject);
1467
1639
  if (referencepath_collaborationObjectValidationError !== null) {
1468
1640
  let message = 'Object doesn\'t match AnnotationConversationRepresentation (at "' + path_collaborationObject + '")\n';
1469
1641
  message += referencepath_collaborationObjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1482,58 +1654,58 @@ function validate$t(obj, path = 'AnnotationRepresentation') {
1482
1654
  })();
1483
1655
  return v_error === undefined ? null : v_error;
1484
1656
  }
1485
- const RepresentationType$m = 'AnnotationRepresentation';
1486
- function keyBuilder$L(luvio, config) {
1487
- return keyPrefix + '::' + RepresentationType$m + ':' + config.id;
1657
+ const RepresentationType$n = 'AnnotationRepresentation';
1658
+ function keyBuilder$M(luvio, config) {
1659
+ return keyPrefix + '::' + RepresentationType$n + ':' + config.id;
1488
1660
  }
1489
- function keyBuilderFromType$b(luvio, object) {
1661
+ function keyBuilderFromType$c(luvio, object) {
1490
1662
  const keyParams = {
1491
1663
  id: object.id
1492
1664
  };
1493
- return keyBuilder$L(luvio, keyParams);
1665
+ return keyBuilder$M(luvio, keyParams);
1494
1666
  }
1495
- function normalize$l(input, existing, path, luvio, store, timestamp) {
1667
+ function normalize$m(input, existing, path, luvio, store, timestamp) {
1496
1668
  return input;
1497
1669
  }
1498
- const select$O = function AnnotationRepresentationSelect() {
1670
+ const select$Q = function AnnotationRepresentationSelect() {
1499
1671
  return {
1500
1672
  kind: 'Fragment',
1501
- version: VERSION$l,
1673
+ version: VERSION$m,
1502
1674
  private: [],
1503
1675
  opaque: true
1504
1676
  };
1505
1677
  };
1506
- function equals$l(existing, incoming) {
1678
+ function equals$m(existing, incoming) {
1507
1679
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1508
1680
  return false;
1509
1681
  }
1510
1682
  return true;
1511
1683
  }
1512
- const ingest$l = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
1684
+ const ingest$m = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
1513
1685
  if (process.env.NODE_ENV !== 'production') {
1514
- const validateError = validate$t(input);
1686
+ const validateError = validate$u(input);
1515
1687
  if (validateError !== null) {
1516
1688
  throw validateError;
1517
1689
  }
1518
1690
  }
1519
- const key = keyBuilderFromType$b(luvio, input);
1520
- const ttlToUse = TTL$b;
1521
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "UnifiedAnalytics", VERSION$l, RepresentationType$m, equals$l);
1691
+ const key = keyBuilderFromType$c(luvio, input);
1692
+ const ttlToUse = TTL$c;
1693
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "UnifiedAnalytics", VERSION$m, RepresentationType$n, equals$m);
1522
1694
  return createLink(key);
1523
1695
  };
1524
- function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
1696
+ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
1525
1697
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1526
- const rootKey = keyBuilderFromType$b(luvio, input);
1698
+ const rootKey = keyBuilderFromType$c(luvio, input);
1527
1699
  rootKeySet.set(rootKey, {
1528
1700
  namespace: keyPrefix,
1529
- representationName: RepresentationType$m,
1701
+ representationName: RepresentationType$n,
1530
1702
  mergeable: false
1531
1703
  });
1532
1704
  }
1533
1705
 
1534
- const TTL$a = 1000;
1535
- const VERSION$k = "a80c8e970184cc7789e13f69392d6203";
1536
- function validate$s(obj, path = 'AnnotationCollectionRepresentation') {
1706
+ const TTL$b = 1000;
1707
+ const VERSION$l = "a80c8e970184cc7789e13f69392d6203";
1708
+ function validate$t(obj, path = 'AnnotationCollectionRepresentation') {
1537
1709
  const v_error = (() => {
1538
1710
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1539
1711
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1558,14 +1730,14 @@ function validate$s(obj, path = 'AnnotationCollectionRepresentation') {
1558
1730
  })();
1559
1731
  return v_error === undefined ? null : v_error;
1560
1732
  }
1561
- const RepresentationType$l = 'AnnotationCollectionRepresentation';
1562
- function normalize$k(input, existing, path, luvio, store, timestamp) {
1733
+ const RepresentationType$m = 'AnnotationCollectionRepresentation';
1734
+ function normalize$l(input, existing, path, luvio, store, timestamp) {
1563
1735
  const input_annotations = input.annotations;
1564
1736
  const input_annotations_id = path.fullPath + '__annotations';
1565
1737
  for (let i = 0; i < input_annotations.length; i++) {
1566
1738
  const input_annotations_item = input_annotations[i];
1567
1739
  let input_annotations_item_id = input_annotations_id + '__' + i;
1568
- input_annotations[i] = ingest$l(input_annotations_item, {
1740
+ input_annotations[i] = ingest$m(input_annotations_item, {
1569
1741
  fullPath: input_annotations_item_id,
1570
1742
  propertyName: i,
1571
1743
  parent: {
@@ -1578,17 +1750,17 @@ function normalize$k(input, existing, path, luvio, store, timestamp) {
1578
1750
  }
1579
1751
  return input;
1580
1752
  }
1581
- const select$N = function AnnotationCollectionRepresentationSelect() {
1753
+ const select$P = function AnnotationCollectionRepresentationSelect() {
1582
1754
  return {
1583
1755
  kind: 'Fragment',
1584
- version: VERSION$k,
1756
+ version: VERSION$l,
1585
1757
  private: [],
1586
1758
  selections: [
1587
1759
  {
1588
1760
  name: 'annotations',
1589
1761
  kind: 'Link',
1590
1762
  plural: true,
1591
- fragment: select$O()
1763
+ fragment: select$Q()
1592
1764
  },
1593
1765
  {
1594
1766
  name: 'total',
@@ -1597,7 +1769,7 @@ const select$N = function AnnotationCollectionRepresentationSelect() {
1597
1769
  ]
1598
1770
  };
1599
1771
  };
1600
- function equals$k(existing, incoming) {
1772
+ function equals$l(existing, incoming) {
1601
1773
  const existing_total = existing.total;
1602
1774
  const incoming_total = incoming.total;
1603
1775
  if (!(existing_total === incoming_total)) {
@@ -1615,48 +1787,48 @@ function equals$k(existing, incoming) {
1615
1787
  }
1616
1788
  return true;
1617
1789
  }
1618
- const ingest$k = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1790
+ const ingest$l = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1619
1791
  if (process.env.NODE_ENV !== 'production') {
1620
- const validateError = validate$s(input);
1792
+ const validateError = validate$t(input);
1621
1793
  if (validateError !== null) {
1622
1794
  throw validateError;
1623
1795
  }
1624
1796
  }
1625
1797
  const key = path.fullPath;
1626
- const ttlToUse = TTL$a;
1627
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "UnifiedAnalytics", VERSION$k, RepresentationType$l, equals$k);
1798
+ const ttlToUse = TTL$b;
1799
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "UnifiedAnalytics", VERSION$l, RepresentationType$m, equals$l);
1628
1800
  return createLink(key);
1629
1801
  };
1630
- function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
1802
+ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
1631
1803
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1632
1804
  const rootKey = fullPathFactory();
1633
1805
  rootKeySet.set(rootKey, {
1634
1806
  namespace: keyPrefix,
1635
- representationName: RepresentationType$l,
1807
+ representationName: RepresentationType$m,
1636
1808
  mergeable: false
1637
1809
  });
1638
1810
  const input_annotations_length = input.annotations.length;
1639
1811
  for (let i = 0; i < input_annotations_length; i++) {
1640
- getTypeCacheKeys$l(rootKeySet, luvio, input.annotations[i]);
1812
+ getTypeCacheKeys$m(rootKeySet, luvio, input.annotations[i]);
1641
1813
  }
1642
1814
  }
1643
1815
 
1644
- function select$M(luvio, params) {
1645
- return select$N();
1816
+ function select$O(luvio, params) {
1817
+ return select$P();
1646
1818
  }
1647
- function keyBuilder$K(luvio, params) {
1819
+ function keyBuilder$L(luvio, params) {
1648
1820
  return keyPrefix + '::AnnotationCollectionRepresentation:(' + 'assetIds:' + params.queryParams.assetIds + ',' + 'includeTopMessage:' + params.queryParams.includeTopMessage + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'slackAppId:' + params.queryParams.slackAppId + ')';
1649
1821
  }
1650
- function getResponseCacheKeys$x(storeKeyMap, luvio, resourceParams, response) {
1651
- getTypeCacheKeys$k(storeKeyMap, luvio, response, () => keyBuilder$K(luvio, resourceParams));
1822
+ function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
1823
+ getTypeCacheKeys$l(storeKeyMap, luvio, response, () => keyBuilder$L(luvio, resourceParams));
1652
1824
  }
1653
- function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
1825
+ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
1654
1826
  const { body } = response;
1655
- const key = keyBuilder$K(luvio, resourceParams);
1656
- luvio.storeIngest(key, ingest$k, body);
1827
+ const key = keyBuilder$L(luvio, resourceParams);
1828
+ luvio.storeIngest(key, ingest$l, body);
1657
1829
  const snapshot = luvio.storeLookup({
1658
1830
  recordId: key,
1659
- node: select$M(),
1831
+ node: select$O(),
1660
1832
  variables: {},
1661
1833
  }, snapshotRefresh);
1662
1834
  if (process.env.NODE_ENV !== 'production') {
@@ -1668,18 +1840,18 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
1668
1840
  return snapshot;
1669
1841
  }
1670
1842
  function ingestError$e(luvio, params, error, snapshotRefresh) {
1671
- const key = keyBuilder$K(luvio, params);
1843
+ const key = keyBuilder$L(luvio, params);
1672
1844
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1673
1845
  const storeMetadataParams = {
1674
- ttl: TTL$a,
1846
+ ttl: TTL$b,
1675
1847
  namespace: keyPrefix,
1676
- version: VERSION$k,
1677
- representationName: RepresentationType$l
1848
+ version: VERSION$l,
1849
+ representationName: RepresentationType$m
1678
1850
  };
1679
1851
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1680
1852
  return errorSnapshot;
1681
1853
  }
1682
- function createResourceRequest$x(config) {
1854
+ function createResourceRequest$y(config) {
1683
1855
  const headers = {};
1684
1856
  return {
1685
1857
  baseUri: '/services/data/v62.0',
@@ -1693,7 +1865,7 @@ function createResourceRequest$x(config) {
1693
1865
  };
1694
1866
  }
1695
1867
 
1696
- const adapterName$x = 'getAnnotations';
1868
+ const adapterName$y = 'getAnnotations';
1697
1869
  const getAnnotations_ConfigPropertyMetadata = [
1698
1870
  generateParamConfigMetadata('assetIds', false, 1 /* QueryParameter */, 0 /* String */, true),
1699
1871
  generateParamConfigMetadata('includeTopMessage', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -1701,56 +1873,56 @@ const getAnnotations_ConfigPropertyMetadata = [
1701
1873
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1702
1874
  generateParamConfigMetadata('slackAppId', false, 1 /* QueryParameter */, 0 /* String */),
1703
1875
  ];
1704
- const getAnnotations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, getAnnotations_ConfigPropertyMetadata);
1705
- const createResourceParams$x = /*#__PURE__*/ createResourceParams$y(getAnnotations_ConfigPropertyMetadata);
1706
- function keyBuilder$J(luvio, config) {
1707
- const resourceParams = createResourceParams$x(config);
1708
- return keyBuilder$K(luvio, resourceParams);
1876
+ const getAnnotations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getAnnotations_ConfigPropertyMetadata);
1877
+ const createResourceParams$y = /*#__PURE__*/ createResourceParams$A(getAnnotations_ConfigPropertyMetadata);
1878
+ function keyBuilder$K(luvio, config) {
1879
+ const resourceParams = createResourceParams$y(config);
1880
+ return keyBuilder$L(luvio, resourceParams);
1709
1881
  }
1710
- function typeCheckConfig$x(untrustedConfig) {
1882
+ function typeCheckConfig$y(untrustedConfig) {
1711
1883
  const config = {};
1712
- typeCheckConfig$y(untrustedConfig, config, getAnnotations_ConfigPropertyMetadata);
1884
+ typeCheckConfig$A(untrustedConfig, config, getAnnotations_ConfigPropertyMetadata);
1713
1885
  return config;
1714
1886
  }
1715
- function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
1887
+ function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
1716
1888
  if (!untrustedIsObject(untrustedConfig)) {
1717
1889
  return null;
1718
1890
  }
1719
1891
  if (process.env.NODE_ENV !== 'production') {
1720
1892
  validateConfig(untrustedConfig, configPropertyNames);
1721
1893
  }
1722
- const config = typeCheckConfig$x(untrustedConfig);
1894
+ const config = typeCheckConfig$y(untrustedConfig);
1723
1895
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1724
1896
  return null;
1725
1897
  }
1726
1898
  return config;
1727
1899
  }
1728
1900
  function adapterFragment$e(luvio, config) {
1729
- createResourceParams$x(config);
1730
- return select$M();
1901
+ createResourceParams$y(config);
1902
+ return select$O();
1731
1903
  }
1732
1904
  function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
1733
- const snapshot = ingestSuccess$s(luvio, resourceParams, response, {
1905
+ const snapshot = ingestSuccess$t(luvio, resourceParams, response, {
1734
1906
  config,
1735
- resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
1907
+ resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
1736
1908
  });
1737
1909
  return luvio.storeBroadcast().then(() => snapshot);
1738
1910
  }
1739
1911
  function onFetchResponseError$e(luvio, config, resourceParams, response) {
1740
1912
  const snapshot = ingestError$e(luvio, resourceParams, response, {
1741
1913
  config,
1742
- resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
1914
+ resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
1743
1915
  });
1744
1916
  return luvio.storeBroadcast().then(() => snapshot);
1745
1917
  }
1746
- function buildNetworkSnapshot$x(luvio, config, options) {
1747
- const resourceParams = createResourceParams$x(config);
1748
- const request = createResourceRequest$x(resourceParams);
1918
+ function buildNetworkSnapshot$y(luvio, config, options) {
1919
+ const resourceParams = createResourceParams$y(config);
1920
+ const request = createResourceRequest$y(resourceParams);
1749
1921
  return luvio.dispatchResourceRequest(request, options)
1750
1922
  .then((response) => {
1751
1923
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$e(luvio, config, resourceParams, response), () => {
1752
1924
  const cache = new StoreKeyMap();
1753
- getResponseCacheKeys$x(cache, luvio, resourceParams, response.body);
1925
+ getResponseCacheKeys$y(cache, luvio, resourceParams, response.body);
1754
1926
  return cache;
1755
1927
  });
1756
1928
  }, (response) => {
@@ -1758,23 +1930,23 @@ function buildNetworkSnapshot$x(luvio, config, options) {
1758
1930
  });
1759
1931
  }
1760
1932
  function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
1761
- return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
1933
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
1762
1934
  }
1763
1935
  function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
1764
1936
  const { luvio, config } = context;
1765
1937
  const selector = {
1766
- recordId: keyBuilder$J(luvio, config),
1938
+ recordId: keyBuilder$K(luvio, config),
1767
1939
  node: adapterFragment$e(luvio, config),
1768
1940
  variables: {},
1769
1941
  };
1770
1942
  const cacheSnapshot = storeLookup(selector, {
1771
1943
  config,
1772
- resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
1944
+ resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
1773
1945
  });
1774
1946
  return cacheSnapshot;
1775
1947
  }
1776
1948
  const getAnnotationsAdapterFactory = (luvio) => function UnifiedAnalytics__getAnnotations(untrustedConfig, requestContext) {
1777
- const config = validateAdapterConfig$x(untrustedConfig, getAnnotations_ConfigPropertyNames);
1949
+ const config = validateAdapterConfig$y(untrustedConfig, getAnnotations_ConfigPropertyNames);
1778
1950
  // Invalid or incomplete config
1779
1951
  if (config === null) {
1780
1952
  return null;
@@ -1783,19 +1955,19 @@ const getAnnotationsAdapterFactory = (luvio) => function UnifiedAnalytics__getAn
1783
1955
  buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
1784
1956
  };
1785
1957
 
1786
- function select$L(luvio, params) {
1787
- return select$O();
1958
+ function select$N(luvio, params) {
1959
+ return select$Q();
1788
1960
  }
1789
- function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
1790
- getTypeCacheKeys$l(storeKeyMap, luvio, response);
1961
+ function getResponseCacheKeys$x(storeKeyMap, luvio, resourceParams, response) {
1962
+ getTypeCacheKeys$m(storeKeyMap, luvio, response);
1791
1963
  }
1792
- function ingestSuccess$r(luvio, resourceParams, response) {
1964
+ function ingestSuccess$s(luvio, resourceParams, response) {
1793
1965
  const { body } = response;
1794
- const key = keyBuilderFromType$b(luvio, body);
1795
- luvio.storeIngest(key, ingest$l, body);
1966
+ const key = keyBuilderFromType$c(luvio, body);
1967
+ luvio.storeIngest(key, ingest$m, body);
1796
1968
  const snapshot = luvio.storeLookup({
1797
1969
  recordId: key,
1798
- node: select$L(),
1970
+ node: select$N(),
1799
1971
  variables: {},
1800
1972
  });
1801
1973
  if (process.env.NODE_ENV !== 'production') {
@@ -1806,7 +1978,7 @@ function ingestSuccess$r(luvio, resourceParams, response) {
1806
1978
  deepFreeze(snapshot.data);
1807
1979
  return snapshot;
1808
1980
  }
1809
- function createResourceRequest$w(config) {
1981
+ function createResourceRequest$x(config) {
1810
1982
  const headers = {};
1811
1983
  return {
1812
1984
  baseUri: '/services/data/v62.0',
@@ -1820,7 +1992,7 @@ function createResourceRequest$w(config) {
1820
1992
  };
1821
1993
  }
1822
1994
 
1823
- const adapterName$w = 'createAnnotation';
1995
+ const adapterName$x = 'createAnnotation';
1824
1996
  const createAnnotation_ConfigPropertyMetadata = [
1825
1997
  generateParamConfigMetadata('anchor', false, 2 /* Body */, 4 /* Unsupported */),
1826
1998
  generateParamConfigMetadata('annotationTool', true, 2 /* Body */, 0 /* String */),
@@ -1829,41 +2001,41 @@ const createAnnotation_ConfigPropertyMetadata = [
1829
2001
  generateParamConfigMetadata('collaborationObject', true, 2 /* Body */, 4 /* Unsupported */),
1830
2002
  generateParamConfigMetadata('status', true, 2 /* Body */, 0 /* String */),
1831
2003
  ];
1832
- const createAnnotation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, createAnnotation_ConfigPropertyMetadata);
1833
- const createResourceParams$w = /*#__PURE__*/ createResourceParams$y(createAnnotation_ConfigPropertyMetadata);
1834
- function typeCheckConfig$w(untrustedConfig) {
2004
+ const createAnnotation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, createAnnotation_ConfigPropertyMetadata);
2005
+ const createResourceParams$x = /*#__PURE__*/ createResourceParams$A(createAnnotation_ConfigPropertyMetadata);
2006
+ function typeCheckConfig$x(untrustedConfig) {
1835
2007
  const config = {};
1836
- typeCheckConfig$y(untrustedConfig, config, createAnnotation_ConfigPropertyMetadata);
2008
+ typeCheckConfig$A(untrustedConfig, config, createAnnotation_ConfigPropertyMetadata);
1837
2009
  const untrustedConfig_anchor = untrustedConfig.anchor;
1838
2010
  config.anchor = untrustedConfig_anchor;
1839
2011
  const untrustedConfig_collaborationObject = untrustedConfig.collaborationObject;
1840
2012
  config.collaborationObject = untrustedConfig_collaborationObject;
1841
2013
  return config;
1842
2014
  }
1843
- function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
2015
+ function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
1844
2016
  if (!untrustedIsObject(untrustedConfig)) {
1845
2017
  return null;
1846
2018
  }
1847
2019
  if (process.env.NODE_ENV !== 'production') {
1848
2020
  validateConfig(untrustedConfig, configPropertyNames);
1849
2021
  }
1850
- const config = typeCheckConfig$w(untrustedConfig);
2022
+ const config = typeCheckConfig$x(untrustedConfig);
1851
2023
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1852
2024
  return null;
1853
2025
  }
1854
2026
  return config;
1855
2027
  }
1856
- function buildNetworkSnapshot$w(luvio, config, options) {
1857
- const resourceParams = createResourceParams$w(config);
1858
- const request = createResourceRequest$w(resourceParams);
2028
+ function buildNetworkSnapshot$x(luvio, config, options) {
2029
+ const resourceParams = createResourceParams$x(config);
2030
+ const request = createResourceRequest$x(resourceParams);
1859
2031
  return luvio.dispatchResourceRequest(request, options)
1860
2032
  .then((response) => {
1861
2033
  return luvio.handleSuccessResponse(() => {
1862
- const snapshot = ingestSuccess$r(luvio, resourceParams, response);
2034
+ const snapshot = ingestSuccess$s(luvio, resourceParams, response);
1863
2035
  return luvio.storeBroadcast().then(() => snapshot);
1864
2036
  }, () => {
1865
2037
  const cache = new StoreKeyMap();
1866
- getResponseCacheKeys$w(cache, luvio, resourceParams, response.body);
2038
+ getResponseCacheKeys$x(cache, luvio, resourceParams, response.body);
1867
2039
  return cache;
1868
2040
  });
1869
2041
  }, (response) => {
@@ -1873,18 +2045,18 @@ function buildNetworkSnapshot$w(luvio, config, options) {
1873
2045
  }
1874
2046
  const createAnnotationAdapterFactory = (luvio) => {
1875
2047
  return function createAnnotation(untrustedConfig) {
1876
- const config = validateAdapterConfig$w(untrustedConfig, createAnnotation_ConfigPropertyNames);
2048
+ const config = validateAdapterConfig$x(untrustedConfig, createAnnotation_ConfigPropertyNames);
1877
2049
  // Invalid or incomplete config
1878
2050
  if (config === null) {
1879
2051
  throw new Error('Invalid config for "createAnnotation"');
1880
2052
  }
1881
- return buildNetworkSnapshot$w(luvio, config);
2053
+ return buildNetworkSnapshot$x(luvio, config);
1882
2054
  };
1883
2055
  };
1884
2056
 
1885
- const TTL$9 = 5000;
1886
- const VERSION$j = "505a83d97fefa7ce68ec6512264b0543";
1887
- function validate$r(obj, path = 'SlackAppInfoRepresentation') {
2057
+ const TTL$a = 5000;
2058
+ const VERSION$k = "505a83d97fefa7ce68ec6512264b0543";
2059
+ function validate$s(obj, path = 'SlackAppInfoRepresentation') {
1888
2060
  const v_error = (() => {
1889
2061
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1890
2062
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1924,14 +2096,14 @@ function validate$r(obj, path = 'SlackAppInfoRepresentation') {
1924
2096
  })();
1925
2097
  return v_error === undefined ? null : v_error;
1926
2098
  }
1927
- const RepresentationType$k = 'SlackAppInfoRepresentation';
1928
- function normalize$j(input, existing, path, luvio, store, timestamp) {
2099
+ const RepresentationType$l = 'SlackAppInfoRepresentation';
2100
+ function normalize$k(input, existing, path, luvio, store, timestamp) {
1929
2101
  return input;
1930
2102
  }
1931
- const select$K = function SlackAppInfoRepresentationSelect() {
2103
+ const select$M = function SlackAppInfoRepresentationSelect() {
1932
2104
  return {
1933
2105
  kind: 'Fragment',
1934
- version: VERSION$j,
2106
+ version: VERSION$k,
1935
2107
  private: [],
1936
2108
  selections: [
1937
2109
  {
@@ -1958,7 +2130,7 @@ const select$K = function SlackAppInfoRepresentationSelect() {
1958
2130
  ]
1959
2131
  };
1960
2132
  };
1961
- function equals$j(existing, incoming) {
2133
+ function equals$k(existing, incoming) {
1962
2134
  const existing_isSlackAppAuthorized = existing.isSlackAppAuthorized;
1963
2135
  const incoming_isSlackAppAuthorized = incoming.isSlackAppAuthorized;
1964
2136
  if (!(existing_isSlackAppAuthorized === incoming_isSlackAppAuthorized)) {
@@ -1991,44 +2163,44 @@ function equals$j(existing, incoming) {
1991
2163
  }
1992
2164
  return true;
1993
2165
  }
1994
- const ingest$j = function SlackAppInfoRepresentationIngest(input, path, luvio, store, timestamp) {
2166
+ const ingest$k = function SlackAppInfoRepresentationIngest(input, path, luvio, store, timestamp) {
1995
2167
  if (process.env.NODE_ENV !== 'production') {
1996
- const validateError = validate$r(input);
2168
+ const validateError = validate$s(input);
1997
2169
  if (validateError !== null) {
1998
2170
  throw validateError;
1999
2171
  }
2000
2172
  }
2001
2173
  const key = path.fullPath;
2002
- const ttlToUse = TTL$9;
2003
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "UnifiedAnalytics", VERSION$j, RepresentationType$k, equals$j);
2174
+ const ttlToUse = TTL$a;
2175
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "UnifiedAnalytics", VERSION$k, RepresentationType$l, equals$k);
2004
2176
  return createLink(key);
2005
2177
  };
2006
- function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
2178
+ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
2007
2179
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2008
2180
  const rootKey = fullPathFactory();
2009
2181
  rootKeySet.set(rootKey, {
2010
2182
  namespace: keyPrefix,
2011
- representationName: RepresentationType$k,
2183
+ representationName: RepresentationType$l,
2012
2184
  mergeable: false
2013
2185
  });
2014
2186
  }
2015
2187
 
2016
- function select$J(luvio, params) {
2017
- return select$K();
2188
+ function select$L(luvio, params) {
2189
+ return select$M();
2018
2190
  }
2019
- function keyBuilder$I(luvio, params) {
2191
+ function keyBuilder$J(luvio, params) {
2020
2192
  return keyPrefix + '::SlackAppInfoRepresentation:(' + ')';
2021
2193
  }
2022
- function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
2023
- getTypeCacheKeys$j(storeKeyMap, luvio, response, () => keyBuilder$I());
2194
+ function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
2195
+ getTypeCacheKeys$k(storeKeyMap, luvio, response, () => keyBuilder$J());
2024
2196
  }
2025
- function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
2197
+ function ingestSuccess$r(luvio, resourceParams, response, snapshotRefresh) {
2026
2198
  const { body } = response;
2027
- const key = keyBuilder$I();
2028
- luvio.storeIngest(key, ingest$j, body);
2199
+ const key = keyBuilder$J();
2200
+ luvio.storeIngest(key, ingest$k, body);
2029
2201
  const snapshot = luvio.storeLookup({
2030
2202
  recordId: key,
2031
- node: select$J(),
2203
+ node: select$L(),
2032
2204
  variables: {},
2033
2205
  }, snapshotRefresh);
2034
2206
  if (process.env.NODE_ENV !== 'production') {
@@ -2040,18 +2212,18 @@ function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
2040
2212
  return snapshot;
2041
2213
  }
2042
2214
  function ingestError$d(luvio, params, error, snapshotRefresh) {
2043
- const key = keyBuilder$I();
2215
+ const key = keyBuilder$J();
2044
2216
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2045
2217
  const storeMetadataParams = {
2046
- ttl: TTL$9,
2218
+ ttl: TTL$a,
2047
2219
  namespace: keyPrefix,
2048
- version: VERSION$j,
2049
- representationName: RepresentationType$k
2220
+ version: VERSION$k,
2221
+ representationName: RepresentationType$l
2050
2222
  };
2051
2223
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2052
2224
  return errorSnapshot;
2053
2225
  }
2054
- function createResourceRequest$v(config) {
2226
+ function createResourceRequest$w(config) {
2055
2227
  const headers = {};
2056
2228
  return {
2057
2229
  baseUri: '/services/data/v62.0',
@@ -2065,57 +2237,57 @@ function createResourceRequest$v(config) {
2065
2237
  };
2066
2238
  }
2067
2239
 
2068
- const adapterName$v = 'getSlackAppInfo';
2240
+ const adapterName$w = 'getSlackAppInfo';
2069
2241
  const getSlackAppInfo_ConfigPropertyMetadata = [];
2070
- const getSlackAppInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, getSlackAppInfo_ConfigPropertyMetadata);
2071
- const createResourceParams$v = /*#__PURE__*/ createResourceParams$y(getSlackAppInfo_ConfigPropertyMetadata);
2072
- function keyBuilder$H(luvio, config) {
2073
- createResourceParams$v(config);
2074
- return keyBuilder$I();
2242
+ const getSlackAppInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, getSlackAppInfo_ConfigPropertyMetadata);
2243
+ const createResourceParams$w = /*#__PURE__*/ createResourceParams$A(getSlackAppInfo_ConfigPropertyMetadata);
2244
+ function keyBuilder$I(luvio, config) {
2245
+ createResourceParams$w(config);
2246
+ return keyBuilder$J();
2075
2247
  }
2076
- function typeCheckConfig$v(untrustedConfig) {
2248
+ function typeCheckConfig$w(untrustedConfig) {
2077
2249
  const config = {};
2078
2250
  return config;
2079
2251
  }
2080
- function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
2252
+ function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
2081
2253
  if (!untrustedIsObject(untrustedConfig)) {
2082
2254
  return null;
2083
2255
  }
2084
2256
  if (process.env.NODE_ENV !== 'production') {
2085
2257
  validateConfig(untrustedConfig, configPropertyNames);
2086
2258
  }
2087
- const config = typeCheckConfig$v();
2259
+ const config = typeCheckConfig$w();
2088
2260
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2089
2261
  return null;
2090
2262
  }
2091
2263
  return config;
2092
2264
  }
2093
2265
  function adapterFragment$d(luvio, config) {
2094
- createResourceParams$v(config);
2095
- return select$J();
2266
+ createResourceParams$w(config);
2267
+ return select$L();
2096
2268
  }
2097
2269
  function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
2098
- const snapshot = ingestSuccess$q(luvio, resourceParams, response, {
2270
+ const snapshot = ingestSuccess$r(luvio, resourceParams, response, {
2099
2271
  config,
2100
- resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
2272
+ resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2101
2273
  });
2102
2274
  return luvio.storeBroadcast().then(() => snapshot);
2103
2275
  }
2104
2276
  function onFetchResponseError$d(luvio, config, resourceParams, response) {
2105
2277
  const snapshot = ingestError$d(luvio, resourceParams, response, {
2106
2278
  config,
2107
- resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
2279
+ resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2108
2280
  });
2109
2281
  return luvio.storeBroadcast().then(() => snapshot);
2110
2282
  }
2111
- function buildNetworkSnapshot$v(luvio, config, options) {
2112
- const resourceParams = createResourceParams$v(config);
2113
- const request = createResourceRequest$v();
2283
+ function buildNetworkSnapshot$w(luvio, config, options) {
2284
+ const resourceParams = createResourceParams$w(config);
2285
+ const request = createResourceRequest$w();
2114
2286
  return luvio.dispatchResourceRequest(request, options)
2115
2287
  .then((response) => {
2116
2288
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
2117
2289
  const cache = new StoreKeyMap();
2118
- getResponseCacheKeys$v(cache, luvio, resourceParams, response.body);
2290
+ getResponseCacheKeys$w(cache, luvio, resourceParams, response.body);
2119
2291
  return cache;
2120
2292
  });
2121
2293
  }, (response) => {
@@ -2123,23 +2295,23 @@ function buildNetworkSnapshot$v(luvio, config, options) {
2123
2295
  });
2124
2296
  }
2125
2297
  function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
2126
- return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$v, undefined, false);
2298
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
2127
2299
  }
2128
2300
  function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
2129
2301
  const { luvio, config } = context;
2130
2302
  const selector = {
2131
- recordId: keyBuilder$H(luvio, config),
2303
+ recordId: keyBuilder$I(luvio, config),
2132
2304
  node: adapterFragment$d(luvio, config),
2133
2305
  variables: {},
2134
2306
  };
2135
2307
  const cacheSnapshot = storeLookup(selector, {
2136
2308
  config,
2137
- resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
2309
+ resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
2138
2310
  });
2139
2311
  return cacheSnapshot;
2140
2312
  }
2141
2313
  const getSlackAppInfoAdapterFactory = (luvio) => function UnifiedAnalytics__getSlackAppInfo(untrustedConfig, requestContext) {
2142
- const config = validateAdapterConfig$v(untrustedConfig, getSlackAppInfo_ConfigPropertyNames);
2314
+ const config = validateAdapterConfig$w(untrustedConfig, getSlackAppInfo_ConfigPropertyNames);
2143
2315
  // Invalid or incomplete config
2144
2316
  if (config === null) {
2145
2317
  return null;
@@ -2148,7 +2320,7 @@ const getSlackAppInfoAdapterFactory = (luvio) => function UnifiedAnalytics__getS
2148
2320
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
2149
2321
  };
2150
2322
 
2151
- function validate$q(obj, path = 'BaseAnalyticsRepresentation') {
2323
+ function validate$r(obj, path = 'BaseAnalyticsRepresentation') {
2152
2324
  const v_error = (() => {
2153
2325
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2154
2326
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2183,8 +2355,8 @@ function validate$q(obj, path = 'BaseAnalyticsRepresentation') {
2183
2355
  return v_error === undefined ? null : v_error;
2184
2356
  }
2185
2357
 
2186
- function validate$p(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
2187
- const validateBaseAnalyticsRepresentation_validateError = validate$q(obj, path);
2358
+ function validate$q(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
2359
+ const validateBaseAnalyticsRepresentation_validateError = validate$r(obj, path);
2188
2360
  if (validateBaseAnalyticsRepresentation_validateError !== null) {
2189
2361
  return validateBaseAnalyticsRepresentation_validateError;
2190
2362
  }
@@ -2196,8 +2368,8 @@ function validate$p(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
2196
2368
  return v_error === undefined ? null : v_error;
2197
2369
  }
2198
2370
 
2199
- function validate$o(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
2200
- const validateBaseAnalyticsRepresentation_validateError = validate$q(obj, path);
2371
+ function validate$p(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
2372
+ const validateBaseAnalyticsRepresentation_validateError = validate$r(obj, path);
2201
2373
  if (validateBaseAnalyticsRepresentation_validateError !== null) {
2202
2374
  return validateBaseAnalyticsRepresentation_validateError;
2203
2375
  }
@@ -2238,7 +2410,7 @@ function validate$o(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
2238
2410
  const path_workspace = path + '.workspace';
2239
2411
  let obj_workspace_union0 = null;
2240
2412
  const obj_workspace_union0_error = (() => {
2241
- const referencepath_workspaceValidationError = validate$p(obj_workspace, path_workspace);
2413
+ const referencepath_workspaceValidationError = validate$q(obj_workspace, path_workspace);
2242
2414
  if (referencepath_workspaceValidationError !== null) {
2243
2415
  let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsWorkspaceRepresentation (at "' + path_workspace + '")\n';
2244
2416
  message += referencepath_workspaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2268,9 +2440,9 @@ function validate$o(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
2268
2440
  return v_error === undefined ? null : v_error;
2269
2441
  }
2270
2442
 
2271
- const TTL$8 = 500;
2272
- const VERSION$i = "ed60d9cca169a3e5ed897c67d11a23db";
2273
- function validate$n(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2443
+ const TTL$9 = 500;
2444
+ const VERSION$j = "ed60d9cca169a3e5ed897c67d11a23db";
2445
+ function validate$o(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2274
2446
  const v_error = (() => {
2275
2447
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2276
2448
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2283,7 +2455,7 @@ function validate$n(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2283
2455
  for (let i = 0; i < obj_items.length; i++) {
2284
2456
  const obj_items_item = obj_items[i];
2285
2457
  const path_items_item = path_items + '[' + i + ']';
2286
- const referencepath_items_itemValidationError = validate$o(obj_items_item, path_items_item);
2458
+ const referencepath_items_itemValidationError = validate$p(obj_items_item, path_items_item);
2287
2459
  if (referencepath_items_itemValidationError !== null) {
2288
2460
  let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsItemRepresentation (at "' + path_items_item + '")\n';
2289
2461
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2308,68 +2480,68 @@ function validate$n(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2308
2480
  })();
2309
2481
  return v_error === undefined ? null : v_error;
2310
2482
  }
2311
- const RepresentationType$j = 'AnalyticsAssetsQueryResultsRepresentation';
2312
- function keyBuilder$G(luvio, config) {
2313
- return keyPrefix + '::' + RepresentationType$j + ':' + config.searchId;
2483
+ const RepresentationType$k = 'AnalyticsAssetsQueryResultsRepresentation';
2484
+ function keyBuilder$H(luvio, config) {
2485
+ return keyPrefix + '::' + RepresentationType$k + ':' + config.searchId;
2314
2486
  }
2315
- function keyBuilderFromType$a(luvio, object) {
2487
+ function keyBuilderFromType$b(luvio, object) {
2316
2488
  const keyParams = {
2317
2489
  searchId: object.queryKey
2318
2490
  };
2319
- return keyBuilder$G(luvio, keyParams);
2491
+ return keyBuilder$H(luvio, keyParams);
2320
2492
  }
2321
- function normalize$i(input, existing, path, luvio, store, timestamp) {
2493
+ function normalize$j(input, existing, path, luvio, store, timestamp) {
2322
2494
  return input;
2323
2495
  }
2324
- const select$I = function AnalyticsAssetsQueryResultsRepresentationSelect() {
2496
+ const select$K = function AnalyticsAssetsQueryResultsRepresentationSelect() {
2325
2497
  return {
2326
2498
  kind: 'Fragment',
2327
- version: VERSION$i,
2499
+ version: VERSION$j,
2328
2500
  private: [],
2329
2501
  opaque: true
2330
2502
  };
2331
2503
  };
2332
- function equals$i(existing, incoming) {
2504
+ function equals$j(existing, incoming) {
2333
2505
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2334
2506
  return false;
2335
2507
  }
2336
2508
  return true;
2337
2509
  }
2338
- const ingest$i = function AnalyticsAssetsQueryResultsRepresentationIngest(input, path, luvio, store, timestamp) {
2510
+ const ingest$j = function AnalyticsAssetsQueryResultsRepresentationIngest(input, path, luvio, store, timestamp) {
2339
2511
  if (process.env.NODE_ENV !== 'production') {
2340
- const validateError = validate$n(input);
2512
+ const validateError = validate$o(input);
2341
2513
  if (validateError !== null) {
2342
2514
  throw validateError;
2343
2515
  }
2344
2516
  }
2345
- const key = keyBuilderFromType$a(luvio, input);
2346
- const ttlToUse = TTL$8;
2347
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "UnifiedAnalytics", VERSION$i, RepresentationType$j, equals$i);
2517
+ const key = keyBuilderFromType$b(luvio, input);
2518
+ const ttlToUse = TTL$9;
2519
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "UnifiedAnalytics", VERSION$j, RepresentationType$k, equals$j);
2348
2520
  return createLink(key);
2349
2521
  };
2350
- function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
2522
+ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
2351
2523
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2352
- const rootKey = keyBuilderFromType$a(luvio, input);
2524
+ const rootKey = keyBuilderFromType$b(luvio, input);
2353
2525
  rootKeySet.set(rootKey, {
2354
2526
  namespace: keyPrefix,
2355
- representationName: RepresentationType$j,
2527
+ representationName: RepresentationType$k,
2356
2528
  mergeable: false
2357
2529
  });
2358
2530
  }
2359
2531
 
2360
- function select$H(luvio, params) {
2361
- return select$I();
2532
+ function select$J(luvio, params) {
2533
+ return select$K();
2362
2534
  }
2363
- function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
2364
- getTypeCacheKeys$i(storeKeyMap, luvio, response);
2535
+ function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
2536
+ getTypeCacheKeys$j(storeKeyMap, luvio, response);
2365
2537
  }
2366
- function ingestSuccess$p(luvio, resourceParams, response) {
2538
+ function ingestSuccess$q(luvio, resourceParams, response) {
2367
2539
  const { body } = response;
2368
- const key = keyBuilderFromType$a(luvio, body);
2369
- luvio.storeIngest(key, ingest$i, body);
2540
+ const key = keyBuilderFromType$b(luvio, body);
2541
+ luvio.storeIngest(key, ingest$j, body);
2370
2542
  const snapshot = luvio.storeLookup({
2371
2543
  recordId: key,
2372
- node: select$H(),
2544
+ node: select$J(),
2373
2545
  variables: {},
2374
2546
  });
2375
2547
  if (process.env.NODE_ENV !== 'production') {
@@ -2380,7 +2552,7 @@ function ingestSuccess$p(luvio, resourceParams, response) {
2380
2552
  deepFreeze(snapshot.data);
2381
2553
  return snapshot;
2382
2554
  }
2383
- function createResourceRequest$u(config) {
2555
+ function createResourceRequest$v(config) {
2384
2556
  const headers = {};
2385
2557
  return {
2386
2558
  baseUri: '/services/data/v62.0',
@@ -2394,7 +2566,7 @@ function createResourceRequest$u(config) {
2394
2566
  };
2395
2567
  }
2396
2568
 
2397
- const adapterName$u = 'queryAssets';
2569
+ const adapterName$v = 'queryAssets';
2398
2570
  const queryAssets_ConfigPropertyMetadata = [
2399
2571
  generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */),
2400
2572
  generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
@@ -2403,11 +2575,11 @@ const queryAssets_ConfigPropertyMetadata = [
2403
2575
  generateParamConfigMetadata('searchTerm', true, 2 /* Body */, 0 /* String */),
2404
2576
  generateParamConfigMetadata('sortDirection', false, 2 /* Body */, 0 /* String */),
2405
2577
  ];
2406
- const queryAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, queryAssets_ConfigPropertyMetadata);
2407
- const createResourceParams$u = /*#__PURE__*/ createResourceParams$y(queryAssets_ConfigPropertyMetadata);
2408
- function typeCheckConfig$u(untrustedConfig) {
2578
+ const queryAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, queryAssets_ConfigPropertyMetadata);
2579
+ const createResourceParams$v = /*#__PURE__*/ createResourceParams$A(queryAssets_ConfigPropertyMetadata);
2580
+ function typeCheckConfig$v(untrustedConfig) {
2409
2581
  const config = {};
2410
- typeCheckConfig$y(untrustedConfig, config, queryAssets_ConfigPropertyMetadata);
2582
+ typeCheckConfig$A(untrustedConfig, config, queryAssets_ConfigPropertyMetadata);
2411
2583
  const untrustedConfig_filters = untrustedConfig.filters;
2412
2584
  if (untrustedIsObject(untrustedConfig_filters)) {
2413
2585
  const untrustedConfig_filters_object = {};
@@ -2425,30 +2597,30 @@ function typeCheckConfig$u(untrustedConfig) {
2425
2597
  }
2426
2598
  return config;
2427
2599
  }
2428
- function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
2600
+ function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
2429
2601
  if (!untrustedIsObject(untrustedConfig)) {
2430
2602
  return null;
2431
2603
  }
2432
2604
  if (process.env.NODE_ENV !== 'production') {
2433
2605
  validateConfig(untrustedConfig, configPropertyNames);
2434
2606
  }
2435
- const config = typeCheckConfig$u(untrustedConfig);
2607
+ const config = typeCheckConfig$v(untrustedConfig);
2436
2608
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2437
2609
  return null;
2438
2610
  }
2439
2611
  return config;
2440
2612
  }
2441
- function buildNetworkSnapshot$u(luvio, config, options) {
2442
- const resourceParams = createResourceParams$u(config);
2443
- const request = createResourceRequest$u(resourceParams);
2613
+ function buildNetworkSnapshot$v(luvio, config, options) {
2614
+ const resourceParams = createResourceParams$v(config);
2615
+ const request = createResourceRequest$v(resourceParams);
2444
2616
  return luvio.dispatchResourceRequest(request, options)
2445
2617
  .then((response) => {
2446
2618
  return luvio.handleSuccessResponse(() => {
2447
- const snapshot = ingestSuccess$p(luvio, resourceParams, response);
2619
+ const snapshot = ingestSuccess$q(luvio, resourceParams, response);
2448
2620
  return luvio.storeBroadcast().then(() => snapshot);
2449
2621
  }, () => {
2450
2622
  const cache = new StoreKeyMap();
2451
- getResponseCacheKeys$u(cache, luvio, resourceParams, response.body);
2623
+ getResponseCacheKeys$v(cache, luvio, resourceParams, response.body);
2452
2624
  return cache;
2453
2625
  });
2454
2626
  }, (response) => {
@@ -2458,17 +2630,17 @@ function buildNetworkSnapshot$u(luvio, config, options) {
2458
2630
  }
2459
2631
  const queryAssetsAdapterFactory = (luvio) => {
2460
2632
  return function queryAssets(untrustedConfig) {
2461
- const config = validateAdapterConfig$u(untrustedConfig, queryAssets_ConfigPropertyNames);
2633
+ const config = validateAdapterConfig$v(untrustedConfig, queryAssets_ConfigPropertyNames);
2462
2634
  // Invalid or incomplete config
2463
2635
  if (config === null) {
2464
2636
  throw new Error('Invalid config for "queryAssets"');
2465
2637
  }
2466
- return buildNetworkSnapshot$u(luvio, config);
2638
+ return buildNetworkSnapshot$v(luvio, config);
2467
2639
  };
2468
2640
  };
2469
2641
 
2470
- const VERSION$h = "d4e4a9f9b260b72ce8e09fac1746cd21";
2471
- function validate$m(obj, path = 'DashboardRepresentation') {
2642
+ const VERSION$i = "d4e4a9f9b260b72ce8e09fac1746cd21";
2643
+ function validate$n(obj, path = 'DashboardRepresentation') {
2472
2644
  const v_error = (() => {
2473
2645
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2474
2646
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2581,57 +2753,57 @@ function validate$m(obj, path = 'DashboardRepresentation') {
2581
2753
  })();
2582
2754
  return v_error === undefined ? null : v_error;
2583
2755
  }
2584
- const RepresentationType$i = 'DashboardRepresentation';
2585
- function keyBuilder$F(luvio, config) {
2586
- return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
2756
+ const RepresentationType$j = 'DashboardRepresentation';
2757
+ function keyBuilder$G(luvio, config) {
2758
+ return keyPrefix + '::' + RepresentationType$j + ':' + config.name;
2587
2759
  }
2588
- function keyBuilderFromType$9(luvio, object) {
2760
+ function keyBuilderFromType$a(luvio, object) {
2589
2761
  const keyParams = {
2590
2762
  name: object.cacheableKey
2591
2763
  };
2592
- return keyBuilder$F(luvio, keyParams);
2764
+ return keyBuilder$G(luvio, keyParams);
2593
2765
  }
2594
- function normalize$h(input, existing, path, luvio, store, timestamp) {
2766
+ function normalize$i(input, existing, path, luvio, store, timestamp) {
2595
2767
  return input;
2596
2768
  }
2597
- const select$G = function DashboardRepresentationSelect() {
2769
+ const select$I = function DashboardRepresentationSelect() {
2598
2770
  return {
2599
2771
  kind: 'Fragment',
2600
- version: VERSION$h,
2772
+ version: VERSION$i,
2601
2773
  private: [],
2602
2774
  opaque: true
2603
2775
  };
2604
2776
  };
2605
- function equals$h(existing, incoming) {
2777
+ function equals$i(existing, incoming) {
2606
2778
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2607
2779
  return false;
2608
2780
  }
2609
2781
  return true;
2610
2782
  }
2611
- const ingest$h = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
2783
+ const ingest$i = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
2612
2784
  if (process.env.NODE_ENV !== 'production') {
2613
- const validateError = validate$m(input);
2785
+ const validateError = validate$n(input);
2614
2786
  if (validateError !== null) {
2615
2787
  throw validateError;
2616
2788
  }
2617
2789
  }
2618
- const key = keyBuilderFromType$9(luvio, input);
2790
+ const key = keyBuilderFromType$a(luvio, input);
2619
2791
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2620
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "UnifiedAnalytics", VERSION$h, RepresentationType$i, equals$h);
2792
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "UnifiedAnalytics", VERSION$i, RepresentationType$j, equals$i);
2621
2793
  return createLink(key);
2622
2794
  };
2623
- function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
2795
+ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
2624
2796
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2625
- const rootKey = keyBuilderFromType$9(luvio, input);
2797
+ const rootKey = keyBuilderFromType$a(luvio, input);
2626
2798
  rootKeySet.set(rootKey, {
2627
2799
  namespace: keyPrefix,
2628
- representationName: RepresentationType$i,
2800
+ representationName: RepresentationType$j,
2629
2801
  mergeable: false
2630
2802
  });
2631
2803
  }
2632
2804
 
2633
- const VERSION$g = "962823130e6a9315240ef0e0f0c5f757";
2634
- function validate$l(obj, path = 'DashboardCollectionRepresentation') {
2805
+ const VERSION$h = "962823130e6a9315240ef0e0f0c5f757";
2806
+ function validate$m(obj, path = 'DashboardCollectionRepresentation') {
2635
2807
  const v_error = (() => {
2636
2808
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2637
2809
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2651,14 +2823,14 @@ function validate$l(obj, path = 'DashboardCollectionRepresentation') {
2651
2823
  })();
2652
2824
  return v_error === undefined ? null : v_error;
2653
2825
  }
2654
- const RepresentationType$h = 'DashboardCollectionRepresentation';
2655
- function normalize$g(input, existing, path, luvio, store, timestamp) {
2826
+ const RepresentationType$i = 'DashboardCollectionRepresentation';
2827
+ function normalize$h(input, existing, path, luvio, store, timestamp) {
2656
2828
  const input_dashboards = input.dashboards;
2657
2829
  const input_dashboards_id = path.fullPath + '__dashboards';
2658
2830
  for (let i = 0; i < input_dashboards.length; i++) {
2659
2831
  const input_dashboards_item = input_dashboards[i];
2660
2832
  let input_dashboards_item_id = input_dashboards_id + '__' + i;
2661
- input_dashboards[i] = ingest$h(input_dashboards_item, {
2833
+ input_dashboards[i] = ingest$i(input_dashboards_item, {
2662
2834
  fullPath: input_dashboards_item_id,
2663
2835
  propertyName: i,
2664
2836
  parent: {
@@ -2671,22 +2843,22 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
2671
2843
  }
2672
2844
  return input;
2673
2845
  }
2674
- const select$F = function DashboardCollectionRepresentationSelect() {
2846
+ const select$H = function DashboardCollectionRepresentationSelect() {
2675
2847
  return {
2676
2848
  kind: 'Fragment',
2677
- version: VERSION$g,
2849
+ version: VERSION$h,
2678
2850
  private: [],
2679
2851
  selections: [
2680
2852
  {
2681
2853
  name: 'dashboards',
2682
2854
  kind: 'Link',
2683
2855
  plural: true,
2684
- fragment: select$G()
2856
+ fragment: select$I()
2685
2857
  }
2686
2858
  ]
2687
2859
  };
2688
2860
  };
2689
- function equals$g(existing, incoming) {
2861
+ function equals$h(existing, incoming) {
2690
2862
  const existing_dashboards = existing.dashboards;
2691
2863
  const incoming_dashboards = incoming.dashboards;
2692
2864
  const equals_dashboards_items = equalsArray(existing_dashboards, incoming_dashboards, (existing_dashboards_item, incoming_dashboards_item) => {
@@ -2699,48 +2871,48 @@ function equals$g(existing, incoming) {
2699
2871
  }
2700
2872
  return true;
2701
2873
  }
2702
- const ingest$g = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2874
+ const ingest$h = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2703
2875
  if (process.env.NODE_ENV !== 'production') {
2704
- const validateError = validate$l(input);
2876
+ const validateError = validate$m(input);
2705
2877
  if (validateError !== null) {
2706
2878
  throw validateError;
2707
2879
  }
2708
2880
  }
2709
2881
  const key = path.fullPath;
2710
2882
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2711
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "UnifiedAnalytics", VERSION$g, RepresentationType$h, equals$g);
2883
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "UnifiedAnalytics", VERSION$h, RepresentationType$i, equals$h);
2712
2884
  return createLink(key);
2713
2885
  };
2714
- function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
2886
+ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
2715
2887
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2716
2888
  const rootKey = fullPathFactory();
2717
2889
  rootKeySet.set(rootKey, {
2718
2890
  namespace: keyPrefix,
2719
- representationName: RepresentationType$h,
2891
+ representationName: RepresentationType$i,
2720
2892
  mergeable: false
2721
2893
  });
2722
2894
  const input_dashboards_length = input.dashboards.length;
2723
2895
  for (let i = 0; i < input_dashboards_length; i++) {
2724
- getTypeCacheKeys$h(rootKeySet, luvio, input.dashboards[i]);
2896
+ getTypeCacheKeys$i(rootKeySet, luvio, input.dashboards[i]);
2725
2897
  }
2726
2898
  }
2727
2899
 
2728
- function select$E(luvio, params) {
2729
- return select$F();
2900
+ function select$G(luvio, params) {
2901
+ return select$H();
2730
2902
  }
2731
- function keyBuilder$E(luvio, params) {
2903
+ function keyBuilder$F(luvio, params) {
2732
2904
  return keyPrefix + '::DashboardCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ')';
2733
2905
  }
2734
- function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
2735
- getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$E(luvio, resourceParams));
2906
+ function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
2907
+ getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$F(luvio, resourceParams));
2736
2908
  }
2737
- function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
2909
+ function ingestSuccess$p(luvio, resourceParams, response, snapshotRefresh) {
2738
2910
  const { body } = response;
2739
- const key = keyBuilder$E(luvio, resourceParams);
2740
- luvio.storeIngest(key, ingest$g, body);
2911
+ const key = keyBuilder$F(luvio, resourceParams);
2912
+ luvio.storeIngest(key, ingest$h, body);
2741
2913
  const snapshot = luvio.storeLookup({
2742
2914
  recordId: key,
2743
- node: select$E(),
2915
+ node: select$G(),
2744
2916
  variables: {},
2745
2917
  }, snapshotRefresh);
2746
2918
  if (process.env.NODE_ENV !== 'production') {
@@ -2752,12 +2924,12 @@ function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
2752
2924
  return snapshot;
2753
2925
  }
2754
2926
  function ingestError$c(luvio, params, error, snapshotRefresh) {
2755
- const key = keyBuilder$E(luvio, params);
2927
+ const key = keyBuilder$F(luvio, params);
2756
2928
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2757
2929
  luvio.storeIngestError(key, errorSnapshot);
2758
2930
  return errorSnapshot;
2759
2931
  }
2760
- function createResourceRequest$t(config) {
2932
+ function createResourceRequest$u(config) {
2761
2933
  const headers = {};
2762
2934
  return {
2763
2935
  baseUri: '/services/data/v62.0',
@@ -2771,61 +2943,61 @@ function createResourceRequest$t(config) {
2771
2943
  };
2772
2944
  }
2773
2945
 
2774
- const adapterName$t = 'getDashboards';
2946
+ const adapterName$u = 'getDashboards';
2775
2947
  const getDashboards_ConfigPropertyMetadata = [
2776
2948
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
2777
2949
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
2778
2950
  ];
2779
- const getDashboards_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getDashboards_ConfigPropertyMetadata);
2780
- const createResourceParams$t = /*#__PURE__*/ createResourceParams$y(getDashboards_ConfigPropertyMetadata);
2781
- function keyBuilder$D(luvio, config) {
2782
- const resourceParams = createResourceParams$t(config);
2783
- return keyBuilder$E(luvio, resourceParams);
2951
+ const getDashboards_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getDashboards_ConfigPropertyMetadata);
2952
+ const createResourceParams$u = /*#__PURE__*/ createResourceParams$A(getDashboards_ConfigPropertyMetadata);
2953
+ function keyBuilder$E(luvio, config) {
2954
+ const resourceParams = createResourceParams$u(config);
2955
+ return keyBuilder$F(luvio, resourceParams);
2784
2956
  }
2785
- function typeCheckConfig$t(untrustedConfig) {
2957
+ function typeCheckConfig$u(untrustedConfig) {
2786
2958
  const config = {};
2787
- typeCheckConfig$y(untrustedConfig, config, getDashboards_ConfigPropertyMetadata);
2959
+ typeCheckConfig$A(untrustedConfig, config, getDashboards_ConfigPropertyMetadata);
2788
2960
  return config;
2789
2961
  }
2790
- function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
2962
+ function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
2791
2963
  if (!untrustedIsObject(untrustedConfig)) {
2792
2964
  return null;
2793
2965
  }
2794
2966
  if (process.env.NODE_ENV !== 'production') {
2795
2967
  validateConfig(untrustedConfig, configPropertyNames);
2796
2968
  }
2797
- const config = typeCheckConfig$t(untrustedConfig);
2969
+ const config = typeCheckConfig$u(untrustedConfig);
2798
2970
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2799
2971
  return null;
2800
2972
  }
2801
2973
  return config;
2802
2974
  }
2803
2975
  function adapterFragment$c(luvio, config) {
2804
- createResourceParams$t(config);
2805
- return select$E();
2976
+ createResourceParams$u(config);
2977
+ return select$G();
2806
2978
  }
2807
2979
  function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
2808
- const snapshot = ingestSuccess$o(luvio, resourceParams, response, {
2980
+ const snapshot = ingestSuccess$p(luvio, resourceParams, response, {
2809
2981
  config,
2810
- resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
2982
+ resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
2811
2983
  });
2812
2984
  return luvio.storeBroadcast().then(() => snapshot);
2813
2985
  }
2814
2986
  function onFetchResponseError$c(luvio, config, resourceParams, response) {
2815
2987
  const snapshot = ingestError$c(luvio, resourceParams, response, {
2816
2988
  config,
2817
- resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
2989
+ resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
2818
2990
  });
2819
2991
  return luvio.storeBroadcast().then(() => snapshot);
2820
2992
  }
2821
- function buildNetworkSnapshot$t(luvio, config, options) {
2822
- const resourceParams = createResourceParams$t(config);
2823
- const request = createResourceRequest$t(resourceParams);
2993
+ function buildNetworkSnapshot$u(luvio, config, options) {
2994
+ const resourceParams = createResourceParams$u(config);
2995
+ const request = createResourceRequest$u(resourceParams);
2824
2996
  return luvio.dispatchResourceRequest(request, options)
2825
2997
  .then((response) => {
2826
2998
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
2827
2999
  const cache = new StoreKeyMap();
2828
- getResponseCacheKeys$t(cache, luvio, resourceParams, response.body);
3000
+ getResponseCacheKeys$u(cache, luvio, resourceParams, response.body);
2829
3001
  return cache;
2830
3002
  });
2831
3003
  }, (response) => {
@@ -2833,23 +3005,23 @@ function buildNetworkSnapshot$t(luvio, config, options) {
2833
3005
  });
2834
3006
  }
2835
3007
  function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
2836
- return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
3008
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
2837
3009
  }
2838
3010
  function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
2839
3011
  const { luvio, config } = context;
2840
3012
  const selector = {
2841
- recordId: keyBuilder$D(luvio, config),
3013
+ recordId: keyBuilder$E(luvio, config),
2842
3014
  node: adapterFragment$c(luvio, config),
2843
3015
  variables: {},
2844
3016
  };
2845
3017
  const cacheSnapshot = storeLookup(selector, {
2846
3018
  config,
2847
- resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
3019
+ resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
2848
3020
  });
2849
3021
  return cacheSnapshot;
2850
3022
  }
2851
3023
  const getDashboardsAdapterFactory = (luvio) => function UnifiedAnalytics__getDashboards(untrustedConfig, requestContext) {
2852
- const config = validateAdapterConfig$t(untrustedConfig, getDashboards_ConfigPropertyNames);
3024
+ const config = validateAdapterConfig$u(untrustedConfig, getDashboards_ConfigPropertyNames);
2853
3025
  // Invalid or incomplete config
2854
3026
  if (config === null) {
2855
3027
  return null;
@@ -2858,19 +3030,19 @@ const getDashboardsAdapterFactory = (luvio) => function UnifiedAnalytics__getDas
2858
3030
  buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
2859
3031
  };
2860
3032
 
2861
- function select$D(luvio, params) {
2862
- return select$G();
3033
+ function select$F(luvio, params) {
3034
+ return select$I();
2863
3035
  }
2864
- function getResponseCacheKeys$s(storeKeyMap, luvio, resourceParams, response) {
2865
- getTypeCacheKeys$h(storeKeyMap, luvio, response);
3036
+ function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
3037
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
2866
3038
  }
2867
- function ingestSuccess$n(luvio, resourceParams, response) {
3039
+ function ingestSuccess$o(luvio, resourceParams, response) {
2868
3040
  const { body } = response;
2869
- const key = keyBuilderFromType$9(luvio, body);
2870
- luvio.storeIngest(key, ingest$h, body);
3041
+ const key = keyBuilderFromType$a(luvio, body);
3042
+ luvio.storeIngest(key, ingest$i, body);
2871
3043
  const snapshot = luvio.storeLookup({
2872
3044
  recordId: key,
2873
- node: select$D(),
3045
+ node: select$F(),
2874
3046
  variables: {},
2875
3047
  });
2876
3048
  if (process.env.NODE_ENV !== 'production') {
@@ -2881,7 +3053,7 @@ function ingestSuccess$n(luvio, resourceParams, response) {
2881
3053
  deepFreeze(snapshot.data);
2882
3054
  return snapshot;
2883
3055
  }
2884
- function createResourceRequest$s(config) {
3056
+ function createResourceRequest$t(config) {
2885
3057
  const headers = {};
2886
3058
  return {
2887
3059
  baseUri: '/services/data/v62.0',
@@ -2895,7 +3067,7 @@ function createResourceRequest$s(config) {
2895
3067
  };
2896
3068
  }
2897
3069
 
2898
- const adapterName$s = 'createDashboard';
3070
+ const adapterName$t = 'createDashboard';
2899
3071
  const createDashboard_ConfigPropertyMetadata = [
2900
3072
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
2901
3073
  generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
@@ -2906,11 +3078,11 @@ const createDashboard_ConfigPropertyMetadata = [
2906
3078
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
2907
3079
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
2908
3080
  ];
2909
- const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, createDashboard_ConfigPropertyMetadata);
2910
- const createResourceParams$s = /*#__PURE__*/ createResourceParams$y(createDashboard_ConfigPropertyMetadata);
2911
- function typeCheckConfig$s(untrustedConfig) {
3081
+ const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, createDashboard_ConfigPropertyMetadata);
3082
+ const createResourceParams$t = /*#__PURE__*/ createResourceParams$A(createDashboard_ConfigPropertyMetadata);
3083
+ function typeCheckConfig$t(untrustedConfig) {
2912
3084
  const config = {};
2913
- typeCheckConfig$y(untrustedConfig, config, createDashboard_ConfigPropertyMetadata);
3085
+ typeCheckConfig$A(untrustedConfig, config, createDashboard_ConfigPropertyMetadata);
2914
3086
  const untrustedConfig_layouts = untrustedConfig.layouts;
2915
3087
  if (ArrayIsArray$1(untrustedConfig_layouts)) {
2916
3088
  const untrustedConfig_layouts_array = [];
@@ -2952,30 +3124,30 @@ function typeCheckConfig$s(untrustedConfig) {
2952
3124
  }
2953
3125
  return config;
2954
3126
  }
2955
- function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
3127
+ function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
2956
3128
  if (!untrustedIsObject(untrustedConfig)) {
2957
3129
  return null;
2958
3130
  }
2959
3131
  if (process.env.NODE_ENV !== 'production') {
2960
3132
  validateConfig(untrustedConfig, configPropertyNames);
2961
3133
  }
2962
- const config = typeCheckConfig$s(untrustedConfig);
3134
+ const config = typeCheckConfig$t(untrustedConfig);
2963
3135
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2964
3136
  return null;
2965
3137
  }
2966
3138
  return config;
2967
3139
  }
2968
- function buildNetworkSnapshot$s(luvio, config, options) {
2969
- const resourceParams = createResourceParams$s(config);
2970
- const request = createResourceRequest$s(resourceParams);
3140
+ function buildNetworkSnapshot$t(luvio, config, options) {
3141
+ const resourceParams = createResourceParams$t(config);
3142
+ const request = createResourceRequest$t(resourceParams);
2971
3143
  return luvio.dispatchResourceRequest(request, options)
2972
3144
  .then((response) => {
2973
3145
  return luvio.handleSuccessResponse(() => {
2974
- const snapshot = ingestSuccess$n(luvio, resourceParams, response);
3146
+ const snapshot = ingestSuccess$o(luvio, resourceParams, response);
2975
3147
  return luvio.storeBroadcast().then(() => snapshot);
2976
3148
  }, () => {
2977
3149
  const cache = new StoreKeyMap();
2978
- getResponseCacheKeys$s(cache, luvio, resourceParams, response.body);
3150
+ getResponseCacheKeys$t(cache, luvio, resourceParams, response.body);
2979
3151
  return cache;
2980
3152
  });
2981
3153
  }, (response) => {
@@ -2985,33 +3157,33 @@ function buildNetworkSnapshot$s(luvio, config, options) {
2985
3157
  }
2986
3158
  const createDashboardAdapterFactory = (luvio) => {
2987
3159
  return function createDashboard(untrustedConfig) {
2988
- const config = validateAdapterConfig$s(untrustedConfig, createDashboard_ConfigPropertyNames);
3160
+ const config = validateAdapterConfig$t(untrustedConfig, createDashboard_ConfigPropertyNames);
2989
3161
  // Invalid or incomplete config
2990
3162
  if (config === null) {
2991
3163
  throw new Error('Invalid config for "createDashboard"');
2992
3164
  }
2993
- return buildNetworkSnapshot$s(luvio, config);
3165
+ return buildNetworkSnapshot$t(luvio, config);
2994
3166
  };
2995
3167
  };
2996
3168
 
2997
- function keyBuilder$C(luvio, params) {
2998
- return keyBuilder$F(luvio, {
3169
+ function keyBuilder$D(luvio, params) {
3170
+ return keyBuilder$G(luvio, {
2999
3171
  name: params.urlParams.dashboardIdOrApiName
3000
3172
  });
3001
3173
  }
3002
- function getResponseCacheKeys$r(cacheKeyMap, luvio, resourceParams) {
3003
- const key = keyBuilder$C(luvio, resourceParams);
3174
+ function getResponseCacheKeys$s(cacheKeyMap, luvio, resourceParams) {
3175
+ const key = keyBuilder$D(luvio, resourceParams);
3004
3176
  cacheKeyMap.set(key, {
3005
3177
  namespace: keyPrefix,
3006
- representationName: RepresentationType$i,
3178
+ representationName: RepresentationType$j,
3007
3179
  mergeable: false
3008
3180
  });
3009
3181
  }
3010
3182
  function evictSuccess$4(luvio, resourceParams) {
3011
- const key = keyBuilder$C(luvio, resourceParams);
3183
+ const key = keyBuilder$D(luvio, resourceParams);
3012
3184
  luvio.storeEvict(key);
3013
3185
  }
3014
- function createResourceRequest$r(config) {
3186
+ function createResourceRequest$s(config) {
3015
3187
  const headers = {};
3016
3188
  return {
3017
3189
  baseUri: '/services/data/v62.0',
@@ -3025,33 +3197,33 @@ function createResourceRequest$r(config) {
3025
3197
  };
3026
3198
  }
3027
3199
 
3028
- const adapterName$r = 'deleteDashboard';
3200
+ const adapterName$s = 'deleteDashboard';
3029
3201
  const deleteDashboard_ConfigPropertyMetadata = [
3030
3202
  generateParamConfigMetadata('dashboardIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3031
3203
  ];
3032
- const deleteDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, deleteDashboard_ConfigPropertyMetadata);
3033
- const createResourceParams$r = /*#__PURE__*/ createResourceParams$y(deleteDashboard_ConfigPropertyMetadata);
3034
- function typeCheckConfig$r(untrustedConfig) {
3204
+ const deleteDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, deleteDashboard_ConfigPropertyMetadata);
3205
+ const createResourceParams$s = /*#__PURE__*/ createResourceParams$A(deleteDashboard_ConfigPropertyMetadata);
3206
+ function typeCheckConfig$s(untrustedConfig) {
3035
3207
  const config = {};
3036
- typeCheckConfig$y(untrustedConfig, config, deleteDashboard_ConfigPropertyMetadata);
3208
+ typeCheckConfig$A(untrustedConfig, config, deleteDashboard_ConfigPropertyMetadata);
3037
3209
  return config;
3038
3210
  }
3039
- function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
3211
+ function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
3040
3212
  if (!untrustedIsObject(untrustedConfig)) {
3041
3213
  return null;
3042
3214
  }
3043
3215
  if (process.env.NODE_ENV !== 'production') {
3044
3216
  validateConfig(untrustedConfig, configPropertyNames);
3045
3217
  }
3046
- const config = typeCheckConfig$r(untrustedConfig);
3218
+ const config = typeCheckConfig$s(untrustedConfig);
3047
3219
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3048
3220
  return null;
3049
3221
  }
3050
3222
  return config;
3051
3223
  }
3052
- function buildNetworkSnapshot$r(luvio, config, options) {
3053
- const resourceParams = createResourceParams$r(config);
3054
- const request = createResourceRequest$r(resourceParams);
3224
+ function buildNetworkSnapshot$s(luvio, config, options) {
3225
+ const resourceParams = createResourceParams$s(config);
3226
+ const request = createResourceRequest$s(resourceParams);
3055
3227
  return luvio.dispatchResourceRequest(request, options)
3056
3228
  .then(() => {
3057
3229
  return luvio.handleSuccessResponse(() => {
@@ -3059,7 +3231,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
3059
3231
  return luvio.storeBroadcast();
3060
3232
  }, () => {
3061
3233
  const cache = new StoreKeyMap();
3062
- getResponseCacheKeys$r(cache, luvio, resourceParams);
3234
+ getResponseCacheKeys$s(cache, luvio, resourceParams);
3063
3235
  return cache;
3064
3236
  });
3065
3237
  }, (response) => {
@@ -3069,33 +3241,33 @@ function buildNetworkSnapshot$r(luvio, config, options) {
3069
3241
  }
3070
3242
  const deleteDashboardAdapterFactory = (luvio) => {
3071
3243
  return function UnifiedAnalyticsdeleteDashboard(untrustedConfig) {
3072
- const config = validateAdapterConfig$r(untrustedConfig, deleteDashboard_ConfigPropertyNames);
3244
+ const config = validateAdapterConfig$s(untrustedConfig, deleteDashboard_ConfigPropertyNames);
3073
3245
  // Invalid or incomplete config
3074
3246
  if (config === null) {
3075
- throw new Error(`Invalid config for "${adapterName$r}"`);
3247
+ throw new Error(`Invalid config for "${adapterName$s}"`);
3076
3248
  }
3077
- return buildNetworkSnapshot$r(luvio, config);
3249
+ return buildNetworkSnapshot$s(luvio, config);
3078
3250
  };
3079
3251
  };
3080
3252
 
3081
- function select$C(luvio, params) {
3082
- return select$G();
3253
+ function select$E(luvio, params) {
3254
+ return select$I();
3083
3255
  }
3084
- function keyBuilder$B(luvio, params) {
3085
- return keyBuilder$F(luvio, {
3256
+ function keyBuilder$C(luvio, params) {
3257
+ return keyBuilder$G(luvio, {
3086
3258
  name: params.urlParams.dashboardIdOrApiName
3087
3259
  });
3088
3260
  }
3089
- function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
3090
- getTypeCacheKeys$h(storeKeyMap, luvio, response);
3261
+ function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
3262
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
3091
3263
  }
3092
- function ingestSuccess$m(luvio, resourceParams, response, snapshotRefresh) {
3264
+ function ingestSuccess$n(luvio, resourceParams, response, snapshotRefresh) {
3093
3265
  const { body } = response;
3094
- const key = keyBuilder$B(luvio, resourceParams);
3095
- luvio.storeIngest(key, ingest$h, body);
3266
+ const key = keyBuilder$C(luvio, resourceParams);
3267
+ luvio.storeIngest(key, ingest$i, body);
3096
3268
  const snapshot = luvio.storeLookup({
3097
3269
  recordId: key,
3098
- node: select$C(),
3270
+ node: select$E(),
3099
3271
  variables: {},
3100
3272
  }, snapshotRefresh);
3101
3273
  if (process.env.NODE_ENV !== 'production') {
@@ -3107,12 +3279,12 @@ function ingestSuccess$m(luvio, resourceParams, response, snapshotRefresh) {
3107
3279
  return snapshot;
3108
3280
  }
3109
3281
  function ingestError$b(luvio, params, error, snapshotRefresh) {
3110
- const key = keyBuilder$B(luvio, params);
3282
+ const key = keyBuilder$C(luvio, params);
3111
3283
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3112
3284
  luvio.storeIngestError(key, errorSnapshot);
3113
3285
  return errorSnapshot;
3114
3286
  }
3115
- function createResourceRequest$q(config) {
3287
+ function createResourceRequest$r(config) {
3116
3288
  const headers = {};
3117
3289
  return {
3118
3290
  baseUri: '/services/data/v62.0',
@@ -3126,60 +3298,60 @@ function createResourceRequest$q(config) {
3126
3298
  };
3127
3299
  }
3128
3300
 
3129
- const adapterName$q = 'getDashboardByName';
3301
+ const adapterName$r = 'getDashboardByName';
3130
3302
  const getDashboardByName_ConfigPropertyMetadata = [
3131
3303
  generateParamConfigMetadata('dashboardIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3132
3304
  ];
3133
- const getDashboardByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getDashboardByName_ConfigPropertyMetadata);
3134
- const createResourceParams$q = /*#__PURE__*/ createResourceParams$y(getDashboardByName_ConfigPropertyMetadata);
3135
- function keyBuilder$A(luvio, config) {
3136
- const resourceParams = createResourceParams$q(config);
3137
- return keyBuilder$B(luvio, resourceParams);
3305
+ const getDashboardByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, getDashboardByName_ConfigPropertyMetadata);
3306
+ const createResourceParams$r = /*#__PURE__*/ createResourceParams$A(getDashboardByName_ConfigPropertyMetadata);
3307
+ function keyBuilder$B(luvio, config) {
3308
+ const resourceParams = createResourceParams$r(config);
3309
+ return keyBuilder$C(luvio, resourceParams);
3138
3310
  }
3139
- function typeCheckConfig$q(untrustedConfig) {
3311
+ function typeCheckConfig$r(untrustedConfig) {
3140
3312
  const config = {};
3141
- typeCheckConfig$y(untrustedConfig, config, getDashboardByName_ConfigPropertyMetadata);
3313
+ typeCheckConfig$A(untrustedConfig, config, getDashboardByName_ConfigPropertyMetadata);
3142
3314
  return config;
3143
3315
  }
3144
- function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
3316
+ function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
3145
3317
  if (!untrustedIsObject(untrustedConfig)) {
3146
3318
  return null;
3147
3319
  }
3148
3320
  if (process.env.NODE_ENV !== 'production') {
3149
3321
  validateConfig(untrustedConfig, configPropertyNames);
3150
3322
  }
3151
- const config = typeCheckConfig$q(untrustedConfig);
3323
+ const config = typeCheckConfig$r(untrustedConfig);
3152
3324
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3153
3325
  return null;
3154
3326
  }
3155
3327
  return config;
3156
3328
  }
3157
3329
  function adapterFragment$b(luvio, config) {
3158
- createResourceParams$q(config);
3159
- return select$C();
3330
+ createResourceParams$r(config);
3331
+ return select$E();
3160
3332
  }
3161
3333
  function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
3162
- const snapshot = ingestSuccess$m(luvio, resourceParams, response, {
3334
+ const snapshot = ingestSuccess$n(luvio, resourceParams, response, {
3163
3335
  config,
3164
- resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
3336
+ resolve: () => buildNetworkSnapshot$r(luvio, config, snapshotRefreshOptions)
3165
3337
  });
3166
3338
  return luvio.storeBroadcast().then(() => snapshot);
3167
3339
  }
3168
3340
  function onFetchResponseError$b(luvio, config, resourceParams, response) {
3169
3341
  const snapshot = ingestError$b(luvio, resourceParams, response, {
3170
3342
  config,
3171
- resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
3343
+ resolve: () => buildNetworkSnapshot$r(luvio, config, snapshotRefreshOptions)
3172
3344
  });
3173
3345
  return luvio.storeBroadcast().then(() => snapshot);
3174
3346
  }
3175
- function buildNetworkSnapshot$q(luvio, config, options) {
3176
- const resourceParams = createResourceParams$q(config);
3177
- const request = createResourceRequest$q(resourceParams);
3347
+ function buildNetworkSnapshot$r(luvio, config, options) {
3348
+ const resourceParams = createResourceParams$r(config);
3349
+ const request = createResourceRequest$r(resourceParams);
3178
3350
  return luvio.dispatchResourceRequest(request, options)
3179
3351
  .then((response) => {
3180
3352
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
3181
3353
  const cache = new StoreKeyMap();
3182
- getResponseCacheKeys$q(cache, luvio, resourceParams, response.body);
3354
+ getResponseCacheKeys$r(cache, luvio, resourceParams, response.body);
3183
3355
  return cache;
3184
3356
  });
3185
3357
  }, (response) => {
@@ -3187,23 +3359,23 @@ function buildNetworkSnapshot$q(luvio, config, options) {
3187
3359
  });
3188
3360
  }
3189
3361
  function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
3190
- return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$q, undefined, false);
3362
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$r, undefined, false);
3191
3363
  }
3192
3364
  function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
3193
3365
  const { luvio, config } = context;
3194
3366
  const selector = {
3195
- recordId: keyBuilder$A(luvio, config),
3367
+ recordId: keyBuilder$B(luvio, config),
3196
3368
  node: adapterFragment$b(luvio, config),
3197
3369
  variables: {},
3198
3370
  };
3199
3371
  const cacheSnapshot = storeLookup(selector, {
3200
3372
  config,
3201
- resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
3373
+ resolve: () => buildNetworkSnapshot$r(luvio, config, snapshotRefreshOptions)
3202
3374
  });
3203
3375
  return cacheSnapshot;
3204
3376
  }
3205
3377
  const getDashboardByNameAdapterFactory = (luvio) => function UnifiedAnalytics__getDashboardByName(untrustedConfig, requestContext) {
3206
- const config = validateAdapterConfig$q(untrustedConfig, getDashboardByName_ConfigPropertyNames);
3378
+ const config = validateAdapterConfig$r(untrustedConfig, getDashboardByName_ConfigPropertyNames);
3207
3379
  // Invalid or incomplete config
3208
3380
  if (config === null) {
3209
3381
  return null;
@@ -3212,19 +3384,19 @@ const getDashboardByNameAdapterFactory = (luvio) => function UnifiedAnalytics__g
3212
3384
  buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
3213
3385
  };
3214
3386
 
3215
- function select$B(luvio, params) {
3216
- return select$G();
3387
+ function select$D(luvio, params) {
3388
+ return select$I();
3217
3389
  }
3218
- function getResponseCacheKeys$p(storeKeyMap, luvio, resourceParams, response) {
3219
- getTypeCacheKeys$h(storeKeyMap, luvio, response);
3390
+ function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
3391
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
3220
3392
  }
3221
- function ingestSuccess$l(luvio, resourceParams, response) {
3393
+ function ingestSuccess$m(luvio, resourceParams, response) {
3222
3394
  const { body } = response;
3223
- const key = keyBuilderFromType$9(luvio, body);
3224
- luvio.storeIngest(key, ingest$h, body);
3395
+ const key = keyBuilderFromType$a(luvio, body);
3396
+ luvio.storeIngest(key, ingest$i, body);
3225
3397
  const snapshot = luvio.storeLookup({
3226
3398
  recordId: key,
3227
- node: select$B(),
3399
+ node: select$D(),
3228
3400
  variables: {},
3229
3401
  });
3230
3402
  if (process.env.NODE_ENV !== 'production') {
@@ -3235,7 +3407,7 @@ function ingestSuccess$l(luvio, resourceParams, response) {
3235
3407
  deepFreeze(snapshot.data);
3236
3408
  return snapshot;
3237
3409
  }
3238
- function createResourceRequest$p(config) {
3410
+ function createResourceRequest$q(config) {
3239
3411
  const headers = {};
3240
3412
  return {
3241
3413
  baseUri: '/services/data/v62.0',
@@ -3249,7 +3421,7 @@ function createResourceRequest$p(config) {
3249
3421
  };
3250
3422
  }
3251
3423
 
3252
- const adapterName$p = 'updateDashboard';
3424
+ const adapterName$q = 'updateDashboard';
3253
3425
  const updateDashboard_ConfigPropertyMetadata = [
3254
3426
  generateParamConfigMetadata('dashboardIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3255
3427
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
@@ -3261,11 +3433,11 @@ const updateDashboard_ConfigPropertyMetadata = [
3261
3433
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3262
3434
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3263
3435
  ];
3264
- const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, updateDashboard_ConfigPropertyMetadata);
3265
- const createResourceParams$p = /*#__PURE__*/ createResourceParams$y(updateDashboard_ConfigPropertyMetadata);
3266
- function typeCheckConfig$p(untrustedConfig) {
3436
+ const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, updateDashboard_ConfigPropertyMetadata);
3437
+ const createResourceParams$q = /*#__PURE__*/ createResourceParams$A(updateDashboard_ConfigPropertyMetadata);
3438
+ function typeCheckConfig$q(untrustedConfig) {
3267
3439
  const config = {};
3268
- typeCheckConfig$y(untrustedConfig, config, updateDashboard_ConfigPropertyMetadata);
3440
+ typeCheckConfig$A(untrustedConfig, config, updateDashboard_ConfigPropertyMetadata);
3269
3441
  const untrustedConfig_layouts = untrustedConfig.layouts;
3270
3442
  if (ArrayIsArray$1(untrustedConfig_layouts)) {
3271
3443
  const untrustedConfig_layouts_array = [];
@@ -3307,30 +3479,30 @@ function typeCheckConfig$p(untrustedConfig) {
3307
3479
  }
3308
3480
  return config;
3309
3481
  }
3310
- function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
3482
+ function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
3311
3483
  if (!untrustedIsObject(untrustedConfig)) {
3312
3484
  return null;
3313
3485
  }
3314
3486
  if (process.env.NODE_ENV !== 'production') {
3315
3487
  validateConfig(untrustedConfig, configPropertyNames);
3316
3488
  }
3317
- const config = typeCheckConfig$p(untrustedConfig);
3489
+ const config = typeCheckConfig$q(untrustedConfig);
3318
3490
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3319
3491
  return null;
3320
3492
  }
3321
3493
  return config;
3322
3494
  }
3323
- function buildNetworkSnapshot$p(luvio, config, options) {
3324
- const resourceParams = createResourceParams$p(config);
3325
- const request = createResourceRequest$p(resourceParams);
3495
+ function buildNetworkSnapshot$q(luvio, config, options) {
3496
+ const resourceParams = createResourceParams$q(config);
3497
+ const request = createResourceRequest$q(resourceParams);
3326
3498
  return luvio.dispatchResourceRequest(request, options)
3327
3499
  .then((response) => {
3328
3500
  return luvio.handleSuccessResponse(() => {
3329
- const snapshot = ingestSuccess$l(luvio, resourceParams, response);
3501
+ const snapshot = ingestSuccess$m(luvio, resourceParams, response);
3330
3502
  return luvio.storeBroadcast().then(() => snapshot);
3331
3503
  }, () => {
3332
3504
  const cache = new StoreKeyMap();
3333
- getResponseCacheKeys$p(cache, luvio, resourceParams, response.body);
3505
+ getResponseCacheKeys$q(cache, luvio, resourceParams, response.body);
3334
3506
  return cache;
3335
3507
  });
3336
3508
  }, (response) => {
@@ -3340,17 +3512,17 @@ function buildNetworkSnapshot$p(luvio, config, options) {
3340
3512
  }
3341
3513
  const updateDashboardAdapterFactory = (luvio) => {
3342
3514
  return function updateDashboard(untrustedConfig) {
3343
- const config = validateAdapterConfig$p(untrustedConfig, updateDashboard_ConfigPropertyNames);
3515
+ const config = validateAdapterConfig$q(untrustedConfig, updateDashboard_ConfigPropertyNames);
3344
3516
  // Invalid or incomplete config
3345
3517
  if (config === null) {
3346
3518
  throw new Error('Invalid config for "updateDashboard"');
3347
3519
  }
3348
- return buildNetworkSnapshot$p(luvio, config);
3520
+ return buildNetworkSnapshot$q(luvio, config);
3349
3521
  };
3350
3522
  };
3351
3523
 
3352
- function validate$k(obj, path = 'AnalyticsUserRepresentation') {
3353
- const validateBaseAnalyticsRepresentation_validateError = validate$q(obj, path);
3524
+ function validate$l(obj, path = 'AnalyticsUserRepresentation') {
3525
+ const validateBaseAnalyticsRepresentation_validateError = validate$r(obj, path);
3354
3526
  if (validateBaseAnalyticsRepresentation_validateError !== null) {
3355
3527
  return validateBaseAnalyticsRepresentation_validateError;
3356
3528
  }
@@ -3390,16 +3562,16 @@ function validate$k(obj, path = 'AnalyticsUserRepresentation') {
3390
3562
  return v_error === undefined ? null : v_error;
3391
3563
  }
3392
3564
 
3393
- const TTL$7 = 500;
3394
- const VERSION$f = "9a4f1166e92aab266ef84b910ef0c322";
3395
- function validate$j(obj, path = 'FollowerAssetRepresentation') {
3565
+ const TTL$8 = 500;
3566
+ const VERSION$g = "9a4f1166e92aab266ef84b910ef0c322";
3567
+ function validate$k(obj, path = 'FollowerAssetRepresentation') {
3396
3568
  const v_error = (() => {
3397
3569
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3398
3570
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3399
3571
  }
3400
3572
  const obj_createdBy = obj.createdBy;
3401
3573
  const path_createdBy = path + '.createdBy';
3402
- const referencepath_createdByValidationError = validate$k(obj_createdBy, path_createdBy);
3574
+ const referencepath_createdByValidationError = validate$l(obj_createdBy, path_createdBy);
3403
3575
  if (referencepath_createdByValidationError !== null) {
3404
3576
  let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
3405
3577
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3433,68 +3605,68 @@ function validate$j(obj, path = 'FollowerAssetRepresentation') {
3433
3605
  })();
3434
3606
  return v_error === undefined ? null : v_error;
3435
3607
  }
3436
- const RepresentationType$g = 'FollowerAssetRepresentation';
3437
- function keyBuilder$z(luvio, config) {
3438
- return keyPrefix + '::' + RepresentationType$g + ':' + config.followerId;
3608
+ const RepresentationType$h = 'FollowerAssetRepresentation';
3609
+ function keyBuilder$A(luvio, config) {
3610
+ return keyPrefix + '::' + RepresentationType$h + ':' + config.followerId;
3439
3611
  }
3440
- function keyBuilderFromType$8(luvio, object) {
3612
+ function keyBuilderFromType$9(luvio, object) {
3441
3613
  const keyParams = {
3442
3614
  followerId: object.followerId
3443
3615
  };
3444
- return keyBuilder$z(luvio, keyParams);
3616
+ return keyBuilder$A(luvio, keyParams);
3445
3617
  }
3446
- function normalize$f(input, existing, path, luvio, store, timestamp) {
3618
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
3447
3619
  return input;
3448
3620
  }
3449
- const select$A = function FollowerAssetRepresentationSelect() {
3621
+ const select$C = function FollowerAssetRepresentationSelect() {
3450
3622
  return {
3451
3623
  kind: 'Fragment',
3452
- version: VERSION$f,
3624
+ version: VERSION$g,
3453
3625
  private: [],
3454
3626
  opaque: true
3455
3627
  };
3456
3628
  };
3457
- function equals$f(existing, incoming) {
3629
+ function equals$g(existing, incoming) {
3458
3630
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3459
3631
  return false;
3460
3632
  }
3461
3633
  return true;
3462
3634
  }
3463
- const ingest$f = function FollowerAssetRepresentationIngest(input, path, luvio, store, timestamp) {
3635
+ const ingest$g = function FollowerAssetRepresentationIngest(input, path, luvio, store, timestamp) {
3464
3636
  if (process.env.NODE_ENV !== 'production') {
3465
- const validateError = validate$j(input);
3637
+ const validateError = validate$k(input);
3466
3638
  if (validateError !== null) {
3467
3639
  throw validateError;
3468
3640
  }
3469
3641
  }
3470
- const key = keyBuilderFromType$8(luvio, input);
3471
- const ttlToUse = TTL$7;
3472
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "UnifiedAnalytics", VERSION$f, RepresentationType$g, equals$f);
3642
+ const key = keyBuilderFromType$9(luvio, input);
3643
+ const ttlToUse = TTL$8;
3644
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "UnifiedAnalytics", VERSION$g, RepresentationType$h, equals$g);
3473
3645
  return createLink(key);
3474
3646
  };
3475
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3647
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
3476
3648
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3477
- const rootKey = keyBuilderFromType$8(luvio, input);
3649
+ const rootKey = keyBuilderFromType$9(luvio, input);
3478
3650
  rootKeySet.set(rootKey, {
3479
3651
  namespace: keyPrefix,
3480
- representationName: RepresentationType$g,
3652
+ representationName: RepresentationType$h,
3481
3653
  mergeable: false
3482
3654
  });
3483
3655
  }
3484
3656
 
3485
- function select$z(luvio, params) {
3486
- return select$A();
3657
+ function select$B(luvio, params) {
3658
+ return select$C();
3487
3659
  }
3488
- function getResponseCacheKeys$o(storeKeyMap, luvio, resourceParams, response) {
3489
- getTypeCacheKeys$f(storeKeyMap, luvio, response);
3660
+ function getResponseCacheKeys$p(storeKeyMap, luvio, resourceParams, response) {
3661
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
3490
3662
  }
3491
- function ingestSuccess$k(luvio, resourceParams, response) {
3663
+ function ingestSuccess$l(luvio, resourceParams, response) {
3492
3664
  const { body } = response;
3493
- const key = keyBuilderFromType$8(luvio, body);
3494
- luvio.storeIngest(key, ingest$f, body);
3665
+ const key = keyBuilderFromType$9(luvio, body);
3666
+ luvio.storeIngest(key, ingest$g, body);
3495
3667
  const snapshot = luvio.storeLookup({
3496
3668
  recordId: key,
3497
- node: select$z(),
3669
+ node: select$B(),
3498
3670
  variables: {},
3499
3671
  });
3500
3672
  if (process.env.NODE_ENV !== 'production') {
@@ -3505,7 +3677,7 @@ function ingestSuccess$k(luvio, resourceParams, response) {
3505
3677
  deepFreeze(snapshot.data);
3506
3678
  return snapshot;
3507
3679
  }
3508
- function createResourceRequest$o(config) {
3680
+ function createResourceRequest$p(config) {
3509
3681
  const headers = {};
3510
3682
  return {
3511
3683
  baseUri: '/services/data/v62.0',
@@ -3519,44 +3691,44 @@ function createResourceRequest$o(config) {
3519
3691
  };
3520
3692
  }
3521
3693
 
3522
- const adapterName$o = 'follow';
3694
+ const adapterName$p = 'follow';
3523
3695
  const follow_ConfigPropertyMetadata = [
3524
3696
  generateParamConfigMetadata('followerId', true, 0 /* UrlParameter */, 0 /* String */),
3525
3697
  generateParamConfigMetadata('assetId', true, 2 /* Body */, 0 /* String */),
3526
3698
  generateParamConfigMetadata('assetType', true, 2 /* Body */, 0 /* String */),
3527
3699
  generateParamConfigMetadata('followerType', true, 2 /* Body */, 0 /* String */),
3528
3700
  ];
3529
- const follow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, follow_ConfigPropertyMetadata);
3530
- const createResourceParams$o = /*#__PURE__*/ createResourceParams$y(follow_ConfigPropertyMetadata);
3531
- function typeCheckConfig$o(untrustedConfig) {
3701
+ const follow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, follow_ConfigPropertyMetadata);
3702
+ const createResourceParams$p = /*#__PURE__*/ createResourceParams$A(follow_ConfigPropertyMetadata);
3703
+ function typeCheckConfig$p(untrustedConfig) {
3532
3704
  const config = {};
3533
- typeCheckConfig$y(untrustedConfig, config, follow_ConfigPropertyMetadata);
3705
+ typeCheckConfig$A(untrustedConfig, config, follow_ConfigPropertyMetadata);
3534
3706
  return config;
3535
3707
  }
3536
- function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
3708
+ function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
3537
3709
  if (!untrustedIsObject(untrustedConfig)) {
3538
3710
  return null;
3539
3711
  }
3540
3712
  if (process.env.NODE_ENV !== 'production') {
3541
3713
  validateConfig(untrustedConfig, configPropertyNames);
3542
3714
  }
3543
- const config = typeCheckConfig$o(untrustedConfig);
3715
+ const config = typeCheckConfig$p(untrustedConfig);
3544
3716
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3545
3717
  return null;
3546
3718
  }
3547
3719
  return config;
3548
3720
  }
3549
- function buildNetworkSnapshot$o(luvio, config, options) {
3550
- const resourceParams = createResourceParams$o(config);
3551
- const request = createResourceRequest$o(resourceParams);
3721
+ function buildNetworkSnapshot$p(luvio, config, options) {
3722
+ const resourceParams = createResourceParams$p(config);
3723
+ const request = createResourceRequest$p(resourceParams);
3552
3724
  return luvio.dispatchResourceRequest(request, options)
3553
3725
  .then((response) => {
3554
3726
  return luvio.handleSuccessResponse(() => {
3555
- const snapshot = ingestSuccess$k(luvio, resourceParams, response);
3727
+ const snapshot = ingestSuccess$l(luvio, resourceParams, response);
3556
3728
  return luvio.storeBroadcast().then(() => snapshot);
3557
3729
  }, () => {
3558
3730
  const cache = new StoreKeyMap();
3559
- getResponseCacheKeys$o(cache, luvio, resourceParams, response.body);
3731
+ getResponseCacheKeys$p(cache, luvio, resourceParams, response.body);
3560
3732
  return cache;
3561
3733
  });
3562
3734
  }, (response) => {
@@ -3566,16 +3738,16 @@ function buildNetworkSnapshot$o(luvio, config, options) {
3566
3738
  }
3567
3739
  const followAdapterFactory = (luvio) => {
3568
3740
  return function follow(untrustedConfig) {
3569
- const config = validateAdapterConfig$o(untrustedConfig, follow_ConfigPropertyNames);
3741
+ const config = validateAdapterConfig$p(untrustedConfig, follow_ConfigPropertyNames);
3570
3742
  // Invalid or incomplete config
3571
3743
  if (config === null) {
3572
3744
  throw new Error('Invalid config for "follow"');
3573
3745
  }
3574
- return buildNetworkSnapshot$o(luvio, config);
3746
+ return buildNetworkSnapshot$p(luvio, config);
3575
3747
  };
3576
3748
  };
3577
3749
 
3578
- function validate$i(obj, path = 'FollowedAssetRepresentation') {
3750
+ function validate$j(obj, path = 'FollowedAssetRepresentation') {
3579
3751
  const v_error = (() => {
3580
3752
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3581
3753
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3634,52 +3806,230 @@ function validate$i(obj, path = 'FollowedAssetRepresentation') {
3634
3806
  })();
3635
3807
  return v_error === undefined ? null : v_error;
3636
3808
  }
3637
- const RepresentationType$f = 'FollowedAssetRepresentation';
3638
- function keyBuilder$y(luvio, config) {
3639
- return keyPrefix + '::' + RepresentationType$f + ':' + config.followedAssetId;
3809
+ const RepresentationType$g = 'FollowedAssetRepresentation';
3810
+ function keyBuilder$z(luvio, config) {
3811
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.followedAssetId;
3640
3812
  }
3641
3813
 
3642
- function keyBuilder$x(luvio, params) {
3643
- return keyBuilder$y(luvio, {
3814
+ function keyBuilder$y(luvio, params) {
3815
+ return keyBuilder$z(luvio, {
3644
3816
  followedAssetId: params.urlParams.followedAssetId
3645
3817
  });
3646
3818
  }
3647
- function getResponseCacheKeys$n(cacheKeyMap, luvio, resourceParams) {
3648
- const key = keyBuilder$x(luvio, resourceParams);
3649
- cacheKeyMap.set(key, {
3819
+ function getResponseCacheKeys$o(cacheKeyMap, luvio, resourceParams) {
3820
+ const key = keyBuilder$y(luvio, resourceParams);
3821
+ cacheKeyMap.set(key, {
3822
+ namespace: keyPrefix,
3823
+ representationName: RepresentationType$g,
3824
+ mergeable: false
3825
+ });
3826
+ }
3827
+ function evictSuccess$3(luvio, resourceParams) {
3828
+ const key = keyBuilder$y(luvio, resourceParams);
3829
+ luvio.storeEvict(key);
3830
+ }
3831
+ function createResourceRequest$o(config) {
3832
+ const headers = {};
3833
+ return {
3834
+ baseUri: '/services/data/v62.0',
3835
+ basePath: '/unified-analytics/follow/followers/' + config.urlParams.followerId + '/follows/' + config.urlParams.followedAssetId + '',
3836
+ method: 'delete',
3837
+ body: null,
3838
+ urlParams: config.urlParams,
3839
+ queryParams: {},
3840
+ headers,
3841
+ priority: 'normal',
3842
+ };
3843
+ }
3844
+
3845
+ const adapterName$o = 'unfollow';
3846
+ const unfollow_ConfigPropertyMetadata = [
3847
+ generateParamConfigMetadata('followedAssetId', true, 0 /* UrlParameter */, 0 /* String */),
3848
+ generateParamConfigMetadata('followerId', true, 0 /* UrlParameter */, 0 /* String */),
3849
+ ];
3850
+ const unfollow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, unfollow_ConfigPropertyMetadata);
3851
+ const createResourceParams$o = /*#__PURE__*/ createResourceParams$A(unfollow_ConfigPropertyMetadata);
3852
+ function typeCheckConfig$o(untrustedConfig) {
3853
+ const config = {};
3854
+ typeCheckConfig$A(untrustedConfig, config, unfollow_ConfigPropertyMetadata);
3855
+ return config;
3856
+ }
3857
+ function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
3858
+ if (!untrustedIsObject(untrustedConfig)) {
3859
+ return null;
3860
+ }
3861
+ if (process.env.NODE_ENV !== 'production') {
3862
+ validateConfig(untrustedConfig, configPropertyNames);
3863
+ }
3864
+ const config = typeCheckConfig$o(untrustedConfig);
3865
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
3866
+ return null;
3867
+ }
3868
+ return config;
3869
+ }
3870
+ function buildNetworkSnapshot$o(luvio, config, options) {
3871
+ const resourceParams = createResourceParams$o(config);
3872
+ const request = createResourceRequest$o(resourceParams);
3873
+ return luvio.dispatchResourceRequest(request, options)
3874
+ .then(() => {
3875
+ return luvio.handleSuccessResponse(() => {
3876
+ evictSuccess$3(luvio, resourceParams);
3877
+ return luvio.storeBroadcast();
3878
+ }, () => {
3879
+ const cache = new StoreKeyMap();
3880
+ getResponseCacheKeys$o(cache, luvio, resourceParams);
3881
+ return cache;
3882
+ });
3883
+ }, (response) => {
3884
+ deepFreeze(response);
3885
+ throw response;
3886
+ });
3887
+ }
3888
+ const unfollowAdapterFactory = (luvio) => {
3889
+ return function UnifiedAnalyticsunfollow(untrustedConfig) {
3890
+ const config = validateAdapterConfig$o(untrustedConfig, unfollow_ConfigPropertyNames);
3891
+ // Invalid or incomplete config
3892
+ if (config === null) {
3893
+ throw new Error(`Invalid config for "${adapterName$o}"`);
3894
+ }
3895
+ return buildNetworkSnapshot$o(luvio, config);
3896
+ };
3897
+ };
3898
+
3899
+ const TTL$7 = 500;
3900
+ const VERSION$f = "1fd0770995d332e49822d6bbabe35e87";
3901
+ function validate$i(obj, path = 'FollowerCollectionRepresentation') {
3902
+ const v_error = (() => {
3903
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3904
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3905
+ }
3906
+ const obj_followers = obj.followers;
3907
+ const path_followers = path + '.followers';
3908
+ if (!ArrayIsArray(obj_followers)) {
3909
+ return new TypeError('Expected "array" but received "' + typeof obj_followers + '" (at "' + path_followers + '")');
3910
+ }
3911
+ for (let i = 0; i < obj_followers.length; i++) {
3912
+ const obj_followers_item = obj_followers[i];
3913
+ const path_followers_item = path_followers + '[' + i + ']';
3914
+ const referencepath_followers_itemValidationError = validate$l(obj_followers_item, path_followers_item);
3915
+ if (referencepath_followers_itemValidationError !== null) {
3916
+ let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
3917
+ message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3918
+ return new TypeError(message);
3919
+ }
3920
+ }
3921
+ })();
3922
+ return v_error === undefined ? null : v_error;
3923
+ }
3924
+ const RepresentationType$f = 'FollowerCollectionRepresentation';
3925
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
3926
+ return input;
3927
+ }
3928
+ const select$A = function FollowerCollectionRepresentationSelect() {
3929
+ return {
3930
+ kind: 'Fragment',
3931
+ version: VERSION$f,
3932
+ private: [],
3933
+ opaque: true
3934
+ };
3935
+ };
3936
+ function equals$f(existing, incoming) {
3937
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
3938
+ return false;
3939
+ }
3940
+ return true;
3941
+ }
3942
+ const ingest$f = function FollowerCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3943
+ if (process.env.NODE_ENV !== 'production') {
3944
+ const validateError = validate$i(input);
3945
+ if (validateError !== null) {
3946
+ throw validateError;
3947
+ }
3948
+ }
3949
+ const key = path.fullPath;
3950
+ const ttlToUse = TTL$7;
3951
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "UnifiedAnalytics", VERSION$f, RepresentationType$f, equals$f);
3952
+ return createLink(key);
3953
+ };
3954
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3955
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3956
+ const rootKey = fullPathFactory();
3957
+ rootKeySet.set(rootKey, {
3958
+ namespace: keyPrefix,
3959
+ representationName: RepresentationType$f,
3960
+ mergeable: false
3961
+ });
3962
+ }
3963
+
3964
+ function select$z(luvio, params) {
3965
+ return select$A();
3966
+ }
3967
+ function keyBuilder$x(luvio, params) {
3968
+ return keyPrefix + '::FollowerCollectionRepresentation:(' + 'followerId:' + params.queryParams.followerId + ',' + 'followerType:' + params.queryParams.followerType + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'followedAssetId:' + params.urlParams.followedAssetId + ')';
3969
+ }
3970
+ function getResponseCacheKeys$n(storeKeyMap, luvio, resourceParams, response) {
3971
+ getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
3972
+ }
3973
+ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
3974
+ const { body } = response;
3975
+ const key = keyBuilder$x(luvio, resourceParams);
3976
+ luvio.storeIngest(key, ingest$f, body);
3977
+ const snapshot = luvio.storeLookup({
3978
+ recordId: key,
3979
+ node: select$z(),
3980
+ variables: {},
3981
+ }, snapshotRefresh);
3982
+ if (process.env.NODE_ENV !== 'production') {
3983
+ if (snapshot.state !== 'Fulfilled') {
3984
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3985
+ }
3986
+ }
3987
+ deepFreeze(snapshot.data);
3988
+ return snapshot;
3989
+ }
3990
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
3991
+ const key = keyBuilder$x(luvio, params);
3992
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3993
+ const storeMetadataParams = {
3994
+ ttl: TTL$7,
3650
3995
  namespace: keyPrefix,
3651
- representationName: RepresentationType$f,
3652
- mergeable: false
3653
- });
3654
- }
3655
- function evictSuccess$3(luvio, resourceParams) {
3656
- const key = keyBuilder$x(luvio, resourceParams);
3657
- luvio.storeEvict(key);
3996
+ version: VERSION$f,
3997
+ representationName: RepresentationType$f
3998
+ };
3999
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4000
+ return errorSnapshot;
3658
4001
  }
3659
4002
  function createResourceRequest$n(config) {
3660
4003
  const headers = {};
3661
4004
  return {
3662
4005
  baseUri: '/services/data/v62.0',
3663
- basePath: '/unified-analytics/follow/followers/' + config.urlParams.followerId + '/follows/' + config.urlParams.followedAssetId + '',
3664
- method: 'delete',
4006
+ basePath: '/unified-analytics/follow/assets/' + config.urlParams.followedAssetId + '/followers',
4007
+ method: 'get',
3665
4008
  body: null,
3666
4009
  urlParams: config.urlParams,
3667
- queryParams: {},
4010
+ queryParams: config.queryParams,
3668
4011
  headers,
3669
4012
  priority: 'normal',
3670
4013
  };
3671
4014
  }
3672
4015
 
3673
- const adapterName$n = 'unfollow';
3674
- const unfollow_ConfigPropertyMetadata = [
4016
+ const adapterName$n = 'getFollowers';
4017
+ const getFollowers_ConfigPropertyMetadata = [
3675
4018
  generateParamConfigMetadata('followedAssetId', true, 0 /* UrlParameter */, 0 /* String */),
3676
- generateParamConfigMetadata('followerId', true, 0 /* UrlParameter */, 0 /* String */),
4019
+ generateParamConfigMetadata('followerId', false, 1 /* QueryParameter */, 0 /* String */),
4020
+ generateParamConfigMetadata('followerType', false, 1 /* QueryParameter */, 0 /* String */),
4021
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
4022
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
3677
4023
  ];
3678
- const unfollow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, unfollow_ConfigPropertyMetadata);
3679
- const createResourceParams$n = /*#__PURE__*/ createResourceParams$y(unfollow_ConfigPropertyMetadata);
4024
+ const getFollowers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getFollowers_ConfigPropertyMetadata);
4025
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$A(getFollowers_ConfigPropertyMetadata);
4026
+ function keyBuilder$w(luvio, config) {
4027
+ const resourceParams = createResourceParams$n(config);
4028
+ return keyBuilder$x(luvio, resourceParams);
4029
+ }
3680
4030
  function typeCheckConfig$n(untrustedConfig) {
3681
4031
  const config = {};
3682
- typeCheckConfig$y(untrustedConfig, config, unfollow_ConfigPropertyMetadata);
4032
+ typeCheckConfig$A(untrustedConfig, config, getFollowers_ConfigPropertyMetadata);
3683
4033
  return config;
3684
4034
  }
3685
4035
  function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
@@ -3695,65 +4045,94 @@ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
3695
4045
  }
3696
4046
  return config;
3697
4047
  }
4048
+ function adapterFragment$a(luvio, config) {
4049
+ createResourceParams$n(config);
4050
+ return select$z();
4051
+ }
4052
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4053
+ const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
4054
+ config,
4055
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
4056
+ });
4057
+ return luvio.storeBroadcast().then(() => snapshot);
4058
+ }
4059
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
4060
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
4061
+ config,
4062
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
4063
+ });
4064
+ return luvio.storeBroadcast().then(() => snapshot);
4065
+ }
3698
4066
  function buildNetworkSnapshot$n(luvio, config, options) {
3699
4067
  const resourceParams = createResourceParams$n(config);
3700
4068
  const request = createResourceRequest$n(resourceParams);
3701
4069
  return luvio.dispatchResourceRequest(request, options)
3702
- .then(() => {
3703
- return luvio.handleSuccessResponse(() => {
3704
- evictSuccess$3(luvio, resourceParams);
3705
- return luvio.storeBroadcast();
3706
- }, () => {
4070
+ .then((response) => {
4071
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
3707
4072
  const cache = new StoreKeyMap();
3708
- getResponseCacheKeys$n(cache, luvio, resourceParams);
4073
+ getResponseCacheKeys$n(cache, luvio, resourceParams, response.body);
3709
4074
  return cache;
3710
4075
  });
3711
4076
  }, (response) => {
3712
- deepFreeze(response);
3713
- throw response;
4077
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
3714
4078
  });
3715
4079
  }
3716
- const unfollowAdapterFactory = (luvio) => {
3717
- return function UnifiedAnalyticsunfollow(untrustedConfig) {
3718
- const config = validateAdapterConfig$n(untrustedConfig, unfollow_ConfigPropertyNames);
3719
- // Invalid or incomplete config
3720
- if (config === null) {
3721
- throw new Error(`Invalid config for "${adapterName$n}"`);
3722
- }
3723
- return buildNetworkSnapshot$n(luvio, config);
4080
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4081
+ return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$n, undefined, false);
4082
+ }
4083
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4084
+ const { luvio, config } = context;
4085
+ const selector = {
4086
+ recordId: keyBuilder$w(luvio, config),
4087
+ node: adapterFragment$a(luvio, config),
4088
+ variables: {},
3724
4089
  };
4090
+ const cacheSnapshot = storeLookup(selector, {
4091
+ config,
4092
+ resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
4093
+ });
4094
+ return cacheSnapshot;
4095
+ }
4096
+ const getFollowersAdapterFactory = (luvio) => function UnifiedAnalytics__getFollowers(untrustedConfig, requestContext) {
4097
+ const config = validateAdapterConfig$n(untrustedConfig, getFollowers_ConfigPropertyNames);
4098
+ // Invalid or incomplete config
4099
+ if (config === null) {
4100
+ return null;
4101
+ }
4102
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4103
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
3725
4104
  };
3726
4105
 
3727
4106
  const TTL$6 = 500;
3728
- const VERSION$e = "1fd0770995d332e49822d6bbabe35e87";
3729
- function validate$h(obj, path = 'FollowerCollectionRepresentation') {
4107
+ const VERSION$e = "1f44696f5314fa2f963688e14067a00c";
4108
+ function validate$h(obj, path = 'FollowedAssetCollectionRepresentation') {
3730
4109
  const v_error = (() => {
3731
4110
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3732
4111
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3733
4112
  }
3734
- const obj_followers = obj.followers;
3735
- const path_followers = path + '.followers';
3736
- if (!ArrayIsArray(obj_followers)) {
3737
- return new TypeError('Expected "array" but received "' + typeof obj_followers + '" (at "' + path_followers + '")');
4113
+ const obj_followedAssets = obj.followedAssets;
4114
+ const path_followedAssets = path + '.followedAssets';
4115
+ if (!ArrayIsArray(obj_followedAssets)) {
4116
+ return new TypeError('Expected "array" but received "' + typeof obj_followedAssets + '" (at "' + path_followedAssets + '")');
3738
4117
  }
3739
- for (let i = 0; i < obj_followers.length; i++) {
3740
- const obj_followers_item = obj_followers[i];
3741
- const path_followers_item = path_followers + '[' + i + ']';
3742
- const referencepath_followers_itemValidationError = validate$k(obj_followers_item, path_followers_item);
3743
- if (referencepath_followers_itemValidationError !== null) {
3744
- let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
3745
- message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4118
+ for (let i = 0; i < obj_followedAssets.length; i++) {
4119
+ const obj_followedAssets_item = obj_followedAssets[i];
4120
+ const path_followedAssets_item = path_followedAssets + '[' + i + ']';
4121
+ const referencepath_followedAssets_itemValidationError = validate$j(obj_followedAssets_item, path_followedAssets_item);
4122
+ if (referencepath_followedAssets_itemValidationError !== null) {
4123
+ let message = 'Object doesn\'t match FollowedAssetRepresentation (at "' + path_followedAssets_item + '")\n';
4124
+ message += referencepath_followedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3746
4125
  return new TypeError(message);
3747
4126
  }
3748
4127
  }
3749
4128
  })();
3750
4129
  return v_error === undefined ? null : v_error;
3751
4130
  }
3752
- const RepresentationType$e = 'FollowerCollectionRepresentation';
4131
+ const RepresentationType$e = 'FollowedAssetCollectionRepresentation';
3753
4132
  function normalize$e(input, existing, path, luvio, store, timestamp) {
3754
4133
  return input;
3755
4134
  }
3756
- const select$y = function FollowerCollectionRepresentationSelect() {
4135
+ const select$y = function FollowedAssetCollectionRepresentationSelect() {
3757
4136
  return {
3758
4137
  kind: 'Fragment',
3759
4138
  version: VERSION$e,
@@ -3767,7 +4146,7 @@ function equals$e(existing, incoming) {
3767
4146
  }
3768
4147
  return true;
3769
4148
  }
3770
- const ingest$e = function FollowerCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4149
+ const ingest$e = function FollowedAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3771
4150
  if (process.env.NODE_ENV !== 'production') {
3772
4151
  const validateError = validate$h(input);
3773
4152
  if (validateError !== null) {
@@ -3792,15 +4171,15 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
3792
4171
  function select$x(luvio, params) {
3793
4172
  return select$y();
3794
4173
  }
3795
- function keyBuilder$w(luvio, params) {
3796
- return keyPrefix + '::FollowerCollectionRepresentation:(' + 'followerId:' + params.queryParams.followerId + ',' + 'followerType:' + params.queryParams.followerType + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'followedAssetId:' + params.urlParams.followedAssetId + ')';
4174
+ function keyBuilder$v(luvio, params) {
4175
+ return keyPrefix + '::FollowedAssetCollectionRepresentation:(' + 'followedAssetType:' + params.queryParams.followedAssetType + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'followerId:' + params.urlParams.followerId + ')';
3797
4176
  }
3798
4177
  function getResponseCacheKeys$m(storeKeyMap, luvio, resourceParams, response) {
3799
- getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$w(luvio, resourceParams));
4178
+ getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$v(luvio, resourceParams));
3800
4179
  }
3801
4180
  function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
3802
4181
  const { body } = response;
3803
- const key = keyBuilder$w(luvio, resourceParams);
4182
+ const key = keyBuilder$v(luvio, resourceParams);
3804
4183
  luvio.storeIngest(key, ingest$e, body);
3805
4184
  const snapshot = luvio.storeLookup({
3806
4185
  recordId: key,
@@ -3815,8 +4194,8 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
3815
4194
  deepFreeze(snapshot.data);
3816
4195
  return snapshot;
3817
4196
  }
3818
- function ingestError$a(luvio, params, error, snapshotRefresh) {
3819
- const key = keyBuilder$w(luvio, params);
4197
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
4198
+ const key = keyBuilder$v(luvio, params);
3820
4199
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3821
4200
  const storeMetadataParams = {
3822
4201
  ttl: TTL$6,
@@ -3831,7 +4210,7 @@ function createResourceRequest$m(config) {
3831
4210
  const headers = {};
3832
4211
  return {
3833
4212
  baseUri: '/services/data/v62.0',
3834
- basePath: '/unified-analytics/follow/assets/' + config.urlParams.followedAssetId + '/followers',
4213
+ basePath: '/unified-analytics/follow/followers/' + config.urlParams.followerId + '/followed-assets',
3835
4214
  method: 'get',
3836
4215
  body: null,
3837
4216
  urlParams: config.urlParams,
@@ -3841,23 +4220,22 @@ function createResourceRequest$m(config) {
3841
4220
  };
3842
4221
  }
3843
4222
 
3844
- const adapterName$m = 'getFollowers';
3845
- const getFollowers_ConfigPropertyMetadata = [
3846
- generateParamConfigMetadata('followedAssetId', true, 0 /* UrlParameter */, 0 /* String */),
3847
- generateParamConfigMetadata('followerId', false, 1 /* QueryParameter */, 0 /* String */),
3848
- generateParamConfigMetadata('followerType', false, 1 /* QueryParameter */, 0 /* String */),
4223
+ const adapterName$m = 'getFollowedAssets';
4224
+ const getFollowedAssets_ConfigPropertyMetadata = [
4225
+ generateParamConfigMetadata('followerId', true, 0 /* UrlParameter */, 0 /* String */),
4226
+ generateParamConfigMetadata('followedAssetType', false, 1 /* QueryParameter */, 0 /* String */),
3849
4227
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
3850
4228
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
3851
4229
  ];
3852
- const getFollowers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getFollowers_ConfigPropertyMetadata);
3853
- const createResourceParams$m = /*#__PURE__*/ createResourceParams$y(getFollowers_ConfigPropertyMetadata);
3854
- function keyBuilder$v(luvio, config) {
4230
+ const getFollowedAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getFollowedAssets_ConfigPropertyMetadata);
4231
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$A(getFollowedAssets_ConfigPropertyMetadata);
4232
+ function keyBuilder$u(luvio, config) {
3855
4233
  const resourceParams = createResourceParams$m(config);
3856
- return keyBuilder$w(luvio, resourceParams);
4234
+ return keyBuilder$v(luvio, resourceParams);
3857
4235
  }
3858
4236
  function typeCheckConfig$m(untrustedConfig) {
3859
4237
  const config = {};
3860
- typeCheckConfig$y(untrustedConfig, config, getFollowers_ConfigPropertyMetadata);
4238
+ typeCheckConfig$A(untrustedConfig, config, getFollowedAssets_ConfigPropertyMetadata);
3861
4239
  return config;
3862
4240
  }
3863
4241
  function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
@@ -3873,19 +4251,19 @@ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
3873
4251
  }
3874
4252
  return config;
3875
4253
  }
3876
- function adapterFragment$a(luvio, config) {
4254
+ function adapterFragment$9(luvio, config) {
3877
4255
  createResourceParams$m(config);
3878
4256
  return select$x();
3879
4257
  }
3880
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4258
+ function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
3881
4259
  const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
3882
4260
  config,
3883
4261
  resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
3884
4262
  });
3885
4263
  return luvio.storeBroadcast().then(() => snapshot);
3886
4264
  }
3887
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
3888
- const snapshot = ingestError$a(luvio, resourceParams, response, {
4265
+ function onFetchResponseError$9(luvio, config, resourceParams, response) {
4266
+ const snapshot = ingestError$9(luvio, resourceParams, response, {
3889
4267
  config,
3890
4268
  resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
3891
4269
  });
@@ -3896,23 +4274,23 @@ function buildNetworkSnapshot$m(luvio, config, options) {
3896
4274
  const request = createResourceRequest$m(resourceParams);
3897
4275
  return luvio.dispatchResourceRequest(request, options)
3898
4276
  .then((response) => {
3899
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
4277
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
3900
4278
  const cache = new StoreKeyMap();
3901
4279
  getResponseCacheKeys$m(cache, luvio, resourceParams, response.body);
3902
4280
  return cache;
3903
4281
  });
3904
4282
  }, (response) => {
3905
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
4283
+ return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
3906
4284
  });
3907
4285
  }
3908
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4286
+ function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
3909
4287
  return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
3910
4288
  }
3911
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4289
+ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
3912
4290
  const { luvio, config } = context;
3913
4291
  const selector = {
3914
- recordId: keyBuilder$v(luvio, config),
3915
- node: adapterFragment$a(luvio, config),
4292
+ recordId: keyBuilder$u(luvio, config),
4293
+ node: adapterFragment$9(luvio, config),
3916
4294
  variables: {},
3917
4295
  };
3918
4296
  const cacheSnapshot = storeLookup(selector, {
@@ -3921,46 +4299,55 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
3921
4299
  });
3922
4300
  return cacheSnapshot;
3923
4301
  }
3924
- const getFollowersAdapterFactory = (luvio) => function UnifiedAnalytics__getFollowers(untrustedConfig, requestContext) {
3925
- const config = validateAdapterConfig$m(untrustedConfig, getFollowers_ConfigPropertyNames);
4302
+ const getFollowedAssetsAdapterFactory = (luvio) => function UnifiedAnalytics__getFollowedAssets(untrustedConfig, requestContext) {
4303
+ const config = validateAdapterConfig$m(untrustedConfig, getFollowedAssets_ConfigPropertyNames);
3926
4304
  // Invalid or incomplete config
3927
4305
  if (config === null) {
3928
4306
  return null;
3929
4307
  }
3930
4308
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3931
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4309
+ buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
3932
4310
  };
3933
4311
 
3934
- const TTL$5 = 500;
3935
- const VERSION$d = "1f44696f5314fa2f963688e14067a00c";
3936
- function validate$g(obj, path = 'FollowedAssetCollectionRepresentation') {
4312
+ const TTL$5 = 1000;
4313
+ const VERSION$d = "f2e0254a8e6b03f2289f318634389df3";
4314
+ function validate$g(obj, path = 'UnifiedAnalyticsLogLinesRepresentation') {
3937
4315
  const v_error = (() => {
3938
4316
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3939
4317
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3940
4318
  }
3941
- const obj_followedAssets = obj.followedAssets;
3942
- const path_followedAssets = path + '.followedAssets';
3943
- if (!ArrayIsArray(obj_followedAssets)) {
3944
- return new TypeError('Expected "array" but received "' + typeof obj_followedAssets + '" (at "' + path_followedAssets + '")');
4319
+ const obj_failureCount = obj.failureCount;
4320
+ const path_failureCount = path + '.failureCount';
4321
+ if (typeof obj_failureCount !== 'number' || (typeof obj_failureCount === 'number' && Math.floor(obj_failureCount) !== obj_failureCount)) {
4322
+ return new TypeError('Expected "integer" but received "' + typeof obj_failureCount + '" (at "' + path_failureCount + '")');
3945
4323
  }
3946
- for (let i = 0; i < obj_followedAssets.length; i++) {
3947
- const obj_followedAssets_item = obj_followedAssets[i];
3948
- const path_followedAssets_item = path_followedAssets + '[' + i + ']';
3949
- const referencepath_followedAssets_itemValidationError = validate$i(obj_followedAssets_item, path_followedAssets_item);
3950
- if (referencepath_followedAssets_itemValidationError !== null) {
3951
- let message = 'Object doesn\'t match FollowedAssetRepresentation (at "' + path_followedAssets_item + '")\n';
3952
- message += referencepath_followedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3953
- return new TypeError(message);
3954
- }
4324
+ const obj_id = obj.id;
4325
+ const path_id = path + '.id';
4326
+ if (typeof obj_id !== 'string') {
4327
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
4328
+ }
4329
+ const obj_successCount = obj.successCount;
4330
+ const path_successCount = path + '.successCount';
4331
+ if (typeof obj_successCount !== 'number' || (typeof obj_successCount === 'number' && Math.floor(obj_successCount) !== obj_successCount)) {
4332
+ return new TypeError('Expected "integer" but received "' + typeof obj_successCount + '" (at "' + path_successCount + '")');
3955
4333
  }
3956
4334
  })();
3957
4335
  return v_error === undefined ? null : v_error;
3958
4336
  }
3959
- const RepresentationType$d = 'FollowedAssetCollectionRepresentation';
4337
+ const RepresentationType$d = 'UnifiedAnalyticsLogLinesRepresentation';
4338
+ function keyBuilder$t(luvio, config) {
4339
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.id;
4340
+ }
4341
+ function keyBuilderFromType$8(luvio, object) {
4342
+ const keyParams = {
4343
+ id: object.id
4344
+ };
4345
+ return keyBuilder$t(luvio, keyParams);
4346
+ }
3960
4347
  function normalize$d(input, existing, path, luvio, store, timestamp) {
3961
4348
  return input;
3962
4349
  }
3963
- const select$w = function FollowedAssetCollectionRepresentationSelect() {
4350
+ const select$w = function UnifiedAnalyticsLogLinesRepresentationSelect() {
3964
4351
  return {
3965
4352
  kind: 'Fragment',
3966
4353
  version: VERSION$d,
@@ -3974,21 +4361,21 @@ function equals$d(existing, incoming) {
3974
4361
  }
3975
4362
  return true;
3976
4363
  }
3977
- const ingest$d = function FollowedAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4364
+ const ingest$d = function UnifiedAnalyticsLogLinesRepresentationIngest(input, path, luvio, store, timestamp) {
3978
4365
  if (process.env.NODE_ENV !== 'production') {
3979
4366
  const validateError = validate$g(input);
3980
4367
  if (validateError !== null) {
3981
4368
  throw validateError;
3982
4369
  }
3983
4370
  }
3984
- const key = path.fullPath;
4371
+ const key = keyBuilderFromType$8(luvio, input);
3985
4372
  const ttlToUse = TTL$5;
3986
4373
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "UnifiedAnalytics", VERSION$d, RepresentationType$d, equals$d);
3987
4374
  return createLink(key);
3988
4375
  };
3989
4376
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3990
4377
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3991
- const rootKey = fullPathFactory();
4378
+ const rootKey = keyBuilderFromType$8(luvio, input);
3992
4379
  rootKeySet.set(rootKey, {
3993
4380
  namespace: keyPrefix,
3994
4381
  representationName: RepresentationType$d,
@@ -3999,21 +4386,18 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3999
4386
  function select$v(luvio, params) {
4000
4387
  return select$w();
4001
4388
  }
4002
- function keyBuilder$u(luvio, params) {
4003
- return keyPrefix + '::FollowedAssetCollectionRepresentation:(' + 'followedAssetType:' + params.queryParams.followedAssetType + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'followerId:' + params.urlParams.followerId + ')';
4004
- }
4005
4389
  function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
4006
- getTypeCacheKeys$d(storeKeyMap, luvio, response, () => keyBuilder$u(luvio, resourceParams));
4390
+ getTypeCacheKeys$d(storeKeyMap, luvio, response);
4007
4391
  }
4008
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4392
+ function ingestSuccess$i(luvio, resourceParams, response) {
4009
4393
  const { body } = response;
4010
- const key = keyBuilder$u(luvio, resourceParams);
4394
+ const key = keyBuilderFromType$8(luvio, body);
4011
4395
  luvio.storeIngest(key, ingest$d, body);
4012
4396
  const snapshot = luvio.storeLookup({
4013
4397
  recordId: key,
4014
4398
  node: select$v(),
4015
4399
  variables: {},
4016
- }, snapshotRefresh);
4400
+ });
4017
4401
  if (process.env.NODE_ENV !== 'production') {
4018
4402
  if (snapshot.state !== 'Fulfilled') {
4019
4403
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
@@ -4022,48 +4406,37 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
4022
4406
  deepFreeze(snapshot.data);
4023
4407
  return snapshot;
4024
4408
  }
4025
- function ingestError$9(luvio, params, error, snapshotRefresh) {
4026
- const key = keyBuilder$u(luvio, params);
4027
- const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4028
- const storeMetadataParams = {
4029
- ttl: TTL$5,
4030
- namespace: keyPrefix,
4031
- version: VERSION$d,
4032
- representationName: RepresentationType$d
4033
- };
4034
- luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4035
- return errorSnapshot;
4036
- }
4037
4409
  function createResourceRequest$l(config) {
4038
4410
  const headers = {};
4039
4411
  return {
4040
4412
  baseUri: '/services/data/v62.0',
4041
- basePath: '/unified-analytics/follow/followers/' + config.urlParams.followerId + '/followed-assets',
4042
- method: 'get',
4043
- body: null,
4044
- urlParams: config.urlParams,
4045
- queryParams: config.queryParams,
4413
+ basePath: '/unified-analytics/loglines',
4414
+ method: 'post',
4415
+ body: config.body,
4416
+ urlParams: {},
4417
+ queryParams: {},
4046
4418
  headers,
4047
4419
  priority: 'normal',
4048
4420
  };
4049
4421
  }
4050
4422
 
4051
- const adapterName$l = 'getFollowedAssets';
4052
- const getFollowedAssets_ConfigPropertyMetadata = [
4053
- generateParamConfigMetadata('followerId', true, 0 /* UrlParameter */, 0 /* String */),
4054
- generateParamConfigMetadata('followedAssetType', false, 1 /* QueryParameter */, 0 /* String */),
4055
- generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
4056
- generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
4423
+ const adapterName$l = 'createLoglines';
4424
+ const createLoglines_ConfigPropertyMetadata = [
4425
+ generateParamConfigMetadata('loglines', true, 2 /* Body */, 4 /* Unsupported */, true),
4057
4426
  ];
4058
- const getFollowedAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getFollowedAssets_ConfigPropertyMetadata);
4059
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$y(getFollowedAssets_ConfigPropertyMetadata);
4060
- function keyBuilder$t(luvio, config) {
4061
- const resourceParams = createResourceParams$l(config);
4062
- return keyBuilder$u(luvio, resourceParams);
4063
- }
4427
+ const createLoglines_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, createLoglines_ConfigPropertyMetadata);
4428
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$A(createLoglines_ConfigPropertyMetadata);
4064
4429
  function typeCheckConfig$l(untrustedConfig) {
4065
4430
  const config = {};
4066
- typeCheckConfig$y(untrustedConfig, config, getFollowedAssets_ConfigPropertyMetadata);
4431
+ const untrustedConfig_loglines = untrustedConfig.loglines;
4432
+ if (ArrayIsArray$1(untrustedConfig_loglines)) {
4433
+ const untrustedConfig_loglines_array = [];
4434
+ for (let i = 0, arrayLength = untrustedConfig_loglines.length; i < arrayLength; i++) {
4435
+ const untrustedConfig_loglines_item = untrustedConfig_loglines[i];
4436
+ untrustedConfig_loglines_array.push(untrustedConfig_loglines_item);
4437
+ }
4438
+ config.loglines = untrustedConfig_loglines_array;
4439
+ }
4067
4440
  return config;
4068
4441
  }
4069
4442
  function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
@@ -4079,62 +4452,33 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
4079
4452
  }
4080
4453
  return config;
4081
4454
  }
4082
- function adapterFragment$9(luvio, config) {
4083
- createResourceParams$l(config);
4084
- return select$v();
4085
- }
4086
- function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
4087
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
4088
- config,
4089
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
4090
- });
4091
- return luvio.storeBroadcast().then(() => snapshot);
4092
- }
4093
- function onFetchResponseError$9(luvio, config, resourceParams, response) {
4094
- const snapshot = ingestError$9(luvio, resourceParams, response, {
4095
- config,
4096
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
4097
- });
4098
- return luvio.storeBroadcast().then(() => snapshot);
4099
- }
4100
4455
  function buildNetworkSnapshot$l(luvio, config, options) {
4101
4456
  const resourceParams = createResourceParams$l(config);
4102
4457
  const request = createResourceRequest$l(resourceParams);
4103
4458
  return luvio.dispatchResourceRequest(request, options)
4104
4459
  .then((response) => {
4105
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
4460
+ return luvio.handleSuccessResponse(() => {
4461
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response);
4462
+ return luvio.storeBroadcast().then(() => snapshot);
4463
+ }, () => {
4106
4464
  const cache = new StoreKeyMap();
4107
4465
  getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
4108
4466
  return cache;
4109
4467
  });
4110
4468
  }, (response) => {
4111
- return luvio.handleErrorResponse(() => onFetchResponseError$9(luvio, config, resourceParams, response));
4469
+ deepFreeze(response);
4470
+ throw response;
4112
4471
  });
4113
4472
  }
4114
- function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4115
- return buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
4116
- }
4117
- function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4118
- const { luvio, config } = context;
4119
- const selector = {
4120
- recordId: keyBuilder$t(luvio, config),
4121
- node: adapterFragment$9(luvio, config),
4122
- variables: {},
4473
+ const createLoglinesAdapterFactory = (luvio) => {
4474
+ return function createLoglines(untrustedConfig) {
4475
+ const config = validateAdapterConfig$l(untrustedConfig, createLoglines_ConfigPropertyNames);
4476
+ // Invalid or incomplete config
4477
+ if (config === null) {
4478
+ throw new Error('Invalid config for "createLoglines"');
4479
+ }
4480
+ return buildNetworkSnapshot$l(luvio, config);
4123
4481
  };
4124
- const cacheSnapshot = storeLookup(selector, {
4125
- config,
4126
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
4127
- });
4128
- return cacheSnapshot;
4129
- }
4130
- const getFollowedAssetsAdapterFactory = (luvio) => function UnifiedAnalytics__getFollowedAssets(untrustedConfig, requestContext) {
4131
- const config = validateAdapterConfig$l(untrustedConfig, getFollowedAssets_ConfigPropertyNames);
4132
- // Invalid or incomplete config
4133
- if (config === null) {
4134
- return null;
4135
- }
4136
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4137
- buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4138
4482
  };
4139
4483
 
4140
4484
  const TTL$4 = 1000;
@@ -4417,14 +4761,14 @@ const getAssetSlackChannels_ConfigPropertyMetadata = [
4417
4761
  generateParamConfigMetadata('assetId', true, 1 /* QueryParameter */, 0 /* String */),
4418
4762
  ];
4419
4763
  const getAssetSlackChannels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getAssetSlackChannels_ConfigPropertyMetadata);
4420
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$y(getAssetSlackChannels_ConfigPropertyMetadata);
4764
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$A(getAssetSlackChannels_ConfigPropertyMetadata);
4421
4765
  function keyBuilder$q(luvio, config) {
4422
4766
  const resourceParams = createResourceParams$k(config);
4423
4767
  return keyBuilder$r(luvio, resourceParams);
4424
4768
  }
4425
4769
  function typeCheckConfig$k(untrustedConfig) {
4426
4770
  const config = {};
4427
- typeCheckConfig$y(untrustedConfig, config, getAssetSlackChannels_ConfigPropertyMetadata);
4771
+ typeCheckConfig$A(untrustedConfig, config, getAssetSlackChannels_ConfigPropertyMetadata);
4428
4772
  return config;
4429
4773
  }
4430
4774
  function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
@@ -4542,10 +4886,10 @@ const createAssetSlackChannel_ConfigPropertyMetadata = [
4542
4886
  generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
4543
4887
  ];
4544
4888
  const createAssetSlackChannel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, createAssetSlackChannel_ConfigPropertyMetadata);
4545
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$y(createAssetSlackChannel_ConfigPropertyMetadata);
4889
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$A(createAssetSlackChannel_ConfigPropertyMetadata);
4546
4890
  function typeCheckConfig$j(untrustedConfig) {
4547
4891
  const config = {};
4548
- typeCheckConfig$y(untrustedConfig, config, createAssetSlackChannel_ConfigPropertyMetadata);
4892
+ typeCheckConfig$A(untrustedConfig, config, createAssetSlackChannel_ConfigPropertyMetadata);
4549
4893
  return config;
4550
4894
  }
4551
4895
  function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
@@ -4605,7 +4949,7 @@ function validate$d(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
4605
4949
  for (let i = 0; i < obj_items.length; i++) {
4606
4950
  const obj_items_item = obj_items[i];
4607
4951
  const path_items_item = path_items + '[' + i + ']';
4608
- const referencepath_items_itemValidationError = validate$k(obj_items_item, path_items_item);
4952
+ const referencepath_items_itemValidationError = validate$l(obj_items_item, path_items_item);
4609
4953
  if (referencepath_items_itemValidationError !== null) {
4610
4954
  let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
4611
4955
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4722,10 +5066,10 @@ const queryUsers_ConfigPropertyMetadata = [
4722
5066
  generateParamConfigMetadata('useAutoSuggest', true, 2 /* Body */, 1 /* Boolean */),
4723
5067
  ];
4724
5068
  const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, queryUsers_ConfigPropertyMetadata);
4725
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$y(queryUsers_ConfigPropertyMetadata);
5069
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$A(queryUsers_ConfigPropertyMetadata);
4726
5070
  function typeCheckConfig$i(untrustedConfig) {
4727
5071
  const config = {};
4728
- typeCheckConfig$y(untrustedConfig, config, queryUsers_ConfigPropertyMetadata);
5072
+ typeCheckConfig$A(untrustedConfig, config, queryUsers_ConfigPropertyMetadata);
4729
5073
  return config;
4730
5074
  }
4731
5075
  function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
@@ -4770,7 +5114,7 @@ const queryUsersAdapterFactory = (luvio) => {
4770
5114
  };
4771
5115
  };
4772
5116
 
4773
- const VERSION$9 = "50a6ca06910ae9b59fcac99883bb393f";
5117
+ const VERSION$9 = "1a13994f888cdbab1f3489b0a99c8449";
4774
5118
  function validate$c(obj, path = 'VisualizationRepresentation') {
4775
5119
  const v_error = (() => {
4776
5120
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4778,7 +5122,7 @@ function validate$c(obj, path = 'VisualizationRepresentation') {
4778
5122
  }
4779
5123
  const obj_createdBy = obj.createdBy;
4780
5124
  const path_createdBy = path + '.createdBy';
4781
- const referencepath_createdByValidationError = validate$k(obj_createdBy, path_createdBy);
5125
+ const referencepath_createdByValidationError = validate$l(obj_createdBy, path_createdBy);
4782
5126
  if (referencepath_createdByValidationError !== null) {
4783
5127
  let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
4784
5128
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4834,16 +5178,14 @@ function validate$c(obj, path = 'VisualizationRepresentation') {
4834
5178
  if (obj.interactions !== undefined) {
4835
5179
  const obj_interactions = obj.interactions;
4836
5180
  const path_interactions = path + '.interactions';
4837
- if (typeof obj_interactions !== 'object' || ArrayIsArray(obj_interactions) || obj_interactions === null) {
4838
- return new TypeError('Expected "object" but received "' + typeof obj_interactions + '" (at "' + path_interactions + '")');
4839
- }
4840
- const obj_interactions_keys = ObjectKeys(obj_interactions);
4841
- for (let i = 0; i < obj_interactions_keys.length; i++) {
4842
- const key = obj_interactions_keys[i];
4843
- const obj_interactions_prop = obj_interactions[key];
4844
- const path_interactions_prop = path_interactions + '["' + key + '"]';
4845
- if (obj_interactions_prop === undefined) {
4846
- return new TypeError('Expected "defined" but received "' + typeof obj_interactions_prop + '" (at "' + path_interactions_prop + '")');
5181
+ if (!ArrayIsArray(obj_interactions)) {
5182
+ return new TypeError('Expected "array" but received "' + typeof obj_interactions + '" (at "' + path_interactions + '")');
5183
+ }
5184
+ for (let i = 0; i < obj_interactions.length; i++) {
5185
+ const obj_interactions_item = obj_interactions[i];
5186
+ const path_interactions_item = path_interactions + '[' + i + ']';
5187
+ if (obj_interactions_item === undefined) {
5188
+ return new TypeError('Expected "defined" but received "' + typeof obj_interactions_item + '" (at "' + path_interactions_item + '")');
4847
5189
  }
4848
5190
  }
4849
5191
  }
@@ -4855,7 +5197,7 @@ function validate$c(obj, path = 'VisualizationRepresentation') {
4855
5197
  if (obj.lastModifiedBy !== undefined) {
4856
5198
  const obj_lastModifiedBy = obj.lastModifiedBy;
4857
5199
  const path_lastModifiedBy = path + '.lastModifiedBy';
4858
- const referencepath_lastModifiedByValidationError = validate$k(obj_lastModifiedBy, path_lastModifiedBy);
5200
+ const referencepath_lastModifiedByValidationError = validate$l(obj_lastModifiedBy, path_lastModifiedBy);
4859
5201
  if (referencepath_lastModifiedByValidationError !== null) {
4860
5202
  let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
4861
5203
  message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5117,14 +5459,14 @@ const getVisualizations_ConfigPropertyMetadata = [
5117
5459
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
5118
5460
  ];
5119
5461
  const getVisualizations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getVisualizations_ConfigPropertyMetadata);
5120
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$y(getVisualizations_ConfigPropertyMetadata);
5462
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$A(getVisualizations_ConfigPropertyMetadata);
5121
5463
  function keyBuilder$m(luvio, config) {
5122
5464
  const resourceParams = createResourceParams$h(config);
5123
5465
  return keyBuilder$n(luvio, resourceParams);
5124
5466
  }
5125
5467
  function typeCheckConfig$h(untrustedConfig) {
5126
5468
  const config = {};
5127
- typeCheckConfig$y(untrustedConfig, config, getVisualizations_ConfigPropertyMetadata);
5469
+ typeCheckConfig$A(untrustedConfig, config, getVisualizations_ConfigPropertyMetadata);
5128
5470
  return config;
5129
5471
  }
5130
5472
  function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
@@ -5246,13 +5588,13 @@ const createVisualization_ConfigPropertyMetadata = [
5246
5588
  generateParamConfigMetadata('visualSpecification', true, 2 /* Body */, 4 /* Unsupported */),
5247
5589
  generateParamConfigMetadata('fields', false, 2 /* Body */, 4 /* Unsupported */),
5248
5590
  generateParamConfigMetadata('view', false, 2 /* Body */, 4 /* Unsupported */),
5249
- generateParamConfigMetadata('interactions', false, 2 /* Body */, 4 /* Unsupported */),
5591
+ generateParamConfigMetadata('interactions', false, 2 /* Body */, 4 /* Unsupported */, true),
5250
5592
  ];
5251
5593
  const createVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, createVisualization_ConfigPropertyMetadata);
5252
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$y(createVisualization_ConfigPropertyMetadata);
5594
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$A(createVisualization_ConfigPropertyMetadata);
5253
5595
  function typeCheckConfig$g(untrustedConfig) {
5254
5596
  const config = {};
5255
- typeCheckConfig$y(untrustedConfig, config, createVisualization_ConfigPropertyMetadata);
5597
+ typeCheckConfig$A(untrustedConfig, config, createVisualization_ConfigPropertyMetadata);
5256
5598
  const untrustedConfig_dataSource = untrustedConfig.dataSource;
5257
5599
  if (untrustedIsObject(untrustedConfig_dataSource)) {
5258
5600
  const untrustedConfig_dataSource_object = {};
@@ -5329,19 +5671,13 @@ function typeCheckConfig$g(untrustedConfig) {
5329
5671
  }
5330
5672
  }
5331
5673
  const untrustedConfig_interactions = untrustedConfig.interactions;
5332
- if (untrustedIsObject(untrustedConfig_interactions)) {
5333
- const untrustedConfig_interactions_object = {};
5334
- const untrustedConfig_interactions_keys = Object.keys(untrustedConfig_interactions);
5335
- for (let i = 0, arrayLength = untrustedConfig_interactions_keys.length; i < arrayLength; i++) {
5336
- const key = untrustedConfig_interactions_keys[i];
5337
- const untrustedConfig_interactions_prop = untrustedConfig_interactions[key];
5338
- if (untrustedConfig_interactions_object !== undefined) {
5339
- untrustedConfig_interactions_object[key] = untrustedConfig_interactions_prop;
5340
- }
5341
- }
5342
- if (untrustedConfig_interactions_object !== undefined && Object.keys(untrustedConfig_interactions_object).length >= 0) {
5343
- config.interactions = untrustedConfig_interactions_object;
5674
+ if (ArrayIsArray$1(untrustedConfig_interactions)) {
5675
+ const untrustedConfig_interactions_array = [];
5676
+ for (let i = 0, arrayLength = untrustedConfig_interactions.length; i < arrayLength; i++) {
5677
+ const untrustedConfig_interactions_item = untrustedConfig_interactions[i];
5678
+ untrustedConfig_interactions_array.push(untrustedConfig_interactions_item);
5344
5679
  }
5680
+ config.interactions = untrustedConfig_interactions_array;
5345
5681
  }
5346
5682
  return config;
5347
5683
  }
@@ -5423,10 +5759,10 @@ const deleteVisualization_ConfigPropertyMetadata = [
5423
5759
  generateParamConfigMetadata('visualizationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
5424
5760
  ];
5425
5761
  const deleteVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, deleteVisualization_ConfigPropertyMetadata);
5426
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$y(deleteVisualization_ConfigPropertyMetadata);
5762
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$A(deleteVisualization_ConfigPropertyMetadata);
5427
5763
  function typeCheckConfig$f(untrustedConfig) {
5428
5764
  const config = {};
5429
- typeCheckConfig$y(untrustedConfig, config, deleteVisualization_ConfigPropertyMetadata);
5765
+ typeCheckConfig$A(untrustedConfig, config, deleteVisualization_ConfigPropertyMetadata);
5430
5766
  return config;
5431
5767
  }
5432
5768
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -5524,14 +5860,14 @@ const getVisualization_ConfigPropertyMetadata = [
5524
5860
  generateParamConfigMetadata('visualizationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
5525
5861
  ];
5526
5862
  const getVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getVisualization_ConfigPropertyMetadata);
5527
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$y(getVisualization_ConfigPropertyMetadata);
5863
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$A(getVisualization_ConfigPropertyMetadata);
5528
5864
  function keyBuilder$j(luvio, config) {
5529
5865
  const resourceParams = createResourceParams$e(config);
5530
5866
  return keyBuilder$k(luvio, resourceParams);
5531
5867
  }
5532
5868
  function typeCheckConfig$e(untrustedConfig) {
5533
5869
  const config = {};
5534
- typeCheckConfig$y(untrustedConfig, config, getVisualization_ConfigPropertyMetadata);
5870
+ typeCheckConfig$A(untrustedConfig, config, getVisualization_ConfigPropertyMetadata);
5535
5871
  return config;
5536
5872
  }
5537
5873
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -5654,13 +5990,13 @@ const updateVisualization_ConfigPropertyMetadata = [
5654
5990
  generateParamConfigMetadata('visualSpecification', true, 2 /* Body */, 4 /* Unsupported */),
5655
5991
  generateParamConfigMetadata('fields', false, 2 /* Body */, 4 /* Unsupported */),
5656
5992
  generateParamConfigMetadata('view', false, 2 /* Body */, 4 /* Unsupported */),
5657
- generateParamConfigMetadata('interactions', false, 2 /* Body */, 4 /* Unsupported */),
5993
+ generateParamConfigMetadata('interactions', false, 2 /* Body */, 4 /* Unsupported */, true),
5658
5994
  ];
5659
5995
  const updateVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, updateVisualization_ConfigPropertyMetadata);
5660
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$y(updateVisualization_ConfigPropertyMetadata);
5996
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$A(updateVisualization_ConfigPropertyMetadata);
5661
5997
  function typeCheckConfig$d(untrustedConfig) {
5662
5998
  const config = {};
5663
- typeCheckConfig$y(untrustedConfig, config, updateVisualization_ConfigPropertyMetadata);
5999
+ typeCheckConfig$A(untrustedConfig, config, updateVisualization_ConfigPropertyMetadata);
5664
6000
  const untrustedConfig_dataSource = untrustedConfig.dataSource;
5665
6001
  if (untrustedIsObject(untrustedConfig_dataSource)) {
5666
6002
  const untrustedConfig_dataSource_object = {};
@@ -5737,19 +6073,13 @@ function typeCheckConfig$d(untrustedConfig) {
5737
6073
  }
5738
6074
  }
5739
6075
  const untrustedConfig_interactions = untrustedConfig.interactions;
5740
- if (untrustedIsObject(untrustedConfig_interactions)) {
5741
- const untrustedConfig_interactions_object = {};
5742
- const untrustedConfig_interactions_keys = Object.keys(untrustedConfig_interactions);
5743
- for (let i = 0, arrayLength = untrustedConfig_interactions_keys.length; i < arrayLength; i++) {
5744
- const key = untrustedConfig_interactions_keys[i];
5745
- const untrustedConfig_interactions_prop = untrustedConfig_interactions[key];
5746
- if (untrustedConfig_interactions_object !== undefined) {
5747
- untrustedConfig_interactions_object[key] = untrustedConfig_interactions_prop;
5748
- }
5749
- }
5750
- if (untrustedConfig_interactions_object !== undefined && Object.keys(untrustedConfig_interactions_object).length >= 0) {
5751
- config.interactions = untrustedConfig_interactions_object;
6076
+ if (ArrayIsArray$1(untrustedConfig_interactions)) {
6077
+ const untrustedConfig_interactions_array = [];
6078
+ for (let i = 0, arrayLength = untrustedConfig_interactions.length; i < arrayLength; i++) {
6079
+ const untrustedConfig_interactions_item = untrustedConfig_interactions[i];
6080
+ untrustedConfig_interactions_array.push(untrustedConfig_interactions_item);
5752
6081
  }
6082
+ config.interactions = untrustedConfig_interactions_array;
5753
6083
  }
5754
6084
  return config;
5755
6085
  }
@@ -5930,14 +6260,14 @@ const getVisualizationBundle_ConfigPropertyMetadata = [
5930
6260
  generateParamConfigMetadata('visualizationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
5931
6261
  ];
5932
6262
  const getVisualizationBundle_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getVisualizationBundle_ConfigPropertyMetadata);
5933
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$y(getVisualizationBundle_ConfigPropertyMetadata);
6263
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$A(getVisualizationBundle_ConfigPropertyMetadata);
5934
6264
  function keyBuilder$g(luvio, config) {
5935
6265
  const resourceParams = createResourceParams$c(config);
5936
6266
  return keyBuilder$h(luvio, resourceParams);
5937
6267
  }
5938
6268
  function typeCheckConfig$c(untrustedConfig) {
5939
6269
  const config = {};
5940
- typeCheckConfig$y(untrustedConfig, config, getVisualizationBundle_ConfigPropertyMetadata);
6270
+ typeCheckConfig$A(untrustedConfig, config, getVisualizationBundle_ConfigPropertyMetadata);
5941
6271
  return config;
5942
6272
  }
5943
6273
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -6011,7 +6341,7 @@ const getVisualizationBundleAdapterFactory = (luvio) => function UnifiedAnalytic
6011
6341
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6012
6342
  };
6013
6343
 
6014
- const VERSION$6 = "cd4ffaf2332ab8ec006033f2e4339ad7";
6344
+ const VERSION$6 = "d30aa567784494839ce9c37e69190918";
6015
6345
  function validate$9(obj, path = 'WorkspaceRepresentation') {
6016
6346
  const v_error = (() => {
6017
6347
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6024,7 +6354,7 @@ function validate$9(obj, path = 'WorkspaceRepresentation') {
6024
6354
  }
6025
6355
  const obj_createdBy = obj.createdBy;
6026
6356
  const path_createdBy = path + '.createdBy';
6027
- const referencepath_createdByValidationError = validate$k(obj_createdBy, path_createdBy);
6357
+ const referencepath_createdByValidationError = validate$l(obj_createdBy, path_createdBy);
6028
6358
  if (referencepath_createdByValidationError !== null) {
6029
6359
  let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
6030
6360
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6035,10 +6365,12 @@ function validate$9(obj, path = 'WorkspaceRepresentation') {
6035
6365
  if (typeof obj_createdDate !== 'string') {
6036
6366
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
6037
6367
  }
6038
- const obj_description = obj.description;
6039
- const path_description = path + '.description';
6040
- if (typeof obj_description !== 'string') {
6041
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
6368
+ if (obj.description !== undefined) {
6369
+ const obj_description = obj.description;
6370
+ const path_description = path + '.description';
6371
+ if (typeof obj_description !== 'string') {
6372
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
6373
+ }
6042
6374
  }
6043
6375
  const obj_id = obj.id;
6044
6376
  const path_id = path + '.id';
@@ -6273,14 +6605,14 @@ const getWorkspaces_ConfigPropertyMetadata = [
6273
6605
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
6274
6606
  ];
6275
6607
  const getWorkspaces_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getWorkspaces_ConfigPropertyMetadata);
6276
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$y(getWorkspaces_ConfigPropertyMetadata);
6608
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$A(getWorkspaces_ConfigPropertyMetadata);
6277
6609
  function keyBuilder$d(luvio, config) {
6278
6610
  const resourceParams = createResourceParams$b(config);
6279
6611
  return keyBuilder$e(luvio, resourceParams);
6280
6612
  }
6281
6613
  function typeCheckConfig$b(untrustedConfig) {
6282
6614
  const config = {};
6283
- typeCheckConfig$y(untrustedConfig, config, getWorkspaces_ConfigPropertyMetadata);
6615
+ typeCheckConfig$A(untrustedConfig, config, getWorkspaces_ConfigPropertyMetadata);
6284
6616
  return config;
6285
6617
  }
6286
6618
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -6399,10 +6731,10 @@ const createWorkspace_ConfigPropertyMetadata = [
6399
6731
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
6400
6732
  ];
6401
6733
  const createWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createWorkspace_ConfigPropertyMetadata);
6402
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$y(createWorkspace_ConfigPropertyMetadata);
6734
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$A(createWorkspace_ConfigPropertyMetadata);
6403
6735
  function typeCheckConfig$a(untrustedConfig) {
6404
6736
  const config = {};
6405
- typeCheckConfig$y(untrustedConfig, config, createWorkspace_ConfigPropertyMetadata);
6737
+ typeCheckConfig$A(untrustedConfig, config, createWorkspace_ConfigPropertyMetadata);
6406
6738
  return config;
6407
6739
  }
6408
6740
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -6483,10 +6815,10 @@ const deleteWorkspace_ConfigPropertyMetadata = [
6483
6815
  generateParamConfigMetadata('workspaceIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
6484
6816
  ];
6485
6817
  const deleteWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteWorkspace_ConfigPropertyMetadata);
6486
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$y(deleteWorkspace_ConfigPropertyMetadata);
6818
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$A(deleteWorkspace_ConfigPropertyMetadata);
6487
6819
  function typeCheckConfig$9(untrustedConfig) {
6488
6820
  const config = {};
6489
- typeCheckConfig$y(untrustedConfig, config, deleteWorkspace_ConfigPropertyMetadata);
6821
+ typeCheckConfig$A(untrustedConfig, config, deleteWorkspace_ConfigPropertyMetadata);
6490
6822
  return config;
6491
6823
  }
6492
6824
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -6584,14 +6916,14 @@ const getWorkspaceByIdOrName_ConfigPropertyMetadata = [
6584
6916
  generateParamConfigMetadata('workspaceIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
6585
6917
  ];
6586
6918
  const getWorkspaceByIdOrName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getWorkspaceByIdOrName_ConfigPropertyMetadata);
6587
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$y(getWorkspaceByIdOrName_ConfigPropertyMetadata);
6919
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$A(getWorkspaceByIdOrName_ConfigPropertyMetadata);
6588
6920
  function keyBuilder$a(luvio, config) {
6589
6921
  const resourceParams = createResourceParams$8(config);
6590
6922
  return keyBuilder$b(luvio, resourceParams);
6591
6923
  }
6592
6924
  function typeCheckConfig$8(untrustedConfig) {
6593
6925
  const config = {};
6594
- typeCheckConfig$y(untrustedConfig, config, getWorkspaceByIdOrName_ConfigPropertyMetadata);
6926
+ typeCheckConfig$A(untrustedConfig, config, getWorkspaceByIdOrName_ConfigPropertyMetadata);
6595
6927
  return config;
6596
6928
  }
6597
6929
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -6711,10 +7043,10 @@ const updateWorkspace_ConfigPropertyMetadata = [
6711
7043
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
6712
7044
  ];
6713
7045
  const updateWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateWorkspace_ConfigPropertyMetadata);
6714
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$y(updateWorkspace_ConfigPropertyMetadata);
7046
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$A(updateWorkspace_ConfigPropertyMetadata);
6715
7047
  function typeCheckConfig$7(untrustedConfig) {
6716
7048
  const config = {};
6717
- typeCheckConfig$y(untrustedConfig, config, updateWorkspace_ConfigPropertyMetadata);
7049
+ typeCheckConfig$A(untrustedConfig, config, updateWorkspace_ConfigPropertyMetadata);
6718
7050
  return config;
6719
7051
  }
6720
7052
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -6782,7 +7114,7 @@ function validate$7(obj, path = 'WorkspaceAssetRepresentation') {
6782
7114
  }
6783
7115
  const obj_createdBy = obj.createdBy;
6784
7116
  const path_createdBy = path + '.createdBy';
6785
- const referencepath_createdByValidationError = validate$k(obj_createdBy, path_createdBy);
7117
+ const referencepath_createdByValidationError = validate$l(obj_createdBy, path_createdBy);
6786
7118
  if (referencepath_createdByValidationError !== null) {
6787
7119
  let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
6788
7120
  message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6895,10 +7227,10 @@ const createWorkspaceAsset_ConfigPropertyMetadata = [
6895
7227
  generateParamConfigMetadata('assetUsageType', true, 2 /* Body */, 0 /* String */),
6896
7228
  ];
6897
7229
  const createWorkspaceAsset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createWorkspaceAsset_ConfigPropertyMetadata);
6898
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$y(createWorkspaceAsset_ConfigPropertyMetadata);
7230
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$A(createWorkspaceAsset_ConfigPropertyMetadata);
6899
7231
  function typeCheckConfig$6(untrustedConfig) {
6900
7232
  const config = {};
6901
- typeCheckConfig$y(untrustedConfig, config, createWorkspaceAsset_ConfigPropertyMetadata);
7233
+ typeCheckConfig$A(untrustedConfig, config, createWorkspaceAsset_ConfigPropertyMetadata);
6902
7234
  return config;
6903
7235
  }
6904
7236
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6980,10 +7312,10 @@ const deleteWorkspaceAsset_ConfigPropertyMetadata = [
6980
7312
  generateParamConfigMetadata('workspaceIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
6981
7313
  ];
6982
7314
  const deleteWorkspaceAsset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, deleteWorkspaceAsset_ConfigPropertyMetadata);
6983
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$y(deleteWorkspaceAsset_ConfigPropertyMetadata);
7315
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$A(deleteWorkspaceAsset_ConfigPropertyMetadata);
6984
7316
  function typeCheckConfig$5(untrustedConfig) {
6985
7317
  const config = {};
6986
- typeCheckConfig$y(untrustedConfig, config, deleteWorkspaceAsset_ConfigPropertyMetadata);
7318
+ typeCheckConfig$A(untrustedConfig, config, deleteWorkspaceAsset_ConfigPropertyMetadata);
6987
7319
  return config;
6988
7320
  }
6989
7321
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -7367,14 +7699,14 @@ const getFlows_ConfigPropertyMetadata = [
7367
7699
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
7368
7700
  ];
7369
7701
  const getFlows_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getFlows_ConfigPropertyMetadata);
7370
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$y(getFlows_ConfigPropertyMetadata);
7702
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$A(getFlows_ConfigPropertyMetadata);
7371
7703
  function keyBuilder$6(luvio, config) {
7372
7704
  const resourceParams = createResourceParams$4(config);
7373
7705
  return keyBuilder$7(luvio, resourceParams);
7374
7706
  }
7375
7707
  function typeCheckConfig$4(untrustedConfig) {
7376
7708
  const config = {};
7377
- typeCheckConfig$y(untrustedConfig, config, getFlows_ConfigPropertyMetadata);
7709
+ typeCheckConfig$A(untrustedConfig, config, getFlows_ConfigPropertyMetadata);
7378
7710
  return config;
7379
7711
  }
7380
7712
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -7499,14 +7831,14 @@ const getFlowByName_ConfigPropertyMetadata = [
7499
7831
  generateParamConfigMetadata('flowApiName', true, 0 /* UrlParameter */, 0 /* String */),
7500
7832
  ];
7501
7833
  const getFlowByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getFlowByName_ConfigPropertyMetadata);
7502
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$y(getFlowByName_ConfigPropertyMetadata);
7834
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$A(getFlowByName_ConfigPropertyMetadata);
7503
7835
  function keyBuilder$4(luvio, config) {
7504
7836
  const resourceParams = createResourceParams$3(config);
7505
7837
  return keyBuilder$5(luvio, resourceParams);
7506
7838
  }
7507
7839
  function typeCheckConfig$3(untrustedConfig) {
7508
7840
  const config = {};
7509
- typeCheckConfig$y(untrustedConfig, config, getFlowByName_ConfigPropertyMetadata);
7841
+ typeCheckConfig$A(untrustedConfig, config, getFlowByName_ConfigPropertyMetadata);
7510
7842
  return config;
7511
7843
  }
7512
7844
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -7713,14 +8045,14 @@ const getSubscriptionDigestConfig_ConfigPropertyMetadata = [
7713
8045
  generateParamConfigMetadata('digestConfigOwner', true, 0 /* UrlParameter */, 0 /* String */),
7714
8046
  ];
7715
8047
  const getSubscriptionDigestConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSubscriptionDigestConfig_ConfigPropertyMetadata);
7716
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$y(getSubscriptionDigestConfig_ConfigPropertyMetadata);
8048
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$A(getSubscriptionDigestConfig_ConfigPropertyMetadata);
7717
8049
  function keyBuilder$1(luvio, config) {
7718
8050
  const resourceParams = createResourceParams$2(config);
7719
8051
  return keyBuilder$2(luvio, resourceParams);
7720
8052
  }
7721
8053
  function typeCheckConfig$2(untrustedConfig) {
7722
8054
  const config = {};
7723
- typeCheckConfig$y(untrustedConfig, config, getSubscriptionDigestConfig_ConfigPropertyMetadata);
8055
+ typeCheckConfig$A(untrustedConfig, config, getSubscriptionDigestConfig_ConfigPropertyMetadata);
7724
8056
  return config;
7725
8057
  }
7726
8058
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7838,10 +8170,10 @@ const updateSubscriptionDigestConfig_ConfigPropertyMetadata = [
7838
8170
  generateParamConfigMetadata('scheduleType', true, 2 /* Body */, 0 /* String */),
7839
8171
  ];
7840
8172
  const updateSubscriptionDigestConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateSubscriptionDigestConfig_ConfigPropertyMetadata);
7841
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$y(updateSubscriptionDigestConfig_ConfigPropertyMetadata);
8173
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$A(updateSubscriptionDigestConfig_ConfigPropertyMetadata);
7842
8174
  function typeCheckConfig$1(untrustedConfig) {
7843
8175
  const config = {};
7844
- typeCheckConfig$y(untrustedConfig, config, updateSubscriptionDigestConfig_ConfigPropertyMetadata);
8176
+ typeCheckConfig$A(untrustedConfig, config, updateSubscriptionDigestConfig_ConfigPropertyMetadata);
7845
8177
  return config;
7846
8178
  }
7847
8179
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -8071,7 +8403,7 @@ const getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata = [
8071
8403
  generateParamConfigMetadata('searchToken', false, 2 /* Body */, 4 /* Unsupported */),
8072
8404
  ];
8073
8405
  const getUnifiedAnalyticsLibraryAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
8074
- const createResourceParams = /*#__PURE__*/ createResourceParams$y(getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
8406
+ const createResourceParams = /*#__PURE__*/ createResourceParams$A(getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
8075
8407
  function typeCheckConfig(untrustedConfig) {
8076
8408
  const config = {};
8077
8409
  const untrustedConfig_assetTypes = untrustedConfig.assetTypes;
@@ -8180,4 +8512,4 @@ const getUnifiedAnalyticsLibraryAssetsAdapterFactory = (luvio) => {
8180
8512
  };
8181
8513
  };
8182
8514
 
8183
- export { createAnnotationAdapterFactory, createAssetSlackChannelAdapterFactory, createDashboardAdapterFactory, createVisualizationAdapterFactory, createWorkspaceAdapterFactory, createWorkspaceAssetAdapterFactory, deleteDashboardAdapterFactory, deleteVisualizationAdapterFactory, deleteWorkspaceAdapterFactory, deleteWorkspaceAssetAdapterFactory, followAdapterFactory, getAnnotationsAdapterFactory, getAssetSlackChannelsAdapterFactory, getDashboardByNameAdapterFactory, getDashboardsAdapterFactory, getFlowByNameAdapterFactory, getFlowsAdapterFactory, getFollowedAssetsAdapterFactory, getFollowersAdapterFactory, getSlackAppInfoAdapterFactory, getSubscriptionDigestConfigAdapterFactory, getUnifiedAnalyticsLibraryAssetsAdapterFactory, getVisualizationAdapterFactory, getVisualizationBundleAdapterFactory, getVisualizationsAdapterFactory, getWorkspaceByIdOrNameAdapterFactory, getWorkspacesAdapterFactory, queryAssetsAdapterFactory, queryUsersAdapterFactory, unfollowAdapterFactory, updateDashboardAdapterFactory, updateSubscriptionDigestConfigAdapterFactory, updateVisualizationAdapterFactory, updateWorkspaceAdapterFactory };
8515
+ export { createAnnotationAdapterFactory, createAssetSlackChannelAdapterFactory, createDashboardAdapterFactory, createLoglinesAdapterFactory, createVisualizationAdapterFactory, createWorkspaceAdapterFactory, createWorkspaceAssetAdapterFactory, deleteDashboardAdapterFactory, deleteVisualizationAdapterFactory, deleteWorkspaceAdapterFactory, deleteWorkspaceAssetAdapterFactory, followAdapterFactory, getAnnotationsAdapterFactory, getAssetSlackChannelsAdapterFactory, getDashboardByNameAdapterFactory, getDashboardsAdapterFactory, getFlowByNameAdapterFactory, getFlowsAdapterFactory, getFollowedAssetsAdapterFactory, getFollowersAdapterFactory, getSlackAppInfoAdapterFactory, getSubscriptionDigestConfigAdapterFactory, getUnifiedAnalyticsLibraryAssetsAdapterFactory, getVisualizationAdapterFactory, getVisualizationBundleAdapterFactory, getVisualizationsAdapterFactory, getWorkspaceByIdOrNameAdapterFactory, getWorkspacesAdapterFactory, publishAdapterFactory, queryAssetsAdapterFactory, queryUsersAdapterFactory, unfollowAdapterFactory, updateDashboardAdapterFactory, updateSubscriptionDigestConfigAdapterFactory, updateVisualizationAdapterFactory, updateWorkspaceAdapterFactory };