@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev7 → 1.354.0-dev9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1607 -742
  2. package/dist/es/es2018/types/src/generated/adapters/deleteDataAlert.d.ts +14 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getDataAlert.d.ts +28 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getDataAlertCollection.d.ts +29 -0
  5. package/dist/es/es2018/types/src/generated/adapters/postDataAlertRun.d.ts +15 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -1
  8. package/dist/es/es2018/types/src/generated/resources/deleteTableauDataAlertsByDataAlertId.d.ts +12 -0
  9. package/dist/es/es2018/types/src/generated/resources/getTableauDataAlerts.d.ts +17 -0
  10. package/dist/es/es2018/types/src/generated/resources/getTableauDataAlertsByDataAlertId.d.ts +16 -0
  11. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsRunByDataAlertId.d.ts +12 -0
  12. package/dist/es/es2018/types/src/generated/types/DataAlertCollectionRepresentation.d.ts +45 -0
  13. package/dist/es/es2018/types/src/generated/types/DataAlertConditionRepresentation.d.ts +33 -0
  14. package/dist/es/es2018/types/src/generated/types/DataAlertContentRepresentation.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/types/DataAlertCronScheduleRepresentation.d.ts +29 -0
  16. package/dist/es/es2018/types/src/generated/types/DataAlertDailyScheduleRepresentation.d.ts +26 -0
  17. package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationRepresentation.d.ts +29 -0
  18. package/dist/es/es2018/types/src/generated/types/DataAlertMetricContentRepresentation.d.ts +32 -0
  19. package/dist/es/es2018/types/src/generated/types/DataAlertMetricValueRepresentation.d.ts +51 -0
  20. package/dist/es/es2018/types/src/generated/types/DataAlertNotificationRecipientsRepresentation.d.ts +29 -0
  21. package/dist/es/es2018/types/src/generated/types/DataAlertRawValueRepresentation.d.ts +32 -0
  22. package/dist/es/es2018/types/src/generated/types/DataAlertReceiversRepresentation.d.ts +28 -0
  23. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +21 -4
  24. package/dist/es/es2018/types/src/generated/types/DataAlertRunOutputRepresentation.d.ts +44 -0
  25. package/dist/es/es2018/types/src/generated/types/DataAlertScheduleRepresentation.d.ts +31 -0
  26. package/dist/es/es2018/types/src/generated/types/DataAlertThresholdsRepresentation.d.ts +32 -0
  27. package/dist/es/es2018/types/src/generated/types/DataAlertValueRepresentation.d.ts +28 -0
  28. package/dist/es/es2018/types/src/generated/types/DataAlertWeeklyScheduleRepresentation.d.ts +29 -0
  29. package/dist/es/es2018/types/src/generated/types/UnifiedFilterRepresentation.d.ts +34 -0
  30. package/package.json +3 -3
  31. package/sfdc/index.js +3317 -2382
  32. package/src/raml/api.raml +304 -7
  33. package/src/raml/luvio.raml +23 -1
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$U, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$o, typeCheckConfig as typeCheckConfig$U } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$Y, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$q, typeCheckConfig as typeCheckConfig$Y } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -93,9 +93,9 @@ function createLink(ref) {
93
93
  };
94
94
  }
95
95
 
96
- const TTL$p = 1000;
97
- const VERSION$B = "3c943f1d2e5251ceef13b3e2fdb5f916";
98
- function validate$17(obj, path = 'TableauExternalMonitoringEventItemRepresentation') {
96
+ const TTL$r = 1000;
97
+ const VERSION$D = "3c943f1d2e5251ceef13b3e2fdb5f916";
98
+ function validate$1g(obj, path = 'TableauExternalMonitoringEventItemRepresentation') {
99
99
  const v_error = (() => {
100
100
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
101
101
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -118,68 +118,68 @@ function validate$17(obj, path = 'TableauExternalMonitoringEventItemRepresentati
118
118
  })();
119
119
  return v_error === undefined ? null : v_error;
120
120
  }
121
- const RepresentationType$D = 'TableauExternalMonitoringEventItemRepresentation';
122
- function keyBuilder$1d(luvio, config) {
123
- return keyPrefix + '::' + RepresentationType$D + ':' + config.id;
121
+ const RepresentationType$F = 'TableauExternalMonitoringEventItemRepresentation';
122
+ function keyBuilder$1j(luvio, config) {
123
+ return keyPrefix + '::' + RepresentationType$F + ':' + config.id;
124
124
  }
125
- function keyBuilderFromType$k(luvio, object) {
125
+ function keyBuilderFromType$l(luvio, object) {
126
126
  const keyParams = {
127
127
  id: object.id
128
128
  };
129
- return keyBuilder$1d(luvio, keyParams);
129
+ return keyBuilder$1j(luvio, keyParams);
130
130
  }
131
- function normalize$B(input, existing, path, luvio, store, timestamp) {
131
+ function normalize$D(input, existing, path, luvio, store, timestamp) {
132
132
  return input;
133
133
  }
134
- const select$1m = function TableauExternalMonitoringEventItemRepresentationSelect() {
134
+ const select$1r = function TableauExternalMonitoringEventItemRepresentationSelect() {
135
135
  return {
136
136
  kind: 'Fragment',
137
- version: VERSION$B,
137
+ version: VERSION$D,
138
138
  private: [],
139
139
  opaque: true
140
140
  };
141
141
  };
142
- function equals$B(existing, incoming) {
142
+ function equals$D(existing, incoming) {
143
143
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
144
144
  return false;
145
145
  }
146
146
  return true;
147
147
  }
148
- const ingest$B = function TableauExternalMonitoringEventItemRepresentationIngest(input, path, luvio, store, timestamp) {
148
+ const ingest$D = function TableauExternalMonitoringEventItemRepresentationIngest(input, path, luvio, store, timestamp) {
149
149
  if (process.env.NODE_ENV !== 'production') {
150
- const validateError = validate$17(input);
150
+ const validateError = validate$1g(input);
151
151
  if (validateError !== null) {
152
152
  throw validateError;
153
153
  }
154
154
  }
155
- const key = keyBuilderFromType$k(luvio, input);
156
- const ttlToUse = TTL$p;
157
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UnifiedAnalytics", VERSION$B, RepresentationType$D, equals$B);
155
+ const key = keyBuilderFromType$l(luvio, input);
156
+ const ttlToUse = TTL$r;
157
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UnifiedAnalytics", VERSION$D, RepresentationType$F, equals$D);
158
158
  return createLink(key);
159
159
  };
160
- function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
160
+ function getTypeCacheKeys$D(rootKeySet, luvio, input, fullPathFactory) {
161
161
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
162
- const rootKey = keyBuilderFromType$k(luvio, input);
162
+ const rootKey = keyBuilderFromType$l(luvio, input);
163
163
  rootKeySet.set(rootKey, {
164
164
  namespace: keyPrefix,
165
- representationName: RepresentationType$D,
165
+ representationName: RepresentationType$F,
166
166
  mergeable: false
167
167
  });
168
168
  }
169
169
 
170
- function select$1l(luvio, params) {
171
- return select$1m();
170
+ function select$1q(luvio, params) {
171
+ return select$1r();
172
172
  }
173
- function getResponseCacheKeys$T(storeKeyMap, luvio, resourceParams, response) {
174
- getTypeCacheKeys$B(storeKeyMap, luvio, response);
173
+ function getResponseCacheKeys$X(storeKeyMap, luvio, resourceParams, response) {
174
+ getTypeCacheKeys$D(storeKeyMap, luvio, response);
175
175
  }
176
- function ingestSuccess$M(luvio, resourceParams, response) {
176
+ function ingestSuccess$P(luvio, resourceParams, response) {
177
177
  const { body } = response;
178
- const key = keyBuilderFromType$k(luvio, body);
179
- luvio.storeIngest(key, ingest$B, body);
178
+ const key = keyBuilderFromType$l(luvio, body);
179
+ luvio.storeIngest(key, ingest$D, body);
180
180
  const snapshot = luvio.storeLookup({
181
181
  recordId: key,
182
- node: select$1l(),
182
+ node: select$1q(),
183
183
  variables: {},
184
184
  });
185
185
  if (process.env.NODE_ENV !== 'production') {
@@ -190,7 +190,7 @@ function ingestSuccess$M(luvio, resourceParams, response) {
190
190
  deepFreeze(snapshot.data);
191
191
  return snapshot;
192
192
  }
193
- function createResourceRequest$T(config) {
193
+ function createResourceRequest$X(config) {
194
194
  const headers = {};
195
195
  return {
196
196
  baseUri: '/services/data/v64.0',
@@ -204,13 +204,13 @@ function createResourceRequest$T(config) {
204
204
  };
205
205
  }
206
206
 
207
- const adapterName$T = 'publish';
207
+ const adapterName$X = 'publish';
208
208
  const publish_ConfigPropertyMetadata = [
209
209
  generateParamConfigMetadata('events', true, 2 /* Body */, 4 /* Unsupported */, true),
210
210
  ];
211
- const publish_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, publish_ConfigPropertyMetadata);
212
- const createResourceParams$T = /*#__PURE__*/ createResourceParams$U(publish_ConfigPropertyMetadata);
213
- function typeCheckConfig$T(untrustedConfig) {
211
+ const publish_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, publish_ConfigPropertyMetadata);
212
+ const createResourceParams$X = /*#__PURE__*/ createResourceParams$Y(publish_ConfigPropertyMetadata);
213
+ function typeCheckConfig$X(untrustedConfig) {
214
214
  const config = {};
215
215
  const untrustedConfig_events = untrustedConfig.events;
216
216
  if (ArrayIsArray$1(untrustedConfig_events)) {
@@ -223,30 +223,30 @@ function typeCheckConfig$T(untrustedConfig) {
223
223
  }
224
224
  return config;
225
225
  }
226
- function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
226
+ function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
227
227
  if (!untrustedIsObject(untrustedConfig)) {
228
228
  return null;
229
229
  }
230
230
  if (process.env.NODE_ENV !== 'production') {
231
231
  validateConfig(untrustedConfig, configPropertyNames);
232
232
  }
233
- const config = typeCheckConfig$T(untrustedConfig);
233
+ const config = typeCheckConfig$X(untrustedConfig);
234
234
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
235
235
  return null;
236
236
  }
237
237
  return config;
238
238
  }
239
- function buildNetworkSnapshot$T(luvio, config, options) {
240
- const resourceParams = createResourceParams$T(config);
241
- const request = createResourceRequest$T(resourceParams);
239
+ function buildNetworkSnapshot$X(luvio, config, options) {
240
+ const resourceParams = createResourceParams$X(config);
241
+ const request = createResourceRequest$X(resourceParams);
242
242
  return luvio.dispatchResourceRequest(request, options)
243
243
  .then((response) => {
244
244
  return luvio.handleSuccessResponse(() => {
245
- const snapshot = ingestSuccess$M(luvio, resourceParams, response);
245
+ const snapshot = ingestSuccess$P(luvio, resourceParams, response);
246
246
  return luvio.storeBroadcast().then(() => snapshot);
247
247
  }, () => {
248
248
  const cache = new StoreKeyMap();
249
- getResponseCacheKeys$T(cache, luvio, resourceParams, response.body);
249
+ getResponseCacheKeys$X(cache, luvio, resourceParams, response.body);
250
250
  return cache;
251
251
  });
252
252
  }, (response) => {
@@ -256,16 +256,16 @@ function buildNetworkSnapshot$T(luvio, config, options) {
256
256
  }
257
257
  const publishAdapterFactory = (luvio) => {
258
258
  return function publish(untrustedConfig) {
259
- const config = validateAdapterConfig$T(untrustedConfig, publish_ConfigPropertyNames);
259
+ const config = validateAdapterConfig$X(untrustedConfig, publish_ConfigPropertyNames);
260
260
  // Invalid or incomplete config
261
261
  if (config === null) {
262
262
  throw new Error('Invalid config for "publish"');
263
263
  }
264
- return buildNetworkSnapshot$T(luvio, config);
264
+ return buildNetworkSnapshot$X(luvio, config);
265
265
  };
266
266
  };
267
267
 
268
- function validate$16(obj, path = 'DashboardAnnotationAnchorRepresentation') {
268
+ function validate$1f(obj, path = 'DashboardAnnotationAnchorRepresentation') {
269
269
  const v_error = (() => {
270
270
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
271
271
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -279,7 +279,7 @@ function validate$16(obj, path = 'DashboardAnnotationAnchorRepresentation') {
279
279
  return v_error === undefined ? null : v_error;
280
280
  }
281
281
 
282
- function validate$15(obj, path = 'AnnotationAssetRepresentation') {
282
+ function validate$1e(obj, path = 'AnnotationAssetRepresentation') {
283
283
  const v_error = (() => {
284
284
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
285
285
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -298,7 +298,7 @@ function validate$15(obj, path = 'AnnotationAssetRepresentation') {
298
298
  return v_error === undefined ? null : v_error;
299
299
  }
300
300
 
301
- function validate$14(obj, path = 'FileTypeOutputRepresentation') {
301
+ function validate$1d(obj, path = 'FileTypeOutputRepresentation') {
302
302
  const v_error = (() => {
303
303
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
304
304
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -317,7 +317,7 @@ function validate$14(obj, path = 'FileTypeOutputRepresentation') {
317
317
  return v_error === undefined ? null : v_error;
318
318
  }
319
319
 
320
- function validate$13(obj, path = 'ContentVersionOutputRepresentation') {
320
+ function validate$1c(obj, path = 'ContentVersionOutputRepresentation') {
321
321
  const v_error = (() => {
322
322
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
323
323
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -331,7 +331,7 @@ function validate$13(obj, path = 'ContentVersionOutputRepresentation') {
331
331
  const path_filetype = path + '.filetype';
332
332
  let obj_filetype_union0 = null;
333
333
  const obj_filetype_union0_error = (() => {
334
- const referencepath_filetypeValidationError = validate$14(obj_filetype, path_filetype);
334
+ const referencepath_filetypeValidationError = validate$1d(obj_filetype, path_filetype);
335
335
  if (referencepath_filetypeValidationError !== null) {
336
336
  let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
337
337
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -401,14 +401,14 @@ function validate$13(obj, path = 'ContentVersionOutputRepresentation') {
401
401
  return v_error === undefined ? null : v_error;
402
402
  }
403
403
 
404
- function validate$12(obj, path = 'ContentDocumentOutputRepresentation') {
404
+ function validate$1b(obj, path = 'ContentDocumentOutputRepresentation') {
405
405
  const v_error = (() => {
406
406
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
407
407
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
408
408
  }
409
409
  const obj_filetype = obj.filetype;
410
410
  const path_filetype = path + '.filetype';
411
- const referencepath_filetypeValidationError = validate$14(obj_filetype, path_filetype);
411
+ const referencepath_filetypeValidationError = validate$1d(obj_filetype, path_filetype);
412
412
  if (referencepath_filetypeValidationError !== null) {
413
413
  let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
414
414
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -421,7 +421,7 @@ function validate$12(obj, path = 'ContentDocumentOutputRepresentation') {
421
421
  }
422
422
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
423
423
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
424
- const referencepath_latestPublishedVersionValidationError = validate$13(obj_latestPublishedVersion, path_latestPublishedVersion);
424
+ const referencepath_latestPublishedVersionValidationError = validate$1c(obj_latestPublishedVersion, path_latestPublishedVersion);
425
425
  if (referencepath_latestPublishedVersionValidationError !== null) {
426
426
  let message = 'Object doesn\'t match ContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
427
427
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -441,7 +441,7 @@ function validate$12(obj, path = 'ContentDocumentOutputRepresentation') {
441
441
  return v_error === undefined ? null : v_error;
442
442
  }
443
443
 
444
- function validate$11(obj, path = 'SlackFileOutputRepresentation') {
444
+ function validate$1a(obj, path = 'SlackFileOutputRepresentation') {
445
445
  const v_error = (() => {
446
446
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
447
447
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -450,7 +450,7 @@ function validate$11(obj, path = 'SlackFileOutputRepresentation') {
450
450
  const path_contentDocument = path + '.contentDocument';
451
451
  let obj_contentDocument_union0 = null;
452
452
  const obj_contentDocument_union0_error = (() => {
453
- const referencepath_contentDocumentValidationError = validate$12(obj_contentDocument, path_contentDocument);
453
+ const referencepath_contentDocumentValidationError = validate$1b(obj_contentDocument, path_contentDocument);
454
454
  if (referencepath_contentDocumentValidationError !== null) {
455
455
  let message = 'Object doesn\'t match ContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
456
456
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -550,7 +550,7 @@ function validate$11(obj, path = 'SlackFileOutputRepresentation') {
550
550
  return v_error === undefined ? null : v_error;
551
551
  }
552
552
 
553
- function validate$10(obj, path = 'SlackEmojiOutputRepresentation') {
553
+ function validate$19(obj, path = 'SlackEmojiOutputRepresentation') {
554
554
  const v_error = (() => {
555
555
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
556
556
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -674,7 +674,7 @@ function validate$10(obj, path = 'SlackEmojiOutputRepresentation') {
674
674
  return v_error === undefined ? null : v_error;
675
675
  }
676
676
 
677
- function validate$$(obj, path = 'SlackUserInfoOutputRepresentation') {
677
+ function validate$18(obj, path = 'SlackUserInfoOutputRepresentation') {
678
678
  const v_error = (() => {
679
679
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
680
680
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1001,7 +1001,7 @@ function validate$$(obj, path = 'SlackUserInfoOutputRepresentation') {
1001
1001
  const path_statusEmoji = path + '.statusEmoji';
1002
1002
  let obj_statusEmoji_union0 = null;
1003
1003
  const obj_statusEmoji_union0_error = (() => {
1004
- const referencepath_statusEmojiValidationError = validate$10(obj_statusEmoji, path_statusEmoji);
1004
+ const referencepath_statusEmojiValidationError = validate$19(obj_statusEmoji, path_statusEmoji);
1005
1005
  if (referencepath_statusEmojiValidationError !== null) {
1006
1006
  let message = 'Object doesn\'t match SlackEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
1007
1007
  message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1064,7 +1064,7 @@ function validate$$(obj, path = 'SlackUserInfoOutputRepresentation') {
1064
1064
  return v_error === undefined ? null : v_error;
1065
1065
  }
1066
1066
 
1067
- function validate$_(obj, path = 'SlackReactionOutputRepresentation') {
1067
+ function validate$17(obj, path = 'SlackReactionOutputRepresentation') {
1068
1068
  const v_error = (() => {
1069
1069
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1070
1070
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1144,7 +1144,7 @@ function validate$_(obj, path = 'SlackReactionOutputRepresentation') {
1144
1144
  for (let i = 0; i < obj_reactedUsers.length; i++) {
1145
1145
  const obj_reactedUsers_item = obj_reactedUsers[i];
1146
1146
  const path_reactedUsers_item = path_reactedUsers + '[' + i + ']';
1147
- const referencepath_reactedUsers_itemValidationError = validate$$(obj_reactedUsers_item, path_reactedUsers_item);
1147
+ const referencepath_reactedUsers_itemValidationError = validate$18(obj_reactedUsers_item, path_reactedUsers_item);
1148
1148
  if (referencepath_reactedUsers_itemValidationError !== null) {
1149
1149
  let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_reactedUsers_item + '")\n';
1150
1150
  message += referencepath_reactedUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1233,7 +1233,7 @@ function validate$_(obj, path = 'SlackReactionOutputRepresentation') {
1233
1233
  return v_error === undefined ? null : v_error;
1234
1234
  }
1235
1235
 
1236
- function validate$Z(obj, path = 'SlackMessageOutputRepresentation') {
1236
+ function validate$16(obj, path = 'SlackMessageOutputRepresentation') {
1237
1237
  const v_error = (() => {
1238
1238
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1239
1239
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1282,7 +1282,7 @@ function validate$Z(obj, path = 'SlackMessageOutputRepresentation') {
1282
1282
  for (let i = 0; i < obj_files.length; i++) {
1283
1283
  const obj_files_item = obj_files[i];
1284
1284
  const path_files_item = path_files + '[' + i + ']';
1285
- const referencepath_files_itemValidationError = validate$11(obj_files_item, path_files_item);
1285
+ const referencepath_files_itemValidationError = validate$1a(obj_files_item, path_files_item);
1286
1286
  if (referencepath_files_itemValidationError !== null) {
1287
1287
  let message = 'Object doesn\'t match SlackFileOutputRepresentation (at "' + path_files_item + '")\n';
1288
1288
  message += referencepath_files_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1443,7 +1443,7 @@ function validate$Z(obj, path = 'SlackMessageOutputRepresentation') {
1443
1443
  for (let i = 0; i < obj_reactions.length; i++) {
1444
1444
  const obj_reactions_item = obj_reactions[i];
1445
1445
  const path_reactions_item = path_reactions + '[' + i + ']';
1446
- const referencepath_reactions_itemValidationError = validate$_(obj_reactions_item, path_reactions_item);
1446
+ const referencepath_reactions_itemValidationError = validate$17(obj_reactions_item, path_reactions_item);
1447
1447
  if (referencepath_reactions_itemValidationError !== null) {
1448
1448
  let message = 'Object doesn\'t match SlackReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
1449
1449
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1484,7 +1484,7 @@ function validate$Z(obj, path = 'SlackMessageOutputRepresentation') {
1484
1484
  for (let i = 0; i < obj_replyUsers.length; i++) {
1485
1485
  const obj_replyUsers_item = obj_replyUsers[i];
1486
1486
  const path_replyUsers_item = path_replyUsers + '[' + i + ']';
1487
- const referencepath_replyUsers_itemValidationError = validate$$(obj_replyUsers_item, path_replyUsers_item);
1487
+ const referencepath_replyUsers_itemValidationError = validate$18(obj_replyUsers_item, path_replyUsers_item);
1488
1488
  if (referencepath_replyUsers_itemValidationError !== null) {
1489
1489
  let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_replyUsers_item + '")\n';
1490
1490
  message += referencepath_replyUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1617,7 +1617,7 @@ function validate$Z(obj, path = 'SlackMessageOutputRepresentation') {
1617
1617
  }
1618
1618
  const obj_userInfo = obj.userInfo;
1619
1619
  const path_userInfo = path + '.userInfo';
1620
- const referencepath_userInfoValidationError = validate$$(obj_userInfo, path_userInfo);
1620
+ const referencepath_userInfoValidationError = validate$18(obj_userInfo, path_userInfo);
1621
1621
  if (referencepath_userInfoValidationError !== null) {
1622
1622
  let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_userInfo + '")\n';
1623
1623
  message += referencepath_userInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1627,7 +1627,7 @@ function validate$Z(obj, path = 'SlackMessageOutputRepresentation') {
1627
1627
  return v_error === undefined ? null : v_error;
1628
1628
  }
1629
1629
 
1630
- function validate$Y(obj, path = 'AnnotationConversationRepresentation') {
1630
+ function validate$15(obj, path = 'AnnotationConversationRepresentation') {
1631
1631
  const v_error = (() => {
1632
1632
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1633
1633
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1652,7 +1652,7 @@ function validate$Y(obj, path = 'AnnotationConversationRepresentation') {
1652
1652
  const path_message = path + '.message';
1653
1653
  let obj_message_union0 = null;
1654
1654
  const obj_message_union0_error = (() => {
1655
- const referencepath_messageValidationError = validate$Z(obj_message, path_message);
1655
+ const referencepath_messageValidationError = validate$16(obj_message, path_message);
1656
1656
  if (referencepath_messageValidationError !== null) {
1657
1657
  let message = 'Object doesn\'t match SlackMessageOutputRepresentation (at "' + path_message + '")\n';
1658
1658
  message += referencepath_messageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1687,9 +1687,9 @@ function validate$Y(obj, path = 'AnnotationConversationRepresentation') {
1687
1687
  return v_error === undefined ? null : v_error;
1688
1688
  }
1689
1689
 
1690
- const TTL$o = 1000;
1691
- const VERSION$A = "bacc25da56cffff8126d9bdafc471a37";
1692
- function validate$X(obj, path = 'AnnotationRepresentation') {
1690
+ const TTL$q = 1000;
1691
+ const VERSION$C = "bacc25da56cffff8126d9bdafc471a37";
1692
+ function validate$14(obj, path = 'AnnotationRepresentation') {
1693
1693
  const v_error = (() => {
1694
1694
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1695
1695
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1697,7 +1697,7 @@ function validate$X(obj, path = 'AnnotationRepresentation') {
1697
1697
  if (obj.anchor !== undefined) {
1698
1698
  const obj_anchor = obj.anchor;
1699
1699
  const path_anchor = path + '.anchor';
1700
- const referencepath_anchorValidationError = validate$16(obj_anchor, path_anchor);
1700
+ const referencepath_anchorValidationError = validate$1f(obj_anchor, path_anchor);
1701
1701
  if (referencepath_anchorValidationError !== null) {
1702
1702
  let message = 'Object doesn\'t match DashboardAnnotationAnchorRepresentation (at "' + path_anchor + '")\n';
1703
1703
  message += referencepath_anchorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1711,7 +1711,7 @@ function validate$X(obj, path = 'AnnotationRepresentation') {
1711
1711
  }
1712
1712
  const obj_asset = obj.asset;
1713
1713
  const path_asset = path + '.asset';
1714
- const referencepath_assetValidationError = validate$15(obj_asset, path_asset);
1714
+ const referencepath_assetValidationError = validate$1e(obj_asset, path_asset);
1715
1715
  if (referencepath_assetValidationError !== null) {
1716
1716
  let message = 'Object doesn\'t match AnnotationAssetRepresentation (at "' + path_asset + '")\n';
1717
1717
  message += referencepath_assetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1719,7 +1719,7 @@ function validate$X(obj, path = 'AnnotationRepresentation') {
1719
1719
  }
1720
1720
  const obj_collaborationObject = obj.collaborationObject;
1721
1721
  const path_collaborationObject = path + '.collaborationObject';
1722
- const referencepath_collaborationObjectValidationError = validate$Y(obj_collaborationObject, path_collaborationObject);
1722
+ const referencepath_collaborationObjectValidationError = validate$15(obj_collaborationObject, path_collaborationObject);
1723
1723
  if (referencepath_collaborationObjectValidationError !== null) {
1724
1724
  let message = 'Object doesn\'t match AnnotationConversationRepresentation (at "' + path_collaborationObject + '")\n';
1725
1725
  message += referencepath_collaborationObjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1738,58 +1738,58 @@ function validate$X(obj, path = 'AnnotationRepresentation') {
1738
1738
  })();
1739
1739
  return v_error === undefined ? null : v_error;
1740
1740
  }
1741
- const RepresentationType$C = 'AnnotationRepresentation';
1742
- function keyBuilder$1c(luvio, config) {
1743
- return keyPrefix + '::' + RepresentationType$C + ':' + config.id;
1741
+ const RepresentationType$E = 'AnnotationRepresentation';
1742
+ function keyBuilder$1i(luvio, config) {
1743
+ return keyPrefix + '::' + RepresentationType$E + ':' + config.id;
1744
1744
  }
1745
- function keyBuilderFromType$j(luvio, object) {
1745
+ function keyBuilderFromType$k(luvio, object) {
1746
1746
  const keyParams = {
1747
1747
  id: object.id
1748
1748
  };
1749
- return keyBuilder$1c(luvio, keyParams);
1749
+ return keyBuilder$1i(luvio, keyParams);
1750
1750
  }
1751
- function normalize$A(input, existing, path, luvio, store, timestamp) {
1751
+ function normalize$C(input, existing, path, luvio, store, timestamp) {
1752
1752
  return input;
1753
1753
  }
1754
- const select$1k = function AnnotationRepresentationSelect() {
1754
+ const select$1p = function AnnotationRepresentationSelect() {
1755
1755
  return {
1756
1756
  kind: 'Fragment',
1757
- version: VERSION$A,
1757
+ version: VERSION$C,
1758
1758
  private: [],
1759
1759
  opaque: true
1760
1760
  };
1761
1761
  };
1762
- function equals$A(existing, incoming) {
1762
+ function equals$C(existing, incoming) {
1763
1763
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1764
1764
  return false;
1765
1765
  }
1766
1766
  return true;
1767
1767
  }
1768
- const ingest$A = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
1768
+ const ingest$C = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
1769
1769
  if (process.env.NODE_ENV !== 'production') {
1770
- const validateError = validate$X(input);
1770
+ const validateError = validate$14(input);
1771
1771
  if (validateError !== null) {
1772
1772
  throw validateError;
1773
1773
  }
1774
1774
  }
1775
- const key = keyBuilderFromType$j(luvio, input);
1776
- const ttlToUse = TTL$o;
1777
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UnifiedAnalytics", VERSION$A, RepresentationType$C, equals$A);
1775
+ const key = keyBuilderFromType$k(luvio, input);
1776
+ const ttlToUse = TTL$q;
1777
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UnifiedAnalytics", VERSION$C, RepresentationType$E, equals$C);
1778
1778
  return createLink(key);
1779
1779
  };
1780
- function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
1780
+ function getTypeCacheKeys$C(rootKeySet, luvio, input, fullPathFactory) {
1781
1781
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1782
- const rootKey = keyBuilderFromType$j(luvio, input);
1782
+ const rootKey = keyBuilderFromType$k(luvio, input);
1783
1783
  rootKeySet.set(rootKey, {
1784
1784
  namespace: keyPrefix,
1785
- representationName: RepresentationType$C,
1785
+ representationName: RepresentationType$E,
1786
1786
  mergeable: false
1787
1787
  });
1788
1788
  }
1789
1789
 
1790
- const TTL$n = 1000;
1791
- const VERSION$z = "a80c8e970184cc7789e13f69392d6203";
1792
- function validate$W(obj, path = 'AnnotationCollectionRepresentation') {
1790
+ const TTL$p = 1000;
1791
+ const VERSION$B = "a80c8e970184cc7789e13f69392d6203";
1792
+ function validate$13(obj, path = 'AnnotationCollectionRepresentation') {
1793
1793
  const v_error = (() => {
1794
1794
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1795
1795
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1814,14 +1814,14 @@ function validate$W(obj, path = 'AnnotationCollectionRepresentation') {
1814
1814
  })();
1815
1815
  return v_error === undefined ? null : v_error;
1816
1816
  }
1817
- const RepresentationType$B = 'AnnotationCollectionRepresentation';
1818
- function normalize$z(input, existing, path, luvio, store, timestamp) {
1817
+ const RepresentationType$D = 'AnnotationCollectionRepresentation';
1818
+ function normalize$B(input, existing, path, luvio, store, timestamp) {
1819
1819
  const input_annotations = input.annotations;
1820
1820
  const input_annotations_id = path.fullPath + '__annotations';
1821
1821
  for (let i = 0; i < input_annotations.length; i++) {
1822
1822
  const input_annotations_item = input_annotations[i];
1823
1823
  let input_annotations_item_id = input_annotations_id + '__' + i;
1824
- input_annotations[i] = ingest$A(input_annotations_item, {
1824
+ input_annotations[i] = ingest$C(input_annotations_item, {
1825
1825
  fullPath: input_annotations_item_id,
1826
1826
  propertyName: i,
1827
1827
  parent: {
@@ -1834,17 +1834,17 @@ function normalize$z(input, existing, path, luvio, store, timestamp) {
1834
1834
  }
1835
1835
  return input;
1836
1836
  }
1837
- const select$1j = function AnnotationCollectionRepresentationSelect() {
1837
+ const select$1o = function AnnotationCollectionRepresentationSelect() {
1838
1838
  return {
1839
1839
  kind: 'Fragment',
1840
- version: VERSION$z,
1840
+ version: VERSION$B,
1841
1841
  private: [],
1842
1842
  selections: [
1843
1843
  {
1844
1844
  name: 'annotations',
1845
1845
  kind: 'Link',
1846
1846
  plural: true,
1847
- fragment: select$1k()
1847
+ fragment: select$1p()
1848
1848
  },
1849
1849
  {
1850
1850
  name: 'total',
@@ -1853,7 +1853,7 @@ const select$1j = function AnnotationCollectionRepresentationSelect() {
1853
1853
  ]
1854
1854
  };
1855
1855
  };
1856
- function equals$z(existing, incoming) {
1856
+ function equals$B(existing, incoming) {
1857
1857
  const existing_total = existing.total;
1858
1858
  const incoming_total = incoming.total;
1859
1859
  if (!(existing_total === incoming_total)) {
@@ -1871,48 +1871,48 @@ function equals$z(existing, incoming) {
1871
1871
  }
1872
1872
  return true;
1873
1873
  }
1874
- const ingest$z = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1874
+ const ingest$B = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
1875
1875
  if (process.env.NODE_ENV !== 'production') {
1876
- const validateError = validate$W(input);
1876
+ const validateError = validate$13(input);
1877
1877
  if (validateError !== null) {
1878
1878
  throw validateError;
1879
1879
  }
1880
1880
  }
1881
1881
  const key = path.fullPath;
1882
- const ttlToUse = TTL$n;
1883
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UnifiedAnalytics", VERSION$z, RepresentationType$B, equals$z);
1882
+ const ttlToUse = TTL$p;
1883
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UnifiedAnalytics", VERSION$B, RepresentationType$D, equals$B);
1884
1884
  return createLink(key);
1885
1885
  };
1886
- function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
1886
+ function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
1887
1887
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1888
1888
  const rootKey = fullPathFactory();
1889
1889
  rootKeySet.set(rootKey, {
1890
1890
  namespace: keyPrefix,
1891
- representationName: RepresentationType$B,
1891
+ representationName: RepresentationType$D,
1892
1892
  mergeable: false
1893
1893
  });
1894
1894
  const input_annotations_length = input.annotations.length;
1895
1895
  for (let i = 0; i < input_annotations_length; i++) {
1896
- getTypeCacheKeys$A(rootKeySet, luvio, input.annotations[i]);
1896
+ getTypeCacheKeys$C(rootKeySet, luvio, input.annotations[i]);
1897
1897
  }
1898
1898
  }
1899
1899
 
1900
- function select$1i(luvio, params) {
1901
- return select$1j();
1900
+ function select$1n(luvio, params) {
1901
+ return select$1o();
1902
1902
  }
1903
- function keyBuilder$1b(luvio, params) {
1903
+ function keyBuilder$1h(luvio, params) {
1904
1904
  return keyPrefix + '::AnnotationCollectionRepresentation:(' + 'assetIds:' + params.queryParams.assetIds + ',' + 'includeTopMessage:' + params.queryParams.includeTopMessage + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'slackAppId:' + params.queryParams.slackAppId + ')';
1905
1905
  }
1906
- function getResponseCacheKeys$S(storeKeyMap, luvio, resourceParams, response) {
1907
- getTypeCacheKeys$z(storeKeyMap, luvio, response, () => keyBuilder$1b(luvio, resourceParams));
1906
+ function getResponseCacheKeys$W(storeKeyMap, luvio, resourceParams, response) {
1907
+ getTypeCacheKeys$B(storeKeyMap, luvio, response, () => keyBuilder$1h(luvio, resourceParams));
1908
1908
  }
1909
- function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
1909
+ function ingestSuccess$O(luvio, resourceParams, response, snapshotRefresh) {
1910
1910
  const { body } = response;
1911
- const key = keyBuilder$1b(luvio, resourceParams);
1912
- luvio.storeIngest(key, ingest$z, body);
1911
+ const key = keyBuilder$1h(luvio, resourceParams);
1912
+ luvio.storeIngest(key, ingest$B, body);
1913
1913
  const snapshot = luvio.storeLookup({
1914
1914
  recordId: key,
1915
- node: select$1i(),
1915
+ node: select$1n(),
1916
1916
  variables: {},
1917
1917
  }, snapshotRefresh);
1918
1918
  if (process.env.NODE_ENV !== 'production') {
@@ -1923,19 +1923,19 @@ function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
1923
1923
  deepFreeze(snapshot.data);
1924
1924
  return snapshot;
1925
1925
  }
1926
- function ingestError$n(luvio, params, error, snapshotRefresh) {
1927
- const key = keyBuilder$1b(luvio, params);
1926
+ function ingestError$p(luvio, params, error, snapshotRefresh) {
1927
+ const key = keyBuilder$1h(luvio, params);
1928
1928
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1929
1929
  const storeMetadataParams = {
1930
- ttl: TTL$n,
1930
+ ttl: TTL$p,
1931
1931
  namespace: keyPrefix,
1932
- version: VERSION$z,
1933
- representationName: RepresentationType$B
1932
+ version: VERSION$B,
1933
+ representationName: RepresentationType$D
1934
1934
  };
1935
1935
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1936
1936
  return errorSnapshot;
1937
1937
  }
1938
- function createResourceRequest$S(config) {
1938
+ function createResourceRequest$W(config) {
1939
1939
  const headers = {};
1940
1940
  return {
1941
1941
  baseUri: '/services/data/v64.0',
@@ -1949,7 +1949,7 @@ function createResourceRequest$S(config) {
1949
1949
  };
1950
1950
  }
1951
1951
 
1952
- const adapterName$S = 'getAnnotations';
1952
+ const adapterName$W = 'getAnnotations';
1953
1953
  const getAnnotations_ConfigPropertyMetadata = [
1954
1954
  generateParamConfigMetadata('assetIds', false, 1 /* QueryParameter */, 0 /* String */, true),
1955
1955
  generateParamConfigMetadata('includeTopMessage', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -1957,101 +1957,101 @@ const getAnnotations_ConfigPropertyMetadata = [
1957
1957
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1958
1958
  generateParamConfigMetadata('slackAppId', false, 1 /* QueryParameter */, 0 /* String */),
1959
1959
  ];
1960
- const getAnnotations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$S, getAnnotations_ConfigPropertyMetadata);
1961
- const createResourceParams$S = /*#__PURE__*/ createResourceParams$U(getAnnotations_ConfigPropertyMetadata);
1962
- function keyBuilder$1a(luvio, config) {
1963
- const resourceParams = createResourceParams$S(config);
1964
- return keyBuilder$1b(luvio, resourceParams);
1960
+ const getAnnotations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, getAnnotations_ConfigPropertyMetadata);
1961
+ const createResourceParams$W = /*#__PURE__*/ createResourceParams$Y(getAnnotations_ConfigPropertyMetadata);
1962
+ function keyBuilder$1g(luvio, config) {
1963
+ const resourceParams = createResourceParams$W(config);
1964
+ return keyBuilder$1h(luvio, resourceParams);
1965
1965
  }
1966
- function typeCheckConfig$S(untrustedConfig) {
1966
+ function typeCheckConfig$W(untrustedConfig) {
1967
1967
  const config = {};
1968
- typeCheckConfig$U(untrustedConfig, config, getAnnotations_ConfigPropertyMetadata);
1968
+ typeCheckConfig$Y(untrustedConfig, config, getAnnotations_ConfigPropertyMetadata);
1969
1969
  return config;
1970
1970
  }
1971
- function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
1971
+ function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
1972
1972
  if (!untrustedIsObject(untrustedConfig)) {
1973
1973
  return null;
1974
1974
  }
1975
1975
  if (process.env.NODE_ENV !== 'production') {
1976
1976
  validateConfig(untrustedConfig, configPropertyNames);
1977
1977
  }
1978
- const config = typeCheckConfig$S(untrustedConfig);
1978
+ const config = typeCheckConfig$W(untrustedConfig);
1979
1979
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1980
1980
  return null;
1981
1981
  }
1982
1982
  return config;
1983
1983
  }
1984
- function adapterFragment$n(luvio, config) {
1985
- createResourceParams$S(config);
1986
- return select$1i();
1984
+ function adapterFragment$p(luvio, config) {
1985
+ createResourceParams$W(config);
1986
+ return select$1n();
1987
1987
  }
1988
- function onFetchResponseSuccess$n(luvio, config, resourceParams, response) {
1989
- const snapshot = ingestSuccess$L(luvio, resourceParams, response, {
1988
+ function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
1989
+ const snapshot = ingestSuccess$O(luvio, resourceParams, response, {
1990
1990
  config,
1991
- resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
1991
+ resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
1992
1992
  });
1993
1993
  return luvio.storeBroadcast().then(() => snapshot);
1994
1994
  }
1995
- function onFetchResponseError$n(luvio, config, resourceParams, response) {
1996
- const snapshot = ingestError$n(luvio, resourceParams, response, {
1995
+ function onFetchResponseError$p(luvio, config, resourceParams, response) {
1996
+ const snapshot = ingestError$p(luvio, resourceParams, response, {
1997
1997
  config,
1998
- resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
1998
+ resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
1999
1999
  });
2000
2000
  return luvio.storeBroadcast().then(() => snapshot);
2001
2001
  }
2002
- function buildNetworkSnapshot$S(luvio, config, options) {
2003
- const resourceParams = createResourceParams$S(config);
2004
- const request = createResourceRequest$S(resourceParams);
2002
+ function buildNetworkSnapshot$W(luvio, config, options) {
2003
+ const resourceParams = createResourceParams$W(config);
2004
+ const request = createResourceRequest$W(resourceParams);
2005
2005
  return luvio.dispatchResourceRequest(request, options)
2006
2006
  .then((response) => {
2007
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$n(luvio, config, resourceParams, response), () => {
2007
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$p(luvio, config, resourceParams, response), () => {
2008
2008
  const cache = new StoreKeyMap();
2009
- getResponseCacheKeys$S(cache, luvio, resourceParams, response.body);
2009
+ getResponseCacheKeys$W(cache, luvio, resourceParams, response.body);
2010
2010
  return cache;
2011
2011
  });
2012
2012
  }, (response) => {
2013
- return luvio.handleErrorResponse(() => onFetchResponseError$n(luvio, config, resourceParams, response));
2013
+ return luvio.handleErrorResponse(() => onFetchResponseError$p(luvio, config, resourceParams, response));
2014
2014
  });
2015
2015
  }
2016
- function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext) {
2017
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$S, undefined, false);
2016
+ function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext) {
2017
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$W, undefined, false);
2018
2018
  }
2019
- function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
2019
+ function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
2020
2020
  const { luvio, config } = context;
2021
2021
  const selector = {
2022
- recordId: keyBuilder$1a(luvio, config),
2023
- node: adapterFragment$n(luvio, config),
2022
+ recordId: keyBuilder$1g(luvio, config),
2023
+ node: adapterFragment$p(luvio, config),
2024
2024
  variables: {},
2025
2025
  };
2026
2026
  const cacheSnapshot = storeLookup(selector, {
2027
2027
  config,
2028
- resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
2028
+ resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
2029
2029
  });
2030
2030
  return cacheSnapshot;
2031
2031
  }
2032
2032
  const getAnnotationsAdapterFactory = (luvio) => function UnifiedAnalytics__getAnnotations(untrustedConfig, requestContext) {
2033
- const config = validateAdapterConfig$S(untrustedConfig, getAnnotations_ConfigPropertyNames);
2033
+ const config = validateAdapterConfig$W(untrustedConfig, getAnnotations_ConfigPropertyNames);
2034
2034
  // Invalid or incomplete config
2035
2035
  if (config === null) {
2036
2036
  return null;
2037
2037
  }
2038
2038
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2039
- buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
2039
+ buildCachedSnapshotCachePolicy$p, buildNetworkSnapshotCachePolicy$p);
2040
2040
  };
2041
2041
 
2042
- function select$1h(luvio, params) {
2043
- return select$1k();
2042
+ function select$1m(luvio, params) {
2043
+ return select$1p();
2044
2044
  }
2045
- function getResponseCacheKeys$R(storeKeyMap, luvio, resourceParams, response) {
2046
- getTypeCacheKeys$A(storeKeyMap, luvio, response);
2045
+ function getResponseCacheKeys$V(storeKeyMap, luvio, resourceParams, response) {
2046
+ getTypeCacheKeys$C(storeKeyMap, luvio, response);
2047
2047
  }
2048
- function ingestSuccess$K(luvio, resourceParams, response) {
2048
+ function ingestSuccess$N(luvio, resourceParams, response) {
2049
2049
  const { body } = response;
2050
- const key = keyBuilderFromType$j(luvio, body);
2051
- luvio.storeIngest(key, ingest$A, body);
2050
+ const key = keyBuilderFromType$k(luvio, body);
2051
+ luvio.storeIngest(key, ingest$C, body);
2052
2052
  const snapshot = luvio.storeLookup({
2053
2053
  recordId: key,
2054
- node: select$1h(),
2054
+ node: select$1m(),
2055
2055
  variables: {},
2056
2056
  });
2057
2057
  if (process.env.NODE_ENV !== 'production') {
@@ -2062,7 +2062,7 @@ function ingestSuccess$K(luvio, resourceParams, response) {
2062
2062
  deepFreeze(snapshot.data);
2063
2063
  return snapshot;
2064
2064
  }
2065
- function createResourceRequest$R(config) {
2065
+ function createResourceRequest$V(config) {
2066
2066
  const headers = {};
2067
2067
  return {
2068
2068
  baseUri: '/services/data/v64.0',
@@ -2076,7 +2076,7 @@ function createResourceRequest$R(config) {
2076
2076
  };
2077
2077
  }
2078
2078
 
2079
- const adapterName$R = 'createAnnotation';
2079
+ const adapterName$V = 'createAnnotation';
2080
2080
  const createAnnotation_ConfigPropertyMetadata = [
2081
2081
  generateParamConfigMetadata('anchor', false, 2 /* Body */, 4 /* Unsupported */),
2082
2082
  generateParamConfigMetadata('annotationTool', true, 2 /* Body */, 0 /* String */),
@@ -2085,41 +2085,41 @@ const createAnnotation_ConfigPropertyMetadata = [
2085
2085
  generateParamConfigMetadata('collaborationObject', true, 2 /* Body */, 4 /* Unsupported */),
2086
2086
  generateParamConfigMetadata('status', true, 2 /* Body */, 0 /* String */),
2087
2087
  ];
2088
- const createAnnotation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$R, createAnnotation_ConfigPropertyMetadata);
2089
- const createResourceParams$R = /*#__PURE__*/ createResourceParams$U(createAnnotation_ConfigPropertyMetadata);
2090
- function typeCheckConfig$R(untrustedConfig) {
2088
+ const createAnnotation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$V, createAnnotation_ConfigPropertyMetadata);
2089
+ const createResourceParams$V = /*#__PURE__*/ createResourceParams$Y(createAnnotation_ConfigPropertyMetadata);
2090
+ function typeCheckConfig$V(untrustedConfig) {
2091
2091
  const config = {};
2092
- typeCheckConfig$U(untrustedConfig, config, createAnnotation_ConfigPropertyMetadata);
2092
+ typeCheckConfig$Y(untrustedConfig, config, createAnnotation_ConfigPropertyMetadata);
2093
2093
  const untrustedConfig_anchor = untrustedConfig.anchor;
2094
2094
  config.anchor = untrustedConfig_anchor;
2095
2095
  const untrustedConfig_collaborationObject = untrustedConfig.collaborationObject;
2096
2096
  config.collaborationObject = untrustedConfig_collaborationObject;
2097
2097
  return config;
2098
2098
  }
2099
- function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
2099
+ function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
2100
2100
  if (!untrustedIsObject(untrustedConfig)) {
2101
2101
  return null;
2102
2102
  }
2103
2103
  if (process.env.NODE_ENV !== 'production') {
2104
2104
  validateConfig(untrustedConfig, configPropertyNames);
2105
2105
  }
2106
- const config = typeCheckConfig$R(untrustedConfig);
2106
+ const config = typeCheckConfig$V(untrustedConfig);
2107
2107
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2108
2108
  return null;
2109
2109
  }
2110
2110
  return config;
2111
2111
  }
2112
- function buildNetworkSnapshot$R(luvio, config, options) {
2113
- const resourceParams = createResourceParams$R(config);
2114
- const request = createResourceRequest$R(resourceParams);
2112
+ function buildNetworkSnapshot$V(luvio, config, options) {
2113
+ const resourceParams = createResourceParams$V(config);
2114
+ const request = createResourceRequest$V(resourceParams);
2115
2115
  return luvio.dispatchResourceRequest(request, options)
2116
2116
  .then((response) => {
2117
2117
  return luvio.handleSuccessResponse(() => {
2118
- const snapshot = ingestSuccess$K(luvio, resourceParams, response);
2118
+ const snapshot = ingestSuccess$N(luvio, resourceParams, response);
2119
2119
  return luvio.storeBroadcast().then(() => snapshot);
2120
2120
  }, () => {
2121
2121
  const cache = new StoreKeyMap();
2122
- getResponseCacheKeys$R(cache, luvio, resourceParams, response.body);
2122
+ getResponseCacheKeys$V(cache, luvio, resourceParams, response.body);
2123
2123
  return cache;
2124
2124
  });
2125
2125
  }, (response) => {
@@ -2129,18 +2129,18 @@ function buildNetworkSnapshot$R(luvio, config, options) {
2129
2129
  }
2130
2130
  const createAnnotationAdapterFactory = (luvio) => {
2131
2131
  return function createAnnotation(untrustedConfig) {
2132
- const config = validateAdapterConfig$R(untrustedConfig, createAnnotation_ConfigPropertyNames);
2132
+ const config = validateAdapterConfig$V(untrustedConfig, createAnnotation_ConfigPropertyNames);
2133
2133
  // Invalid or incomplete config
2134
2134
  if (config === null) {
2135
2135
  throw new Error('Invalid config for "createAnnotation"');
2136
2136
  }
2137
- return buildNetworkSnapshot$R(luvio, config);
2137
+ return buildNetworkSnapshot$V(luvio, config);
2138
2138
  };
2139
2139
  };
2140
2140
 
2141
- const TTL$m = 5000;
2142
- const VERSION$y = "505a83d97fefa7ce68ec6512264b0543";
2143
- function validate$V(obj, path = 'SlackAppInfoRepresentation') {
2141
+ const TTL$o = 5000;
2142
+ const VERSION$A = "505a83d97fefa7ce68ec6512264b0543";
2143
+ function validate$12(obj, path = 'SlackAppInfoRepresentation') {
2144
2144
  const v_error = (() => {
2145
2145
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2146
2146
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2180,14 +2180,14 @@ function validate$V(obj, path = 'SlackAppInfoRepresentation') {
2180
2180
  })();
2181
2181
  return v_error === undefined ? null : v_error;
2182
2182
  }
2183
- const RepresentationType$A = 'SlackAppInfoRepresentation';
2184
- function normalize$y(input, existing, path, luvio, store, timestamp) {
2183
+ const RepresentationType$C = 'SlackAppInfoRepresentation';
2184
+ function normalize$A(input, existing, path, luvio, store, timestamp) {
2185
2185
  return input;
2186
2186
  }
2187
- const select$1g = function SlackAppInfoRepresentationSelect() {
2187
+ const select$1l = function SlackAppInfoRepresentationSelect() {
2188
2188
  return {
2189
2189
  kind: 'Fragment',
2190
- version: VERSION$y,
2190
+ version: VERSION$A,
2191
2191
  private: [],
2192
2192
  selections: [
2193
2193
  {
@@ -2214,7 +2214,7 @@ const select$1g = function SlackAppInfoRepresentationSelect() {
2214
2214
  ]
2215
2215
  };
2216
2216
  };
2217
- function equals$y(existing, incoming) {
2217
+ function equals$A(existing, incoming) {
2218
2218
  const existing_isSlackAppAuthorized = existing.isSlackAppAuthorized;
2219
2219
  const incoming_isSlackAppAuthorized = incoming.isSlackAppAuthorized;
2220
2220
  if (!(existing_isSlackAppAuthorized === incoming_isSlackAppAuthorized)) {
@@ -2247,44 +2247,44 @@ function equals$y(existing, incoming) {
2247
2247
  }
2248
2248
  return true;
2249
2249
  }
2250
- const ingest$y = function SlackAppInfoRepresentationIngest(input, path, luvio, store, timestamp) {
2250
+ const ingest$A = function SlackAppInfoRepresentationIngest(input, path, luvio, store, timestamp) {
2251
2251
  if (process.env.NODE_ENV !== 'production') {
2252
- const validateError = validate$V(input);
2252
+ const validateError = validate$12(input);
2253
2253
  if (validateError !== null) {
2254
2254
  throw validateError;
2255
2255
  }
2256
2256
  }
2257
2257
  const key = path.fullPath;
2258
- const ttlToUse = TTL$m;
2259
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UnifiedAnalytics", VERSION$y, RepresentationType$A, equals$y);
2258
+ const ttlToUse = TTL$o;
2259
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UnifiedAnalytics", VERSION$A, RepresentationType$C, equals$A);
2260
2260
  return createLink(key);
2261
2261
  };
2262
- function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
2262
+ function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
2263
2263
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2264
2264
  const rootKey = fullPathFactory();
2265
2265
  rootKeySet.set(rootKey, {
2266
2266
  namespace: keyPrefix,
2267
- representationName: RepresentationType$A,
2267
+ representationName: RepresentationType$C,
2268
2268
  mergeable: false
2269
2269
  });
2270
2270
  }
2271
2271
 
2272
- function select$1f(luvio, params) {
2273
- return select$1g();
2272
+ function select$1k(luvio, params) {
2273
+ return select$1l();
2274
2274
  }
2275
- function keyBuilder$19(luvio, params) {
2275
+ function keyBuilder$1f(luvio, params) {
2276
2276
  return keyPrefix + '::SlackAppInfoRepresentation:(' + ')';
2277
2277
  }
2278
- function getResponseCacheKeys$Q(storeKeyMap, luvio, resourceParams, response) {
2279
- getTypeCacheKeys$y(storeKeyMap, luvio, response, () => keyBuilder$19());
2278
+ function getResponseCacheKeys$U(storeKeyMap, luvio, resourceParams, response) {
2279
+ getTypeCacheKeys$A(storeKeyMap, luvio, response, () => keyBuilder$1f());
2280
2280
  }
2281
- function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
2281
+ function ingestSuccess$M(luvio, resourceParams, response, snapshotRefresh) {
2282
2282
  const { body } = response;
2283
- const key = keyBuilder$19();
2284
- luvio.storeIngest(key, ingest$y, body);
2283
+ const key = keyBuilder$1f();
2284
+ luvio.storeIngest(key, ingest$A, body);
2285
2285
  const snapshot = luvio.storeLookup({
2286
2286
  recordId: key,
2287
- node: select$1f(),
2287
+ node: select$1k(),
2288
2288
  variables: {},
2289
2289
  }, snapshotRefresh);
2290
2290
  if (process.env.NODE_ENV !== 'production') {
@@ -2295,19 +2295,19 @@ function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
2295
2295
  deepFreeze(snapshot.data);
2296
2296
  return snapshot;
2297
2297
  }
2298
- function ingestError$m(luvio, params, error, snapshotRefresh) {
2299
- const key = keyBuilder$19();
2298
+ function ingestError$o(luvio, params, error, snapshotRefresh) {
2299
+ const key = keyBuilder$1f();
2300
2300
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2301
2301
  const storeMetadataParams = {
2302
- ttl: TTL$m,
2302
+ ttl: TTL$o,
2303
2303
  namespace: keyPrefix,
2304
- version: VERSION$y,
2305
- representationName: RepresentationType$A
2304
+ version: VERSION$A,
2305
+ representationName: RepresentationType$C
2306
2306
  };
2307
2307
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
2308
2308
  return errorSnapshot;
2309
2309
  }
2310
- function createResourceRequest$Q(config) {
2310
+ function createResourceRequest$U(config) {
2311
2311
  const headers = {};
2312
2312
  return {
2313
2313
  baseUri: '/services/data/v64.0',
@@ -2321,90 +2321,90 @@ function createResourceRequest$Q(config) {
2321
2321
  };
2322
2322
  }
2323
2323
 
2324
- const adapterName$Q = 'getSlackAppInfo';
2324
+ const adapterName$U = 'getSlackAppInfo';
2325
2325
  const getSlackAppInfo_ConfigPropertyMetadata = [];
2326
- const getSlackAppInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, getSlackAppInfo_ConfigPropertyMetadata);
2327
- const createResourceParams$Q = /*#__PURE__*/ createResourceParams$U(getSlackAppInfo_ConfigPropertyMetadata);
2328
- function keyBuilder$18(luvio, config) {
2329
- createResourceParams$Q(config);
2330
- return keyBuilder$19();
2326
+ const getSlackAppInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$U, getSlackAppInfo_ConfigPropertyMetadata);
2327
+ const createResourceParams$U = /*#__PURE__*/ createResourceParams$Y(getSlackAppInfo_ConfigPropertyMetadata);
2328
+ function keyBuilder$1e(luvio, config) {
2329
+ createResourceParams$U(config);
2330
+ return keyBuilder$1f();
2331
2331
  }
2332
- function typeCheckConfig$Q(untrustedConfig) {
2332
+ function typeCheckConfig$U(untrustedConfig) {
2333
2333
  const config = {};
2334
2334
  return config;
2335
2335
  }
2336
- function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
2336
+ function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
2337
2337
  if (!untrustedIsObject(untrustedConfig)) {
2338
2338
  return null;
2339
2339
  }
2340
2340
  if (process.env.NODE_ENV !== 'production') {
2341
2341
  validateConfig(untrustedConfig, configPropertyNames);
2342
2342
  }
2343
- const config = typeCheckConfig$Q();
2343
+ const config = typeCheckConfig$U();
2344
2344
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2345
2345
  return null;
2346
2346
  }
2347
2347
  return config;
2348
2348
  }
2349
- function adapterFragment$m(luvio, config) {
2350
- createResourceParams$Q(config);
2351
- return select$1f();
2349
+ function adapterFragment$o(luvio, config) {
2350
+ createResourceParams$U(config);
2351
+ return select$1k();
2352
2352
  }
2353
- function onFetchResponseSuccess$m(luvio, config, resourceParams, response) {
2354
- const snapshot = ingestSuccess$J(luvio, resourceParams, response, {
2353
+ function onFetchResponseSuccess$o(luvio, config, resourceParams, response) {
2354
+ const snapshot = ingestSuccess$M(luvio, resourceParams, response, {
2355
2355
  config,
2356
- resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
2356
+ resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
2357
2357
  });
2358
2358
  return luvio.storeBroadcast().then(() => snapshot);
2359
2359
  }
2360
- function onFetchResponseError$m(luvio, config, resourceParams, response) {
2361
- const snapshot = ingestError$m(luvio, resourceParams, response, {
2360
+ function onFetchResponseError$o(luvio, config, resourceParams, response) {
2361
+ const snapshot = ingestError$o(luvio, resourceParams, response, {
2362
2362
  config,
2363
- resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
2363
+ resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
2364
2364
  });
2365
2365
  return luvio.storeBroadcast().then(() => snapshot);
2366
2366
  }
2367
- function buildNetworkSnapshot$Q(luvio, config, options) {
2368
- const resourceParams = createResourceParams$Q(config);
2369
- const request = createResourceRequest$Q();
2367
+ function buildNetworkSnapshot$U(luvio, config, options) {
2368
+ const resourceParams = createResourceParams$U(config);
2369
+ const request = createResourceRequest$U();
2370
2370
  return luvio.dispatchResourceRequest(request, options)
2371
2371
  .then((response) => {
2372
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$m(luvio, config, resourceParams, response), () => {
2372
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$o(luvio, config, resourceParams, response), () => {
2373
2373
  const cache = new StoreKeyMap();
2374
- getResponseCacheKeys$Q(cache, luvio, resourceParams, response.body);
2374
+ getResponseCacheKeys$U(cache, luvio, resourceParams, response.body);
2375
2375
  return cache;
2376
2376
  });
2377
2377
  }, (response) => {
2378
- return luvio.handleErrorResponse(() => onFetchResponseError$m(luvio, config, resourceParams, response));
2378
+ return luvio.handleErrorResponse(() => onFetchResponseError$o(luvio, config, resourceParams, response));
2379
2379
  });
2380
2380
  }
2381
- function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext) {
2382
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$Q, undefined, false);
2381
+ function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext) {
2382
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$U, undefined, false);
2383
2383
  }
2384
- function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
2384
+ function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
2385
2385
  const { luvio, config } = context;
2386
2386
  const selector = {
2387
- recordId: keyBuilder$18(luvio, config),
2388
- node: adapterFragment$m(luvio, config),
2387
+ recordId: keyBuilder$1e(luvio, config),
2388
+ node: adapterFragment$o(luvio, config),
2389
2389
  variables: {},
2390
2390
  };
2391
2391
  const cacheSnapshot = storeLookup(selector, {
2392
2392
  config,
2393
- resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
2393
+ resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
2394
2394
  });
2395
2395
  return cacheSnapshot;
2396
2396
  }
2397
2397
  const getSlackAppInfoAdapterFactory = (luvio) => function UnifiedAnalytics__getSlackAppInfo(untrustedConfig, requestContext) {
2398
- const config = validateAdapterConfig$Q(untrustedConfig, getSlackAppInfo_ConfigPropertyNames);
2398
+ const config = validateAdapterConfig$U(untrustedConfig, getSlackAppInfo_ConfigPropertyNames);
2399
2399
  // Invalid or incomplete config
2400
2400
  if (config === null) {
2401
2401
  return null;
2402
2402
  }
2403
2403
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2404
- buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
2404
+ buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
2405
2405
  };
2406
2406
 
2407
- function validate$U(obj, path = 'BaseAnalyticsRepresentation') {
2407
+ function validate$11(obj, path = 'BaseAnalyticsRepresentation') {
2408
2408
  const v_error = (() => {
2409
2409
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2410
2410
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2439,8 +2439,8 @@ function validate$U(obj, path = 'BaseAnalyticsRepresentation') {
2439
2439
  return v_error === undefined ? null : v_error;
2440
2440
  }
2441
2441
 
2442
- function validate$T(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
2443
- const validateBaseAnalyticsRepresentation_validateError = validate$U(obj, path);
2442
+ function validate$10(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
2443
+ const validateBaseAnalyticsRepresentation_validateError = validate$11(obj, path);
2444
2444
  if (validateBaseAnalyticsRepresentation_validateError !== null) {
2445
2445
  return validateBaseAnalyticsRepresentation_validateError;
2446
2446
  }
@@ -2452,8 +2452,8 @@ function validate$T(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
2452
2452
  return v_error === undefined ? null : v_error;
2453
2453
  }
2454
2454
 
2455
- function validate$S(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
2456
- const validateBaseAnalyticsRepresentation_validateError = validate$U(obj, path);
2455
+ function validate$$(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
2456
+ const validateBaseAnalyticsRepresentation_validateError = validate$11(obj, path);
2457
2457
  if (validateBaseAnalyticsRepresentation_validateError !== null) {
2458
2458
  return validateBaseAnalyticsRepresentation_validateError;
2459
2459
  }
@@ -2522,7 +2522,7 @@ function validate$S(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
2522
2522
  const path_workspace = path + '.workspace';
2523
2523
  let obj_workspace_union0 = null;
2524
2524
  const obj_workspace_union0_error = (() => {
2525
- const referencepath_workspaceValidationError = validate$T(obj_workspace, path_workspace);
2525
+ const referencepath_workspaceValidationError = validate$10(obj_workspace, path_workspace);
2526
2526
  if (referencepath_workspaceValidationError !== null) {
2527
2527
  let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsWorkspaceRepresentation (at "' + path_workspace + '")\n';
2528
2528
  message += referencepath_workspaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2552,9 +2552,9 @@ function validate$S(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
2552
2552
  return v_error === undefined ? null : v_error;
2553
2553
  }
2554
2554
 
2555
- const TTL$l = 500;
2556
- const VERSION$x = "ed60d9cca169a3e5ed897c67d11a23db";
2557
- function validate$R(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2555
+ const TTL$n = 500;
2556
+ const VERSION$z = "ed60d9cca169a3e5ed897c67d11a23db";
2557
+ function validate$_(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2558
2558
  const v_error = (() => {
2559
2559
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2560
2560
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2567,7 +2567,7 @@ function validate$R(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2567
2567
  for (let i = 0; i < obj_items.length; i++) {
2568
2568
  const obj_items_item = obj_items[i];
2569
2569
  const path_items_item = path_items + '[' + i + ']';
2570
- const referencepath_items_itemValidationError = validate$S(obj_items_item, path_items_item);
2570
+ const referencepath_items_itemValidationError = validate$$(obj_items_item, path_items_item);
2571
2571
  if (referencepath_items_itemValidationError !== null) {
2572
2572
  let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsItemRepresentation (at "' + path_items_item + '")\n';
2573
2573
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2592,68 +2592,68 @@ function validate$R(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
2592
2592
  })();
2593
2593
  return v_error === undefined ? null : v_error;
2594
2594
  }
2595
- const RepresentationType$z = 'AnalyticsAssetsQueryResultsRepresentation';
2596
- function keyBuilder$17(luvio, config) {
2597
- return keyPrefix + '::' + RepresentationType$z + ':' + config.searchId;
2595
+ const RepresentationType$B = 'AnalyticsAssetsQueryResultsRepresentation';
2596
+ function keyBuilder$1d(luvio, config) {
2597
+ return keyPrefix + '::' + RepresentationType$B + ':' + config.searchId;
2598
2598
  }
2599
- function keyBuilderFromType$i(luvio, object) {
2599
+ function keyBuilderFromType$j(luvio, object) {
2600
2600
  const keyParams = {
2601
2601
  searchId: object.queryKey
2602
2602
  };
2603
- return keyBuilder$17(luvio, keyParams);
2603
+ return keyBuilder$1d(luvio, keyParams);
2604
2604
  }
2605
- function normalize$x(input, existing, path, luvio, store, timestamp) {
2605
+ function normalize$z(input, existing, path, luvio, store, timestamp) {
2606
2606
  return input;
2607
2607
  }
2608
- const select$1e = function AnalyticsAssetsQueryResultsRepresentationSelect() {
2608
+ const select$1j = function AnalyticsAssetsQueryResultsRepresentationSelect() {
2609
2609
  return {
2610
2610
  kind: 'Fragment',
2611
- version: VERSION$x,
2611
+ version: VERSION$z,
2612
2612
  private: [],
2613
2613
  opaque: true
2614
2614
  };
2615
2615
  };
2616
- function equals$x(existing, incoming) {
2616
+ function equals$z(existing, incoming) {
2617
2617
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2618
2618
  return false;
2619
2619
  }
2620
2620
  return true;
2621
2621
  }
2622
- const ingest$x = function AnalyticsAssetsQueryResultsRepresentationIngest(input, path, luvio, store, timestamp) {
2622
+ const ingest$z = function AnalyticsAssetsQueryResultsRepresentationIngest(input, path, luvio, store, timestamp) {
2623
2623
  if (process.env.NODE_ENV !== 'production') {
2624
- const validateError = validate$R(input);
2624
+ const validateError = validate$_(input);
2625
2625
  if (validateError !== null) {
2626
2626
  throw validateError;
2627
2627
  }
2628
2628
  }
2629
- const key = keyBuilderFromType$i(luvio, input);
2630
- const ttlToUse = TTL$l;
2631
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UnifiedAnalytics", VERSION$x, RepresentationType$z, equals$x);
2629
+ const key = keyBuilderFromType$j(luvio, input);
2630
+ const ttlToUse = TTL$n;
2631
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UnifiedAnalytics", VERSION$z, RepresentationType$B, equals$z);
2632
2632
  return createLink(key);
2633
2633
  };
2634
- function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
2634
+ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
2635
2635
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2636
- const rootKey = keyBuilderFromType$i(luvio, input);
2636
+ const rootKey = keyBuilderFromType$j(luvio, input);
2637
2637
  rootKeySet.set(rootKey, {
2638
2638
  namespace: keyPrefix,
2639
- representationName: RepresentationType$z,
2639
+ representationName: RepresentationType$B,
2640
2640
  mergeable: false
2641
2641
  });
2642
2642
  }
2643
2643
 
2644
- function select$1d(luvio, params) {
2645
- return select$1e();
2644
+ function select$1i(luvio, params) {
2645
+ return select$1j();
2646
2646
  }
2647
- function getResponseCacheKeys$P(storeKeyMap, luvio, resourceParams, response) {
2648
- getTypeCacheKeys$x(storeKeyMap, luvio, response);
2647
+ function getResponseCacheKeys$T(storeKeyMap, luvio, resourceParams, response) {
2648
+ getTypeCacheKeys$z(storeKeyMap, luvio, response);
2649
2649
  }
2650
- function ingestSuccess$I(luvio, resourceParams, response) {
2650
+ function ingestSuccess$L(luvio, resourceParams, response) {
2651
2651
  const { body } = response;
2652
- const key = keyBuilderFromType$i(luvio, body);
2653
- luvio.storeIngest(key, ingest$x, body);
2652
+ const key = keyBuilderFromType$j(luvio, body);
2653
+ luvio.storeIngest(key, ingest$z, body);
2654
2654
  const snapshot = luvio.storeLookup({
2655
2655
  recordId: key,
2656
- node: select$1d(),
2656
+ node: select$1i(),
2657
2657
  variables: {},
2658
2658
  });
2659
2659
  if (process.env.NODE_ENV !== 'production') {
@@ -2664,7 +2664,7 @@ function ingestSuccess$I(luvio, resourceParams, response) {
2664
2664
  deepFreeze(snapshot.data);
2665
2665
  return snapshot;
2666
2666
  }
2667
- function createResourceRequest$P(config) {
2667
+ function createResourceRequest$T(config) {
2668
2668
  const headers = {};
2669
2669
  return {
2670
2670
  baseUri: '/services/data/v64.0',
@@ -2678,7 +2678,7 @@ function createResourceRequest$P(config) {
2678
2678
  };
2679
2679
  }
2680
2680
 
2681
- const adapterName$P = 'queryAssets';
2681
+ const adapterName$T = 'queryAssets';
2682
2682
  const queryAssets_ConfigPropertyMetadata = [
2683
2683
  generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */),
2684
2684
  generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
@@ -2687,11 +2687,11 @@ const queryAssets_ConfigPropertyMetadata = [
2687
2687
  generateParamConfigMetadata('searchTerm', true, 2 /* Body */, 0 /* String */),
2688
2688
  generateParamConfigMetadata('sortDirection', false, 2 /* Body */, 0 /* String */),
2689
2689
  ];
2690
- const queryAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$P, queryAssets_ConfigPropertyMetadata);
2691
- const createResourceParams$P = /*#__PURE__*/ createResourceParams$U(queryAssets_ConfigPropertyMetadata);
2692
- function typeCheckConfig$P(untrustedConfig) {
2690
+ const queryAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, queryAssets_ConfigPropertyMetadata);
2691
+ const createResourceParams$T = /*#__PURE__*/ createResourceParams$Y(queryAssets_ConfigPropertyMetadata);
2692
+ function typeCheckConfig$T(untrustedConfig) {
2693
2693
  const config = {};
2694
- typeCheckConfig$U(untrustedConfig, config, queryAssets_ConfigPropertyMetadata);
2694
+ typeCheckConfig$Y(untrustedConfig, config, queryAssets_ConfigPropertyMetadata);
2695
2695
  const untrustedConfig_filters = untrustedConfig.filters;
2696
2696
  if (untrustedIsObject(untrustedConfig_filters)) {
2697
2697
  const untrustedConfig_filters_object = {};
@@ -2709,30 +2709,30 @@ function typeCheckConfig$P(untrustedConfig) {
2709
2709
  }
2710
2710
  return config;
2711
2711
  }
2712
- function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
2712
+ function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
2713
2713
  if (!untrustedIsObject(untrustedConfig)) {
2714
2714
  return null;
2715
2715
  }
2716
2716
  if (process.env.NODE_ENV !== 'production') {
2717
2717
  validateConfig(untrustedConfig, configPropertyNames);
2718
2718
  }
2719
- const config = typeCheckConfig$P(untrustedConfig);
2719
+ const config = typeCheckConfig$T(untrustedConfig);
2720
2720
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2721
2721
  return null;
2722
2722
  }
2723
2723
  return config;
2724
2724
  }
2725
- function buildNetworkSnapshot$P(luvio, config, options) {
2726
- const resourceParams = createResourceParams$P(config);
2727
- const request = createResourceRequest$P(resourceParams);
2725
+ function buildNetworkSnapshot$T(luvio, config, options) {
2726
+ const resourceParams = createResourceParams$T(config);
2727
+ const request = createResourceRequest$T(resourceParams);
2728
2728
  return luvio.dispatchResourceRequest(request, options)
2729
2729
  .then((response) => {
2730
2730
  return luvio.handleSuccessResponse(() => {
2731
- const snapshot = ingestSuccess$I(luvio, resourceParams, response);
2731
+ const snapshot = ingestSuccess$L(luvio, resourceParams, response);
2732
2732
  return luvio.storeBroadcast().then(() => snapshot);
2733
2733
  }, () => {
2734
2734
  const cache = new StoreKeyMap();
2735
- getResponseCacheKeys$P(cache, luvio, resourceParams, response.body);
2735
+ getResponseCacheKeys$T(cache, luvio, resourceParams, response.body);
2736
2736
  return cache;
2737
2737
  });
2738
2738
  }, (response) => {
@@ -2742,17 +2742,17 @@ function buildNetworkSnapshot$P(luvio, config, options) {
2742
2742
  }
2743
2743
  const queryAssetsAdapterFactory = (luvio) => {
2744
2744
  return function queryAssets(untrustedConfig) {
2745
- const config = validateAdapterConfig$P(untrustedConfig, queryAssets_ConfigPropertyNames);
2745
+ const config = validateAdapterConfig$T(untrustedConfig, queryAssets_ConfigPropertyNames);
2746
2746
  // Invalid or incomplete config
2747
2747
  if (config === null) {
2748
2748
  throw new Error('Invalid config for "queryAssets"');
2749
2749
  }
2750
- return buildNetworkSnapshot$P(luvio, config);
2750
+ return buildNetworkSnapshot$T(luvio, config);
2751
2751
  };
2752
2752
  };
2753
2753
 
2754
- const VERSION$w = "948ac50067b64bee8680b553b1e19a09";
2755
- function validate$Q(obj, path = 'DashboardRepresentation') {
2754
+ const VERSION$y = "948ac50067b64bee8680b553b1e19a09";
2755
+ function validate$Z(obj, path = 'DashboardRepresentation') {
2756
2756
  const v_error = (() => {
2757
2757
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2758
2758
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2860,57 +2860,57 @@ function validate$Q(obj, path = 'DashboardRepresentation') {
2860
2860
  })();
2861
2861
  return v_error === undefined ? null : v_error;
2862
2862
  }
2863
- const RepresentationType$y = 'DashboardRepresentation';
2864
- function keyBuilder$16(luvio, config) {
2865
- return keyPrefix + '::' + RepresentationType$y + ':' + config.name;
2863
+ const RepresentationType$A = 'DashboardRepresentation';
2864
+ function keyBuilder$1c(luvio, config) {
2865
+ return keyPrefix + '::' + RepresentationType$A + ':' + config.name;
2866
2866
  }
2867
- function keyBuilderFromType$h(luvio, object) {
2867
+ function keyBuilderFromType$i(luvio, object) {
2868
2868
  const keyParams = {
2869
2869
  name: object.name
2870
2870
  };
2871
- return keyBuilder$16(luvio, keyParams);
2871
+ return keyBuilder$1c(luvio, keyParams);
2872
2872
  }
2873
- function normalize$w(input, existing, path, luvio, store, timestamp) {
2873
+ function normalize$y(input, existing, path, luvio, store, timestamp) {
2874
2874
  return input;
2875
2875
  }
2876
- const select$1c = function DashboardRepresentationSelect() {
2876
+ const select$1h = function DashboardRepresentationSelect() {
2877
2877
  return {
2878
2878
  kind: 'Fragment',
2879
- version: VERSION$w,
2879
+ version: VERSION$y,
2880
2880
  private: [],
2881
2881
  opaque: true
2882
2882
  };
2883
2883
  };
2884
- function equals$w(existing, incoming) {
2884
+ function equals$y(existing, incoming) {
2885
2885
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
2886
2886
  return false;
2887
2887
  }
2888
2888
  return true;
2889
2889
  }
2890
- const ingest$w = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
2890
+ const ingest$y = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
2891
2891
  if (process.env.NODE_ENV !== 'production') {
2892
- const validateError = validate$Q(input);
2892
+ const validateError = validate$Z(input);
2893
2893
  if (validateError !== null) {
2894
2894
  throw validateError;
2895
2895
  }
2896
2896
  }
2897
- const key = keyBuilderFromType$h(luvio, input);
2897
+ const key = keyBuilderFromType$i(luvio, input);
2898
2898
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2899
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UnifiedAnalytics", VERSION$w, RepresentationType$y, equals$w);
2899
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UnifiedAnalytics", VERSION$y, RepresentationType$A, equals$y);
2900
2900
  return createLink(key);
2901
2901
  };
2902
- function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
2902
+ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
2903
2903
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2904
- const rootKey = keyBuilderFromType$h(luvio, input);
2904
+ const rootKey = keyBuilderFromType$i(luvio, input);
2905
2905
  rootKeySet.set(rootKey, {
2906
2906
  namespace: keyPrefix,
2907
- representationName: RepresentationType$y,
2907
+ representationName: RepresentationType$A,
2908
2908
  mergeable: false
2909
2909
  });
2910
2910
  }
2911
2911
 
2912
- const VERSION$v = "962823130e6a9315240ef0e0f0c5f757";
2913
- function validate$P(obj, path = 'DashboardCollectionRepresentation') {
2912
+ const VERSION$x = "962823130e6a9315240ef0e0f0c5f757";
2913
+ function validate$Y(obj, path = 'DashboardCollectionRepresentation') {
2914
2914
  const v_error = (() => {
2915
2915
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2916
2916
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2930,14 +2930,14 @@ function validate$P(obj, path = 'DashboardCollectionRepresentation') {
2930
2930
  })();
2931
2931
  return v_error === undefined ? null : v_error;
2932
2932
  }
2933
- const RepresentationType$x = 'DashboardCollectionRepresentation';
2934
- function normalize$v(input, existing, path, luvio, store, timestamp) {
2933
+ const RepresentationType$z = 'DashboardCollectionRepresentation';
2934
+ function normalize$x(input, existing, path, luvio, store, timestamp) {
2935
2935
  const input_dashboards = input.dashboards;
2936
2936
  const input_dashboards_id = path.fullPath + '__dashboards';
2937
2937
  for (let i = 0; i < input_dashboards.length; i++) {
2938
2938
  const input_dashboards_item = input_dashboards[i];
2939
2939
  let input_dashboards_item_id = input_dashboards_id + '__' + i;
2940
- input_dashboards[i] = ingest$w(input_dashboards_item, {
2940
+ input_dashboards[i] = ingest$y(input_dashboards_item, {
2941
2941
  fullPath: input_dashboards_item_id,
2942
2942
  propertyName: i,
2943
2943
  parent: {
@@ -2950,22 +2950,22 @@ function normalize$v(input, existing, path, luvio, store, timestamp) {
2950
2950
  }
2951
2951
  return input;
2952
2952
  }
2953
- const select$1b = function DashboardCollectionRepresentationSelect() {
2953
+ const select$1g = function DashboardCollectionRepresentationSelect() {
2954
2954
  return {
2955
2955
  kind: 'Fragment',
2956
- version: VERSION$v,
2956
+ version: VERSION$x,
2957
2957
  private: [],
2958
2958
  selections: [
2959
2959
  {
2960
2960
  name: 'dashboards',
2961
2961
  kind: 'Link',
2962
2962
  plural: true,
2963
- fragment: select$1c()
2963
+ fragment: select$1h()
2964
2964
  }
2965
2965
  ]
2966
2966
  };
2967
2967
  };
2968
- function equals$v(existing, incoming) {
2968
+ function equals$x(existing, incoming) {
2969
2969
  const existing_dashboards = existing.dashboards;
2970
2970
  const incoming_dashboards = incoming.dashboards;
2971
2971
  const equals_dashboards_items = equalsArray(existing_dashboards, incoming_dashboards, (existing_dashboards_item, incoming_dashboards_item) => {
@@ -2978,48 +2978,48 @@ function equals$v(existing, incoming) {
2978
2978
  }
2979
2979
  return true;
2980
2980
  }
2981
- const ingest$v = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2981
+ const ingest$x = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
2982
2982
  if (process.env.NODE_ENV !== 'production') {
2983
- const validateError = validate$P(input);
2983
+ const validateError = validate$Y(input);
2984
2984
  if (validateError !== null) {
2985
2985
  throw validateError;
2986
2986
  }
2987
2987
  }
2988
2988
  const key = path.fullPath;
2989
2989
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2990
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UnifiedAnalytics", VERSION$v, RepresentationType$x, equals$v);
2990
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UnifiedAnalytics", VERSION$x, RepresentationType$z, equals$x);
2991
2991
  return createLink(key);
2992
2992
  };
2993
- function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
2993
+ function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
2994
2994
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2995
2995
  const rootKey = fullPathFactory();
2996
2996
  rootKeySet.set(rootKey, {
2997
2997
  namespace: keyPrefix,
2998
- representationName: RepresentationType$x,
2998
+ representationName: RepresentationType$z,
2999
2999
  mergeable: false
3000
3000
  });
3001
3001
  const input_dashboards_length = input.dashboards.length;
3002
3002
  for (let i = 0; i < input_dashboards_length; i++) {
3003
- getTypeCacheKeys$w(rootKeySet, luvio, input.dashboards[i]);
3003
+ getTypeCacheKeys$y(rootKeySet, luvio, input.dashboards[i]);
3004
3004
  }
3005
3005
  }
3006
3006
 
3007
- function select$1a(luvio, params) {
3008
- return select$1b();
3007
+ function select$1f(luvio, params) {
3008
+ return select$1g();
3009
3009
  }
3010
- function keyBuilder$15(luvio, params) {
3010
+ function keyBuilder$1b(luvio, params) {
3011
3011
  return keyPrefix + '::DashboardCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'minorVersion:' + params.queryParams.minorVersion + ',' + 'offset:' + params.queryParams.offset + ')';
3012
3012
  }
3013
- function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
3014
- getTypeCacheKeys$v(storeKeyMap, luvio, response, () => keyBuilder$15(luvio, resourceParams));
3013
+ function getResponseCacheKeys$S(storeKeyMap, luvio, resourceParams, response) {
3014
+ getTypeCacheKeys$x(storeKeyMap, luvio, response, () => keyBuilder$1b(luvio, resourceParams));
3015
3015
  }
3016
- function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
3016
+ function ingestSuccess$K(luvio, resourceParams, response, snapshotRefresh) {
3017
3017
  const { body } = response;
3018
- const key = keyBuilder$15(luvio, resourceParams);
3019
- luvio.storeIngest(key, ingest$v, body);
3018
+ const key = keyBuilder$1b(luvio, resourceParams);
3019
+ luvio.storeIngest(key, ingest$x, body);
3020
3020
  const snapshot = luvio.storeLookup({
3021
3021
  recordId: key,
3022
- node: select$1a(),
3022
+ node: select$1f(),
3023
3023
  variables: {},
3024
3024
  }, snapshotRefresh);
3025
3025
  if (process.env.NODE_ENV !== 'production') {
@@ -3030,13 +3030,13 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
3030
3030
  deepFreeze(snapshot.data);
3031
3031
  return snapshot;
3032
3032
  }
3033
- function ingestError$l(luvio, params, error, snapshotRefresh) {
3034
- const key = keyBuilder$15(luvio, params);
3033
+ function ingestError$n(luvio, params, error, snapshotRefresh) {
3034
+ const key = keyBuilder$1b(luvio, params);
3035
3035
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3036
3036
  luvio.storeIngestError(key, errorSnapshot);
3037
3037
  return errorSnapshot;
3038
3038
  }
3039
- function createResourceRequest$O(config) {
3039
+ function createResourceRequest$S(config) {
3040
3040
  const headers = {};
3041
3041
  return {
3042
3042
  baseUri: '/services/data/v64.0',
@@ -3050,107 +3050,107 @@ function createResourceRequest$O(config) {
3050
3050
  };
3051
3051
  }
3052
3052
 
3053
- const adapterName$O = 'getDashboards';
3053
+ const adapterName$S = 'getDashboards';
3054
3054
  const getDashboards_ConfigPropertyMetadata = [
3055
3055
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
3056
3056
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
3057
3057
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
3058
3058
  ];
3059
- const getDashboards_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$O, getDashboards_ConfigPropertyMetadata);
3060
- const createResourceParams$O = /*#__PURE__*/ createResourceParams$U(getDashboards_ConfigPropertyMetadata);
3061
- function keyBuilder$14(luvio, config) {
3062
- const resourceParams = createResourceParams$O(config);
3063
- return keyBuilder$15(luvio, resourceParams);
3059
+ const getDashboards_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$S, getDashboards_ConfigPropertyMetadata);
3060
+ const createResourceParams$S = /*#__PURE__*/ createResourceParams$Y(getDashboards_ConfigPropertyMetadata);
3061
+ function keyBuilder$1a(luvio, config) {
3062
+ const resourceParams = createResourceParams$S(config);
3063
+ return keyBuilder$1b(luvio, resourceParams);
3064
3064
  }
3065
- function typeCheckConfig$O(untrustedConfig) {
3065
+ function typeCheckConfig$S(untrustedConfig) {
3066
3066
  const config = {};
3067
- typeCheckConfig$U(untrustedConfig, config, getDashboards_ConfigPropertyMetadata);
3067
+ typeCheckConfig$Y(untrustedConfig, config, getDashboards_ConfigPropertyMetadata);
3068
3068
  return config;
3069
3069
  }
3070
- function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
3070
+ function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
3071
3071
  if (!untrustedIsObject(untrustedConfig)) {
3072
3072
  return null;
3073
3073
  }
3074
3074
  if (process.env.NODE_ENV !== 'production') {
3075
3075
  validateConfig(untrustedConfig, configPropertyNames);
3076
3076
  }
3077
- const config = typeCheckConfig$O(untrustedConfig);
3077
+ const config = typeCheckConfig$S(untrustedConfig);
3078
3078
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3079
3079
  return null;
3080
3080
  }
3081
3081
  return config;
3082
3082
  }
3083
- function adapterFragment$l(luvio, config) {
3084
- createResourceParams$O(config);
3085
- return select$1a();
3083
+ function adapterFragment$n(luvio, config) {
3084
+ createResourceParams$S(config);
3085
+ return select$1f();
3086
3086
  }
3087
- function onFetchResponseSuccess$l(luvio, config, resourceParams, response) {
3088
- const snapshot = ingestSuccess$H(luvio, resourceParams, response, {
3087
+ function onFetchResponseSuccess$n(luvio, config, resourceParams, response) {
3088
+ const snapshot = ingestSuccess$K(luvio, resourceParams, response, {
3089
3089
  config,
3090
- resolve: () => buildNetworkSnapshot$O(luvio, config, snapshotRefreshOptions)
3090
+ resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
3091
3091
  });
3092
3092
  return luvio.storeBroadcast().then(() => snapshot);
3093
3093
  }
3094
- function onFetchResponseError$l(luvio, config, resourceParams, response) {
3095
- const snapshot = ingestError$l(luvio, resourceParams, response, {
3094
+ function onFetchResponseError$n(luvio, config, resourceParams, response) {
3095
+ const snapshot = ingestError$n(luvio, resourceParams, response, {
3096
3096
  config,
3097
- resolve: () => buildNetworkSnapshot$O(luvio, config, snapshotRefreshOptions)
3097
+ resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
3098
3098
  });
3099
3099
  return luvio.storeBroadcast().then(() => snapshot);
3100
3100
  }
3101
- function buildNetworkSnapshot$O(luvio, config, options) {
3102
- const resourceParams = createResourceParams$O(config);
3103
- const request = createResourceRequest$O(resourceParams);
3101
+ function buildNetworkSnapshot$S(luvio, config, options) {
3102
+ const resourceParams = createResourceParams$S(config);
3103
+ const request = createResourceRequest$S(resourceParams);
3104
3104
  return luvio.dispatchResourceRequest(request, options)
3105
3105
  .then((response) => {
3106
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$l(luvio, config, resourceParams, response), () => {
3106
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$n(luvio, config, resourceParams, response), () => {
3107
3107
  const cache = new StoreKeyMap();
3108
- getResponseCacheKeys$O(cache, luvio, resourceParams, response.body);
3108
+ getResponseCacheKeys$S(cache, luvio, resourceParams, response.body);
3109
3109
  return cache;
3110
3110
  });
3111
3111
  }, (response) => {
3112
- return luvio.handleErrorResponse(() => onFetchResponseError$l(luvio, config, resourceParams, response));
3112
+ return luvio.handleErrorResponse(() => onFetchResponseError$n(luvio, config, resourceParams, response));
3113
3113
  });
3114
3114
  }
3115
- function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext) {
3116
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$O, undefined, false);
3115
+ function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext) {
3116
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$S, undefined, false);
3117
3117
  }
3118
- function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
3118
+ function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
3119
3119
  const { luvio, config } = context;
3120
3120
  const selector = {
3121
- recordId: keyBuilder$14(luvio, config),
3122
- node: adapterFragment$l(luvio, config),
3121
+ recordId: keyBuilder$1a(luvio, config),
3122
+ node: adapterFragment$n(luvio, config),
3123
3123
  variables: {},
3124
3124
  };
3125
3125
  const cacheSnapshot = storeLookup(selector, {
3126
3126
  config,
3127
- resolve: () => buildNetworkSnapshot$O(luvio, config, snapshotRefreshOptions)
3127
+ resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
3128
3128
  });
3129
3129
  return cacheSnapshot;
3130
3130
  }
3131
3131
  const getDashboardsAdapterFactory = (luvio) => function UnifiedAnalytics__getDashboards(untrustedConfig, requestContext) {
3132
- const config = validateAdapterConfig$O(untrustedConfig, getDashboards_ConfigPropertyNames);
3132
+ const config = validateAdapterConfig$S(untrustedConfig, getDashboards_ConfigPropertyNames);
3133
3133
  // Invalid or incomplete config
3134
3134
  if (config === null) {
3135
3135
  return null;
3136
3136
  }
3137
3137
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3138
- buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
3138
+ buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
3139
3139
  };
3140
3140
 
3141
- function select$19(luvio, params) {
3142
- return select$1c();
3141
+ function select$1e(luvio, params) {
3142
+ return select$1h();
3143
3143
  }
3144
- function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
3145
- getTypeCacheKeys$w(storeKeyMap, luvio, response);
3144
+ function getResponseCacheKeys$R(storeKeyMap, luvio, resourceParams, response) {
3145
+ getTypeCacheKeys$y(storeKeyMap, luvio, response);
3146
3146
  }
3147
- function ingestSuccess$G(luvio, resourceParams, response) {
3147
+ function ingestSuccess$J(luvio, resourceParams, response) {
3148
3148
  const { body } = response;
3149
- const key = keyBuilderFromType$h(luvio, body);
3150
- luvio.storeIngest(key, ingest$w, body);
3149
+ const key = keyBuilderFromType$i(luvio, body);
3150
+ luvio.storeIngest(key, ingest$y, body);
3151
3151
  const snapshot = luvio.storeLookup({
3152
3152
  recordId: key,
3153
- node: select$19(),
3153
+ node: select$1e(),
3154
3154
  variables: {},
3155
3155
  });
3156
3156
  if (process.env.NODE_ENV !== 'production') {
@@ -3161,7 +3161,7 @@ function ingestSuccess$G(luvio, resourceParams, response) {
3161
3161
  deepFreeze(snapshot.data);
3162
3162
  return snapshot;
3163
3163
  }
3164
- function createResourceRequest$N(config) {
3164
+ function createResourceRequest$R(config) {
3165
3165
  const headers = {};
3166
3166
  return {
3167
3167
  baseUri: '/services/data/v64.0',
@@ -3175,7 +3175,7 @@ function createResourceRequest$N(config) {
3175
3175
  };
3176
3176
  }
3177
3177
 
3178
- const adapterName$N = 'createDashboard';
3178
+ const adapterName$R = 'createDashboard';
3179
3179
  const createDashboard_ConfigPropertyMetadata = [
3180
3180
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
3181
3181
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
@@ -3187,11 +3187,11 @@ const createDashboard_ConfigPropertyMetadata = [
3187
3187
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3188
3188
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3189
3189
  ];
3190
- const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, createDashboard_ConfigPropertyMetadata);
3191
- const createResourceParams$N = /*#__PURE__*/ createResourceParams$U(createDashboard_ConfigPropertyMetadata);
3192
- function typeCheckConfig$N(untrustedConfig) {
3190
+ const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$R, createDashboard_ConfigPropertyMetadata);
3191
+ const createResourceParams$R = /*#__PURE__*/ createResourceParams$Y(createDashboard_ConfigPropertyMetadata);
3192
+ function typeCheckConfig$R(untrustedConfig) {
3193
3193
  const config = {};
3194
- typeCheckConfig$U(untrustedConfig, config, createDashboard_ConfigPropertyMetadata);
3194
+ typeCheckConfig$Y(untrustedConfig, config, createDashboard_ConfigPropertyMetadata);
3195
3195
  const untrustedConfig_layouts = untrustedConfig.layouts;
3196
3196
  if (ArrayIsArray$1(untrustedConfig_layouts)) {
3197
3197
  const untrustedConfig_layouts_array = [];
@@ -3233,30 +3233,30 @@ function typeCheckConfig$N(untrustedConfig) {
3233
3233
  }
3234
3234
  return config;
3235
3235
  }
3236
- function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
3236
+ function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
3237
3237
  if (!untrustedIsObject(untrustedConfig)) {
3238
3238
  return null;
3239
3239
  }
3240
3240
  if (process.env.NODE_ENV !== 'production') {
3241
3241
  validateConfig(untrustedConfig, configPropertyNames);
3242
3242
  }
3243
- const config = typeCheckConfig$N(untrustedConfig);
3243
+ const config = typeCheckConfig$R(untrustedConfig);
3244
3244
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3245
3245
  return null;
3246
3246
  }
3247
3247
  return config;
3248
3248
  }
3249
- function buildNetworkSnapshot$N(luvio, config, options) {
3250
- const resourceParams = createResourceParams$N(config);
3251
- const request = createResourceRequest$N(resourceParams);
3249
+ function buildNetworkSnapshot$R(luvio, config, options) {
3250
+ const resourceParams = createResourceParams$R(config);
3251
+ const request = createResourceRequest$R(resourceParams);
3252
3252
  return luvio.dispatchResourceRequest(request, options)
3253
3253
  .then((response) => {
3254
3254
  return luvio.handleSuccessResponse(() => {
3255
- const snapshot = ingestSuccess$G(luvio, resourceParams, response);
3255
+ const snapshot = ingestSuccess$J(luvio, resourceParams, response);
3256
3256
  return luvio.storeBroadcast().then(() => snapshot);
3257
3257
  }, () => {
3258
3258
  const cache = new StoreKeyMap();
3259
- getResponseCacheKeys$N(cache, luvio, resourceParams, response.body);
3259
+ getResponseCacheKeys$R(cache, luvio, resourceParams, response.body);
3260
3260
  return cache;
3261
3261
  });
3262
3262
  }, (response) => {
@@ -3266,33 +3266,33 @@ function buildNetworkSnapshot$N(luvio, config, options) {
3266
3266
  }
3267
3267
  const createDashboardAdapterFactory = (luvio) => {
3268
3268
  return function createDashboard(untrustedConfig) {
3269
- const config = validateAdapterConfig$N(untrustedConfig, createDashboard_ConfigPropertyNames);
3269
+ const config = validateAdapterConfig$R(untrustedConfig, createDashboard_ConfigPropertyNames);
3270
3270
  // Invalid or incomplete config
3271
3271
  if (config === null) {
3272
3272
  throw new Error('Invalid config for "createDashboard"');
3273
3273
  }
3274
- return buildNetworkSnapshot$N(luvio, config);
3274
+ return buildNetworkSnapshot$R(luvio, config);
3275
3275
  };
3276
3276
  };
3277
3277
 
3278
- function keyBuilder$13(luvio, params) {
3279
- return keyBuilder$16(luvio, {
3278
+ function keyBuilder$19(luvio, params) {
3279
+ return keyBuilder$1c(luvio, {
3280
3280
  name: params.urlParams.dashboardIdOrApiName
3281
3281
  });
3282
3282
  }
3283
- function getResponseCacheKeys$M(cacheKeyMap, luvio, resourceParams) {
3284
- const key = keyBuilder$13(luvio, resourceParams);
3283
+ function getResponseCacheKeys$Q(cacheKeyMap, luvio, resourceParams) {
3284
+ const key = keyBuilder$19(luvio, resourceParams);
3285
3285
  cacheKeyMap.set(key, {
3286
3286
  namespace: keyPrefix,
3287
- representationName: RepresentationType$y,
3287
+ representationName: RepresentationType$A,
3288
3288
  mergeable: false
3289
3289
  });
3290
3290
  }
3291
- function evictSuccess$6(luvio, resourceParams) {
3292
- const key = keyBuilder$13(luvio, resourceParams);
3291
+ function evictSuccess$7(luvio, resourceParams) {
3292
+ const key = keyBuilder$19(luvio, resourceParams);
3293
3293
  luvio.storeEvict(key);
3294
3294
  }
3295
- function createResourceRequest$M(config) {
3295
+ function createResourceRequest$Q(config) {
3296
3296
  const headers = {};
3297
3297
  return {
3298
3298
  baseUri: '/services/data/v64.0',
@@ -3306,41 +3306,41 @@ function createResourceRequest$M(config) {
3306
3306
  };
3307
3307
  }
3308
3308
 
3309
- const adapterName$M = 'deleteDashboard';
3309
+ const adapterName$Q = 'deleteDashboard';
3310
3310
  const deleteDashboard_ConfigPropertyMetadata = [
3311
3311
  generateParamConfigMetadata('dashboardIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3312
3312
  ];
3313
- const deleteDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, deleteDashboard_ConfigPropertyMetadata);
3314
- const createResourceParams$M = /*#__PURE__*/ createResourceParams$U(deleteDashboard_ConfigPropertyMetadata);
3315
- function typeCheckConfig$M(untrustedConfig) {
3313
+ const deleteDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, deleteDashboard_ConfigPropertyMetadata);
3314
+ const createResourceParams$Q = /*#__PURE__*/ createResourceParams$Y(deleteDashboard_ConfigPropertyMetadata);
3315
+ function typeCheckConfig$Q(untrustedConfig) {
3316
3316
  const config = {};
3317
- typeCheckConfig$U(untrustedConfig, config, deleteDashboard_ConfigPropertyMetadata);
3317
+ typeCheckConfig$Y(untrustedConfig, config, deleteDashboard_ConfigPropertyMetadata);
3318
3318
  return config;
3319
3319
  }
3320
- function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
3320
+ function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
3321
3321
  if (!untrustedIsObject(untrustedConfig)) {
3322
3322
  return null;
3323
3323
  }
3324
3324
  if (process.env.NODE_ENV !== 'production') {
3325
3325
  validateConfig(untrustedConfig, configPropertyNames);
3326
3326
  }
3327
- const config = typeCheckConfig$M(untrustedConfig);
3327
+ const config = typeCheckConfig$Q(untrustedConfig);
3328
3328
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3329
3329
  return null;
3330
3330
  }
3331
3331
  return config;
3332
3332
  }
3333
- function buildNetworkSnapshot$M(luvio, config, options) {
3334
- const resourceParams = createResourceParams$M(config);
3335
- const request = createResourceRequest$M(resourceParams);
3333
+ function buildNetworkSnapshot$Q(luvio, config, options) {
3334
+ const resourceParams = createResourceParams$Q(config);
3335
+ const request = createResourceRequest$Q(resourceParams);
3336
3336
  return luvio.dispatchResourceRequest(request, options)
3337
3337
  .then(() => {
3338
3338
  return luvio.handleSuccessResponse(() => {
3339
- evictSuccess$6(luvio, resourceParams);
3339
+ evictSuccess$7(luvio, resourceParams);
3340
3340
  return luvio.storeBroadcast();
3341
3341
  }, () => {
3342
3342
  const cache = new StoreKeyMap();
3343
- getResponseCacheKeys$M(cache, luvio, resourceParams);
3343
+ getResponseCacheKeys$Q(cache, luvio, resourceParams);
3344
3344
  return cache;
3345
3345
  });
3346
3346
  }, (response) => {
@@ -3350,33 +3350,33 @@ function buildNetworkSnapshot$M(luvio, config, options) {
3350
3350
  }
3351
3351
  const deleteDashboardAdapterFactory = (luvio) => {
3352
3352
  return function UnifiedAnalyticsdeleteDashboard(untrustedConfig) {
3353
- const config = validateAdapterConfig$M(untrustedConfig, deleteDashboard_ConfigPropertyNames);
3353
+ const config = validateAdapterConfig$Q(untrustedConfig, deleteDashboard_ConfigPropertyNames);
3354
3354
  // Invalid or incomplete config
3355
3355
  if (config === null) {
3356
- throw new Error(`Invalid config for "${adapterName$M}"`);
3356
+ throw new Error(`Invalid config for "${adapterName$Q}"`);
3357
3357
  }
3358
- return buildNetworkSnapshot$M(luvio, config);
3358
+ return buildNetworkSnapshot$Q(luvio, config);
3359
3359
  };
3360
3360
  };
3361
3361
 
3362
- function select$18(luvio, params) {
3363
- return select$1c();
3362
+ function select$1d(luvio, params) {
3363
+ return select$1h();
3364
3364
  }
3365
- function keyBuilder$12(luvio, params) {
3366
- return keyBuilder$16(luvio, {
3365
+ function keyBuilder$18(luvio, params) {
3366
+ return keyBuilder$1c(luvio, {
3367
3367
  name: params.urlParams.dashboardIdOrApiName
3368
3368
  });
3369
3369
  }
3370
- function getResponseCacheKeys$L(storeKeyMap, luvio, resourceParams, response) {
3371
- getTypeCacheKeys$w(storeKeyMap, luvio, response);
3370
+ function getResponseCacheKeys$P(storeKeyMap, luvio, resourceParams, response) {
3371
+ getTypeCacheKeys$y(storeKeyMap, luvio, response);
3372
3372
  }
3373
- function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
3373
+ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
3374
3374
  const { body } = response;
3375
- const key = keyBuilder$12(luvio, resourceParams);
3376
- luvio.storeIngest(key, ingest$w, body);
3375
+ const key = keyBuilder$18(luvio, resourceParams);
3376
+ luvio.storeIngest(key, ingest$y, body);
3377
3377
  const snapshot = luvio.storeLookup({
3378
3378
  recordId: key,
3379
- node: select$18(),
3379
+ node: select$1d(),
3380
3380
  variables: {},
3381
3381
  }, snapshotRefresh);
3382
3382
  if (process.env.NODE_ENV !== 'production') {
@@ -3387,13 +3387,13 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
3387
3387
  deepFreeze(snapshot.data);
3388
3388
  return snapshot;
3389
3389
  }
3390
- function ingestError$k(luvio, params, error, snapshotRefresh) {
3391
- const key = keyBuilder$12(luvio, params);
3390
+ function ingestError$m(luvio, params, error, snapshotRefresh) {
3391
+ const key = keyBuilder$18(luvio, params);
3392
3392
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3393
3393
  luvio.storeIngestError(key, errorSnapshot);
3394
3394
  return errorSnapshot;
3395
3395
  }
3396
- function createResourceRequest$L(config) {
3396
+ function createResourceRequest$P(config) {
3397
3397
  const headers = {};
3398
3398
  return {
3399
3399
  baseUri: '/services/data/v64.0',
@@ -3407,106 +3407,106 @@ function createResourceRequest$L(config) {
3407
3407
  };
3408
3408
  }
3409
3409
 
3410
- const adapterName$L = 'getDashboardByName';
3410
+ const adapterName$P = 'getDashboardByName';
3411
3411
  const getDashboardByName_ConfigPropertyMetadata = [
3412
3412
  generateParamConfigMetadata('dashboardIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3413
3413
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
3414
3414
  ];
3415
- const getDashboardByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, getDashboardByName_ConfigPropertyMetadata);
3416
- const createResourceParams$L = /*#__PURE__*/ createResourceParams$U(getDashboardByName_ConfigPropertyMetadata);
3417
- function keyBuilder$11(luvio, config) {
3418
- const resourceParams = createResourceParams$L(config);
3419
- return keyBuilder$12(luvio, resourceParams);
3415
+ const getDashboardByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$P, getDashboardByName_ConfigPropertyMetadata);
3416
+ const createResourceParams$P = /*#__PURE__*/ createResourceParams$Y(getDashboardByName_ConfigPropertyMetadata);
3417
+ function keyBuilder$17(luvio, config) {
3418
+ const resourceParams = createResourceParams$P(config);
3419
+ return keyBuilder$18(luvio, resourceParams);
3420
3420
  }
3421
- function typeCheckConfig$L(untrustedConfig) {
3421
+ function typeCheckConfig$P(untrustedConfig) {
3422
3422
  const config = {};
3423
- typeCheckConfig$U(untrustedConfig, config, getDashboardByName_ConfigPropertyMetadata);
3423
+ typeCheckConfig$Y(untrustedConfig, config, getDashboardByName_ConfigPropertyMetadata);
3424
3424
  return config;
3425
3425
  }
3426
- function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
3426
+ function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
3427
3427
  if (!untrustedIsObject(untrustedConfig)) {
3428
3428
  return null;
3429
3429
  }
3430
3430
  if (process.env.NODE_ENV !== 'production') {
3431
3431
  validateConfig(untrustedConfig, configPropertyNames);
3432
3432
  }
3433
- const config = typeCheckConfig$L(untrustedConfig);
3433
+ const config = typeCheckConfig$P(untrustedConfig);
3434
3434
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3435
3435
  return null;
3436
3436
  }
3437
3437
  return config;
3438
3438
  }
3439
- function adapterFragment$k(luvio, config) {
3440
- createResourceParams$L(config);
3441
- return select$18();
3439
+ function adapterFragment$m(luvio, config) {
3440
+ createResourceParams$P(config);
3441
+ return select$1d();
3442
3442
  }
3443
- function onFetchResponseSuccess$k(luvio, config, resourceParams, response) {
3444
- const snapshot = ingestSuccess$F(luvio, resourceParams, response, {
3443
+ function onFetchResponseSuccess$m(luvio, config, resourceParams, response) {
3444
+ const snapshot = ingestSuccess$I(luvio, resourceParams, response, {
3445
3445
  config,
3446
- resolve: () => buildNetworkSnapshot$L(luvio, config, snapshotRefreshOptions)
3446
+ resolve: () => buildNetworkSnapshot$P(luvio, config, snapshotRefreshOptions)
3447
3447
  });
3448
3448
  return luvio.storeBroadcast().then(() => snapshot);
3449
3449
  }
3450
- function onFetchResponseError$k(luvio, config, resourceParams, response) {
3451
- const snapshot = ingestError$k(luvio, resourceParams, response, {
3450
+ function onFetchResponseError$m(luvio, config, resourceParams, response) {
3451
+ const snapshot = ingestError$m(luvio, resourceParams, response, {
3452
3452
  config,
3453
- resolve: () => buildNetworkSnapshot$L(luvio, config, snapshotRefreshOptions)
3453
+ resolve: () => buildNetworkSnapshot$P(luvio, config, snapshotRefreshOptions)
3454
3454
  });
3455
3455
  return luvio.storeBroadcast().then(() => snapshot);
3456
3456
  }
3457
- function buildNetworkSnapshot$L(luvio, config, options) {
3458
- const resourceParams = createResourceParams$L(config);
3459
- const request = createResourceRequest$L(resourceParams);
3457
+ function buildNetworkSnapshot$P(luvio, config, options) {
3458
+ const resourceParams = createResourceParams$P(config);
3459
+ const request = createResourceRequest$P(resourceParams);
3460
3460
  return luvio.dispatchResourceRequest(request, options)
3461
3461
  .then((response) => {
3462
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$k(luvio, config, resourceParams, response), () => {
3462
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$m(luvio, config, resourceParams, response), () => {
3463
3463
  const cache = new StoreKeyMap();
3464
- getResponseCacheKeys$L(cache, luvio, resourceParams, response.body);
3464
+ getResponseCacheKeys$P(cache, luvio, resourceParams, response.body);
3465
3465
  return cache;
3466
3466
  });
3467
3467
  }, (response) => {
3468
- return luvio.handleErrorResponse(() => onFetchResponseError$k(luvio, config, resourceParams, response));
3468
+ return luvio.handleErrorResponse(() => onFetchResponseError$m(luvio, config, resourceParams, response));
3469
3469
  });
3470
3470
  }
3471
- function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext) {
3472
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$L, undefined, false);
3471
+ function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext) {
3472
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$P, undefined, false);
3473
3473
  }
3474
- function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
3474
+ function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
3475
3475
  const { luvio, config } = context;
3476
3476
  const selector = {
3477
- recordId: keyBuilder$11(luvio, config),
3478
- node: adapterFragment$k(luvio, config),
3477
+ recordId: keyBuilder$17(luvio, config),
3478
+ node: adapterFragment$m(luvio, config),
3479
3479
  variables: {},
3480
3480
  };
3481
3481
  const cacheSnapshot = storeLookup(selector, {
3482
3482
  config,
3483
- resolve: () => buildNetworkSnapshot$L(luvio, config, snapshotRefreshOptions)
3483
+ resolve: () => buildNetworkSnapshot$P(luvio, config, snapshotRefreshOptions)
3484
3484
  });
3485
3485
  return cacheSnapshot;
3486
3486
  }
3487
3487
  const getDashboardByNameAdapterFactory = (luvio) => function UnifiedAnalytics__getDashboardByName(untrustedConfig, requestContext) {
3488
- const config = validateAdapterConfig$L(untrustedConfig, getDashboardByName_ConfigPropertyNames);
3488
+ const config = validateAdapterConfig$P(untrustedConfig, getDashboardByName_ConfigPropertyNames);
3489
3489
  // Invalid or incomplete config
3490
3490
  if (config === null) {
3491
3491
  return null;
3492
3492
  }
3493
3493
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3494
- buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
3494
+ buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
3495
3495
  };
3496
3496
 
3497
- function select$17(luvio, params) {
3498
- return select$1c();
3497
+ function select$1c(luvio, params) {
3498
+ return select$1h();
3499
3499
  }
3500
- function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
3501
- getTypeCacheKeys$w(storeKeyMap, luvio, response);
3500
+ function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
3501
+ getTypeCacheKeys$y(storeKeyMap, luvio, response);
3502
3502
  }
3503
- function ingestSuccess$E(luvio, resourceParams, response) {
3503
+ function ingestSuccess$H(luvio, resourceParams, response) {
3504
3504
  const { body } = response;
3505
- const key = keyBuilderFromType$h(luvio, body);
3506
- luvio.storeIngest(key, ingest$w, body);
3505
+ const key = keyBuilderFromType$i(luvio, body);
3506
+ luvio.storeIngest(key, ingest$y, body);
3507
3507
  const snapshot = luvio.storeLookup({
3508
3508
  recordId: key,
3509
- node: select$17(),
3509
+ node: select$1c(),
3510
3510
  variables: {},
3511
3511
  });
3512
3512
  if (process.env.NODE_ENV !== 'production') {
@@ -3517,7 +3517,7 @@ function ingestSuccess$E(luvio, resourceParams, response) {
3517
3517
  deepFreeze(snapshot.data);
3518
3518
  return snapshot;
3519
3519
  }
3520
- function createResourceRequest$K(config) {
3520
+ function createResourceRequest$O(config) {
3521
3521
  const headers = {};
3522
3522
  return {
3523
3523
  baseUri: '/services/data/v64.0',
@@ -3531,7 +3531,7 @@ function createResourceRequest$K(config) {
3531
3531
  };
3532
3532
  }
3533
3533
 
3534
- const adapterName$K = 'updateDashboard';
3534
+ const adapterName$O = 'updateDashboard';
3535
3535
  const updateDashboard_ConfigPropertyMetadata = [
3536
3536
  generateParamConfigMetadata('dashboardIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
3537
3537
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
@@ -3544,11 +3544,11 @@ const updateDashboard_ConfigPropertyMetadata = [
3544
3544
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3545
3545
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3546
3546
  ];
3547
- const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$K, updateDashboard_ConfigPropertyMetadata);
3548
- const createResourceParams$K = /*#__PURE__*/ createResourceParams$U(updateDashboard_ConfigPropertyMetadata);
3549
- function typeCheckConfig$K(untrustedConfig) {
3547
+ const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$O, updateDashboard_ConfigPropertyMetadata);
3548
+ const createResourceParams$O = /*#__PURE__*/ createResourceParams$Y(updateDashboard_ConfigPropertyMetadata);
3549
+ function typeCheckConfig$O(untrustedConfig) {
3550
3550
  const config = {};
3551
- typeCheckConfig$U(untrustedConfig, config, updateDashboard_ConfigPropertyMetadata);
3551
+ typeCheckConfig$Y(untrustedConfig, config, updateDashboard_ConfigPropertyMetadata);
3552
3552
  const untrustedConfig_layouts = untrustedConfig.layouts;
3553
3553
  if (ArrayIsArray$1(untrustedConfig_layouts)) {
3554
3554
  const untrustedConfig_layouts_array = [];
@@ -3590,30 +3590,30 @@ function typeCheckConfig$K(untrustedConfig) {
3590
3590
  }
3591
3591
  return config;
3592
3592
  }
3593
- function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
3593
+ function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
3594
3594
  if (!untrustedIsObject(untrustedConfig)) {
3595
3595
  return null;
3596
3596
  }
3597
3597
  if (process.env.NODE_ENV !== 'production') {
3598
3598
  validateConfig(untrustedConfig, configPropertyNames);
3599
3599
  }
3600
- const config = typeCheckConfig$K(untrustedConfig);
3600
+ const config = typeCheckConfig$O(untrustedConfig);
3601
3601
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3602
3602
  return null;
3603
3603
  }
3604
3604
  return config;
3605
3605
  }
3606
- function buildNetworkSnapshot$K(luvio, config, options) {
3607
- const resourceParams = createResourceParams$K(config);
3608
- const request = createResourceRequest$K(resourceParams);
3606
+ function buildNetworkSnapshot$O(luvio, config, options) {
3607
+ const resourceParams = createResourceParams$O(config);
3608
+ const request = createResourceRequest$O(resourceParams);
3609
3609
  return luvio.dispatchResourceRequest(request, options)
3610
3610
  .then((response) => {
3611
3611
  return luvio.handleSuccessResponse(() => {
3612
- const snapshot = ingestSuccess$E(luvio, resourceParams, response);
3612
+ const snapshot = ingestSuccess$H(luvio, resourceParams, response);
3613
3613
  return luvio.storeBroadcast().then(() => snapshot);
3614
3614
  }, () => {
3615
3615
  const cache = new StoreKeyMap();
3616
- getResponseCacheKeys$K(cache, luvio, resourceParams, response.body);
3616
+ getResponseCacheKeys$O(cache, luvio, resourceParams, response.body);
3617
3617
  return cache;
3618
3618
  });
3619
3619
  }, (response) => {
@@ -3623,20 +3623,16 @@ function buildNetworkSnapshot$K(luvio, config, options) {
3623
3623
  }
3624
3624
  const updateDashboardAdapterFactory = (luvio) => {
3625
3625
  return function updateDashboard(untrustedConfig) {
3626
- const config = validateAdapterConfig$K(untrustedConfig, updateDashboard_ConfigPropertyNames);
3626
+ const config = validateAdapterConfig$O(untrustedConfig, updateDashboard_ConfigPropertyNames);
3627
3627
  // Invalid or incomplete config
3628
3628
  if (config === null) {
3629
3629
  throw new Error('Invalid config for "updateDashboard"');
3630
3630
  }
3631
- return buildNetworkSnapshot$K(luvio, config);
3631
+ return buildNetworkSnapshot$O(luvio, config);
3632
3632
  };
3633
3633
  };
3634
3634
 
3635
- var DiscriminatorValues$3;
3636
- (function (DiscriminatorValues) {
3637
- DiscriminatorValues["Notification"] = "Notification";
3638
- })(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
3639
- function validate$O(obj, path = 'DataAlertReceiversInputRepresentation') {
3635
+ function validate$X(obj, path = 'DataAlertContentRepresentation') {
3640
3636
  const v_error = (() => {
3641
3637
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3642
3638
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3650,7 +3646,21 @@ function validate$O(obj, path = 'DataAlertReceiversInputRepresentation') {
3650
3646
  return v_error === undefined ? null : v_error;
3651
3647
  }
3652
3648
 
3653
- function validate$N(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
3649
+ function validate$W(obj, path = 'DataAlertReceiversRepresentation') {
3650
+ const v_error = (() => {
3651
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3652
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3653
+ }
3654
+ const obj_type = obj.type;
3655
+ const path_type = path + '.type';
3656
+ if (typeof obj_type !== 'string') {
3657
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
3658
+ }
3659
+ })();
3660
+ return v_error === undefined ? null : v_error;
3661
+ }
3662
+
3663
+ function validate$V(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
3654
3664
  const v_error = (() => {
3655
3665
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3656
3666
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3663,9 +3673,9 @@ function validate$N(obj, path = 'DataAlertDeliveryConfigurationInputRepresentati
3663
3673
  for (let i = 0; i < obj_receivers.length; i++) {
3664
3674
  const obj_receivers_item = obj_receivers[i];
3665
3675
  const path_receivers_item = path_receivers + '[' + i + ']';
3666
- const referencepath_receivers_itemValidationError = validate$O(obj_receivers_item, path_receivers_item);
3676
+ const referencepath_receivers_itemValidationError = validate$W(obj_receivers_item, path_receivers_item);
3667
3677
  if (referencepath_receivers_itemValidationError !== null) {
3668
- let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
3678
+ let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
3669
3679
  message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3670
3680
  return new TypeError(message);
3671
3681
  }
@@ -3674,16 +3684,23 @@ function validate$N(obj, path = 'DataAlertDeliveryConfigurationInputRepresentati
3674
3684
  return v_error === undefined ? null : v_error;
3675
3685
  }
3676
3686
 
3677
- var DiscriminatorValues$2;
3678
- (function (DiscriminatorValues) {
3679
- DiscriminatorValues["RawValue"] = "RawValue";
3680
- DiscriminatorValues["Insights"] = "Insights";
3681
- })(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
3682
- function validate$M(obj, path = 'DataAlertValueInputRepresentation') {
3687
+ function validate$U(obj, path = 'DataAlertScheduleRepresentation') {
3683
3688
  const v_error = (() => {
3684
3689
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3685
3690
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3686
3691
  }
3692
+ const obj_hoursOfDay = obj.hoursOfDay;
3693
+ const path_hoursOfDay = path + '.hoursOfDay';
3694
+ if (!ArrayIsArray(obj_hoursOfDay)) {
3695
+ return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
3696
+ }
3697
+ for (let i = 0; i < obj_hoursOfDay.length; i++) {
3698
+ const obj_hoursOfDay_item = obj_hoursOfDay[i];
3699
+ const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
3700
+ if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
3701
+ return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
3702
+ }
3703
+ }
3687
3704
  const obj_type = obj.type;
3688
3705
  const path_type = path + '.type';
3689
3706
  if (typeof obj_type !== 'string') {
@@ -3693,7 +3710,7 @@ function validate$M(obj, path = 'DataAlertValueInputRepresentation') {
3693
3710
  return v_error === undefined ? null : v_error;
3694
3711
  }
3695
3712
 
3696
- function validate$L(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
3713
+ function validate$T(obj, path = 'DataAlertValueRepresentation') {
3697
3714
  const v_error = (() => {
3698
3715
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3699
3716
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3707,16 +3724,16 @@ function validate$L(obj, path = 'DataAlertValueRightOperandInputRepresentation')
3707
3724
  return v_error === undefined ? null : v_error;
3708
3725
  }
3709
3726
 
3710
- function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
3727
+ function validate$S(obj, path = 'DataAlertConditionRepresentation') {
3711
3728
  const v_error = (() => {
3712
3729
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3713
3730
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3714
3731
  }
3715
3732
  const obj_leftOperand = obj.leftOperand;
3716
3733
  const path_leftOperand = path + '.leftOperand';
3717
- const referencepath_leftOperandValidationError = validate$M(obj_leftOperand, path_leftOperand);
3734
+ const referencepath_leftOperandValidationError = validate$T(obj_leftOperand, path_leftOperand);
3718
3735
  if (referencepath_leftOperandValidationError !== null) {
3719
- let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
3736
+ let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_leftOperand + '")\n';
3720
3737
  message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3721
3738
  return new TypeError(message);
3722
3739
  }
@@ -3727,9 +3744,9 @@ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
3727
3744
  }
3728
3745
  const obj_rightOperand = obj.rightOperand;
3729
3746
  const path_rightOperand = path + '.rightOperand';
3730
- const referencepath_rightOperandValidationError = validate$L(obj_rightOperand, path_rightOperand);
3747
+ const referencepath_rightOperandValidationError = validate$T(obj_rightOperand, path_rightOperand);
3731
3748
  if (referencepath_rightOperandValidationError !== null) {
3732
- let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
3749
+ let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_rightOperand + '")\n';
3733
3750
  message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3734
3751
  return new TypeError(message);
3735
3752
  }
@@ -3737,7 +3754,7 @@ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
3737
3754
  return v_error === undefined ? null : v_error;
3738
3755
  }
3739
3756
 
3740
- function validate$J(obj, path = 'DataAlertThresholdsInputRepresentation') {
3757
+ function validate$R(obj, path = 'DataAlertThresholdsRepresentation') {
3741
3758
  const v_error = (() => {
3742
3759
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3743
3760
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3750,9 +3767,9 @@ function validate$J(obj, path = 'DataAlertThresholdsInputRepresentation') {
3750
3767
  for (let i = 0; i < obj_conditions.length; i++) {
3751
3768
  const obj_conditions_item = obj_conditions[i];
3752
3769
  const path_conditions_item = path_conditions + '[' + i + ']';
3753
- const referencepath_conditions_itemValidationError = validate$K(obj_conditions_item, path_conditions_item);
3770
+ const referencepath_conditions_itemValidationError = validate$S(obj_conditions_item, path_conditions_item);
3754
3771
  if (referencepath_conditions_itemValidationError !== null) {
3755
- let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
3772
+ let message = 'Object doesn\'t match DataAlertConditionRepresentation (at "' + path_conditions_item + '")\n';
3756
3773
  message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3757
3774
  return new TypeError(message);
3758
3775
  }
@@ -3766,83 +3783,908 @@ function validate$J(obj, path = 'DataAlertThresholdsInputRepresentation') {
3766
3783
  return v_error === undefined ? null : v_error;
3767
3784
  }
3768
3785
 
3769
- const TTL$k = 500;
3770
- const VERSION$u = "7f11b071aca79c0d2d3ecbfb23e11589";
3771
- function validate$I(obj, path = 'DataAlertRepresentation') {
3786
+ const TTL$m = 500;
3787
+ const VERSION$w = "3229a7b14837ba4170d4cd91239df29c";
3788
+ function validate$Q(obj, path = 'DataAlertRepresentation') {
3772
3789
  const v_error = (() => {
3773
3790
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3774
3791
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3775
3792
  }
3793
+ const obj_alertName = obj.alertName;
3794
+ const path_alertName = path + '.alertName';
3795
+ if (typeof obj_alertName !== 'string') {
3796
+ return new TypeError('Expected "string" but received "' + typeof obj_alertName + '" (at "' + path_alertName + '")');
3797
+ }
3798
+ const obj_content = obj.content;
3799
+ const path_content = path + '.content';
3800
+ const referencepath_contentValidationError = validate$X(obj_content, path_content);
3801
+ if (referencepath_contentValidationError !== null) {
3802
+ let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
3803
+ message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3804
+ return new TypeError(message);
3805
+ }
3806
+ const obj_deliveryConfigurations = obj.deliveryConfigurations;
3807
+ const path_deliveryConfigurations = path + '.deliveryConfigurations';
3808
+ const referencepath_deliveryConfigurationsValidationError = validate$V(obj_deliveryConfigurations, path_deliveryConfigurations);
3809
+ if (referencepath_deliveryConfigurationsValidationError !== null) {
3810
+ let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
3811
+ message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3812
+ return new TypeError(message);
3813
+ }
3776
3814
  const obj_id = obj.id;
3777
3815
  const path_id = path + '.id';
3778
3816
  if (typeof obj_id !== 'string') {
3779
3817
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3780
3818
  }
3819
+ const obj_schedule = obj.schedule;
3820
+ const path_schedule = path + '.schedule';
3821
+ const referencepath_scheduleValidationError = validate$U(obj_schedule, path_schedule);
3822
+ if (referencepath_scheduleValidationError !== null) {
3823
+ let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
3824
+ message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3825
+ return new TypeError(message);
3826
+ }
3827
+ const obj_thresholds = obj.thresholds;
3828
+ const path_thresholds = path + '.thresholds';
3829
+ const referencepath_thresholdsValidationError = validate$R(obj_thresholds, path_thresholds);
3830
+ if (referencepath_thresholdsValidationError !== null) {
3831
+ let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
3832
+ message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3833
+ return new TypeError(message);
3834
+ }
3781
3835
  })();
3782
3836
  return v_error === undefined ? null : v_error;
3783
3837
  }
3784
- const RepresentationType$w = 'DataAlertRepresentation';
3785
- function keyBuilder$10(luvio, config) {
3786
- return keyPrefix + '::' + RepresentationType$w + ':' + config.dataAlertId;
3838
+ const RepresentationType$y = 'DataAlertRepresentation';
3839
+ function keyBuilder$16(luvio, config) {
3840
+ return keyPrefix + '::' + RepresentationType$y + ':' + config.dataAlertId;
3787
3841
  }
3788
- function keyBuilderFromType$g(luvio, object) {
3842
+ function keyBuilderFromType$h(luvio, object) {
3789
3843
  const keyParams = {
3790
3844
  dataAlertId: object.id
3791
3845
  };
3792
- return keyBuilder$10(luvio, keyParams);
3846
+ return keyBuilder$16(luvio, keyParams);
3793
3847
  }
3794
- function normalize$u(input, existing, path, luvio, store, timestamp) {
3848
+ function normalize$w(input, existing, path, luvio, store, timestamp) {
3795
3849
  return input;
3796
3850
  }
3797
- const select$16 = function DataAlertRepresentationSelect() {
3851
+ const select$1b = function DataAlertRepresentationSelect() {
3798
3852
  return {
3799
3853
  kind: 'Fragment',
3800
- version: VERSION$u,
3854
+ version: VERSION$w,
3801
3855
  private: [],
3802
3856
  opaque: true
3803
3857
  };
3804
3858
  };
3805
- function equals$u(existing, incoming) {
3859
+ function equals$w(existing, incoming) {
3806
3860
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
3807
3861
  return false;
3808
3862
  }
3809
3863
  return true;
3810
3864
  }
3811
- const ingest$u = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
3865
+ const ingest$w = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
3812
3866
  if (process.env.NODE_ENV !== 'production') {
3813
- const validateError = validate$I(input);
3867
+ const validateError = validate$Q(input);
3814
3868
  if (validateError !== null) {
3815
3869
  throw validateError;
3816
3870
  }
3817
3871
  }
3818
- const key = keyBuilderFromType$g(luvio, input);
3819
- const ttlToUse = TTL$k;
3820
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UnifiedAnalytics", VERSION$u, RepresentationType$w, equals$u);
3872
+ const key = keyBuilderFromType$h(luvio, input);
3873
+ const ttlToUse = TTL$m;
3874
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UnifiedAnalytics", VERSION$w, RepresentationType$y, equals$w);
3821
3875
  return createLink(key);
3822
3876
  };
3823
- function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
3877
+ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
3824
3878
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3825
- const rootKey = keyBuilderFromType$g(luvio, input);
3879
+ const rootKey = keyBuilderFromType$h(luvio, input);
3826
3880
  rootKeySet.set(rootKey, {
3827
3881
  namespace: keyPrefix,
3828
- representationName: RepresentationType$w,
3882
+ representationName: RepresentationType$y,
3829
3883
  mergeable: false
3830
3884
  });
3831
3885
  }
3832
3886
 
3833
- function select$15(luvio, params) {
3834
- return select$16();
3887
+ const TTL$l = 500;
3888
+ const VERSION$v = "af0497c1f6e23bc472a94e33329c591e";
3889
+ function validate$P(obj, path = 'DataAlertCollectionRepresentation') {
3890
+ const v_error = (() => {
3891
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3892
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3893
+ }
3894
+ const obj_dataAlerts = obj.dataAlerts;
3895
+ const path_dataAlerts = path + '.dataAlerts';
3896
+ if (!ArrayIsArray(obj_dataAlerts)) {
3897
+ return new TypeError('Expected "array" but received "' + typeof obj_dataAlerts + '" (at "' + path_dataAlerts + '")');
3898
+ }
3899
+ for (let i = 0; i < obj_dataAlerts.length; i++) {
3900
+ const obj_dataAlerts_item = obj_dataAlerts[i];
3901
+ const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
3902
+ if (typeof obj_dataAlerts_item !== 'object') {
3903
+ return new TypeError('Expected "object" but received "' + typeof obj_dataAlerts_item + '" (at "' + path_dataAlerts_item + '")');
3904
+ }
3905
+ }
3906
+ const obj_nextPageUrl = obj.nextPageUrl;
3907
+ const path_nextPageUrl = path + '.nextPageUrl';
3908
+ if (typeof obj_nextPageUrl !== 'string') {
3909
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
3910
+ }
3911
+ const obj_totalSize = obj.totalSize;
3912
+ const path_totalSize = path + '.totalSize';
3913
+ if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
3914
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
3915
+ }
3916
+ })();
3917
+ return v_error === undefined ? null : v_error;
3918
+ }
3919
+ const RepresentationType$x = 'DataAlertCollectionRepresentation';
3920
+ function normalize$v(input, existing, path, luvio, store, timestamp) {
3921
+ const input_dataAlerts = input.dataAlerts;
3922
+ const input_dataAlerts_id = path.fullPath + '__dataAlerts';
3923
+ for (let i = 0; i < input_dataAlerts.length; i++) {
3924
+ const input_dataAlerts_item = input_dataAlerts[i];
3925
+ let input_dataAlerts_item_id = input_dataAlerts_id + '__' + i;
3926
+ input_dataAlerts[i] = ingest$w(input_dataAlerts_item, {
3927
+ fullPath: input_dataAlerts_item_id,
3928
+ propertyName: i,
3929
+ parent: {
3930
+ data: input,
3931
+ key: path.fullPath,
3932
+ existing: existing,
3933
+ },
3934
+ ttl: path.ttl
3935
+ }, luvio, store, timestamp);
3936
+ }
3937
+ return input;
3938
+ }
3939
+ const select$1a = function DataAlertCollectionRepresentationSelect() {
3940
+ return {
3941
+ kind: 'Fragment',
3942
+ version: VERSION$v,
3943
+ private: [],
3944
+ selections: [
3945
+ {
3946
+ name: 'dataAlerts',
3947
+ kind: 'Link',
3948
+ plural: true,
3949
+ fragment: select$1b()
3950
+ },
3951
+ {
3952
+ name: 'nextPageUrl',
3953
+ kind: 'Scalar'
3954
+ },
3955
+ {
3956
+ name: 'totalSize',
3957
+ kind: 'Scalar'
3958
+ }
3959
+ ]
3960
+ };
3961
+ };
3962
+ function equals$v(existing, incoming) {
3963
+ const existing_totalSize = existing.totalSize;
3964
+ const incoming_totalSize = incoming.totalSize;
3965
+ if (!(existing_totalSize === incoming_totalSize)) {
3966
+ return false;
3967
+ }
3968
+ const existing_nextPageUrl = existing.nextPageUrl;
3969
+ const incoming_nextPageUrl = incoming.nextPageUrl;
3970
+ if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
3971
+ return false;
3972
+ }
3973
+ const existing_dataAlerts = existing.dataAlerts;
3974
+ const incoming_dataAlerts = incoming.dataAlerts;
3975
+ const equals_dataAlerts_items = equalsArray(existing_dataAlerts, incoming_dataAlerts, (existing_dataAlerts_item, incoming_dataAlerts_item) => {
3976
+ if (!(existing_dataAlerts_item.__ref === incoming_dataAlerts_item.__ref)) {
3977
+ return false;
3978
+ }
3979
+ });
3980
+ if (equals_dataAlerts_items === false) {
3981
+ return false;
3982
+ }
3983
+ return true;
3984
+ }
3985
+ const ingest$v = function DataAlertCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
3986
+ if (process.env.NODE_ENV !== 'production') {
3987
+ const validateError = validate$P(input);
3988
+ if (validateError !== null) {
3989
+ throw validateError;
3990
+ }
3991
+ }
3992
+ const key = path.fullPath;
3993
+ const ttlToUse = TTL$l;
3994
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UnifiedAnalytics", VERSION$v, RepresentationType$x, equals$v);
3995
+ return createLink(key);
3996
+ };
3997
+ function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
3998
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3999
+ const rootKey = fullPathFactory();
4000
+ rootKeySet.set(rootKey, {
4001
+ namespace: keyPrefix,
4002
+ representationName: RepresentationType$x,
4003
+ mergeable: false
4004
+ });
4005
+ const input_dataAlerts_length = input.dataAlerts.length;
4006
+ for (let i = 0; i < input_dataAlerts_length; i++) {
4007
+ getTypeCacheKeys$w(rootKeySet, luvio, input.dataAlerts[i]);
4008
+ }
4009
+ }
4010
+
4011
+ function select$19(luvio, params) {
4012
+ return select$1a();
4013
+ }
4014
+ function keyBuilder$15(luvio, params) {
4015
+ return keyPrefix + '::DataAlertCollectionRepresentation:(' + 'ownerId:' + params.queryParams.ownerId + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ')';
4016
+ }
4017
+ function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
4018
+ getTypeCacheKeys$v(storeKeyMap, luvio, response, () => keyBuilder$15(luvio, resourceParams));
4019
+ }
4020
+ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
4021
+ const { body } = response;
4022
+ const key = keyBuilder$15(luvio, resourceParams);
4023
+ luvio.storeIngest(key, ingest$v, body);
4024
+ const snapshot = luvio.storeLookup({
4025
+ recordId: key,
4026
+ node: select$19(),
4027
+ variables: {},
4028
+ }, snapshotRefresh);
4029
+ if (process.env.NODE_ENV !== 'production') {
4030
+ if (snapshot.state !== 'Fulfilled') {
4031
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4032
+ }
4033
+ }
4034
+ deepFreeze(snapshot.data);
4035
+ return snapshot;
4036
+ }
4037
+ function ingestError$l(luvio, params, error, snapshotRefresh) {
4038
+ const key = keyBuilder$15(luvio, params);
4039
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4040
+ const storeMetadataParams = {
4041
+ ttl: TTL$l,
4042
+ namespace: keyPrefix,
4043
+ version: VERSION$v,
4044
+ representationName: RepresentationType$x
4045
+ };
4046
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4047
+ return errorSnapshot;
4048
+ }
4049
+ function createResourceRequest$N(config) {
4050
+ const headers = {};
4051
+ return {
4052
+ baseUri: '/services/data/v64.0',
4053
+ basePath: '/tableau/dataAlerts',
4054
+ method: 'get',
4055
+ body: null,
4056
+ urlParams: {},
4057
+ queryParams: config.queryParams,
4058
+ headers,
4059
+ priority: 'normal',
4060
+ };
4061
+ }
4062
+
4063
+ const adapterName$N = 'getDataAlertCollection';
4064
+ const getDataAlertCollection_ConfigPropertyMetadata = [
4065
+ generateParamConfigMetadata('ownerId', true, 1 /* QueryParameter */, 0 /* String */),
4066
+ generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
4067
+ generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
4068
+ ];
4069
+ const getDataAlertCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, getDataAlertCollection_ConfigPropertyMetadata);
4070
+ const createResourceParams$N = /*#__PURE__*/ createResourceParams$Y(getDataAlertCollection_ConfigPropertyMetadata);
4071
+ function keyBuilder$14(luvio, config) {
4072
+ const resourceParams = createResourceParams$N(config);
4073
+ return keyBuilder$15(luvio, resourceParams);
4074
+ }
4075
+ function typeCheckConfig$N(untrustedConfig) {
4076
+ const config = {};
4077
+ typeCheckConfig$Y(untrustedConfig, config, getDataAlertCollection_ConfigPropertyMetadata);
4078
+ return config;
4079
+ }
4080
+ function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
4081
+ if (!untrustedIsObject(untrustedConfig)) {
4082
+ return null;
4083
+ }
4084
+ if (process.env.NODE_ENV !== 'production') {
4085
+ validateConfig(untrustedConfig, configPropertyNames);
4086
+ }
4087
+ const config = typeCheckConfig$N(untrustedConfig);
4088
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4089
+ return null;
4090
+ }
4091
+ return config;
4092
+ }
4093
+ function adapterFragment$l(luvio, config) {
4094
+ createResourceParams$N(config);
4095
+ return select$19();
4096
+ }
4097
+ function onFetchResponseSuccess$l(luvio, config, resourceParams, response) {
4098
+ const snapshot = ingestSuccess$G(luvio, resourceParams, response, {
4099
+ config,
4100
+ resolve: () => buildNetworkSnapshot$N(luvio, config, snapshotRefreshOptions)
4101
+ });
4102
+ return luvio.storeBroadcast().then(() => snapshot);
4103
+ }
4104
+ function onFetchResponseError$l(luvio, config, resourceParams, response) {
4105
+ const snapshot = ingestError$l(luvio, resourceParams, response, {
4106
+ config,
4107
+ resolve: () => buildNetworkSnapshot$N(luvio, config, snapshotRefreshOptions)
4108
+ });
4109
+ return luvio.storeBroadcast().then(() => snapshot);
4110
+ }
4111
+ function buildNetworkSnapshot$N(luvio, config, options) {
4112
+ const resourceParams = createResourceParams$N(config);
4113
+ const request = createResourceRequest$N(resourceParams);
4114
+ return luvio.dispatchResourceRequest(request, options)
4115
+ .then((response) => {
4116
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$l(luvio, config, resourceParams, response), () => {
4117
+ const cache = new StoreKeyMap();
4118
+ getResponseCacheKeys$N(cache, luvio, resourceParams, response.body);
4119
+ return cache;
4120
+ });
4121
+ }, (response) => {
4122
+ return luvio.handleErrorResponse(() => onFetchResponseError$l(luvio, config, resourceParams, response));
4123
+ });
4124
+ }
4125
+ function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext) {
4126
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$N, undefined, false);
4127
+ }
4128
+ function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
4129
+ const { luvio, config } = context;
4130
+ const selector = {
4131
+ recordId: keyBuilder$14(luvio, config),
4132
+ node: adapterFragment$l(luvio, config),
4133
+ variables: {},
4134
+ };
4135
+ const cacheSnapshot = storeLookup(selector, {
4136
+ config,
4137
+ resolve: () => buildNetworkSnapshot$N(luvio, config, snapshotRefreshOptions)
4138
+ });
4139
+ return cacheSnapshot;
4140
+ }
4141
+ const getDataAlertCollectionAdapterFactory = (luvio) => function UnifiedAnalytics__getDataAlertCollection(untrustedConfig, requestContext) {
4142
+ const config = validateAdapterConfig$N(untrustedConfig, getDataAlertCollection_ConfigPropertyNames);
4143
+ // Invalid or incomplete config
4144
+ if (config === null) {
4145
+ return null;
4146
+ }
4147
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4148
+ buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
4149
+ };
4150
+
4151
+ var DiscriminatorValues$3;
4152
+ (function (DiscriminatorValues) {
4153
+ DiscriminatorValues["Notification"] = "Notification";
4154
+ })(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
4155
+ function validate$O(obj, path = 'DataAlertReceiversInputRepresentation') {
4156
+ const v_error = (() => {
4157
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4158
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4159
+ }
4160
+ const obj_type = obj.type;
4161
+ const path_type = path + '.type';
4162
+ if (typeof obj_type !== 'string') {
4163
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
4164
+ }
4165
+ })();
4166
+ return v_error === undefined ? null : v_error;
4167
+ }
4168
+
4169
+ function validate$N(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
4170
+ const v_error = (() => {
4171
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4172
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4173
+ }
4174
+ const obj_receivers = obj.receivers;
4175
+ const path_receivers = path + '.receivers';
4176
+ if (!ArrayIsArray(obj_receivers)) {
4177
+ return new TypeError('Expected "array" but received "' + typeof obj_receivers + '" (at "' + path_receivers + '")');
4178
+ }
4179
+ for (let i = 0; i < obj_receivers.length; i++) {
4180
+ const obj_receivers_item = obj_receivers[i];
4181
+ const path_receivers_item = path_receivers + '[' + i + ']';
4182
+ const referencepath_receivers_itemValidationError = validate$O(obj_receivers_item, path_receivers_item);
4183
+ if (referencepath_receivers_itemValidationError !== null) {
4184
+ let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
4185
+ message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4186
+ return new TypeError(message);
4187
+ }
4188
+ }
4189
+ })();
4190
+ return v_error === undefined ? null : v_error;
4191
+ }
4192
+
4193
+ var DiscriminatorValues$2;
4194
+ (function (DiscriminatorValues) {
4195
+ DiscriminatorValues["RawValue"] = "RawValue";
4196
+ DiscriminatorValues["Insights"] = "Insights";
4197
+ })(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
4198
+ function validate$M(obj, path = 'DataAlertValueInputRepresentation') {
4199
+ const v_error = (() => {
4200
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4201
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4202
+ }
4203
+ const obj_type = obj.type;
4204
+ const path_type = path + '.type';
4205
+ if (typeof obj_type !== 'string') {
4206
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
4207
+ }
4208
+ })();
4209
+ return v_error === undefined ? null : v_error;
4210
+ }
4211
+
4212
+ function validate$L(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
4213
+ const v_error = (() => {
4214
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4215
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4216
+ }
4217
+ const obj_type = obj.type;
4218
+ const path_type = path + '.type';
4219
+ if (typeof obj_type !== 'string') {
4220
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
4221
+ }
4222
+ })();
4223
+ return v_error === undefined ? null : v_error;
4224
+ }
4225
+
4226
+ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
4227
+ const v_error = (() => {
4228
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4229
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4230
+ }
4231
+ const obj_leftOperand = obj.leftOperand;
4232
+ const path_leftOperand = path + '.leftOperand';
4233
+ const referencepath_leftOperandValidationError = validate$M(obj_leftOperand, path_leftOperand);
4234
+ if (referencepath_leftOperandValidationError !== null) {
4235
+ let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
4236
+ message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4237
+ return new TypeError(message);
4238
+ }
4239
+ const obj_operator = obj.operator;
4240
+ const path_operator = path + '.operator';
4241
+ if (typeof obj_operator !== 'string') {
4242
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
4243
+ }
4244
+ const obj_rightOperand = obj.rightOperand;
4245
+ const path_rightOperand = path + '.rightOperand';
4246
+ const referencepath_rightOperandValidationError = validate$L(obj_rightOperand, path_rightOperand);
4247
+ if (referencepath_rightOperandValidationError !== null) {
4248
+ let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
4249
+ message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4250
+ return new TypeError(message);
4251
+ }
4252
+ })();
4253
+ return v_error === undefined ? null : v_error;
4254
+ }
4255
+
4256
+ function validate$J(obj, path = 'DataAlertThresholdsInputRepresentation') {
4257
+ const v_error = (() => {
4258
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4259
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4260
+ }
4261
+ const obj_conditions = obj.conditions;
4262
+ const path_conditions = path + '.conditions';
4263
+ if (!ArrayIsArray(obj_conditions)) {
4264
+ return new TypeError('Expected "array" but received "' + typeof obj_conditions + '" (at "' + path_conditions + '")');
4265
+ }
4266
+ for (let i = 0; i < obj_conditions.length; i++) {
4267
+ const obj_conditions_item = obj_conditions[i];
4268
+ const path_conditions_item = path_conditions + '[' + i + ']';
4269
+ const referencepath_conditions_itemValidationError = validate$K(obj_conditions_item, path_conditions_item);
4270
+ if (referencepath_conditions_itemValidationError !== null) {
4271
+ let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
4272
+ message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4273
+ return new TypeError(message);
4274
+ }
4275
+ }
4276
+ const obj_customLogicalOperation = obj.customLogicalOperation;
4277
+ const path_customLogicalOperation = path + '.customLogicalOperation';
4278
+ if (typeof obj_customLogicalOperation !== 'string') {
4279
+ return new TypeError('Expected "string" but received "' + typeof obj_customLogicalOperation + '" (at "' + path_customLogicalOperation + '")');
4280
+ }
4281
+ })();
4282
+ return v_error === undefined ? null : v_error;
4283
+ }
4284
+
4285
+ function select$18(luvio, params) {
4286
+ return select$1b();
4287
+ }
4288
+ function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
4289
+ getTypeCacheKeys$w(storeKeyMap, luvio, response);
4290
+ }
4291
+ function ingestSuccess$F(luvio, resourceParams, response) {
4292
+ const { body } = response;
4293
+ const key = keyBuilderFromType$h(luvio, body);
4294
+ luvio.storeIngest(key, ingest$w, body);
4295
+ const snapshot = luvio.storeLookup({
4296
+ recordId: key,
4297
+ node: select$18(),
4298
+ variables: {},
4299
+ });
4300
+ if (process.env.NODE_ENV !== 'production') {
4301
+ if (snapshot.state !== 'Fulfilled') {
4302
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4303
+ }
4304
+ }
4305
+ deepFreeze(snapshot.data);
4306
+ return snapshot;
4307
+ }
4308
+ function createResourceRequest$M(config) {
4309
+ const headers = {};
4310
+ return {
4311
+ baseUri: '/services/data/v64.0',
4312
+ basePath: '/tableau/dataAlerts',
4313
+ method: 'post',
4314
+ body: config.body,
4315
+ urlParams: {},
4316
+ queryParams: config.queryParams,
4317
+ headers,
4318
+ priority: 'normal',
4319
+ };
4320
+ }
4321
+
4322
+ var DiscriminatorValues$1;
4323
+ (function (DiscriminatorValues) {
4324
+ DiscriminatorValues["Metric"] = "Metric";
4325
+ })(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
4326
+ function validate$I(obj, path = 'DataAlertContentInputRepresentation') {
4327
+ const v_error = (() => {
4328
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4329
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4330
+ }
4331
+ const obj_type = obj.type;
4332
+ const path_type = path + '.type';
4333
+ if (typeof obj_type !== 'string') {
4334
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
4335
+ }
4336
+ })();
4337
+ return v_error === undefined ? null : v_error;
4338
+ }
4339
+
4340
+ var DiscriminatorValues;
4341
+ (function (DiscriminatorValues) {
4342
+ DiscriminatorValues["Daily"] = "Daily";
4343
+ DiscriminatorValues["Weekly"] = "Weekly";
4344
+ DiscriminatorValues["Cron"] = "Cron";
4345
+ })(DiscriminatorValues || (DiscriminatorValues = {}));
4346
+ function validate$H(obj, path = 'DataAlertScheduleInputRepresentation') {
4347
+ const v_error = (() => {
4348
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4349
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4350
+ }
4351
+ const obj_hoursOfDay = obj.hoursOfDay;
4352
+ const path_hoursOfDay = path + '.hoursOfDay';
4353
+ if (!ArrayIsArray(obj_hoursOfDay)) {
4354
+ return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
4355
+ }
4356
+ for (let i = 0; i < obj_hoursOfDay.length; i++) {
4357
+ const obj_hoursOfDay_item = obj_hoursOfDay[i];
4358
+ const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
4359
+ if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
4360
+ return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
4361
+ }
4362
+ }
4363
+ const obj_type = obj.type;
4364
+ const path_type = path + '.type';
4365
+ if (typeof obj_type !== 'string') {
4366
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
4367
+ }
4368
+ })();
4369
+ return v_error === undefined ? null : v_error;
4370
+ }
4371
+
4372
+ const adapterName$M = 'createDataAlert';
4373
+ const createDataAlert_ConfigPropertyMetadata = [
4374
+ generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
4375
+ generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
4376
+ generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
4377
+ generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
4378
+ generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
4379
+ generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
4380
+ generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
4381
+ ];
4382
+ const createDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, createDataAlert_ConfigPropertyMetadata);
4383
+ const createResourceParams$M = /*#__PURE__*/ createResourceParams$Y(createDataAlert_ConfigPropertyMetadata);
4384
+ function typeCheckConfig$M(untrustedConfig) {
4385
+ const config = {};
4386
+ typeCheckConfig$Y(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
4387
+ const untrustedConfig_content = untrustedConfig.content;
4388
+ const referenceDataAlertContentInputRepresentationValidationError = validate$I(untrustedConfig_content);
4389
+ if (referenceDataAlertContentInputRepresentationValidationError === null) {
4390
+ config.content = untrustedConfig_content;
4391
+ }
4392
+ const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
4393
+ const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$N(untrustedConfig_deliveryConfigurations);
4394
+ if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
4395
+ config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
4396
+ }
4397
+ const untrustedConfig_schedule = untrustedConfig.schedule;
4398
+ const referenceDataAlertScheduleInputRepresentationValidationError = validate$H(untrustedConfig_schedule);
4399
+ if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
4400
+ config.schedule = untrustedConfig_schedule;
4401
+ }
4402
+ const untrustedConfig_thresholds = untrustedConfig.thresholds;
4403
+ const referenceDataAlertThresholdsInputRepresentationValidationError = validate$J(untrustedConfig_thresholds);
4404
+ if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
4405
+ config.thresholds = untrustedConfig_thresholds;
4406
+ }
4407
+ return config;
4408
+ }
4409
+ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
4410
+ if (!untrustedIsObject(untrustedConfig)) {
4411
+ return null;
4412
+ }
4413
+ if (process.env.NODE_ENV !== 'production') {
4414
+ validateConfig(untrustedConfig, configPropertyNames);
4415
+ }
4416
+ const config = typeCheckConfig$M(untrustedConfig);
4417
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4418
+ return null;
4419
+ }
4420
+ return config;
4421
+ }
4422
+ function buildNetworkSnapshot$M(luvio, config, options) {
4423
+ const resourceParams = createResourceParams$M(config);
4424
+ const request = createResourceRequest$M(resourceParams);
4425
+ return luvio.dispatchResourceRequest(request, options)
4426
+ .then((response) => {
4427
+ return luvio.handleSuccessResponse(() => {
4428
+ const snapshot = ingestSuccess$F(luvio, resourceParams, response);
4429
+ return luvio.storeBroadcast().then(() => snapshot);
4430
+ }, () => {
4431
+ const cache = new StoreKeyMap();
4432
+ getResponseCacheKeys$M(cache, luvio, resourceParams, response.body);
4433
+ return cache;
4434
+ });
4435
+ }, (response) => {
4436
+ deepFreeze(response);
4437
+ throw response;
4438
+ });
4439
+ }
4440
+ const createDataAlertAdapterFactory = (luvio) => {
4441
+ return function createDataAlert(untrustedConfig) {
4442
+ const config = validateAdapterConfig$M(untrustedConfig, createDataAlert_ConfigPropertyNames);
4443
+ // Invalid or incomplete config
4444
+ if (config === null) {
4445
+ throw new Error('Invalid config for "createDataAlert"');
4446
+ }
4447
+ return buildNetworkSnapshot$M(luvio, config);
4448
+ };
4449
+ };
4450
+
4451
+ function select$17(luvio, params) {
4452
+ return select$1b();
4453
+ }
4454
+ function keyBuilder$13(luvio, params) {
4455
+ return keyBuilder$16(luvio, {
4456
+ dataAlertId: params.urlParams.dataAlertId
4457
+ });
4458
+ }
4459
+ function getResponseCacheKeys$L(storeKeyMap, luvio, resourceParams, response) {
4460
+ getTypeCacheKeys$w(storeKeyMap, luvio, response);
4461
+ }
4462
+ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
4463
+ const { body } = response;
4464
+ const key = keyBuilder$13(luvio, resourceParams);
4465
+ luvio.storeIngest(key, ingest$w, body);
4466
+ const snapshot = luvio.storeLookup({
4467
+ recordId: key,
4468
+ node: select$17(),
4469
+ variables: {},
4470
+ }, snapshotRefresh);
4471
+ if (process.env.NODE_ENV !== 'production') {
4472
+ if (snapshot.state !== 'Fulfilled') {
4473
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4474
+ }
4475
+ }
4476
+ deepFreeze(snapshot.data);
4477
+ return snapshot;
4478
+ }
4479
+ function ingestError$k(luvio, params, error, snapshotRefresh) {
4480
+ const key = keyBuilder$13(luvio, params);
4481
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4482
+ const storeMetadataParams = {
4483
+ ttl: TTL$m,
4484
+ namespace: keyPrefix,
4485
+ version: VERSION$w,
4486
+ representationName: RepresentationType$y
4487
+ };
4488
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4489
+ return errorSnapshot;
4490
+ }
4491
+ function createResourceRequest$L(config) {
4492
+ const headers = {};
4493
+ return {
4494
+ baseUri: '/services/data/v64.0',
4495
+ basePath: '/tableau/dataAlerts/' + config.urlParams.dataAlertId + '',
4496
+ method: 'get',
4497
+ body: null,
4498
+ urlParams: config.urlParams,
4499
+ queryParams: {},
4500
+ headers,
4501
+ priority: 'normal',
4502
+ };
4503
+ }
4504
+
4505
+ const adapterName$L = 'getDataAlert';
4506
+ const getDataAlert_ConfigPropertyMetadata = [
4507
+ generateParamConfigMetadata('dataAlertId', true, 0 /* UrlParameter */, 0 /* String */),
4508
+ ];
4509
+ const getDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, getDataAlert_ConfigPropertyMetadata);
4510
+ const createResourceParams$L = /*#__PURE__*/ createResourceParams$Y(getDataAlert_ConfigPropertyMetadata);
4511
+ function keyBuilder$12(luvio, config) {
4512
+ const resourceParams = createResourceParams$L(config);
4513
+ return keyBuilder$13(luvio, resourceParams);
4514
+ }
4515
+ function typeCheckConfig$L(untrustedConfig) {
4516
+ const config = {};
4517
+ typeCheckConfig$Y(untrustedConfig, config, getDataAlert_ConfigPropertyMetadata);
4518
+ return config;
4519
+ }
4520
+ function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
4521
+ if (!untrustedIsObject(untrustedConfig)) {
4522
+ return null;
4523
+ }
4524
+ if (process.env.NODE_ENV !== 'production') {
4525
+ validateConfig(untrustedConfig, configPropertyNames);
4526
+ }
4527
+ const config = typeCheckConfig$L(untrustedConfig);
4528
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4529
+ return null;
4530
+ }
4531
+ return config;
4532
+ }
4533
+ function adapterFragment$k(luvio, config) {
4534
+ createResourceParams$L(config);
4535
+ return select$17();
4536
+ }
4537
+ function onFetchResponseSuccess$k(luvio, config, resourceParams, response) {
4538
+ const snapshot = ingestSuccess$E(luvio, resourceParams, response, {
4539
+ config,
4540
+ resolve: () => buildNetworkSnapshot$L(luvio, config, snapshotRefreshOptions)
4541
+ });
4542
+ return luvio.storeBroadcast().then(() => snapshot);
4543
+ }
4544
+ function onFetchResponseError$k(luvio, config, resourceParams, response) {
4545
+ const snapshot = ingestError$k(luvio, resourceParams, response, {
4546
+ config,
4547
+ resolve: () => buildNetworkSnapshot$L(luvio, config, snapshotRefreshOptions)
4548
+ });
4549
+ return luvio.storeBroadcast().then(() => snapshot);
4550
+ }
4551
+ function buildNetworkSnapshot$L(luvio, config, options) {
4552
+ const resourceParams = createResourceParams$L(config);
4553
+ const request = createResourceRequest$L(resourceParams);
4554
+ return luvio.dispatchResourceRequest(request, options)
4555
+ .then((response) => {
4556
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$k(luvio, config, resourceParams, response), () => {
4557
+ const cache = new StoreKeyMap();
4558
+ getResponseCacheKeys$L(cache, luvio, resourceParams, response.body);
4559
+ return cache;
4560
+ });
4561
+ }, (response) => {
4562
+ return luvio.handleErrorResponse(() => onFetchResponseError$k(luvio, config, resourceParams, response));
4563
+ });
4564
+ }
4565
+ function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext) {
4566
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$L, undefined, false);
4567
+ }
4568
+ function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
4569
+ const { luvio, config } = context;
4570
+ const selector = {
4571
+ recordId: keyBuilder$12(luvio, config),
4572
+ node: adapterFragment$k(luvio, config),
4573
+ variables: {},
4574
+ };
4575
+ const cacheSnapshot = storeLookup(selector, {
4576
+ config,
4577
+ resolve: () => buildNetworkSnapshot$L(luvio, config, snapshotRefreshOptions)
4578
+ });
4579
+ return cacheSnapshot;
4580
+ }
4581
+ const getDataAlertAdapterFactory = (luvio) => function UnifiedAnalytics__getDataAlert(untrustedConfig, requestContext) {
4582
+ const config = validateAdapterConfig$L(untrustedConfig, getDataAlert_ConfigPropertyNames);
4583
+ // Invalid or incomplete config
4584
+ if (config === null) {
4585
+ return null;
4586
+ }
4587
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4588
+ buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
4589
+ };
4590
+
4591
+ function keyBuilder$11(luvio, params) {
4592
+ return keyBuilder$16(luvio, {
4593
+ dataAlertId: params.urlParams.dataAlertId
4594
+ });
4595
+ }
4596
+ function getResponseCacheKeys$K(cacheKeyMap, luvio, resourceParams) {
4597
+ const key = keyBuilder$11(luvio, resourceParams);
4598
+ cacheKeyMap.set(key, {
4599
+ namespace: keyPrefix,
4600
+ representationName: RepresentationType$y,
4601
+ mergeable: false
4602
+ });
4603
+ }
4604
+ function evictSuccess$6(luvio, resourceParams) {
4605
+ const key = keyBuilder$11(luvio, resourceParams);
4606
+ luvio.storeEvict(key);
4607
+ }
4608
+ function createResourceRequest$K(config) {
4609
+ const headers = {};
4610
+ return {
4611
+ baseUri: '/services/data/v64.0',
4612
+ basePath: '/tableau/dataAlerts/' + config.urlParams.dataAlertId + '',
4613
+ method: 'delete',
4614
+ body: null,
4615
+ urlParams: config.urlParams,
4616
+ queryParams: {},
4617
+ headers,
4618
+ priority: 'normal',
4619
+ };
4620
+ }
4621
+
4622
+ const adapterName$K = 'deleteDataAlert';
4623
+ const deleteDataAlert_ConfigPropertyMetadata = [
4624
+ generateParamConfigMetadata('dataAlertId', true, 0 /* UrlParameter */, 0 /* String */),
4625
+ ];
4626
+ const deleteDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$K, deleteDataAlert_ConfigPropertyMetadata);
4627
+ const createResourceParams$K = /*#__PURE__*/ createResourceParams$Y(deleteDataAlert_ConfigPropertyMetadata);
4628
+ function typeCheckConfig$K(untrustedConfig) {
4629
+ const config = {};
4630
+ typeCheckConfig$Y(untrustedConfig, config, deleteDataAlert_ConfigPropertyMetadata);
4631
+ return config;
4632
+ }
4633
+ function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
4634
+ if (!untrustedIsObject(untrustedConfig)) {
4635
+ return null;
4636
+ }
4637
+ if (process.env.NODE_ENV !== 'production') {
4638
+ validateConfig(untrustedConfig, configPropertyNames);
4639
+ }
4640
+ const config = typeCheckConfig$K(untrustedConfig);
4641
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4642
+ return null;
4643
+ }
4644
+ return config;
4645
+ }
4646
+ function buildNetworkSnapshot$K(luvio, config, options) {
4647
+ const resourceParams = createResourceParams$K(config);
4648
+ const request = createResourceRequest$K(resourceParams);
4649
+ return luvio.dispatchResourceRequest(request, options)
4650
+ .then(() => {
4651
+ return luvio.handleSuccessResponse(() => {
4652
+ evictSuccess$6(luvio, resourceParams);
4653
+ return luvio.storeBroadcast();
4654
+ }, () => {
4655
+ const cache = new StoreKeyMap();
4656
+ getResponseCacheKeys$K(cache, luvio, resourceParams);
4657
+ return cache;
4658
+ });
4659
+ }, (response) => {
4660
+ deepFreeze(response);
4661
+ throw response;
4662
+ });
4663
+ }
4664
+ const deleteDataAlertAdapterFactory = (luvio) => {
4665
+ return function UnifiedAnalyticsdeleteDataAlert(untrustedConfig) {
4666
+ const config = validateAdapterConfig$K(untrustedConfig, deleteDataAlert_ConfigPropertyNames);
4667
+ // Invalid or incomplete config
4668
+ if (config === null) {
4669
+ throw new Error(`Invalid config for "${adapterName$K}"`);
4670
+ }
4671
+ return buildNetworkSnapshot$K(luvio, config);
4672
+ };
4673
+ };
4674
+
4675
+ function select$16(luvio, params) {
4676
+ return select$1b();
3835
4677
  }
3836
4678
  function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
3837
- getTypeCacheKeys$u(storeKeyMap, luvio, response);
4679
+ getTypeCacheKeys$w(storeKeyMap, luvio, response);
3838
4680
  }
3839
4681
  function ingestSuccess$D(luvio, resourceParams, response) {
3840
4682
  const { body } = response;
3841
- const key = keyBuilderFromType$g(luvio, body);
3842
- luvio.storeIngest(key, ingest$u, body);
4683
+ const key = keyBuilderFromType$h(luvio, body);
4684
+ luvio.storeIngest(key, ingest$w, body);
3843
4685
  const snapshot = luvio.storeLookup({
3844
4686
  recordId: key,
3845
- node: select$15(),
4687
+ node: select$16(),
3846
4688
  variables: {},
3847
4689
  });
3848
4690
  if (process.env.NODE_ENV !== 'production') {
@@ -3857,68 +4699,19 @@ function createResourceRequest$J(config) {
3857
4699
  const headers = {};
3858
4700
  return {
3859
4701
  baseUri: '/services/data/v64.0',
3860
- basePath: '/tableau/dataAlerts',
3861
- method: 'post',
4702
+ basePath: '/tableau/dataAlerts/' + config.urlParams.dataAlertId + '',
4703
+ method: 'put',
3862
4704
  body: config.body,
3863
- urlParams: {},
4705
+ urlParams: config.urlParams,
3864
4706
  queryParams: config.queryParams,
3865
4707
  headers,
3866
4708
  priority: 'normal',
3867
4709
  };
3868
4710
  }
3869
4711
 
3870
- var DiscriminatorValues$1;
3871
- (function (DiscriminatorValues) {
3872
- DiscriminatorValues["Metric"] = "Metric";
3873
- })(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
3874
- function validate$H(obj, path = 'DataAlertContentInputRepresentation') {
3875
- const v_error = (() => {
3876
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3877
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3878
- }
3879
- const obj_type = obj.type;
3880
- const path_type = path + '.type';
3881
- if (typeof obj_type !== 'string') {
3882
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
3883
- }
3884
- })();
3885
- return v_error === undefined ? null : v_error;
3886
- }
3887
-
3888
- var DiscriminatorValues;
3889
- (function (DiscriminatorValues) {
3890
- DiscriminatorValues["Daily"] = "Daily";
3891
- DiscriminatorValues["Weekly"] = "Weekly";
3892
- DiscriminatorValues["Cron"] = "Cron";
3893
- })(DiscriminatorValues || (DiscriminatorValues = {}));
3894
- function validate$G(obj, path = 'DataAlertScheduleInputRepresentation') {
3895
- const v_error = (() => {
3896
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3897
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3898
- }
3899
- const obj_hoursOfDay = obj.hoursOfDay;
3900
- const path_hoursOfDay = path + '.hoursOfDay';
3901
- if (!ArrayIsArray(obj_hoursOfDay)) {
3902
- return new TypeError('Expected "array" but received "' + typeof obj_hoursOfDay + '" (at "' + path_hoursOfDay + '")');
3903
- }
3904
- for (let i = 0; i < obj_hoursOfDay.length; i++) {
3905
- const obj_hoursOfDay_item = obj_hoursOfDay[i];
3906
- const path_hoursOfDay_item = path_hoursOfDay + '[' + i + ']';
3907
- if (typeof obj_hoursOfDay_item !== 'number' || (typeof obj_hoursOfDay_item === 'number' && Math.floor(obj_hoursOfDay_item) !== obj_hoursOfDay_item)) {
3908
- return new TypeError('Expected "integer" but received "' + typeof obj_hoursOfDay_item + '" (at "' + path_hoursOfDay_item + '")');
3909
- }
3910
- }
3911
- const obj_type = obj.type;
3912
- const path_type = path + '.type';
3913
- if (typeof obj_type !== 'string') {
3914
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
3915
- }
3916
- })();
3917
- return v_error === undefined ? null : v_error;
3918
- }
3919
-
3920
- const adapterName$J = 'createDataAlert';
3921
- const createDataAlert_ConfigPropertyMetadata = [
4712
+ const adapterName$J = 'updateDataAlert';
4713
+ const updateDataAlert_ConfigPropertyMetadata = [
4714
+ generateParamConfigMetadata('dataAlertId', true, 0 /* UrlParameter */, 0 /* String */),
3922
4715
  generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
3923
4716
  generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
3924
4717
  generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
@@ -3927,13 +4720,13 @@ const createDataAlert_ConfigPropertyMetadata = [
3927
4720
  generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
3928
4721
  generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
3929
4722
  ];
3930
- const createDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, createDataAlert_ConfigPropertyMetadata);
3931
- const createResourceParams$J = /*#__PURE__*/ createResourceParams$U(createDataAlert_ConfigPropertyMetadata);
4723
+ const updateDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, updateDataAlert_ConfigPropertyMetadata);
4724
+ const createResourceParams$J = /*#__PURE__*/ createResourceParams$Y(updateDataAlert_ConfigPropertyMetadata);
3932
4725
  function typeCheckConfig$J(untrustedConfig) {
3933
4726
  const config = {};
3934
- typeCheckConfig$U(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
4727
+ typeCheckConfig$Y(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
3935
4728
  const untrustedConfig_content = untrustedConfig.content;
3936
- const referenceDataAlertContentInputRepresentationValidationError = validate$H(untrustedConfig_content);
4729
+ const referenceDataAlertContentInputRepresentationValidationError = validate$I(untrustedConfig_content);
3937
4730
  if (referenceDataAlertContentInputRepresentationValidationError === null) {
3938
4731
  config.content = untrustedConfig_content;
3939
4732
  }
@@ -3943,7 +4736,7 @@ function typeCheckConfig$J(untrustedConfig) {
3943
4736
  config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
3944
4737
  }
3945
4738
  const untrustedConfig_schedule = untrustedConfig.schedule;
3946
- const referenceDataAlertScheduleInputRepresentationValidationError = validate$G(untrustedConfig_schedule);
4739
+ const referenceDataAlertScheduleInputRepresentationValidationError = validate$H(untrustedConfig_schedule);
3947
4740
  if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
3948
4741
  config.schedule = untrustedConfig_schedule;
3949
4742
  }
@@ -3985,19 +4778,118 @@ function buildNetworkSnapshot$J(luvio, config, options) {
3985
4778
  throw response;
3986
4779
  });
3987
4780
  }
3988
- const createDataAlertAdapterFactory = (luvio) => {
3989
- return function createDataAlert(untrustedConfig) {
3990
- const config = validateAdapterConfig$J(untrustedConfig, createDataAlert_ConfigPropertyNames);
4781
+ const updateDataAlertAdapterFactory = (luvio) => {
4782
+ return function updateDataAlert(untrustedConfig) {
4783
+ const config = validateAdapterConfig$J(untrustedConfig, updateDataAlert_ConfigPropertyNames);
3991
4784
  // Invalid or incomplete config
3992
4785
  if (config === null) {
3993
- throw new Error('Invalid config for "createDataAlert"');
4786
+ throw new Error('Invalid config for "updateDataAlert"');
3994
4787
  }
3995
4788
  return buildNetworkSnapshot$J(luvio, config);
3996
4789
  };
3997
4790
  };
3998
4791
 
4792
+ const TTL$k = 100;
4793
+ const VERSION$u = "26cdd644d03794763d0bbd771321ec42";
4794
+ function validate$G(obj, path = 'DataAlertRunOutputRepresentation') {
4795
+ const v_error = (() => {
4796
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4797
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4798
+ }
4799
+ const obj_executedAt = obj.executedAt;
4800
+ const path_executedAt = path + '.executedAt';
4801
+ if (typeof obj_executedAt !== 'string') {
4802
+ return new TypeError('Expected "string" but received "' + typeof obj_executedAt + '" (at "' + path_executedAt + '")');
4803
+ }
4804
+ const obj_id = obj.id;
4805
+ const path_id = path + '.id';
4806
+ if (typeof obj_id !== 'string') {
4807
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
4808
+ }
4809
+ const obj_triggered = obj.triggered;
4810
+ const path_triggered = path + '.triggered';
4811
+ if (typeof obj_triggered !== 'boolean') {
4812
+ return new TypeError('Expected "boolean" but received "' + typeof obj_triggered + '" (at "' + path_triggered + '")');
4813
+ }
4814
+ })();
4815
+ return v_error === undefined ? null : v_error;
4816
+ }
4817
+ const RepresentationType$w = 'DataAlertRunOutputRepresentation';
4818
+ function keyBuilder$10(luvio, config) {
4819
+ return keyPrefix + '::' + RepresentationType$w + ':' + config.dataAlertId;
4820
+ }
4821
+ function keyBuilderFromType$g(luvio, object) {
4822
+ const keyParams = {
4823
+ dataAlertId: object.id
4824
+ };
4825
+ return keyBuilder$10(luvio, keyParams);
4826
+ }
4827
+ function normalize$u(input, existing, path, luvio, store, timestamp) {
4828
+ return input;
4829
+ }
4830
+ const select$15 = function DataAlertRunOutputRepresentationSelect() {
4831
+ return {
4832
+ kind: 'Fragment',
4833
+ version: VERSION$u,
4834
+ private: [],
4835
+ selections: [
4836
+ {
4837
+ name: 'executedAt',
4838
+ kind: 'Scalar'
4839
+ },
4840
+ {
4841
+ name: 'id',
4842
+ kind: 'Scalar'
4843
+ },
4844
+ {
4845
+ name: 'triggered',
4846
+ kind: 'Scalar'
4847
+ }
4848
+ ]
4849
+ };
4850
+ };
4851
+ function equals$u(existing, incoming) {
4852
+ const existing_triggered = existing.triggered;
4853
+ const incoming_triggered = incoming.triggered;
4854
+ if (!(existing_triggered === incoming_triggered)) {
4855
+ return false;
4856
+ }
4857
+ const existing_executedAt = existing.executedAt;
4858
+ const incoming_executedAt = incoming.executedAt;
4859
+ if (!(existing_executedAt === incoming_executedAt)) {
4860
+ return false;
4861
+ }
4862
+ const existing_id = existing.id;
4863
+ const incoming_id = incoming.id;
4864
+ if (!(existing_id === incoming_id)) {
4865
+ return false;
4866
+ }
4867
+ return true;
4868
+ }
4869
+ const ingest$u = function DataAlertRunOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4870
+ if (process.env.NODE_ENV !== 'production') {
4871
+ const validateError = validate$G(input);
4872
+ if (validateError !== null) {
4873
+ throw validateError;
4874
+ }
4875
+ }
4876
+ const key = keyBuilderFromType$g(luvio, input);
4877
+ const ttlToUse = TTL$k;
4878
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UnifiedAnalytics", VERSION$u, RepresentationType$w, equals$u);
4879
+ return createLink(key);
4880
+ };
4881
+ function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
4882
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4883
+ const rootKey = keyBuilderFromType$g(luvio, input);
4884
+ rootKeySet.set(rootKey, {
4885
+ namespace: keyPrefix,
4886
+ representationName: RepresentationType$w,
4887
+ mergeable: false
4888
+ });
4889
+ }
4890
+
3999
4891
  function select$14(luvio, params) {
4000
- return select$16();
4892
+ return select$15();
4001
4893
  }
4002
4894
  function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
4003
4895
  getTypeCacheKeys$u(storeKeyMap, luvio, response);
@@ -4023,52 +4915,25 @@ function createResourceRequest$I(config) {
4023
4915
  const headers = {};
4024
4916
  return {
4025
4917
  baseUri: '/services/data/v64.0',
4026
- basePath: '/tableau/dataAlerts/' + config.urlParams.dataAlertId + '',
4027
- method: 'put',
4028
- body: config.body,
4918
+ basePath: '/tableau/dataAlerts/' + config.urlParams.dataAlertId + '/run',
4919
+ method: 'post',
4920
+ body: null,
4029
4921
  urlParams: config.urlParams,
4030
- queryParams: config.queryParams,
4922
+ queryParams: {},
4031
4923
  headers,
4032
4924
  priority: 'normal',
4033
4925
  };
4034
4926
  }
4035
4927
 
4036
- const adapterName$I = 'updateDataAlert';
4037
- const updateDataAlert_ConfigPropertyMetadata = [
4928
+ const adapterName$I = 'postDataAlertRun';
4929
+ const postDataAlertRun_ConfigPropertyMetadata = [
4038
4930
  generateParamConfigMetadata('dataAlertId', true, 0 /* UrlParameter */, 0 /* String */),
4039
- generateParamConfigMetadata('runNow', false, 1 /* QueryParameter */, 1 /* Boolean */),
4040
- generateParamConfigMetadata('analysisUtterance', true, 2 /* Body */, 0 /* String */),
4041
- generateParamConfigMetadata('content', true, 2 /* Body */, 4 /* Unsupported */),
4042
- generateParamConfigMetadata('deliveryConfigurations', true, 2 /* Body */, 4 /* Unsupported */),
4043
- generateParamConfigMetadata('schedule', true, 2 /* Body */, 4 /* Unsupported */),
4044
- generateParamConfigMetadata('thresholds', true, 2 /* Body */, 4 /* Unsupported */),
4045
- generateParamConfigMetadata('utterance', true, 2 /* Body */, 0 /* String */),
4046
4931
  ];
4047
- const updateDataAlert_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$I, updateDataAlert_ConfigPropertyMetadata);
4048
- const createResourceParams$I = /*#__PURE__*/ createResourceParams$U(updateDataAlert_ConfigPropertyMetadata);
4932
+ const postDataAlertRun_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$I, postDataAlertRun_ConfigPropertyMetadata);
4933
+ const createResourceParams$I = /*#__PURE__*/ createResourceParams$Y(postDataAlertRun_ConfigPropertyMetadata);
4049
4934
  function typeCheckConfig$I(untrustedConfig) {
4050
4935
  const config = {};
4051
- typeCheckConfig$U(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
4052
- const untrustedConfig_content = untrustedConfig.content;
4053
- const referenceDataAlertContentInputRepresentationValidationError = validate$H(untrustedConfig_content);
4054
- if (referenceDataAlertContentInputRepresentationValidationError === null) {
4055
- config.content = untrustedConfig_content;
4056
- }
4057
- const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
4058
- const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$N(untrustedConfig_deliveryConfigurations);
4059
- if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
4060
- config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
4061
- }
4062
- const untrustedConfig_schedule = untrustedConfig.schedule;
4063
- const referenceDataAlertScheduleInputRepresentationValidationError = validate$G(untrustedConfig_schedule);
4064
- if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
4065
- config.schedule = untrustedConfig_schedule;
4066
- }
4067
- const untrustedConfig_thresholds = untrustedConfig.thresholds;
4068
- const referenceDataAlertThresholdsInputRepresentationValidationError = validate$J(untrustedConfig_thresholds);
4069
- if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
4070
- config.thresholds = untrustedConfig_thresholds;
4071
- }
4936
+ typeCheckConfig$Y(untrustedConfig, config, postDataAlertRun_ConfigPropertyMetadata);
4072
4937
  return config;
4073
4938
  }
4074
4939
  function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
@@ -4102,19 +4967,19 @@ function buildNetworkSnapshot$I(luvio, config, options) {
4102
4967
  throw response;
4103
4968
  });
4104
4969
  }
4105
- const updateDataAlertAdapterFactory = (luvio) => {
4106
- return function updateDataAlert(untrustedConfig) {
4107
- const config = validateAdapterConfig$I(untrustedConfig, updateDataAlert_ConfigPropertyNames);
4970
+ const postDataAlertRunAdapterFactory = (luvio) => {
4971
+ return function postDataAlertRun(untrustedConfig) {
4972
+ const config = validateAdapterConfig$I(untrustedConfig, postDataAlertRun_ConfigPropertyNames);
4108
4973
  // Invalid or incomplete config
4109
4974
  if (config === null) {
4110
- throw new Error('Invalid config for "updateDataAlert"');
4975
+ throw new Error('Invalid config for "postDataAlertRun"');
4111
4976
  }
4112
4977
  return buildNetworkSnapshot$I(luvio, config);
4113
4978
  };
4114
4979
  };
4115
4980
 
4116
4981
  function validate$F(obj, path = 'AnalyticsUserRepresentation') {
4117
- const validateBaseAnalyticsRepresentation_validateError = validate$U(obj, path);
4982
+ const validateBaseAnalyticsRepresentation_validateError = validate$11(obj, path);
4118
4983
  if (validateBaseAnalyticsRepresentation_validateError !== null) {
4119
4984
  return validateBaseAnalyticsRepresentation_validateError;
4120
4985
  }
@@ -4883,14 +5748,14 @@ const getDataAssetRequests_ConfigPropertyMetadata = [
4883
5748
  generateParamConfigMetadata('workspaceIdOrApiName', false, 1 /* QueryParameter */, 0 /* String */),
4884
5749
  ];
4885
5750
  const getDataAssetRequests_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, getDataAssetRequests_ConfigPropertyMetadata);
4886
- const createResourceParams$H = /*#__PURE__*/ createResourceParams$U(getDataAssetRequests_ConfigPropertyMetadata);
5751
+ const createResourceParams$H = /*#__PURE__*/ createResourceParams$Y(getDataAssetRequests_ConfigPropertyMetadata);
4887
5752
  function keyBuilder$Z(luvio, config) {
4888
5753
  const resourceParams = createResourceParams$H(config);
4889
5754
  return keyBuilder$_(luvio, resourceParams);
4890
5755
  }
4891
5756
  function typeCheckConfig$H(untrustedConfig) {
4892
5757
  const config = {};
4893
- typeCheckConfig$U(untrustedConfig, config, getDataAssetRequests_ConfigPropertyMetadata);
5758
+ typeCheckConfig$Y(untrustedConfig, config, getDataAssetRequests_ConfigPropertyMetadata);
4894
5759
  return config;
4895
5760
  }
4896
5761
  function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
@@ -4939,7 +5804,7 @@ function buildNetworkSnapshot$H(luvio, config, options) {
4939
5804
  });
4940
5805
  }
4941
5806
  function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
4942
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
5807
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
4943
5808
  }
4944
5809
  function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
4945
5810
  const { luvio, config } = context;
@@ -5015,10 +5880,10 @@ const createDataAssetRequest_ConfigPropertyMetadata = [
5015
5880
  generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
5016
5881
  ];
5017
5882
  const createDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$G, createDataAssetRequest_ConfigPropertyMetadata);
5018
- const createResourceParams$G = /*#__PURE__*/ createResourceParams$U(createDataAssetRequest_ConfigPropertyMetadata);
5883
+ const createResourceParams$G = /*#__PURE__*/ createResourceParams$Y(createDataAssetRequest_ConfigPropertyMetadata);
5019
5884
  function typeCheckConfig$G(untrustedConfig) {
5020
5885
  const config = {};
5021
- typeCheckConfig$U(untrustedConfig, config, createDataAssetRequest_ConfigPropertyMetadata);
5886
+ typeCheckConfig$Y(untrustedConfig, config, createDataAssetRequest_ConfigPropertyMetadata);
5022
5887
  return config;
5023
5888
  }
5024
5889
  function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
@@ -5181,14 +6046,14 @@ const getDataAssetRequestsCount_ConfigPropertyMetadata = [
5181
6046
  generateParamConfigMetadata('workspaceIdOrApiName', false, 1 /* QueryParameter */, 0 /* String */),
5182
6047
  ];
5183
6048
  const getDataAssetRequestsCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getDataAssetRequestsCount_ConfigPropertyMetadata);
5184
- const createResourceParams$F = /*#__PURE__*/ createResourceParams$U(getDataAssetRequestsCount_ConfigPropertyMetadata);
6049
+ const createResourceParams$F = /*#__PURE__*/ createResourceParams$Y(getDataAssetRequestsCount_ConfigPropertyMetadata);
5185
6050
  function keyBuilder$X(luvio, config) {
5186
6051
  const resourceParams = createResourceParams$F(config);
5187
6052
  return keyBuilder$Y(luvio, resourceParams);
5188
6053
  }
5189
6054
  function typeCheckConfig$F(untrustedConfig) {
5190
6055
  const config = {};
5191
- typeCheckConfig$U(untrustedConfig, config, getDataAssetRequestsCount_ConfigPropertyMetadata);
6056
+ typeCheckConfig$Y(untrustedConfig, config, getDataAssetRequestsCount_ConfigPropertyMetadata);
5192
6057
  return config;
5193
6058
  }
5194
6059
  function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
@@ -5237,7 +6102,7 @@ function buildNetworkSnapshot$F(luvio, config, options) {
5237
6102
  });
5238
6103
  }
5239
6104
  function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
5240
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
6105
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
5241
6106
  }
5242
6107
  function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
5243
6108
  const { luvio, config } = context;
@@ -5321,14 +6186,14 @@ const getDataAssetRequestByIdOrApiName_ConfigPropertyMetadata = [
5321
6186
  generateParamConfigMetadata('requestIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
5322
6187
  ];
5323
6188
  const getDataAssetRequestByIdOrApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getDataAssetRequestByIdOrApiName_ConfigPropertyMetadata);
5324
- const createResourceParams$E = /*#__PURE__*/ createResourceParams$U(getDataAssetRequestByIdOrApiName_ConfigPropertyMetadata);
6189
+ const createResourceParams$E = /*#__PURE__*/ createResourceParams$Y(getDataAssetRequestByIdOrApiName_ConfigPropertyMetadata);
5325
6190
  function keyBuilder$V(luvio, config) {
5326
6191
  const resourceParams = createResourceParams$E(config);
5327
6192
  return keyBuilder$W(luvio, resourceParams);
5328
6193
  }
5329
6194
  function typeCheckConfig$E(untrustedConfig) {
5330
6195
  const config = {};
5331
- typeCheckConfig$U(untrustedConfig, config, getDataAssetRequestByIdOrApiName_ConfigPropertyMetadata);
6196
+ typeCheckConfig$Y(untrustedConfig, config, getDataAssetRequestByIdOrApiName_ConfigPropertyMetadata);
5332
6197
  return config;
5333
6198
  }
5334
6199
  function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
@@ -5377,7 +6242,7 @@ function buildNetworkSnapshot$E(luvio, config, options) {
5377
6242
  });
5378
6243
  }
5379
6244
  function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
5380
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
6245
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
5381
6246
  }
5382
6247
  function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
5383
6248
  const { luvio, config } = context;
@@ -5454,10 +6319,10 @@ const updateDataAssetRequest_ConfigPropertyMetadata = [
5454
6319
  generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
5455
6320
  ];
5456
6321
  const updateDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, updateDataAssetRequest_ConfigPropertyMetadata);
5457
- const createResourceParams$D = /*#__PURE__*/ createResourceParams$U(updateDataAssetRequest_ConfigPropertyMetadata);
6322
+ const createResourceParams$D = /*#__PURE__*/ createResourceParams$Y(updateDataAssetRequest_ConfigPropertyMetadata);
5458
6323
  function typeCheckConfig$D(untrustedConfig) {
5459
6324
  const config = {};
5460
- typeCheckConfig$U(untrustedConfig, config, updateDataAssetRequest_ConfigPropertyMetadata);
6325
+ typeCheckConfig$Y(untrustedConfig, config, updateDataAssetRequest_ConfigPropertyMetadata);
5461
6326
  return config;
5462
6327
  }
5463
6328
  function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
@@ -5719,14 +6584,14 @@ const getDataAssetDependencies_ConfigPropertyMetadata = [
5719
6584
  generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
5720
6585
  ];
5721
6586
  const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getDataAssetDependencies_ConfigPropertyMetadata);
5722
- const createResourceParams$C = /*#__PURE__*/ createResourceParams$U(getDataAssetDependencies_ConfigPropertyMetadata);
6587
+ const createResourceParams$C = /*#__PURE__*/ createResourceParams$Y(getDataAssetDependencies_ConfigPropertyMetadata);
5723
6588
  function keyBuilder$T(luvio, config) {
5724
6589
  const resourceParams = createResourceParams$C(config);
5725
6590
  return keyBuilder$U(luvio, resourceParams);
5726
6591
  }
5727
6592
  function typeCheckConfig$C(untrustedConfig) {
5728
6593
  const config = {};
5729
- typeCheckConfig$U(untrustedConfig, config, getDataAssetDependencies_ConfigPropertyMetadata);
6594
+ typeCheckConfig$Y(untrustedConfig, config, getDataAssetDependencies_ConfigPropertyMetadata);
5730
6595
  return config;
5731
6596
  }
5732
6597
  function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
@@ -5775,7 +6640,7 @@ function buildNetworkSnapshot$C(luvio, config, options) {
5775
6640
  });
5776
6641
  }
5777
6642
  function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
5778
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
6643
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
5779
6644
  }
5780
6645
  function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
5781
6646
  const { luvio, config } = context;
@@ -6021,10 +6886,10 @@ const follow_ConfigPropertyMetadata = [
6021
6886
  generateParamConfigMetadata('followedTimeRange', false, 2 /* Body */, 4 /* Unsupported */),
6022
6887
  ];
6023
6888
  const follow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, follow_ConfigPropertyMetadata);
6024
- const createResourceParams$B = /*#__PURE__*/ createResourceParams$U(follow_ConfigPropertyMetadata);
6889
+ const createResourceParams$B = /*#__PURE__*/ createResourceParams$Y(follow_ConfigPropertyMetadata);
6025
6890
  function typeCheckConfig$B(untrustedConfig) {
6026
6891
  const config = {};
6027
- typeCheckConfig$U(untrustedConfig, config, follow_ConfigPropertyMetadata);
6892
+ typeCheckConfig$Y(untrustedConfig, config, follow_ConfigPropertyMetadata);
6028
6893
  const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
6029
6894
  const referenceFollowedTimeRangeRepresentationValidationError = validate$y(untrustedConfig_followedTimeRange);
6030
6895
  if (referenceFollowedTimeRangeRepresentationValidationError === null) {
@@ -6198,10 +7063,10 @@ const updateFollowedAsset_ConfigPropertyMetadata = [
6198
7063
  generateParamConfigMetadata('updateAllAssets', false, 2 /* Body */, 1 /* Boolean */),
6199
7064
  ];
6200
7065
  const updateFollowedAsset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$A, updateFollowedAsset_ConfigPropertyMetadata);
6201
- const createResourceParams$A = /*#__PURE__*/ createResourceParams$U(updateFollowedAsset_ConfigPropertyMetadata);
7066
+ const createResourceParams$A = /*#__PURE__*/ createResourceParams$Y(updateFollowedAsset_ConfigPropertyMetadata);
6202
7067
  function typeCheckConfig$A(untrustedConfig) {
6203
7068
  const config = {};
6204
- typeCheckConfig$U(untrustedConfig, config, updateFollowedAsset_ConfigPropertyMetadata);
7069
+ typeCheckConfig$Y(untrustedConfig, config, updateFollowedAsset_ConfigPropertyMetadata);
6205
7070
  const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
6206
7071
  const referenceFollowedTimeRangeRepresentationValidationError = validate$y(untrustedConfig_followedTimeRange);
6207
7072
  if (referenceFollowedTimeRangeRepresentationValidationError === null) {
@@ -6386,10 +7251,10 @@ const unfollow_ConfigPropertyMetadata = [
6386
7251
  generateParamConfigMetadata('followerId', true, 0 /* UrlParameter */, 0 /* String */),
6387
7252
  ];
6388
7253
  const unfollow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, unfollow_ConfigPropertyMetadata);
6389
- const createResourceParams$z = /*#__PURE__*/ createResourceParams$U(unfollow_ConfigPropertyMetadata);
7254
+ const createResourceParams$z = /*#__PURE__*/ createResourceParams$Y(unfollow_ConfigPropertyMetadata);
6390
7255
  function typeCheckConfig$z(untrustedConfig) {
6391
7256
  const config = {};
6392
- typeCheckConfig$U(untrustedConfig, config, unfollow_ConfigPropertyMetadata);
7257
+ typeCheckConfig$Y(untrustedConfig, config, unfollow_ConfigPropertyMetadata);
6393
7258
  return config;
6394
7259
  }
6395
7260
  function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
@@ -6560,14 +7425,14 @@ const getFollowers_ConfigPropertyMetadata = [
6560
7425
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
6561
7426
  ];
6562
7427
  const getFollowers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getFollowers_ConfigPropertyMetadata);
6563
- const createResourceParams$y = /*#__PURE__*/ createResourceParams$U(getFollowers_ConfigPropertyMetadata);
7428
+ const createResourceParams$y = /*#__PURE__*/ createResourceParams$Y(getFollowers_ConfigPropertyMetadata);
6564
7429
  function keyBuilder$N(luvio, config) {
6565
7430
  const resourceParams = createResourceParams$y(config);
6566
7431
  return keyBuilder$O(luvio, resourceParams);
6567
7432
  }
6568
7433
  function typeCheckConfig$y(untrustedConfig) {
6569
7434
  const config = {};
6570
- typeCheckConfig$U(untrustedConfig, config, getFollowers_ConfigPropertyMetadata);
7435
+ typeCheckConfig$Y(untrustedConfig, config, getFollowers_ConfigPropertyMetadata);
6571
7436
  return config;
6572
7437
  }
6573
7438
  function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
@@ -6616,7 +7481,7 @@ function buildNetworkSnapshot$y(luvio, config, options) {
6616
7481
  });
6617
7482
  }
6618
7483
  function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
6619
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
7484
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
6620
7485
  }
6621
7486
  function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
6622
7487
  const { luvio, config } = context;
@@ -6766,14 +7631,14 @@ const getFollowedAssets_ConfigPropertyMetadata = [
6766
7631
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
6767
7632
  ];
6768
7633
  const getFollowedAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, getFollowedAssets_ConfigPropertyMetadata);
6769
- const createResourceParams$x = /*#__PURE__*/ createResourceParams$U(getFollowedAssets_ConfigPropertyMetadata);
7634
+ const createResourceParams$x = /*#__PURE__*/ createResourceParams$Y(getFollowedAssets_ConfigPropertyMetadata);
6770
7635
  function keyBuilder$L(luvio, config) {
6771
7636
  const resourceParams = createResourceParams$x(config);
6772
7637
  return keyBuilder$M(luvio, resourceParams);
6773
7638
  }
6774
7639
  function typeCheckConfig$x(untrustedConfig) {
6775
7640
  const config = {};
6776
- typeCheckConfig$U(untrustedConfig, config, getFollowedAssets_ConfigPropertyMetadata);
7641
+ typeCheckConfig$Y(untrustedConfig, config, getFollowedAssets_ConfigPropertyMetadata);
6777
7642
  return config;
6778
7643
  }
6779
7644
  function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
@@ -6822,7 +7687,7 @@ function buildNetworkSnapshot$x(luvio, config, options) {
6822
7687
  });
6823
7688
  }
6824
7689
  function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
6825
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
7690
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
6826
7691
  }
6827
7692
  function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
6828
7693
  const { luvio, config } = context;
@@ -6960,14 +7825,14 @@ const getUniqueFollowerCount_ConfigPropertyMetadata = [
6960
7825
  generateParamConfigMetadata('followedAssetType', false, 1 /* QueryParameter */, 0 /* String */),
6961
7826
  ];
6962
7827
  const getUniqueFollowerCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, getUniqueFollowerCount_ConfigPropertyMetadata);
6963
- const createResourceParams$w = /*#__PURE__*/ createResourceParams$U(getUniqueFollowerCount_ConfigPropertyMetadata);
7828
+ const createResourceParams$w = /*#__PURE__*/ createResourceParams$Y(getUniqueFollowerCount_ConfigPropertyMetadata);
6964
7829
  function keyBuilder$J(luvio, config) {
6965
7830
  const resourceParams = createResourceParams$w(config);
6966
7831
  return keyBuilder$K(luvio, resourceParams);
6967
7832
  }
6968
7833
  function typeCheckConfig$w(untrustedConfig) {
6969
7834
  const config = {};
6970
- typeCheckConfig$U(untrustedConfig, config, getUniqueFollowerCount_ConfigPropertyMetadata);
7835
+ typeCheckConfig$Y(untrustedConfig, config, getUniqueFollowerCount_ConfigPropertyMetadata);
6971
7836
  return config;
6972
7837
  }
6973
7838
  function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
@@ -7016,7 +7881,7 @@ function buildNetworkSnapshot$w(luvio, config, options) {
7016
7881
  });
7017
7882
  }
7018
7883
  function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
7019
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
7884
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
7020
7885
  }
7021
7886
  function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
7022
7887
  const { luvio, config } = context;
@@ -7157,7 +8022,7 @@ const createLoglines_ConfigPropertyMetadata = [
7157
8022
  generateParamConfigMetadata('loglines', true, 2 /* Body */, 4 /* Unsupported */, true),
7158
8023
  ];
7159
8024
  const createLoglines_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, createLoglines_ConfigPropertyMetadata);
7160
- const createResourceParams$v = /*#__PURE__*/ createResourceParams$U(createLoglines_ConfigPropertyMetadata);
8025
+ const createResourceParams$v = /*#__PURE__*/ createResourceParams$Y(createLoglines_ConfigPropertyMetadata);
7161
8026
  function typeCheckConfig$v(untrustedConfig) {
7162
8027
  const config = {};
7163
8028
  const untrustedConfig_loglines = untrustedConfig.loglines;
@@ -7370,7 +8235,7 @@ function createResourceRequest$u(config) {
7370
8235
  const adapterName$u = 'getOrg';
7371
8236
  const getOrg_ConfigPropertyMetadata = [];
7372
8237
  const getOrg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getOrg_ConfigPropertyMetadata);
7373
- const createResourceParams$u = /*#__PURE__*/ createResourceParams$U(getOrg_ConfigPropertyMetadata);
8238
+ const createResourceParams$u = /*#__PURE__*/ createResourceParams$Y(getOrg_ConfigPropertyMetadata);
7374
8239
  function keyBuilder$G(luvio, config) {
7375
8240
  createResourceParams$u(config);
7376
8241
  return keyBuilder$H();
@@ -7425,7 +8290,7 @@ function buildNetworkSnapshot$u(luvio, config, options) {
7425
8290
  });
7426
8291
  }
7427
8292
  function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
7428
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
8293
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
7429
8294
  }
7430
8295
  function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
7431
8296
  const { luvio, config } = context;
@@ -7593,10 +8458,10 @@ const deleteAllShares_ConfigPropertyMetadata = [
7593
8458
  generateParamConfigMetadata('recordId', true, 0 /* UrlParameter */, 0 /* String */),
7594
8459
  ];
7595
8460
  const deleteAllShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, deleteAllShares_ConfigPropertyMetadata);
7596
- const createResourceParams$t = /*#__PURE__*/ createResourceParams$U(deleteAllShares_ConfigPropertyMetadata);
8461
+ const createResourceParams$t = /*#__PURE__*/ createResourceParams$Y(deleteAllShares_ConfigPropertyMetadata);
7597
8462
  function typeCheckConfig$t(untrustedConfig) {
7598
8463
  const config = {};
7599
- typeCheckConfig$U(untrustedConfig, config, deleteAllShares_ConfigPropertyMetadata);
8464
+ typeCheckConfig$Y(untrustedConfig, config, deleteAllShares_ConfigPropertyMetadata);
7600
8465
  return config;
7601
8466
  }
7602
8467
  function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
@@ -7703,14 +8568,14 @@ const getShares_ConfigPropertyMetadata = [
7703
8568
  generateParamConfigMetadata('userOrGroupId', false, 1 /* QueryParameter */, 0 /* String */),
7704
8569
  ];
7705
8570
  const getShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getShares_ConfigPropertyMetadata);
7706
- const createResourceParams$s = /*#__PURE__*/ createResourceParams$U(getShares_ConfigPropertyMetadata);
8571
+ const createResourceParams$s = /*#__PURE__*/ createResourceParams$Y(getShares_ConfigPropertyMetadata);
7707
8572
  function keyBuilder$B(luvio, config) {
7708
8573
  const resourceParams = createResourceParams$s(config);
7709
8574
  return keyBuilder$C(luvio, resourceParams);
7710
8575
  }
7711
8576
  function typeCheckConfig$s(untrustedConfig) {
7712
8577
  const config = {};
7713
- typeCheckConfig$U(untrustedConfig, config, getShares_ConfigPropertyMetadata);
8578
+ typeCheckConfig$Y(untrustedConfig, config, getShares_ConfigPropertyMetadata);
7714
8579
  return config;
7715
8580
  }
7716
8581
  function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
@@ -7759,7 +8624,7 @@ function buildNetworkSnapshot$s(luvio, config, options) {
7759
8624
  });
7760
8625
  }
7761
8626
  function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
7762
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$s, undefined, false);
8627
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$s, undefined, false);
7763
8628
  }
7764
8629
  function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
7765
8630
  const { luvio, config } = context;
@@ -8000,10 +8865,10 @@ const updateRecordShares_ConfigPropertyMetadata = [
8000
8865
  generateParamConfigMetadata('updateSetupRecordAccessItems', true, 2 /* Body */, 4 /* Unsupported */, true),
8001
8866
  ];
8002
8867
  const updateRecordShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, updateRecordShares_ConfigPropertyMetadata);
8003
- const createResourceParams$r = /*#__PURE__*/ createResourceParams$U(updateRecordShares_ConfigPropertyMetadata);
8868
+ const createResourceParams$r = /*#__PURE__*/ createResourceParams$Y(updateRecordShares_ConfigPropertyMetadata);
8004
8869
  function typeCheckConfig$r(untrustedConfig) {
8005
8870
  const config = {};
8006
- typeCheckConfig$U(untrustedConfig, config, updateRecordShares_ConfigPropertyMetadata);
8871
+ typeCheckConfig$Y(untrustedConfig, config, updateRecordShares_ConfigPropertyMetadata);
8007
8872
  const untrustedConfig_updateSetupRecordAccessItems = untrustedConfig.updateSetupRecordAccessItems;
8008
8873
  if (ArrayIsArray$1(untrustedConfig_updateSetupRecordAccessItems)) {
8009
8874
  const untrustedConfig_updateSetupRecordAccessItems_array = [];
@@ -8100,10 +8965,10 @@ const createRecordShares_ConfigPropertyMetadata = [
8100
8965
  generateParamConfigMetadata('accessRequestItems', true, 2 /* Body */, 4 /* Unsupported */, true),
8101
8966
  ];
8102
8967
  const createRecordShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, createRecordShares_ConfigPropertyMetadata);
8103
- const createResourceParams$q = /*#__PURE__*/ createResourceParams$U(createRecordShares_ConfigPropertyMetadata);
8968
+ const createResourceParams$q = /*#__PURE__*/ createResourceParams$Y(createRecordShares_ConfigPropertyMetadata);
8104
8969
  function typeCheckConfig$q(untrustedConfig) {
8105
8970
  const config = {};
8106
- typeCheckConfig$U(untrustedConfig, config, createRecordShares_ConfigPropertyMetadata);
8971
+ typeCheckConfig$Y(untrustedConfig, config, createRecordShares_ConfigPropertyMetadata);
8107
8972
  const untrustedConfig_accessRequestItems = untrustedConfig.accessRequestItems;
8108
8973
  if (ArrayIsArray$1(untrustedConfig_accessRequestItems)) {
8109
8974
  const untrustedConfig_accessRequestItems_array = [];
@@ -8195,10 +9060,10 @@ const deleteRecordShare_ConfigPropertyMetadata = [
8195
9060
  generateParamConfigMetadata('userOrGroupId', true, 0 /* UrlParameter */, 0 /* String */),
8196
9061
  ];
8197
9062
  const deleteRecordShare_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, deleteRecordShare_ConfigPropertyMetadata);
8198
- const createResourceParams$p = /*#__PURE__*/ createResourceParams$U(deleteRecordShare_ConfigPropertyMetadata);
9063
+ const createResourceParams$p = /*#__PURE__*/ createResourceParams$Y(deleteRecordShare_ConfigPropertyMetadata);
8199
9064
  function typeCheckConfig$p(untrustedConfig) {
8200
9065
  const config = {};
8201
- typeCheckConfig$U(untrustedConfig, config, deleteRecordShare_ConfigPropertyMetadata);
9066
+ typeCheckConfig$Y(untrustedConfig, config, deleteRecordShare_ConfigPropertyMetadata);
8202
9067
  return config;
8203
9068
  }
8204
9069
  function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
@@ -8523,14 +9388,14 @@ const getAssetSlackChannels_ConfigPropertyMetadata = [
8523
9388
  generateParamConfigMetadata('assetId', true, 1 /* QueryParameter */, 0 /* String */),
8524
9389
  ];
8525
9390
  const getAssetSlackChannels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getAssetSlackChannels_ConfigPropertyMetadata);
8526
- const createResourceParams$o = /*#__PURE__*/ createResourceParams$U(getAssetSlackChannels_ConfigPropertyMetadata);
9391
+ const createResourceParams$o = /*#__PURE__*/ createResourceParams$Y(getAssetSlackChannels_ConfigPropertyMetadata);
8527
9392
  function keyBuilder$w(luvio, config) {
8528
9393
  const resourceParams = createResourceParams$o(config);
8529
9394
  return keyBuilder$x(luvio, resourceParams);
8530
9395
  }
8531
9396
  function typeCheckConfig$o(untrustedConfig) {
8532
9397
  const config = {};
8533
- typeCheckConfig$U(untrustedConfig, config, getAssetSlackChannels_ConfigPropertyMetadata);
9398
+ typeCheckConfig$Y(untrustedConfig, config, getAssetSlackChannels_ConfigPropertyMetadata);
8534
9399
  return config;
8535
9400
  }
8536
9401
  function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
@@ -8579,7 +9444,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
8579
9444
  });
8580
9445
  }
8581
9446
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
8582
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
9447
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
8583
9448
  }
8584
9449
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
8585
9450
  const { luvio, config } = context;
@@ -8648,10 +9513,10 @@ const createAssetSlackChannel_ConfigPropertyMetadata = [
8648
9513
  generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
8649
9514
  ];
8650
9515
  const createAssetSlackChannel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, createAssetSlackChannel_ConfigPropertyMetadata);
8651
- const createResourceParams$n = /*#__PURE__*/ createResourceParams$U(createAssetSlackChannel_ConfigPropertyMetadata);
9516
+ const createResourceParams$n = /*#__PURE__*/ createResourceParams$Y(createAssetSlackChannel_ConfigPropertyMetadata);
8652
9517
  function typeCheckConfig$n(untrustedConfig) {
8653
9518
  const config = {};
8654
- typeCheckConfig$U(untrustedConfig, config, createAssetSlackChannel_ConfigPropertyMetadata);
9519
+ typeCheckConfig$Y(untrustedConfig, config, createAssetSlackChannel_ConfigPropertyMetadata);
8655
9520
  return config;
8656
9521
  }
8657
9522
  function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
@@ -8831,10 +9696,10 @@ const queryUsers_ConfigPropertyMetadata = [
8831
9696
  generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
8832
9697
  ];
8833
9698
  const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, queryUsers_ConfigPropertyMetadata);
8834
- const createResourceParams$m = /*#__PURE__*/ createResourceParams$U(queryUsers_ConfigPropertyMetadata);
9699
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$Y(queryUsers_ConfigPropertyMetadata);
8835
9700
  function typeCheckConfig$m(untrustedConfig) {
8836
9701
  const config = {};
8837
- typeCheckConfig$U(untrustedConfig, config, queryUsers_ConfigPropertyMetadata);
9702
+ typeCheckConfig$Y(untrustedConfig, config, queryUsers_ConfigPropertyMetadata);
8838
9703
  return config;
8839
9704
  }
8840
9705
  function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
@@ -9225,14 +10090,14 @@ const getVisualizations_ConfigPropertyMetadata = [
9225
10090
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
9226
10091
  ];
9227
10092
  const getVisualizations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getVisualizations_ConfigPropertyMetadata);
9228
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$U(getVisualizations_ConfigPropertyMetadata);
10093
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$Y(getVisualizations_ConfigPropertyMetadata);
9229
10094
  function keyBuilder$s(luvio, config) {
9230
10095
  const resourceParams = createResourceParams$l(config);
9231
10096
  return keyBuilder$t(luvio, resourceParams);
9232
10097
  }
9233
10098
  function typeCheckConfig$l(untrustedConfig) {
9234
10099
  const config = {};
9235
- typeCheckConfig$U(untrustedConfig, config, getVisualizations_ConfigPropertyMetadata);
10100
+ typeCheckConfig$Y(untrustedConfig, config, getVisualizations_ConfigPropertyMetadata);
9236
10101
  return config;
9237
10102
  }
9238
10103
  function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
@@ -9281,7 +10146,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
9281
10146
  });
9282
10147
  }
9283
10148
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
9284
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
10149
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
9285
10150
  }
9286
10151
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
9287
10152
  const { luvio, config } = context;
@@ -9358,10 +10223,10 @@ const createVisualization_ConfigPropertyMetadata = [
9358
10223
  generateParamConfigMetadata('interactions', false, 2 /* Body */, 4 /* Unsupported */, true),
9359
10224
  ];
9360
10225
  const createVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, createVisualization_ConfigPropertyMetadata);
9361
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$U(createVisualization_ConfigPropertyMetadata);
10226
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$Y(createVisualization_ConfigPropertyMetadata);
9362
10227
  function typeCheckConfig$k(untrustedConfig) {
9363
10228
  const config = {};
9364
- typeCheckConfig$U(untrustedConfig, config, createVisualization_ConfigPropertyMetadata);
10229
+ typeCheckConfig$Y(untrustedConfig, config, createVisualization_ConfigPropertyMetadata);
9365
10230
  const untrustedConfig_dataSource = untrustedConfig.dataSource;
9366
10231
  if (untrustedIsObject(untrustedConfig_dataSource)) {
9367
10232
  const untrustedConfig_dataSource_object = {};
@@ -9526,10 +10391,10 @@ const deleteVisualization_ConfigPropertyMetadata = [
9526
10391
  generateParamConfigMetadata('visualizationIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
9527
10392
  ];
9528
10393
  const deleteVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, deleteVisualization_ConfigPropertyMetadata);
9529
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$U(deleteVisualization_ConfigPropertyMetadata);
10394
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$Y(deleteVisualization_ConfigPropertyMetadata);
9530
10395
  function typeCheckConfig$j(untrustedConfig) {
9531
10396
  const config = {};
9532
- typeCheckConfig$U(untrustedConfig, config, deleteVisualization_ConfigPropertyMetadata);
10397
+ typeCheckConfig$Y(untrustedConfig, config, deleteVisualization_ConfigPropertyMetadata);
9533
10398
  return config;
9534
10399
  }
9535
10400
  function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
@@ -9628,14 +10493,14 @@ const getVisualization_ConfigPropertyMetadata = [
9628
10493
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
9629
10494
  ];
9630
10495
  const getVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getVisualization_ConfigPropertyMetadata);
9631
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$U(getVisualization_ConfigPropertyMetadata);
10496
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$Y(getVisualization_ConfigPropertyMetadata);
9632
10497
  function keyBuilder$p(luvio, config) {
9633
10498
  const resourceParams = createResourceParams$i(config);
9634
10499
  return keyBuilder$q(luvio, resourceParams);
9635
10500
  }
9636
10501
  function typeCheckConfig$i(untrustedConfig) {
9637
10502
  const config = {};
9638
- typeCheckConfig$U(untrustedConfig, config, getVisualization_ConfigPropertyMetadata);
10503
+ typeCheckConfig$Y(untrustedConfig, config, getVisualization_ConfigPropertyMetadata);
9639
10504
  return config;
9640
10505
  }
9641
10506
  function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
@@ -9684,7 +10549,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
9684
10549
  });
9685
10550
  }
9686
10551
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
9687
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
10552
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
9688
10553
  }
9689
10554
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
9690
10555
  const { luvio, config } = context;
@@ -9762,10 +10627,10 @@ const updateVisualization_ConfigPropertyMetadata = [
9762
10627
  generateParamConfigMetadata('interactions', false, 2 /* Body */, 4 /* Unsupported */, true),
9763
10628
  ];
9764
10629
  const updateVisualization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, updateVisualization_ConfigPropertyMetadata);
9765
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$U(updateVisualization_ConfigPropertyMetadata);
10630
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$Y(updateVisualization_ConfigPropertyMetadata);
9766
10631
  function typeCheckConfig$h(untrustedConfig) {
9767
10632
  const config = {};
9768
- typeCheckConfig$U(untrustedConfig, config, updateVisualization_ConfigPropertyMetadata);
10633
+ typeCheckConfig$Y(untrustedConfig, config, updateVisualization_ConfigPropertyMetadata);
9769
10634
  const untrustedConfig_dataSource = untrustedConfig.dataSource;
9770
10635
  if (untrustedIsObject(untrustedConfig_dataSource)) {
9771
10636
  const untrustedConfig_dataSource_object = {};
@@ -10030,14 +10895,14 @@ const getVisualizationBundle_ConfigPropertyMetadata = [
10030
10895
  generateParamConfigMetadata('minorVersion', false, 1 /* QueryParameter */, 3 /* Integer */),
10031
10896
  ];
10032
10897
  const getVisualizationBundle_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getVisualizationBundle_ConfigPropertyMetadata);
10033
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$U(getVisualizationBundle_ConfigPropertyMetadata);
10898
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$Y(getVisualizationBundle_ConfigPropertyMetadata);
10034
10899
  function keyBuilder$m(luvio, config) {
10035
10900
  const resourceParams = createResourceParams$g(config);
10036
10901
  return keyBuilder$n(luvio, resourceParams);
10037
10902
  }
10038
10903
  function typeCheckConfig$g(untrustedConfig) {
10039
10904
  const config = {};
10040
- typeCheckConfig$U(untrustedConfig, config, getVisualizationBundle_ConfigPropertyMetadata);
10905
+ typeCheckConfig$Y(untrustedConfig, config, getVisualizationBundle_ConfigPropertyMetadata);
10041
10906
  return config;
10042
10907
  }
10043
10908
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -10086,7 +10951,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
10086
10951
  });
10087
10952
  }
10088
10953
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
10089
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
10954
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
10090
10955
  }
10091
10956
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
10092
10957
  const { luvio, config } = context;
@@ -10375,14 +11240,14 @@ const getWorkspaces_ConfigPropertyMetadata = [
10375
11240
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
10376
11241
  ];
10377
11242
  const getWorkspaces_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getWorkspaces_ConfigPropertyMetadata);
10378
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$U(getWorkspaces_ConfigPropertyMetadata);
11243
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$Y(getWorkspaces_ConfigPropertyMetadata);
10379
11244
  function keyBuilder$j(luvio, config) {
10380
11245
  const resourceParams = createResourceParams$f(config);
10381
11246
  return keyBuilder$k(luvio, resourceParams);
10382
11247
  }
10383
11248
  function typeCheckConfig$f(untrustedConfig) {
10384
11249
  const config = {};
10385
- typeCheckConfig$U(untrustedConfig, config, getWorkspaces_ConfigPropertyMetadata);
11250
+ typeCheckConfig$Y(untrustedConfig, config, getWorkspaces_ConfigPropertyMetadata);
10386
11251
  return config;
10387
11252
  }
10388
11253
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -10431,7 +11296,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
10431
11296
  });
10432
11297
  }
10433
11298
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
10434
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
11299
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
10435
11300
  }
10436
11301
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
10437
11302
  const { luvio, config } = context;
@@ -10501,10 +11366,10 @@ const createWorkspace_ConfigPropertyMetadata = [
10501
11366
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
10502
11367
  ];
10503
11368
  const createWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, createWorkspace_ConfigPropertyMetadata);
10504
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$U(createWorkspace_ConfigPropertyMetadata);
11369
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$Y(createWorkspace_ConfigPropertyMetadata);
10505
11370
  function typeCheckConfig$e(untrustedConfig) {
10506
11371
  const config = {};
10507
- typeCheckConfig$U(untrustedConfig, config, createWorkspace_ConfigPropertyMetadata);
11372
+ typeCheckConfig$Y(untrustedConfig, config, createWorkspace_ConfigPropertyMetadata);
10508
11373
  return config;
10509
11374
  }
10510
11375
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -10585,10 +11450,10 @@ const deleteWorkspace_ConfigPropertyMetadata = [
10585
11450
  generateParamConfigMetadata('workspaceIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
10586
11451
  ];
10587
11452
  const deleteWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteWorkspace_ConfigPropertyMetadata);
10588
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$U(deleteWorkspace_ConfigPropertyMetadata);
11453
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$Y(deleteWorkspace_ConfigPropertyMetadata);
10589
11454
  function typeCheckConfig$d(untrustedConfig) {
10590
11455
  const config = {};
10591
- typeCheckConfig$U(untrustedConfig, config, deleteWorkspace_ConfigPropertyMetadata);
11456
+ typeCheckConfig$Y(untrustedConfig, config, deleteWorkspace_ConfigPropertyMetadata);
10592
11457
  return config;
10593
11458
  }
10594
11459
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -10686,14 +11551,14 @@ const getWorkspaceByIdOrName_ConfigPropertyMetadata = [
10686
11551
  generateParamConfigMetadata('workspaceIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
10687
11552
  ];
10688
11553
  const getWorkspaceByIdOrName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getWorkspaceByIdOrName_ConfigPropertyMetadata);
10689
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$U(getWorkspaceByIdOrName_ConfigPropertyMetadata);
11554
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$Y(getWorkspaceByIdOrName_ConfigPropertyMetadata);
10690
11555
  function keyBuilder$g(luvio, config) {
10691
11556
  const resourceParams = createResourceParams$c(config);
10692
11557
  return keyBuilder$h(luvio, resourceParams);
10693
11558
  }
10694
11559
  function typeCheckConfig$c(untrustedConfig) {
10695
11560
  const config = {};
10696
- typeCheckConfig$U(untrustedConfig, config, getWorkspaceByIdOrName_ConfigPropertyMetadata);
11561
+ typeCheckConfig$Y(untrustedConfig, config, getWorkspaceByIdOrName_ConfigPropertyMetadata);
10697
11562
  return config;
10698
11563
  }
10699
11564
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -10742,7 +11607,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
10742
11607
  });
10743
11608
  }
10744
11609
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
10745
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
11610
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
10746
11611
  }
10747
11612
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
10748
11613
  const { luvio, config } = context;
@@ -10813,10 +11678,10 @@ const updateWorkspace_ConfigPropertyMetadata = [
10813
11678
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
10814
11679
  ];
10815
11680
  const updateWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, updateWorkspace_ConfigPropertyMetadata);
10816
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$U(updateWorkspace_ConfigPropertyMetadata);
11681
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$Y(updateWorkspace_ConfigPropertyMetadata);
10817
11682
  function typeCheckConfig$b(untrustedConfig) {
10818
11683
  const config = {};
10819
- typeCheckConfig$U(untrustedConfig, config, updateWorkspace_ConfigPropertyMetadata);
11684
+ typeCheckConfig$Y(untrustedConfig, config, updateWorkspace_ConfigPropertyMetadata);
10820
11685
  return config;
10821
11686
  }
10822
11687
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -10997,10 +11862,10 @@ const createWorkspaceAsset_ConfigPropertyMetadata = [
10997
11862
  generateParamConfigMetadata('assetUsageType', true, 2 /* Body */, 0 /* String */),
10998
11863
  ];
10999
11864
  const createWorkspaceAsset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createWorkspaceAsset_ConfigPropertyMetadata);
11000
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$U(createWorkspaceAsset_ConfigPropertyMetadata);
11865
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$Y(createWorkspaceAsset_ConfigPropertyMetadata);
11001
11866
  function typeCheckConfig$a(untrustedConfig) {
11002
11867
  const config = {};
11003
- typeCheckConfig$U(untrustedConfig, config, createWorkspaceAsset_ConfigPropertyMetadata);
11868
+ typeCheckConfig$Y(untrustedConfig, config, createWorkspaceAsset_ConfigPropertyMetadata);
11004
11869
  return config;
11005
11870
  }
11006
11871
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -11082,10 +11947,10 @@ const deleteWorkspaceAsset_ConfigPropertyMetadata = [
11082
11947
  generateParamConfigMetadata('workspaceIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
11083
11948
  ];
11084
11949
  const deleteWorkspaceAsset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteWorkspaceAsset_ConfigPropertyMetadata);
11085
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$U(deleteWorkspaceAsset_ConfigPropertyMetadata);
11950
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$Y(deleteWorkspaceAsset_ConfigPropertyMetadata);
11086
11951
  function typeCheckConfig$9(untrustedConfig) {
11087
11952
  const config = {};
11088
- typeCheckConfig$U(untrustedConfig, config, deleteWorkspaceAsset_ConfigPropertyMetadata);
11953
+ typeCheckConfig$Y(untrustedConfig, config, deleteWorkspaceAsset_ConfigPropertyMetadata);
11089
11954
  return config;
11090
11955
  }
11091
11956
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -11469,14 +12334,14 @@ const getFlows_ConfigPropertyMetadata = [
11469
12334
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
11470
12335
  ];
11471
12336
  const getFlows_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getFlows_ConfigPropertyMetadata);
11472
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$U(getFlows_ConfigPropertyMetadata);
12337
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$Y(getFlows_ConfigPropertyMetadata);
11473
12338
  function keyBuilder$c(luvio, config) {
11474
12339
  const resourceParams = createResourceParams$8(config);
11475
12340
  return keyBuilder$d(luvio, resourceParams);
11476
12341
  }
11477
12342
  function typeCheckConfig$8(untrustedConfig) {
11478
12343
  const config = {};
11479
- typeCheckConfig$U(untrustedConfig, config, getFlows_ConfigPropertyMetadata);
12344
+ typeCheckConfig$Y(untrustedConfig, config, getFlows_ConfigPropertyMetadata);
11480
12345
  return config;
11481
12346
  }
11482
12347
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -11525,7 +12390,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
11525
12390
  });
11526
12391
  }
11527
12392
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
11528
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
12393
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
11529
12394
  }
11530
12395
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
11531
12396
  const { luvio, config } = context;
@@ -11601,14 +12466,14 @@ const getFlowByName_ConfigPropertyMetadata = [
11601
12466
  generateParamConfigMetadata('flowApiName', true, 0 /* UrlParameter */, 0 /* String */),
11602
12467
  ];
11603
12468
  const getFlowByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getFlowByName_ConfigPropertyMetadata);
11604
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$U(getFlowByName_ConfigPropertyMetadata);
12469
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$Y(getFlowByName_ConfigPropertyMetadata);
11605
12470
  function keyBuilder$a(luvio, config) {
11606
12471
  const resourceParams = createResourceParams$7(config);
11607
12472
  return keyBuilder$b(luvio, resourceParams);
11608
12473
  }
11609
12474
  function typeCheckConfig$7(untrustedConfig) {
11610
12475
  const config = {};
11611
- typeCheckConfig$U(untrustedConfig, config, getFlowByName_ConfigPropertyMetadata);
12476
+ typeCheckConfig$Y(untrustedConfig, config, getFlowByName_ConfigPropertyMetadata);
11612
12477
  return config;
11613
12478
  }
11614
12479
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -11657,7 +12522,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
11657
12522
  });
11658
12523
  }
11659
12524
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
11660
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
12525
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
11661
12526
  }
11662
12527
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
11663
12528
  const { luvio, config } = context;
@@ -11815,14 +12680,14 @@ const getSubscriptionDigestConfig_ConfigPropertyMetadata = [
11815
12680
  generateParamConfigMetadata('digestConfigOwner', true, 0 /* UrlParameter */, 0 /* String */),
11816
12681
  ];
11817
12682
  const getSubscriptionDigestConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSubscriptionDigestConfig_ConfigPropertyMetadata);
11818
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$U(getSubscriptionDigestConfig_ConfigPropertyMetadata);
12683
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$Y(getSubscriptionDigestConfig_ConfigPropertyMetadata);
11819
12684
  function keyBuilder$7(luvio, config) {
11820
12685
  const resourceParams = createResourceParams$6(config);
11821
12686
  return keyBuilder$8(luvio, resourceParams);
11822
12687
  }
11823
12688
  function typeCheckConfig$6(untrustedConfig) {
11824
12689
  const config = {};
11825
- typeCheckConfig$U(untrustedConfig, config, getSubscriptionDigestConfig_ConfigPropertyMetadata);
12690
+ typeCheckConfig$Y(untrustedConfig, config, getSubscriptionDigestConfig_ConfigPropertyMetadata);
11826
12691
  return config;
11827
12692
  }
11828
12693
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -11871,7 +12736,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
11871
12736
  });
11872
12737
  }
11873
12738
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
11874
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
12739
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
11875
12740
  }
11876
12741
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
11877
12742
  const { luvio, config } = context;
@@ -11940,10 +12805,10 @@ const updateSubscriptionDigestConfig_ConfigPropertyMetadata = [
11940
12805
  generateParamConfigMetadata('scheduleType', true, 2 /* Body */, 0 /* String */),
11941
12806
  ];
11942
12807
  const updateSubscriptionDigestConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, updateSubscriptionDigestConfig_ConfigPropertyMetadata);
11943
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$U(updateSubscriptionDigestConfig_ConfigPropertyMetadata);
12808
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$Y(updateSubscriptionDigestConfig_ConfigPropertyMetadata);
11944
12809
  function typeCheckConfig$5(untrustedConfig) {
11945
12810
  const config = {};
11946
- typeCheckConfig$U(untrustedConfig, config, updateSubscriptionDigestConfig_ConfigPropertyMetadata);
12811
+ typeCheckConfig$Y(untrustedConfig, config, updateSubscriptionDigestConfig_ConfigPropertyMetadata);
11947
12812
  return config;
11948
12813
  }
11949
12814
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -12175,10 +13040,10 @@ const getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata = [
12175
13040
  generateParamConfigMetadata('sortDirection', false, 2 /* Body */, 0 /* String */),
12176
13041
  ];
12177
13042
  const getUnifiedAnalyticsLibraryAssets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
12178
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$U(getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
13043
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$Y(getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
12179
13044
  function typeCheckConfig$4(untrustedConfig) {
12180
13045
  const config = {};
12181
- typeCheckConfig$U(untrustedConfig, config, getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
13046
+ typeCheckConfig$Y(untrustedConfig, config, getUnifiedAnalyticsLibraryAssets_ConfigPropertyMetadata);
12182
13047
  const untrustedConfig_assetTypes = untrustedConfig.assetTypes;
12183
13048
  if (ArrayIsArray$1(untrustedConfig_assetTypes)) {
12184
13049
  const untrustedConfig_assetTypes_array = [];
@@ -12410,10 +13275,10 @@ const generateSFDriveCredentials_ConfigPropertyMetadata = [
12410
13275
  generateParamConfigMetadata('path', true, 2 /* Body */, 0 /* String */),
12411
13276
  ];
12412
13277
  const generateSFDriveCredentials_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, generateSFDriveCredentials_ConfigPropertyMetadata);
12413
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$U(generateSFDriveCredentials_ConfigPropertyMetadata);
13278
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$Y(generateSFDriveCredentials_ConfigPropertyMetadata);
12414
13279
  function typeCheckConfig$3(untrustedConfig) {
12415
13280
  const config = {};
12416
- typeCheckConfig$U(untrustedConfig, config, generateSFDriveCredentials_ConfigPropertyMetadata);
13281
+ typeCheckConfig$Y(untrustedConfig, config, generateSFDriveCredentials_ConfigPropertyMetadata);
12417
13282
  return config;
12418
13283
  }
12419
13284
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -12584,14 +13449,14 @@ const initiateMarketplaceListingInstallation_ConfigPropertyMetadata = [
12584
13449
  generateParamConfigMetadata('listingId', true, 0 /* UrlParameter */, 0 /* String */),
12585
13450
  ];
12586
13451
  const initiateMarketplaceListingInstallation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, initiateMarketplaceListingInstallation_ConfigPropertyMetadata);
12587
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$U(initiateMarketplaceListingInstallation_ConfigPropertyMetadata);
13452
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$Y(initiateMarketplaceListingInstallation_ConfigPropertyMetadata);
12588
13453
  function keyBuilder$3(luvio, config) {
12589
13454
  const resourceParams = createResourceParams$2(config);
12590
13455
  return keyBuilder$4(luvio, resourceParams);
12591
13456
  }
12592
13457
  function typeCheckConfig$2(untrustedConfig) {
12593
13458
  const config = {};
12594
- typeCheckConfig$U(untrustedConfig, config, initiateMarketplaceListingInstallation_ConfigPropertyMetadata);
13459
+ typeCheckConfig$Y(untrustedConfig, config, initiateMarketplaceListingInstallation_ConfigPropertyMetadata);
12595
13460
  return config;
12596
13461
  }
12597
13462
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -12640,7 +13505,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
12640
13505
  });
12641
13506
  }
12642
13507
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
12643
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
13508
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
12644
13509
  }
12645
13510
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
12646
13511
  const { luvio, config } = context;
@@ -12818,14 +13683,14 @@ const getMarketplaceListingInstallationProgress_ConfigPropertyMetadata = [
12818
13683
  generateParamConfigMetadata('installationId', true, 0 /* UrlParameter */, 0 /* String */),
12819
13684
  ];
12820
13685
  const getMarketplaceListingInstallationProgress_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getMarketplaceListingInstallationProgress_ConfigPropertyMetadata);
12821
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$U(getMarketplaceListingInstallationProgress_ConfigPropertyMetadata);
13686
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$Y(getMarketplaceListingInstallationProgress_ConfigPropertyMetadata);
12822
13687
  function keyBuilder$1(luvio, config) {
12823
13688
  const resourceParams = createResourceParams$1(config);
12824
13689
  return keyBuilder$2(luvio, resourceParams);
12825
13690
  }
12826
13691
  function typeCheckConfig$1(untrustedConfig) {
12827
13692
  const config = {};
12828
- typeCheckConfig$U(untrustedConfig, config, getMarketplaceListingInstallationProgress_ConfigPropertyMetadata);
13693
+ typeCheckConfig$Y(untrustedConfig, config, getMarketplaceListingInstallationProgress_ConfigPropertyMetadata);
12829
13694
  return config;
12830
13695
  }
12831
13696
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -12874,7 +13739,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
12874
13739
  });
12875
13740
  }
12876
13741
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
12877
- return buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
13742
+ return buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
12878
13743
  }
12879
13744
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
12880
13745
  const { luvio, config } = context;
@@ -13010,10 +13875,10 @@ const createTemplate_ConfigPropertyMetadata = [
13010
13875
  generateParamConfigMetadata('tags', true, 2 /* Body */, 4 /* Unsupported */),
13011
13876
  ];
13012
13877
  const createTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, createTemplate_ConfigPropertyMetadata);
13013
- const createResourceParams = /*#__PURE__*/ createResourceParams$U(createTemplate_ConfigPropertyMetadata);
13878
+ const createResourceParams = /*#__PURE__*/ createResourceParams$Y(createTemplate_ConfigPropertyMetadata);
13014
13879
  function typeCheckConfig(untrustedConfig) {
13015
13880
  const config = {};
13016
- typeCheckConfig$U(untrustedConfig, config, createTemplate_ConfigPropertyMetadata);
13881
+ typeCheckConfig$Y(untrustedConfig, config, createTemplate_ConfigPropertyMetadata);
13017
13882
  const untrustedConfig_tags = untrustedConfig.tags;
13018
13883
  if (untrustedIsObject(untrustedConfig_tags)) {
13019
13884
  const untrustedConfig_tags_object = {};
@@ -13082,4 +13947,4 @@ const createTemplateAdapterFactory = (luvio) => {
13082
13947
  };
13083
13948
  };
13084
13949
 
13085
- export { createAnnotationAdapterFactory, createAssetSlackChannelAdapterFactory, createDashboardAdapterFactory, createDataAlertAdapterFactory, createDataAssetRequestAdapterFactory, createLoglinesAdapterFactory, createRecordSharesAdapterFactory, createTemplateAdapterFactory, createVisualizationAdapterFactory, createWorkspaceAdapterFactory, createWorkspaceAssetAdapterFactory, deleteAllSharesAdapterFactory, deleteDashboardAdapterFactory, deleteRecordShareAdapterFactory, deleteVisualizationAdapterFactory, deleteWorkspaceAdapterFactory, deleteWorkspaceAssetAdapterFactory, followAdapterFactory, generateSFDriveCredentialsAdapterFactory, getAnnotationsAdapterFactory, getAssetSlackChannelsAdapterFactory, getDashboardByNameAdapterFactory, getDashboardsAdapterFactory, getDataAssetDependenciesAdapterFactory, getDataAssetRequestByIdOrApiNameAdapterFactory, getDataAssetRequestsAdapterFactory, getDataAssetRequestsCountAdapterFactory, getFlowByNameAdapterFactory, getFlowsAdapterFactory, getFollowedAssetsAdapterFactory, getFollowersAdapterFactory, getMarketplaceListingInstallationProgressAdapterFactory, getOrgAdapterFactory, getSharesAdapterFactory, getSlackAppInfoAdapterFactory, getSubscriptionDigestConfigAdapterFactory, getUnifiedAnalyticsLibraryAssetsAdapterFactory, getUniqueFollowerCountAdapterFactory, getVisualizationAdapterFactory, getVisualizationBundleAdapterFactory, getVisualizationsAdapterFactory, getWorkspaceByIdOrNameAdapterFactory, getWorkspacesAdapterFactory, initiateMarketplaceListingInstallationAdapterFactory, publishAdapterFactory, queryAssetsAdapterFactory, queryUsersAdapterFactory, unfollowAdapterFactory, updateDashboardAdapterFactory, updateDataAlertAdapterFactory, updateDataAssetRequestAdapterFactory, updateFollowedAssetAdapterFactory, updateRecordSharesAdapterFactory, updateSubscriptionDigestConfigAdapterFactory, updateVisualizationAdapterFactory, updateWorkspaceAdapterFactory };
13950
+ export { createAnnotationAdapterFactory, createAssetSlackChannelAdapterFactory, createDashboardAdapterFactory, createDataAlertAdapterFactory, createDataAssetRequestAdapterFactory, createLoglinesAdapterFactory, createRecordSharesAdapterFactory, createTemplateAdapterFactory, createVisualizationAdapterFactory, createWorkspaceAdapterFactory, createWorkspaceAssetAdapterFactory, deleteAllSharesAdapterFactory, deleteDashboardAdapterFactory, deleteDataAlertAdapterFactory, deleteRecordShareAdapterFactory, deleteVisualizationAdapterFactory, deleteWorkspaceAdapterFactory, deleteWorkspaceAssetAdapterFactory, followAdapterFactory, generateSFDriveCredentialsAdapterFactory, getAnnotationsAdapterFactory, getAssetSlackChannelsAdapterFactory, getDashboardByNameAdapterFactory, getDashboardsAdapterFactory, getDataAlertAdapterFactory, getDataAlertCollectionAdapterFactory, getDataAssetDependenciesAdapterFactory, getDataAssetRequestByIdOrApiNameAdapterFactory, getDataAssetRequestsAdapterFactory, getDataAssetRequestsCountAdapterFactory, getFlowByNameAdapterFactory, getFlowsAdapterFactory, getFollowedAssetsAdapterFactory, getFollowersAdapterFactory, getMarketplaceListingInstallationProgressAdapterFactory, getOrgAdapterFactory, getSharesAdapterFactory, getSlackAppInfoAdapterFactory, getSubscriptionDigestConfigAdapterFactory, getUnifiedAnalyticsLibraryAssetsAdapterFactory, getUniqueFollowerCountAdapterFactory, getVisualizationAdapterFactory, getVisualizationBundleAdapterFactory, getVisualizationsAdapterFactory, getWorkspaceByIdOrNameAdapterFactory, getWorkspacesAdapterFactory, initiateMarketplaceListingInstallationAdapterFactory, postDataAlertRunAdapterFactory, publishAdapterFactory, queryAssetsAdapterFactory, queryUsersAdapterFactory, unfollowAdapterFactory, updateDashboardAdapterFactory, updateDataAlertAdapterFactory, updateDataAssetRequestAdapterFactory, updateFollowedAssetAdapterFactory, updateRecordSharesAdapterFactory, updateSubscriptionDigestConfigAdapterFactory, updateVisualizationAdapterFactory, updateWorkspaceAdapterFactory };