@dereekb/firebase-server 13.43.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calcom/index.esm.js +57 -96
- package/calcom/package.json +11 -11
- package/discord/index.esm.js +48 -74
- package/discord/package.json +11 -11
- package/index.esm.js +336 -583
- package/mailgun/index.esm.js +20 -32
- package/mailgun/package.json +9 -9
- package/mcp/index.esm.js +131 -185
- package/mcp/package.json +14 -14
- package/model/index.esm.js +699 -692
- package/model/package.json +14 -14
- package/model/src/lib/formspace/formspace.action.server.d.ts +79 -5
- package/model/src/lib/formspace/formspace.error.d.ts +21 -0
- package/model/src/lib/formspace/formspace.task.service.handler.d.ts +3 -2
- package/model/src/lib/storagefile/storagefile.task.service.handler.d.ts +3 -3
- package/oidc/index.esm.js +144 -251
- package/oidc/package.json +14 -14
- package/package.json +24 -24
- package/src/lib/function/type.d.ts +0 -9
- package/src/lib/nest/app.d.ts +0 -4
- package/src/lib/nest/development/development.app.function.d.ts +2 -2
- package/src/lib/nest/model/analytics.handler.d.ts +0 -8
- package/src/lib/nest/model/api.details.d.ts +0 -8
- package/src/lib/nest/nest.provider.d.ts +0 -8
- package/test/index.esm.js +239 -395
- package/test/package.json +17 -17
- package/test/src/lib/firebase/firebase.admin.auth.d.ts +4 -25
- package/test/src/lib/firebase/firebase.admin.nest.d.ts +0 -4
- package/test/src/lib/firebase/firebase.admin.nest.function.d.ts +7 -7
- package/test/src/lib/firebase/firebase.function.d.ts +20 -81
- package/test/src/lib/firebase/firebase.test.d.ts +0 -9
- package/twilio/index.esm.js +11 -14
- package/twilio/package.json +8 -8
- package/zoho/index.esm.js +72 -132
- package/zoho/package.json +12 -12
- package/zoho/src/lib/zoho.accounts.firebase.system.d.ts +0 -10
package/model/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_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, iterateFirestoreDocumentSnapshotPairs, storageFilesQueuedForProcessingQuery, firestoreDummyKey, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, StorageFileState, createNotificationDocument, storageFileProcessingNotificationTaskTemplate, storageFilesQueuedForDeleteQuery, storageFileDisplayFileName, loadStorageFileGroupDocumentForReferencePair, inferKeyFromTwoWayFlatFirestoreModelKey, calculateStorageFileGroupEmbeddedFileUpdate, loadDocumentsForIds, getDocumentSnapshotDataPairs, 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, CALENDAR_ICS_DOMAIN_NOT_CONFIGURED_ERROR_CODE, CALENDAR_ICS_ROTATE_THROTTLED_ERROR_CODE, CALENDAR_ICS_STORAGE_FILE_UNAVAILABLE_ERROR_CODE, flagStaleCalendarsForSyncParamsType, rotateCalendarIcsParamsType, syncAllFlaggedCalendarsParamsType, syncCalendarParamsType, CALENDAR_ICS_STORAGE_FILE_PURPOSE, calendarIcsFileStoragePath, pruneCalendarEvents, calendarNextIcsRotateAt, isCalendarIcsRotateThrottled, calendarsFlaggedForSyncQuery, DEFAULT_CALENDAR_RESYNC_INTERVAL, calendarsDueForResyncQuery, AppCalendarTypeConfigService, appCalendarTypeConfigService, calendarTypeConfigRecord, CALENDAR_ICS_STORAGE_FILE_PURPOSE_GENERATE_ICS_SUBTASK, notificationSubtaskComplete, calendarToIcsString, calendarTypeConfigIcsExpansionRange, calendarTypeConfigIcsConfig, notificationTaskComplete, _createNotificationDocumentFromPair, createNotificationDocumentPair, FORM_SPACE_ALREADY_EXISTS_ERROR_CODE, FORM_SPACE_FILE_ACCESS_DENIED_ERROR_CODE, FORM_SPACE_FILE_NOT_FOUND_ERROR_CODE, FORM_SPACE_HAS_INVALID_FILES_ERROR_CODE, FORM_SPACE_NOT_EDITABLE_ERROR_CODE, FORM_SPACE_NOT_FOUND_ERROR_CODE, FORM_SPACE_REQUIRED_SLOT_MISSING_ERROR_CODE, FORM_SPACE_TYPE_MISMATCH_ERROR_CODE, FORM_SPACE_TYPE_NOT_REGISTERED_ERROR_CODE, FORM_SPACE_UPLOAD_NOT_ALLOWED_ERROR_CODE, FORM_SPACE_UPLOAD_USER_MISMATCH_ERROR_CODE, FORM_SPACE_VALIDATION_PENDING_ERROR_CODE, createFormSpaceParamsType, deleteFormSpaceParamsType, expireAllExpiredFormSpacesParamsType, processAllQueuedFormSpacesParamsType, removeFormSpaceFileParamsType, submitFormSpaceParamsType, updateFormSpaceParamsType, formSpaceTemplate, resolveFormSpaceExpiresAt, isFormSpaceEditable, formSpaceSubmitBlockers, submitFormSpaceTemplate, formSpaceFilesInSlot, isFormSpaceFileAccessibleByUser, FormSpaceProcessingState, formSpaceSubmissionNotificationTaskTemplate, storageFilesForFormSpaceQuery, formSpacesQueuedForProcessingQuery, expireFormSpaceTemplate, formSpacesDueForExpirationQuery, AppFormSpaceTypeConfigService, appFormSpaceTypeConfigService, formSpaceTypeConfigRecord, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, completeSubtaskProcessingAndScheduleCleanupTaskResult, delayCompletion, notificationTaskDelayRetry, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE, FormSpaceState, getDocumentSnapshotData, storedFileReaderFactory, limitUploadFileTypeDeterminer, combineUploadFileTypeDeterminers, STORAGEFILE_RELATED_FILE_METADATA_KEY, copyStoragePath, storageFilePurposeAndUserQuery, determineUserByUserUploadsFolderWrapperFunction, determineByFilePath, FORM_SPACE_UPLOADED_FILE_TYPE_IDENTIFIER, FORM_SPACE_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, FormSpaceFileValidationState, formSpaceFileSlotConfig, formSpaceSlotMaxFiles, FORM_SPACE_PURPOSE, formSpaceStorageFileGroupId, formSpaceFileStoragePath, formSpaceUploadFileNameDetails, parseFormSpaceUploadPath, assertFormSpaceUploadAllowed, FORM_SPACE_PURPOSE_REGISTER_SUBTASK, FORM_SPACE_PURPOSE_VALIDATE_SUBTASK, inferStorageFileGroupRelatedModelKey, notificationHealthCheckIssue, KnownNotificationHealthCheckIssueCode, NotificationHealthCheckStatus, MailgunNotificationHealthCheckIssueCode, untrackableNotificationHealthCheckProbe, DEFAULT_NOTIFICATION_MESSAGE_CALENDAR_ATTACHMENT_FILENAME, 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, mergeNotificationBoxRecipients, mergeNotificationUserNotificationBoxRecipientConfigs, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, mergeNotificationBoxRecipientTemplateConfigs, notificationSendExclusionCanSendFunction, mergeNotificationUserDefaultNotificationBoxRecipientConfig, NotificationRecipientSendFlag, allowedNotificationRecipients, getDocumentSnapshotDataPairsWithData, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, createNotificationBoxParamsType, createNotificationSummaryParamsType, createNotificationUserParamsType, resyncNotificationUserParamsType, sendNotificationParamsType, sendQueuedNotificationsParamsType, updateNotificationBoxParamsType, updateNotificationBoxRecipientParamsType, updateNotificationSummaryParamsType, updateNotificationUserParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigs, calculateNsForNotificationUserNotificationBoxRecipientConfigs, notificationUsersFlaggedForNeedsSyncQuery, notificationSummaryIdForModel, loadNotificationBoxDocumentForReferencePair, updateNotificationUserNotificationSendExclusions, notificationBoxRecipientTemplateConfigArrayToRecord, updateNotificationRecipient, setIdAndKeyFromKeyIdRefOnDocumentData, NotificationSendType, notificationSendFlagsImplyIsComplete, NotificationSendState, mergeNotificationSendMessagesResult, notificationsPastSendAtTimeQuery, loadDocumentsForDocumentReferencesFromValues, notificationLoggedEventDayId, shouldSaveNotificationToNotificationWeek, notificationsReadyForCleanupQuery, notificationLoggedEventDaysOlderThanQuery, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeNotificationModelParamsType, firestoreModelKeyCollectionName, notificationBoxesFlaggedForNeedsInitializationQuery, notificationSummariesFlaggedForNeedsInitializationQuery, noContentNotificationMessageFunctionFactory, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, sortNotificationItemsFunction, NOTIFICATION_SUMMARY_ITEM_LIMIT, initializeAllApplicableStorageFileGroupsParamsType, initializeStorageFileModelParamsType, storageFileGroupsFlaggedForNeedsInitializationQuery, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, firestoreModelIdentity, systemStateConverter, systemStateStoredDataConverterFactory, AbstractFirestoreDocument, schedulerSystemStateRead, loadSchedulerSystemState, SCHEDULER_SYSTEM_STATE_TYPE, copyUserRelatedDataAccessorFactoryFunction, snapshotConverterFunctions, firestoreDate, firestoreUID, emptyUserExternalConnection, userExternalConnectionEntryForOutcome, applyUserExternalConnectionEntry } from '@dereekb/firebase';
|
|
1
|
+
import { STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_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, iterateFirestoreDocumentSnapshotPairs, storageFilesQueuedForProcessingQuery, firestoreDummyKey, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, StorageFileState, createNotificationDocument, storageFileProcessingNotificationTaskTemplate, storageFilesQueuedForDeleteQuery, storageFileDisplayFileName, loadStorageFileGroupDocumentForReferencePair, inferKeyFromTwoWayFlatFirestoreModelKey, calculateStorageFileGroupEmbeddedFileUpdate, loadDocumentsForIds, getDocumentSnapshotDataPairs, 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, CALENDAR_ICS_DOMAIN_NOT_CONFIGURED_ERROR_CODE, CALENDAR_ICS_ROTATE_THROTTLED_ERROR_CODE, CALENDAR_ICS_STORAGE_FILE_UNAVAILABLE_ERROR_CODE, flagStaleCalendarsForSyncParamsType, rotateCalendarIcsParamsType, syncAllFlaggedCalendarsParamsType, syncCalendarParamsType, CALENDAR_ICS_STORAGE_FILE_PURPOSE, calendarIcsFileStoragePath, pruneCalendarEvents, calendarNextIcsRotateAt, isCalendarIcsRotateThrottled, calendarsFlaggedForSyncQuery, DEFAULT_CALENDAR_RESYNC_INTERVAL, calendarsDueForResyncQuery, AppCalendarTypeConfigService, appCalendarTypeConfigService, calendarTypeConfigRecord, CALENDAR_ICS_STORAGE_FILE_PURPOSE_GENERATE_ICS_SUBTASK, notificationSubtaskComplete, calendarToIcsString, calendarTypeConfigIcsExpansionRange, calendarTypeConfigIcsConfig, notificationTaskComplete, _createNotificationDocumentFromPair, createNotificationDocumentPair, FORM_SPACE_ALREADY_EXISTS_ERROR_CODE, FORM_SPACE_FILE_ACCESS_DENIED_ERROR_CODE, FORM_SPACE_FILE_NOT_FOUND_ERROR_CODE, FORM_SPACE_HAS_INVALID_FILES_ERROR_CODE, FORM_SPACE_NOT_EDITABLE_ERROR_CODE, FORM_SPACE_NOT_FOUND_ERROR_CODE, FORM_SPACE_NOT_REOPENABLE_ERROR_CODE, FORM_SPACE_NOT_SUBMITTED_ERROR_CODE, FORM_SPACE_PROCESSING_IN_PROGRESS_ERROR_CODE, FORM_SPACE_REQUIRED_SLOT_MISSING_ERROR_CODE, FORM_SPACE_TYPE_MISMATCH_ERROR_CODE, FORM_SPACE_TYPE_NOT_REGISTERED_ERROR_CODE, FORM_SPACE_UPLOAD_NOT_ALLOWED_ERROR_CODE, FORM_SPACE_UPLOAD_USER_MISMATCH_ERROR_CODE, FORM_SPACE_VALIDATION_PENDING_ERROR_CODE, createFormSpaceParamsType, deleteFormSpaceParamsType, expireAllExpiredFormSpacesParamsType, lockFormSpaceParamsType, processAllQueuedFormSpacesParamsType, removeFormSpaceFileParamsType, reopenFormSpaceParamsType, submitFormSpaceParamsType, updateFormSpaceParamsType, formSpaceTemplate, resolveFormSpaceExpiresAt, isFormSpaceEditable, formSpaceSubmitBlockers, submitFormSpaceTemplate, isFormSpaceReopenable, FormSpaceProcessingState, reopenFormSpaceTemplate, lockFormSpaceTemplate, formSpaceFilesInSlot, isFormSpaceFileAccessibleByUser, formSpaceSubmissionNotificationTaskTemplate, storageFilesForFormSpaceQuery, formSpacesQueuedForProcessingQuery, expireFormSpaceTemplate, formSpacesDueForExpirationQuery, AppFormSpaceTypeConfigService, appFormSpaceTypeConfigService, formSpaceTypeConfigRecord, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, completeSubtaskProcessingAndScheduleCleanupTaskResult, delayCompletion, notificationTaskDelayRetry, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE, FormSpaceState, getDocumentSnapshotData, storedFileReaderFactory, limitUploadFileTypeDeterminer, combineUploadFileTypeDeterminers, STORAGEFILE_RELATED_FILE_METADATA_KEY, copyStoragePath, storageFilePurposeAndUserQuery, determineUserByUserUploadsFolderWrapperFunction, determineByFilePath, FORM_SPACE_UPLOADED_FILE_TYPE_IDENTIFIER, FORM_SPACE_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, FormSpaceFileValidationState, formSpaceFileSlotConfig, formSpaceSlotMaxFiles, FORM_SPACE_PURPOSE, formSpaceStorageFileGroupId, formSpaceFileStoragePath, formSpaceUploadFileNameDetails, parseFormSpaceUploadPath, assertFormSpaceUploadAllowed, FORM_SPACE_PURPOSE_REGISTER_SUBTASK, FORM_SPACE_PURPOSE_VALIDATE_SUBTASK, inferStorageFileGroupRelatedModelKey, notificationHealthCheckIssue, KnownNotificationHealthCheckIssueCode, NotificationHealthCheckStatus, MailgunNotificationHealthCheckIssueCode, untrackableNotificationHealthCheckProbe, DEFAULT_NOTIFICATION_MESSAGE_CALENDAR_ATTACHMENT_FILENAME, 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, mergeNotificationBoxRecipients, mergeNotificationUserNotificationBoxRecipientConfigs, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, mergeNotificationBoxRecipientTemplateConfigs, notificationSendExclusionCanSendFunction, mergeNotificationUserDefaultNotificationBoxRecipientConfig, NotificationRecipientSendFlag, allowedNotificationRecipients, getDocumentSnapshotDataPairsWithData, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, createNotificationBoxParamsType, createNotificationSummaryParamsType, createNotificationUserParamsType, resyncNotificationUserParamsType, sendNotificationParamsType, sendQueuedNotificationsParamsType, updateNotificationBoxParamsType, updateNotificationBoxRecipientParamsType, updateNotificationSummaryParamsType, updateNotificationUserParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigs, calculateNsForNotificationUserNotificationBoxRecipientConfigs, notificationUsersFlaggedForNeedsSyncQuery, notificationSummaryIdForModel, loadNotificationBoxDocumentForReferencePair, updateNotificationUserNotificationSendExclusions, notificationBoxRecipientTemplateConfigArrayToRecord, updateNotificationRecipient, setIdAndKeyFromKeyIdRefOnDocumentData, NotificationSendType, notificationSendFlagsImplyIsComplete, NotificationSendState, mergeNotificationSendMessagesResult, notificationsPastSendAtTimeQuery, loadDocumentsForDocumentReferencesFromValues, notificationLoggedEventDayId, shouldSaveNotificationToNotificationWeek, notificationsReadyForCleanupQuery, notificationLoggedEventDaysOlderThanQuery, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeNotificationModelParamsType, firestoreModelKeyCollectionName, notificationBoxesFlaggedForNeedsInitializationQuery, notificationSummariesFlaggedForNeedsInitializationQuery, noContentNotificationMessageFunctionFactory, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, sortNotificationItemsFunction, NOTIFICATION_SUMMARY_ITEM_LIMIT, initializeAllApplicableStorageFileGroupsParamsType, initializeStorageFileModelParamsType, storageFileGroupsFlaggedForNeedsInitializationQuery, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, firestoreModelIdentity, systemStateConverter, systemStateStoredDataConverterFactory, AbstractFirestoreDocument, schedulerSystemStateRead, loadSchedulerSystemState, SCHEDULER_SYSTEM_STATE_TYPE, copyUserRelatedDataAccessorFactoryFunction, snapshotConverterFunctions, firestoreDate, firestoreUID, emptyUserExternalConnection, userExternalConnectionEntryForOutcome, applyUserExternalConnectionEntry } from '@dereekb/firebase';
|
|
2
2
|
import { preconditionConflictError, internalServerError, assertSnapshotData, badRequestError, unavailableError, FIREBASE_FIRESTORE_CONTEXT_TOKEN, FirebaseServerFirestoreContextModule, firestoreEncryptedField, FirebaseServerEnvService } from '@dereekb/firebase-server';
|
|
3
3
|
import { addDays, subMilliseconds, isAfter, hoursToMilliseconds, addHours, isFuture, addMinutes, addSeconds } from 'date-fns';
|
|
4
4
|
import { addMilliseconds, mergeSlashPaths, ModelRelationUtility, isThrottled, isPast, performAsyncTasks, unixDateTimeSecondsNumberFromDate, MS_IN_MINUTE, expirationDetails, runAsyncTasksForValues, dateFromDateOrTimeMillisecondsNumber, asArray, TEXT_CALENDAR_UTF8_CONTENT_TYPE, separateValues, unique, cachedGetter, pushItemOrArrayItemsIntoArray, asDecisionFunction, filterUndefinedValues, mapObjectKeysToLowercase, multiValueMapBuilder, batch, pushArrayItemsIntoArray, filterMaybeArrayValues, takeFront, UNSET_INDEX_NUMBER, areEqualPOJOValues, removeValuesAtIndexesFromArrayCopy, makeModelMap, computeNextFreeIndexOnSortedValuesFunction, readIndexNumber, asPromise, dateOrMillisecondsToDate, filterOnlyUndefinedValues, iterablesAreSetEquivalent, mapIdentityFunction, makeValuesGroupMap, cutStringFunction, takeLast, MS_IN_HOUR, documentFileExtensionForMimeType, useCallback, slashPathDetails, ZIP_FILE_MIME_TYPE, MAP_IDENTITY, isDate } from '@dereekb/util';
|
|
@@ -10,7 +10,7 @@ import { Optional, Inject, Injectable, Module, Global, Get, Req, Res, Query, Log
|
|
|
10
10
|
import sharp from 'sharp';
|
|
11
11
|
import { inflateSync } from 'node:zlib';
|
|
12
12
|
import { PDFName, PDFDocument, PDFRawStream, PDFArray, PDFNumber, PDFStream, PDFDict, PDFRef } from '@cantoo/pdf-lib';
|
|
13
|
-
import
|
|
13
|
+
import { ZipArchive } from 'archiver';
|
|
14
14
|
import { createAES256GCMEncryption, isValidAES256GCMEncryptionSecret } from '@dereekb/nestjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -174,11 +174,8 @@ function asyncGeneratorStep$x(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
174
174
|
reject(error);
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
if (info.done)
|
|
178
|
-
|
|
179
|
-
} else {
|
|
180
|
-
Promise.resolve(value).then(_next, _throw);
|
|
181
|
-
}
|
|
177
|
+
if (info.done) resolve(value);
|
|
178
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
182
179
|
}
|
|
183
180
|
function _async_to_generator$x(fn) {
|
|
184
181
|
return function() {
|
|
@@ -196,9 +193,7 @@ function _async_to_generator$x(fn) {
|
|
|
196
193
|
};
|
|
197
194
|
}
|
|
198
195
|
function _class_call_check$p(instance, Constructor) {
|
|
199
|
-
if (!(instance instanceof Constructor))
|
|
200
|
-
throw new TypeError("Cannot call a class as a function");
|
|
201
|
-
}
|
|
196
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
202
197
|
}
|
|
203
198
|
function _define_property$s(obj, key, value) {
|
|
204
199
|
if (key in obj) {
|
|
@@ -208,18 +203,14 @@ function _define_property$s(obj, key, value) {
|
|
|
208
203
|
configurable: true,
|
|
209
204
|
writable: true
|
|
210
205
|
});
|
|
211
|
-
} else
|
|
212
|
-
obj[key] = value;
|
|
213
|
-
}
|
|
206
|
+
} else obj[key] = value;
|
|
214
207
|
return obj;
|
|
215
208
|
}
|
|
216
209
|
function _instanceof$2(left, right) {
|
|
217
210
|
"@swc/helpers - instanceof";
|
|
218
211
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
219
212
|
return !!right[Symbol.hasInstance](left);
|
|
220
|
-
} else
|
|
221
|
-
return left instanceof right;
|
|
222
|
-
}
|
|
213
|
+
} else return left instanceof right;
|
|
223
214
|
}
|
|
224
215
|
function _iterable_to_array_limit$7(arr, i) {
|
|
225
216
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -246,7 +237,7 @@ function _iterable_to_array_limit$7(arr, i) {
|
|
|
246
237
|
return _arr;
|
|
247
238
|
}
|
|
248
239
|
function _non_iterable_rest$7() {
|
|
249
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
240
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
250
241
|
}
|
|
251
242
|
function _object_spread$q(target) {
|
|
252
243
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -273,9 +264,8 @@ function ownKeys$o(object, enumerableOnly) {
|
|
|
273
264
|
}
|
|
274
265
|
function _object_spread_props$o(target, source) {
|
|
275
266
|
source = source != null ? source : {};
|
|
276
|
-
if (Object.getOwnPropertyDescriptors)
|
|
277
|
-
|
|
278
|
-
} else {
|
|
267
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
268
|
+
else {
|
|
279
269
|
ownKeys$o(Object(source)).forEach(function(key) {
|
|
280
270
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
281
271
|
});
|
|
@@ -285,14 +275,6 @@ function _object_spread_props$o(target, source) {
|
|
|
285
275
|
function _sliced_to_array$7(arr, i) {
|
|
286
276
|
return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$7();
|
|
287
277
|
}
|
|
288
|
-
function _unsupported_iterable_to_array$j(o, minLen) {
|
|
289
|
-
if (!o) return;
|
|
290
|
-
if (typeof o === "string") return _array_like_to_array$j(o, minLen);
|
|
291
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
292
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
293
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
294
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
|
|
295
|
-
}
|
|
296
278
|
function _ts_generator$x(thisArg, body) {
|
|
297
279
|
var f, y, t, _ = {
|
|
298
280
|
label: 0,
|
|
@@ -392,6 +374,14 @@ function _ts_generator$x(thisArg, body) {
|
|
|
392
374
|
};
|
|
393
375
|
}
|
|
394
376
|
}
|
|
377
|
+
function _unsupported_iterable_to_array$j(o, minLen) {
|
|
378
|
+
if (!o) return;
|
|
379
|
+
if (typeof o === "string") return _array_like_to_array$j(o, minLen);
|
|
380
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
381
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
382
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
383
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
|
|
384
|
+
}
|
|
395
385
|
/**
|
|
396
386
|
* NestJS injection token for the {@link BaseStorageFileServerActionsContext}, providing
|
|
397
387
|
* Firebase infrastructure, storage service, notification collections, and Firestore collections
|
|
@@ -3004,11 +2994,8 @@ function asyncGeneratorStep$w(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
3004
2994
|
reject(error);
|
|
3005
2995
|
return;
|
|
3006
2996
|
}
|
|
3007
|
-
if (info.done)
|
|
3008
|
-
|
|
3009
|
-
} else {
|
|
3010
|
-
Promise.resolve(value).then(_next, _throw);
|
|
3011
|
-
}
|
|
2997
|
+
if (info.done) resolve(value);
|
|
2998
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
3012
2999
|
}
|
|
3013
3000
|
function _async_to_generator$w(fn) {
|
|
3014
3001
|
return function() {
|
|
@@ -3255,11 +3242,8 @@ function asyncGeneratorStep$v(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
3255
3242
|
reject(error);
|
|
3256
3243
|
return;
|
|
3257
3244
|
}
|
|
3258
|
-
if (info.done)
|
|
3259
|
-
|
|
3260
|
-
} else {
|
|
3261
|
-
Promise.resolve(value).then(_next, _throw);
|
|
3262
|
-
}
|
|
3245
|
+
if (info.done) resolve(value);
|
|
3246
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
3263
3247
|
}
|
|
3264
3248
|
function _async_to_generator$v(fn) {
|
|
3265
3249
|
return function() {
|
|
@@ -3277,9 +3261,7 @@ function _async_to_generator$v(fn) {
|
|
|
3277
3261
|
};
|
|
3278
3262
|
}
|
|
3279
3263
|
function _class_call_check$o(instance, Constructor) {
|
|
3280
|
-
if (!(instance instanceof Constructor))
|
|
3281
|
-
throw new TypeError("Cannot call a class as a function");
|
|
3282
|
-
}
|
|
3264
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
3283
3265
|
}
|
|
3284
3266
|
function _ts_generator$v(thisArg, body) {
|
|
3285
3267
|
var f, y, t, _ = {
|
|
@@ -3382,16 +3364,22 @@ function _ts_generator$v(thisArg, body) {
|
|
|
3382
3364
|
}
|
|
3383
3365
|
function _ts_values(o) {
|
|
3384
3366
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
3385
|
-
if (m)
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3367
|
+
if (m) {
|
|
3368
|
+
return m.call(o);
|
|
3369
|
+
}
|
|
3370
|
+
if (o && typeof o.length === "number") {
|
|
3371
|
+
return {
|
|
3372
|
+
next: function() {
|
|
3373
|
+
if (o && i >= o.length) {
|
|
3374
|
+
o = void 0;
|
|
3375
|
+
}
|
|
3376
|
+
return {
|
|
3377
|
+
value: o && o[i++],
|
|
3378
|
+
done: !o
|
|
3379
|
+
};
|
|
3380
|
+
}
|
|
3381
|
+
};
|
|
3382
|
+
}
|
|
3395
3383
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3396
3384
|
}
|
|
3397
3385
|
/**
|
|
@@ -4116,16 +4104,16 @@ function _define_property$r(obj, key, value) {
|
|
|
4116
4104
|
configurable: true,
|
|
4117
4105
|
writable: true
|
|
4118
4106
|
});
|
|
4119
|
-
} else
|
|
4120
|
-
obj[key] = value;
|
|
4121
|
-
}
|
|
4107
|
+
} else obj[key] = value;
|
|
4122
4108
|
return obj;
|
|
4123
4109
|
}
|
|
4124
4110
|
function _iterable_to_array$f(iter) {
|
|
4125
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
4111
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
4112
|
+
return Array.from(iter);
|
|
4113
|
+
}
|
|
4126
4114
|
}
|
|
4127
4115
|
function _non_iterable_spread$f() {
|
|
4128
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
4116
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
4129
4117
|
}
|
|
4130
4118
|
function _object_spread$p(target) {
|
|
4131
4119
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -4152,9 +4140,8 @@ function ownKeys$n(object, enumerableOnly) {
|
|
|
4152
4140
|
}
|
|
4153
4141
|
function _object_spread_props$n(target, source) {
|
|
4154
4142
|
source = source != null ? source : {};
|
|
4155
|
-
if (Object.getOwnPropertyDescriptors)
|
|
4156
|
-
|
|
4157
|
-
} else {
|
|
4143
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4144
|
+
else {
|
|
4158
4145
|
ownKeys$n(Object(source)).forEach(function(key) {
|
|
4159
4146
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4160
4147
|
});
|
|
@@ -4277,11 +4264,8 @@ function asyncGeneratorStep$u(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
4277
4264
|
reject(error);
|
|
4278
4265
|
return;
|
|
4279
4266
|
}
|
|
4280
|
-
if (info.done)
|
|
4281
|
-
|
|
4282
|
-
} else {
|
|
4283
|
-
Promise.resolve(value).then(_next, _throw);
|
|
4284
|
-
}
|
|
4267
|
+
if (info.done) resolve(value);
|
|
4268
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
4285
4269
|
}
|
|
4286
4270
|
function _async_to_generator$u(fn) {
|
|
4287
4271
|
return function() {
|
|
@@ -4306,9 +4290,7 @@ function _define_property$q(obj, key, value) {
|
|
|
4306
4290
|
configurable: true,
|
|
4307
4291
|
writable: true
|
|
4308
4292
|
});
|
|
4309
|
-
} else
|
|
4310
|
-
obj[key] = value;
|
|
4311
|
-
}
|
|
4293
|
+
} else obj[key] = value;
|
|
4312
4294
|
return obj;
|
|
4313
4295
|
}
|
|
4314
4296
|
function _object_spread$o(target) {
|
|
@@ -4336,9 +4318,8 @@ function ownKeys$m(object, enumerableOnly) {
|
|
|
4336
4318
|
}
|
|
4337
4319
|
function _object_spread_props$m(target, source) {
|
|
4338
4320
|
source = source != null ? source : {};
|
|
4339
|
-
if (Object.getOwnPropertyDescriptors)
|
|
4340
|
-
|
|
4341
|
-
} else {
|
|
4321
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4322
|
+
else {
|
|
4342
4323
|
ownKeys$m(Object(source)).forEach(function(key) {
|
|
4343
4324
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4344
4325
|
});
|
|
@@ -4679,11 +4660,8 @@ function asyncGeneratorStep$t(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
4679
4660
|
reject(error);
|
|
4680
4661
|
return;
|
|
4681
4662
|
}
|
|
4682
|
-
if (info.done)
|
|
4683
|
-
|
|
4684
|
-
} else {
|
|
4685
|
-
Promise.resolve(value).then(_next, _throw);
|
|
4686
|
-
}
|
|
4663
|
+
if (info.done) resolve(value);
|
|
4664
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
4687
4665
|
}
|
|
4688
4666
|
function _async_to_generator$t(fn) {
|
|
4689
4667
|
return function() {
|
|
@@ -4708,9 +4686,7 @@ function _define_property$p(obj, key, value) {
|
|
|
4708
4686
|
configurable: true,
|
|
4709
4687
|
writable: true
|
|
4710
4688
|
});
|
|
4711
|
-
} else
|
|
4712
|
-
obj[key] = value;
|
|
4713
|
-
}
|
|
4689
|
+
} else obj[key] = value;
|
|
4714
4690
|
return obj;
|
|
4715
4691
|
}
|
|
4716
4692
|
function _object_spread$n(target) {
|
|
@@ -4738,9 +4714,8 @@ function ownKeys$l(object, enumerableOnly) {
|
|
|
4738
4714
|
}
|
|
4739
4715
|
function _object_spread_props$l(target, source) {
|
|
4740
4716
|
source = source != null ? source : {};
|
|
4741
|
-
if (Object.getOwnPropertyDescriptors)
|
|
4742
|
-
|
|
4743
|
-
} else {
|
|
4717
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4718
|
+
else {
|
|
4744
4719
|
ownKeys$l(Object(source)).forEach(function(key) {
|
|
4745
4720
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4746
4721
|
});
|
|
@@ -5020,6 +4995,39 @@ function _ts_generator$t(thisArg, body) {
|
|
|
5020
4995
|
code: FORM_SPACE_NOT_EDITABLE_ERROR_CODE
|
|
5021
4996
|
});
|
|
5022
4997
|
}
|
|
4998
|
+
/**
|
|
4999
|
+
* Creates an error indicating the FormSpace has never been submitted, so there is no submission to lock.
|
|
5000
|
+
*
|
|
5001
|
+
* @returns A precondition-conflict HttpsError with the FORM_SPACE_NOT_SUBMITTED error code.
|
|
5002
|
+
*/ function formSpaceNotSubmittedError() {
|
|
5003
|
+
return preconditionConflictError({
|
|
5004
|
+
message: "This FormSpace has not been submitted, so its submission cannot be locked.",
|
|
5005
|
+
code: FORM_SPACE_NOT_SUBMITTED_ERROR_CODE
|
|
5006
|
+
});
|
|
5007
|
+
}
|
|
5008
|
+
/**
|
|
5009
|
+
* Creates an error indicating the FormSpace's submission is final, so it cannot be reopened.
|
|
5010
|
+
*
|
|
5011
|
+
* @returns A precondition-conflict HttpsError with the FORM_SPACE_NOT_REOPENABLE error code.
|
|
5012
|
+
*/ function formSpaceNotReopenableError() {
|
|
5013
|
+
return preconditionConflictError({
|
|
5014
|
+
message: "This FormSpace's submission is final and can no longer be reopened.",
|
|
5015
|
+
code: FORM_SPACE_NOT_REOPENABLE_ERROR_CODE
|
|
5016
|
+
});
|
|
5017
|
+
}
|
|
5018
|
+
/**
|
|
5019
|
+
* Creates an error indicating the FormSpace's submission is being processed right now.
|
|
5020
|
+
*
|
|
5021
|
+
* Deliberately separate from {@link formSpaceNotReopenableError}: this one clears on its own, and telling
|
|
5022
|
+
* a caller their submission is final when the processor is simply mid-run would be wrong.
|
|
5023
|
+
*
|
|
5024
|
+
* @returns A precondition-conflict HttpsError with the FORM_SPACE_PROCESSING_IN_PROGRESS error code.
|
|
5025
|
+
*/ function formSpaceProcessingInProgressError() {
|
|
5026
|
+
return preconditionConflictError({
|
|
5027
|
+
message: "This FormSpace's submission is currently being processed. Try again once it finishes.",
|
|
5028
|
+
code: FORM_SPACE_PROCESSING_IN_PROGRESS_ERROR_CODE
|
|
5029
|
+
});
|
|
5030
|
+
}
|
|
5023
5031
|
/**
|
|
5024
5032
|
* Creates an error indicating a required upload slot is still empty at submission time.
|
|
5025
5033
|
*
|
|
@@ -5187,11 +5195,8 @@ function asyncGeneratorStep$s(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
5187
5195
|
reject(error);
|
|
5188
5196
|
return;
|
|
5189
5197
|
}
|
|
5190
|
-
if (info.done)
|
|
5191
|
-
|
|
5192
|
-
} else {
|
|
5193
|
-
Promise.resolve(value).then(_next, _throw);
|
|
5194
|
-
}
|
|
5198
|
+
if (info.done) resolve(value);
|
|
5199
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
5195
5200
|
}
|
|
5196
5201
|
function _async_to_generator$s(fn) {
|
|
5197
5202
|
return function() {
|
|
@@ -5209,9 +5214,7 @@ function _async_to_generator$s(fn) {
|
|
|
5209
5214
|
};
|
|
5210
5215
|
}
|
|
5211
5216
|
function _class_call_check$n(instance, Constructor) {
|
|
5212
|
-
if (!(instance instanceof Constructor))
|
|
5213
|
-
throw new TypeError("Cannot call a class as a function");
|
|
5214
|
-
}
|
|
5217
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5215
5218
|
}
|
|
5216
5219
|
function _ts_generator$s(thisArg, body) {
|
|
5217
5220
|
var f, y, t, _ = {
|
|
@@ -5341,6 +5344,8 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5341
5344
|
createFormSpace: createFormSpaceFactory(context),
|
|
5342
5345
|
updateFormSpace: updateFormSpaceFactory(context),
|
|
5343
5346
|
submitFormSpace: submitFormSpaceFactory(context),
|
|
5347
|
+
reopenFormSpace: reopenFormSpaceFactory(context),
|
|
5348
|
+
lockFormSpace: lockFormSpaceFactory(context),
|
|
5344
5349
|
removeFormSpaceFile: removeFormSpaceFileFactory(context),
|
|
5345
5350
|
deleteFormSpace: deleteFormSpaceFactory(context),
|
|
5346
5351
|
processAllQueuedFormSpaces: processAllQueuedFormSpacesFactory(context),
|
|
@@ -5563,6 +5568,11 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5563
5568
|
* would hold the lock across the whole handler. A crash in between leaves the space in
|
|
5564
5569
|
* QUEUED_FOR_PROCESSING with no task, which {@link processAllQueuedFormSpacesFactory} is the backstop for.
|
|
5565
5570
|
*
|
|
5571
|
+
* Also serves a RESUBMISSION after a reopen, unchanged: the space is a draft again, so the same editable
|
|
5572
|
+
* check and the same submit blockers apply. The only difference is that the task is keyed by the space's
|
|
5573
|
+
* reopen count, so it gets a document and a checkpoint flow of its own instead of colliding with the
|
|
5574
|
+
* finished task of the attempt before it.
|
|
5575
|
+
*
|
|
5566
5576
|
* @param context - The FormSpace server actions context.
|
|
5567
5577
|
* @returns An async transform-and-validate function that submits a FormSpace.
|
|
5568
5578
|
*/ function submitFormSpaceFactory(context) {
|
|
@@ -5577,9 +5587,13 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5577
5587
|
2,
|
|
5578
5588
|
function(formSpaceDocument) {
|
|
5579
5589
|
return _async_to_generator$s(function() {
|
|
5590
|
+
var reopenCount;
|
|
5580
5591
|
return _ts_generator$s(this, function(_state) {
|
|
5581
5592
|
switch(_state.label){
|
|
5582
5593
|
case 0:
|
|
5594
|
+
// read under the lock and carried out, so the task is keyed to the attempt this submission IS rather
|
|
5595
|
+
// than to whatever the count happens to be by the time the task is created outside the transaction
|
|
5596
|
+
reopenCount = 0;
|
|
5583
5597
|
return [
|
|
5584
5598
|
4,
|
|
5585
5599
|
firestoreContext.runTransaction(function(transaction) {
|
|
@@ -5629,10 +5643,195 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5629
5643
|
}
|
|
5630
5644
|
return [
|
|
5631
5645
|
4,
|
|
5632
|
-
documentInTransaction.update(submitFormSpaceTemplate(
|
|
5646
|
+
documentInTransaction.update(submitFormSpaceTemplate({
|
|
5647
|
+
formSpace: current,
|
|
5648
|
+
config: config
|
|
5649
|
+
}))
|
|
5650
|
+
];
|
|
5651
|
+
case 2:
|
|
5652
|
+
_state.sent();
|
|
5653
|
+
reopenCount = current.rc;
|
|
5654
|
+
return [
|
|
5655
|
+
2
|
|
5656
|
+
];
|
|
5657
|
+
}
|
|
5658
|
+
});
|
|
5659
|
+
})();
|
|
5660
|
+
})
|
|
5661
|
+
];
|
|
5662
|
+
case 1:
|
|
5663
|
+
_state.sent();
|
|
5664
|
+
return [
|
|
5665
|
+
2,
|
|
5666
|
+
queueFormSpaceForProcessing({
|
|
5667
|
+
formSpaceDocument: formSpaceDocument,
|
|
5668
|
+
reopenCount: reopenCount,
|
|
5669
|
+
runImmediately: runImmediately
|
|
5670
|
+
})
|
|
5671
|
+
];
|
|
5672
|
+
}
|
|
5673
|
+
});
|
|
5674
|
+
})();
|
|
5675
|
+
}
|
|
5676
|
+
];
|
|
5677
|
+
});
|
|
5678
|
+
})();
|
|
5679
|
+
});
|
|
5680
|
+
}
|
|
5681
|
+
/**
|
|
5682
|
+
* Factory for the `reopenFormSpace` action.
|
|
5683
|
+
*
|
|
5684
|
+
* The inverse of `submitFormSpace`, and deliberately NOT a widening of `isFormSpaceEditable`: it restores
|
|
5685
|
+
* every condition that predicate tests instead, so update, upload, `removeFile` and a resubmit all come
|
|
5686
|
+
* back with no further change anywhere.
|
|
5687
|
+
*
|
|
5688
|
+
* The reopen task story is handled by KEYING rather than cleanup. The superseded attempt's task document is
|
|
5689
|
+
* left where it is: it is either already done and waiting for the notification cleanup sweep, or still
|
|
5690
|
+
* pending and about to be fenced off by its own handler, which compares the count it was created with
|
|
5691
|
+
* against the space's. Deleting it here would mean reaching into a Notification subcollection whose parent
|
|
5692
|
+
* this action cannot reconstruct once the task's own cleanup has nulled `pn` — for no gain, since the
|
|
5693
|
+
* resubmission keys a document of its own either way.
|
|
5694
|
+
*
|
|
5695
|
+
* @param context - The FormSpace server actions context.
|
|
5696
|
+
* @returns An async transform-and-validate function that reopens a submitted FormSpace.
|
|
5697
|
+
*/ function reopenFormSpaceFactory(context) {
|
|
5698
|
+
var firestoreContext = context.firestoreContext, formSpaceCollection = context.formSpaceCollection, appFormSpaceTypeConfigService = context.appFormSpaceTypeConfigService, firebaseServerActionTransformFunctionFactory = context.firebaseServerActionTransformFunctionFactory;
|
|
5699
|
+
return firebaseServerActionTransformFunctionFactory(reopenFormSpaceParamsType, function(_params) {
|
|
5700
|
+
return _async_to_generator$s(function() {
|
|
5701
|
+
return _ts_generator$s(this, function(_state) {
|
|
5702
|
+
return [
|
|
5703
|
+
2,
|
|
5704
|
+
function(formSpaceDocument, input) {
|
|
5705
|
+
return _async_to_generator$s(function() {
|
|
5706
|
+
var uid;
|
|
5707
|
+
return _ts_generator$s(this, function(_state) {
|
|
5708
|
+
switch(_state.label){
|
|
5709
|
+
case 0:
|
|
5710
|
+
uid = input.uid;
|
|
5711
|
+
return [
|
|
5712
|
+
4,
|
|
5713
|
+
firestoreContext.runTransaction(function(transaction) {
|
|
5714
|
+
return _async_to_generator$s(function() {
|
|
5715
|
+
var documentInTransaction, current, config;
|
|
5716
|
+
return _ts_generator$s(this, function(_state) {
|
|
5717
|
+
switch(_state.label){
|
|
5718
|
+
case 0:
|
|
5719
|
+
documentInTransaction = formSpaceCollection.documentAccessorForTransaction(transaction).loadDocumentFrom(formSpaceDocument);
|
|
5720
|
+
return [
|
|
5721
|
+
4,
|
|
5722
|
+
assertSnapshotData(documentInTransaction)
|
|
5723
|
+
];
|
|
5724
|
+
case 1:
|
|
5725
|
+
current = _state.sent();
|
|
5726
|
+
config = appFormSpaceTypeConfigService.configForFormSpaceType(current.t);
|
|
5727
|
+
// re-asserted under the lock, so a concurrent double-reopen resolves to one winner and `rc` — which
|
|
5728
|
+
// the next submission's task is keyed by — advances exactly once
|
|
5729
|
+
if (!isFormSpaceReopenable({
|
|
5730
|
+
formSpace: current,
|
|
5731
|
+
config: config
|
|
5732
|
+
})) {
|
|
5733
|
+
throw formSpaceNotReopenableError();
|
|
5734
|
+
}
|
|
5735
|
+
// Checked AFTER the policy on purpose. Both refusals are true of a space whose window closed while
|
|
5736
|
+
// a processor was running, and "this submission is final" is the answer the caller can act on;
|
|
5737
|
+
// "try again shortly" would be a lie they would act on twice.
|
|
5738
|
+
if (current.ps === FormSpaceProcessingState.PROCESSING) {
|
|
5739
|
+
throw formSpaceProcessingInProgressError();
|
|
5740
|
+
}
|
|
5741
|
+
return [
|
|
5742
|
+
4,
|
|
5743
|
+
documentInTransaction.update(reopenFormSpaceTemplate({
|
|
5744
|
+
formSpace: current,
|
|
5745
|
+
config: config,
|
|
5746
|
+
uid: uid
|
|
5747
|
+
}))
|
|
5748
|
+
];
|
|
5749
|
+
case 2:
|
|
5750
|
+
_state.sent();
|
|
5751
|
+
return [
|
|
5752
|
+
2
|
|
5753
|
+
];
|
|
5754
|
+
}
|
|
5755
|
+
});
|
|
5756
|
+
})();
|
|
5757
|
+
})
|
|
5758
|
+
];
|
|
5759
|
+
case 1:
|
|
5760
|
+
_state.sent();
|
|
5761
|
+
return [
|
|
5762
|
+
2,
|
|
5763
|
+
formSpaceDocument
|
|
5764
|
+
];
|
|
5765
|
+
}
|
|
5766
|
+
});
|
|
5767
|
+
})();
|
|
5768
|
+
}
|
|
5769
|
+
];
|
|
5770
|
+
});
|
|
5771
|
+
})();
|
|
5772
|
+
});
|
|
5773
|
+
}
|
|
5774
|
+
/**
|
|
5775
|
+
* Factory for the `lockFormSpace` action.
|
|
5776
|
+
*
|
|
5777
|
+
* Not a state transition. The space stays exactly where it is and its processing is untouched; the only
|
|
5778
|
+
* thing that moves is `lat`, brought forward to now so every reopen predicate answers false from here on.
|
|
5779
|
+
*
|
|
5780
|
+
* Accepts a reopened DRAFT as well as a SUBMITTED space — locking a draft that has been submitted before is
|
|
5781
|
+
* how a reviewer says "the next submission is the last one", and it survives the resubmit because
|
|
5782
|
+
* {@link submitFormSpaceTemplate} only writes `lat` for a space that has never been submitted. A space with
|
|
5783
|
+
* no submission at all is the one case refused.
|
|
5784
|
+
*
|
|
5785
|
+
* @param context - The FormSpace server actions context.
|
|
5786
|
+
* @returns An async transform-and-validate function that locks a FormSpace's submission.
|
|
5787
|
+
*/ function lockFormSpaceFactory(context) {
|
|
5788
|
+
var firestoreContext = context.firestoreContext, formSpaceCollection = context.formSpaceCollection, firebaseServerActionTransformFunctionFactory = context.firebaseServerActionTransformFunctionFactory;
|
|
5789
|
+
return firebaseServerActionTransformFunctionFactory(lockFormSpaceParamsType, function(_params) {
|
|
5790
|
+
return _async_to_generator$s(function() {
|
|
5791
|
+
return _ts_generator$s(this, function(_state) {
|
|
5792
|
+
return [
|
|
5793
|
+
2,
|
|
5794
|
+
function(formSpaceDocument, input) {
|
|
5795
|
+
return _async_to_generator$s(function() {
|
|
5796
|
+
var uid;
|
|
5797
|
+
return _ts_generator$s(this, function(_state) {
|
|
5798
|
+
switch(_state.label){
|
|
5799
|
+
case 0:
|
|
5800
|
+
uid = input.uid;
|
|
5801
|
+
return [
|
|
5802
|
+
4,
|
|
5803
|
+
firestoreContext.runTransaction(function(transaction) {
|
|
5804
|
+
return _async_to_generator$s(function() {
|
|
5805
|
+
var documentInTransaction, current, now;
|
|
5806
|
+
return _ts_generator$s(this, function(_state) {
|
|
5807
|
+
switch(_state.label){
|
|
5808
|
+
case 0:
|
|
5809
|
+
documentInTransaction = formSpaceCollection.documentAccessorForTransaction(transaction).loadDocumentFrom(formSpaceDocument);
|
|
5810
|
+
return [
|
|
5811
|
+
4,
|
|
5812
|
+
assertSnapshotData(documentInTransaction)
|
|
5813
|
+
];
|
|
5814
|
+
case 1:
|
|
5815
|
+
current = _state.sent();
|
|
5816
|
+
now = new Date();
|
|
5817
|
+
if (current.fsat == null) {
|
|
5818
|
+
throw formSpaceNotSubmittedError();
|
|
5819
|
+
}
|
|
5820
|
+
if (!(current.lat == null || current.lat.getTime() > now.getTime())) return [
|
|
5821
|
+
3,
|
|
5822
|
+
3
|
|
5823
|
+
];
|
|
5824
|
+
return [
|
|
5825
|
+
4,
|
|
5826
|
+
documentInTransaction.update(lockFormSpaceTemplate({
|
|
5827
|
+
uid: uid,
|
|
5828
|
+
now: now
|
|
5829
|
+
}))
|
|
5633
5830
|
];
|
|
5634
5831
|
case 2:
|
|
5635
5832
|
_state.sent();
|
|
5833
|
+
_state.label = 3;
|
|
5834
|
+
case 3:
|
|
5636
5835
|
return [
|
|
5637
5836
|
2
|
|
5638
5837
|
];
|
|
@@ -5645,7 +5844,7 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5645
5844
|
_state.sent();
|
|
5646
5845
|
return [
|
|
5647
5846
|
2,
|
|
5648
|
-
|
|
5847
|
+
formSpaceDocument
|
|
5649
5848
|
];
|
|
5650
5849
|
}
|
|
5651
5850
|
});
|
|
@@ -5770,22 +5969,23 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5770
5969
|
});
|
|
5771
5970
|
}
|
|
5772
5971
|
/**
|
|
5773
|
-
* Creates (or re-runs) the unique submission task for a FormSpace and records its key on `pn`.
|
|
5972
|
+
* Creates (or re-runs) the unique submission task for one ATTEMPT of a FormSpace and records its key on `pn`.
|
|
5774
5973
|
*
|
|
5775
5974
|
* Shared by `submitFormSpace` and the queued backstop sweep, which is what makes the backstop safe to run
|
|
5776
|
-
* against a space whose task already exists: the task is unique per
|
|
5777
|
-
* the same document rather than racing a second processor.
|
|
5975
|
+
* against a space whose task already exists: the task is unique per attempt, so a second call for the same
|
|
5976
|
+
* attempt resolves to the same document rather than racing a second processor.
|
|
5778
5977
|
*
|
|
5779
5978
|
* @param context - The FormSpace server actions context.
|
|
5780
5979
|
* @returns Queues one FormSpace, reporting the task key and whether this call created it.
|
|
5781
5980
|
*/ function _queueFormSpaceForProcessingFactory(context) {
|
|
5782
5981
|
var notificationExpediteService = context.notificationExpediteService;
|
|
5783
|
-
return function(
|
|
5982
|
+
return function(input) {
|
|
5784
5983
|
return _async_to_generator$s(function() {
|
|
5785
|
-
var expediteInstance, createResult, processingNotificationKey;
|
|
5984
|
+
var formSpaceDocument, reopenCount, runImmediately, expediteInstance, createResult, processingNotificationKey;
|
|
5786
5985
|
return _ts_generator$s(this, function(_state) {
|
|
5787
5986
|
switch(_state.label){
|
|
5788
5987
|
case 0:
|
|
5988
|
+
formSpaceDocument = input.formSpaceDocument, reopenCount = input.reopenCount, runImmediately = input.runImmediately;
|
|
5789
5989
|
expediteInstance = runImmediately ? notificationExpediteService.expediteInstance() : undefined;
|
|
5790
5990
|
expediteInstance === null || expediteInstance === void 0 ? void 0 : expediteInstance.initialize();
|
|
5791
5991
|
return [
|
|
@@ -5793,7 +5993,8 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5793
5993
|
createOrRunUniqueNotificationDocument({
|
|
5794
5994
|
context: context,
|
|
5795
5995
|
template: formSpaceSubmissionNotificationTaskTemplate({
|
|
5796
|
-
formSpaceDocument: formSpaceDocument
|
|
5996
|
+
formSpaceDocument: formSpaceDocument,
|
|
5997
|
+
reopenCount: reopenCount
|
|
5797
5998
|
}),
|
|
5798
5999
|
runImmediatelyIfCreated: runImmediately !== null && runImmediately !== void 0 ? runImmediately : false,
|
|
5799
6000
|
expediteInstance: expediteInstance
|
|
@@ -5915,14 +6116,17 @@ function _ts_generator$s(thisArg, body) {
|
|
|
5915
6116
|
documentAccessor: formSpaceCollection.documentAccessor(),
|
|
5916
6117
|
iterateSnapshotPair: function iterateSnapshotPair(snapshotPair) {
|
|
5917
6118
|
return _async_to_generator$s(function() {
|
|
5918
|
-
var queued;
|
|
6119
|
+
var _snapshotPair_data, queued;
|
|
5919
6120
|
return _ts_generator$s(this, function(_state) {
|
|
5920
6121
|
switch(_state.label){
|
|
5921
6122
|
case 0:
|
|
5922
6123
|
formSpacesVisited++;
|
|
5923
6124
|
return [
|
|
5924
6125
|
4,
|
|
5925
|
-
queueFormSpaceForProcessing(
|
|
6126
|
+
queueFormSpaceForProcessing({
|
|
6127
|
+
formSpaceDocument: snapshotPair.document,
|
|
6128
|
+
reopenCount: (_snapshotPair_data = snapshotPair.data) === null || _snapshotPair_data === void 0 ? void 0 : _snapshotPair_data.rc
|
|
6129
|
+
}).catch(function() {
|
|
5926
6130
|
return null;
|
|
5927
6131
|
})
|
|
5928
6132
|
];
|
|
@@ -6155,16 +6359,16 @@ function _define_property$o(obj, key, value) {
|
|
|
6155
6359
|
configurable: true,
|
|
6156
6360
|
writable: true
|
|
6157
6361
|
});
|
|
6158
|
-
} else
|
|
6159
|
-
obj[key] = value;
|
|
6160
|
-
}
|
|
6362
|
+
} else obj[key] = value;
|
|
6161
6363
|
return obj;
|
|
6162
6364
|
}
|
|
6163
6365
|
function _iterable_to_array$e(iter) {
|
|
6164
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
6366
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
6367
|
+
return Array.from(iter);
|
|
6368
|
+
}
|
|
6165
6369
|
}
|
|
6166
6370
|
function _non_iterable_spread$e() {
|
|
6167
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
6371
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6168
6372
|
}
|
|
6169
6373
|
function _object_spread$m(target) {
|
|
6170
6374
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -6191,9 +6395,8 @@ function ownKeys$k(object, enumerableOnly) {
|
|
|
6191
6395
|
}
|
|
6192
6396
|
function _object_spread_props$k(target, source) {
|
|
6193
6397
|
source = source != null ? source : {};
|
|
6194
|
-
if (Object.getOwnPropertyDescriptors)
|
|
6195
|
-
|
|
6196
|
-
} else {
|
|
6398
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6399
|
+
else {
|
|
6197
6400
|
ownKeys$k(Object(source)).forEach(function(key) {
|
|
6198
6401
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6199
6402
|
});
|
|
@@ -6343,9 +6546,7 @@ function _array_without_holes$d(arr) {
|
|
|
6343
6546
|
if (Array.isArray(arr)) return _array_like_to_array$g(arr);
|
|
6344
6547
|
}
|
|
6345
6548
|
function _assert_this_initialized$2(self) {
|
|
6346
|
-
if (self === void 0)
|
|
6347
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6348
|
-
}
|
|
6549
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6349
6550
|
return self;
|
|
6350
6551
|
}
|
|
6351
6552
|
function asyncGeneratorStep$r(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -6356,11 +6557,8 @@ function asyncGeneratorStep$r(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6356
6557
|
reject(error);
|
|
6357
6558
|
return;
|
|
6358
6559
|
}
|
|
6359
|
-
if (info.done)
|
|
6360
|
-
|
|
6361
|
-
} else {
|
|
6362
|
-
Promise.resolve(value).then(_next, _throw);
|
|
6363
|
-
}
|
|
6560
|
+
if (info.done) resolve(value);
|
|
6561
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
6364
6562
|
}
|
|
6365
6563
|
function _async_to_generator$r(fn) {
|
|
6366
6564
|
return function() {
|
|
@@ -6382,9 +6580,7 @@ function _call_super$2(_this, derived, args) {
|
|
|
6382
6580
|
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));
|
|
6383
6581
|
}
|
|
6384
6582
|
function _class_call_check$m(instance, Constructor) {
|
|
6385
|
-
if (!(instance instanceof Constructor))
|
|
6386
|
-
throw new TypeError("Cannot call a class as a function");
|
|
6387
|
-
}
|
|
6583
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
6388
6584
|
}
|
|
6389
6585
|
function _define_property$n(obj, key, value) {
|
|
6390
6586
|
if (key in obj) {
|
|
@@ -6394,9 +6590,7 @@ function _define_property$n(obj, key, value) {
|
|
|
6394
6590
|
configurable: true,
|
|
6395
6591
|
writable: true
|
|
6396
6592
|
});
|
|
6397
|
-
} else
|
|
6398
|
-
obj[key] = value;
|
|
6399
|
-
}
|
|
6593
|
+
} else obj[key] = value;
|
|
6400
6594
|
return obj;
|
|
6401
6595
|
}
|
|
6402
6596
|
function _get_prototype_of$2(o) {
|
|
@@ -6422,15 +6616,23 @@ function _instanceof$1(left, right) {
|
|
|
6422
6616
|
"@swc/helpers - instanceof";
|
|
6423
6617
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
6424
6618
|
return !!right[Symbol.hasInstance](left);
|
|
6425
|
-
} else
|
|
6426
|
-
|
|
6427
|
-
|
|
6619
|
+
} else return left instanceof right;
|
|
6620
|
+
}
|
|
6621
|
+
function _is_native_reflect_construct$2() {
|
|
6622
|
+
try {
|
|
6623
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
6624
|
+
} catch (_) {}
|
|
6625
|
+
return (_is_native_reflect_construct$2 = function() {
|
|
6626
|
+
return !!result;
|
|
6627
|
+
})();
|
|
6428
6628
|
}
|
|
6429
6629
|
function _iterable_to_array$d(iter) {
|
|
6430
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
6630
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
6631
|
+
return Array.from(iter);
|
|
6632
|
+
}
|
|
6431
6633
|
}
|
|
6432
6634
|
function _non_iterable_spread$d() {
|
|
6433
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
6635
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6434
6636
|
}
|
|
6435
6637
|
function _object_spread$l(target) {
|
|
6436
6638
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -6457,9 +6659,8 @@ function ownKeys$j(object, enumerableOnly) {
|
|
|
6457
6659
|
}
|
|
6458
6660
|
function _object_spread_props$j(target, source) {
|
|
6459
6661
|
source = source != null ? source : {};
|
|
6460
|
-
if (Object.getOwnPropertyDescriptors)
|
|
6461
|
-
|
|
6462
|
-
} else {
|
|
6662
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6663
|
+
else {
|
|
6463
6664
|
ownKeys$j(Object(source)).forEach(function(key) {
|
|
6464
6665
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6465
6666
|
});
|
|
@@ -6467,9 +6668,7 @@ function _object_spread_props$j(target, source) {
|
|
|
6467
6668
|
return target;
|
|
6468
6669
|
}
|
|
6469
6670
|
function _possible_constructor_return$2(self, call) {
|
|
6470
|
-
if (call && (_type_of$5(call) === "object" || typeof call === "function"))
|
|
6471
|
-
return call;
|
|
6472
|
-
}
|
|
6671
|
+
if (call && (_type_of$5(call) === "object" || typeof call === "function")) return call;
|
|
6473
6672
|
return _assert_this_initialized$2(self);
|
|
6474
6673
|
}
|
|
6475
6674
|
function _set_prototype_of$2(o, p) {
|
|
@@ -6482,26 +6681,6 @@ function _set_prototype_of$2(o, p) {
|
|
|
6482
6681
|
function _to_consumable_array$d(arr) {
|
|
6483
6682
|
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$d();
|
|
6484
6683
|
}
|
|
6485
|
-
function _type_of$5(obj) {
|
|
6486
|
-
"@swc/helpers - typeof";
|
|
6487
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6488
|
-
}
|
|
6489
|
-
function _unsupported_iterable_to_array$g(o, minLen) {
|
|
6490
|
-
if (!o) return;
|
|
6491
|
-
if (typeof o === "string") return _array_like_to_array$g(o, minLen);
|
|
6492
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6493
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6494
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6495
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
|
|
6496
|
-
}
|
|
6497
|
-
function _is_native_reflect_construct$2() {
|
|
6498
|
-
try {
|
|
6499
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
6500
|
-
} catch (_) {}
|
|
6501
|
-
return (_is_native_reflect_construct$2 = function() {
|
|
6502
|
-
return !!result;
|
|
6503
|
-
})();
|
|
6504
|
-
}
|
|
6505
6684
|
function _ts_generator$r(thisArg, body) {
|
|
6506
6685
|
var f, y, t, _ = {
|
|
6507
6686
|
label: 0,
|
|
@@ -6601,6 +6780,18 @@ function _ts_generator$r(thisArg, body) {
|
|
|
6601
6780
|
};
|
|
6602
6781
|
}
|
|
6603
6782
|
}
|
|
6783
|
+
function _type_of$5(obj) {
|
|
6784
|
+
"@swc/helpers - typeof";
|
|
6785
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6786
|
+
}
|
|
6787
|
+
function _unsupported_iterable_to_array$g(o, minLen) {
|
|
6788
|
+
if (!o) return;
|
|
6789
|
+
if (typeof o === "string") return _array_like_to_array$g(o, minLen);
|
|
6790
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6791
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6792
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6793
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
|
|
6794
|
+
}
|
|
6604
6795
|
/**
|
|
6605
6796
|
* Creates a reusable factory for building {@link NotificationTaskServiceTaskHandlerConfig} entries
|
|
6606
6797
|
* that implement the subtask processing pattern.
|
|
@@ -6637,7 +6828,18 @@ function _ts_generator$r(thisArg, body) {
|
|
|
6637
6828
|
*/ function notificationTaskSubtaskNotificationTaskHandlerFactory(factoryConfig) {
|
|
6638
6829
|
var taskType = factoryConfig.taskType, subtaskHandlerName = factoryConfig.subtaskHandlerFunctionName, inputFunction = factoryConfig.inputFunction, defaultCleanup = factoryConfig.defaultCleanup, cleanupFunction = factoryConfig.cleanupFunction, inputBuildUpdateMetadata = factoryConfig.buildUpdateMetadata;
|
|
6639
6830
|
return function(subtaskHandlerConfig) {
|
|
6640
|
-
var
|
|
6831
|
+
var inputProcessors = subtaskHandlerConfig.processors, inputMaxCleanupRetryAttempts = subtaskHandlerConfig.maxCleanupRetryAttempts, inputCleanupRetryDelay = subtaskHandlerConfig.cleanupRetryDelay, defaultAllowRunMultipleParts = subtaskHandlerConfig.defaultAllowRunMultipleParts;
|
|
6832
|
+
var maxCleanupRetryAttempts = inputMaxCleanupRetryAttempts !== null && inputMaxCleanupRetryAttempts !== void 0 ? inputMaxCleanupRetryAttempts : DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS;
|
|
6833
|
+
var cleanupRetryDelay = inputCleanupRetryDelay !== null && inputCleanupRetryDelay !== void 0 ? inputCleanupRetryDelay : DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY;
|
|
6834
|
+
var buildUpdateMetadata = inputBuildUpdateMetadata !== null && inputBuildUpdateMetadata !== void 0 ? inputBuildUpdateMetadata : function() {
|
|
6835
|
+
return undefined;
|
|
6836
|
+
};
|
|
6837
|
+
var processors = {};
|
|
6838
|
+
inputProcessors.forEach(function(processorConfig) {
|
|
6839
|
+
var target = processorConfig.target;
|
|
6840
|
+
processors[target] = processorFunctionForConfig(processorConfig);
|
|
6841
|
+
});
|
|
6842
|
+
/**
|
|
6641
6843
|
* Structure is similar to notificationTaskService(), but contained to handle the subtasks.
|
|
6642
6844
|
*
|
|
6643
6845
|
* @param processorConfig - The processor configuration with target, flow, and cleanup.
|
|
@@ -6766,8 +6968,8 @@ function _ts_generator$r(thisArg, body) {
|
|
|
6766
6968
|
},
|
|
6767
6969
|
cleanup: cleanup
|
|
6768
6970
|
};
|
|
6769
|
-
}
|
|
6770
|
-
|
|
6971
|
+
}
|
|
6972
|
+
function useInputDataFactory(fn) {
|
|
6771
6973
|
return function(notificationTask) {
|
|
6772
6974
|
return _async_to_generator$r(function() {
|
|
6773
6975
|
var data, result, inputFunctionResult, e;
|
|
@@ -6834,18 +7036,7 @@ function _ts_generator$r(thisArg, body) {
|
|
|
6834
7036
|
});
|
|
6835
7037
|
})();
|
|
6836
7038
|
};
|
|
6837
|
-
}
|
|
6838
|
-
var inputProcessors = subtaskHandlerConfig.processors, inputMaxCleanupRetryAttempts = subtaskHandlerConfig.maxCleanupRetryAttempts, inputCleanupRetryDelay = subtaskHandlerConfig.cleanupRetryDelay, defaultAllowRunMultipleParts = subtaskHandlerConfig.defaultAllowRunMultipleParts;
|
|
6839
|
-
var maxCleanupRetryAttempts = inputMaxCleanupRetryAttempts !== null && inputMaxCleanupRetryAttempts !== void 0 ? inputMaxCleanupRetryAttempts : DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS;
|
|
6840
|
-
var cleanupRetryDelay = inputCleanupRetryDelay !== null && inputCleanupRetryDelay !== void 0 ? inputCleanupRetryDelay : DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY;
|
|
6841
|
-
var buildUpdateMetadata = inputBuildUpdateMetadata !== null && inputBuildUpdateMetadata !== void 0 ? inputBuildUpdateMetadata : function() {
|
|
6842
|
-
return undefined;
|
|
6843
|
-
};
|
|
6844
|
-
var processors = {};
|
|
6845
|
-
inputProcessors.forEach(function(processorConfig) {
|
|
6846
|
-
var target = processorConfig.target;
|
|
6847
|
-
processors[target] = processorFunctionForConfig(processorConfig);
|
|
6848
|
-
});
|
|
7039
|
+
}
|
|
6849
7040
|
var result = {
|
|
6850
7041
|
type: taskType,
|
|
6851
7042
|
flow: [
|
|
@@ -7053,11 +7244,8 @@ function asyncGeneratorStep$q(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
7053
7244
|
reject(error);
|
|
7054
7245
|
return;
|
|
7055
7246
|
}
|
|
7056
|
-
if (info.done)
|
|
7057
|
-
|
|
7058
|
-
} else {
|
|
7059
|
-
Promise.resolve(value).then(_next, _throw);
|
|
7060
|
-
}
|
|
7247
|
+
if (info.done) resolve(value);
|
|
7248
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
7061
7249
|
}
|
|
7062
7250
|
function _async_to_generator$q(fn) {
|
|
7063
7251
|
return function() {
|
|
@@ -7082,9 +7270,7 @@ function _define_property$m(obj, key, value) {
|
|
|
7082
7270
|
configurable: true,
|
|
7083
7271
|
writable: true
|
|
7084
7272
|
});
|
|
7085
|
-
} else
|
|
7086
|
-
obj[key] = value;
|
|
7087
|
-
}
|
|
7273
|
+
} else obj[key] = value;
|
|
7088
7274
|
return obj;
|
|
7089
7275
|
}
|
|
7090
7276
|
function _object_spread$k(target) {
|
|
@@ -7112,9 +7298,8 @@ function ownKeys$i(object, enumerableOnly) {
|
|
|
7112
7298
|
}
|
|
7113
7299
|
function _object_spread_props$i(target, source) {
|
|
7114
7300
|
source = source != null ? source : {};
|
|
7115
|
-
if (Object.getOwnPropertyDescriptors)
|
|
7116
|
-
|
|
7117
|
-
} else {
|
|
7301
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7302
|
+
else {
|
|
7118
7303
|
ownKeys$i(Object(source)).forEach(function(key) {
|
|
7119
7304
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7120
7305
|
});
|
|
@@ -7253,56 +7438,46 @@ function _ts_generator$q(thisArg, body) {
|
|
|
7253
7438
|
subtaskHandlerFunctionName: 'formSpaceSubmissionNotificationTaskHandler',
|
|
7254
7439
|
inputFunction: function inputFunction(data) {
|
|
7255
7440
|
return _async_to_generator$q(function() {
|
|
7256
|
-
var _data_t, formSpaceDocument, loadFormSpace, target
|
|
7441
|
+
var _data_t, formSpaceDocument, formSpace, loadFormSpace, target;
|
|
7257
7442
|
return _ts_generator$q(this, function(_state) {
|
|
7258
7443
|
switch(_state.label){
|
|
7259
7444
|
case 0:
|
|
7260
7445
|
formSpaceDocument = formSpaceDocumentAccessor.loadDocumentForId(data.formSpace);
|
|
7446
|
+
return [
|
|
7447
|
+
4,
|
|
7448
|
+
getDocumentSnapshotData(formSpaceDocument, true)
|
|
7449
|
+
];
|
|
7450
|
+
case 1:
|
|
7451
|
+
formSpace = _state.sent();
|
|
7452
|
+
if (!formSpace) {
|
|
7453
|
+
// the space was deleted out from under the task; terminate rather than retry forever
|
|
7454
|
+
throw notificationTaskSubTaskMissingRequiredDataTermination();
|
|
7455
|
+
}
|
|
7456
|
+
// THE ATTEMPT FENCE. A reopen advances `rc`, and the resubmission that follows keys a task document
|
|
7457
|
+
// of its own — which leaves THIS one, created for the superseded attempt, still queued. Allowed to
|
|
7458
|
+
// run it would process the reopened space's new content and its cleanup would write `ps` / `cpat` /
|
|
7459
|
+
// `pn` over the attempt actually in force. Terminating is the honest outcome: there is nothing left
|
|
7460
|
+
// for this task to be about, which is exactly what the missing-required-data termination means.
|
|
7461
|
+
//
|
|
7462
|
+
// Fenced on `rc` alone, never on `s`: a processor is allowed to move the space to ARCHIVED during
|
|
7463
|
+
// its own cleanup checkpoint, so a state check here would abort the very run that archived it. A
|
|
7464
|
+
// task created before attempt-keying existed carries no `rc` and is not fenced, so a task in flight
|
|
7465
|
+
// across the upgrade still completes.
|
|
7466
|
+
if (data.rc != null && data.rc !== formSpace.rc) {
|
|
7467
|
+
throw notificationTaskSubTaskMissingRequiredDataTermination();
|
|
7468
|
+
}
|
|
7261
7469
|
loadFormSpace = cachedGetter(function() {
|
|
7262
7470
|
return _async_to_generator$q(function() {
|
|
7263
|
-
var formSpace;
|
|
7264
7471
|
return _ts_generator$q(this, function(_state) {
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
getDocumentSnapshotData(formSpaceDocument, true)
|
|
7270
|
-
];
|
|
7271
|
-
case 1:
|
|
7272
|
-
formSpace = _state.sent();
|
|
7273
|
-
if (!formSpace) {
|
|
7274
|
-
// the space was deleted out from under the task; terminate rather than retry forever
|
|
7275
|
-
throw notificationTaskSubTaskMissingRequiredDataTermination();
|
|
7276
|
-
}
|
|
7277
|
-
return [
|
|
7278
|
-
2,
|
|
7279
|
-
formSpace
|
|
7280
|
-
];
|
|
7281
|
-
}
|
|
7472
|
+
return [
|
|
7473
|
+
2,
|
|
7474
|
+
formSpace
|
|
7475
|
+
];
|
|
7282
7476
|
});
|
|
7283
7477
|
})();
|
|
7284
7478
|
});
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
1
|
|
7288
|
-
];
|
|
7289
|
-
_tmp = _data_t;
|
|
7290
|
-
return [
|
|
7291
|
-
3,
|
|
7292
|
-
3
|
|
7293
|
-
];
|
|
7294
|
-
case 1:
|
|
7295
|
-
return [
|
|
7296
|
-
4,
|
|
7297
|
-
loadFormSpace().then(function(x) {
|
|
7298
|
-
return x.t;
|
|
7299
|
-
})
|
|
7300
|
-
];
|
|
7301
|
-
case 2:
|
|
7302
|
-
_tmp = _state.sent();
|
|
7303
|
-
_state.label = 3;
|
|
7304
|
-
case 3:
|
|
7305
|
-
target = _tmp;
|
|
7479
|
+
// the type is the subtask target, and is re-copied onto the metadata by buildUpdateMetadata
|
|
7480
|
+
target = (_data_t = data.t) !== null && _data_t !== void 0 ? _data_t : formSpace.t;
|
|
7306
7481
|
return [
|
|
7307
7482
|
2,
|
|
7308
7483
|
{
|
|
@@ -7362,11 +7537,8 @@ function asyncGeneratorStep$p(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
7362
7537
|
reject(error);
|
|
7363
7538
|
return;
|
|
7364
7539
|
}
|
|
7365
|
-
if (info.done)
|
|
7366
|
-
|
|
7367
|
-
} else {
|
|
7368
|
-
Promise.resolve(value).then(_next, _throw);
|
|
7369
|
-
}
|
|
7540
|
+
if (info.done) resolve(value);
|
|
7541
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
7370
7542
|
}
|
|
7371
7543
|
function _async_to_generator$p(fn) {
|
|
7372
7544
|
return function() {
|
|
@@ -7391,9 +7563,7 @@ function _define_property$l(obj, key, value) {
|
|
|
7391
7563
|
configurable: true,
|
|
7392
7564
|
writable: true
|
|
7393
7565
|
});
|
|
7394
|
-
} else
|
|
7395
|
-
obj[key] = value;
|
|
7396
|
-
}
|
|
7566
|
+
} else obj[key] = value;
|
|
7397
7567
|
return obj;
|
|
7398
7568
|
}
|
|
7399
7569
|
function _object_spread$j(target) {
|
|
@@ -7421,19 +7591,14 @@ function ownKeys$h(object, enumerableOnly) {
|
|
|
7421
7591
|
}
|
|
7422
7592
|
function _object_spread_props$h(target, source) {
|
|
7423
7593
|
source = source != null ? source : {};
|
|
7424
|
-
if (Object.getOwnPropertyDescriptors)
|
|
7425
|
-
|
|
7426
|
-
} else {
|
|
7594
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7595
|
+
else {
|
|
7427
7596
|
ownKeys$h(Object(source)).forEach(function(key) {
|
|
7428
7597
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7429
7598
|
});
|
|
7430
7599
|
}
|
|
7431
7600
|
return target;
|
|
7432
7601
|
}
|
|
7433
|
-
function _type_of$4(obj) {
|
|
7434
|
-
"@swc/helpers - typeof";
|
|
7435
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
7436
|
-
}
|
|
7437
7602
|
function _ts_generator$p(thisArg, body) {
|
|
7438
7603
|
var f, y, t, _ = {
|
|
7439
7604
|
label: 0,
|
|
@@ -7533,6 +7698,10 @@ function _ts_generator$p(thisArg, body) {
|
|
|
7533
7698
|
};
|
|
7534
7699
|
}
|
|
7535
7700
|
}
|
|
7701
|
+
function _type_of$4(obj) {
|
|
7702
|
+
"@swc/helpers - typeof";
|
|
7703
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
7704
|
+
}
|
|
7536
7705
|
/**
|
|
7537
7706
|
* Convenience factory for creating a permanent failure result, indicating the file
|
|
7538
7707
|
* should be discarded and any created intermediate files cleaned up.
|
|
@@ -7875,11 +8044,8 @@ function asyncGeneratorStep$o(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
7875
8044
|
reject(error);
|
|
7876
8045
|
return;
|
|
7877
8046
|
}
|
|
7878
|
-
if (info.done)
|
|
7879
|
-
|
|
7880
|
-
} else {
|
|
7881
|
-
Promise.resolve(value).then(_next, _throw);
|
|
7882
|
-
}
|
|
8047
|
+
if (info.done) resolve(value);
|
|
8048
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
7883
8049
|
}
|
|
7884
8050
|
function _async_to_generator$o(fn) {
|
|
7885
8051
|
return function() {
|
|
@@ -7897,22 +8063,16 @@ function _async_to_generator$o(fn) {
|
|
|
7897
8063
|
};
|
|
7898
8064
|
}
|
|
7899
8065
|
function _iterable_to_array$c(iter) {
|
|
7900
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
8066
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
8067
|
+
return Array.from(iter);
|
|
8068
|
+
}
|
|
7901
8069
|
}
|
|
7902
8070
|
function _non_iterable_spread$c() {
|
|
7903
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
8071
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7904
8072
|
}
|
|
7905
8073
|
function _to_consumable_array$c(arr) {
|
|
7906
8074
|
return _array_without_holes$c(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$c();
|
|
7907
8075
|
}
|
|
7908
|
-
function _unsupported_iterable_to_array$f(o, minLen) {
|
|
7909
|
-
if (!o) return;
|
|
7910
|
-
if (typeof o === "string") return _array_like_to_array$f(o, minLen);
|
|
7911
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7912
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7913
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7914
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
7915
|
-
}
|
|
7916
8076
|
function _ts_generator$o(thisArg, body) {
|
|
7917
8077
|
var f, y, t, _ = {
|
|
7918
8078
|
label: 0,
|
|
@@ -8012,6 +8172,14 @@ function _ts_generator$o(thisArg, body) {
|
|
|
8012
8172
|
};
|
|
8013
8173
|
}
|
|
8014
8174
|
}
|
|
8175
|
+
function _unsupported_iterable_to_array$f(o, minLen) {
|
|
8176
|
+
if (!o) return;
|
|
8177
|
+
if (typeof o === "string") return _array_like_to_array$f(o, minLen);
|
|
8178
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8179
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8180
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8181
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
8182
|
+
}
|
|
8015
8183
|
/**
|
|
8016
8184
|
* Creates the {@link StorageFileInitializeFromUploadServiceInitializer} entries for FormSpace uploads.
|
|
8017
8185
|
*
|
|
@@ -8410,11 +8578,8 @@ function asyncGeneratorStep$n(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
8410
8578
|
reject(error);
|
|
8411
8579
|
return;
|
|
8412
8580
|
}
|
|
8413
|
-
if (info.done)
|
|
8414
|
-
|
|
8415
|
-
} else {
|
|
8416
|
-
Promise.resolve(value).then(_next, _throw);
|
|
8417
|
-
}
|
|
8581
|
+
if (info.done) resolve(value);
|
|
8582
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
8418
8583
|
}
|
|
8419
8584
|
function _async_to_generator$n(fn) {
|
|
8420
8585
|
return function() {
|
|
@@ -8439,16 +8604,16 @@ function _define_property$k(obj, key, value) {
|
|
|
8439
8604
|
configurable: true,
|
|
8440
8605
|
writable: true
|
|
8441
8606
|
});
|
|
8442
|
-
} else
|
|
8443
|
-
obj[key] = value;
|
|
8444
|
-
}
|
|
8607
|
+
} else obj[key] = value;
|
|
8445
8608
|
return obj;
|
|
8446
8609
|
}
|
|
8447
8610
|
function _iterable_to_array$b(iter) {
|
|
8448
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
8611
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
8612
|
+
return Array.from(iter);
|
|
8613
|
+
}
|
|
8449
8614
|
}
|
|
8450
8615
|
function _non_iterable_spread$b() {
|
|
8451
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
8616
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8452
8617
|
}
|
|
8453
8618
|
function _object_spread$i(target) {
|
|
8454
8619
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -8475,9 +8640,8 @@ function ownKeys$g(object, enumerableOnly) {
|
|
|
8475
8640
|
}
|
|
8476
8641
|
function _object_spread_props$g(target, source) {
|
|
8477
8642
|
source = source != null ? source : {};
|
|
8478
|
-
if (Object.getOwnPropertyDescriptors)
|
|
8479
|
-
|
|
8480
|
-
} else {
|
|
8643
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8644
|
+
else {
|
|
8481
8645
|
ownKeys$g(Object(source)).forEach(function(key) {
|
|
8482
8646
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8483
8647
|
});
|
|
@@ -8487,14 +8651,6 @@ function _object_spread_props$g(target, source) {
|
|
|
8487
8651
|
function _to_consumable_array$b(arr) {
|
|
8488
8652
|
return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$b();
|
|
8489
8653
|
}
|
|
8490
|
-
function _unsupported_iterable_to_array$e(o, minLen) {
|
|
8491
|
-
if (!o) return;
|
|
8492
|
-
if (typeof o === "string") return _array_like_to_array$e(o, minLen);
|
|
8493
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8494
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8495
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8496
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
|
|
8497
|
-
}
|
|
8498
8654
|
function _ts_generator$n(thisArg, body) {
|
|
8499
8655
|
var f, y, t, _ = {
|
|
8500
8656
|
label: 0,
|
|
@@ -8594,6 +8750,14 @@ function _ts_generator$n(thisArg, body) {
|
|
|
8594
8750
|
};
|
|
8595
8751
|
}
|
|
8596
8752
|
}
|
|
8753
|
+
function _unsupported_iterable_to_array$e(o, minLen) {
|
|
8754
|
+
if (!o) return;
|
|
8755
|
+
if (typeof o === "string") return _array_like_to_array$e(o, minLen);
|
|
8756
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8757
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8758
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8759
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
|
|
8760
|
+
}
|
|
8597
8761
|
/**
|
|
8598
8762
|
* @module formspace.validation
|
|
8599
8763
|
*
|
|
@@ -9206,11 +9370,8 @@ function asyncGeneratorStep$m(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
9206
9370
|
reject(error);
|
|
9207
9371
|
return;
|
|
9208
9372
|
}
|
|
9209
|
-
if (info.done)
|
|
9210
|
-
|
|
9211
|
-
} else {
|
|
9212
|
-
Promise.resolve(value).then(_next, _throw);
|
|
9213
|
-
}
|
|
9373
|
+
if (info.done) resolve(value);
|
|
9374
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
9214
9375
|
}
|
|
9215
9376
|
function _async_to_generator$m(fn) {
|
|
9216
9377
|
return function() {
|
|
@@ -9235,13 +9396,13 @@ function _define_property$j(obj, key, value) {
|
|
|
9235
9396
|
configurable: true,
|
|
9236
9397
|
writable: true
|
|
9237
9398
|
});
|
|
9238
|
-
} else
|
|
9239
|
-
obj[key] = value;
|
|
9240
|
-
}
|
|
9399
|
+
} else obj[key] = value;
|
|
9241
9400
|
return obj;
|
|
9242
9401
|
}
|
|
9243
9402
|
function _iterable_to_array$a(iter) {
|
|
9244
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
9403
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
9404
|
+
return Array.from(iter);
|
|
9405
|
+
}
|
|
9245
9406
|
}
|
|
9246
9407
|
function _iterable_to_array_limit$6(arr, i) {
|
|
9247
9408
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -9268,10 +9429,10 @@ function _iterable_to_array_limit$6(arr, i) {
|
|
|
9268
9429
|
return _arr;
|
|
9269
9430
|
}
|
|
9270
9431
|
function _non_iterable_rest$6() {
|
|
9271
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
9432
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9272
9433
|
}
|
|
9273
9434
|
function _non_iterable_spread$a() {
|
|
9274
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
9435
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9275
9436
|
}
|
|
9276
9437
|
function _object_spread$h(target) {
|
|
9277
9438
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -9298,9 +9459,8 @@ function ownKeys$f(object, enumerableOnly) {
|
|
|
9298
9459
|
}
|
|
9299
9460
|
function _object_spread_props$f(target, source) {
|
|
9300
9461
|
source = source != null ? source : {};
|
|
9301
|
-
if (Object.getOwnPropertyDescriptors)
|
|
9302
|
-
|
|
9303
|
-
} else {
|
|
9462
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9463
|
+
else {
|
|
9304
9464
|
ownKeys$f(Object(source)).forEach(function(key) {
|
|
9305
9465
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9306
9466
|
});
|
|
@@ -9313,14 +9473,6 @@ function _sliced_to_array$6(arr, i) {
|
|
|
9313
9473
|
function _to_consumable_array$a(arr) {
|
|
9314
9474
|
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$a();
|
|
9315
9475
|
}
|
|
9316
|
-
function _unsupported_iterable_to_array$d(o, minLen) {
|
|
9317
|
-
if (!o) return;
|
|
9318
|
-
if (typeof o === "string") return _array_like_to_array$d(o, minLen);
|
|
9319
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9320
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9321
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9322
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
9323
|
-
}
|
|
9324
9476
|
function _ts_generator$m(thisArg, body) {
|
|
9325
9477
|
var f, y, t, _ = {
|
|
9326
9478
|
label: 0,
|
|
@@ -9420,6 +9572,14 @@ function _ts_generator$m(thisArg, body) {
|
|
|
9420
9572
|
};
|
|
9421
9573
|
}
|
|
9422
9574
|
}
|
|
9575
|
+
function _unsupported_iterable_to_array$d(o, minLen) {
|
|
9576
|
+
if (!o) return;
|
|
9577
|
+
if (typeof o === "string") return _array_like_to_array$d(o, minLen);
|
|
9578
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9579
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9580
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9581
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
9582
|
+
}
|
|
9423
9583
|
/**
|
|
9424
9584
|
* How long a dispatched probe may stay unresolved before it is reported as failed.
|
|
9425
9585
|
*
|
|
@@ -10008,11 +10168,8 @@ function asyncGeneratorStep$l(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
10008
10168
|
reject(error);
|
|
10009
10169
|
return;
|
|
10010
10170
|
}
|
|
10011
|
-
if (info.done)
|
|
10012
|
-
|
|
10013
|
-
} else {
|
|
10014
|
-
Promise.resolve(value).then(_next, _throw);
|
|
10015
|
-
}
|
|
10171
|
+
if (info.done) resolve(value);
|
|
10172
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
10016
10173
|
}
|
|
10017
10174
|
function _async_to_generator$l(fn) {
|
|
10018
10175
|
return function() {
|
|
@@ -10054,19 +10211,11 @@ function _iterable_to_array_limit$5(arr, i) {
|
|
|
10054
10211
|
return _arr;
|
|
10055
10212
|
}
|
|
10056
10213
|
function _non_iterable_rest$5() {
|
|
10057
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
10214
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10058
10215
|
}
|
|
10059
10216
|
function _sliced_to_array$5(arr, i) {
|
|
10060
10217
|
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$5();
|
|
10061
10218
|
}
|
|
10062
|
-
function _unsupported_iterable_to_array$c(o, minLen) {
|
|
10063
|
-
if (!o) return;
|
|
10064
|
-
if (typeof o === "string") return _array_like_to_array$c(o, minLen);
|
|
10065
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10066
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10067
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10068
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
10069
|
-
}
|
|
10070
10219
|
function _ts_generator$l(thisArg, body) {
|
|
10071
10220
|
var f, y, t, _ = {
|
|
10072
10221
|
label: 0,
|
|
@@ -10166,6 +10315,14 @@ function _ts_generator$l(thisArg, body) {
|
|
|
10166
10315
|
};
|
|
10167
10316
|
}
|
|
10168
10317
|
}
|
|
10318
|
+
function _unsupported_iterable_to_array$c(o, minLen) {
|
|
10319
|
+
if (!o) return;
|
|
10320
|
+
if (typeof o === "string") return _array_like_to_array$c(o, minLen);
|
|
10321
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10322
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10323
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10324
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
10325
|
+
}
|
|
10169
10326
|
var DEFAULT_MAILGUN_NOTIFICATION_EMAIL_SEND_SERVICE_MAX_BATCH_SIZE_PER_REQUEST = 50;
|
|
10170
10327
|
/**
|
|
10171
10328
|
* Creates a {@link NotificationEmailSendService} that sends notification emails via Mailgun.
|
|
@@ -10311,11 +10468,8 @@ function asyncGeneratorStep$k(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
10311
10468
|
reject(error);
|
|
10312
10469
|
return;
|
|
10313
10470
|
}
|
|
10314
|
-
if (info.done)
|
|
10315
|
-
|
|
10316
|
-
} else {
|
|
10317
|
-
Promise.resolve(value).then(_next, _throw);
|
|
10318
|
-
}
|
|
10471
|
+
if (info.done) resolve(value);
|
|
10472
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
10319
10473
|
}
|
|
10320
10474
|
function _async_to_generator$k(fn) {
|
|
10321
10475
|
return function() {
|
|
@@ -10723,11 +10877,8 @@ function asyncGeneratorStep$j(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
10723
10877
|
reject(error);
|
|
10724
10878
|
return;
|
|
10725
10879
|
}
|
|
10726
|
-
if (info.done)
|
|
10727
|
-
|
|
10728
|
-
} else {
|
|
10729
|
-
Promise.resolve(value).then(_next, _throw);
|
|
10730
|
-
}
|
|
10880
|
+
if (info.done) resolve(value);
|
|
10881
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
10731
10882
|
}
|
|
10732
10883
|
function _async_to_generator$j(fn) {
|
|
10733
10884
|
return function() {
|
|
@@ -10752,13 +10903,13 @@ function _define_property$i(obj, key, value) {
|
|
|
10752
10903
|
configurable: true,
|
|
10753
10904
|
writable: true
|
|
10754
10905
|
});
|
|
10755
|
-
} else
|
|
10756
|
-
obj[key] = value;
|
|
10757
|
-
}
|
|
10906
|
+
} else obj[key] = value;
|
|
10758
10907
|
return obj;
|
|
10759
10908
|
}
|
|
10760
10909
|
function _iterable_to_array$9(iter) {
|
|
10761
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
10910
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
10911
|
+
return Array.from(iter);
|
|
10912
|
+
}
|
|
10762
10913
|
}
|
|
10763
10914
|
function _iterable_to_array_limit$4(arr, i) {
|
|
10764
10915
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -10785,10 +10936,10 @@ function _iterable_to_array_limit$4(arr, i) {
|
|
|
10785
10936
|
return _arr;
|
|
10786
10937
|
}
|
|
10787
10938
|
function _non_iterable_rest$4() {
|
|
10788
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
10939
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10789
10940
|
}
|
|
10790
10941
|
function _non_iterable_spread$9() {
|
|
10791
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
10942
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10792
10943
|
}
|
|
10793
10944
|
function _object_spread$g(target) {
|
|
10794
10945
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -10815,9 +10966,8 @@ function ownKeys$e(object, enumerableOnly) {
|
|
|
10815
10966
|
}
|
|
10816
10967
|
function _object_spread_props$e(target, source) {
|
|
10817
10968
|
source = source != null ? source : {};
|
|
10818
|
-
if (Object.getOwnPropertyDescriptors)
|
|
10819
|
-
|
|
10820
|
-
} else {
|
|
10969
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10970
|
+
else {
|
|
10821
10971
|
ownKeys$e(Object(source)).forEach(function(key) {
|
|
10822
10972
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10823
10973
|
});
|
|
@@ -10830,14 +10980,6 @@ function _sliced_to_array$4(arr, i) {
|
|
|
10830
10980
|
function _to_consumable_array$9(arr) {
|
|
10831
10981
|
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$9();
|
|
10832
10982
|
}
|
|
10833
|
-
function _unsupported_iterable_to_array$b(o, minLen) {
|
|
10834
|
-
if (!o) return;
|
|
10835
|
-
if (typeof o === "string") return _array_like_to_array$b(o, minLen);
|
|
10836
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10837
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10838
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10839
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
|
|
10840
|
-
}
|
|
10841
10983
|
function _ts_generator$j(thisArg, body) {
|
|
10842
10984
|
var f, y, t, _ = {
|
|
10843
10985
|
label: 0,
|
|
@@ -10937,6 +11079,14 @@ function _ts_generator$j(thisArg, body) {
|
|
|
10937
11079
|
};
|
|
10938
11080
|
}
|
|
10939
11081
|
}
|
|
11082
|
+
function _unsupported_iterable_to_array$b(o, minLen) {
|
|
11083
|
+
if (!o) return;
|
|
11084
|
+
if (typeof o === "string") return _array_like_to_array$b(o, minLen);
|
|
11085
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11086
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11087
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11088
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
|
|
11089
|
+
}
|
|
10940
11090
|
/**
|
|
10941
11091
|
* The maximum number of the user's notification boxes to inspect in a single health check.
|
|
10942
11092
|
*
|
|
@@ -11725,11 +11875,8 @@ function asyncGeneratorStep$i(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11725
11875
|
reject(error);
|
|
11726
11876
|
return;
|
|
11727
11877
|
}
|
|
11728
|
-
if (info.done)
|
|
11729
|
-
|
|
11730
|
-
} else {
|
|
11731
|
-
Promise.resolve(value).then(_next, _throw);
|
|
11732
|
-
}
|
|
11878
|
+
if (info.done) resolve(value);
|
|
11879
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
11733
11880
|
}
|
|
11734
11881
|
function _async_to_generator$i(fn) {
|
|
11735
11882
|
return function() {
|
|
@@ -11754,16 +11901,16 @@ function _define_property$h(obj, key, value) {
|
|
|
11754
11901
|
configurable: true,
|
|
11755
11902
|
writable: true
|
|
11756
11903
|
});
|
|
11757
|
-
} else
|
|
11758
|
-
obj[key] = value;
|
|
11759
|
-
}
|
|
11904
|
+
} else obj[key] = value;
|
|
11760
11905
|
return obj;
|
|
11761
11906
|
}
|
|
11762
11907
|
function _iterable_to_array$8(iter) {
|
|
11763
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
11908
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
11909
|
+
return Array.from(iter);
|
|
11910
|
+
}
|
|
11764
11911
|
}
|
|
11765
11912
|
function _non_iterable_spread$8() {
|
|
11766
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
11913
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11767
11914
|
}
|
|
11768
11915
|
function _object_spread$f(target) {
|
|
11769
11916
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -11790,9 +11937,8 @@ function ownKeys$d(object, enumerableOnly) {
|
|
|
11790
11937
|
}
|
|
11791
11938
|
function _object_spread_props$d(target, source) {
|
|
11792
11939
|
source = source != null ? source : {};
|
|
11793
|
-
if (Object.getOwnPropertyDescriptors)
|
|
11794
|
-
|
|
11795
|
-
} else {
|
|
11940
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
11941
|
+
else {
|
|
11796
11942
|
ownKeys$d(Object(source)).forEach(function(key) {
|
|
11797
11943
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
11798
11944
|
});
|
|
@@ -11802,14 +11948,6 @@ function _object_spread_props$d(target, source) {
|
|
|
11802
11948
|
function _to_consumable_array$8(arr) {
|
|
11803
11949
|
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$8();
|
|
11804
11950
|
}
|
|
11805
|
-
function _unsupported_iterable_to_array$a(o, minLen) {
|
|
11806
|
-
if (!o) return;
|
|
11807
|
-
if (typeof o === "string") return _array_like_to_array$a(o, minLen);
|
|
11808
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11809
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11810
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11811
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
|
|
11812
|
-
}
|
|
11813
11951
|
function _ts_generator$i(thisArg, body) {
|
|
11814
11952
|
var f, y, t, _ = {
|
|
11815
11953
|
label: 0,
|
|
@@ -11909,6 +12047,14 @@ function _ts_generator$i(thisArg, body) {
|
|
|
11909
12047
|
};
|
|
11910
12048
|
}
|
|
11911
12049
|
}
|
|
12050
|
+
function _unsupported_iterable_to_array$a(o, minLen) {
|
|
12051
|
+
if (!o) return;
|
|
12052
|
+
if (typeof o === "string") return _array_like_to_array$a(o, minLen);
|
|
12053
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12054
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12055
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12056
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
|
|
12057
|
+
}
|
|
11912
12058
|
// MARK: Create NotificationSummary
|
|
11913
12059
|
/**
|
|
11914
12060
|
* Creates a blank {@link NotificationSummary} template for a newly initialized model.
|
|
@@ -12452,11 +12598,8 @@ function asyncGeneratorStep$h(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
12452
12598
|
reject(error);
|
|
12453
12599
|
return;
|
|
12454
12600
|
}
|
|
12455
|
-
if (info.done)
|
|
12456
|
-
|
|
12457
|
-
} else {
|
|
12458
|
-
Promise.resolve(value).then(_next, _throw);
|
|
12459
|
-
}
|
|
12601
|
+
if (info.done) resolve(value);
|
|
12602
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
12460
12603
|
}
|
|
12461
12604
|
function _async_to_generator$h(fn) {
|
|
12462
12605
|
return function() {
|
|
@@ -12474,9 +12617,7 @@ function _async_to_generator$h(fn) {
|
|
|
12474
12617
|
};
|
|
12475
12618
|
}
|
|
12476
12619
|
function _class_call_check$l(instance, Constructor) {
|
|
12477
|
-
if (!(instance instanceof Constructor))
|
|
12478
|
-
throw new TypeError("Cannot call a class as a function");
|
|
12479
|
-
}
|
|
12620
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
12480
12621
|
}
|
|
12481
12622
|
function _define_property$g(obj, key, value) {
|
|
12482
12623
|
if (key in obj) {
|
|
@@ -12486,13 +12627,13 @@ function _define_property$g(obj, key, value) {
|
|
|
12486
12627
|
configurable: true,
|
|
12487
12628
|
writable: true
|
|
12488
12629
|
});
|
|
12489
|
-
} else
|
|
12490
|
-
obj[key] = value;
|
|
12491
|
-
}
|
|
12630
|
+
} else obj[key] = value;
|
|
12492
12631
|
return obj;
|
|
12493
12632
|
}
|
|
12494
12633
|
function _iterable_to_array$7(iter) {
|
|
12495
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
12634
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
12635
|
+
return Array.from(iter);
|
|
12636
|
+
}
|
|
12496
12637
|
}
|
|
12497
12638
|
function _iterable_to_array_limit$3(arr, i) {
|
|
12498
12639
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -12519,10 +12660,10 @@ function _iterable_to_array_limit$3(arr, i) {
|
|
|
12519
12660
|
return _arr;
|
|
12520
12661
|
}
|
|
12521
12662
|
function _non_iterable_rest$3() {
|
|
12522
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
12663
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12523
12664
|
}
|
|
12524
12665
|
function _non_iterable_spread$7() {
|
|
12525
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
12666
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12526
12667
|
}
|
|
12527
12668
|
function _object_spread$e(target) {
|
|
12528
12669
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -12549,9 +12690,8 @@ function ownKeys$c(object, enumerableOnly) {
|
|
|
12549
12690
|
}
|
|
12550
12691
|
function _object_spread_props$c(target, source) {
|
|
12551
12692
|
source = source != null ? source : {};
|
|
12552
|
-
if (Object.getOwnPropertyDescriptors)
|
|
12553
|
-
|
|
12554
|
-
} else {
|
|
12693
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
12694
|
+
else {
|
|
12555
12695
|
ownKeys$c(Object(source)).forEach(function(key) {
|
|
12556
12696
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
12557
12697
|
});
|
|
@@ -12564,14 +12704,6 @@ function _sliced_to_array$3(arr, i) {
|
|
|
12564
12704
|
function _to_consumable_array$7(arr) {
|
|
12565
12705
|
return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$7();
|
|
12566
12706
|
}
|
|
12567
|
-
function _unsupported_iterable_to_array$9(o, minLen) {
|
|
12568
|
-
if (!o) return;
|
|
12569
|
-
if (typeof o === "string") return _array_like_to_array$9(o, minLen);
|
|
12570
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12571
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12572
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12573
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
|
|
12574
|
-
}
|
|
12575
12707
|
function _ts_generator$h(thisArg, body) {
|
|
12576
12708
|
var f, y, t, _ = {
|
|
12577
12709
|
label: 0,
|
|
@@ -12671,6 +12803,14 @@ function _ts_generator$h(thisArg, body) {
|
|
|
12671
12803
|
};
|
|
12672
12804
|
}
|
|
12673
12805
|
}
|
|
12806
|
+
function _unsupported_iterable_to_array$9(o, minLen) {
|
|
12807
|
+
if (!o) return;
|
|
12808
|
+
if (typeof o === "string") return _array_like_to_array$9(o, minLen);
|
|
12809
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12810
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12811
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12812
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
|
|
12813
|
+
}
|
|
12674
12814
|
/**
|
|
12675
12815
|
* NestJS injection token for the {@link BaseNotificationServerActionsContext}, which provides
|
|
12676
12816
|
* the foundational Firebase context, Firestore collections, and auth service needed by notification actions.
|
|
@@ -15833,11 +15973,8 @@ function asyncGeneratorStep$g(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
15833
15973
|
reject(error);
|
|
15834
15974
|
return;
|
|
15835
15975
|
}
|
|
15836
|
-
if (info.done)
|
|
15837
|
-
|
|
15838
|
-
} else {
|
|
15839
|
-
Promise.resolve(value).then(_next, _throw);
|
|
15840
|
-
}
|
|
15976
|
+
if (info.done) resolve(value);
|
|
15977
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
15841
15978
|
}
|
|
15842
15979
|
function _async_to_generator$g(fn) {
|
|
15843
15980
|
return function() {
|
|
@@ -15855,9 +15992,7 @@ function _async_to_generator$g(fn) {
|
|
|
15855
15992
|
};
|
|
15856
15993
|
}
|
|
15857
15994
|
function _class_call_check$k(instance, Constructor) {
|
|
15858
|
-
if (!(instance instanceof Constructor))
|
|
15859
|
-
throw new TypeError("Cannot call a class as a function");
|
|
15860
|
-
}
|
|
15995
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15861
15996
|
}
|
|
15862
15997
|
function _define_property$f(obj, key, value) {
|
|
15863
15998
|
if (key in obj) {
|
|
@@ -15867,9 +16002,7 @@ function _define_property$f(obj, key, value) {
|
|
|
15867
16002
|
configurable: true,
|
|
15868
16003
|
writable: true
|
|
15869
16004
|
});
|
|
15870
|
-
} else
|
|
15871
|
-
obj[key] = value;
|
|
15872
|
-
}
|
|
16005
|
+
} else obj[key] = value;
|
|
15873
16006
|
return obj;
|
|
15874
16007
|
}
|
|
15875
16008
|
function _object_spread$d(target) {
|
|
@@ -15897,9 +16030,8 @@ function ownKeys$b(object, enumerableOnly) {
|
|
|
15897
16030
|
}
|
|
15898
16031
|
function _object_spread_props$b(target, source) {
|
|
15899
16032
|
source = source != null ? source : {};
|
|
15900
|
-
if (Object.getOwnPropertyDescriptors)
|
|
15901
|
-
|
|
15902
|
-
} else {
|
|
16033
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
16034
|
+
else {
|
|
15903
16035
|
ownKeys$b(Object(source)).forEach(function(key) {
|
|
15904
16036
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15905
16037
|
});
|
|
@@ -16590,11 +16722,8 @@ function asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
16590
16722
|
reject(error);
|
|
16591
16723
|
return;
|
|
16592
16724
|
}
|
|
16593
|
-
if (info.done)
|
|
16594
|
-
|
|
16595
|
-
} else {
|
|
16596
|
-
Promise.resolve(value).then(_next, _throw);
|
|
16597
|
-
}
|
|
16725
|
+
if (info.done) resolve(value);
|
|
16726
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
16598
16727
|
}
|
|
16599
16728
|
function _async_to_generator$f(fn) {
|
|
16600
16729
|
return function() {
|
|
@@ -16612,9 +16741,7 @@ function _async_to_generator$f(fn) {
|
|
|
16612
16741
|
};
|
|
16613
16742
|
}
|
|
16614
16743
|
function _class_call_check$j(instance, Constructor) {
|
|
16615
|
-
if (!(instance instanceof Constructor))
|
|
16616
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16617
|
-
}
|
|
16744
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16618
16745
|
}
|
|
16619
16746
|
function _defineProperties$6(target, props) {
|
|
16620
16747
|
for(var i = 0; i < props.length; i++){
|
|
@@ -16637,9 +16764,7 @@ function _define_property$e(obj, key, value) {
|
|
|
16637
16764
|
configurable: true,
|
|
16638
16765
|
writable: true
|
|
16639
16766
|
});
|
|
16640
|
-
} else
|
|
16641
|
-
obj[key] = value;
|
|
16642
|
-
}
|
|
16767
|
+
} else obj[key] = value;
|
|
16643
16768
|
return obj;
|
|
16644
16769
|
}
|
|
16645
16770
|
function _ts_generator$f(thisArg, body) {
|
|
@@ -16844,9 +16969,7 @@ NotificationTemplateService = __decorate([
|
|
|
16844
16969
|
}
|
|
16845
16970
|
|
|
16846
16971
|
function _class_call_check$i(instance, Constructor) {
|
|
16847
|
-
if (!(instance instanceof Constructor))
|
|
16848
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16849
|
-
}
|
|
16972
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16850
16973
|
}
|
|
16851
16974
|
/**
|
|
16852
16975
|
* Abstract service that orchestrates notification delivery across multiple channels (email, SMS, notification summaries).
|
|
@@ -16862,9 +16985,7 @@ function _class_call_check$i(instance, Constructor) {
|
|
|
16862
16985
|
;
|
|
16863
16986
|
|
|
16864
16987
|
function _class_call_check$h(instance, Constructor) {
|
|
16865
|
-
if (!(instance instanceof Constructor))
|
|
16866
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16867
|
-
}
|
|
16988
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16868
16989
|
}
|
|
16869
16990
|
/**
|
|
16870
16991
|
* Abstract service that dispatches {@link NotificationTask} instances to the appropriate
|
|
@@ -16887,11 +17008,8 @@ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
16887
17008
|
reject(error);
|
|
16888
17009
|
return;
|
|
16889
17010
|
}
|
|
16890
|
-
if (info.done)
|
|
16891
|
-
|
|
16892
|
-
} else {
|
|
16893
|
-
Promise.resolve(value).then(_next, _throw);
|
|
16894
|
-
}
|
|
17011
|
+
if (info.done) resolve(value);
|
|
17012
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
16895
17013
|
}
|
|
16896
17014
|
function _async_to_generator$e(fn) {
|
|
16897
17015
|
return function() {
|
|
@@ -16909,9 +17027,7 @@ function _async_to_generator$e(fn) {
|
|
|
16909
17027
|
};
|
|
16910
17028
|
}
|
|
16911
17029
|
function _class_call_check$g(instance, Constructor) {
|
|
16912
|
-
if (!(instance instanceof Constructor))
|
|
16913
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16914
|
-
}
|
|
17030
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16915
17031
|
}
|
|
16916
17032
|
function _defineProperties$5(target, props) {
|
|
16917
17033
|
for(var i = 0; i < props.length; i++){
|
|
@@ -16934,9 +17050,7 @@ function _define_property$d(obj, key, value) {
|
|
|
16934
17050
|
configurable: true,
|
|
16935
17051
|
writable: true
|
|
16936
17052
|
});
|
|
16937
|
-
} else
|
|
16938
|
-
obj[key] = value;
|
|
16939
|
-
}
|
|
17053
|
+
} else obj[key] = value;
|
|
16940
17054
|
return obj;
|
|
16941
17055
|
}
|
|
16942
17056
|
function _object_spread$c(target) {
|
|
@@ -17214,9 +17328,7 @@ function _array_without_holes$6(arr) {
|
|
|
17214
17328
|
if (Array.isArray(arr)) return _array_like_to_array$8(arr);
|
|
17215
17329
|
}
|
|
17216
17330
|
function _class_call_check$f(instance, Constructor) {
|
|
17217
|
-
if (!(instance instanceof Constructor))
|
|
17218
|
-
throw new TypeError("Cannot call a class as a function");
|
|
17219
|
-
}
|
|
17331
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
17220
17332
|
}
|
|
17221
17333
|
function _define_property$c(obj, key, value) {
|
|
17222
17334
|
if (key in obj) {
|
|
@@ -17226,16 +17338,16 @@ function _define_property$c(obj, key, value) {
|
|
|
17226
17338
|
configurable: true,
|
|
17227
17339
|
writable: true
|
|
17228
17340
|
});
|
|
17229
|
-
} else
|
|
17230
|
-
obj[key] = value;
|
|
17231
|
-
}
|
|
17341
|
+
} else obj[key] = value;
|
|
17232
17342
|
return obj;
|
|
17233
17343
|
}
|
|
17234
17344
|
function _iterable_to_array$6(iter) {
|
|
17235
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
17345
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
17346
|
+
return Array.from(iter);
|
|
17347
|
+
}
|
|
17236
17348
|
}
|
|
17237
17349
|
function _non_iterable_spread$6() {
|
|
17238
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
17350
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17239
17351
|
}
|
|
17240
17352
|
function _object_spread$b(target) {
|
|
17241
17353
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -17262,9 +17374,8 @@ function ownKeys$a(object, enumerableOnly) {
|
|
|
17262
17374
|
}
|
|
17263
17375
|
function _object_spread_props$a(target, source) {
|
|
17264
17376
|
source = source != null ? source : {};
|
|
17265
|
-
if (Object.getOwnPropertyDescriptors)
|
|
17266
|
-
|
|
17267
|
-
} else {
|
|
17377
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
17378
|
+
else {
|
|
17268
17379
|
ownKeys$a(Object(source)).forEach(function(key) {
|
|
17269
17380
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
17270
17381
|
});
|
|
@@ -17431,11 +17542,8 @@ function asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
17431
17542
|
reject(error);
|
|
17432
17543
|
return;
|
|
17433
17544
|
}
|
|
17434
|
-
if (info.done)
|
|
17435
|
-
|
|
17436
|
-
} else {
|
|
17437
|
-
Promise.resolve(value).then(_next, _throw);
|
|
17438
|
-
}
|
|
17545
|
+
if (info.done) resolve(value);
|
|
17546
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
17439
17547
|
}
|
|
17440
17548
|
function _async_to_generator$d(fn) {
|
|
17441
17549
|
return function() {
|
|
@@ -17460,13 +17568,13 @@ function _define_property$b(obj, key, value) {
|
|
|
17460
17568
|
configurable: true,
|
|
17461
17569
|
writable: true
|
|
17462
17570
|
});
|
|
17463
|
-
} else
|
|
17464
|
-
obj[key] = value;
|
|
17465
|
-
}
|
|
17571
|
+
} else obj[key] = value;
|
|
17466
17572
|
return obj;
|
|
17467
17573
|
}
|
|
17468
17574
|
function _iterable_to_array$5(iter) {
|
|
17469
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
17575
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
17576
|
+
return Array.from(iter);
|
|
17577
|
+
}
|
|
17470
17578
|
}
|
|
17471
17579
|
function _iterable_to_array_limit$2(arr, i) {
|
|
17472
17580
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -17493,10 +17601,10 @@ function _iterable_to_array_limit$2(arr, i) {
|
|
|
17493
17601
|
return _arr;
|
|
17494
17602
|
}
|
|
17495
17603
|
function _non_iterable_rest$2() {
|
|
17496
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
17604
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17497
17605
|
}
|
|
17498
17606
|
function _non_iterable_spread$5() {
|
|
17499
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
17607
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17500
17608
|
}
|
|
17501
17609
|
function _object_spread$a(target) {
|
|
17502
17610
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -17523,9 +17631,8 @@ function ownKeys$9(object, enumerableOnly) {
|
|
|
17523
17631
|
}
|
|
17524
17632
|
function _object_spread_props$9(target, source) {
|
|
17525
17633
|
source = source != null ? source : {};
|
|
17526
|
-
if (Object.getOwnPropertyDescriptors)
|
|
17527
|
-
|
|
17528
|
-
} else {
|
|
17634
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
17635
|
+
else {
|
|
17529
17636
|
ownKeys$9(Object(source)).forEach(function(key) {
|
|
17530
17637
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
17531
17638
|
});
|
|
@@ -17538,14 +17645,6 @@ function _sliced_to_array$2(arr, i) {
|
|
|
17538
17645
|
function _to_consumable_array$5(arr) {
|
|
17539
17646
|
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$5();
|
|
17540
17647
|
}
|
|
17541
|
-
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
17542
|
-
if (!o) return;
|
|
17543
|
-
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
17544
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17545
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17546
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17547
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
17548
|
-
}
|
|
17549
17648
|
function _ts_generator$d(thisArg, body) {
|
|
17550
17649
|
var f, y, t, _ = {
|
|
17551
17650
|
label: 0,
|
|
@@ -17645,6 +17744,14 @@ function _ts_generator$d(thisArg, body) {
|
|
|
17645
17744
|
};
|
|
17646
17745
|
}
|
|
17647
17746
|
}
|
|
17747
|
+
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
17748
|
+
if (!o) return;
|
|
17749
|
+
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
17750
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17751
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17752
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17753
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
17754
|
+
}
|
|
17648
17755
|
/**
|
|
17649
17756
|
* Creates a {@link NotificationSummarySendService} that writes notification items to Firestore
|
|
17650
17757
|
* {@link NotificationSummary} documents.
|
|
@@ -17850,11 +17957,8 @@ function asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
17850
17957
|
reject(error);
|
|
17851
17958
|
return;
|
|
17852
17959
|
}
|
|
17853
|
-
if (info.done)
|
|
17854
|
-
|
|
17855
|
-
} else {
|
|
17856
|
-
Promise.resolve(value).then(_next, _throw);
|
|
17857
|
-
}
|
|
17960
|
+
if (info.done) resolve(value);
|
|
17961
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
17858
17962
|
}
|
|
17859
17963
|
function _async_to_generator$c(fn) {
|
|
17860
17964
|
return function() {
|
|
@@ -18030,11 +18134,8 @@ function asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
18030
18134
|
reject(error);
|
|
18031
18135
|
return;
|
|
18032
18136
|
}
|
|
18033
|
-
if (info.done)
|
|
18034
|
-
|
|
18035
|
-
} else {
|
|
18036
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18037
|
-
}
|
|
18137
|
+
if (info.done) resolve(value);
|
|
18138
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
18038
18139
|
}
|
|
18039
18140
|
function _async_to_generator$b(fn) {
|
|
18040
18141
|
return function() {
|
|
@@ -18267,11 +18368,8 @@ function asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
18267
18368
|
reject(error);
|
|
18268
18369
|
return;
|
|
18269
18370
|
}
|
|
18270
|
-
if (info.done)
|
|
18271
|
-
|
|
18272
|
-
} else {
|
|
18273
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18274
|
-
}
|
|
18371
|
+
if (info.done) resolve(value);
|
|
18372
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
18275
18373
|
}
|
|
18276
18374
|
function _async_to_generator$a(fn) {
|
|
18277
18375
|
return function() {
|
|
@@ -18708,11 +18806,8 @@ function asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
18708
18806
|
reject(error);
|
|
18709
18807
|
return;
|
|
18710
18808
|
}
|
|
18711
|
-
if (info.done)
|
|
18712
|
-
|
|
18713
|
-
} else {
|
|
18714
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18715
|
-
}
|
|
18809
|
+
if (info.done) resolve(value);
|
|
18810
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
18716
18811
|
}
|
|
18717
18812
|
function _async_to_generator$9(fn) {
|
|
18718
18813
|
return function() {
|
|
@@ -18733,9 +18828,7 @@ function _instanceof(left, right) {
|
|
|
18733
18828
|
"@swc/helpers - instanceof";
|
|
18734
18829
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
18735
18830
|
return !!right[Symbol.hasInstance](left);
|
|
18736
|
-
} else
|
|
18737
|
-
return left instanceof right;
|
|
18738
|
-
}
|
|
18831
|
+
} else return left instanceof right;
|
|
18739
18832
|
}
|
|
18740
18833
|
function _iterable_to_array_limit$1(arr, i) {
|
|
18741
18834
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -18762,19 +18855,11 @@ function _iterable_to_array_limit$1(arr, i) {
|
|
|
18762
18855
|
return _arr;
|
|
18763
18856
|
}
|
|
18764
18857
|
function _non_iterable_rest$1() {
|
|
18765
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
18858
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18766
18859
|
}
|
|
18767
18860
|
function _sliced_to_array$1(arr, i) {
|
|
18768
18861
|
return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$1();
|
|
18769
18862
|
}
|
|
18770
|
-
function _unsupported_iterable_to_array$6(o, minLen) {
|
|
18771
|
-
if (!o) return;
|
|
18772
|
-
if (typeof o === "string") return _array_like_to_array$6(o, minLen);
|
|
18773
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
18774
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
18775
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
18776
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
18777
|
-
}
|
|
18778
18863
|
function _ts_generator$9(thisArg, body) {
|
|
18779
18864
|
var f, y, t, _ = {
|
|
18780
18865
|
label: 0,
|
|
@@ -18874,6 +18959,14 @@ function _ts_generator$9(thisArg, body) {
|
|
|
18874
18959
|
};
|
|
18875
18960
|
}
|
|
18876
18961
|
}
|
|
18962
|
+
function _unsupported_iterable_to_array$6(o, minLen) {
|
|
18963
|
+
if (!o) return;
|
|
18964
|
+
if (typeof o === "string") return _array_like_to_array$6(o, minLen);
|
|
18965
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
18966
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
18967
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
18968
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
18969
|
+
}
|
|
18877
18970
|
var DEFAULT_COMPRESS_PDF_IMAGE_MAX_DIMENSION = 2048;
|
|
18878
18971
|
var DEFAULT_COMPRESS_PDF_IMAGE_QUALITY = 75;
|
|
18879
18972
|
var DEFAULT_COMPRESS_PDF_IMAGE_SIZE_THRESHOLD_BYTES = 100 * 1024;
|
|
@@ -19468,11 +19561,8 @@ function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
19468
19561
|
reject(error);
|
|
19469
19562
|
return;
|
|
19470
19563
|
}
|
|
19471
|
-
if (info.done)
|
|
19472
|
-
|
|
19473
|
-
} else {
|
|
19474
|
-
Promise.resolve(value).then(_next, _throw);
|
|
19475
|
-
}
|
|
19564
|
+
if (info.done) resolve(value);
|
|
19565
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19476
19566
|
}
|
|
19477
19567
|
function _async_to_generator$8(fn) {
|
|
19478
19568
|
return function() {
|
|
@@ -19490,9 +19580,7 @@ function _async_to_generator$8(fn) {
|
|
|
19490
19580
|
};
|
|
19491
19581
|
}
|
|
19492
19582
|
function _class_call_check$e(instance, Constructor) {
|
|
19493
|
-
if (!(instance instanceof Constructor))
|
|
19494
|
-
throw new TypeError("Cannot call a class as a function");
|
|
19495
|
-
}
|
|
19583
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
19496
19584
|
}
|
|
19497
19585
|
function _define_property$a(obj, key, value) {
|
|
19498
19586
|
if (key in obj) {
|
|
@@ -19502,9 +19590,7 @@ function _define_property$a(obj, key, value) {
|
|
|
19502
19590
|
configurable: true,
|
|
19503
19591
|
writable: true
|
|
19504
19592
|
});
|
|
19505
|
-
} else
|
|
19506
|
-
obj[key] = value;
|
|
19507
|
-
}
|
|
19593
|
+
} else obj[key] = value;
|
|
19508
19594
|
return obj;
|
|
19509
19595
|
}
|
|
19510
19596
|
function _object_spread$9(target) {
|
|
@@ -19532,9 +19618,8 @@ function ownKeys$8(object, enumerableOnly) {
|
|
|
19532
19618
|
}
|
|
19533
19619
|
function _object_spread_props$8(target, source) {
|
|
19534
19620
|
source = source != null ? source : {};
|
|
19535
|
-
if (Object.getOwnPropertyDescriptors)
|
|
19536
|
-
|
|
19537
|
-
} else {
|
|
19621
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
19622
|
+
else {
|
|
19538
19623
|
ownKeys$8(Object(source)).forEach(function(key) {
|
|
19539
19624
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
19540
19625
|
});
|
|
@@ -20011,16 +20096,16 @@ function _define_property$9(obj, key, value) {
|
|
|
20011
20096
|
configurable: true,
|
|
20012
20097
|
writable: true
|
|
20013
20098
|
});
|
|
20014
|
-
} else
|
|
20015
|
-
obj[key] = value;
|
|
20016
|
-
}
|
|
20099
|
+
} else obj[key] = value;
|
|
20017
20100
|
return obj;
|
|
20018
20101
|
}
|
|
20019
20102
|
function _iterable_to_array$4(iter) {
|
|
20020
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
20103
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
20104
|
+
return Array.from(iter);
|
|
20105
|
+
}
|
|
20021
20106
|
}
|
|
20022
20107
|
function _non_iterable_spread$4() {
|
|
20023
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
20108
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20024
20109
|
}
|
|
20025
20110
|
function _object_spread$8(target) {
|
|
20026
20111
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -20047,9 +20132,8 @@ function ownKeys$7(object, enumerableOnly) {
|
|
|
20047
20132
|
}
|
|
20048
20133
|
function _object_spread_props$7(target, source) {
|
|
20049
20134
|
source = source != null ? source : {};
|
|
20050
|
-
if (Object.getOwnPropertyDescriptors)
|
|
20051
|
-
|
|
20052
|
-
} else {
|
|
20135
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
20136
|
+
else {
|
|
20053
20137
|
ownKeys$7(Object(source)).forEach(function(key) {
|
|
20054
20138
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
20055
20139
|
});
|
|
@@ -20189,9 +20273,7 @@ function buildProcessStorageFileDescription(additionalGuidance) {
|
|
|
20189
20273
|
}
|
|
20190
20274
|
|
|
20191
20275
|
function _class_call_check$d(instance, Constructor) {
|
|
20192
|
-
if (!(instance instanceof Constructor))
|
|
20193
|
-
throw new TypeError("Cannot call a class as a function");
|
|
20194
|
-
}
|
|
20276
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
20195
20277
|
}
|
|
20196
20278
|
/**
|
|
20197
20279
|
* Abstract service responsible for the upload-to-StorageFile initialization pipeline.
|
|
@@ -20221,16 +20303,16 @@ function _define_property$8(obj, key, value) {
|
|
|
20221
20303
|
configurable: true,
|
|
20222
20304
|
writable: true
|
|
20223
20305
|
});
|
|
20224
|
-
} else
|
|
20225
|
-
obj[key] = value;
|
|
20226
|
-
}
|
|
20306
|
+
} else obj[key] = value;
|
|
20227
20307
|
return obj;
|
|
20228
20308
|
}
|
|
20229
20309
|
function _iterable_to_array$3(iter) {
|
|
20230
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
20310
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
20311
|
+
return Array.from(iter);
|
|
20312
|
+
}
|
|
20231
20313
|
}
|
|
20232
20314
|
function _non_iterable_spread$3() {
|
|
20233
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
20315
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20234
20316
|
}
|
|
20235
20317
|
function _object_spread$7(target) {
|
|
20236
20318
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -20257,9 +20339,8 @@ function ownKeys$6(object, enumerableOnly) {
|
|
|
20257
20339
|
}
|
|
20258
20340
|
function _object_spread_props$6(target, source) {
|
|
20259
20341
|
source = source != null ? source : {};
|
|
20260
|
-
if (Object.getOwnPropertyDescriptors)
|
|
20261
|
-
|
|
20262
|
-
} else {
|
|
20342
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
20343
|
+
else {
|
|
20263
20344
|
ownKeys$6(Object(source)).forEach(function(key) {
|
|
20264
20345
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
20265
20346
|
});
|
|
@@ -20392,11 +20473,8 @@ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
20392
20473
|
reject(error);
|
|
20393
20474
|
return;
|
|
20394
20475
|
}
|
|
20395
|
-
if (info.done)
|
|
20396
|
-
|
|
20397
|
-
} else {
|
|
20398
|
-
Promise.resolve(value).then(_next, _throw);
|
|
20399
|
-
}
|
|
20476
|
+
if (info.done) resolve(value);
|
|
20477
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
20400
20478
|
}
|
|
20401
20479
|
function _async_to_generator$7(fn) {
|
|
20402
20480
|
return function() {
|
|
@@ -20421,16 +20499,16 @@ function _define_property$7(obj, key, value) {
|
|
|
20421
20499
|
configurable: true,
|
|
20422
20500
|
writable: true
|
|
20423
20501
|
});
|
|
20424
|
-
} else
|
|
20425
|
-
obj[key] = value;
|
|
20426
|
-
}
|
|
20502
|
+
} else obj[key] = value;
|
|
20427
20503
|
return obj;
|
|
20428
20504
|
}
|
|
20429
20505
|
function _iterable_to_array$2(iter) {
|
|
20430
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
20506
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
20507
|
+
return Array.from(iter);
|
|
20508
|
+
}
|
|
20431
20509
|
}
|
|
20432
20510
|
function _non_iterable_spread$2() {
|
|
20433
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
20511
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20434
20512
|
}
|
|
20435
20513
|
function _object_spread$6(target) {
|
|
20436
20514
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -20457,9 +20535,8 @@ function ownKeys$5(object, enumerableOnly) {
|
|
|
20457
20535
|
}
|
|
20458
20536
|
function _object_spread_props$5(target, source) {
|
|
20459
20537
|
source = source != null ? source : {};
|
|
20460
|
-
if (Object.getOwnPropertyDescriptors)
|
|
20461
|
-
|
|
20462
|
-
} else {
|
|
20538
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
20539
|
+
else {
|
|
20463
20540
|
ownKeys$5(Object(source)).forEach(function(key) {
|
|
20464
20541
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
20465
20542
|
});
|
|
@@ -20469,14 +20546,6 @@ function _object_spread_props$5(target, source) {
|
|
|
20469
20546
|
function _to_consumable_array$2(arr) {
|
|
20470
20547
|
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$2();
|
|
20471
20548
|
}
|
|
20472
|
-
function _unsupported_iterable_to_array$3(o, minLen) {
|
|
20473
|
-
if (!o) return;
|
|
20474
|
-
if (typeof o === "string") return _array_like_to_array$3(o, minLen);
|
|
20475
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
20476
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
20477
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
20478
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
|
|
20479
|
-
}
|
|
20480
20549
|
function _ts_generator$7(thisArg, body) {
|
|
20481
20550
|
var f, y, t, _ = {
|
|
20482
20551
|
label: 0,
|
|
@@ -20576,6 +20645,14 @@ function _ts_generator$7(thisArg, body) {
|
|
|
20576
20645
|
};
|
|
20577
20646
|
}
|
|
20578
20647
|
}
|
|
20648
|
+
function _unsupported_iterable_to_array$3(o, minLen) {
|
|
20649
|
+
if (!o) return;
|
|
20650
|
+
if (typeof o === "string") return _array_like_to_array$3(o, minLen);
|
|
20651
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
20652
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
20653
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
20654
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
|
|
20655
|
+
}
|
|
20579
20656
|
var storageFileProcessingNotificationTaskHandlerDefaultCleanup = function storageFileProcessingNotificationTaskHandlerDefaultCleanup() {
|
|
20580
20657
|
return {
|
|
20581
20658
|
cleanupSuccess: true,
|
|
@@ -20885,7 +20962,7 @@ var storageFileProcessingNotificationTaskHandlerDefaultCleanup = function storag
|
|
|
20885
20962
|
];
|
|
20886
20963
|
case 5:
|
|
20887
20964
|
archiverOptions = _state.sent();
|
|
20888
|
-
newArchive =
|
|
20965
|
+
newArchive = new ZipArchive(archiverOptions);
|
|
20889
20966
|
// pipe the archive to the upload stream
|
|
20890
20967
|
newArchive.pipe(uploadStream, {
|
|
20891
20968
|
end: true
|
|
@@ -21119,9 +21196,7 @@ var storageFileProcessingNotificationTaskHandlerDefaultCleanup = function storag
|
|
|
21119
21196
|
}
|
|
21120
21197
|
|
|
21121
21198
|
function _assert_this_initialized$1(self) {
|
|
21122
|
-
if (self === void 0)
|
|
21123
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
21124
|
-
}
|
|
21199
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
21125
21200
|
return self;
|
|
21126
21201
|
}
|
|
21127
21202
|
function _call_super$1(_this, derived, args) {
|
|
@@ -21129,9 +21204,7 @@ function _call_super$1(_this, derived, args) {
|
|
|
21129
21204
|
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));
|
|
21130
21205
|
}
|
|
21131
21206
|
function _class_call_check$c(instance, Constructor) {
|
|
21132
|
-
if (!(instance instanceof Constructor))
|
|
21133
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21134
|
-
}
|
|
21207
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
21135
21208
|
}
|
|
21136
21209
|
function _defineProperties$4(target, props) {
|
|
21137
21210
|
for(var i = 0; i < props.length; i++){
|
|
@@ -21165,10 +21238,16 @@ function _inherits$1(subClass, superClass) {
|
|
|
21165
21238
|
});
|
|
21166
21239
|
if (superClass) _set_prototype_of$1(subClass, superClass);
|
|
21167
21240
|
}
|
|
21241
|
+
function _is_native_reflect_construct$1() {
|
|
21242
|
+
try {
|
|
21243
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
21244
|
+
} catch (_) {}
|
|
21245
|
+
return (_is_native_reflect_construct$1 = function() {
|
|
21246
|
+
return !!result;
|
|
21247
|
+
})();
|
|
21248
|
+
}
|
|
21168
21249
|
function _possible_constructor_return$1(self, call) {
|
|
21169
|
-
if (call && (_type_of$1(call) === "object" || typeof call === "function"))
|
|
21170
|
-
return call;
|
|
21171
|
-
}
|
|
21250
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) return call;
|
|
21172
21251
|
return _assert_this_initialized$1(self);
|
|
21173
21252
|
}
|
|
21174
21253
|
function _set_prototype_of$1(o, p) {
|
|
@@ -21182,14 +21261,6 @@ function _type_of$1(obj) {
|
|
|
21182
21261
|
"@swc/helpers - typeof";
|
|
21183
21262
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
21184
21263
|
}
|
|
21185
|
-
function _is_native_reflect_construct$1() {
|
|
21186
|
-
try {
|
|
21187
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
21188
|
-
} catch (_) {}
|
|
21189
|
-
return (_is_native_reflect_construct$1 = function() {
|
|
21190
|
-
return !!result;
|
|
21191
|
-
})();
|
|
21192
|
-
}
|
|
21193
21264
|
// MARK: Collections
|
|
21194
21265
|
/**
|
|
21195
21266
|
* Provides access to the {@link SystemStatePrivate} collection.
|
|
@@ -21272,15 +21343,15 @@ function _array_without_holes$1(arr) {
|
|
|
21272
21343
|
if (Array.isArray(arr)) return _array_like_to_array$2(arr);
|
|
21273
21344
|
}
|
|
21274
21345
|
function _class_call_check$b(instance, Constructor) {
|
|
21275
|
-
if (!(instance instanceof Constructor))
|
|
21276
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21277
|
-
}
|
|
21346
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
21278
21347
|
}
|
|
21279
21348
|
function _iterable_to_array$1(iter) {
|
|
21280
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
21349
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
21350
|
+
return Array.from(iter);
|
|
21351
|
+
}
|
|
21281
21352
|
}
|
|
21282
21353
|
function _non_iterable_spread$1() {
|
|
21283
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
21354
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21284
21355
|
}
|
|
21285
21356
|
function _to_consumable_array$1(arr) {
|
|
21286
21357
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$1();
|
|
@@ -21375,11 +21446,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
21375
21446
|
reject(error);
|
|
21376
21447
|
return;
|
|
21377
21448
|
}
|
|
21378
|
-
if (info.done)
|
|
21379
|
-
|
|
21380
|
-
} else {
|
|
21381
|
-
Promise.resolve(value).then(_next, _throw);
|
|
21382
|
-
}
|
|
21449
|
+
if (info.done) resolve(value);
|
|
21450
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
21383
21451
|
}
|
|
21384
21452
|
function _async_to_generator$6(fn) {
|
|
21385
21453
|
return function() {
|
|
@@ -21404,9 +21472,7 @@ function _define_property$6(obj, key, value) {
|
|
|
21404
21472
|
configurable: true,
|
|
21405
21473
|
writable: true
|
|
21406
21474
|
});
|
|
21407
|
-
} else
|
|
21408
|
-
obj[key] = value;
|
|
21409
|
-
}
|
|
21475
|
+
} else obj[key] = value;
|
|
21410
21476
|
return obj;
|
|
21411
21477
|
}
|
|
21412
21478
|
function _object_spread$5(target) {
|
|
@@ -21434,9 +21500,8 @@ function ownKeys$4(object, enumerableOnly) {
|
|
|
21434
21500
|
}
|
|
21435
21501
|
function _object_spread_props$4(target, source) {
|
|
21436
21502
|
source = source != null ? source : {};
|
|
21437
|
-
if (Object.getOwnPropertyDescriptors)
|
|
21438
|
-
|
|
21439
|
-
} else {
|
|
21503
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
21504
|
+
else {
|
|
21440
21505
|
ownKeys$4(Object(source)).forEach(function(key) {
|
|
21441
21506
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21442
21507
|
});
|
|
@@ -21708,9 +21773,7 @@ function _ts_generator$6(thisArg, body) {
|
|
|
21708
21773
|
}
|
|
21709
21774
|
|
|
21710
21775
|
function _class_call_check$a(instance, Constructor) {
|
|
21711
|
-
if (!(instance instanceof Constructor))
|
|
21712
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21713
|
-
}
|
|
21776
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
21714
21777
|
}
|
|
21715
21778
|
function _defineProperties$3(target, props) {
|
|
21716
21779
|
for(var i = 0; i < props.length; i++){
|
|
@@ -21733,9 +21796,7 @@ function _define_property$5(obj, key, value) {
|
|
|
21733
21796
|
configurable: true,
|
|
21734
21797
|
writable: true
|
|
21735
21798
|
});
|
|
21736
|
-
} else
|
|
21737
|
-
obj[key] = value;
|
|
21738
|
-
}
|
|
21799
|
+
} else obj[key] = value;
|
|
21739
21800
|
return obj;
|
|
21740
21801
|
}
|
|
21741
21802
|
// MARK: Paths
|
|
@@ -21868,11 +21929,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
21868
21929
|
reject(error);
|
|
21869
21930
|
return;
|
|
21870
21931
|
}
|
|
21871
|
-
if (info.done)
|
|
21872
|
-
|
|
21873
|
-
} else {
|
|
21874
|
-
Promise.resolve(value).then(_next, _throw);
|
|
21875
|
-
}
|
|
21932
|
+
if (info.done) resolve(value);
|
|
21933
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
21876
21934
|
}
|
|
21877
21935
|
function _async_to_generator$5(fn) {
|
|
21878
21936
|
return function() {
|
|
@@ -21890,9 +21948,7 @@ function _async_to_generator$5(fn) {
|
|
|
21890
21948
|
};
|
|
21891
21949
|
}
|
|
21892
21950
|
function _class_call_check$9(instance, Constructor) {
|
|
21893
|
-
if (!(instance instanceof Constructor))
|
|
21894
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21895
|
-
}
|
|
21951
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
21896
21952
|
}
|
|
21897
21953
|
function _defineProperties$2(target, props) {
|
|
21898
21954
|
for(var i = 0; i < props.length; i++){
|
|
@@ -22142,11 +22198,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
22142
22198
|
reject(error);
|
|
22143
22199
|
return;
|
|
22144
22200
|
}
|
|
22145
|
-
if (info.done)
|
|
22146
|
-
|
|
22147
|
-
} else {
|
|
22148
|
-
Promise.resolve(value).then(_next, _throw);
|
|
22149
|
-
}
|
|
22201
|
+
if (info.done) resolve(value);
|
|
22202
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
22150
22203
|
}
|
|
22151
22204
|
function _async_to_generator$4(fn) {
|
|
22152
22205
|
return function() {
|
|
@@ -22372,9 +22425,7 @@ var USER_EXTERNAL_CONNECTION_CREDENTIALS_EXPIRED_ERROR_CODE = 'USER_EXTERNAL_CON
|
|
|
22372
22425
|
}
|
|
22373
22426
|
|
|
22374
22427
|
function _class_call_check$8(instance, Constructor) {
|
|
22375
|
-
if (!(instance instanceof Constructor))
|
|
22376
|
-
throw new TypeError("Cannot call a class as a function");
|
|
22377
|
-
}
|
|
22428
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
22378
22429
|
}
|
|
22379
22430
|
/**
|
|
22380
22431
|
* The providers an app has an OAuth authorize/callback flow mounted for.
|
|
@@ -22456,11 +22507,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
22456
22507
|
reject(error);
|
|
22457
22508
|
return;
|
|
22458
22509
|
}
|
|
22459
|
-
if (info.done)
|
|
22460
|
-
|
|
22461
|
-
} else {
|
|
22462
|
-
Promise.resolve(value).then(_next, _throw);
|
|
22463
|
-
}
|
|
22510
|
+
if (info.done) resolve(value);
|
|
22511
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
22464
22512
|
}
|
|
22465
22513
|
function _async_to_generator$3(fn) {
|
|
22466
22514
|
return function() {
|
|
@@ -22478,9 +22526,7 @@ function _async_to_generator$3(fn) {
|
|
|
22478
22526
|
};
|
|
22479
22527
|
}
|
|
22480
22528
|
function _class_call_check$7(instance, Constructor) {
|
|
22481
|
-
if (!(instance instanceof Constructor))
|
|
22482
|
-
throw new TypeError("Cannot call a class as a function");
|
|
22483
|
-
}
|
|
22529
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
22484
22530
|
}
|
|
22485
22531
|
function _defineProperties$1(target, props) {
|
|
22486
22532
|
for(var i = 0; i < props.length; i++){
|
|
@@ -22503,9 +22549,7 @@ function _define_property$4(obj, key, value) {
|
|
|
22503
22549
|
configurable: true,
|
|
22504
22550
|
writable: true
|
|
22505
22551
|
});
|
|
22506
|
-
} else
|
|
22507
|
-
obj[key] = value;
|
|
22508
|
-
}
|
|
22552
|
+
} else obj[key] = value;
|
|
22509
22553
|
return obj;
|
|
22510
22554
|
}
|
|
22511
22555
|
function _object_spread$4(target) {
|
|
@@ -22533,9 +22577,8 @@ function ownKeys$3(object, enumerableOnly) {
|
|
|
22533
22577
|
}
|
|
22534
22578
|
function _object_spread_props$3(target, source) {
|
|
22535
22579
|
source = source != null ? source : {};
|
|
22536
|
-
if (Object.getOwnPropertyDescriptors)
|
|
22537
|
-
|
|
22538
|
-
} else {
|
|
22580
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
22581
|
+
else {
|
|
22539
22582
|
ownKeys$3(Object(source)).forEach(function(key) {
|
|
22540
22583
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22541
22584
|
});
|
|
@@ -22905,9 +22948,7 @@ function _ts_generator$3(thisArg, body) {
|
|
|
22905
22948
|
();
|
|
22906
22949
|
|
|
22907
22950
|
function _class_call_check$6(instance, Constructor) {
|
|
22908
|
-
if (!(instance instanceof Constructor))
|
|
22909
|
-
throw new TypeError("Cannot call a class as a function");
|
|
22910
|
-
}
|
|
22951
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
22911
22952
|
}
|
|
22912
22953
|
/**
|
|
22913
22954
|
* Secret the external-connection OAuth `state` is encrypted with.
|
|
@@ -23020,9 +23061,7 @@ function base64UrlToBase64(value) {
|
|
|
23020
23061
|
}
|
|
23021
23062
|
|
|
23022
23063
|
function _assert_this_initialized(self) {
|
|
23023
|
-
if (self === void 0)
|
|
23024
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23025
|
-
}
|
|
23064
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23026
23065
|
return self;
|
|
23027
23066
|
}
|
|
23028
23067
|
function _call_super(_this, derived, args) {
|
|
@@ -23030,9 +23069,7 @@ function _call_super(_this, derived, args) {
|
|
|
23030
23069
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
23031
23070
|
}
|
|
23032
23071
|
function _class_call_check$5(instance, Constructor) {
|
|
23033
|
-
if (!(instance instanceof Constructor))
|
|
23034
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23035
|
-
}
|
|
23072
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
23036
23073
|
}
|
|
23037
23074
|
function _defineProperties(target, props) {
|
|
23038
23075
|
for(var i = 0; i < props.length; i++){
|
|
@@ -23055,9 +23092,7 @@ function _define_property$3(obj, key, value) {
|
|
|
23055
23092
|
configurable: true,
|
|
23056
23093
|
writable: true
|
|
23057
23094
|
});
|
|
23058
|
-
} else
|
|
23059
|
-
obj[key] = value;
|
|
23060
|
-
}
|
|
23095
|
+
} else obj[key] = value;
|
|
23061
23096
|
return obj;
|
|
23062
23097
|
}
|
|
23063
23098
|
function _get_prototype_of(o) {
|
|
@@ -23079,6 +23114,14 @@ function _inherits(subClass, superClass) {
|
|
|
23079
23114
|
});
|
|
23080
23115
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
23081
23116
|
}
|
|
23117
|
+
function _is_native_reflect_construct() {
|
|
23118
|
+
try {
|
|
23119
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
23120
|
+
} catch (_) {}
|
|
23121
|
+
return (_is_native_reflect_construct = function() {
|
|
23122
|
+
return !!result;
|
|
23123
|
+
})();
|
|
23124
|
+
}
|
|
23082
23125
|
function _object_spread$3(target) {
|
|
23083
23126
|
for(var i = 1; i < arguments.length; i++){
|
|
23084
23127
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -23104,9 +23147,8 @@ function ownKeys$2(object, enumerableOnly) {
|
|
|
23104
23147
|
}
|
|
23105
23148
|
function _object_spread_props$2(target, source) {
|
|
23106
23149
|
source = source != null ? source : {};
|
|
23107
|
-
if (Object.getOwnPropertyDescriptors)
|
|
23108
|
-
|
|
23109
|
-
} else {
|
|
23150
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
23151
|
+
else {
|
|
23110
23152
|
ownKeys$2(Object(source)).forEach(function(key) {
|
|
23111
23153
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
23112
23154
|
});
|
|
@@ -23114,9 +23156,7 @@ function _object_spread_props$2(target, source) {
|
|
|
23114
23156
|
return target;
|
|
23115
23157
|
}
|
|
23116
23158
|
function _possible_constructor_return(self, call) {
|
|
23117
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
23118
|
-
return call;
|
|
23119
|
-
}
|
|
23159
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
23120
23160
|
return _assert_this_initialized(self);
|
|
23121
23161
|
}
|
|
23122
23162
|
function _set_prototype_of(o, p) {
|
|
@@ -23130,14 +23170,6 @@ function _type_of(obj) {
|
|
|
23130
23170
|
"@swc/helpers - typeof";
|
|
23131
23171
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
23132
23172
|
}
|
|
23133
|
-
function _is_native_reflect_construct() {
|
|
23134
|
-
try {
|
|
23135
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
23136
|
-
} catch (_) {}
|
|
23137
|
-
return (_is_native_reflect_construct = function() {
|
|
23138
|
-
return !!result;
|
|
23139
|
-
})();
|
|
23140
|
-
}
|
|
23141
23173
|
// MARK: Collections
|
|
23142
23174
|
/**
|
|
23143
23175
|
* Provides access to the {@link UserExternalConnectionPrivate} collection.
|
|
@@ -23324,11 +23356,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
23324
23356
|
reject(error);
|
|
23325
23357
|
return;
|
|
23326
23358
|
}
|
|
23327
|
-
if (info.done)
|
|
23328
|
-
|
|
23329
|
-
} else {
|
|
23330
|
-
Promise.resolve(value).then(_next, _throw);
|
|
23331
|
-
}
|
|
23359
|
+
if (info.done) resolve(value);
|
|
23360
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
23332
23361
|
}
|
|
23333
23362
|
function _async_to_generator$2(fn) {
|
|
23334
23363
|
return function() {
|
|
@@ -23346,9 +23375,7 @@ function _async_to_generator$2(fn) {
|
|
|
23346
23375
|
};
|
|
23347
23376
|
}
|
|
23348
23377
|
function _class_call_check$4(instance, Constructor) {
|
|
23349
|
-
if (!(instance instanceof Constructor))
|
|
23350
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23351
|
-
}
|
|
23378
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
23352
23379
|
}
|
|
23353
23380
|
function _iterable_to_array_limit(arr, i) {
|
|
23354
23381
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -23375,19 +23402,11 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
23375
23402
|
return _arr;
|
|
23376
23403
|
}
|
|
23377
23404
|
function _non_iterable_rest() {
|
|
23378
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
23405
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23379
23406
|
}
|
|
23380
23407
|
function _sliced_to_array(arr, i) {
|
|
23381
23408
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest();
|
|
23382
23409
|
}
|
|
23383
|
-
function _unsupported_iterable_to_array$1(o, minLen) {
|
|
23384
|
-
if (!o) return;
|
|
23385
|
-
if (typeof o === "string") return _array_like_to_array$1(o, minLen);
|
|
23386
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
23387
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
23388
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
23389
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
|
|
23390
|
-
}
|
|
23391
23410
|
function _ts_generator$2(thisArg, body) {
|
|
23392
23411
|
var f, y, t, _ = {
|
|
23393
23412
|
label: 0,
|
|
@@ -23487,6 +23506,14 @@ function _ts_generator$2(thisArg, body) {
|
|
|
23487
23506
|
};
|
|
23488
23507
|
}
|
|
23489
23508
|
}
|
|
23509
|
+
function _unsupported_iterable_to_array$1(o, minLen) {
|
|
23510
|
+
if (!o) return;
|
|
23511
|
+
if (typeof o === "string") return _array_like_to_array$1(o, minLen);
|
|
23512
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
23513
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
23514
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
23515
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
|
|
23516
|
+
}
|
|
23490
23517
|
/**
|
|
23491
23518
|
* Server-only read surface for the UserExternalConnection document pair.
|
|
23492
23519
|
*
|
|
@@ -23599,11 +23626,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
23599
23626
|
reject(error);
|
|
23600
23627
|
return;
|
|
23601
23628
|
}
|
|
23602
|
-
if (info.done)
|
|
23603
|
-
|
|
23604
|
-
} else {
|
|
23605
|
-
Promise.resolve(value).then(_next, _throw);
|
|
23606
|
-
}
|
|
23629
|
+
if (info.done) resolve(value);
|
|
23630
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
23607
23631
|
}
|
|
23608
23632
|
function _async_to_generator$1(fn) {
|
|
23609
23633
|
return function() {
|
|
@@ -23621,9 +23645,7 @@ function _async_to_generator$1(fn) {
|
|
|
23621
23645
|
};
|
|
23622
23646
|
}
|
|
23623
23647
|
function _class_call_check$3(instance, Constructor) {
|
|
23624
|
-
if (!(instance instanceof Constructor))
|
|
23625
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23626
|
-
}
|
|
23648
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
23627
23649
|
}
|
|
23628
23650
|
function _define_property$2(obj, key, value) {
|
|
23629
23651
|
if (key in obj) {
|
|
@@ -23633,9 +23655,7 @@ function _define_property$2(obj, key, value) {
|
|
|
23633
23655
|
configurable: true,
|
|
23634
23656
|
writable: true
|
|
23635
23657
|
});
|
|
23636
|
-
} else
|
|
23637
|
-
obj[key] = value;
|
|
23638
|
-
}
|
|
23658
|
+
} else obj[key] = value;
|
|
23639
23659
|
return obj;
|
|
23640
23660
|
}
|
|
23641
23661
|
function _object_spread$2(target) {
|
|
@@ -23663,9 +23683,8 @@ function ownKeys$1(object, enumerableOnly) {
|
|
|
23663
23683
|
}
|
|
23664
23684
|
function _object_spread_props$1(target, source) {
|
|
23665
23685
|
source = source != null ? source : {};
|
|
23666
|
-
if (Object.getOwnPropertyDescriptors)
|
|
23667
|
-
|
|
23668
|
-
} else {
|
|
23686
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
23687
|
+
else {
|
|
23669
23688
|
ownKeys$1(Object(source)).forEach(function(key) {
|
|
23670
23689
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
23671
23690
|
});
|
|
@@ -24046,11 +24065,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
24046
24065
|
reject(error);
|
|
24047
24066
|
return;
|
|
24048
24067
|
}
|
|
24049
|
-
if (info.done)
|
|
24050
|
-
|
|
24051
|
-
} else {
|
|
24052
|
-
Promise.resolve(value).then(_next, _throw);
|
|
24053
|
-
}
|
|
24068
|
+
if (info.done) resolve(value);
|
|
24069
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
24054
24070
|
}
|
|
24055
24071
|
function _async_to_generator(fn) {
|
|
24056
24072
|
return function() {
|
|
@@ -24068,9 +24084,7 @@ function _async_to_generator(fn) {
|
|
|
24068
24084
|
};
|
|
24069
24085
|
}
|
|
24070
24086
|
function _class_call_check$2(instance, Constructor) {
|
|
24071
|
-
if (!(instance instanceof Constructor))
|
|
24072
|
-
throw new TypeError("Cannot call a class as a function");
|
|
24073
|
-
}
|
|
24087
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
24074
24088
|
}
|
|
24075
24089
|
function _define_property$1(obj, key, value) {
|
|
24076
24090
|
if (key in obj) {
|
|
@@ -24080,9 +24094,7 @@ function _define_property$1(obj, key, value) {
|
|
|
24080
24094
|
configurable: true,
|
|
24081
24095
|
writable: true
|
|
24082
24096
|
});
|
|
24083
|
-
} else
|
|
24084
|
-
obj[key] = value;
|
|
24085
|
-
}
|
|
24097
|
+
} else obj[key] = value;
|
|
24086
24098
|
return obj;
|
|
24087
24099
|
}
|
|
24088
24100
|
function _object_spread$1(target) {
|
|
@@ -24110,9 +24122,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
24110
24122
|
}
|
|
24111
24123
|
function _object_spread_props(target, source) {
|
|
24112
24124
|
source = source != null ? source : {};
|
|
24113
|
-
if (Object.getOwnPropertyDescriptors)
|
|
24114
|
-
|
|
24115
|
-
} else {
|
|
24125
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
24126
|
+
else {
|
|
24116
24127
|
ownKeys(Object(source)).forEach(function(key) {
|
|
24117
24128
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
24118
24129
|
});
|
|
@@ -24501,9 +24512,7 @@ function _array_without_holes(arr) {
|
|
|
24501
24512
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
24502
24513
|
}
|
|
24503
24514
|
function _class_call_check$1(instance, Constructor) {
|
|
24504
|
-
if (!(instance instanceof Constructor))
|
|
24505
|
-
throw new TypeError("Cannot call a class as a function");
|
|
24506
|
-
}
|
|
24515
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
24507
24516
|
}
|
|
24508
24517
|
function _define_property(obj, key, value) {
|
|
24509
24518
|
if (key in obj) {
|
|
@@ -24513,16 +24522,16 @@ function _define_property(obj, key, value) {
|
|
|
24513
24522
|
configurable: true,
|
|
24514
24523
|
writable: true
|
|
24515
24524
|
});
|
|
24516
|
-
} else
|
|
24517
|
-
obj[key] = value;
|
|
24518
|
-
}
|
|
24525
|
+
} else obj[key] = value;
|
|
24519
24526
|
return obj;
|
|
24520
24527
|
}
|
|
24521
24528
|
function _iterable_to_array(iter) {
|
|
24522
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
24529
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
24530
|
+
return Array.from(iter);
|
|
24531
|
+
}
|
|
24523
24532
|
}
|
|
24524
24533
|
function _non_iterable_spread() {
|
|
24525
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
24534
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
24526
24535
|
}
|
|
24527
24536
|
function _object_spread(target) {
|
|
24528
24537
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -24757,9 +24766,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
24757
24766
|
}
|
|
24758
24767
|
|
|
24759
24768
|
function _class_call_check(instance, Constructor) {
|
|
24760
|
-
if (!(instance instanceof Constructor))
|
|
24761
|
-
throw new TypeError("Cannot call a class as a function");
|
|
24762
|
-
}
|
|
24769
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
24763
24770
|
}
|
|
24764
24771
|
/**
|
|
24765
24772
|
* Exchanges a user's stored credentials for fresh ones.
|
|
@@ -24778,4 +24785,4 @@ function _class_call_check(instance, Constructor) {
|
|
|
24778
24785
|
}
|
|
24779
24786
|
;
|
|
24780
24787
|
|
|
24781
|
-
export { AbstractAppNotificationModule, AbstractUserExternalConnectionOAuthController, AbstractUserExternalConnectionOAuthService, BASE_CALENDAR_SERVER_ACTION_CONTEXT_TOKEN, BASE_FORM_SPACE_SERVER_ACTION_CONTEXT_TOKEN, BASE_NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN, BASE_STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN, CALENDAR_ICS_DOMAIN_TOKEN, CALENDAR_ICS_PUBLISHED_CACHE_CONTROL, CALENDAR_ICS_PUBLISHED_CONTENT_DISPOSITION, CALENDAR_SERVER_ACTION_CONTEXT_TOKEN, CALENDAR_TYPE_CONFIGS_TOKEN, CalendarServerActions, 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_FORM_SPACE_EXPIRATION_SWEEP_MAX_RUN_TIME, DEFAULT_FORM_SPACE_EXPIRATION_SWEEP_PAGE_SIZE, DEFAULT_FORM_SPACE_FILE_VALIDATION_MAX_ATTEMPTS, DEFAULT_FORM_SPACE_FILE_VALIDATION_RETRY_DELAY, 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, FORM_SPACE_SERVER_ACTION_CONTEXT_TOKEN, FORM_SPACE_TYPE_CONFIGS_TOKEN, FormSpaceServerActions, 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, _queueFormSpaceForProcessingFactory, _syncStorageFileWithGroupsInTransactionFactory, allStorageFileGroupStorageFileProcessingPurposeSubtaskProcessors, appCalendarModuleMetadata, appCalendarTypeConfigServiceFactory, appFormSpaceModuleMetadata, appFormSpaceTypeConfigServiceFactory, appNotificationModuleMetadata, appStorageFileModuleMetadata, appSystemStatePrivateModuleMetadata, appUserExternalConnectionModuleMetadata, applyUserExternalConnectionCredentials, calendarIcsDomainNotConfiguredError, calendarIcsRotateThrottledError, calendarIcsStorageFileProcessingPurposeSubtaskProcessor, calendarIcsStorageFileUnavailableError, calendarServerActions, calendarServerActionsContextFactory, calendarServerActionsFactory, cleanupOldNotificationLoggedEventDaysFactory, cleanupSentNotificationsFactory, compressImageBufferToTargetSize, compressPdfImagesToTargetSize, createFormSpaceFactory, createNotificationBoxFactory, createNotificationBoxInTransactionFactory, createNotificationIdRequiredError, createNotificationSummaryFactory, createNotificationUserFactory, createOrRunUniqueNotificationDocument, createStorageFileFactory, createStorageFileGroupFactory, createStorageFileGroupInTransactionFactory, createStorageFileGroupInputError, createStorageFileSignedUploadUrlFactory, createUserExternalConnectionFactory, deleteAllQueuedStorageFilesFactory, deleteAllUserExternalConnectionsForUserFactory, deleteFormSpaceFactory, deleteStorageFileFactory, downloadMultipleStorageFilesFactory, downloadStorageFileFactory, expandNotificationRecipients, expireAllExpiredFormSpacesFactory, exportMutableNotificationExpediteService, firestoreNotificationSummarySendService, flagStaleCalendarsForSyncFactory, formSpaceAlreadyExistsError, formSpaceFileAccessDeniedError, formSpaceFileNotFoundError, formSpaceFileValidationStorageFileProcessor, formSpaceHasInvalidFilesError, formSpaceNotEditableError, formSpaceNotFoundError, formSpaceRequiredSlotMissingError, formSpaceServerActions, formSpaceServerActionsContextFactory, formSpaceServerActionsFactory, formSpaceStorageFileUploadInitializers, formSpaceSubmissionNotificationTaskHandler, formSpaceSubmissionNotificationTaskHandlerDefaultCleanup, formSpaceTypeMismatchError, formSpaceTypeNotRegisteredError, formSpaceUploadNotAllowedError, formSpaceUploadUserMismatchError, formSpaceValidationPendingError, ignoreSendNotificationTextSendService, initializeAllApplicableNotificationBoxesFactory, initializeAllApplicableNotificationSummariesFactory, initializeAllApplicableStorageFileGroupsFactory, initializeAllStorageFilesFromUploadsFactory, initializeNotificationBoxFactory, initializeNotificationBoxInTransactionFactory, initializeNotificationModelInTransaction, initializeNotificationSummaryFactory, initializeNotificationSummaryInTransactionFactory, initializeStorageFileFromUploadFactory, initializeStorageFileGroupFactory, initializeStorageFileGroupInTransactionFactory, initializeStorageFileModelInTransaction, mailgunCalendarFileAttachmentForNotificationMessage, mailgunNotificationEmailSendService, mailgunNotificationEmailSendServiceHealthCheckService, makeNewNotificationSummaryTemplate, markStorageFileForDeleteTemplate, mergeRefreshedUserExternalConnectionCredentials, notificationBoxDoesNotExist, notificationBoxExclusionTargetInvalidError, notificationBoxExistsForModelError, notificationBoxRecipientDoesNotExistsError, notificationBoxUnregistredModelTypeInitializationError, notificationExpediteServiceInstance, notificationInitServerActions, notificationInitServerActionsFactory, notificationMessageCalendarAttachmentToMailgunFileAttachment, notificationModelAlreadyInitializedError, notificationServerActions, notificationServerActionsContextFactory, notificationServerActionsFactory, notificationTaskService, notificationTaskSubTaskMissingRequiredDataTermination, notificationTaskSubtaskNotificationTaskHandlerFactory, notificationTemplateServiceInstance, notificationUserBlockedFromBeingAddedToRecipientsError, notificationUserHealthCheckFactory, notificationUserHealthCheckProbeThrottledError, notificationUserHealthCheckThrottledError, notificationUserHealthCheckVerifyThrottledError, notificationUserInvalidUidForCreateError, notificationUserLockedConfigFromBeingUpdatedError, processAllQueuedFormSpacesFactory, processAllQueuedStorageFilesFactory, processStorageFileFactory, provideMutableNotificationExpediteService, queryAndFlagStorageFilesForDelete, readMultipleStorageFilesMetadataFactory, readStorageFileMetadataFactory, regenerateAllFlaggedStorageFileGroupsContentFactory, regenerateStorageFileGroupContentFactory, removeFormSpaceFileFactory, resyncAllNotificationUsersFactory, resyncNotificationUserFactory, rotateCalendarIcsFactory, schedulerSystemStateAccessorFactory, sendNotificationFactory, sendQueuedNotificationsFactory, storageFileAlreadyProcessedError, storageFileCannotBeDeletedYetError, storageFileCreateSignedUploadUrlToolDetailsFactory, storageFileGroupQueuedForInitializationError, storageFileGroupZipStorageFileProcessingPurposeSubtaskProcessor, storageFileInitServerActions, storageFileInitServerActionsFactory, storageFileInitializeFromUploadService, storageFileInitializeFromUploadServiceInitializerResultPermanentFailure, storageFileInitializeFromUploadServiceInitializerResultTransientFailure, storageFileModelAlreadyInitializedError, storageFileNotFlaggedForDeletionError, storageFileNotFlaggedForGroupsSyncError, storageFileProcessToolDetailsFactory, storageFileProcessingNotAllowedForInvalidStateError, storageFileProcessingNotAvailableForTypeError, storageFileProcessingNotQueuedForProcessingError, storageFileProcessingNotificationTaskHandler, storageFileProcessingNotificationTaskHandlerDefaultCleanup, storageFileServerActions, storageFileServerActionsContextFactory, storageFileServerActionsFactory, submitFormSpaceFactory, syncAllFlaggedCalendarsFactory, syncAllFlaggedStorageFilesWithGroupsFactory, syncCalendarFactory, syncStorageFileWithGroupsFactory, systemStatePrivateCollectionReference, systemStatePrivateFirestoreCollection, systemStatePrivateFirestoreCollectionsFactory, systemStatePrivateIdentity, updateFormSpaceFactory, 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 };
|
|
24788
|
+
export { AbstractAppNotificationModule, AbstractUserExternalConnectionOAuthController, AbstractUserExternalConnectionOAuthService, BASE_CALENDAR_SERVER_ACTION_CONTEXT_TOKEN, BASE_FORM_SPACE_SERVER_ACTION_CONTEXT_TOKEN, BASE_NOTIFICATION_SERVER_ACTION_CONTEXT_TOKEN, BASE_STORAGE_FILE_SERVER_ACTION_CONTEXT_TOKEN, CALENDAR_ICS_DOMAIN_TOKEN, CALENDAR_ICS_PUBLISHED_CACHE_CONTROL, CALENDAR_ICS_PUBLISHED_CONTENT_DISPOSITION, CALENDAR_SERVER_ACTION_CONTEXT_TOKEN, CALENDAR_TYPE_CONFIGS_TOKEN, CalendarServerActions, 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_FORM_SPACE_EXPIRATION_SWEEP_MAX_RUN_TIME, DEFAULT_FORM_SPACE_EXPIRATION_SWEEP_PAGE_SIZE, DEFAULT_FORM_SPACE_FILE_VALIDATION_MAX_ATTEMPTS, DEFAULT_FORM_SPACE_FILE_VALIDATION_RETRY_DELAY, 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, FORM_SPACE_SERVER_ACTION_CONTEXT_TOKEN, FORM_SPACE_TYPE_CONFIGS_TOKEN, FormSpaceServerActions, 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, _queueFormSpaceForProcessingFactory, _syncStorageFileWithGroupsInTransactionFactory, allStorageFileGroupStorageFileProcessingPurposeSubtaskProcessors, appCalendarModuleMetadata, appCalendarTypeConfigServiceFactory, appFormSpaceModuleMetadata, appFormSpaceTypeConfigServiceFactory, appNotificationModuleMetadata, appStorageFileModuleMetadata, appSystemStatePrivateModuleMetadata, appUserExternalConnectionModuleMetadata, applyUserExternalConnectionCredentials, calendarIcsDomainNotConfiguredError, calendarIcsRotateThrottledError, calendarIcsStorageFileProcessingPurposeSubtaskProcessor, calendarIcsStorageFileUnavailableError, calendarServerActions, calendarServerActionsContextFactory, calendarServerActionsFactory, cleanupOldNotificationLoggedEventDaysFactory, cleanupSentNotificationsFactory, compressImageBufferToTargetSize, compressPdfImagesToTargetSize, createFormSpaceFactory, createNotificationBoxFactory, createNotificationBoxInTransactionFactory, createNotificationIdRequiredError, createNotificationSummaryFactory, createNotificationUserFactory, createOrRunUniqueNotificationDocument, createStorageFileFactory, createStorageFileGroupFactory, createStorageFileGroupInTransactionFactory, createStorageFileGroupInputError, createStorageFileSignedUploadUrlFactory, createUserExternalConnectionFactory, deleteAllQueuedStorageFilesFactory, deleteAllUserExternalConnectionsForUserFactory, deleteFormSpaceFactory, deleteStorageFileFactory, downloadMultipleStorageFilesFactory, downloadStorageFileFactory, expandNotificationRecipients, expireAllExpiredFormSpacesFactory, exportMutableNotificationExpediteService, firestoreNotificationSummarySendService, flagStaleCalendarsForSyncFactory, formSpaceAlreadyExistsError, formSpaceFileAccessDeniedError, formSpaceFileNotFoundError, formSpaceFileValidationStorageFileProcessor, formSpaceHasInvalidFilesError, formSpaceNotEditableError, formSpaceNotFoundError, formSpaceNotReopenableError, formSpaceNotSubmittedError, formSpaceProcessingInProgressError, formSpaceRequiredSlotMissingError, formSpaceServerActions, formSpaceServerActionsContextFactory, formSpaceServerActionsFactory, formSpaceStorageFileUploadInitializers, formSpaceSubmissionNotificationTaskHandler, formSpaceSubmissionNotificationTaskHandlerDefaultCleanup, formSpaceTypeMismatchError, formSpaceTypeNotRegisteredError, formSpaceUploadNotAllowedError, formSpaceUploadUserMismatchError, formSpaceValidationPendingError, ignoreSendNotificationTextSendService, initializeAllApplicableNotificationBoxesFactory, initializeAllApplicableNotificationSummariesFactory, initializeAllApplicableStorageFileGroupsFactory, initializeAllStorageFilesFromUploadsFactory, initializeNotificationBoxFactory, initializeNotificationBoxInTransactionFactory, initializeNotificationModelInTransaction, initializeNotificationSummaryFactory, initializeNotificationSummaryInTransactionFactory, initializeStorageFileFromUploadFactory, initializeStorageFileGroupFactory, initializeStorageFileGroupInTransactionFactory, initializeStorageFileModelInTransaction, lockFormSpaceFactory, mailgunCalendarFileAttachmentForNotificationMessage, mailgunNotificationEmailSendService, mailgunNotificationEmailSendServiceHealthCheckService, makeNewNotificationSummaryTemplate, markStorageFileForDeleteTemplate, mergeRefreshedUserExternalConnectionCredentials, notificationBoxDoesNotExist, notificationBoxExclusionTargetInvalidError, notificationBoxExistsForModelError, notificationBoxRecipientDoesNotExistsError, notificationBoxUnregistredModelTypeInitializationError, notificationExpediteServiceInstance, notificationInitServerActions, notificationInitServerActionsFactory, notificationMessageCalendarAttachmentToMailgunFileAttachment, notificationModelAlreadyInitializedError, notificationServerActions, notificationServerActionsContextFactory, notificationServerActionsFactory, notificationTaskService, notificationTaskSubTaskMissingRequiredDataTermination, notificationTaskSubtaskNotificationTaskHandlerFactory, notificationTemplateServiceInstance, notificationUserBlockedFromBeingAddedToRecipientsError, notificationUserHealthCheckFactory, notificationUserHealthCheckProbeThrottledError, notificationUserHealthCheckThrottledError, notificationUserHealthCheckVerifyThrottledError, notificationUserInvalidUidForCreateError, notificationUserLockedConfigFromBeingUpdatedError, processAllQueuedFormSpacesFactory, processAllQueuedStorageFilesFactory, processStorageFileFactory, provideMutableNotificationExpediteService, queryAndFlagStorageFilesForDelete, readMultipleStorageFilesMetadataFactory, readStorageFileMetadataFactory, regenerateAllFlaggedStorageFileGroupsContentFactory, regenerateStorageFileGroupContentFactory, removeFormSpaceFileFactory, reopenFormSpaceFactory, resyncAllNotificationUsersFactory, resyncNotificationUserFactory, rotateCalendarIcsFactory, schedulerSystemStateAccessorFactory, sendNotificationFactory, sendQueuedNotificationsFactory, storageFileAlreadyProcessedError, storageFileCannotBeDeletedYetError, storageFileCreateSignedUploadUrlToolDetailsFactory, storageFileGroupQueuedForInitializationError, storageFileGroupZipStorageFileProcessingPurposeSubtaskProcessor, storageFileInitServerActions, storageFileInitServerActionsFactory, storageFileInitializeFromUploadService, storageFileInitializeFromUploadServiceInitializerResultPermanentFailure, storageFileInitializeFromUploadServiceInitializerResultTransientFailure, storageFileModelAlreadyInitializedError, storageFileNotFlaggedForDeletionError, storageFileNotFlaggedForGroupsSyncError, storageFileProcessToolDetailsFactory, storageFileProcessingNotAllowedForInvalidStateError, storageFileProcessingNotAvailableForTypeError, storageFileProcessingNotQueuedForProcessingError, storageFileProcessingNotificationTaskHandler, storageFileProcessingNotificationTaskHandlerDefaultCleanup, storageFileServerActions, storageFileServerActionsContextFactory, storageFileServerActionsFactory, submitFormSpaceFactory, syncAllFlaggedCalendarsFactory, syncAllFlaggedStorageFilesWithGroupsFactory, syncCalendarFactory, syncStorageFileWithGroupsFactory, systemStatePrivateCollectionReference, systemStatePrivateFirestoreCollection, systemStatePrivateFirestoreCollectionsFactory, systemStatePrivateIdentity, updateFormSpaceFactory, 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 };
|