@dereekb/firebase-server 13.33.0 → 13.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { notificationHealthCheckIssue, KnownNotificationHealthCheckIssueCode, NotificationHealthCheckStatus, MailgunNotificationHealthCheckIssueCode, untrackableNotificationHealthCheckProbe, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLED_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_THROTTLED_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, notificationUserHealthCheckParamsType, rollupNotificationHealthCheckResultStatus, rollupNotificationDeliveryHealthCheckResultStatus, isPendingNotificationHealthCheckProbe, notificationUserHealthCheckNextProbeAt, notificationUserHealthCheckNextVerifyAt, notificationUserHealthCheckNextRunAt, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, NotificationDeliveryMethod, NotificationBoxRecipientFlag, effectiveNotificationBoxRecipientTemplateConfig, firestoreDummyKey, mergeNotificationBoxRecipients, mergeNotificationUserNotificationBoxRecipientConfigs, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, mergeNotificationBoxRecipientTemplateConfigs, notificationSendExclusionCanSendFunction, mergeNotificationUserDefaultNotificationBoxRecipientConfig, NotificationRecipientSendFlag, allowedNotificationRecipients, loadDocumentsForIds, getDocumentSnapshotDataPairsWithData, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, createNotificationBoxParamsType, createNotificationSummaryParamsType, createNotificationUserParamsType, resyncNotificationUserParamsType, sendNotificationParamsType, sendQueuedNotificationsParamsType, updateNotificationBoxParamsType, updateNotificationBoxRecipientParamsType, updateNotificationSummaryParamsType, updateNotificationUserParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigs, calculateNsForNotificationUserNotificationBoxRecipientConfigs, getDocumentSnapshotDataPairs, iterateFirestoreDocumentSnapshotPairs, notificationUsersFlaggedForNeedsSyncQuery, notificationSummaryIdForModel, loadNotificationBoxDocumentForReferencePair, updateNotificationUserNotificationSendExclusions, notificationBoxRecipientTemplateConfigArrayToRecord, updateNotificationRecipient, setIdAndKeyFromKeyIdRefOnDocumentData, inferKeyFromTwoWayFlatFirestoreModelKey, NotificationSendType, getDocumentSnapshotData, notificationSendFlagsImplyIsComplete, NotificationSendState, mergeNotificationSendMessagesResult, notificationsPastSendAtTimeQuery, loadDocumentsForDocumentReferencesFromValues, notificationLoggedEventDayId, shouldSaveNotificationToNotificationWeek, notificationsReadyForCleanupQuery, notificationLoggedEventDaysOlderThanQuery, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeNotificationModelParamsType, firestoreModelKeyCollectionName, notificationBoxesFlaggedForNeedsInitializationQuery, notificationSummariesFlaggedForNeedsInitializationQuery, noContentNotificationMessageFunctionFactory, _createNotificationDocumentFromPair, createNotificationDocumentPair, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, sortNotificationItemsFunction, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, completeSubtaskProcessingAndScheduleCleanupTaskResult, delayCompletion, notificationTaskComplete, notificationTaskDelayRetry, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, createStorageFileParamsType, createStorageFileGroupParamsType, createStorageFileSignedUploadUrlParamsType, deleteAllQueuedStorageFilesParamsType, deleteStorageFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeStorageFileFromUploadParamsType, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, updateStorageFileParamsType, updateStorageFileGroupParamsType, UPLOADS_FOLDER_PATH, iterateStorageListFilesByEachFile, StorageFileProcessingState, storageFilesQueuedForProcessingQuery, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, StorageFileState, createNotificationDocument, storageFileProcessingNotificationTaskTemplate, storageFilesQueuedForDeleteQuery, loadStorageFileGroupDocumentForReferencePair, calculateStorageFileGroupEmbeddedFileUpdate, iterateFirestoreDocumentSnapshotPairBatches, storageFileFlaggedForSyncWithGroupsQuery, createStorageFileDocumentPairFactory, StorageFileCreationType, storageFileGroupZipFileStoragePath, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, calculateStorageFileGroupRegeneration, getDocumentSnapshotDataPair, storageFileGroupsFlaggedForContentRegenerationQuery, DEFAULT_CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MIN_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_FILENAME_LENGTH, initializeAllApplicableStorageFileGroupsParamsType, initializeStorageFileModelParamsType, storageFileGroupsFlaggedForNeedsInitializationQuery, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, storedFileReaderFactory, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, copyStoragePath, notificationSubtaskComplete, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, limitUploadFileTypeDeterminer, combineUploadFileTypeDeterminers, STORAGEFILE_RELATED_FILE_METADATA_KEY, storageFilePurposeAndUserQuery, firestoreModelIdentity, copyUserRelatedDataAccessorFactoryFunction, snapshotConverterFunctions, firestoreDate, firestoreUID, AbstractFirestoreDocument, emptyUserExternalConnection, userExternalConnectionEntryForOutcome, applyUserExternalConnectionEntry } from '@dereekb/firebase';
1
+ import { notificationHealthCheckIssue, KnownNotificationHealthCheckIssueCode, NotificationHealthCheckStatus, MailgunNotificationHealthCheckIssueCode, untrackableNotificationHealthCheckProbe, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLED_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_THROTTLED_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, notificationUserHealthCheckParamsType, rollupNotificationHealthCheckResultStatus, rollupNotificationDeliveryHealthCheckResultStatus, isPendingNotificationHealthCheckProbe, notificationUserHealthCheckNextProbeAt, notificationUserHealthCheckNextVerifyAt, notificationUserHealthCheckNextRunAt, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, NotificationDeliveryMethod, NotificationBoxRecipientFlag, effectiveNotificationBoxRecipientTemplateConfig, firestoreDummyKey, mergeNotificationBoxRecipients, mergeNotificationUserNotificationBoxRecipientConfigs, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, mergeNotificationBoxRecipientTemplateConfigs, notificationSendExclusionCanSendFunction, mergeNotificationUserDefaultNotificationBoxRecipientConfig, NotificationRecipientSendFlag, allowedNotificationRecipients, loadDocumentsForIds, getDocumentSnapshotDataPairsWithData, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, createNotificationBoxParamsType, createNotificationSummaryParamsType, createNotificationUserParamsType, resyncNotificationUserParamsType, sendNotificationParamsType, sendQueuedNotificationsParamsType, updateNotificationBoxParamsType, updateNotificationBoxRecipientParamsType, updateNotificationSummaryParamsType, updateNotificationUserParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigs, calculateNsForNotificationUserNotificationBoxRecipientConfigs, getDocumentSnapshotDataPairs, iterateFirestoreDocumentSnapshotPairs, notificationUsersFlaggedForNeedsSyncQuery, notificationSummaryIdForModel, loadNotificationBoxDocumentForReferencePair, updateNotificationUserNotificationSendExclusions, notificationBoxRecipientTemplateConfigArrayToRecord, updateNotificationRecipient, setIdAndKeyFromKeyIdRefOnDocumentData, inferKeyFromTwoWayFlatFirestoreModelKey, NotificationSendType, getDocumentSnapshotData, notificationSendFlagsImplyIsComplete, NotificationSendState, mergeNotificationSendMessagesResult, notificationsPastSendAtTimeQuery, loadDocumentsForDocumentReferencesFromValues, notificationLoggedEventDayId, shouldSaveNotificationToNotificationWeek, notificationsReadyForCleanupQuery, notificationLoggedEventDaysOlderThanQuery, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeNotificationModelParamsType, firestoreModelKeyCollectionName, notificationBoxesFlaggedForNeedsInitializationQuery, notificationSummariesFlaggedForNeedsInitializationQuery, noContentNotificationMessageFunctionFactory, _createNotificationDocumentFromPair, createNotificationDocumentPair, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, sortNotificationItemsFunction, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, completeSubtaskProcessingAndScheduleCleanupTaskResult, delayCompletion, notificationTaskComplete, notificationTaskDelayRetry, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, createStorageFileParamsType, createStorageFileGroupParamsType, createStorageFileSignedUploadUrlParamsType, deleteAllQueuedStorageFilesParamsType, deleteStorageFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeStorageFileFromUploadParamsType, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, updateStorageFileParamsType, updateStorageFileGroupParamsType, UPLOADS_FOLDER_PATH, iterateStorageListFilesByEachFile, StorageFileProcessingState, storageFilesQueuedForProcessingQuery, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, StorageFileState, createNotificationDocument, storageFileProcessingNotificationTaskTemplate, storageFilesQueuedForDeleteQuery, loadStorageFileGroupDocumentForReferencePair, calculateStorageFileGroupEmbeddedFileUpdate, iterateFirestoreDocumentSnapshotPairBatches, storageFileFlaggedForSyncWithGroupsQuery, createStorageFileDocumentPairFactory, StorageFileCreationType, storageFileGroupZipFileStoragePath, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, calculateStorageFileGroupRegeneration, getDocumentSnapshotDataPair, storageFileGroupsFlaggedForContentRegenerationQuery, DEFAULT_CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MIN_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_FILENAME_LENGTH, initializeAllApplicableStorageFileGroupsParamsType, initializeStorageFileModelParamsType, storageFileGroupsFlaggedForNeedsInitializationQuery, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, storedFileReaderFactory, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, copyStoragePath, notificationSubtaskComplete, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, limitUploadFileTypeDeterminer, combineUploadFileTypeDeterminers, STORAGEFILE_RELATED_FILE_METADATA_KEY, storageFilePurposeAndUserQuery, firestoreModelIdentity, systemStateConverter, systemStateStoredDataConverterFactory, AbstractFirestoreDocument, copyUserRelatedDataAccessorFactoryFunction, snapshotConverterFunctions, firestoreDate, firestoreUID, emptyUserExternalConnection, userExternalConnectionEntryForOutcome, applyUserExternalConnectionEntry } from '@dereekb/firebase';
2
2
  import { MailgunEventName, mailgunDomainState, mailgunSuppressionsForRecipient, mailgunRecentEventsForRecipient, mailgunValidateEmail, mailgunDomainEventDate, mailgunDomainEventFailureReason, MailgunEventSeverity, mailgunEventsForMessageId, bareMailgunMessageId } from '@dereekb/nestjs/mailgun';
3
3
  import { mapObjectKeysToLowercase, multiValueMapBuilder, batch, runAsyncTasksForValues, asArray, pushArrayItemsIntoArray, filterMaybeArrayValues, takeFront, UNSET_INDEX_NUMBER, areEqualPOJOValues, performAsyncTasks, removeValuesAtIndexesFromArrayCopy, makeModelMap, computeNextFreeIndexOnSortedValuesFunction, readIndexNumber, asPromise, dateOrMillisecondsToDate, filterOnlyUndefinedValues, iterablesAreSetEquivalent, mapIdentityFunction, makeValuesGroupMap, cutStringFunction, takeLast, separateValues, unique, addMilliseconds, mergeSlashPaths, ModelRelationUtility, isThrottled, isPast, unixDateTimeSecondsNumberFromDate, slashPathDetails, MS_IN_MINUTE, expirationDetails, dateFromDateOrTimeMillisecondsNumber, cachedGetter, MS_IN_HOUR, documentFileExtensionForMimeType, useCallback, ZIP_FILE_MIME_TYPE, MAP_IDENTITY, pushItemOrArrayItemsIntoArray, asDecisionFunction, filterUndefinedValues } from '@dereekb/util';
4
4
  import { yearWeekCode, isSameDate, findMaxDate, findMinDate, safeToJsDate } from '@dereekb/date';
5
- import { preconditionConflictError, assertSnapshotData, internalServerError, badRequestError, firestoreEncryptedField, FirebaseServerEnvService, FIREBASE_FIRESTORE_CONTEXT_TOKEN, FirebaseServerFirestoreContextModule } from '@dereekb/firebase-server';
5
+ import { preconditionConflictError, assertSnapshotData, internalServerError, badRequestError, FIREBASE_FIRESTORE_CONTEXT_TOKEN, FirebaseServerFirestoreContextModule, firestoreEncryptedField, FirebaseServerEnvService } from '@dereekb/firebase-server';
6
6
  import { isAfter, hoursToMilliseconds, addHours, isFuture, addMinutes, addSeconds, addDays } from 'date-fns';
7
7
  import { Optional, Inject, Injectable, Module, Global, Get, Req, Res, Query, Logger } from '@nestjs/common';
8
8
  import { ConfigModule, ConfigService } from '@nestjs/config';
@@ -13,7 +13,7 @@ import { PDFName, PDFDocument, PDFRawStream, PDFArray, PDFNumber, PDFStream, PDF
13
13
  import archiver from 'archiver';
14
14
  import { createAES256GCMEncryption, isValidAES256GCMEncryptionSecret } from '@dereekb/nestjs';
15
15
 
16
- function _array_like_to_array$e(arr, len) {
16
+ function _array_like_to_array$f(arr, len) {
17
17
  if (len == null || len > arr.length) len = arr.length;
18
18
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
19
19
  return arr2;
@@ -21,8 +21,8 @@ function _array_like_to_array$e(arr, len) {
21
21
  function _array_with_holes$7(arr) {
22
22
  if (Array.isArray(arr)) return arr;
23
23
  }
24
- function _array_without_holes$a(arr) {
25
- if (Array.isArray(arr)) return _array_like_to_array$e(arr);
24
+ function _array_without_holes$b(arr) {
25
+ if (Array.isArray(arr)) return _array_like_to_array$f(arr);
26
26
  }
27
27
  function asyncGeneratorStep$p(gen, resolve, reject, _next, _throw, key, arg) {
28
28
  try {
@@ -66,7 +66,7 @@ function _define_property$m(obj, key, value) {
66
66
  }
67
67
  return obj;
68
68
  }
69
- function _iterable_to_array$a(iter) {
69
+ function _iterable_to_array$b(iter) {
70
70
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
71
71
  }
72
72
  function _iterable_to_array_limit$7(arr, i) {
@@ -96,7 +96,7 @@ function _iterable_to_array_limit$7(arr, i) {
96
96
  function _non_iterable_rest$7() {
97
97
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
98
98
  }
99
- function _non_iterable_spread$a() {
99
+ function _non_iterable_spread$b() {
100
100
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
101
101
  }
102
102
  function _object_spread$k(target) {
@@ -134,18 +134,18 @@ function _object_spread_props$i(target, source) {
134
134
  return target;
135
135
  }
136
136
  function _sliced_to_array$7(arr, i) {
137
- return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$7();
137
+ return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$7();
138
138
  }
139
- function _to_consumable_array$a(arr) {
140
- return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$a();
139
+ function _to_consumable_array$b(arr) {
140
+ return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$b();
141
141
  }
142
- function _unsupported_iterable_to_array$e(o, minLen) {
142
+ function _unsupported_iterable_to_array$f(o, minLen) {
143
143
  if (!o) return;
144
- if (typeof o === "string") return _array_like_to_array$e(o, minLen);
144
+ if (typeof o === "string") return _array_like_to_array$f(o, minLen);
145
145
  var n = Object.prototype.toString.call(o).slice(8, -1);
146
146
  if (n === "Object" && o.constructor) n = o.constructor.name;
147
147
  if (n === "Map" || n === "Set") return Array.from(n);
148
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
148
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
149
149
  }
150
150
  function _ts_generator$p(thisArg, body) {
151
151
  var f, y, t, _ = {
@@ -365,7 +365,7 @@ function _ts_generator$p(thisArg, body) {
365
365
  }
366
366
  }));
367
367
  }
368
- (_issues = issues).push.apply(_issues, _to_consumable_array$a(recentEventActivityIssues(recentEvents)));
368
+ (_issues = issues).push.apply(_issues, _to_consumable_array$b(recentEventActivityIssues(recentEvents)));
369
369
  // MARK: validation
370
370
  if (validation) {
371
371
  if (validation.result === 'undeliverable') {
@@ -405,7 +405,7 @@ function _ts_generator$p(thisArg, body) {
405
405
  ];
406
406
  case 2:
407
407
  probeResult = _state.sent();
408
- (_issues1 = issues).push.apply(_issues1, _to_consumable_array$a(probeResult.issues));
408
+ (_issues1 = issues).push.apply(_issues1, _to_consumable_array$b(probeResult.issues));
409
409
  return [
410
410
  2,
411
411
  {
@@ -818,7 +818,7 @@ function _ts_generator$p(thisArg, body) {
818
818
  })();
819
819
  }
820
820
 
821
- function _array_like_to_array$d(arr, len) {
821
+ function _array_like_to_array$e(arr, len) {
822
822
  if (len == null || len > arr.length) len = arr.length;
823
823
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
824
824
  return arr2;
@@ -883,15 +883,15 @@ function _non_iterable_rest$6() {
883
883
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
884
884
  }
885
885
  function _sliced_to_array$6(arr, i) {
886
- return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$6();
886
+ return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$6();
887
887
  }
888
- function _unsupported_iterable_to_array$d(o, minLen) {
888
+ function _unsupported_iterable_to_array$e(o, minLen) {
889
889
  if (!o) return;
890
- if (typeof o === "string") return _array_like_to_array$d(o, minLen);
890
+ if (typeof o === "string") return _array_like_to_array$e(o, minLen);
891
891
  var n = Object.prototype.toString.call(o).slice(8, -1);
892
892
  if (n === "Object" && o.constructor) n = o.constructor.name;
893
893
  if (n === "Map" || n === "Set") return Array.from(n);
894
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
894
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
895
895
  }
896
896
  function _ts_generator$o(thisArg, body) {
897
897
  var f, y, t, _ = {
@@ -1326,7 +1326,7 @@ var DEFAULT_MAILGUN_NOTIFICATION_EMAIL_SEND_SERVICE_MAX_BATCH_SIZE_PER_REQUEST =
1326
1326
  });
1327
1327
  }
1328
1328
 
1329
- function _array_like_to_array$c(arr, len) {
1329
+ function _array_like_to_array$d(arr, len) {
1330
1330
  if (len == null || len > arr.length) len = arr.length;
1331
1331
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
1332
1332
  return arr2;
@@ -1334,8 +1334,8 @@ function _array_like_to_array$c(arr, len) {
1334
1334
  function _array_with_holes$5(arr) {
1335
1335
  if (Array.isArray(arr)) return arr;
1336
1336
  }
1337
- function _array_without_holes$9(arr) {
1338
- if (Array.isArray(arr)) return _array_like_to_array$c(arr);
1337
+ function _array_without_holes$a(arr) {
1338
+ if (Array.isArray(arr)) return _array_like_to_array$d(arr);
1339
1339
  }
1340
1340
  function asyncGeneratorStep$n(gen, resolve, reject, _next, _throw, key, arg) {
1341
1341
  try {
@@ -1379,7 +1379,7 @@ function _define_property$l(obj, key, value) {
1379
1379
  }
1380
1380
  return obj;
1381
1381
  }
1382
- function _iterable_to_array$9(iter) {
1382
+ function _iterable_to_array$a(iter) {
1383
1383
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1384
1384
  }
1385
1385
  function _iterable_to_array_limit$5(arr, i) {
@@ -1409,7 +1409,7 @@ function _iterable_to_array_limit$5(arr, i) {
1409
1409
  function _non_iterable_rest$5() {
1410
1410
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1411
1411
  }
1412
- function _non_iterable_spread$9() {
1412
+ function _non_iterable_spread$a() {
1413
1413
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1414
1414
  }
1415
1415
  function _object_spread$j(target) {
@@ -1447,18 +1447,18 @@ function _object_spread_props$h(target, source) {
1447
1447
  return target;
1448
1448
  }
1449
1449
  function _sliced_to_array$5(arr, i) {
1450
- return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$5();
1450
+ return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$5();
1451
1451
  }
1452
- function _to_consumable_array$9(arr) {
1453
- return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$9();
1452
+ function _to_consumable_array$a(arr) {
1453
+ return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$a();
1454
1454
  }
1455
- function _unsupported_iterable_to_array$c(o, minLen) {
1455
+ function _unsupported_iterable_to_array$d(o, minLen) {
1456
1456
  if (!o) return;
1457
- if (typeof o === "string") return _array_like_to_array$c(o, minLen);
1457
+ if (typeof o === "string") return _array_like_to_array$d(o, minLen);
1458
1458
  var n = Object.prototype.toString.call(o).slice(8, -1);
1459
1459
  if (n === "Object" && o.constructor) n = o.constructor.name;
1460
1460
  if (n === "Map" || n === "Set") return Array.from(n);
1461
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
1461
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
1462
1462
  }
1463
1463
  function _ts_generator$n(thisArg, body) {
1464
1464
  var f, y, t, _ = {
@@ -1695,12 +1695,12 @@ function _ts_generator$n(thisArg, body) {
1695
1695
  case 5:
1696
1696
  subscriptions = _tmp;
1697
1697
  disabledMethodsByBox = (_ref = subscriptions === null || subscriptions === void 0 ? void 0 : subscriptions.issuesByMethod) !== null && _ref !== void 0 ? _ref : new Map();
1698
- accountIssues = verifyPendingProbesOnly ? _to_consumable_array$9((_ref1 = previousHealthCheck === null || previousHealthCheck === void 0 ? void 0 : previousHealthCheck.is) !== null && _ref1 !== void 0 ? _ref1 : []) : //
1699
- _to_consumable_array$9(notificationUserAccountIssues({
1698
+ accountIssues = verifyPendingProbesOnly ? _to_consumable_array$a((_ref1 = previousHealthCheck === null || previousHealthCheck === void 0 ? void 0 : previousHealthCheck.is) !== null && _ref1 !== void 0 ? _ref1 : []) : //
1699
+ _to_consumable_array$a(notificationUserAccountIssues({
1700
1700
  notificationUser: notificationUser,
1701
1701
  accountDisabled: (authDetails === null || authDetails === void 0 ? void 0 : authDetails.disabled) === true,
1702
1702
  accountExists: authDetails != null
1703
- })).concat(_to_consumable_array$9((_ref2 = subscriptions === null || subscriptions === void 0 ? void 0 : subscriptions.sharedIssues) !== null && _ref2 !== void 0 ? _ref2 : []));
1703
+ })).concat(_to_consumable_array$a((_ref2 = subscriptions === null || subscriptions === void 0 ? void 0 : subscriptions.sharedIssues) !== null && _ref2 !== void 0 ? _ref2 : []));
1704
1704
  // MARK: per-method
1705
1705
  probesDispatched = 0;
1706
1706
  probesResolved = 0;
@@ -1730,11 +1730,11 @@ function _ts_generator$n(thisArg, body) {
1730
1730
  // lose its probe explanation while still reporting the probe itself.
1731
1731
  issues = verifyPendingProbesOnly ? ((_ref = previousMethodResult === null || previousMethodResult === void 0 ? void 0 : previousMethodResult.is) !== null && _ref !== void 0 ? _ref : []).filter(function(x) {
1732
1732
  return !(willConsultProvider && isProbeIssueCode(x.c));
1733
- }) : _to_consumable_array$9(notificationDeliveryMethodConfigIssues({
1733
+ }) : _to_consumable_array$a(notificationDeliveryMethodConfigIssues({
1734
1734
  methodContext: methodContext,
1735
1735
  notificationUser: notificationUser,
1736
1736
  notificationTemplateType: notificationTemplateType
1737
- })).concat(_to_consumable_array$9((_disabledMethodsByBox_get = disabledMethodsByBox.get(method)) !== null && _disabledMethodsByBox_get !== void 0 ? _disabledMethodsByBox_get : []));
1737
+ })).concat(_to_consumable_array$a((_disabledMethodsByBox_get = disabledMethodsByBox.get(method)) !== null && _disabledMethodsByBox_get !== void 0 ? _disabledMethodsByBox_get : []));
1738
1738
  // keep any previously resolved probe visible unless the provider supplies a newer one
1739
1739
  probe = previousProbe;
1740
1740
  if (!(healthCheckService && target != null && providerHasSomethingToReport)) return [
@@ -1763,7 +1763,7 @@ function _ts_generator$n(thisArg, body) {
1763
1763
  ];
1764
1764
  case 2:
1765
1765
  response = _state.sent();
1766
- (_issues = issues).push.apply(_issues, _to_consumable_array$9(verifyPendingProbesOnly ? response.issues.filter(function(x) {
1766
+ (_issues = issues).push.apply(_issues, _to_consumable_array$a(verifyPendingProbesOnly ? response.issues.filter(function(x) {
1767
1767
  return isProbeIssueCode(x.c);
1768
1768
  }) : response.issues));
1769
1769
  if (response.probe) {
@@ -2331,13 +2331,13 @@ function _ts_generator$n(thisArg, body) {
2331
2331
  return PROBE_NOTIFICATION_HEALTH_CHECK_ISSUE_CODES.has(code);
2332
2332
  }
2333
2333
 
2334
- function _array_like_to_array$b(arr, len) {
2334
+ function _array_like_to_array$c(arr, len) {
2335
2335
  if (len == null || len > arr.length) len = arr.length;
2336
2336
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2337
2337
  return arr2;
2338
2338
  }
2339
- function _array_without_holes$8(arr) {
2340
- if (Array.isArray(arr)) return _array_like_to_array$b(arr);
2339
+ function _array_without_holes$9(arr) {
2340
+ if (Array.isArray(arr)) return _array_like_to_array$c(arr);
2341
2341
  }
2342
2342
  function asyncGeneratorStep$m(gen, resolve, reject, _next, _throw, key, arg) {
2343
2343
  try {
@@ -2381,10 +2381,10 @@ function _define_property$k(obj, key, value) {
2381
2381
  }
2382
2382
  return obj;
2383
2383
  }
2384
- function _iterable_to_array$8(iter) {
2384
+ function _iterable_to_array$9(iter) {
2385
2385
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
2386
2386
  }
2387
- function _non_iterable_spread$8() {
2387
+ function _non_iterable_spread$9() {
2388
2388
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2389
2389
  }
2390
2390
  function _object_spread$i(target) {
@@ -2421,16 +2421,16 @@ function _object_spread_props$g(target, source) {
2421
2421
  }
2422
2422
  return target;
2423
2423
  }
2424
- function _to_consumable_array$8(arr) {
2425
- return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$8();
2424
+ function _to_consumable_array$9(arr) {
2425
+ return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$9();
2426
2426
  }
2427
- function _unsupported_iterable_to_array$b(o, minLen) {
2427
+ function _unsupported_iterable_to_array$c(o, minLen) {
2428
2428
  if (!o) return;
2429
- if (typeof o === "string") return _array_like_to_array$b(o, minLen);
2429
+ if (typeof o === "string") return _array_like_to_array$c(o, minLen);
2430
2430
  var n = Object.prototype.toString.call(o).slice(8, -1);
2431
2431
  if (n === "Object" && o.constructor) n = o.constructor.name;
2432
2432
  if (n === "Map" || n === "Set") return Array.from(n);
2433
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
2433
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
2434
2434
  }
2435
2435
  function _ts_generator$m(thisArg, body) {
2436
2436
  var f, y, t, _ = {
@@ -2600,7 +2600,7 @@ function _ts_generator$m(thisArg, body) {
2600
2600
  globalRecipients = initialGlobalRecipients.map(function(x) {
2601
2601
  return _object_spread$i({}, x, effectiveNotificationBoxRecipientTemplateConfig(x));
2602
2602
  });
2603
- explicitAndGlobalRecipients = _to_consumable_array$8(explicitRecipients).concat(_to_consumable_array$8(globalRecipients));
2603
+ explicitAndGlobalRecipients = _to_consumable_array$9(explicitRecipients).concat(_to_consumable_array$9(globalRecipients));
2604
2604
  allBoxRecipientConfigs = canSendToBoxRecipients && notificationBox ? notificationBox.r : [];
2605
2605
  recipientUids = new Set();
2606
2606
  relevantBoxRecipientConfigs = [];
@@ -2701,7 +2701,7 @@ function _ts_generator$m(thisArg, body) {
2701
2701
  });
2702
2702
  return [
2703
2703
  4,
2704
- Promise.all(_to_consumable_array$8(recipientUids).map(function(uid) {
2704
+ Promise.all(_to_consumable_array$9(recipientUids).map(function(uid) {
2705
2705
  return authService.userContext(uid).loadDetails().then(function(details) {
2706
2706
  return [
2707
2707
  uid,
@@ -2986,7 +2986,7 @@ function _ts_generator$m(thisArg, body) {
2986
2986
  // flag as removed in the NotificationUser details if not already flagged as such
2987
2987
  if (currentNotificationUserBoxIndexExists && currentNotificationUserBoxConfig.rm !== true) {
2988
2988
  var _currentNotificationUserBoxConfig_c;
2989
- updatedBc = _to_consumable_array$8(notificationUser.bc);
2989
+ updatedBc = _to_consumable_array$9(notificationUser.bc);
2990
2990
  updatedBc[currentNotificationUserBoxIndex] = _object_spread_props$g(_object_spread$i({}, currentNotificationUserBoxConfig), {
2991
2991
  nb: notificationBoxId,
2992
2992
  c: (_currentNotificationUserBoxConfig_c = currentNotificationUserBoxConfig.c) !== null && _currentNotificationUserBoxConfig_c !== void 0 ? _currentNotificationUserBoxConfig_c : {},
@@ -3032,7 +3032,7 @@ function _ts_generator$m(thisArg, body) {
3032
3032
  nb: notificationBoxId,
3033
3033
  rm: false // remove/clear the removed flag
3034
3034
  }), updateWithNotificationBoxRecipient);
3035
- updatedBc = _to_consumable_array$8(notificationUser.bc);
3035
+ updatedBc = _to_consumable_array$9(notificationUser.bc);
3036
3036
  if (currentNotificationUserBoxIndexExists) {
3037
3037
  updatedBc[currentNotificationUserBoxIndex] = updatedNotificationUserBoxEntry;
3038
3038
  } else {
@@ -3090,7 +3090,7 @@ function _ts_generator$m(thisArg, body) {
3090
3090
  return result;
3091
3091
  }
3092
3092
 
3093
- function _array_like_to_array$a(arr, len) {
3093
+ function _array_like_to_array$b(arr, len) {
3094
3094
  if (len == null || len > arr.length) len = arr.length;
3095
3095
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
3096
3096
  return arr2;
@@ -3098,8 +3098,8 @@ function _array_like_to_array$a(arr, len) {
3098
3098
  function _array_with_holes$4(arr) {
3099
3099
  if (Array.isArray(arr)) return arr;
3100
3100
  }
3101
- function _array_without_holes$7(arr) {
3102
- if (Array.isArray(arr)) return _array_like_to_array$a(arr);
3101
+ function _array_without_holes$8(arr) {
3102
+ if (Array.isArray(arr)) return _array_like_to_array$b(arr);
3103
3103
  }
3104
3104
  function asyncGeneratorStep$l(gen, resolve, reject, _next, _throw, key, arg) {
3105
3105
  try {
@@ -3130,7 +3130,7 @@ function _async_to_generator$l(fn) {
3130
3130
  });
3131
3131
  };
3132
3132
  }
3133
- function _class_call_check$l(instance, Constructor) {
3133
+ function _class_call_check$n(instance, Constructor) {
3134
3134
  if (!(instance instanceof Constructor)) {
3135
3135
  throw new TypeError("Cannot call a class as a function");
3136
3136
  }
@@ -3148,7 +3148,7 @@ function _define_property$j(obj, key, value) {
3148
3148
  }
3149
3149
  return obj;
3150
3150
  }
3151
- function _iterable_to_array$7(iter) {
3151
+ function _iterable_to_array$8(iter) {
3152
3152
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3153
3153
  }
3154
3154
  function _iterable_to_array_limit$4(arr, i) {
@@ -3178,7 +3178,7 @@ function _iterable_to_array_limit$4(arr, i) {
3178
3178
  function _non_iterable_rest$4() {
3179
3179
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3180
3180
  }
3181
- function _non_iterable_spread$7() {
3181
+ function _non_iterable_spread$8() {
3182
3182
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3183
3183
  }
3184
3184
  function _object_spread$h(target) {
@@ -3216,18 +3216,18 @@ function _object_spread_props$f(target, source) {
3216
3216
  return target;
3217
3217
  }
3218
3218
  function _sliced_to_array$4(arr, i) {
3219
- return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$4();
3219
+ return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$4();
3220
3220
  }
3221
- function _to_consumable_array$7(arr) {
3222
- return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$7();
3221
+ function _to_consumable_array$8(arr) {
3222
+ return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$8();
3223
3223
  }
3224
- function _unsupported_iterable_to_array$a(o, minLen) {
3224
+ function _unsupported_iterable_to_array$b(o, minLen) {
3225
3225
  if (!o) return;
3226
- if (typeof o === "string") return _array_like_to_array$a(o, minLen);
3226
+ if (typeof o === "string") return _array_like_to_array$b(o, minLen);
3227
3227
  var n = Object.prototype.toString.call(o).slice(8, -1);
3228
3228
  if (n === "Object" && o.constructor) n = o.constructor.name;
3229
3229
  if (n === "Map" || n === "Set") return Array.from(n);
3230
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
3230
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
3231
3231
  }
3232
3232
  function _ts_generator$l(thisArg, body) {
3233
3233
  var f, y, t, _ = {
@@ -3353,7 +3353,7 @@ function _ts_generator$l(thisArg, body) {
3353
3353
  *
3354
3354
  * @see {@link notificationServerActions} for the concrete implementation factory.
3355
3355
  */ var NotificationServerActions = function NotificationServerActions() {
3356
- _class_call_check$l(this, NotificationServerActions);
3356
+ _class_call_check$n(this, NotificationServerActions);
3357
3357
  };
3358
3358
  /**
3359
3359
  * Creates a concrete {@link NotificationServerActions} implementation by wiring each action
@@ -3691,7 +3691,7 @@ var MAX_NOTIFICATION_BOXES_TO_UPDATE_PER_BATCH = 50;
3691
3691
  recipientHasChange = !areEqualPOJOValues(nextRecipient, recipient);
3692
3692
  // only update recipients if the next/new recipient is not equal to the existing one
3693
3693
  if (recipientHasChange) {
3694
- r = _to_consumable_array$7(notificationBox.r);
3694
+ r = _to_consumable_array$8(notificationBox.r);
3695
3695
  r[recipientIndex] = nextRecipient;
3696
3696
  nextRecipientsMap.set(nb, nextRecipient);
3697
3697
  } else {
@@ -4320,7 +4320,7 @@ var MAX_NOTIFICATION_BOXES_TO_UPDATE_PER_BATCH = 50;
4320
4320
  targetRecipient = notificationBox.r[targetRecipientIndex];
4321
4321
  if (remove) {
4322
4322
  if (targetRecipientIndex !== -1) {
4323
- r = _to_consumable_array$7(notificationBox.r); // remove if they exist.
4323
+ r = _to_consumable_array$8(notificationBox.r); // remove if they exist.
4324
4324
  delete r[targetRecipientIndex];
4325
4325
  }
4326
4326
  } else {
@@ -4333,7 +4333,7 @@ var MAX_NOTIFICATION_BOXES_TO_UPDATE_PER_BATCH = 50;
4333
4333
  i: (_ref1 = targetRecipient === null || targetRecipient === void 0 ? void 0 : targetRecipient.i) !== null && _ref1 !== void 0 ? _ref1 : UNSET_INDEX_NUMBER,
4334
4334
  c: c
4335
4335
  }, updateNotificationRecipient(targetRecipient !== null && targetRecipient !== void 0 ? targetRecipient : {}, params));
4336
- r = _to_consumable_array$7(notificationBox.r);
4336
+ r = _to_consumable_array$8(notificationBox.r);
4337
4337
  if (targetRecipient) {
4338
4338
  nextRecipient.i = targetRecipient.i;
4339
4339
  nextRecipient = mergeNotificationBoxRecipients(targetRecipient, nextRecipient);
@@ -4688,7 +4688,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
4688
4688
  notificationTemplate.at = 0; // reset checkpoint attempt/delay count
4689
4689
  }
4690
4690
  // add the checkpoint to the notification
4691
- notificationTemplate.tpr = _to_consumable_array$7(removeFromCompletionsArrayWithTaskResult(notification.tpr, handleTaskResult)).concat(_to_consumable_array$7(asArray(completion)));
4691
+ notificationTemplate.tpr = _to_consumable_array$8(removeFromCompletionsArrayWithTaskResult(notification.tpr, handleTaskResult)).concat(_to_consumable_array$8(asArray(completion)));
4692
4692
  // calculate the updated notification item
4693
4693
  notificationTemplate.n = _object_spread_props$f(_object_spread$h({}, notification.n), {
4694
4694
  d: _object_spread$h({}, notification.n.d, updateMetadata ? filterOnlyUndefinedValues(updateMetadata) : undefined // ignore any undefined values
@@ -5037,7 +5037,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
5037
5037
  case 11:
5038
5038
  if (sendEmailsResult != null) {
5039
5039
  success1 = sendEmailsResult.success, failed = sendEmailsResult.failed;
5040
- esr = success1.length ? _to_consumable_array$7(currentEsr).concat(_to_consumable_array$7(success1.map(function(x) {
5040
+ esr = success1.length ? _to_consumable_array$8(currentEsr).concat(_to_consumable_array$8(success1.map(function(x) {
5041
5041
  return x.toLowerCase();
5042
5042
  }))) : undefined;
5043
5043
  if (failed.length > 0) {
@@ -5154,7 +5154,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
5154
5154
  case 22:
5155
5155
  if (sendTextsResult != null) {
5156
5156
  success2 = sendTextsResult.success, failed1 = sendTextsResult.failed;
5157
- tsr = success2.length ? _to_consumable_array$7(currentTsr).concat(_to_consumable_array$7(success2)) : undefined;
5157
+ tsr = success2.length ? _to_consumable_array$8(currentTsr).concat(_to_consumable_array$8(success2)) : undefined;
5158
5158
  if (failed1.length > 0) {
5159
5159
  ts = NotificationSendState.SENT_PARTIAL;
5160
5160
  } else {
@@ -6002,7 +6002,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
6002
6002
  ];
6003
6003
  case 1:
6004
6004
  notificationDocuments = _state.sent();
6005
- notificationDocumentsGroupedByNotificationBox = _to_consumable_array$7(makeValuesGroupMap(notificationDocuments, function(x) {
6005
+ notificationDocumentsGroupedByNotificationBox = _to_consumable_array$8(makeValuesGroupMap(notificationDocuments, function(x) {
6006
6006
  return x.parent.id;
6007
6007
  }).values());
6008
6008
  return [
@@ -6058,7 +6058,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
6058
6058
  }
6059
6059
  }
6060
6060
  }
6061
- pairsGroupedByWeek = _to_consumable_array$7(makeValuesGroupMap(normalPairsWithDataAndMarkedDeleted, function(x) {
6061
+ pairsGroupedByWeek = _to_consumable_array$8(makeValuesGroupMap(normalPairsWithDataAndMarkedDeleted, function(x) {
6062
6062
  return yearWeekCode(x.data.sat);
6063
6063
  }).entries());
6064
6064
  // batch incase there are a lot of new notifications to move to week
@@ -6072,7 +6072,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
6072
6072
  });
6073
6073
  });
6074
6074
  // group logged events by ISO day string (derived from sat) for archival into NotificationLoggedEventDay.
6075
- pairsGroupedByLoggedEventDay = _to_consumable_array$7(makeValuesGroupMap(loggedEventPairsWithDataAndMarkedDeleted, function(x) {
6075
+ pairsGroupedByLoggedEventDay = _to_consumable_array$8(makeValuesGroupMap(loggedEventPairsWithDataAndMarkedDeleted, function(x) {
6076
6076
  return notificationLoggedEventDayId(x.data.sat);
6077
6077
  }).entries());
6078
6078
  // batch incase there are a lot of new logged events to move to a single day
@@ -6115,7 +6115,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
6115
6115
  var shouldSaveToNotificationWeek = shouldSaveNotificationToNotificationWeek(data);
6116
6116
  return shouldSaveToNotificationWeek ? data.n : undefined;
6117
6117
  }));
6118
- n = _to_consumable_array$7((_ref = notificationWeek === null || notificationWeek === void 0 ? void 0 : notificationWeek.n) !== null && _ref !== void 0 ? _ref : []).concat(_to_consumable_array$7(newItems));
6118
+ n = _to_consumable_array$8((_ref = notificationWeek === null || notificationWeek === void 0 ? void 0 : notificationWeek.n) !== null && _ref !== void 0 ? _ref : []).concat(_to_consumable_array$8(newItems));
6119
6119
  if (!notificationWeek) return [
6120
6120
  3,
6121
6121
  3
@@ -6209,7 +6209,7 @@ var NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS = hoursToMilliseconds(NOTIFICATION_T
6209
6209
  });
6210
6210
  return [
6211
6211
  4,
6212
- pagedItems.writeAllItemsInTransaction(transaction, _to_consumable_array$7(existingItems).concat(_to_consumable_array$7(newItems)))
6212
+ pagedItems.writeAllItemsInTransaction(transaction, _to_consumable_array$8(existingItems).concat(_to_consumable_array$8(newItems)))
6213
6213
  ];
6214
6214
  case 2:
6215
6215
  _state.sent();
@@ -6511,7 +6511,7 @@ function _async_to_generator$k(fn) {
6511
6511
  });
6512
6512
  };
6513
6513
  }
6514
- function _class_call_check$k(instance, Constructor) {
6514
+ function _class_call_check$m(instance, Constructor) {
6515
6515
  if (!(instance instanceof Constructor)) {
6516
6516
  throw new TypeError("Cannot call a class as a function");
6517
6517
  }
@@ -6679,7 +6679,7 @@ var MAKE_TEMPLATE_FOR_NOTIFICATION_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_
6679
6679
  *
6680
6680
  * @see {@link notificationInitServerActions} for the concrete implementation factory.
6681
6681
  */ var NotificationInitServerActions = function NotificationInitServerActions() {
6682
- _class_call_check$k(this, NotificationInitServerActions);
6682
+ _class_call_check$m(this, NotificationInitServerActions);
6683
6683
  };
6684
6684
  /**
6685
6685
  * Creates a concrete {@link NotificationInitServerActions} implementation by wiring each
@@ -7203,13 +7203,13 @@ var MAKE_TEMPLATE_FOR_NOTIFICATION_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_
7203
7203
  });
7204
7204
  }
7205
7205
 
7206
- function _type_of$4(obj) {
7206
+ function _type_of$5(obj) {
7207
7207
  "@swc/helpers - typeof";
7208
7208
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
7209
7209
  }
7210
7210
  function __decorate(decorators, target, key, desc) {
7211
7211
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7212
- if ((typeof Reflect === "undefined" ? "undefined" : _type_of$4(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7212
+ if ((typeof Reflect === "undefined" ? "undefined" : _type_of$5(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7213
7213
  else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7214
7214
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7215
7215
  }
@@ -7268,12 +7268,12 @@ function _async_to_generator$j(fn) {
7268
7268
  });
7269
7269
  };
7270
7270
  }
7271
- function _class_call_check$j(instance, Constructor) {
7271
+ function _class_call_check$l(instance, Constructor) {
7272
7272
  if (!(instance instanceof Constructor)) {
7273
7273
  throw new TypeError("Cannot call a class as a function");
7274
7274
  }
7275
7275
  }
7276
- function _defineProperties$5(target, props) {
7276
+ function _defineProperties$6(target, props) {
7277
7277
  for(var i = 0; i < props.length; i++){
7278
7278
  var descriptor = props[i];
7279
7279
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7282,8 +7282,8 @@ function _defineProperties$5(target, props) {
7282
7282
  Object.defineProperty(target, descriptor.key, descriptor);
7283
7283
  }
7284
7284
  }
7285
- function _create_class$5(Constructor, protoProps, staticProps) {
7286
- if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
7285
+ function _create_class$6(Constructor, protoProps, staticProps) {
7286
+ if (protoProps) _defineProperties$6(Constructor.prototype, protoProps);
7287
7287
  return Constructor;
7288
7288
  }
7289
7289
  function _define_property$h(obj, key, value) {
@@ -7413,7 +7413,7 @@ function _ts_generator$j(thisArg, body) {
7413
7413
  */ var NotificationTemplateService = /*#__PURE__*/ function() {
7414
7414
  function NotificationTemplateService(_inputDefaults, _inputConfigs) {
7415
7415
  var _this = this;
7416
- _class_call_check$j(this, NotificationTemplateService);
7416
+ _class_call_check$l(this, NotificationTemplateService);
7417
7417
  _define_property$h(this, "_defaults", void 0);
7418
7418
  _define_property$h(this, "_config", void 0);
7419
7419
  this._defaults = _inputDefaults !== null && _inputDefaults !== void 0 ? _inputDefaults : {};
@@ -7424,7 +7424,7 @@ function _ts_generator$j(thisArg, body) {
7424
7424
  });
7425
7425
  }
7426
7426
  }
7427
- _create_class$5(NotificationTemplateService, [
7427
+ _create_class$6(NotificationTemplateService, [
7428
7428
  {
7429
7429
  /**
7430
7430
  * Returns the default factory and optional type-specific config for the given template type.
@@ -7828,7 +7828,7 @@ function _ts_generator$i(thisArg, body) {
7828
7828
  })();
7829
7829
  }
7830
7830
 
7831
- function _class_call_check$i(instance, Constructor) {
7831
+ function _class_call_check$k(instance, Constructor) {
7832
7832
  if (!(instance instanceof Constructor)) {
7833
7833
  throw new TypeError("Cannot call a class as a function");
7834
7834
  }
@@ -7842,11 +7842,11 @@ function _class_call_check$i(instance, Constructor) {
7842
7842
  * Used by {@link NotificationServerActions} during the `sendNotification` flow to build
7843
7843
  * and dispatch messages to all applicable channels.
7844
7844
  */ var NotificationSendService = function NotificationSendService() {
7845
- _class_call_check$i(this, NotificationSendService);
7845
+ _class_call_check$k(this, NotificationSendService);
7846
7846
  }
7847
7847
  ;
7848
7848
 
7849
- function _class_call_check$h(instance, Constructor) {
7849
+ function _class_call_check$j(instance, Constructor) {
7850
7850
  if (!(instance instanceof Constructor)) {
7851
7851
  throw new TypeError("Cannot call a class as a function");
7852
7852
  }
@@ -7860,7 +7860,7 @@ function _class_call_check$h(instance, Constructor) {
7860
7860
  *
7861
7861
  * @see {@link notificationTaskService} for the default implementation.
7862
7862
  */ var NotificationTaskService = function NotificationTaskService() {
7863
- _class_call_check$h(this, NotificationTaskService);
7863
+ _class_call_check$j(this, NotificationTaskService);
7864
7864
  }
7865
7865
  ;
7866
7866
 
@@ -7893,12 +7893,12 @@ function _async_to_generator$h(fn) {
7893
7893
  });
7894
7894
  };
7895
7895
  }
7896
- function _class_call_check$g(instance, Constructor) {
7896
+ function _class_call_check$i(instance, Constructor) {
7897
7897
  if (!(instance instanceof Constructor)) {
7898
7898
  throw new TypeError("Cannot call a class as a function");
7899
7899
  }
7900
7900
  }
7901
- function _defineProperties$4(target, props) {
7901
+ function _defineProperties$5(target, props) {
7902
7902
  for(var i = 0; i < props.length; i++){
7903
7903
  var descriptor = props[i];
7904
7904
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7907,8 +7907,8 @@ function _defineProperties$4(target, props) {
7907
7907
  Object.defineProperty(target, descriptor.key, descriptor);
7908
7908
  }
7909
7909
  }
7910
- function _create_class$4(Constructor, protoProps, staticProps) {
7911
- if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
7910
+ function _create_class$5(Constructor, protoProps, staticProps) {
7911
+ if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
7912
7912
  return Constructor;
7913
7913
  }
7914
7914
  function _define_property$f(obj, key, value) {
@@ -8043,7 +8043,7 @@ function _ts_generator$h(thisArg, body) {
8043
8043
  *
8044
8044
  * @see MutableNotificationExpediteService is the default implementation.
8045
8045
  */ var NotificationExpediteService = function NotificationExpediteService() {
8046
- _class_call_check$g(this, NotificationExpediteService);
8046
+ _class_call_check$i(this, NotificationExpediteService);
8047
8047
  };
8048
8048
  /**
8049
8049
  * Creates a new NotificationExpediteServiceInstance with the input NotificationExpediteService.
@@ -8100,10 +8100,10 @@ function _ts_generator$h(thisArg, body) {
8100
8100
  * It is best provided by provideMutableNotificationExpediteService() as a global provider.
8101
8101
  */ var MutableNotificationExpediteService = /*#__PURE__*/ function() {
8102
8102
  function MutableNotificationExpediteService() {
8103
- _class_call_check$g(this, MutableNotificationExpediteService);
8103
+ _class_call_check$i(this, MutableNotificationExpediteService);
8104
8104
  _define_property$f(this, "_notificationServerActions", void 0);
8105
8105
  }
8106
- _create_class$4(MutableNotificationExpediteService, [
8106
+ _create_class$5(MutableNotificationExpediteService, [
8107
8107
  {
8108
8108
  /**
8109
8109
  * Returns the configured NotificationServerActions instance.
@@ -8190,15 +8190,15 @@ MutableNotificationExpediteService = __decorate([
8190
8190
  ];
8191
8191
  }
8192
8192
 
8193
- function _array_like_to_array$9(arr, len) {
8193
+ function _array_like_to_array$a(arr, len) {
8194
8194
  if (len == null || len > arr.length) len = arr.length;
8195
8195
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8196
8196
  return arr2;
8197
8197
  }
8198
- function _array_without_holes$6(arr) {
8199
- if (Array.isArray(arr)) return _array_like_to_array$9(arr);
8198
+ function _array_without_holes$7(arr) {
8199
+ if (Array.isArray(arr)) return _array_like_to_array$a(arr);
8200
8200
  }
8201
- function _class_call_check$f(instance, Constructor) {
8201
+ function _class_call_check$h(instance, Constructor) {
8202
8202
  if (!(instance instanceof Constructor)) {
8203
8203
  throw new TypeError("Cannot call a class as a function");
8204
8204
  }
@@ -8216,10 +8216,10 @@ function _define_property$e(obj, key, value) {
8216
8216
  }
8217
8217
  return obj;
8218
8218
  }
8219
- function _iterable_to_array$6(iter) {
8219
+ function _iterable_to_array$7(iter) {
8220
8220
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
8221
8221
  }
8222
- function _non_iterable_spread$6() {
8222
+ function _non_iterable_spread$7() {
8223
8223
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8224
8224
  }
8225
8225
  function _object_spread$d(target) {
@@ -8256,16 +8256,16 @@ function _object_spread_props$c(target, source) {
8256
8256
  }
8257
8257
  return target;
8258
8258
  }
8259
- function _to_consumable_array$6(arr) {
8260
- return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$6();
8259
+ function _to_consumable_array$7(arr) {
8260
+ return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$7();
8261
8261
  }
8262
- function _unsupported_iterable_to_array$9(o, minLen) {
8262
+ function _unsupported_iterable_to_array$a(o, minLen) {
8263
8263
  if (!o) return;
8264
- if (typeof o === "string") return _array_like_to_array$9(o, minLen);
8264
+ if (typeof o === "string") return _array_like_to_array$a(o, minLen);
8265
8265
  var n = Object.prototype.toString.call(o).slice(8, -1);
8266
8266
  if (n === "Object" && o.constructor) n = o.constructor.name;
8267
8267
  if (n === "Map" || n === "Set") return Array.from(n);
8268
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
8268
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
8269
8269
  }
8270
8270
  // MARK: Provider Factories
8271
8271
  /**
@@ -8327,14 +8327,14 @@ function notificationServerActionsContextFactory(context, notificationTemplateSe
8327
8327
  return {
8328
8328
  imports: [
8329
8329
  ConfigModule
8330
- ].concat(_to_consumable_array$6(dependencyModuleImport), _to_consumable_array$6(imports !== null && imports !== void 0 ? imports : [])),
8330
+ ].concat(_to_consumable_array$7(dependencyModuleImport), _to_consumable_array$7(imports !== null && imports !== void 0 ? imports : [])),
8331
8331
  exports: [
8332
8332
  NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN,
8333
8333
  NotificationExpediteService,
8334
8334
  NotificationTemplateService,
8335
8335
  NotificationServerActions,
8336
8336
  NotificationInitServerActions
8337
- ].concat(_to_consumable_array$6(exports !== null && exports !== void 0 ? exports : [])),
8337
+ ].concat(_to_consumable_array$7(exports !== null && exports !== void 0 ? exports : [])),
8338
8338
  providers: [
8339
8339
  {
8340
8340
  provide: NotificationExpediteService,
@@ -8370,13 +8370,13 @@ function notificationServerActionsContextFactory(context, notificationTemplateSe
8370
8370
  NOTIFICATION_INIT_SERVER_ACTIONS_CONTEXT_CONFIG_TOKEN
8371
8371
  ]
8372
8372
  }
8373
- ].concat(_to_consumable_array$6(providers !== null && providers !== void 0 ? providers : []))
8373
+ ].concat(_to_consumable_array$7(providers !== null && providers !== void 0 ? providers : []))
8374
8374
  };
8375
8375
  }
8376
8376
  /**
8377
8377
  * Abstract module that should be extended when using appNotificationModuleMetadata.
8378
8378
  */ var AbstractAppNotificationModule = function AbstractAppNotificationModule(mutableNotificationExpediteService, actions) {
8379
- _class_call_check$f(this, AbstractAppNotificationModule);
8379
+ _class_call_check$h(this, AbstractAppNotificationModule);
8380
8380
  mutableNotificationExpediteService.setNotificationServerActions(actions);
8381
8381
  };
8382
8382
  AbstractAppNotificationModule = __decorate([
@@ -8387,7 +8387,7 @@ AbstractAppNotificationModule = __decorate([
8387
8387
  /**
8388
8388
  * Pre-configured global provider for MutableNotificationExpediteService/NotificationExpediteService.
8389
8389
  */ var GlobalNotificationModule = function GlobalNotificationModule() {
8390
- _class_call_check$f(this, GlobalNotificationModule);
8390
+ _class_call_check$h(this, GlobalNotificationModule);
8391
8391
  };
8392
8392
  GlobalNotificationModule = __decorate([
8393
8393
  Global(),
@@ -8397,7 +8397,7 @@ GlobalNotificationModule = __decorate([
8397
8397
  })
8398
8398
  ], GlobalNotificationModule);
8399
8399
 
8400
- function _array_like_to_array$8(arr, len) {
8400
+ function _array_like_to_array$9(arr, len) {
8401
8401
  if (len == null || len > arr.length) len = arr.length;
8402
8402
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8403
8403
  return arr2;
@@ -8405,8 +8405,8 @@ function _array_like_to_array$8(arr, len) {
8405
8405
  function _array_with_holes$3(arr) {
8406
8406
  if (Array.isArray(arr)) return arr;
8407
8407
  }
8408
- function _array_without_holes$5(arr) {
8409
- if (Array.isArray(arr)) return _array_like_to_array$8(arr);
8408
+ function _array_without_holes$6(arr) {
8409
+ if (Array.isArray(arr)) return _array_like_to_array$9(arr);
8410
8410
  }
8411
8411
  function asyncGeneratorStep$g(gen, resolve, reject, _next, _throw, key, arg) {
8412
8412
  try {
@@ -8450,7 +8450,7 @@ function _define_property$d(obj, key, value) {
8450
8450
  }
8451
8451
  return obj;
8452
8452
  }
8453
- function _iterable_to_array$5(iter) {
8453
+ function _iterable_to_array$6(iter) {
8454
8454
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
8455
8455
  }
8456
8456
  function _iterable_to_array_limit$3(arr, i) {
@@ -8480,7 +8480,7 @@ function _iterable_to_array_limit$3(arr, i) {
8480
8480
  function _non_iterable_rest$3() {
8481
8481
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8482
8482
  }
8483
- function _non_iterable_spread$5() {
8483
+ function _non_iterable_spread$6() {
8484
8484
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8485
8485
  }
8486
8486
  function _object_spread$c(target) {
@@ -8518,18 +8518,18 @@ function _object_spread_props$b(target, source) {
8518
8518
  return target;
8519
8519
  }
8520
8520
  function _sliced_to_array$3(arr, i) {
8521
- return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$3();
8521
+ return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$3();
8522
8522
  }
8523
- function _to_consumable_array$5(arr) {
8524
- return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$8(arr) || _non_iterable_spread$5();
8523
+ function _to_consumable_array$6(arr) {
8524
+ return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$6();
8525
8525
  }
8526
- function _unsupported_iterable_to_array$8(o, minLen) {
8526
+ function _unsupported_iterable_to_array$9(o, minLen) {
8527
8527
  if (!o) return;
8528
- if (typeof o === "string") return _array_like_to_array$8(o, minLen);
8528
+ if (typeof o === "string") return _array_like_to_array$9(o, minLen);
8529
8529
  var n = Object.prototype.toString.call(o).slice(8, -1);
8530
8530
  if (n === "Object" && o.constructor) n = o.constructor.name;
8531
8531
  if (n === "Map" || n === "Set") return Array.from(n);
8532
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
8532
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
8533
8533
  }
8534
8534
  function _ts_generator$g(thisArg, body) {
8535
8535
  var f, y, t, _ = {
@@ -8721,7 +8721,7 @@ function _ts_generator$g(thisArg, body) {
8721
8721
  });
8722
8722
  if (messagesToSend.length > 0) {
8723
8723
  // add the new items to existing n, then keep the last 1000
8724
- sortedN = _to_consumable_array$5(existingMessages).concat(_to_consumable_array$5(messagesToSend.map(function(x) {
8724
+ sortedN = _to_consumable_array$6(existingMessages).concat(_to_consumable_array$6(messagesToSend.map(function(x) {
8725
8725
  var message = '';
8726
8726
  if (x.content.openingMessage) {
8727
8727
  message = x.content.openingMessage;
@@ -9244,15 +9244,15 @@ function _ts_generator$e(thisArg, body) {
9244
9244
  };
9245
9245
  }
9246
9246
 
9247
- function _array_like_to_array$7(arr, len) {
9247
+ function _array_like_to_array$8(arr, len) {
9248
9248
  if (len == null || len > arr.length) len = arr.length;
9249
9249
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
9250
9250
  return arr2;
9251
9251
  }
9252
- function _array_without_holes$4(arr) {
9253
- if (Array.isArray(arr)) return _array_like_to_array$7(arr);
9252
+ function _array_without_holes$5(arr) {
9253
+ if (Array.isArray(arr)) return _array_like_to_array$8(arr);
9254
9254
  }
9255
- function _assert_this_initialized$1(self) {
9255
+ function _assert_this_initialized$2(self) {
9256
9256
  if (self === void 0) {
9257
9257
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
9258
9258
  }
@@ -9287,11 +9287,11 @@ function _async_to_generator$d(fn) {
9287
9287
  });
9288
9288
  };
9289
9289
  }
9290
- function _call_super$1(_this, derived, args) {
9291
- derived = _get_prototype_of$1(derived);
9292
- return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
9290
+ function _call_super$2(_this, derived, args) {
9291
+ derived = _get_prototype_of$2(derived);
9292
+ return _possible_constructor_return$2(_this, _is_native_reflect_construct$2() ? Reflect.construct(derived, args || [], _get_prototype_of$2(_this).constructor) : derived.apply(_this, args));
9293
9293
  }
9294
- function _class_call_check$e(instance, Constructor) {
9294
+ function _class_call_check$g(instance, Constructor) {
9295
9295
  if (!(instance instanceof Constructor)) {
9296
9296
  throw new TypeError("Cannot call a class as a function");
9297
9297
  }
@@ -9309,13 +9309,13 @@ function _define_property$c(obj, key, value) {
9309
9309
  }
9310
9310
  return obj;
9311
9311
  }
9312
- function _get_prototype_of$1(o) {
9313
- _get_prototype_of$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
9312
+ function _get_prototype_of$2(o) {
9313
+ _get_prototype_of$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
9314
9314
  return o.__proto__ || Object.getPrototypeOf(o);
9315
9315
  };
9316
- return _get_prototype_of$1(o);
9316
+ return _get_prototype_of$2(o);
9317
9317
  }
9318
- function _inherits$1(subClass, superClass) {
9318
+ function _inherits$2(subClass, superClass) {
9319
9319
  if (typeof superClass !== "function" && superClass !== null) {
9320
9320
  throw new TypeError("Super expression must either be null or a function");
9321
9321
  }
@@ -9326,7 +9326,7 @@ function _inherits$1(subClass, superClass) {
9326
9326
  configurable: true
9327
9327
  }
9328
9328
  });
9329
- if (superClass) _set_prototype_of$1(subClass, superClass);
9329
+ if (superClass) _set_prototype_of$2(subClass, superClass);
9330
9330
  }
9331
9331
  function _instanceof$2(left, right) {
9332
9332
  "@swc/helpers - instanceof";
@@ -9336,10 +9336,10 @@ function _instanceof$2(left, right) {
9336
9336
  return left instanceof right;
9337
9337
  }
9338
9338
  }
9339
- function _iterable_to_array$4(iter) {
9339
+ function _iterable_to_array$5(iter) {
9340
9340
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9341
9341
  }
9342
- function _non_iterable_spread$4() {
9342
+ function _non_iterable_spread$5() {
9343
9343
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9344
9344
  }
9345
9345
  function _object_spread$b(target) {
@@ -9376,39 +9376,39 @@ function _object_spread_props$a(target, source) {
9376
9376
  }
9377
9377
  return target;
9378
9378
  }
9379
- function _possible_constructor_return$1(self, call) {
9380
- if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
9379
+ function _possible_constructor_return$2(self, call) {
9380
+ if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
9381
9381
  return call;
9382
9382
  }
9383
- return _assert_this_initialized$1(self);
9383
+ return _assert_this_initialized$2(self);
9384
9384
  }
9385
- function _set_prototype_of$1(o, p) {
9386
- _set_prototype_of$1 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9385
+ function _set_prototype_of$2(o, p) {
9386
+ _set_prototype_of$2 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
9387
9387
  o.__proto__ = p;
9388
9388
  return o;
9389
9389
  };
9390
- return _set_prototype_of$1(o, p);
9390
+ return _set_prototype_of$2(o, p);
9391
9391
  }
9392
- function _to_consumable_array$4(arr) {
9393
- return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$4();
9392
+ function _to_consumable_array$5(arr) {
9393
+ return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$8(arr) || _non_iterable_spread$5();
9394
9394
  }
9395
- function _type_of$3(obj) {
9395
+ function _type_of$4(obj) {
9396
9396
  "@swc/helpers - typeof";
9397
9397
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
9398
9398
  }
9399
- function _unsupported_iterable_to_array$7(o, minLen) {
9399
+ function _unsupported_iterable_to_array$8(o, minLen) {
9400
9400
  if (!o) return;
9401
- if (typeof o === "string") return _array_like_to_array$7(o, minLen);
9401
+ if (typeof o === "string") return _array_like_to_array$8(o, minLen);
9402
9402
  var n = Object.prototype.toString.call(o).slice(8, -1);
9403
9403
  if (n === "Object" && o.constructor) n = o.constructor.name;
9404
9404
  if (n === "Map" || n === "Set") return Array.from(n);
9405
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
9405
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
9406
9406
  }
9407
- function _is_native_reflect_construct$1() {
9407
+ function _is_native_reflect_construct$2() {
9408
9408
  try {
9409
9409
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
9410
9410
  } catch (_) {}
9411
- return (_is_native_reflect_construct$1 = function() {
9411
+ return (_is_native_reflect_construct$2 = function() {
9412
9412
  return !!result;
9413
9413
  })();
9414
9414
  }
@@ -9615,7 +9615,7 @@ function _ts_generator$d(thisArg, body) {
9615
9615
  break;
9616
9616
  default:
9617
9617
  {
9618
- sfps = unique(_to_consumable_array$4(removeFromCompletionsArrayWithTaskResult(sfps, subtaskResult)).concat(_to_consumable_array$4(asArray(subtaskCompletion))));
9618
+ sfps = unique(_to_consumable_array$5(removeFromCompletionsArrayWithTaskResult(sfps, subtaskResult)).concat(_to_consumable_array$5(asArray(subtaskCompletion))));
9619
9619
  completedSubtasksSet1 = new Set(sfps);
9620
9620
  incompleteSubtasks = allKnownSubtasks.filter(function(x) {
9621
9621
  return !completedSubtasksSet1.has(x);
@@ -9940,10 +9940,10 @@ function _ts_generator$d(thisArg, body) {
9940
9940
  *
9941
9941
  * This is useful in cases where the underlying models or data that the subtask rely on are deleted (and those models were also required for cleanup) so the task can be marked as complete without attempting cleanup.
9942
9942
  */ var NotificationTaskSubTaskMissingRequiredDataTermination = /*#__PURE__*/ function(BaseError) {
9943
- _inherits$1(NotificationTaskSubTaskMissingRequiredDataTermination, BaseError);
9943
+ _inherits$2(NotificationTaskSubTaskMissingRequiredDataTermination, BaseError);
9944
9944
  function NotificationTaskSubTaskMissingRequiredDataTermination() {
9945
- _class_call_check$e(this, NotificationTaskSubTaskMissingRequiredDataTermination);
9946
- return _call_super$1(this, NotificationTaskSubTaskMissingRequiredDataTermination, arguments);
9945
+ _class_call_check$g(this, NotificationTaskSubTaskMissingRequiredDataTermination);
9946
+ return _call_super$2(this, NotificationTaskSubTaskMissingRequiredDataTermination, arguments);
9947
9947
  }
9948
9948
  return NotificationTaskSubTaskMissingRequiredDataTermination;
9949
9949
  }(BaseError);
@@ -10388,7 +10388,7 @@ function encodeImage(input) {
10388
10388
  })();
10389
10389
  }
10390
10390
 
10391
- function _array_like_to_array$6(arr, len) {
10391
+ function _array_like_to_array$7(arr, len) {
10392
10392
  if (len == null || len > arr.length) len = arr.length;
10393
10393
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
10394
10394
  return arr2;
@@ -10461,15 +10461,15 @@ function _non_iterable_rest$2() {
10461
10461
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10462
10462
  }
10463
10463
  function _sliced_to_array$2(arr, i) {
10464
- return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$2();
10464
+ return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$2();
10465
10465
  }
10466
- function _unsupported_iterable_to_array$6(o, minLen) {
10466
+ function _unsupported_iterable_to_array$7(o, minLen) {
10467
10467
  if (!o) return;
10468
- if (typeof o === "string") return _array_like_to_array$6(o, minLen);
10468
+ if (typeof o === "string") return _array_like_to_array$7(o, minLen);
10469
10469
  var n = Object.prototype.toString.call(o).slice(8, -1);
10470
10470
  if (n === "Object" && o.constructor) n = o.constructor.name;
10471
10471
  if (n === "Map" || n === "Set") return Array.from(n);
10472
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
10472
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
10473
10473
  }
10474
10474
  function _ts_generator$b(thisArg, body) {
10475
10475
  var f, y, t, _ = {
@@ -11301,7 +11301,7 @@ function replaceImageStream(input) {
11301
11301
  });
11302
11302
  }
11303
11303
 
11304
- function _array_like_to_array$5(arr, len) {
11304
+ function _array_like_to_array$6(arr, len) {
11305
11305
  if (len == null || len > arr.length) len = arr.length;
11306
11306
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
11307
11307
  return arr2;
@@ -11338,7 +11338,7 @@ function _async_to_generator$a(fn) {
11338
11338
  });
11339
11339
  };
11340
11340
  }
11341
- function _class_call_check$d(instance, Constructor) {
11341
+ function _class_call_check$f(instance, Constructor) {
11342
11342
  if (!(instance instanceof Constructor)) {
11343
11343
  throw new TypeError("Cannot call a class as a function");
11344
11344
  }
@@ -11426,15 +11426,15 @@ function _object_spread_props$9(target, source) {
11426
11426
  return target;
11427
11427
  }
11428
11428
  function _sliced_to_array$1(arr, i) {
11429
- return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$5(arr, i) || _non_iterable_rest$1();
11429
+ return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$1();
11430
11430
  }
11431
- function _unsupported_iterable_to_array$5(o, minLen) {
11431
+ function _unsupported_iterable_to_array$6(o, minLen) {
11432
11432
  if (!o) return;
11433
- if (typeof o === "string") return _array_like_to_array$5(o, minLen);
11433
+ if (typeof o === "string") return _array_like_to_array$6(o, minLen);
11434
11434
  var n = Object.prototype.toString.call(o).slice(8, -1);
11435
11435
  if (n === "Object" && o.constructor) n = o.constructor.name;
11436
11436
  if (n === "Map" || n === "Set") return Array.from(n);
11437
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
11437
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
11438
11438
  }
11439
11439
  function _ts_generator$a(thisArg, body) {
11440
11440
  var f, y, t, _ = {
@@ -11559,7 +11559,7 @@ function _ts_generator$a(thisArg, body) {
11559
11559
  *
11560
11560
  * @see {@link storageFileServerActions} for the concrete implementation factory.
11561
11561
  */ var StorageFileServerActions = function StorageFileServerActions() {
11562
- _class_call_check$d(this, StorageFileServerActions);
11562
+ _class_call_check$f(this, StorageFileServerActions);
11563
11563
  };
11564
11564
  /**
11565
11565
  * Creates a concrete {@link StorageFileServerActions} implementation by wiring each action
@@ -14138,7 +14138,7 @@ function _async_to_generator$9(fn) {
14138
14138
  });
14139
14139
  };
14140
14140
  }
14141
- function _class_call_check$c(instance, Constructor) {
14141
+ function _class_call_check$e(instance, Constructor) {
14142
14142
  if (!(instance instanceof Constructor)) {
14143
14143
  throw new TypeError("Cannot call a class as a function");
14144
14144
  }
@@ -14303,7 +14303,7 @@ var MAKE_TEMPLATE_FOR_STORAGEFILE_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_R
14303
14303
  *
14304
14304
  * @see {@link storageFileInitServerActions} for the concrete implementation factory.
14305
14305
  */ var StorageFileInitServerActions = function StorageFileInitServerActions() {
14306
- _class_call_check$c(this, StorageFileInitServerActions);
14306
+ _class_call_check$e(this, StorageFileInitServerActions);
14307
14307
  };
14308
14308
  /**
14309
14309
  * Creates a concrete {@link StorageFileInitServerActions} implementation by wiring each
@@ -14644,13 +14644,13 @@ var MAKE_TEMPLATE_FOR_STORAGEFILE_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_R
14644
14644
  });
14645
14645
  }
14646
14646
 
14647
- function _array_like_to_array$4(arr, len) {
14647
+ function _array_like_to_array$5(arr, len) {
14648
14648
  if (len == null || len > arr.length) len = arr.length;
14649
14649
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14650
14650
  return arr2;
14651
14651
  }
14652
- function _array_without_holes$3(arr) {
14653
- if (Array.isArray(arr)) return _array_like_to_array$4(arr);
14652
+ function _array_without_holes$4(arr) {
14653
+ if (Array.isArray(arr)) return _array_like_to_array$5(arr);
14654
14654
  }
14655
14655
  function _define_property$9(obj, key, value) {
14656
14656
  if (key in obj) {
@@ -14665,10 +14665,10 @@ function _define_property$9(obj, key, value) {
14665
14665
  }
14666
14666
  return obj;
14667
14667
  }
14668
- function _iterable_to_array$3(iter) {
14668
+ function _iterable_to_array$4(iter) {
14669
14669
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
14670
14670
  }
14671
- function _non_iterable_spread$3() {
14671
+ function _non_iterable_spread$4() {
14672
14672
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14673
14673
  }
14674
14674
  function _object_spread$8(target) {
@@ -14705,20 +14705,20 @@ function _object_spread_props$7(target, source) {
14705
14705
  }
14706
14706
  return target;
14707
14707
  }
14708
- function _to_consumable_array$3(arr) {
14709
- return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$4(arr) || _non_iterable_spread$3();
14708
+ function _to_consumable_array$4(arr) {
14709
+ return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$4();
14710
14710
  }
14711
- function _type_of$2(obj) {
14711
+ function _type_of$3(obj) {
14712
14712
  "@swc/helpers - typeof";
14713
14713
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
14714
14714
  }
14715
- function _unsupported_iterable_to_array$4(o, minLen) {
14715
+ function _unsupported_iterable_to_array$5(o, minLen) {
14716
14716
  if (!o) return;
14717
- if (typeof o === "string") return _array_like_to_array$4(o, minLen);
14717
+ if (typeof o === "string") return _array_like_to_array$5(o, minLen);
14718
14718
  var n = Object.prototype.toString.call(o).slice(8, -1);
14719
14719
  if (n === "Object" && o.constructor) n = o.constructor.name;
14720
14720
  if (n === "Map" || n === "Set") return Array.from(n);
14721
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
14721
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
14722
14722
  }
14723
14723
  /**
14724
14724
  * Builds the {@link McpToolDetailsBuilder} that customizes the MCP tool description and
@@ -14765,18 +14765,18 @@ function buildUploadPolicyPurposeDescription(policies) {
14765
14765
  }
14766
14766
  function enrichSignedUploadUrlInputSchema(defaultInputSchema, purposeKeys) {
14767
14767
  var result = defaultInputSchema !== null && defaultInputSchema !== void 0 ? defaultInputSchema : undefined;
14768
- if (defaultInputSchema != null && (typeof defaultInputSchema === "undefined" ? "undefined" : _type_of$2(defaultInputSchema)) === 'object') {
14768
+ if (defaultInputSchema != null && (typeof defaultInputSchema === "undefined" ? "undefined" : _type_of$3(defaultInputSchema)) === 'object') {
14769
14769
  var _base_properties;
14770
14770
  var base = defaultInputSchema;
14771
14771
  var purposeProperty = (_base_properties = base.properties) === null || _base_properties === void 0 ? void 0 : _base_properties.purpose;
14772
- if (purposeProperty != null && (typeof purposeProperty === "undefined" ? "undefined" : _type_of$2(purposeProperty)) === 'object') {
14772
+ if (purposeProperty != null && (typeof purposeProperty === "undefined" ? "undefined" : _type_of$3(purposeProperty)) === 'object') {
14773
14773
  var quotedPurposes = purposeKeys.map(function(purpose) {
14774
14774
  return '"'.concat(purpose, '"');
14775
14775
  }).join(', ');
14776
14776
  result = _object_spread_props$7(_object_spread$8({}, base), {
14777
14777
  properties: _object_spread_props$7(_object_spread$8({}, base.properties), {
14778
14778
  purpose: _object_spread_props$7(_object_spread$8({}, purposeProperty), {
14779
- enum: _to_consumable_array$3(purposeKeys),
14779
+ enum: _to_consumable_array$4(purposeKeys),
14780
14780
  description: "One of: ".concat(quotedPurposes, ".")
14781
14781
  })
14782
14782
  })
@@ -14786,7 +14786,7 @@ function enrichSignedUploadUrlInputSchema(defaultInputSchema, purposeKeys) {
14786
14786
  return result;
14787
14787
  }
14788
14788
 
14789
- function _class_call_check$b(instance, Constructor) {
14789
+ function _class_call_check$d(instance, Constructor) {
14790
14790
  if (!(instance instanceof Constructor)) {
14791
14791
  throw new TypeError("Cannot call a class as a function");
14792
14792
  }
@@ -14799,17 +14799,17 @@ function _class_call_check$b(instance, Constructor) {
14799
14799
  *
14800
14800
  * @see {@link storageFileInitializeFromUploadService} for the default implementation.
14801
14801
  */ var StorageFileInitializeFromUploadService = function StorageFileInitializeFromUploadService() {
14802
- _class_call_check$b(this, StorageFileInitializeFromUploadService);
14802
+ _class_call_check$d(this, StorageFileInitializeFromUploadService);
14803
14803
  }
14804
14804
  ;
14805
14805
 
14806
- function _array_like_to_array$3(arr, len) {
14806
+ function _array_like_to_array$4(arr, len) {
14807
14807
  if (len == null || len > arr.length) len = arr.length;
14808
14808
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14809
14809
  return arr2;
14810
14810
  }
14811
- function _array_without_holes$2(arr) {
14812
- if (Array.isArray(arr)) return _array_like_to_array$3(arr);
14811
+ function _array_without_holes$3(arr) {
14812
+ if (Array.isArray(arr)) return _array_like_to_array$4(arr);
14813
14813
  }
14814
14814
  function _define_property$8(obj, key, value) {
14815
14815
  if (key in obj) {
@@ -14824,10 +14824,10 @@ function _define_property$8(obj, key, value) {
14824
14824
  }
14825
14825
  return obj;
14826
14826
  }
14827
- function _iterable_to_array$2(iter) {
14827
+ function _iterable_to_array$3(iter) {
14828
14828
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
14829
14829
  }
14830
- function _non_iterable_spread$2() {
14830
+ function _non_iterable_spread$3() {
14831
14831
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14832
14832
  }
14833
14833
  function _object_spread$7(target) {
@@ -14864,16 +14864,16 @@ function _object_spread_props$6(target, source) {
14864
14864
  }
14865
14865
  return target;
14866
14866
  }
14867
- function _to_consumable_array$2(arr) {
14868
- return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$2();
14867
+ function _to_consumable_array$3(arr) {
14868
+ return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$4(arr) || _non_iterable_spread$3();
14869
14869
  }
14870
- function _unsupported_iterable_to_array$3(o, minLen) {
14870
+ function _unsupported_iterable_to_array$4(o, minLen) {
14871
14871
  if (!o) return;
14872
- if (typeof o === "string") return _array_like_to_array$3(o, minLen);
14872
+ if (typeof o === "string") return _array_like_to_array$4(o, minLen);
14873
14873
  var n = Object.prototype.toString.call(o).slice(8, -1);
14874
14874
  if (n === "Object" && o.constructor) n = o.constructor.name;
14875
14875
  if (n === "Map" || n === "Set") return Array.from(n);
14876
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
14876
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
14877
14877
  }
14878
14878
  /**
14879
14879
  * NestJS injection token for the per-purpose `StorageFilePurposeUploadPolicy[]`
@@ -14935,12 +14935,12 @@ function _unsupported_iterable_to_array$3(o, minLen) {
14935
14935
  return {
14936
14936
  imports: [
14937
14937
  ConfigModule
14938
- ].concat(_to_consumable_array$2(dependencyModuleImport), _to_consumable_array$2(imports !== null && imports !== void 0 ? imports : [])),
14938
+ ].concat(_to_consumable_array$3(dependencyModuleImport), _to_consumable_array$3(imports !== null && imports !== void 0 ? imports : [])),
14939
14939
  exports: [
14940
14940
  STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN,
14941
14941
  StorageFileServerActions,
14942
14942
  StorageFileInitServerActions
14943
- ].concat(_to_consumable_array$2(exports !== null && exports !== void 0 ? exports : [])),
14943
+ ].concat(_to_consumable_array$3(exports !== null && exports !== void 0 ? exports : [])),
14944
14944
  providers: [
14945
14945
  {
14946
14946
  provide: STORAGE_FILE_SIGNED_UPLOAD_POLICIES_TOKEN,
@@ -14970,7 +14970,7 @@ function _unsupported_iterable_to_array$3(o, minLen) {
14970
14970
  STORAGE_FILE_INIT_SERVER_ACTIONS_CONTEXT_CONFIG_TOKEN
14971
14971
  ]
14972
14972
  }
14973
- ].concat(_to_consumable_array$2(providers !== null && providers !== void 0 ? providers : []))
14973
+ ].concat(_to_consumable_array$3(providers !== null && providers !== void 0 ? providers : []))
14974
14974
  };
14975
14975
  }
14976
14976
 
@@ -15186,13 +15186,13 @@ function _ts_generator$8(thisArg, body) {
15186
15186
  return updateTemplate;
15187
15187
  }
15188
15188
 
15189
- function _array_like_to_array$2(arr, len) {
15189
+ function _array_like_to_array$3(arr, len) {
15190
15190
  if (len == null || len > arr.length) len = arr.length;
15191
15191
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
15192
15192
  return arr2;
15193
15193
  }
15194
- function _array_without_holes$1(arr) {
15195
- if (Array.isArray(arr)) return _array_like_to_array$2(arr);
15194
+ function _array_without_holes$2(arr) {
15195
+ if (Array.isArray(arr)) return _array_like_to_array$3(arr);
15196
15196
  }
15197
15197
  function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
15198
15198
  try {
@@ -15236,10 +15236,10 @@ function _define_property$7(obj, key, value) {
15236
15236
  }
15237
15237
  return obj;
15238
15238
  }
15239
- function _iterable_to_array$1(iter) {
15239
+ function _iterable_to_array$2(iter) {
15240
15240
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
15241
15241
  }
15242
- function _non_iterable_spread$1() {
15242
+ function _non_iterable_spread$2() {
15243
15243
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15244
15244
  }
15245
15245
  function _object_spread$6(target) {
@@ -15276,16 +15276,16 @@ function _object_spread_props$5(target, source) {
15276
15276
  }
15277
15277
  return target;
15278
15278
  }
15279
- function _to_consumable_array$1(arr) {
15280
- return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$1();
15279
+ function _to_consumable_array$2(arr) {
15280
+ return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$2();
15281
15281
  }
15282
- function _unsupported_iterable_to_array$2(o, minLen) {
15282
+ function _unsupported_iterable_to_array$3(o, minLen) {
15283
15283
  if (!o) return;
15284
- if (typeof o === "string") return _array_like_to_array$2(o, minLen);
15284
+ if (typeof o === "string") return _array_like_to_array$3(o, minLen);
15285
15285
  var n = Object.prototype.toString.call(o).slice(8, -1);
15286
15286
  if (n === "Object" && o.constructor) n = o.constructor.name;
15287
15287
  if (n === "Map" || n === "Set") return Array.from(n);
15288
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
15288
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
15289
15289
  }
15290
15290
  function _ts_generator$7(thisArg, body) {
15291
15291
  var f, y, t, _ = {
@@ -15407,7 +15407,7 @@ var storageFileProcessingNotificationTaskHandlerDefaultCleanup = function storag
15407
15407
  var storageFileDocumentAccessor = storageFileFirestoreCollections.storageFileCollection.documentAccessor();
15408
15408
  var makeFileDetailsAccessor = storedFileReaderFactory();
15409
15409
  var defaultCleanup = storageFileProcessingNotificationTaskHandlerDefaultCleanup;
15410
- var processors = _to_consumable_array$1(inputProcessors);
15410
+ var processors = _to_consumable_array$2(inputProcessors);
15411
15411
  if (allStorageFileGroupProcessorConfig !== false) {
15412
15412
  var storageFileGroupProcessors = allStorageFileGroupStorageFileProcessingPurposeSubtaskProcessors(_object_spread_props$5(_object_spread$6({}, allStorageFileGroupProcessorConfig), {
15413
15413
  storageFileFirestoreCollections: storageFileFirestoreCollections,
@@ -16004,7 +16004,7 @@ function _object_spread_props$4(target, source) {
16004
16004
  }
16005
16005
  return target;
16006
16006
  }
16007
- function _type_of$1(obj) {
16007
+ function _type_of$2(obj) {
16008
16008
  "@swc/helpers - typeof";
16009
16009
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
16010
16010
  }
@@ -16276,7 +16276,7 @@ function _ts_generator$6(thisArg, body) {
16276
16276
  createdFilePath = copyStoragePath(createStorageFileResult.storageFile);
16277
16277
  storageFileDocument = createStorageFileResult.storageFileDocument;
16278
16278
  if (flagPreviousForDeleteResult) {
16279
- if ((typeof flagPreviousForDeleteResult === "undefined" ? "undefined" : _type_of$1(flagPreviousForDeleteResult)) === 'object') {
16279
+ if ((typeof flagPreviousForDeleteResult === "undefined" ? "undefined" : _type_of$2(flagPreviousForDeleteResult)) === 'object') {
16280
16280
  flagPreviousForDelete = flagPreviousForDeleteResult;
16281
16281
  } else {
16282
16282
  _createStorageFileResult_storageFile = createStorageFileResult.storageFile, p = _createStorageFileResult_storageFile.p, pg = _createStorageFileResult_storageFile.pg, u = _createStorageFileResult_storageFile.u;
@@ -16412,6 +16412,255 @@ function _ts_generator$6(thisArg, body) {
16412
16412
  };
16413
16413
  }
16414
16414
 
16415
+ function _assert_this_initialized$1(self) {
16416
+ if (self === void 0) {
16417
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16418
+ }
16419
+ return self;
16420
+ }
16421
+ function _call_super$1(_this, derived, args) {
16422
+ derived = _get_prototype_of$1(derived);
16423
+ return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
16424
+ }
16425
+ function _class_call_check$c(instance, Constructor) {
16426
+ if (!(instance instanceof Constructor)) {
16427
+ throw new TypeError("Cannot call a class as a function");
16428
+ }
16429
+ }
16430
+ function _defineProperties$4(target, props) {
16431
+ for(var i = 0; i < props.length; i++){
16432
+ var descriptor = props[i];
16433
+ descriptor.enumerable = descriptor.enumerable || false;
16434
+ descriptor.configurable = true;
16435
+ if ("value" in descriptor) descriptor.writable = true;
16436
+ Object.defineProperty(target, descriptor.key, descriptor);
16437
+ }
16438
+ }
16439
+ function _create_class$4(Constructor, protoProps, staticProps) {
16440
+ if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
16441
+ return Constructor;
16442
+ }
16443
+ function _get_prototype_of$1(o) {
16444
+ _get_prototype_of$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
16445
+ return o.__proto__ || Object.getPrototypeOf(o);
16446
+ };
16447
+ return _get_prototype_of$1(o);
16448
+ }
16449
+ function _inherits$1(subClass, superClass) {
16450
+ if (typeof superClass !== "function" && superClass !== null) {
16451
+ throw new TypeError("Super expression must either be null or a function");
16452
+ }
16453
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
16454
+ constructor: {
16455
+ value: subClass,
16456
+ writable: true,
16457
+ configurable: true
16458
+ }
16459
+ });
16460
+ if (superClass) _set_prototype_of$1(subClass, superClass);
16461
+ }
16462
+ function _possible_constructor_return$1(self, call) {
16463
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
16464
+ return call;
16465
+ }
16466
+ return _assert_this_initialized$1(self);
16467
+ }
16468
+ function _set_prototype_of$1(o, p) {
16469
+ _set_prototype_of$1 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
16470
+ o.__proto__ = p;
16471
+ return o;
16472
+ };
16473
+ return _set_prototype_of$1(o, p);
16474
+ }
16475
+ function _type_of$1(obj) {
16476
+ "@swc/helpers - typeof";
16477
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
16478
+ }
16479
+ function _is_native_reflect_construct$1() {
16480
+ try {
16481
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
16482
+ } catch (_) {}
16483
+ return (_is_native_reflect_construct$1 = function() {
16484
+ return !!result;
16485
+ })();
16486
+ }
16487
+ // MARK: Collections
16488
+ /**
16489
+ * Provides access to the {@link SystemStatePrivate} collection.
16490
+ *
16491
+ * Provided ONLY by a server module. This is deliberately never declared on an app's shared
16492
+ * `FirestoreCollections` class: `provideAppFirestoreCollections()` hard-codes a
16493
+ * `(context: FirestoreContext) => T` factory, which cannot carry the encryption secrets a private
16494
+ * converter needs — so the private collection structurally cannot leak into the client-shared
16495
+ * collection set.
16496
+ */ var SystemStatePrivateFirestoreCollections = function SystemStatePrivateFirestoreCollections() {
16497
+ _class_call_check$c(this, SystemStatePrivateFirestoreCollections);
16498
+ };
16499
+ // MARK: Identity
16500
+ /**
16501
+ * Firestore model identity for {@link SystemStatePrivate} documents.
16502
+ *
16503
+ * The server-only counterpart of `systemStateIdentity` from `@dereekb/firebase`. Same document
16504
+ * shape, same "document id is the type identifier" singleton convention — but a separate `sysp`
16505
+ * collection, so a secret-bearing document is never reachable through the client-shared SystemState
16506
+ * collection or the generic admin model service registered against it.
16507
+ *
16508
+ * This is a server-side only model. It has no provisions for client-side access, and deliberately
16509
+ * has NO `firestore.rules` match block — the implicit default-deny is what denies every client, and
16510
+ * a block here would only create an opportunity to grant access by accident.
16511
+ */ var systemStatePrivateIdentity = firestoreModelIdentity('systemStatePrivate', 'sysp');
16512
+ var SystemStatePrivateDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
16513
+ _inherits$1(SystemStatePrivateDocument, AbstractFirestoreDocument);
16514
+ function SystemStatePrivateDocument() {
16515
+ _class_call_check$c(this, SystemStatePrivateDocument);
16516
+ return _call_super$1(this, SystemStatePrivateDocument, arguments);
16517
+ }
16518
+ _create_class$4(SystemStatePrivateDocument, [
16519
+ {
16520
+ key: "modelIdentity",
16521
+ get: function get() {
16522
+ return systemStatePrivateIdentity;
16523
+ }
16524
+ }
16525
+ ]);
16526
+ return SystemStatePrivateDocument;
16527
+ }(AbstractFirestoreDocument);
16528
+ // MARK: Collection
16529
+ /**
16530
+ * Returns the Firestore {@link CollectionReference} for {@link SystemStatePrivate} documents.
16531
+ *
16532
+ * @param context - The Firestore context to create the collection reference from.
16533
+ * @returns The typed collection reference.
16534
+ */ function systemStatePrivateCollectionReference(context) {
16535
+ return context.collection(systemStatePrivateIdentity.collectionName);
16536
+ }
16537
+ /**
16538
+ * Creates a {@link SystemStatePrivateFirestoreCollection}.
16539
+ *
16540
+ * @param config - The Firestore context, converters, and unknown-type behavior.
16541
+ * @returns The configured server-only SystemState collection.
16542
+ */ function systemStatePrivateFirestoreCollection(config) {
16543
+ var firestoreContext = config.firestoreContext, converters = config.converters, unknownTypeBehavior = config.unknownTypeBehavior;
16544
+ return firestoreContext.firestoreCollection({
16545
+ modelIdentity: systemStatePrivateIdentity,
16546
+ converter: systemStateConverter,
16547
+ converterFactory: systemStateStoredDataConverterFactory({
16548
+ converters: converters,
16549
+ unknownTypeBehavior: unknownTypeBehavior !== null && unknownTypeBehavior !== void 0 ? unknownTypeBehavior : 'error',
16550
+ collectionName: systemStatePrivateIdentity.collectionName
16551
+ }),
16552
+ collection: systemStatePrivateCollectionReference(firestoreContext),
16553
+ makeDocument: function makeDocument(accessor, documentAccessor) {
16554
+ return new SystemStatePrivateDocument(accessor, documentAccessor);
16555
+ },
16556
+ firestoreContext: firestoreContext
16557
+ });
16558
+ }
16559
+
16560
+ function _array_like_to_array$2(arr, len) {
16561
+ if (len == null || len > arr.length) len = arr.length;
16562
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
16563
+ return arr2;
16564
+ }
16565
+ function _array_without_holes$1(arr) {
16566
+ if (Array.isArray(arr)) return _array_like_to_array$2(arr);
16567
+ }
16568
+ function _class_call_check$b(instance, Constructor) {
16569
+ if (!(instance instanceof Constructor)) {
16570
+ throw new TypeError("Cannot call a class as a function");
16571
+ }
16572
+ }
16573
+ function _iterable_to_array$1(iter) {
16574
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
16575
+ }
16576
+ function _non_iterable_spread$1() {
16577
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16578
+ }
16579
+ function _to_consumable_array$1(arr) {
16580
+ return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$1();
16581
+ }
16582
+ function _unsupported_iterable_to_array$2(o, minLen) {
16583
+ if (!o) return;
16584
+ if (typeof o === "string") return _array_like_to_array$2(o, minLen);
16585
+ var n = Object.prototype.toString.call(o).slice(8, -1);
16586
+ if (n === "Object" && o.constructor) n = o.constructor.name;
16587
+ if (n === "Map" || n === "Set") return Array.from(n);
16588
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
16589
+ }
16590
+ // MARK: Config
16591
+ /**
16592
+ * Configuration for the {@link SystemStatePrivateFirestoreCollections} provider.
16593
+ */ var SystemStatePrivateModuleConfig = function SystemStatePrivateModuleConfig() {
16594
+ _class_call_check$b(this, SystemStatePrivateModuleConfig);
16595
+ };
16596
+ // MARK: Provider Factories
16597
+ /**
16598
+ * Creates the {@link SystemStatePrivateFirestoreCollections}.
16599
+ *
16600
+ * This is a bespoke provider rather than a `provideAppFirestoreCollections()` entry because that
16601
+ * helper hard-codes a `(context: FirestoreContext) => T` factory and cannot carry the converters
16602
+ * (and therefore the encryption secrets) this collection needs.
16603
+ *
16604
+ * @param firestoreContext - The Firestore context.
16605
+ * @param config - The module configuration carrying the server-only converters.
16606
+ * @returns The server-only collections.
16607
+ */ function systemStatePrivateFirestoreCollectionsFactory(firestoreContext, config) {
16608
+ return {
16609
+ systemStatePrivateCollection: systemStatePrivateFirestoreCollection({
16610
+ firestoreContext: firestoreContext,
16611
+ converters: config.converters,
16612
+ unknownTypeBehavior: config.unknownTypeBehavior
16613
+ })
16614
+ };
16615
+ }
16616
+ /**
16617
+ * Generates NestJS {@link ModuleMetadata} for an app's server-only SystemState module.
16618
+ *
16619
+ * IMPORTANT: do NOT add {@link SystemStatePrivateFirestoreCollections} to an app's shared
16620
+ * `FirestoreCollections` class. Keeping it on its own provider is what stops the private collection
16621
+ * from reaching client-shared code.
16622
+ *
16623
+ * @param config - The app's config provider plus optional additional module metadata.
16624
+ * @returns Module metadata ready for the `@Module()` decorator.
16625
+ *
16626
+ * @example
16627
+ * ```typescript
16628
+ * @Module(
16629
+ * appSystemStatePrivateModuleMetadata({
16630
+ * configProvider: {
16631
+ * provide: SystemStatePrivateModuleConfig,
16632
+ * useFactory: myConfigFactory,
16633
+ * inject: [ConfigService, FirebaseServerEnvService]
16634
+ * },
16635
+ * imports: [ConfigModule]
16636
+ * })
16637
+ * )
16638
+ * export class AppSystemStatePrivateModule {}
16639
+ * ```
16640
+ */ function appSystemStatePrivateModuleMetadata(config) {
16641
+ var configProvider = config.configProvider, imports = config.imports, configExports = config.exports, providers = config.providers;
16642
+ return {
16643
+ imports: [
16644
+ FirebaseServerFirestoreContextModule
16645
+ ].concat(_to_consumable_array$1(imports !== null && imports !== void 0 ? imports : [])),
16646
+ providers: [
16647
+ configProvider,
16648
+ {
16649
+ provide: SystemStatePrivateFirestoreCollections,
16650
+ useFactory: systemStatePrivateFirestoreCollectionsFactory,
16651
+ inject: [
16652
+ FIREBASE_FIRESTORE_CONTEXT_TOKEN,
16653
+ SystemStatePrivateModuleConfig
16654
+ ]
16655
+ }
16656
+ ].concat(_to_consumable_array$1(providers !== null && providers !== void 0 ? providers : [])),
16657
+ exports: [
16658
+ SystemStatePrivateFirestoreCollections,
16659
+ SystemStatePrivateModuleConfig
16660
+ ].concat(_to_consumable_array$1(configExports !== null && configExports !== void 0 ? configExports : []))
16661
+ };
16662
+ }
16663
+
16415
16664
  function _class_call_check$a(instance, Constructor) {
16416
16665
  if (!(instance instanceof Constructor)) {
16417
16666
  throw new TypeError("Cannot call a class as a function");
@@ -19483,4 +19732,4 @@ function _class_call_check(instance, Constructor) {
19483
19732
  }
19484
19733
  ;
19485
19734
 
19486
- export { AbstractAppNotificationModule, AbstractUserExternalConnectionOAuthController, AbstractUserExternalConnectionOAuthService, BASE_NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN, BASE_STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN, DEFAULT_COMPRESS_IMAGE_FORMAT, DEFAULT_COMPRESS_IMAGE_INITIAL_QUALITY, DEFAULT_COMPRESS_IMAGE_MAX_DIMENSION, DEFAULT_COMPRESS_IMAGE_MIN_QUALITY, DEFAULT_COMPRESS_IMAGE_QUALITY_STEP, DEFAULT_COMPRESS_PDF_IMAGE_MAX_DIMENSION, DEFAULT_COMPRESS_PDF_IMAGE_QUALITY, DEFAULT_COMPRESS_PDF_IMAGE_SIZE_THRESHOLD_BYTES, DEFAULT_DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_PARALLEL_TASKS, DEFAULT_MAILGUN_HEALTH_CHECK_PROBE_TIMEOUT_MINUTES, DEFAULT_MAILGUN_NOTIFICATION_EMAIL_SEND_SERVICE_MAX_BATCH_SIZE_PER_REQUEST, DEFAULT_MAX_NOTIFICATION_BOXES_TO_INSPECT_PER_HEALTH_CHECK, DEFAULT_READ_MULTIPLE_STORAGE_FILES_METADATA_MAX_PARALLEL_TASKS, DEFAULT_USER_EXTERNAL_CONNECTION_CREDENTIALS_EXPIRATION_BUFFER, DEFAULT_USER_EXTERNAL_CONNECTION_REFRESH_FAILURE_ERROR_CODE, DEFAULT_USER_EXTERNAL_CONNECTION_STATE_EXPIRATION, GlobalNotificationModule, KNOWN_BUT_UNCONFIGURED_NOTIFICATION_TEMPLATE_TYPE_DELETE_AFTER_RETRY_ATTEMPTS, KNOWN_BUT_UNCONFIGURED_NOTIFICATION_TEMPLATE_TYPE_HOURS_DELAY, MAKE_TEMPLATE_FOR_NOTIFICATION_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_RESPONSE, MAKE_TEMPLATE_FOR_STORAGEFILE_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_RESPONSE, MutableNotificationExpediteService, NOTIFICATION_BOX_NOT_INITIALIZED_DELAY_MINUTES, NOTIFICATION_INIT_SERVER_ACTIONS_CONTEXT_CONFIG_TOKEN, NOTIFICATION_MAX_SEND_ATTEMPTS, NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN, NOTIFICATION_TASK_MINIMUM_SET_AT_THROTTLE_TIME_MINUTES, NOTIFICATION_TASK_TYPE_FAILURE_DELAY_HOURS, NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS, NOTIFICATION_TASK_TYPE_MAX_SEND_ATTEMPTS, NOTIFICATION_TEMPLATE_SERVICE_CONFIGS_ARRAY_TOKEN, NOTIFICATION_TEMPLATE_SERVICE_DEFAULTS_OVERRIDE_TOKEN, NotificationExpediteService, NotificationInitServerActions, NotificationSendService, NotificationServerActions, NotificationTaskService, NotificationTaskSubTaskMissingRequiredDataTermination, NotificationTemplateService, SEND_QUEUE_NOTIFICATIONS_TASK_EXCESS_THRESHOLD, STORAGE_FILE_INIT_SERVER_ACTIONS_CONTEXT_CONFIG_TOKEN, STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN, STORAGE_FILE_SIGNED_UPLOAD_POLICIES_TOKEN, StorageFileInitServerActions, StorageFileInitializeFromUploadService, StorageFileServerActions, TESTING_USER_EXTERNAL_CONNECTION_ENCRYPTION_SECRET, TESTING_USER_EXTERNAL_CONNECTION_STATE_SECRET, UNKNOWN_NOTIFICATION_TASK_TYPE_DELETE_AFTER_RETRY_ATTEMPTS, UNKNOWN_NOTIFICATION_TASK_TYPE_HOURS_DELAY, UNKNOWN_NOTIFICATION_TEMPLATE_TYPE_DELETE_AFTER_RETRY_ATTEMPTS, UNKNOWN_NOTIFICATION_TEMPLATE_TYPE_HOURS_DELAY, USER_EXTERNAL_CONNECTION_ALREADY_EXISTS_ERROR_CODE, USER_EXTERNAL_CONNECTION_CREDENTIALS_EXPIRED_ERROR_CODE, USER_EXTERNAL_CONNECTION_ENCRYPTION_SECRET_ENV_KEY, USER_EXTERNAL_CONNECTION_OAUTH_REDIRECT_STATUS, USER_EXTERNAL_CONNECTION_PROVIDER_NOT_ALLOWED_ERROR_CODE, USER_EXTERNAL_CONNECTION_PROVIDER_NOT_CONNECTED_ERROR_CODE, USER_EXTERNAL_CONNECTION_SERVER_ACTIONS_CONTEXT_TOKEN, USER_EXTERNAL_CONNECTION_STATE_SECRET_CONFIG_KEY, UserExternalConnectionAccessor, UserExternalConnectionCredentialsRefresher, UserExternalConnectionModuleConfig, UserExternalConnectionOAuthProviderRegistry, UserExternalConnectionOAuthServiceConfig, UserExternalConnectionPrivateDocument, UserExternalConnectionReader, UserExternalConnectionServerActions, UserExternalConnectionServerFirestoreCollections, UserExternalConnectionStateCoder, _initializeStorageFileFromUploadFileFactory, _processStorageFileInTransactionFactory, _syncStorageFileWithGroupsInTransactionFactory, allStorageFileGroupStorageFileProcessingPurposeSubtaskProcessors, appNotificationModuleMetadata, appStorageFileModuleMetadata, appUserExternalConnectionModuleMetadata, applyUserExternalConnectionCredentials, cleanupOldNotificationLoggedEventDaysFactory, cleanupSentNotificationsFactory, compressImageBufferToTargetSize, compressPdfImagesToTargetSize, createNotificationBoxFactory, createNotificationBoxInTransactionFactory, createNotificationIdRequiredError, createNotificationSummaryFactory, createNotificationUserFactory, createOrRunUniqueNotificationDocument, createStorageFileFactory, createStorageFileGroupFactory, createStorageFileGroupInTransactionFactory, createStorageFileGroupInputError, createStorageFileSignedUploadUrlFactory, createUserExternalConnectionFactory, deleteAllQueuedStorageFilesFactory, deleteAllUserExternalConnectionsForUserFactory, deleteStorageFileFactory, downloadMultipleStorageFilesFactory, downloadStorageFileFactory, expandNotificationRecipients, exportMutableNotificationExpediteService, firestoreNotificationSummarySendService, ignoreSendNotificationTextSendService, initializeAllApplicableNotificationBoxesFactory, initializeAllApplicableNotificationSummariesFactory, initializeAllApplicableStorageFileGroupsFactory, initializeAllStorageFilesFromUploadsFactory, initializeNotificationBoxFactory, initializeNotificationBoxInTransactionFactory, initializeNotificationModelInTransaction, initializeNotificationSummaryFactory, initializeNotificationSummaryInTransactionFactory, initializeStorageFileFromUploadFactory, initializeStorageFileGroupFactory, initializeStorageFileGroupInTransactionFactory, initializeStorageFileModelInTransaction, mailgunNotificationEmailSendService, mailgunNotificationEmailSendServiceHealthCheckService, makeNewNotificationSummaryTemplate, markStorageFileForDeleteTemplate, mergeRefreshedUserExternalConnectionCredentials, notificationBoxDoesNotExist, notificationBoxExclusionTargetInvalidError, notificationBoxExistsForModelError, notificationBoxRecipientDoesNotExistsError, notificationBoxUnregistredModelTypeInitializationError, notificationExpediteServiceInstance, notificationInitServerActions, notificationInitServerActionsFactory, notificationModelAlreadyInitializedError, notificationServerActions, notificationServerActionsContextFactory, notificationServerActionsFactory, notificationTaskService, notificationTaskSubTaskMissingRequiredDataTermination, notificationTaskSubtaskNotificationTaskHandlerFactory, notificationTemplateServiceInstance, notificationUserBlockedFromBeingAddedToRecipientsError, notificationUserHealthCheckFactory, notificationUserHealthCheckProbeThrottledError, notificationUserHealthCheckThrottledError, notificationUserHealthCheckVerifyThrottledError, notificationUserInvalidUidForCreateError, notificationUserLockedConfigFromBeingUpdatedError, processAllQueuedStorageFilesFactory, processStorageFileFactory, provideMutableNotificationExpediteService, queryAndFlagStorageFilesForDelete, readMultipleStorageFilesMetadataFactory, readStorageFileMetadataFactory, regenerateAllFlaggedStorageFileGroupsContentFactory, regenerateStorageFileGroupContentFactory, resyncAllNotificationUsersFactory, resyncNotificationUserFactory, sendNotificationFactory, sendQueuedNotificationsFactory, storageFileAlreadyProcessedError, storageFileCannotBeDeletedYetError, storageFileCreateSignedUploadUrlToolDetailsFactory, storageFileGroupQueuedForInitializationError, storageFileGroupZipStorageFileProcessingPurposeSubtaskProcessor, storageFileInitServerActions, storageFileInitServerActionsFactory, storageFileInitializeFromUploadService, storageFileInitializeFromUploadServiceInitializerResultPermanentFailure, storageFileModelAlreadyInitializedError, storageFileNotFlaggedForDeletionError, storageFileNotFlaggedForGroupsSyncError, storageFileProcessingNotAllowedForInvalidStateError, storageFileProcessingNotAvailableForTypeError, storageFileProcessingNotQueuedForProcessingError, storageFileProcessingNotificationTaskHandler, storageFileProcessingNotificationTaskHandlerDefaultCleanup, storageFileServerActions, storageFileServerActionsContextFactory, storageFileServerActionsFactory, syncAllFlaggedStorageFilesWithGroupsFactory, syncStorageFileWithGroupsFactory, updateNotificationBoxFactory, updateNotificationBoxRecipientExclusionInTransactionFactory, updateNotificationBoxRecipientFactory, updateNotificationBoxRecipientInTransactionFactory, updateNotificationSummaryFactory, updateNotificationUserFactory, updateNotificationUserNotificationBoxRecipientConfig, updateStorageFileFactory, updateStorageFileGroupFactory, uploadedFileDoesNotExistError, uploadedFileInitializationDiscardedError, uploadedFileInitializationFailedError, uploadedFileIsNotAllowedToBeInitializedError, userExternalConnectionAccessor, userExternalConnectionAlreadyExistsError, userExternalConnectionCredentialsExpiredError, userExternalConnectionErrorCodeForOAuthProviderError, userExternalConnectionGrantSummaryFromCredentials, userExternalConnectionModuleConfigFactory, userExternalConnectionOAuthControllerPath, userExternalConnectionOAuthProviderRegistry, userExternalConnectionOAuthProviderRegistryProvider, userExternalConnectionOAuthRedirectUri, userExternalConnectionOAuthRegistryCredentialsRefresher, userExternalConnectionOAuthRoutesForGlobalRouteExclude, userExternalConnectionOAuthServiceConfigFactory, userExternalConnectionOAuthStateForRequest, userExternalConnectionPrivateAccessorFactory, userExternalConnectionPrivateCollectionReference, userExternalConnectionPrivateConverter, userExternalConnectionPrivateFirestoreCollection, userExternalConnectionPrivateIdentity, userExternalConnectionProviderNotAllowedError, userExternalConnectionProviderNotConnectedError, userExternalConnectionReader, userExternalConnectionReaderProvider, userExternalConnectionServerActions, userExternalConnectionServerActionsContextFactory, userExternalConnectionServerFirestoreCollectionsFactory, userExternalConnectionStateCoder, userExternalConnectionStateCoderFactory, writeUserExternalConnectionPairInTransactionFactory };
19735
+ export { AbstractAppNotificationModule, AbstractUserExternalConnectionOAuthController, AbstractUserExternalConnectionOAuthService, BASE_NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN, BASE_STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN, DEFAULT_COMPRESS_IMAGE_FORMAT, DEFAULT_COMPRESS_IMAGE_INITIAL_QUALITY, DEFAULT_COMPRESS_IMAGE_MAX_DIMENSION, DEFAULT_COMPRESS_IMAGE_MIN_QUALITY, DEFAULT_COMPRESS_IMAGE_QUALITY_STEP, DEFAULT_COMPRESS_PDF_IMAGE_MAX_DIMENSION, DEFAULT_COMPRESS_PDF_IMAGE_QUALITY, DEFAULT_COMPRESS_PDF_IMAGE_SIZE_THRESHOLD_BYTES, DEFAULT_DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_PARALLEL_TASKS, DEFAULT_MAILGUN_HEALTH_CHECK_PROBE_TIMEOUT_MINUTES, DEFAULT_MAILGUN_NOTIFICATION_EMAIL_SEND_SERVICE_MAX_BATCH_SIZE_PER_REQUEST, DEFAULT_MAX_NOTIFICATION_BOXES_TO_INSPECT_PER_HEALTH_CHECK, DEFAULT_READ_MULTIPLE_STORAGE_FILES_METADATA_MAX_PARALLEL_TASKS, DEFAULT_USER_EXTERNAL_CONNECTION_CREDENTIALS_EXPIRATION_BUFFER, DEFAULT_USER_EXTERNAL_CONNECTION_REFRESH_FAILURE_ERROR_CODE, DEFAULT_USER_EXTERNAL_CONNECTION_STATE_EXPIRATION, GlobalNotificationModule, KNOWN_BUT_UNCONFIGURED_NOTIFICATION_TEMPLATE_TYPE_DELETE_AFTER_RETRY_ATTEMPTS, KNOWN_BUT_UNCONFIGURED_NOTIFICATION_TEMPLATE_TYPE_HOURS_DELAY, MAKE_TEMPLATE_FOR_NOTIFICATION_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_RESPONSE, MAKE_TEMPLATE_FOR_STORAGEFILE_RELATED_MODEL_INITIALIZATION_FUNCTION_DELETE_RESPONSE, MutableNotificationExpediteService, NOTIFICATION_BOX_NOT_INITIALIZED_DELAY_MINUTES, NOTIFICATION_INIT_SERVER_ACTIONS_CONTEXT_CONFIG_TOKEN, NOTIFICATION_MAX_SEND_ATTEMPTS, NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN, NOTIFICATION_TASK_MINIMUM_SET_AT_THROTTLE_TIME_MINUTES, NOTIFICATION_TASK_TYPE_FAILURE_DELAY_HOURS, NOTIFICATION_TASK_TYPE_FAILURE_DELAY_MS, NOTIFICATION_TASK_TYPE_MAX_SEND_ATTEMPTS, NOTIFICATION_TEMPLATE_SERVICE_CONFIGS_ARRAY_TOKEN, NOTIFICATION_TEMPLATE_SERVICE_DEFAULTS_OVERRIDE_TOKEN, NotificationExpediteService, NotificationInitServerActions, NotificationSendService, NotificationServerActions, NotificationTaskService, NotificationTaskSubTaskMissingRequiredDataTermination, NotificationTemplateService, SEND_QUEUE_NOTIFICATIONS_TASK_EXCESS_THRESHOLD, STORAGE_FILE_INIT_SERVER_ACTIONS_CONTEXT_CONFIG_TOKEN, STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN, STORAGE_FILE_SIGNED_UPLOAD_POLICIES_TOKEN, StorageFileInitServerActions, StorageFileInitializeFromUploadService, StorageFileServerActions, SystemStatePrivateDocument, SystemStatePrivateFirestoreCollections, SystemStatePrivateModuleConfig, TESTING_USER_EXTERNAL_CONNECTION_ENCRYPTION_SECRET, TESTING_USER_EXTERNAL_CONNECTION_STATE_SECRET, UNKNOWN_NOTIFICATION_TASK_TYPE_DELETE_AFTER_RETRY_ATTEMPTS, UNKNOWN_NOTIFICATION_TASK_TYPE_HOURS_DELAY, UNKNOWN_NOTIFICATION_TEMPLATE_TYPE_DELETE_AFTER_RETRY_ATTEMPTS, UNKNOWN_NOTIFICATION_TEMPLATE_TYPE_HOURS_DELAY, USER_EXTERNAL_CONNECTION_ALREADY_EXISTS_ERROR_CODE, USER_EXTERNAL_CONNECTION_CREDENTIALS_EXPIRED_ERROR_CODE, USER_EXTERNAL_CONNECTION_ENCRYPTION_SECRET_ENV_KEY, USER_EXTERNAL_CONNECTION_OAUTH_REDIRECT_STATUS, USER_EXTERNAL_CONNECTION_PROVIDER_NOT_ALLOWED_ERROR_CODE, USER_EXTERNAL_CONNECTION_PROVIDER_NOT_CONNECTED_ERROR_CODE, USER_EXTERNAL_CONNECTION_SERVER_ACTIONS_CONTEXT_TOKEN, USER_EXTERNAL_CONNECTION_STATE_SECRET_CONFIG_KEY, UserExternalConnectionAccessor, UserExternalConnectionCredentialsRefresher, UserExternalConnectionModuleConfig, UserExternalConnectionOAuthProviderRegistry, UserExternalConnectionOAuthServiceConfig, UserExternalConnectionPrivateDocument, UserExternalConnectionReader, UserExternalConnectionServerActions, UserExternalConnectionServerFirestoreCollections, UserExternalConnectionStateCoder, _initializeStorageFileFromUploadFileFactory, _processStorageFileInTransactionFactory, _syncStorageFileWithGroupsInTransactionFactory, allStorageFileGroupStorageFileProcessingPurposeSubtaskProcessors, appNotificationModuleMetadata, appStorageFileModuleMetadata, appSystemStatePrivateModuleMetadata, appUserExternalConnectionModuleMetadata, applyUserExternalConnectionCredentials, cleanupOldNotificationLoggedEventDaysFactory, cleanupSentNotificationsFactory, compressImageBufferToTargetSize, compressPdfImagesToTargetSize, createNotificationBoxFactory, createNotificationBoxInTransactionFactory, createNotificationIdRequiredError, createNotificationSummaryFactory, createNotificationUserFactory, createOrRunUniqueNotificationDocument, createStorageFileFactory, createStorageFileGroupFactory, createStorageFileGroupInTransactionFactory, createStorageFileGroupInputError, createStorageFileSignedUploadUrlFactory, createUserExternalConnectionFactory, deleteAllQueuedStorageFilesFactory, deleteAllUserExternalConnectionsForUserFactory, deleteStorageFileFactory, downloadMultipleStorageFilesFactory, downloadStorageFileFactory, expandNotificationRecipients, exportMutableNotificationExpediteService, firestoreNotificationSummarySendService, ignoreSendNotificationTextSendService, initializeAllApplicableNotificationBoxesFactory, initializeAllApplicableNotificationSummariesFactory, initializeAllApplicableStorageFileGroupsFactory, initializeAllStorageFilesFromUploadsFactory, initializeNotificationBoxFactory, initializeNotificationBoxInTransactionFactory, initializeNotificationModelInTransaction, initializeNotificationSummaryFactory, initializeNotificationSummaryInTransactionFactory, initializeStorageFileFromUploadFactory, initializeStorageFileGroupFactory, initializeStorageFileGroupInTransactionFactory, initializeStorageFileModelInTransaction, mailgunNotificationEmailSendService, mailgunNotificationEmailSendServiceHealthCheckService, makeNewNotificationSummaryTemplate, markStorageFileForDeleteTemplate, mergeRefreshedUserExternalConnectionCredentials, notificationBoxDoesNotExist, notificationBoxExclusionTargetInvalidError, notificationBoxExistsForModelError, notificationBoxRecipientDoesNotExistsError, notificationBoxUnregistredModelTypeInitializationError, notificationExpediteServiceInstance, notificationInitServerActions, notificationInitServerActionsFactory, notificationModelAlreadyInitializedError, notificationServerActions, notificationServerActionsContextFactory, notificationServerActionsFactory, notificationTaskService, notificationTaskSubTaskMissingRequiredDataTermination, notificationTaskSubtaskNotificationTaskHandlerFactory, notificationTemplateServiceInstance, notificationUserBlockedFromBeingAddedToRecipientsError, notificationUserHealthCheckFactory, notificationUserHealthCheckProbeThrottledError, notificationUserHealthCheckThrottledError, notificationUserHealthCheckVerifyThrottledError, notificationUserInvalidUidForCreateError, notificationUserLockedConfigFromBeingUpdatedError, processAllQueuedStorageFilesFactory, processStorageFileFactory, provideMutableNotificationExpediteService, queryAndFlagStorageFilesForDelete, readMultipleStorageFilesMetadataFactory, readStorageFileMetadataFactory, regenerateAllFlaggedStorageFileGroupsContentFactory, regenerateStorageFileGroupContentFactory, resyncAllNotificationUsersFactory, resyncNotificationUserFactory, sendNotificationFactory, sendQueuedNotificationsFactory, storageFileAlreadyProcessedError, storageFileCannotBeDeletedYetError, storageFileCreateSignedUploadUrlToolDetailsFactory, storageFileGroupQueuedForInitializationError, storageFileGroupZipStorageFileProcessingPurposeSubtaskProcessor, storageFileInitServerActions, storageFileInitServerActionsFactory, storageFileInitializeFromUploadService, storageFileInitializeFromUploadServiceInitializerResultPermanentFailure, storageFileModelAlreadyInitializedError, storageFileNotFlaggedForDeletionError, storageFileNotFlaggedForGroupsSyncError, storageFileProcessingNotAllowedForInvalidStateError, storageFileProcessingNotAvailableForTypeError, storageFileProcessingNotQueuedForProcessingError, storageFileProcessingNotificationTaskHandler, storageFileProcessingNotificationTaskHandlerDefaultCleanup, storageFileServerActions, storageFileServerActionsContextFactory, storageFileServerActionsFactory, syncAllFlaggedStorageFilesWithGroupsFactory, syncStorageFileWithGroupsFactory, systemStatePrivateCollectionReference, systemStatePrivateFirestoreCollection, systemStatePrivateFirestoreCollectionsFactory, systemStatePrivateIdentity, updateNotificationBoxFactory, updateNotificationBoxRecipientExclusionInTransactionFactory, updateNotificationBoxRecipientFactory, updateNotificationBoxRecipientInTransactionFactory, updateNotificationSummaryFactory, updateNotificationUserFactory, updateNotificationUserNotificationBoxRecipientConfig, updateStorageFileFactory, updateStorageFileGroupFactory, uploadedFileDoesNotExistError, uploadedFileInitializationDiscardedError, uploadedFileInitializationFailedError, uploadedFileIsNotAllowedToBeInitializedError, userExternalConnectionAccessor, userExternalConnectionAlreadyExistsError, userExternalConnectionCredentialsExpiredError, userExternalConnectionErrorCodeForOAuthProviderError, userExternalConnectionGrantSummaryFromCredentials, userExternalConnectionModuleConfigFactory, userExternalConnectionOAuthControllerPath, userExternalConnectionOAuthProviderRegistry, userExternalConnectionOAuthProviderRegistryProvider, userExternalConnectionOAuthRedirectUri, userExternalConnectionOAuthRegistryCredentialsRefresher, userExternalConnectionOAuthRoutesForGlobalRouteExclude, userExternalConnectionOAuthServiceConfigFactory, userExternalConnectionOAuthStateForRequest, userExternalConnectionPrivateAccessorFactory, userExternalConnectionPrivateCollectionReference, userExternalConnectionPrivateConverter, userExternalConnectionPrivateFirestoreCollection, userExternalConnectionPrivateIdentity, userExternalConnectionProviderNotAllowedError, userExternalConnectionProviderNotConnectedError, userExternalConnectionReader, userExternalConnectionReaderProvider, userExternalConnectionServerActions, userExternalConnectionServerActionsContextFactory, userExternalConnectionServerFirestoreCollectionsFactory, userExternalConnectionStateCoder, userExternalConnectionStateCoderFactory, writeUserExternalConnectionPairInTransactionFactory };