@dereekb/firebase 13.43.0 → 14.0.1

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/index.esm.js CHANGED
@@ -3,7 +3,7 @@ import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHas
3
3
  import { filterMaybe, lazyFrom, itemAccumulator, ItemPageIterator, mappedPageItemIteration } from '@dereekb/rxjs';
4
4
  import { map, from, EMPTY, tap, combineLatest, of, Subject, filter, exhaustMap, Observable, switchMap, timer, skip, shareReplay } from 'rxjs';
5
5
  import { UNKNOWN_WEBSITE_LINK_TYPE, encodeWebsiteFileLinkToWebsiteLinkEncodedData, decodeWebsiteLinkEncodedDataToWebsiteFileLink, clearable, AbstractModelPermissionService, grantedRoleMapReader, noAccessRoleMap, fullAccessRoleMap, e164PhoneNumberType, ARKTYPE_DATE_DTO_TYPE } from '@dereekb/model';
6
- import { isSameDate, toISODateString, toJsDate, formatToISO8601DateString, dateRange, sortByDateFunction, CalendarDateType, DateSet, dateDurationSpanEndDate, DateRRuleUtility, iCalendarEventForCalendarDate, iCalendarUidFactory, iCalendarWithDerivedTimezones, iCalendarToIcsString, iCalendarRecurrenceForRRuleLines, dateCellScheduleRangeRRule, RRULE_EXDATE_PROPERTY_TYPE, DateRRuleParseUtility, toISO8601DayStringForUTC, yearWeekCode, UNKNOWN_YEAR_WEEK_CODE, expandDaysForDateRange, roundDownToHour } from '@dereekb/date';
6
+ import { isSameDate, toISODateString, toJsDate, formatToISO8601DateString, dateRange, sortByDateFunction, CalendarDateType, DateSet, dateDurationSpanEndDate, DateRRuleUtility, iCalendarEventForCalendarDate, iCalendarUidFactory, iCalendarWithDerivedTimezones, iCalendarToIcsString, iCalendarRecurrenceForRRuleLines, dateCellScheduleRangeRRule, RRULE_EXDATE_PROPERTY_TYPE, DateRRuleParseUtility, earliestDate, toISO8601DayStringForUTC, yearWeekCode, UNKNOWN_YEAR_WEEK_CODE, expandDaysForDateRange, roundDownToHour } from '@dereekb/date';
7
7
  import { httpsCallable } from 'firebase/functions';
8
8
  import { getMetadata, ref, deleteObject, uploadBytesResumable, getBlob, getBytes, uploadString, uploadBytes, updateMetadata, getDownloadURL, list } from 'firebase/storage';
9
9
  import { type } from 'arktype';
@@ -46,9 +46,7 @@ function _type_of$f(obj) {
46
46
  }
47
47
 
48
48
  function _class_call_check$r(instance, Constructor) {
49
- if (!(instance instanceof Constructor)) {
50
- throw new TypeError("Cannot call a class as a function");
51
- }
49
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
52
50
  }
53
51
  function _defineProperties$e(target, props) {
54
52
  for(var i = 0; i < props.length; i++){
@@ -71,9 +69,7 @@ function _define_property$F(obj, key, value) {
71
69
  configurable: true,
72
70
  writable: true
73
71
  });
74
- } else {
75
- obj[key] = value;
76
- }
72
+ } else obj[key] = value;
77
73
  return obj;
78
74
  }
79
75
  // MARK: Abstract Wrapper
@@ -248,9 +244,7 @@ function _define_property$F(obj, key, value) {
248
244
  }
249
245
 
250
246
  function _assert_this_initialized$c(self) {
251
- if (self === void 0) {
252
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
253
- }
247
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
254
248
  return self;
255
249
  }
256
250
  function _call_super$c(_this, derived, args) {
@@ -258,9 +252,7 @@ function _call_super$c(_this, derived, args) {
258
252
  return _possible_constructor_return$c(_this, _is_native_reflect_construct$c() ? Reflect.construct(derived, args || [], _get_prototype_of$c(_this).constructor) : derived.apply(_this, args));
259
253
  }
260
254
  function _class_call_check$q(instance, Constructor) {
261
- if (!(instance instanceof Constructor)) {
262
- throw new TypeError("Cannot call a class as a function");
263
- }
255
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
264
256
  }
265
257
  function _define_property$E(obj, key, value) {
266
258
  if (key in obj) {
@@ -270,22 +262,17 @@ function _define_property$E(obj, key, value) {
270
262
  configurable: true,
271
263
  writable: true
272
264
  });
273
- } else {
274
- obj[key] = value;
275
- }
265
+ } else obj[key] = value;
276
266
  return obj;
277
267
  }
278
268
  function _get(target, property, receiver) {
279
- if (typeof Reflect !== "undefined" && Reflect.get) {
280
- _get = Reflect.get;
281
- } else {
269
+ if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
270
+ else {
282
271
  _get = function get(target, property, receiver) {
283
272
  var base = _super_prop_base(target, property);
284
273
  if (!base) return;
285
274
  var desc = Object.getOwnPropertyDescriptor(base, property);
286
- if (desc.get) {
287
- return desc.get.call(receiver || target);
288
- }
275
+ if (desc.get) return desc.get.call(receiver || target);
289
276
  return desc.value;
290
277
  };
291
278
  }
@@ -310,6 +297,14 @@ function _inherits$c(subClass, superClass) {
310
297
  });
311
298
  if (superClass) _set_prototype_of$c(subClass, superClass);
312
299
  }
300
+ function _is_native_reflect_construct$c() {
301
+ try {
302
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
303
+ } catch (_) {}
304
+ return (_is_native_reflect_construct$c = function() {
305
+ return !!result;
306
+ })();
307
+ }
313
308
  function _object_spread$x(target) {
314
309
  for(var i = 1; i < arguments.length; i++){
315
310
  var source = arguments[i] != null ? arguments[i] : {};
@@ -326,9 +321,7 @@ function _object_spread$x(target) {
326
321
  return target;
327
322
  }
328
323
  function _possible_constructor_return$c(self, call) {
329
- if (call && (_type_of$e(call) === "object" || typeof call === "function")) {
330
- return call;
331
- }
324
+ if (call && (_type_of$e(call) === "object" || typeof call === "function")) return call;
332
325
  return _assert_this_initialized$c(self);
333
326
  }
334
327
  function _set_prototype_of$c(o, p) {
@@ -349,14 +342,6 @@ function _type_of$e(obj) {
349
342
  "@swc/helpers - typeof";
350
343
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
351
344
  }
352
- function _is_native_reflect_construct$c() {
353
- try {
354
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
355
- } catch (_) {}
356
- return (_is_native_reflect_construct$c = function() {
357
- return !!result;
358
- })();
359
- }
360
345
  /**
361
346
  * Accessor wrapper that applies a modifier function to data before it is written to Firestore.
362
347
  *
@@ -504,11 +489,8 @@ function asyncGeneratorStep$p(gen, resolve, reject, _next, _throw, key, arg) {
504
489
  reject(error);
505
490
  return;
506
491
  }
507
- if (info.done) {
508
- resolve(value);
509
- } else {
510
- Promise.resolve(value).then(_next, _throw);
511
- }
492
+ if (info.done) resolve(value);
493
+ else Promise.resolve(value).then(_next, _throw);
512
494
  }
513
495
  function _async_to_generator$p(fn) {
514
496
  return function() {
@@ -907,11 +889,8 @@ function asyncGeneratorStep$o(gen, resolve, reject, _next, _throw, key, arg) {
907
889
  reject(error);
908
890
  return;
909
891
  }
910
- if (info.done) {
911
- resolve(value);
912
- } else {
913
- Promise.resolve(value).then(_next, _throw);
914
- }
892
+ if (info.done) resolve(value);
893
+ else Promise.resolve(value).then(_next, _throw);
915
894
  }
916
895
  function _async_to_generator$o(fn) {
917
896
  return function() {
@@ -1070,11 +1049,8 @@ function asyncGeneratorStep$n(gen, resolve, reject, _next, _throw, key, arg) {
1070
1049
  reject(error);
1071
1050
  return;
1072
1051
  }
1073
- if (info.done) {
1074
- resolve(value);
1075
- } else {
1076
- Promise.resolve(value).then(_next, _throw);
1077
- }
1052
+ if (info.done) resolve(value);
1053
+ else Promise.resolve(value).then(_next, _throw);
1078
1054
  }
1079
1055
  function _async_to_generator$n(fn) {
1080
1056
  return function() {
@@ -1225,9 +1201,7 @@ function _ts_generator$n(thisArg, body) {
1225
1201
  }
1226
1202
 
1227
1203
  function _assert_this_initialized$b(self) {
1228
- if (self === void 0) {
1229
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1230
- }
1204
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1231
1205
  return self;
1232
1206
  }
1233
1207
  function _call_super$b(_this, derived, args) {
@@ -1235,9 +1209,7 @@ function _call_super$b(_this, derived, args) {
1235
1209
  return _possible_constructor_return$b(_this, _is_native_reflect_construct$b() ? Reflect.construct(derived, args || [], _get_prototype_of$b(_this).constructor) : derived.apply(_this, args));
1236
1210
  }
1237
1211
  function _class_call_check$p(instance, Constructor) {
1238
- if (!(instance instanceof Constructor)) {
1239
- throw new TypeError("Cannot call a class as a function");
1240
- }
1212
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1241
1213
  }
1242
1214
  function _defineProperties$d(target, props) {
1243
1215
  for(var i = 0; i < props.length; i++){
@@ -1260,9 +1232,7 @@ function _define_property$D(obj, key, value) {
1260
1232
  configurable: true,
1261
1233
  writable: true
1262
1234
  });
1263
- } else {
1264
- obj[key] = value;
1265
- }
1235
+ } else obj[key] = value;
1266
1236
  return obj;
1267
1237
  }
1268
1238
  function _get_prototype_of$b(o) {
@@ -1284,10 +1254,16 @@ function _inherits$b(subClass, superClass) {
1284
1254
  });
1285
1255
  if (superClass) _set_prototype_of$b(subClass, superClass);
1286
1256
  }
1257
+ function _is_native_reflect_construct$b() {
1258
+ try {
1259
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1260
+ } catch (_) {}
1261
+ return (_is_native_reflect_construct$b = function() {
1262
+ return !!result;
1263
+ })();
1264
+ }
1287
1265
  function _possible_constructor_return$b(self, call) {
1288
- if (call && (_type_of$d(call) === "object" || typeof call === "function")) {
1289
- return call;
1290
- }
1266
+ if (call && (_type_of$d(call) === "object" || typeof call === "function")) return call;
1291
1267
  return _assert_this_initialized$b(self);
1292
1268
  }
1293
1269
  function _set_prototype_of$b(o, p) {
@@ -1301,14 +1277,6 @@ function _type_of$d(obj) {
1301
1277
  "@swc/helpers - typeof";
1302
1278
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1303
1279
  }
1304
- function _is_native_reflect_construct$b() {
1305
- try {
1306
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1307
- } catch (_) {}
1308
- return (_is_native_reflect_construct$b = function() {
1309
- return !!result;
1310
- })();
1311
- }
1312
1280
  /**
1313
1281
  * Abstract base implementation of {@link FirestoreDocument}.
1314
1282
  *
@@ -1585,12 +1553,20 @@ function _is_native_reflect_construct$b() {
1585
1553
  return inputDefaultConverter;
1586
1554
  };
1587
1555
  var result = function result(context) {
1588
- var loadDocument = function loadDocument(ref) {
1556
+ var databaseContext = context !== null && context !== void 0 ? context : config.firestoreAccessorDriver.defaultContextFactory();
1557
+ var dataAccessorFactory = interceptAccessorFactory ? interceptAccessorFactory(databaseContext.accessorFactory) : databaseContext.accessorFactory;
1558
+ // Transaction/batch contexts bypass cache; otherwise bind the collection cache to the document ref
1559
+ var cacheForDocument = context ? function() {
1560
+ return noopFirestoreCollectionDocumentCache();
1561
+ } : function(ref) {
1562
+ return firestoreCollectionDocumentCache(inputCache, ref.path);
1563
+ };
1564
+ function loadDocument(ref) {
1589
1565
  var converter = converterFactory(ref);
1590
1566
  var accessor = dataAccessorFactory.accessorFor(ref.withConverter(converter));
1591
1567
  return makeDocument(accessor, documentAccessor);
1592
- };
1593
- var documentRefForKey = function documentRefForKey(fullPath) {
1568
+ }
1569
+ function documentRefForKey(fullPath) {
1594
1570
  var _ref_parent;
1595
1571
  var ref = firestoreAccessorDriver.docAtPath(firestoreContext.firestore, fullPath);
1596
1572
  if (((_ref_parent = ref.parent) === null || _ref_parent === void 0 ? void 0 : _ref_parent.id) !== expectedCollectionName) {
@@ -1598,19 +1574,11 @@ function _is_native_reflect_construct$b() {
1598
1574
  }
1599
1575
  var converter = converterFactory(ref);
1600
1576
  return ref.withConverter(converter);
1601
- };
1602
- var loadDocumentForKey = function loadDocumentForKey(fullPath) {
1577
+ }
1578
+ function loadDocumentForKey(fullPath) {
1603
1579
  var ref = documentRefForKey(fullPath);
1604
1580
  return loadDocument(ref);
1605
- };
1606
- var databaseContext = context !== null && context !== void 0 ? context : config.firestoreAccessorDriver.defaultContextFactory();
1607
- var dataAccessorFactory = interceptAccessorFactory ? interceptAccessorFactory(databaseContext.accessorFactory) : databaseContext.accessorFactory;
1608
- // Transaction/batch contexts bypass cache; otherwise bind the collection cache to the document ref
1609
- var cacheForDocument = context ? function() {
1610
- return noopFirestoreCollectionDocumentCache();
1611
- } : function(ref) {
1612
- return firestoreCollectionDocumentCache(inputCache, ref.path);
1613
- };
1581
+ }
1614
1582
  var documentAccessor = {
1615
1583
  converter: inputDefaultConverter,
1616
1584
  converterFactory: converterFactory,
@@ -1767,11 +1735,8 @@ function asyncGeneratorStep$m(gen, resolve, reject, _next, _throw, key, arg) {
1767
1735
  reject(error);
1768
1736
  return;
1769
1737
  }
1770
- if (info.done) {
1771
- resolve(value);
1772
- } else {
1773
- Promise.resolve(value).then(_next, _throw);
1774
- }
1738
+ if (info.done) resolve(value);
1739
+ else Promise.resolve(value).then(_next, _throw);
1775
1740
  }
1776
1741
  function _async_to_generator$m(fn) {
1777
1742
  return function() {
@@ -1813,19 +1778,11 @@ function _iterable_to_array_limit$6(arr, i) {
1813
1778
  return _arr;
1814
1779
  }
1815
1780
  function _non_iterable_rest$6() {
1816
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1781
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1817
1782
  }
1818
1783
  function _sliced_to_array$6(arr, i) {
1819
1784
  return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$6();
1820
1785
  }
1821
- function _unsupported_iterable_to_array$n(o, minLen) {
1822
- if (!o) return;
1823
- if (typeof o === "string") return _array_like_to_array$n(o, minLen);
1824
- var n = Object.prototype.toString.call(o).slice(8, -1);
1825
- if (n === "Object" && o.constructor) n = o.constructor.name;
1826
- if (n === "Map" || n === "Set") return Array.from(n);
1827
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
1828
- }
1829
1786
  function _ts_generator$m(thisArg, body) {
1830
1787
  var f, y, t, _ = {
1831
1788
  label: 0,
@@ -1925,6 +1882,14 @@ function _ts_generator$m(thisArg, body) {
1925
1882
  };
1926
1883
  }
1927
1884
  }
1885
+ function _unsupported_iterable_to_array$n(o, minLen) {
1886
+ if (!o) return;
1887
+ if (typeof o === "string") return _array_like_to_array$n(o, minLen);
1888
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1889
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1890
+ if (n === "Map" || n === "Set") return Array.from(n);
1891
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
1892
+ }
1928
1893
  /**
1929
1894
  * Internal helper: distribute items into per-page buckets, write each page,
1930
1895
  * delete pages that no longer have items, and write the updated index.
@@ -2343,11 +2308,8 @@ function asyncGeneratorStep$l(gen, resolve, reject, _next, _throw, key, arg) {
2343
2308
  reject(error);
2344
2309
  return;
2345
2310
  }
2346
- if (info.done) {
2347
- resolve(value);
2348
- } else {
2349
- Promise.resolve(value).then(_next, _throw);
2350
- }
2311
+ if (info.done) resolve(value);
2312
+ else Promise.resolve(value).then(_next, _throw);
2351
2313
  }
2352
2314
  function _async_to_generator$l(fn) {
2353
2315
  return function() {
@@ -3317,11 +3279,6 @@ function documentDataWithIdAndKey(snapshot) {
3317
3279
  });
3318
3280
  }));
3319
3281
  }
3320
- // MARK: Compat
3321
- // COMPAT: Deprecated aliases
3322
- /**
3323
- * @deprecated Use {@link streamDocumentSnapshotsData} instead.
3324
- */ var latestDataFromDocuments = streamDocumentSnapshotsData;
3325
3282
 
3326
3283
  function asyncGeneratorStep$k(gen, resolve, reject, _next, _throw, key, arg) {
3327
3284
  try {
@@ -3331,11 +3288,8 @@ function asyncGeneratorStep$k(gen, resolve, reject, _next, _throw, key, arg) {
3331
3288
  reject(error);
3332
3289
  return;
3333
3290
  }
3334
- if (info.done) {
3335
- resolve(value);
3336
- } else {
3337
- Promise.resolve(value).then(_next, _throw);
3338
- }
3291
+ if (info.done) resolve(value);
3292
+ else Promise.resolve(value).then(_next, _throw);
3339
3293
  }
3340
3294
  function _async_to_generator$k(fn) {
3341
3295
  return function() {
@@ -3871,9 +3825,7 @@ function _define_property$C(obj, key, value) {
3871
3825
  configurable: true,
3872
3826
  writable: true
3873
3827
  });
3874
- } else {
3875
- obj[key] = value;
3876
- }
3828
+ } else obj[key] = value;
3877
3829
  return obj;
3878
3830
  }
3879
3831
  function _object_spread$w(target) {
@@ -3901,9 +3853,8 @@ function ownKeys$q(object, enumerableOnly) {
3901
3853
  }
3902
3854
  function _object_spread_props$q(target, source) {
3903
3855
  source = source != null ? source : {};
3904
- if (Object.getOwnPropertyDescriptors) {
3905
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3906
- } else {
3856
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3857
+ else {
3907
3858
  ownKeys$q(Object(source)).forEach(function(key) {
3908
3859
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3909
3860
  });
@@ -4045,9 +3996,7 @@ function _define_property$B(obj, key, value) {
4045
3996
  configurable: true,
4046
3997
  writable: true
4047
3998
  });
4048
- } else {
4049
- obj[key] = value;
4050
- }
3999
+ } else obj[key] = value;
4051
4000
  return obj;
4052
4001
  }
4053
4002
  function _object_spread$v(target) {
@@ -4075,9 +4024,8 @@ function ownKeys$p(object, enumerableOnly) {
4075
4024
  }
4076
4025
  function _object_spread_props$p(target, source) {
4077
4026
  source = source != null ? source : {};
4078
- if (Object.getOwnPropertyDescriptors) {
4079
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
4080
- } else {
4027
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
4028
+ else {
4081
4029
  ownKeys$p(Object(source)).forEach(function(key) {
4082
4030
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
4083
4031
  });
@@ -5817,10 +5765,12 @@ function _array_without_holes$g(arr) {
5817
5765
  if (Array.isArray(arr)) return _array_like_to_array$m(arr);
5818
5766
  }
5819
5767
  function _iterable_to_array$g(iter) {
5820
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
5768
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
5769
+ return Array.from(iter);
5770
+ }
5821
5771
  }
5822
5772
  function _non_iterable_spread$g() {
5823
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5773
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5824
5774
  }
5825
5775
  function _to_consumable_array$g(arr) {
5826
5776
  return _array_without_holes$g(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$m(arr) || _non_iterable_spread$g();
@@ -6423,16 +6373,16 @@ function _define_property$A(obj, key, value) {
6423
6373
  configurable: true,
6424
6374
  writable: true
6425
6375
  });
6426
- } else {
6427
- obj[key] = value;
6428
- }
6376
+ } else obj[key] = value;
6429
6377
  return obj;
6430
6378
  }
6431
6379
  function _iterable_to_array$f(iter) {
6432
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
6380
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
6381
+ return Array.from(iter);
6382
+ }
6433
6383
  }
6434
6384
  function _non_iterable_spread$f() {
6435
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6385
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6436
6386
  }
6437
6387
  function _object_spread$u(target) {
6438
6388
  for(var i = 1; i < arguments.length; i++){
@@ -6459,9 +6409,8 @@ function ownKeys$o(object, enumerableOnly) {
6459
6409
  }
6460
6410
  function _object_spread_props$o(target, source) {
6461
6411
  source = source != null ? source : {};
6462
- if (Object.getOwnPropertyDescriptors) {
6463
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6464
- } else {
6412
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6413
+ else {
6465
6414
  ownKeys$o(Object(source)).forEach(function(key) {
6466
6415
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6467
6416
  });
@@ -6835,11 +6784,8 @@ function asyncGeneratorStep$j(gen, resolve, reject, _next, _throw, key, arg) {
6835
6784
  reject(error);
6836
6785
  return;
6837
6786
  }
6838
- if (info.done) {
6839
- resolve(value);
6840
- } else {
6841
- Promise.resolve(value).then(_next, _throw);
6842
- }
6787
+ if (info.done) resolve(value);
6788
+ else Promise.resolve(value).then(_next, _throw);
6843
6789
  }
6844
6790
  function _async_to_generator$j(fn) {
6845
6791
  return function() {
@@ -6857,22 +6803,16 @@ function _async_to_generator$j(fn) {
6857
6803
  };
6858
6804
  }
6859
6805
  function _iterable_to_array$e(iter) {
6860
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
6806
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
6807
+ return Array.from(iter);
6808
+ }
6861
6809
  }
6862
6810
  function _non_iterable_spread$e() {
6863
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6811
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6864
6812
  }
6865
6813
  function _to_consumable_array$e(arr) {
6866
6814
  return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$e();
6867
6815
  }
6868
- function _unsupported_iterable_to_array$k(o, minLen) {
6869
- if (!o) return;
6870
- if (typeof o === "string") return _array_like_to_array$k(o, minLen);
6871
- var n = Object.prototype.toString.call(o).slice(8, -1);
6872
- if (n === "Object" && o.constructor) n = o.constructor.name;
6873
- if (n === "Map" || n === "Set") return Array.from(n);
6874
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$k(o, minLen);
6875
- }
6876
6816
  function _ts_generator$j(thisArg, body) {
6877
6817
  var f, y, t, _ = {
6878
6818
  label: 0,
@@ -6972,6 +6912,14 @@ function _ts_generator$j(thisArg, body) {
6972
6912
  };
6973
6913
  }
6974
6914
  }
6915
+ function _unsupported_iterable_to_array$k(o, minLen) {
6916
+ if (!o) return;
6917
+ if (typeof o === "string") return _array_like_to_array$k(o, minLen);
6918
+ var n = Object.prototype.toString.call(o).slice(8, -1);
6919
+ if (n === "Object" && o.constructor) n = o.constructor.name;
6920
+ if (n === "Map" || n === "Set") return Array.from(n);
6921
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$k(o, minLen);
6922
+ }
6975
6923
  /**
6976
6924
  * Creates a factory for building and executing Firestore queries against a specific collection.
6977
6925
  *
@@ -7158,11 +7106,8 @@ function asyncGeneratorStep$i(gen, resolve, reject, _next, _throw, key, arg) {
7158
7106
  reject(error);
7159
7107
  return;
7160
7108
  }
7161
- if (info.done) {
7162
- resolve(value);
7163
- } else {
7164
- Promise.resolve(value).then(_next, _throw);
7165
- }
7109
+ if (info.done) resolve(value);
7110
+ else Promise.resolve(value).then(_next, _throw);
7166
7111
  }
7167
7112
  function _async_to_generator$i(fn) {
7168
7113
  return function() {
@@ -7187,9 +7132,7 @@ function _define_property$z(obj, key, value) {
7187
7132
  configurable: true,
7188
7133
  writable: true
7189
7134
  });
7190
- } else {
7191
- obj[key] = value;
7192
- }
7135
+ } else obj[key] = value;
7193
7136
  return obj;
7194
7137
  }
7195
7138
  function _iterable_to_array_limit$5(arr, i) {
@@ -7217,7 +7160,7 @@ function _iterable_to_array_limit$5(arr, i) {
7217
7160
  return _arr;
7218
7161
  }
7219
7162
  function _non_iterable_rest$5() {
7220
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7163
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7221
7164
  }
7222
7165
  function _object_spread$t(target) {
7223
7166
  for(var i = 1; i < arguments.length; i++){
@@ -7244,9 +7187,8 @@ function ownKeys$n(object, enumerableOnly) {
7244
7187
  }
7245
7188
  function _object_spread_props$n(target, source) {
7246
7189
  source = source != null ? source : {};
7247
- if (Object.getOwnPropertyDescriptors) {
7248
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7249
- } else {
7190
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7191
+ else {
7250
7192
  ownKeys$n(Object(source)).forEach(function(key) {
7251
7193
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7252
7194
  });
@@ -7256,14 +7198,6 @@ function _object_spread_props$n(target, source) {
7256
7198
  function _sliced_to_array$5(arr, i) {
7257
7199
  return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$5();
7258
7200
  }
7259
- function _unsupported_iterable_to_array$j(o, minLen) {
7260
- if (!o) return;
7261
- if (typeof o === "string") return _array_like_to_array$j(o, minLen);
7262
- var n = Object.prototype.toString.call(o).slice(8, -1);
7263
- if (n === "Object" && o.constructor) n = o.constructor.name;
7264
- if (n === "Map" || n === "Set") return Array.from(n);
7265
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
7266
- }
7267
7201
  function _ts_generator$i(thisArg, body) {
7268
7202
  var f, y, t, _ = {
7269
7203
  label: 0,
@@ -7363,6 +7297,14 @@ function _ts_generator$i(thisArg, body) {
7363
7297
  };
7364
7298
  }
7365
7299
  }
7300
+ function _unsupported_iterable_to_array$j(o, minLen) {
7301
+ if (!o) return;
7302
+ if (typeof o === "string") return _array_like_to_array$j(o, minLen);
7303
+ var n = Object.prototype.toString.call(o).slice(8, -1);
7304
+ if (n === "Object" && o.constructor) n = o.constructor.name;
7305
+ if (n === "Map" || n === "Set") return Array.from(n);
7306
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
7307
+ }
7366
7308
  /**
7367
7309
  * Iterates through Firestore query results, loading each snapshot as a
7368
7310
  * {@link FirestoreDocumentSnapshotDataPairWithData} before processing.
@@ -7911,11 +7853,8 @@ function asyncGeneratorStep$h(gen, resolve, reject, _next, _throw, key, arg) {
7911
7853
  reject(error);
7912
7854
  return;
7913
7855
  }
7914
- if (info.done) {
7915
- resolve(value);
7916
- } else {
7917
- Promise.resolve(value).then(_next, _throw);
7918
- }
7856
+ if (info.done) resolve(value);
7857
+ else Promise.resolve(value).then(_next, _throw);
7919
7858
  }
7920
7859
  function _async_to_generator$h(fn) {
7921
7860
  return function() {
@@ -8342,11 +8281,8 @@ function asyncGeneratorStep$g(gen, resolve, reject, _next, _throw, key, arg) {
8342
8281
  reject(error);
8343
8282
  return;
8344
8283
  }
8345
- if (info.done) {
8346
- resolve(value);
8347
- } else {
8348
- Promise.resolve(value).then(_next, _throw);
8349
- }
8284
+ if (info.done) resolve(value);
8285
+ else Promise.resolve(value).then(_next, _throw);
8350
8286
  }
8351
8287
  function _async_to_generator$g(fn) {
8352
8288
  return function() {
@@ -8364,22 +8300,16 @@ function _async_to_generator$g(fn) {
8364
8300
  };
8365
8301
  }
8366
8302
  function _iterable_to_array$d(iter) {
8367
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
8303
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
8304
+ return Array.from(iter);
8305
+ }
8368
8306
  }
8369
8307
  function _non_iterable_spread$d() {
8370
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8308
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8371
8309
  }
8372
8310
  function _to_consumable_array$d(arr) {
8373
8311
  return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$i(arr) || _non_iterable_spread$d();
8374
8312
  }
8375
- function _unsupported_iterable_to_array$i(o, minLen) {
8376
- if (!o) return;
8377
- if (typeof o === "string") return _array_like_to_array$i(o, minLen);
8378
- var n = Object.prototype.toString.call(o).slice(8, -1);
8379
- if (n === "Object" && o.constructor) n = o.constructor.name;
8380
- if (n === "Map" || n === "Set") return Array.from(n);
8381
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
8382
- }
8383
8313
  function _ts_generator$g(thisArg, body) {
8384
8314
  var f, y, t, _ = {
8385
8315
  label: 0,
@@ -8479,6 +8409,14 @@ function _ts_generator$g(thisArg, body) {
8479
8409
  };
8480
8410
  }
8481
8411
  }
8412
+ function _unsupported_iterable_to_array$i(o, minLen) {
8413
+ if (!o) return;
8414
+ if (typeof o === "string") return _array_like_to_array$i(o, minLen);
8415
+ var n = Object.prototype.toString.call(o).slice(8, -1);
8416
+ if (n === "Object" && o.constructor) n = o.constructor.name;
8417
+ if (n === "Map" || n === "Set") return Array.from(n);
8418
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
8419
+ }
8482
8420
  /**
8483
8421
  * Creates a query factory for Firestore collections that automatically handles document conversion.
8484
8422
  *
@@ -8631,16 +8569,16 @@ function _define_property$y(obj, key, value) {
8631
8569
  configurable: true,
8632
8570
  writable: true
8633
8571
  });
8634
- } else {
8635
- obj[key] = value;
8636
- }
8572
+ } else obj[key] = value;
8637
8573
  return obj;
8638
8574
  }
8639
8575
  function _iterable_to_array$c(iter) {
8640
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
8576
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
8577
+ return Array.from(iter);
8578
+ }
8641
8579
  }
8642
8580
  function _non_iterable_spread$c() {
8643
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8581
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8644
8582
  }
8645
8583
  function _object_spread$s(target) {
8646
8584
  for(var i = 1; i < arguments.length; i++){
@@ -8667,9 +8605,8 @@ function ownKeys$m(object, enumerableOnly) {
8667
8605
  }
8668
8606
  function _object_spread_props$m(target, source) {
8669
8607
  source = source != null ? source : {};
8670
- if (Object.getOwnPropertyDescriptors) {
8671
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8672
- } else {
8608
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8609
+ else {
8673
8610
  ownKeys$m(Object(source)).forEach(function(key) {
8674
8611
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8675
8612
  });
@@ -9264,9 +9201,7 @@ function _define_property$x(obj, key, value) {
9264
9201
  configurable: true,
9265
9202
  writable: true
9266
9203
  });
9267
- } else {
9268
- obj[key] = value;
9269
- }
9204
+ } else obj[key] = value;
9270
9205
  return obj;
9271
9206
  }
9272
9207
  function _object_spread$r(target) {
@@ -9294,9 +9229,8 @@ function ownKeys$l(object, enumerableOnly) {
9294
9229
  }
9295
9230
  function _object_spread_props$l(target, source) {
9296
9231
  source = source != null ? source : {};
9297
- if (Object.getOwnPropertyDescriptors) {
9298
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9299
- } else {
9232
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9233
+ else {
9300
9234
  ownKeys$l(Object(source)).forEach(function(key) {
9301
9235
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9302
9236
  });
@@ -9438,9 +9372,7 @@ function _define_property$w(obj, key, value) {
9438
9372
  configurable: true,
9439
9373
  writable: true
9440
9374
  });
9441
- } else {
9442
- obj[key] = value;
9443
- }
9375
+ } else obj[key] = value;
9444
9376
  return obj;
9445
9377
  }
9446
9378
  function _object_spread$q(target) {
@@ -9468,9 +9400,8 @@ function ownKeys$k(object, enumerableOnly) {
9468
9400
  }
9469
9401
  function _object_spread_props$k(target, source) {
9470
9402
  source = source != null ? source : {};
9471
- if (Object.getOwnPropertyDescriptors) {
9472
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9473
- } else {
9403
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9404
+ else {
9474
9405
  ownKeys$k(Object(source)).forEach(function(key) {
9475
9406
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9476
9407
  });
@@ -9568,16 +9499,16 @@ function _define_property$v(obj, key, value) {
9568
9499
  configurable: true,
9569
9500
  writable: true
9570
9501
  });
9571
- } else {
9572
- obj[key] = value;
9573
- }
9502
+ } else obj[key] = value;
9574
9503
  return obj;
9575
9504
  }
9576
9505
  function _iterable_to_array$b(iter) {
9577
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9506
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
9507
+ return Array.from(iter);
9508
+ }
9578
9509
  }
9579
9510
  function _non_iterable_spread$b() {
9580
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9511
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9581
9512
  }
9582
9513
  function _object_spread$p(target) {
9583
9514
  for(var i = 1; i < arguments.length; i++){
@@ -9604,9 +9535,8 @@ function ownKeys$j(object, enumerableOnly) {
9604
9535
  }
9605
9536
  function _object_spread_props$j(target, source) {
9606
9537
  source = source != null ? source : {};
9607
- if (Object.getOwnPropertyDescriptors) {
9608
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9609
- } else {
9538
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9539
+ else {
9610
9540
  ownKeys$j(Object(source)).forEach(function(key) {
9611
9541
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9612
9542
  });
@@ -9751,11 +9681,8 @@ function asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, key, arg) {
9751
9681
  reject(error);
9752
9682
  return;
9753
9683
  }
9754
- if (info.done) {
9755
- resolve(value);
9756
- } else {
9757
- Promise.resolve(value).then(_next, _throw);
9758
- }
9684
+ if (info.done) resolve(value);
9685
+ else Promise.resolve(value).then(_next, _throw);
9759
9686
  }
9760
9687
  function _async_to_generator$f(fn) {
9761
9688
  return function() {
@@ -10006,16 +9933,16 @@ function _define_property$u(obj, key, value) {
10006
9933
  configurable: true,
10007
9934
  writable: true
10008
9935
  });
10009
- } else {
10010
- obj[key] = value;
10011
- }
9936
+ } else obj[key] = value;
10012
9937
  return obj;
10013
9938
  }
10014
9939
  function _iterable_to_array$a(iter) {
10015
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9940
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
9941
+ return Array.from(iter);
9942
+ }
10016
9943
  }
10017
9944
  function _non_iterable_spread$a() {
10018
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9945
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10019
9946
  }
10020
9947
  function _object_spread$o(target) {
10021
9948
  for(var i = 1; i < arguments.length; i++){
@@ -10084,9 +10011,7 @@ function _unsupported_iterable_to_array$f(o, minLen) {
10084
10011
  }
10085
10012
 
10086
10013
  function _class_call_check$o(instance, Constructor) {
10087
- if (!(instance instanceof Constructor)) {
10088
- throw new TypeError("Cannot call a class as a function");
10089
- }
10014
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
10090
10015
  }
10091
10016
  function _defineProperties$c(target, props) {
10092
10017
  for(var i = 0; i < props.length; i++){
@@ -10109,9 +10034,7 @@ function _define_property$t(obj, key, value) {
10109
10034
  configurable: true,
10110
10035
  writable: true
10111
10036
  });
10112
- } else {
10113
- obj[key] = value;
10114
- }
10037
+ } else obj[key] = value;
10115
10038
  return obj;
10116
10039
  }
10117
10040
  // MARK: Accessor
@@ -10250,9 +10173,7 @@ function _define_property$t(obj, key, value) {
10250
10173
  }
10251
10174
 
10252
10175
  function _assert_this_initialized$a(self) {
10253
- if (self === void 0) {
10254
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10255
- }
10176
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10256
10177
  return self;
10257
10178
  }
10258
10179
  function _call_super$a(_this, derived, args) {
@@ -10260,9 +10181,7 @@ function _call_super$a(_this, derived, args) {
10260
10181
  return _possible_constructor_return$a(_this, _is_native_reflect_construct$a() ? Reflect.construct(derived, args || [], _get_prototype_of$a(_this).constructor) : derived.apply(_this, args));
10261
10182
  }
10262
10183
  function _class_call_check$n(instance, Constructor) {
10263
- if (!(instance instanceof Constructor)) {
10264
- throw new TypeError("Cannot call a class as a function");
10265
- }
10184
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
10266
10185
  }
10267
10186
  function _defineProperties$b(target, props) {
10268
10187
  for(var i = 0; i < props.length; i++){
@@ -10285,9 +10204,7 @@ function _define_property$s(obj, key, value) {
10285
10204
  configurable: true,
10286
10205
  writable: true
10287
10206
  });
10288
- } else {
10289
- obj[key] = value;
10290
- }
10207
+ } else obj[key] = value;
10291
10208
  return obj;
10292
10209
  }
10293
10210
  function _get_prototype_of$a(o) {
@@ -10309,10 +10226,16 @@ function _inherits$a(subClass, superClass) {
10309
10226
  });
10310
10227
  if (superClass) _set_prototype_of$a(subClass, superClass);
10311
10228
  }
10229
+ function _is_native_reflect_construct$a() {
10230
+ try {
10231
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
10232
+ } catch (_) {}
10233
+ return (_is_native_reflect_construct$a = function() {
10234
+ return !!result;
10235
+ })();
10236
+ }
10312
10237
  function _possible_constructor_return$a(self, call) {
10313
- if (call && (_type_of$b(call) === "object" || typeof call === "function")) {
10314
- return call;
10315
- }
10238
+ if (call && (_type_of$b(call) === "object" || typeof call === "function")) return call;
10316
10239
  return _assert_this_initialized$a(self);
10317
10240
  }
10318
10241
  function _set_prototype_of$a(o, p) {
@@ -10326,14 +10249,6 @@ function _type_of$b(obj) {
10326
10249
  "@swc/helpers - typeof";
10327
10250
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
10328
10251
  }
10329
- function _is_native_reflect_construct$a() {
10330
- try {
10331
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
10332
- } catch (_) {}
10333
- return (_is_native_reflect_construct$a = function() {
10334
- return !!result;
10335
- })();
10336
- }
10337
10252
  // MARK: Accessor
10338
10253
  /**
10339
10254
  * Client-side {@link FirestoreDocumentDataAccessor} that queues write operations into a Firestore `WriteBatch`.
@@ -10450,9 +10365,7 @@ function _is_native_reflect_construct$a() {
10450
10365
  }
10451
10366
 
10452
10367
  function _class_call_check$m(instance, Constructor) {
10453
- if (!(instance instanceof Constructor)) {
10454
- throw new TypeError("Cannot call a class as a function");
10455
- }
10368
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
10456
10369
  }
10457
10370
  function _defineProperties$a(target, props) {
10458
10371
  for(var i = 0; i < props.length; i++){
@@ -10475,9 +10388,7 @@ function _define_property$r(obj, key, value) {
10475
10388
  configurable: true,
10476
10389
  writable: true
10477
10390
  });
10478
- } else {
10479
- obj[key] = value;
10480
- }
10391
+ } else obj[key] = value;
10481
10392
  return obj;
10482
10393
  }
10483
10394
  // MARK: Accessor
@@ -10651,11 +10562,8 @@ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
10651
10562
  reject(error);
10652
10563
  return;
10653
10564
  }
10654
- if (info.done) {
10655
- resolve(value);
10656
- } else {
10657
- Promise.resolve(value).then(_next, _throw);
10658
- }
10565
+ if (info.done) resolve(value);
10566
+ else Promise.resolve(value).then(_next, _throw);
10659
10567
  }
10660
10568
  function _async_to_generator$e(fn) {
10661
10569
  return function() {
@@ -10835,16 +10743,16 @@ function _define_property$q(obj, key, value) {
10835
10743
  configurable: true,
10836
10744
  writable: true
10837
10745
  });
10838
- } else {
10839
- obj[key] = value;
10840
- }
10746
+ } else obj[key] = value;
10841
10747
  return obj;
10842
10748
  }
10843
10749
  function _iterable_to_array$9(iter) {
10844
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
10750
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
10751
+ return Array.from(iter);
10752
+ }
10845
10753
  }
10846
10754
  function _non_iterable_spread$9() {
10847
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10755
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10848
10756
  }
10849
10757
  function _object_spread$n(target) {
10850
10758
  for(var i = 1; i < arguments.length; i++){
@@ -10871,9 +10779,8 @@ function ownKeys$i(object, enumerableOnly) {
10871
10779
  }
10872
10780
  function _object_spread_props$i(target, source) {
10873
10781
  source = source != null ? source : {};
10874
- if (Object.getOwnPropertyDescriptors) {
10875
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10876
- } else {
10782
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10783
+ else {
10877
10784
  ownKeys$i(Object(source)).forEach(function(key) {
10878
10785
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10879
10786
  });
@@ -11045,9 +10952,7 @@ var _obj$1;
11045
10952
  */ var clientFirebaseFirestoreContextFactory = firestoreContextFactory(firebaseFirestoreClientDrivers());
11046
10953
 
11047
10954
  function _assert_this_initialized$9(self) {
11048
- if (self === void 0) {
11049
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11050
- }
10955
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11051
10956
  return self;
11052
10957
  }
11053
10958
  function _call_super$9(_this, derived, args) {
@@ -11055,9 +10960,7 @@ function _call_super$9(_this, derived, args) {
11055
10960
  return _possible_constructor_return$9(_this, _is_native_reflect_construct$9() ? Reflect.construct(derived, args || [], _get_prototype_of$9(_this).constructor) : derived.apply(_this, args));
11056
10961
  }
11057
10962
  function _class_call_check$l(instance, Constructor) {
11058
- if (!(instance instanceof Constructor)) {
11059
- throw new TypeError("Cannot call a class as a function");
11060
- }
10963
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
11061
10964
  }
11062
10965
  function _defineProperties$9(target, props) {
11063
10966
  for(var i = 0; i < props.length; i++){
@@ -11081,9 +10984,7 @@ function _define_property$p(obj, key, value) {
11081
10984
  configurable: true,
11082
10985
  writable: true
11083
10986
  });
11084
- } else {
11085
- obj[key] = value;
11086
- }
10987
+ } else obj[key] = value;
11087
10988
  return obj;
11088
10989
  }
11089
10990
  function _get_prototype_of$9(o) {
@@ -11105,6 +11006,14 @@ function _inherits$9(subClass, superClass) {
11105
11006
  });
11106
11007
  if (superClass) _set_prototype_of$9(subClass, superClass);
11107
11008
  }
11009
+ function _is_native_reflect_construct$9() {
11010
+ try {
11011
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
11012
+ } catch (_) {}
11013
+ return (_is_native_reflect_construct$9 = function() {
11014
+ return !!result;
11015
+ })();
11016
+ }
11108
11017
  function _object_spread$m(target) {
11109
11018
  for(var i = 1; i < arguments.length; i++){
11110
11019
  var source = arguments[i] != null ? arguments[i] : {};
@@ -11121,9 +11030,7 @@ function _object_spread$m(target) {
11121
11030
  return target;
11122
11031
  }
11123
11032
  function _possible_constructor_return$9(self, call) {
11124
- if (call && (_type_of$a(call) === "object" || typeof call === "function")) {
11125
- return call;
11126
- }
11033
+ if (call && (_type_of$a(call) === "object" || typeof call === "function")) return call;
11127
11034
  return _assert_this_initialized$9(self);
11128
11035
  }
11129
11036
  function _set_prototype_of$9(o, p) {
@@ -11137,14 +11044,6 @@ function _type_of$a(obj) {
11137
11044
  "@swc/helpers - typeof";
11138
11045
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11139
11046
  }
11140
- function _is_native_reflect_construct$9() {
11141
- try {
11142
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
11143
- } catch (_) {}
11144
- return (_is_native_reflect_construct$9 = function() {
11145
- return !!result;
11146
- })();
11147
- }
11148
11047
  /**
11149
11048
  * Client-side representation of an error originating from a Firebase Cloud Function.
11150
11049
  *
@@ -11221,11 +11120,8 @@ function asyncGeneratorStep$d(gen, resolve, reject, _next, _throw, key, arg) {
11221
11120
  reject(error);
11222
11121
  return;
11223
11122
  }
11224
- if (info.done) {
11225
- resolve(value);
11226
- } else {
11227
- Promise.resolve(value).then(_next, _throw);
11228
- }
11123
+ if (info.done) resolve(value);
11124
+ else Promise.resolve(value).then(_next, _throw);
11229
11125
  }
11230
11126
  function _async_to_generator$d(fn) {
11231
11127
  return function() {
@@ -11250,9 +11146,7 @@ function _define_property$o(obj, key, value) {
11250
11146
  configurable: true,
11251
11147
  writable: true
11252
11148
  });
11253
- } else {
11254
- obj[key] = value;
11255
- }
11149
+ } else obj[key] = value;
11256
11150
  return obj;
11257
11151
  }
11258
11152
  function _object_spread$l(target) {
@@ -11280,19 +11174,14 @@ function ownKeys$h(object, enumerableOnly) {
11280
11174
  }
11281
11175
  function _object_spread_props$h(target, source) {
11282
11176
  source = source != null ? source : {};
11283
- if (Object.getOwnPropertyDescriptors) {
11284
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11285
- } else {
11177
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11178
+ else {
11286
11179
  ownKeys$h(Object(source)).forEach(function(key) {
11287
11180
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
11288
11181
  });
11289
11182
  }
11290
11183
  return target;
11291
11184
  }
11292
- function _type_of$9(obj) {
11293
- "@swc/helpers - typeof";
11294
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11295
- }
11296
11185
  function _ts_generator$d(thisArg, body) {
11297
11186
  var f, y, t, _ = {
11298
11187
  label: 0,
@@ -11392,6 +11281,10 @@ function _ts_generator$d(thisArg, body) {
11392
11281
  };
11393
11282
  }
11394
11283
  }
11284
+ function _type_of$9(obj) {
11285
+ "@swc/helpers - typeof";
11286
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11287
+ }
11395
11288
  function mapHttpsCallable(callable, wrap) {
11396
11289
  var directData = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
11397
11290
  var _wrap_mapInput = wrap.mapInput, mapInput = _wrap_mapInput === void 0 ? function(x) {
@@ -11659,23 +11552,6 @@ function mapHttpsCallable(callable, wrap) {
11659
11552
  modelKeys: asArray(modelKeys)
11660
11553
  };
11661
11554
  }
11662
- // COMPAT: Deprecated aliases
11663
- /**
11664
- * Creates OnCallTypedModelParams for the input.
11665
- *
11666
- * Convenience function for calling onCallTypedModelParamsFunction and executing it with the input.
11667
- *
11668
- * @param modelTypeInput - The model type string or ref.
11669
- * @param data - The call payload.
11670
- * @param specifier - Optional sub-function specifier.
11671
- * @param call - The CRUD call type.
11672
- * @returns The constructed {@link OnCallTypedModelParams}
11673
- *
11674
- * @deprecated Move towards using onCallTypedModelParamsFunction directly with the call type instead of using this function. Will not be removed in the future.
11675
- */ // eslint-disable-next-line @typescript-eslint/max-params -- deprecated function, not worth refactoring
11676
- function onCallTypedModelParams(modelTypeInput, data, specifier, call) {
11677
- return onCallTypedModelParamsFunction(call)(modelTypeInput, data, specifier);
11678
- }
11679
11555
 
11680
11556
  function _array_like_to_array$d(arr, len) {
11681
11557
  if (len == null || len > arr.length) len = arr.length;
@@ -11710,7 +11586,7 @@ function _iterable_to_array_limit$4(arr, i) {
11710
11586
  return _arr;
11711
11587
  }
11712
11588
  function _non_iterable_rest$4() {
11713
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11589
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11714
11590
  }
11715
11591
  function _sliced_to_array$4(arr, i) {
11716
11592
  return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$4();
@@ -11761,14 +11637,18 @@ function _unsupported_iterable_to_array$d(o, minLen) {
11761
11637
  */ function callModelFirebaseFunctionMapFactory(configMap, crudConfigMap) {
11762
11638
  var functionFactory = firebaseFunctionMapFactory(configMap);
11763
11639
  return function(functionsInstance) {
11764
- var makeCallFunction = function makeCallFunction(callFn, modelType, specifier) {
11640
+ var functionMap = functionFactory(functionsInstance);
11641
+ var _callFn = cachedGetter(function() {
11642
+ return httpsCallable(functionsInstance, CALL_MODEL_APP_FUNCTION_KEY);
11643
+ });
11644
+ function makeCallFunction(callFn, modelType, specifier) {
11765
11645
  return mapHttpsCallable(callFn.fn(), {
11766
11646
  mapInput: function mapInput(data) {
11767
11647
  return onCallTypedModelParamsFunction(callFn.call)(modelType, data, specifier);
11768
11648
  }
11769
11649
  }, true);
11770
- };
11771
- var makeCallSpecifiers = function makeCallSpecifiers(callFn, modelType, specifierKeys) {
11650
+ }
11651
+ function makeCallSpecifiers(callFn, modelType, specifierKeys) {
11772
11652
  var modelTypeSuffix = capitalizeFirstLetter(modelType);
11773
11653
  var specifiers = {};
11774
11654
  specifierKeys.forEach(function(inputSpecifier) {
@@ -11780,38 +11660,12 @@ function _unsupported_iterable_to_array$d(o, minLen) {
11780
11660
  specifiers[shortSpecifierName] = specifierFn;
11781
11661
  });
11782
11662
  return specifiers;
11783
- };
11784
- var functionMap = functionFactory(functionsInstance);
11785
- var _callFn = cachedGetter(function() {
11786
- return httpsCallable(functionsInstance, CALL_MODEL_APP_FUNCTION_KEY);
11787
- });
11663
+ }
11788
11664
  return build({
11789
11665
  base: functionMap,
11790
11666
  build: function build(x) {
11791
11667
  Object.entries(crudConfigMap).forEach(function(param) {
11792
11668
  var _param = _sliced_to_array$4(param, 2), modelType = _param[0], config = _param[1];
11793
- var assertCallKeyNotEncountered = function assertCallKeyNotEncountered(crud) {
11794
- if (encounteredCalls.has(crud)) {
11795
- throw new Error("Cannot have multiple declarations of the same crud. Found repeat for crud: ".concat(crud));
11796
- } else {
11797
- encounteredCalls.add(crud);
11798
- }
11799
- };
11800
- var addCallFunctions = function addCallFunctions(crud, fn, modelType) {
11801
- var crudFns;
11802
- var callFn = {
11803
- call: crud,
11804
- fn: fn
11805
- };
11806
- if (crudFunctions.has(crud)) {
11807
- crudFns = makeCallFunction(callFn, modelType);
11808
- } else if (specifierFunctions.has(crud)) {
11809
- crudFns = makeCallSpecifiers(callFn, modelType, specifierFunctions.get(crud));
11810
- }
11811
- if (crudFns) {
11812
- modelTypeCalls["".concat(crud).concat(modelTypeSuffix)] = crudFns;
11813
- }
11814
- };
11815
11669
  var modelTypeSuffix = capitalizeFirstLetter(modelType);
11816
11670
  var _separateValues = separateValues(config, function(x) {
11817
11671
  return !x.includes(':');
@@ -11827,6 +11681,13 @@ function _unsupported_iterable_to_array$d(o, minLen) {
11827
11681
  });
11828
11682
  // check that there isn't a repeat crud key configured, which disallowed configuration and would cause some functions to be ignored
11829
11683
  var encounteredCalls = new Set();
11684
+ function assertCallKeyNotEncountered(crud) {
11685
+ if (encounteredCalls.has(crud)) {
11686
+ throw new Error("Cannot have multiple declarations of the same crud. Found repeat for crud: ".concat(crud));
11687
+ } else {
11688
+ encounteredCalls.add(crud);
11689
+ }
11690
+ }
11830
11691
  crudFunctions.forEach(assertCallKeyNotEncountered);
11831
11692
  specifiedCallFunctionTuples.forEach(function(param) {
11832
11693
  var _param = _sliced_to_array$4(param, 1), crud = _param[0];
@@ -11834,6 +11695,21 @@ function _unsupported_iterable_to_array$d(o, minLen) {
11834
11695
  });
11835
11696
  // build and add the functions
11836
11697
  var specifierFunctions = new Map(specifiedCallFunctionTuples);
11698
+ function addCallFunctions(crud, fn, modelType) {
11699
+ var crudFns;
11700
+ var callFn = {
11701
+ call: crud,
11702
+ fn: fn
11703
+ };
11704
+ if (crudFunctions.has(crud)) {
11705
+ crudFns = makeCallFunction(callFn, modelType);
11706
+ } else if (specifierFunctions.has(crud)) {
11707
+ crudFns = makeCallSpecifiers(callFn, modelType, specifierFunctions.get(crud));
11708
+ }
11709
+ if (crudFns) {
11710
+ modelTypeCalls["".concat(crud).concat(modelTypeSuffix)] = crudFns;
11711
+ }
11712
+ }
11837
11713
  var modelTypeCalls = {};
11838
11714
  // add functions for each call type
11839
11715
  addCallFunctions('create', _callFn, modelType);
@@ -11896,16 +11772,16 @@ function _unsupported_iterable_to_array$d(o, minLen) {
11896
11772
  * @__NO_SIDE_EFFECTS__
11897
11773
  */ function developmentFirebaseFunctionMapFactory(configMap) {
11898
11774
  return function(functionsInstance) {
11899
- var makeFunction = function makeFunction(fn, specifier) {
11775
+ var _devFn = cachedGetter(function() {
11776
+ return httpsCallable(functionsInstance, RUN_DEV_FUNCTION_APP_FUNCTION_KEY);
11777
+ });
11778
+ function makeFunction(fn, specifier) {
11900
11779
  return mapHttpsCallable(fn(), {
11901
11780
  mapInput: function mapInput(data) {
11902
11781
  return onCallDevelopmentParams(specifier, data);
11903
11782
  }
11904
11783
  }, true);
11905
- };
11906
- var _devFn = cachedGetter(function() {
11907
- return httpsCallable(functionsInstance, RUN_DEV_FUNCTION_APP_FUNCTION_KEY);
11908
- });
11784
+ }
11909
11785
  var functionsMap = mapObjectMap(configMap, function(enabled, specifier) {
11910
11786
  return makeFunction(_devFn, specifier);
11911
11787
  });
@@ -11914,9 +11790,7 @@ function _unsupported_iterable_to_array$d(o, minLen) {
11914
11790
  }
11915
11791
 
11916
11792
  function _class_call_check$k(instance, Constructor) {
11917
- if (!(instance instanceof Constructor)) {
11918
- throw new TypeError("Cannot call a class as a function");
11919
- }
11793
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
11920
11794
  }
11921
11795
  /**
11922
11796
  * The default functions key for the FirebaseDevelopmentFunctionTypeMap/Functions, used in an app's functions map.
@@ -12619,7 +12493,7 @@ function _iterable_to_array_limit$3(arr, i) {
12619
12493
  return _arr;
12620
12494
  }
12621
12495
  function _non_iterable_rest$3() {
12622
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12496
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12623
12497
  }
12624
12498
  function _sliced_to_array$3(arr, i) {
12625
12499
  return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$3();
@@ -12859,9 +12733,7 @@ var FIREBASE_SERVER_AUTH_CLAIMS_RESET_EXPIRES_AT_KEY = 'resetExpiresAt';
12859
12733
  */ var DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE = 'PASSWORD_RESET_SEND_ONCE';
12860
12734
 
12861
12735
  function _class_call_check$j(instance, Constructor) {
12862
- if (!(instance instanceof Constructor)) {
12863
- throw new TypeError("Cannot call a class as a function");
12864
- }
12736
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
12865
12737
  }
12866
12738
  function _define_property$n(obj, key, value) {
12867
12739
  if (key in obj) {
@@ -12871,9 +12743,7 @@ function _define_property$n(obj, key, value) {
12871
12743
  configurable: true,
12872
12744
  writable: true
12873
12745
  });
12874
- } else {
12875
- obj[key] = value;
12876
- }
12746
+ } else obj[key] = value;
12877
12747
  return obj;
12878
12748
  }
12879
12749
  /**
@@ -12966,17 +12836,17 @@ function _define_property$n(obj, key, value) {
12966
12836
 
12967
12837
  /**
12968
12838
  * ArkType schema for a FirestoreModelKey (full path like "collection/12345").
12969
- */ var firestoreModelKeyType = /* @__PURE__ */ type('string > 0').narrow(function(val, ctx) {
12839
+ */ var firestoreModelKeyType = /* @__PURE__ */ (type('string > 0')).narrow(function(val, ctx) {
12970
12840
  return isFirestoreModelKey(val) || ctx.mustBe('a valid FirestoreModelKey');
12971
12841
  });
12972
12842
  /**
12973
12843
  * ArkType schema for a FirestoreModelId (document ID like "12345").
12974
- */ var firestoreModelIdType = /* @__PURE__ */ type('string > 0').narrow(function(val, ctx) {
12844
+ */ var firestoreModelIdType = /* @__PURE__ */ (type('string > 0')).narrow(function(val, ctx) {
12975
12845
  return isFirestoreModelId(val) || ctx.mustBe('a valid FirestoreModelId');
12976
12846
  });
12977
12847
  /**
12978
12848
  * ArkType schema for a FirestoreModelId or FirestoreModelKey.
12979
- */ var firestoreModelIdOrKeyType = /* @__PURE__ */ type('string > 0').narrow(function(val, ctx) {
12849
+ */ var firestoreModelIdOrKeyType = /* @__PURE__ */ (type('string > 0')).narrow(function(val, ctx) {
12980
12850
  return isFirestoreModelIdOrKey(val) || ctx.mustBe('a valid FirestoreModelId or FirestoreModelKey');
12981
12851
  });
12982
12852
 
@@ -13002,9 +12872,7 @@ function _define_property$n(obj, key, value) {
13002
12872
  });
13003
12873
 
13004
12874
  function _assert_this_initialized$8(self) {
13005
- if (self === void 0) {
13006
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
13007
- }
12875
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
13008
12876
  return self;
13009
12877
  }
13010
12878
  function asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, key, arg) {
@@ -13015,11 +12883,8 @@ function asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, key, arg) {
13015
12883
  reject(error);
13016
12884
  return;
13017
12885
  }
13018
- if (info.done) {
13019
- resolve(value);
13020
- } else {
13021
- Promise.resolve(value).then(_next, _throw);
13022
- }
12886
+ if (info.done) resolve(value);
12887
+ else Promise.resolve(value).then(_next, _throw);
13023
12888
  }
13024
12889
  function _async_to_generator$c(fn) {
13025
12890
  return function() {
@@ -13041,9 +12906,7 @@ function _call_super$8(_this, derived, args) {
13041
12906
  return _possible_constructor_return$8(_this, _is_native_reflect_construct$8() ? Reflect.construct(derived, args || [], _get_prototype_of$8(_this).constructor) : derived.apply(_this, args));
13042
12907
  }
13043
12908
  function _class_call_check$i(instance, Constructor) {
13044
- if (!(instance instanceof Constructor)) {
13045
- throw new TypeError("Cannot call a class as a function");
13046
- }
12909
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
13047
12910
  }
13048
12911
  function _defineProperties$8(target, props) {
13049
12912
  for(var i = 0; i < props.length; i++){
@@ -13066,9 +12929,7 @@ function _define_property$m(obj, key, value) {
13066
12929
  configurable: true,
13067
12930
  writable: true
13068
12931
  });
13069
- } else {
13070
- obj[key] = value;
13071
- }
12932
+ } else obj[key] = value;
13072
12933
  return obj;
13073
12934
  }
13074
12935
  function _get_prototype_of$8(o) {
@@ -13090,10 +12951,16 @@ function _inherits$8(subClass, superClass) {
13090
12951
  });
13091
12952
  if (superClass) _set_prototype_of$8(subClass, superClass);
13092
12953
  }
12954
+ function _is_native_reflect_construct$8() {
12955
+ try {
12956
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
12957
+ } catch (_) {}
12958
+ return (_is_native_reflect_construct$8 = function() {
12959
+ return !!result;
12960
+ })();
12961
+ }
13093
12962
  function _possible_constructor_return$8(self, call) {
13094
- if (call && (_type_of$8(call) === "object" || typeof call === "function")) {
13095
- return call;
13096
- }
12963
+ if (call && (_type_of$8(call) === "object" || typeof call === "function")) return call;
13097
12964
  return _assert_this_initialized$8(self);
13098
12965
  }
13099
12966
  function _set_prototype_of$8(o, p) {
@@ -13103,18 +12970,6 @@ function _set_prototype_of$8(o, p) {
13103
12970
  };
13104
12971
  return _set_prototype_of$8(o, p);
13105
12972
  }
13106
- function _type_of$8(obj) {
13107
- "@swc/helpers - typeof";
13108
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
13109
- }
13110
- function _is_native_reflect_construct$8() {
13111
- try {
13112
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
13113
- } catch (_) {}
13114
- return (_is_native_reflect_construct$8 = function() {
13115
- return !!result;
13116
- })();
13117
- }
13118
12973
  function _ts_generator$c(thisArg, body) {
13119
12974
  var f, y, t, _ = {
13120
12975
  label: 0,
@@ -13214,6 +13069,10 @@ function _ts_generator$c(thisArg, body) {
13214
13069
  };
13215
13070
  }
13216
13071
  }
13072
+ function _type_of$8(obj) {
13073
+ "@swc/helpers - typeof";
13074
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
13075
+ }
13217
13076
  /**
13218
13077
  * Concrete permission service implementation for Firebase models.
13219
13078
  *
@@ -13294,9 +13153,7 @@ function _ts_generator$c(thisArg, body) {
13294
13153
  }
13295
13154
 
13296
13155
  function _class_call_check$h(instance, Constructor) {
13297
- if (!(instance instanceof Constructor)) {
13298
- throw new TypeError("Cannot call a class as a function");
13299
- }
13156
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
13300
13157
  }
13301
13158
  function _defineProperties$7(target, props) {
13302
13159
  for(var i = 0; i < props.length; i++){
@@ -13319,9 +13176,7 @@ function _define_property$l(obj, key, value) {
13319
13176
  configurable: true,
13320
13177
  writable: true
13321
13178
  });
13322
- } else {
13323
- obj[key] = value;
13324
- }
13179
+ } else obj[key] = value;
13325
13180
  return obj;
13326
13181
  }
13327
13182
  /**
@@ -13507,11 +13362,8 @@ function asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, key, arg) {
13507
13362
  reject(error);
13508
13363
  return;
13509
13364
  }
13510
- if (info.done) {
13511
- resolve(value);
13512
- } else {
13513
- Promise.resolve(value).then(_next, _throw);
13514
- }
13365
+ if (info.done) resolve(value);
13366
+ else Promise.resolve(value).then(_next, _throw);
13515
13367
  }
13516
13368
  function _async_to_generator$b(fn) {
13517
13369
  return function() {
@@ -13863,9 +13715,7 @@ function _define_property$k(obj, key, value) {
13863
13715
  configurable: true,
13864
13716
  writable: true
13865
13717
  });
13866
- } else {
13867
- obj[key] = value;
13868
- }
13718
+ } else obj[key] = value;
13869
13719
  return obj;
13870
13720
  }
13871
13721
  function _object_spread$k(target) {
@@ -13893,9 +13743,8 @@ function ownKeys$g(object, enumerableOnly) {
13893
13743
  }
13894
13744
  function _object_spread_props$g(target, source) {
13895
13745
  source = source != null ? source : {};
13896
- if (Object.getOwnPropertyDescriptors) {
13897
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13898
- } else {
13746
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13747
+ else {
13899
13748
  ownKeys$g(Object(source)).forEach(function(key) {
13900
13749
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
13901
13750
  });
@@ -14170,11 +14019,8 @@ function asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, key, arg) {
14170
14019
  reject(error);
14171
14020
  return;
14172
14021
  }
14173
- if (info.done) {
14174
- resolve(value);
14175
- } else {
14176
- Promise.resolve(value).then(_next, _throw);
14177
- }
14022
+ if (info.done) resolve(value);
14023
+ else Promise.resolve(value).then(_next, _throw);
14178
14024
  }
14179
14025
  function _async_to_generator$a(fn) {
14180
14026
  return function() {
@@ -14199,9 +14045,7 @@ function _define_property$j(obj, key, value) {
14199
14045
  configurable: true,
14200
14046
  writable: true
14201
14047
  });
14202
- } else {
14203
- obj[key] = value;
14204
- }
14048
+ } else obj[key] = value;
14205
14049
  return obj;
14206
14050
  }
14207
14051
  function _object_spread$j(target) {
@@ -14229,9 +14073,8 @@ function ownKeys$f(object, enumerableOnly) {
14229
14073
  }
14230
14074
  function _object_spread_props$f(target, source) {
14231
14075
  source = source != null ? source : {};
14232
- if (Object.getOwnPropertyDescriptors) {
14233
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14234
- } else {
14076
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14077
+ else {
14235
14078
  ownKeys$f(Object(source)).forEach(function(key) {
14236
14079
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14237
14080
  });
@@ -14425,9 +14268,7 @@ function _ts_generator$a(thisArg, body) {
14425
14268
  }
14426
14269
 
14427
14270
  function _assert_this_initialized$7(self) {
14428
- if (self === void 0) {
14429
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14430
- }
14271
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14431
14272
  return self;
14432
14273
  }
14433
14274
  function _call_super$7(_this, derived, args) {
@@ -14435,9 +14276,7 @@ function _call_super$7(_this, derived, args) {
14435
14276
  return _possible_constructor_return$7(_this, _is_native_reflect_construct$7() ? Reflect.construct(derived, args || [], _get_prototype_of$7(_this).constructor) : derived.apply(_this, args));
14436
14277
  }
14437
14278
  function _class_call_check$g(instance, Constructor) {
14438
- if (!(instance instanceof Constructor)) {
14439
- throw new TypeError("Cannot call a class as a function");
14440
- }
14279
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
14441
14280
  }
14442
14281
  function _get_prototype_of$7(o) {
14443
14282
  _get_prototype_of$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
@@ -14458,10 +14297,16 @@ function _inherits$7(subClass, superClass) {
14458
14297
  });
14459
14298
  if (superClass) _set_prototype_of$7(subClass, superClass);
14460
14299
  }
14300
+ function _is_native_reflect_construct$7() {
14301
+ try {
14302
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
14303
+ } catch (_) {}
14304
+ return (_is_native_reflect_construct$7 = function() {
14305
+ return !!result;
14306
+ })();
14307
+ }
14461
14308
  function _possible_constructor_return$7(self, call) {
14462
- if (call && (_type_of$7(call) === "object" || typeof call === "function")) {
14463
- return call;
14464
- }
14309
+ if (call && (_type_of$7(call) === "object" || typeof call === "function")) return call;
14465
14310
  return _assert_this_initialized$7(self);
14466
14311
  }
14467
14312
  function _set_prototype_of$7(o, p) {
@@ -14475,14 +14320,6 @@ function _type_of$7(obj) {
14475
14320
  "@swc/helpers - typeof";
14476
14321
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
14477
14322
  }
14478
- function _is_native_reflect_construct$7() {
14479
- try {
14480
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
14481
- } catch (_) {}
14482
- return (_is_native_reflect_construct$7 = function() {
14483
- return !!result;
14484
- })();
14485
- }
14486
14323
  // MARK: Upload Options
14487
14324
  /**
14488
14325
  * Extracts and asserts that a `stringFormat` is present in the upload options.
@@ -14531,11 +14368,8 @@ function asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, key, arg) {
14531
14368
  reject(error);
14532
14369
  return;
14533
14370
  }
14534
- if (info.done) {
14535
- resolve(value);
14536
- } else {
14537
- Promise.resolve(value).then(_next, _throw);
14538
- }
14371
+ if (info.done) resolve(value);
14372
+ else Promise.resolve(value).then(_next, _throw);
14539
14373
  }
14540
14374
  function _async_to_generator$9(fn) {
14541
14375
  return function() {
@@ -14709,19 +14543,19 @@ function _ts_generator$9(thisArg, body) {
14709
14543
  * @__NO_SIDE_EFFECTS__
14710
14544
  */ function storageListFilesResultFactory(delegate) {
14711
14545
  return function(input, result) {
14712
- var fileResult = function fileResult(item) {
14546
+ var storage = input.storage, folder = input.folder, options = input.options;
14547
+ function fileResult(item) {
14713
14548
  item.file = function() {
14714
14549
  return delegate.file(storage, item);
14715
14550
  };
14716
14551
  return item;
14717
- };
14718
- var folderResult = function folderResult(item) {
14552
+ }
14553
+ function folderResult(item) {
14719
14554
  item.folder = function() {
14720
14555
  return delegate.folder(storage, item);
14721
14556
  };
14722
14557
  return item;
14723
- };
14724
- var storage = input.storage, folder = input.folder, options = input.options;
14558
+ }
14725
14559
  var hasNext = delegate.hasNext(result);
14726
14560
  var next = cachedGetter(function() {
14727
14561
  if (!hasNext) {
@@ -14864,11 +14698,8 @@ function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
14864
14698
  reject(error);
14865
14699
  return;
14866
14700
  }
14867
- if (info.done) {
14868
- resolve(value);
14869
- } else {
14870
- Promise.resolve(value).then(_next, _throw);
14871
- }
14701
+ if (info.done) resolve(value);
14702
+ else Promise.resolve(value).then(_next, _throw);
14872
14703
  }
14873
14704
  function _async_to_generator$8(fn) {
14874
14705
  return function() {
@@ -14893,16 +14724,16 @@ function _define_property$i(obj, key, value) {
14893
14724
  configurable: true,
14894
14725
  writable: true
14895
14726
  });
14896
- } else {
14897
- obj[key] = value;
14898
- }
14727
+ } else obj[key] = value;
14899
14728
  return obj;
14900
14729
  }
14901
14730
  function _iterable_to_array$8(iter) {
14902
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
14731
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
14732
+ return Array.from(iter);
14733
+ }
14903
14734
  }
14904
14735
  function _non_iterable_spread$8() {
14905
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14736
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14906
14737
  }
14907
14738
  function _object_spread$i(target) {
14908
14739
  for(var i = 1; i < arguments.length; i++){
@@ -14929,9 +14760,8 @@ function ownKeys$e(object, enumerableOnly) {
14929
14760
  }
14930
14761
  function _object_spread_props$e(target, source) {
14931
14762
  source = source != null ? source : {};
14932
- if (Object.getOwnPropertyDescriptors) {
14933
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14934
- } else {
14763
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14764
+ else {
14935
14765
  ownKeys$e(Object(source)).forEach(function(key) {
14936
14766
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14937
14767
  });
@@ -14941,14 +14771,6 @@ function _object_spread_props$e(target, source) {
14941
14771
  function _to_consumable_array$8(arr) {
14942
14772
  return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$8();
14943
14773
  }
14944
- function _unsupported_iterable_to_array$b(o, minLen) {
14945
- if (!o) return;
14946
- if (typeof o === "string") return _array_like_to_array$b(o, minLen);
14947
- var n = Object.prototype.toString.call(o).slice(8, -1);
14948
- if (n === "Object" && o.constructor) n = o.constructor.name;
14949
- if (n === "Map" || n === "Set") return Array.from(n);
14950
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
14951
- }
14952
14774
  function _ts_generator$8(thisArg, body) {
14953
14775
  var f, y, t, _ = {
14954
14776
  label: 0,
@@ -15048,6 +14870,14 @@ function _ts_generator$8(thisArg, body) {
15048
14870
  };
15049
14871
  }
15050
14872
  }
14873
+ function _unsupported_iterable_to_array$b(o, minLen) {
14874
+ if (!o) return;
14875
+ if (typeof o === "string") return _array_like_to_array$b(o, minLen);
14876
+ var n = Object.prototype.toString.call(o).slice(8, -1);
14877
+ if (n === "Object" && o.constructor) n = o.constructor.name;
14878
+ if (n === "Map" || n === "Set") return Array.from(n);
14879
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
14880
+ }
15051
14881
  /**
15052
14882
  * Checks whether an error is a Firebase Storage "object not found" error.
15053
14883
  *
@@ -15169,7 +14999,9 @@ function _ts_generator$8(thisArg, body) {
15169
14999
  return getBlob(ref, maxDownloadSizeBytes);
15170
15000
  },
15171
15001
  uploadResumable: function uploadResumable(input, options) {
15172
- var wrapSnapshot = function wrapSnapshot(currentSnapshot) {
15002
+ var metadataOption = uploadMetadataFromStorageUploadOptions(options);
15003
+ var uploadBytesTask = uploadBytesResumable(ref, input, metadataOption);
15004
+ function wrapSnapshot(currentSnapshot) {
15173
15005
  var snapshot = {
15174
15006
  bytesTransferred: currentSnapshot.bytesTransferred,
15175
15007
  totalBytes: currentSnapshot.totalBytes,
@@ -15178,9 +15010,7 @@ function _ts_generator$8(thisArg, body) {
15178
15010
  uploadTask: uploadTask
15179
15011
  };
15180
15012
  return snapshot;
15181
- };
15182
- var metadataOption = uploadMetadataFromStorageUploadOptions(options);
15183
- var uploadBytesTask = uploadBytesResumable(ref, input, metadataOption);
15013
+ }
15184
15014
  var uploadTask = {
15185
15015
  taskRef: uploadBytesTask,
15186
15016
  cancel: function cancel() {
@@ -15460,9 +15290,7 @@ function _ts_generator$8(thisArg, body) {
15460
15290
  */ var CALENDAR_ICS_ROTATE_THROTTLED_ERROR_CODE = 'CALENDAR_ICS_ROTATE_THROTTLED';
15461
15291
 
15462
15292
  function _class_call_check$f(instance, Constructor) {
15463
- if (!(instance instanceof Constructor)) {
15464
- throw new TypeError("Cannot call a class as a function");
15465
- }
15293
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15466
15294
  }
15467
15295
  var syncCalendarParamsType = targetModelParamsType;
15468
15296
  var rotateCalendarIcsParamsType = targetModelParamsType;
@@ -15530,9 +15358,7 @@ var calendarModelCrudFunctionsConfig = {
15530
15358
  */ var inferCalendarRelatedModelKey = inferKeyFromTwoWayFlatFirestoreModelKey;
15531
15359
 
15532
15360
  function _assert_this_initialized$6(self) {
15533
- if (self === void 0) {
15534
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15535
- }
15361
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15536
15362
  return self;
15537
15363
  }
15538
15364
  function _call_super$6(_this, derived, args) {
@@ -15540,9 +15366,7 @@ function _call_super$6(_this, derived, args) {
15540
15366
  return _possible_constructor_return$6(_this, _is_native_reflect_construct$6() ? Reflect.construct(derived, args || [], _get_prototype_of$6(_this).constructor) : derived.apply(_this, args));
15541
15367
  }
15542
15368
  function _class_call_check$e(instance, Constructor) {
15543
- if (!(instance instanceof Constructor)) {
15544
- throw new TypeError("Cannot call a class as a function");
15545
- }
15369
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15546
15370
  }
15547
15371
  function _defineProperties$6(target, props) {
15548
15372
  for(var i = 0; i < props.length; i++){
@@ -15565,9 +15389,7 @@ function _define_property$h(obj, key, value) {
15565
15389
  configurable: true,
15566
15390
  writable: true
15567
15391
  });
15568
- } else {
15569
- obj[key] = value;
15570
- }
15392
+ } else obj[key] = value;
15571
15393
  return obj;
15572
15394
  }
15573
15395
  function _get_prototype_of$6(o) {
@@ -15589,6 +15411,14 @@ function _inherits$6(subClass, superClass) {
15589
15411
  });
15590
15412
  if (superClass) _set_prototype_of$6(subClass, superClass);
15591
15413
  }
15414
+ function _is_native_reflect_construct$6() {
15415
+ try {
15416
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
15417
+ } catch (_) {}
15418
+ return (_is_native_reflect_construct$6 = function() {
15419
+ return !!result;
15420
+ })();
15421
+ }
15592
15422
  function _object_spread$h(target) {
15593
15423
  for(var i = 1; i < arguments.length; i++){
15594
15424
  var source = arguments[i] != null ? arguments[i] : {};
@@ -15614,9 +15444,8 @@ function ownKeys$d(object, enumerableOnly) {
15614
15444
  }
15615
15445
  function _object_spread_props$d(target, source) {
15616
15446
  source = source != null ? source : {};
15617
- if (Object.getOwnPropertyDescriptors) {
15618
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15619
- } else {
15447
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15448
+ else {
15620
15449
  ownKeys$d(Object(source)).forEach(function(key) {
15621
15450
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
15622
15451
  });
@@ -15624,9 +15453,7 @@ function _object_spread_props$d(target, source) {
15624
15453
  return target;
15625
15454
  }
15626
15455
  function _possible_constructor_return$6(self, call) {
15627
- if (call && (_type_of$6(call) === "object" || typeof call === "function")) {
15628
- return call;
15629
- }
15456
+ if (call && (_type_of$6(call) === "object" || typeof call === "function")) return call;
15630
15457
  return _assert_this_initialized$6(self);
15631
15458
  }
15632
15459
  function _set_prototype_of$6(o, p) {
@@ -15640,14 +15467,6 @@ function _type_of$6(obj) {
15640
15467
  "@swc/helpers - typeof";
15641
15468
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
15642
15469
  }
15643
- function _is_native_reflect_construct$6() {
15644
- try {
15645
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
15646
- } catch (_) {}
15647
- return (_is_native_reflect_construct$6 = function() {
15648
- return !!result;
15649
- })();
15650
- }
15651
15470
  /**
15652
15471
  * @module calendar
15653
15472
  *
@@ -15883,15 +15702,15 @@ function _array_without_holes$7(arr) {
15883
15702
  if (Array.isArray(arr)) return _array_like_to_array$a(arr);
15884
15703
  }
15885
15704
  function _class_call_check$d(instance, Constructor) {
15886
- if (!(instance instanceof Constructor)) {
15887
- throw new TypeError("Cannot call a class as a function");
15888
- }
15705
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15889
15706
  }
15890
15707
  function _iterable_to_array$7(iter) {
15891
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
15708
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
15709
+ return Array.from(iter);
15710
+ }
15892
15711
  }
15893
15712
  function _non_iterable_spread$7() {
15894
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15713
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15895
15714
  }
15896
15715
  function _to_consumable_array$7(arr) {
15897
15716
  return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$7();
@@ -16015,16 +15834,16 @@ function _define_property$g(obj, key, value) {
16015
15834
  configurable: true,
16016
15835
  writable: true
16017
15836
  });
16018
- } else {
16019
- obj[key] = value;
16020
- }
15837
+ } else obj[key] = value;
16021
15838
  return obj;
16022
15839
  }
16023
15840
  function _iterable_to_array$6(iter) {
16024
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
15841
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
15842
+ return Array.from(iter);
15843
+ }
16025
15844
  }
16026
15845
  function _non_iterable_spread$6() {
16027
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15846
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16028
15847
  }
16029
15848
  function _object_spread$g(target) {
16030
15849
  for(var i = 1; i < arguments.length; i++){
@@ -16051,9 +15870,8 @@ function ownKeys$c(object, enumerableOnly) {
16051
15870
  }
16052
15871
  function _object_spread_props$c(target, source) {
16053
15872
  source = source != null ? source : {};
16054
- if (Object.getOwnPropertyDescriptors) {
16055
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
16056
- } else {
15873
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
15874
+ else {
16057
15875
  ownKeys$c(Object(source)).forEach(function(key) {
16058
15876
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
16059
15877
  });
@@ -16754,16 +16572,16 @@ function _define_property$f(obj, key, value) {
16754
16572
  configurable: true,
16755
16573
  writable: true
16756
16574
  });
16757
- } else {
16758
- obj[key] = value;
16759
- }
16575
+ } else obj[key] = value;
16760
16576
  return obj;
16761
16577
  }
16762
16578
  function _iterable_to_array$5(iter) {
16763
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
16579
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
16580
+ return Array.from(iter);
16581
+ }
16764
16582
  }
16765
16583
  function _non_iterable_spread$5() {
16766
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16584
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16767
16585
  }
16768
16586
  function _object_spread$f(target) {
16769
16587
  for(var i = 1; i < arguments.length; i++){
@@ -16790,9 +16608,8 @@ function ownKeys$b(object, enumerableOnly) {
16790
16608
  }
16791
16609
  function _object_spread_props$b(target, source) {
16792
16610
  source = source != null ? source : {};
16793
- if (Object.getOwnPropertyDescriptors) {
16794
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
16795
- } else {
16611
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
16612
+ else {
16796
16613
  ownKeys$b(Object(source)).forEach(function(key) {
16797
16614
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
16798
16615
  });
@@ -17329,9 +17146,7 @@ function _define_property$e(obj, key, value) {
17329
17146
  configurable: true,
17330
17147
  writable: true
17331
17148
  });
17332
- } else {
17333
- obj[key] = value;
17334
- }
17149
+ } else obj[key] = value;
17335
17150
  return obj;
17336
17151
  }
17337
17152
  function _object_spread$e(target) {
@@ -17359,9 +17174,8 @@ function ownKeys$a(object, enumerableOnly) {
17359
17174
  }
17360
17175
  function _object_spread_props$a(target, source) {
17361
17176
  source = source != null ? source : {};
17362
- if (Object.getOwnPropertyDescriptors) {
17363
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
17364
- } else {
17177
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
17178
+ else {
17365
17179
  ownKeys$a(Object(source)).forEach(function(key) {
17366
17180
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
17367
17181
  });
@@ -17438,9 +17252,7 @@ function _object_spread_props$a(target, source) {
17438
17252
  }
17439
17253
 
17440
17254
  function _assert_this_initialized$5(self) {
17441
- if (self === void 0) {
17442
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
17443
- }
17255
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
17444
17256
  return self;
17445
17257
  }
17446
17258
  function _call_super$5(_this, derived, args) {
@@ -17448,9 +17260,7 @@ function _call_super$5(_this, derived, args) {
17448
17260
  return _possible_constructor_return$5(_this, _is_native_reflect_construct$5() ? Reflect.construct(derived, args || [], _get_prototype_of$5(_this).constructor) : derived.apply(_this, args));
17449
17261
  }
17450
17262
  function _class_call_check$c(instance, Constructor) {
17451
- if (!(instance instanceof Constructor)) {
17452
- throw new TypeError("Cannot call a class as a function");
17453
- }
17263
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
17454
17264
  }
17455
17265
  function _defineProperties$5(target, props) {
17456
17266
  for(var i = 0; i < props.length; i++){
@@ -17484,10 +17294,16 @@ function _inherits$5(subClass, superClass) {
17484
17294
  });
17485
17295
  if (superClass) _set_prototype_of$5(subClass, superClass);
17486
17296
  }
17297
+ function _is_native_reflect_construct$5() {
17298
+ try {
17299
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
17300
+ } catch (_) {}
17301
+ return (_is_native_reflect_construct$5 = function() {
17302
+ return !!result;
17303
+ })();
17304
+ }
17487
17305
  function _possible_constructor_return$5(self, call) {
17488
- if (call && (_type_of$5(call) === "object" || typeof call === "function")) {
17489
- return call;
17490
- }
17306
+ if (call && (_type_of$5(call) === "object" || typeof call === "function")) return call;
17491
17307
  return _assert_this_initialized$5(self);
17492
17308
  }
17493
17309
  function _set_prototype_of$5(o, p) {
@@ -17501,14 +17317,6 @@ function _type_of$5(obj) {
17501
17317
  "@swc/helpers - typeof";
17502
17318
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
17503
17319
  }
17504
- function _is_native_reflect_construct$5() {
17505
- try {
17506
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
17507
- } catch (_) {}
17508
- return (_is_native_reflect_construct$5 = function() {
17509
- return !!result;
17510
- })();
17511
- }
17512
17320
  /**
17513
17321
  * @module formspace
17514
17322
  *
@@ -17535,9 +17343,11 @@ function _is_native_reflect_construct$5() {
17535
17343
  /**
17536
17344
  * Lifecycle state of a {@link FormSpace}.
17537
17345
  *
17538
- * Only DRAFT is editable. The other three are terminal for the owner: SUBMITTED is awaiting or undergoing
17539
- * processing, EXPIRED was retired by the sweep before it was ever submitted, and ARCHIVED is a space kept
17540
- * for the record after its processing concluded.
17346
+ * Only DRAFT is editable. SUBMITTED is awaiting or undergoing processing, and is the one state a space can
17347
+ * come BACK from: a type declaring a reopen policy lets a caller holding the `reopen` role return the space
17348
+ * to DRAFT until it is fully locked. EXPIRED (retired by the sweep before it was ever submitted) and
17349
+ * ARCHIVED (kept for the record after processing concluded) stay terminal — {@link isFormSpaceReopenable}
17350
+ * requires SUBMITTED, so neither is reachable by a reopen.
17541
17351
  */ var FormSpaceState;
17542
17352
  (function(FormSpaceState) {
17543
17353
  FormSpaceState[FormSpaceState["DRAFT"] = 0] = "DRAFT";
@@ -17654,8 +17464,16 @@ function _is_native_reflect_construct$5() {
17654
17464
  saveDefaultAsNow: true
17655
17465
  }),
17656
17466
  sat: optionalFirestoreDate(),
17467
+ fsat: optionalFirestoreDate(),
17657
17468
  cpat: optionalFirestoreDate(),
17658
- eat: optionalFirestoreDate()
17469
+ eat: optionalFirestoreDate(),
17470
+ lat: optionalFirestoreDate(),
17471
+ lby: optionalFirestoreUID(),
17472
+ rc: firestoreNumber({
17473
+ default: 0
17474
+ }),
17475
+ rat: optionalFirestoreDate(),
17476
+ rby: optionalFirestoreUID()
17659
17477
  }
17660
17478
  });
17661
17479
  /**
@@ -17708,15 +17526,15 @@ function _array_without_holes$4(arr) {
17708
17526
  if (Array.isArray(arr)) return _array_like_to_array$7(arr);
17709
17527
  }
17710
17528
  function _class_call_check$b(instance, Constructor) {
17711
- if (!(instance instanceof Constructor)) {
17712
- throw new TypeError("Cannot call a class as a function");
17713
- }
17529
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
17714
17530
  }
17715
17531
  function _iterable_to_array$4(iter) {
17716
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
17532
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
17533
+ return Array.from(iter);
17534
+ }
17717
17535
  }
17718
17536
  function _non_iterable_spread$4() {
17719
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17537
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17720
17538
  }
17721
17539
  function _to_consumable_array$4(arr) {
17722
17540
  return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$4();
@@ -18181,6 +17999,7 @@ function _unsupported_iterable_to_array$7(o, minLen) {
18181
17999
  m: input.targetModelKey,
18182
18000
  uc: 0,
18183
18001
  fi: 0,
18002
+ rc: 0,
18184
18003
  f: [],
18185
18004
  cat: now,
18186
18005
  uat: now,
@@ -18193,19 +18012,51 @@ function _unsupported_iterable_to_array$7(o, minLen) {
18193
18012
  * Clearing `eat` is not tidiness: a submitted space that kept its expiration instant would still match the
18194
18013
  * expiration sweep and be retired out from under the processing task.
18195
18014
  *
18196
- * @param now - The submission instant. Defaults to now.
18015
+ * `fsat` and the lock deadline `lat` are written ONLY on the first submission and are left untouched by a
18016
+ * resubmission. That asymmetry is the whole first-submit anchor: recomputing `lat` here would let a
18017
+ * reopen/resubmit round walk the deadline forward indefinitely, which is precisely what
18018
+ * {@link FormSpaceTypeConfig.reopenableUntil} exists to prevent.
18019
+ *
18020
+ * @param input - The space, its type config, and the submission instant.
18197
18021
  * @returns The update template.
18198
18022
  *
18199
18023
  * @__NO_SIDE_EFFECTS__
18200
- */ function submitFormSpaceTemplate(now) {
18201
- var submittedAt = now !== null && now !== void 0 ? now : new Date();
18202
- return {
18024
+ */ function submitFormSpaceTemplate(input) {
18025
+ var _input_now;
18026
+ var formSpace = input.formSpace, config = input.config;
18027
+ var submittedAt = (_input_now = input.now) !== null && _input_now !== void 0 ? _input_now : new Date();
18028
+ var template = {
18203
18029
  s: FormSpaceState.SUBMITTED,
18204
18030
  ps: FormSpaceProcessingState.QUEUED_FOR_PROCESSING,
18205
18031
  sat: submittedAt,
18206
18032
  uat: submittedAt,
18207
18033
  eat: null
18208
18034
  };
18035
+ if (formSpace.fsat == null) {
18036
+ template.fsat = submittedAt;
18037
+ template.lat = resolveFormSpaceLocksAt({
18038
+ config: config,
18039
+ firstSubmittedAt: submittedAt
18040
+ });
18041
+ }
18042
+ return template;
18043
+ }
18044
+ /**
18045
+ * Returns the instant a submitted FormSpace of the given type becomes permanently locked, or null when its
18046
+ * type declares no ceiling.
18047
+ *
18048
+ * The mirror of {@link resolveFormSpaceExpiresAt}, and null is meaningful in the same way: it is what
18049
+ * leaves `lat` unwritten, and an unwritten `lat` is what leaves the type's `reopenableFor` rolling from
18050
+ * each submission rather than capped.
18051
+ *
18052
+ * @param input - The type config and the first-submission instant.
18053
+ * @returns The lock instant, or null when the type declares no ceiling.
18054
+ *
18055
+ * @__NO_SIDE_EFFECTS__
18056
+ */ function resolveFormSpaceLocksAt(input) {
18057
+ var config = input.config, firstSubmittedAt = input.firstSubmittedAt;
18058
+ var reopenableUntil = config.reopenableUntil;
18059
+ return reopenableUntil == null ? null : new Date(firstSubmittedAt.getTime() + reopenableUntil);
18209
18060
  }
18210
18061
  /**
18211
18062
  * Builds the update template that expires a FormSpace.
@@ -18238,6 +18089,123 @@ function _unsupported_iterable_to_array$7(o, minLen) {
18238
18089
  var at = now !== null && now !== void 0 ? now : new Date();
18239
18090
  return formSpace.s === FormSpaceState.DRAFT && formSpace.sat == null && (formSpace.eat == null || formSpace.eat.getTime() > at.getTime());
18240
18091
  }
18092
+ /**
18093
+ * Returns true when a submitted FormSpace may still be reopened into an editable draft.
18094
+ *
18095
+ * POLICY ONLY. It answers "does the type still allow this", not "is right now a safe moment" — a space
18096
+ * whose processor is mid-run is reopenable by this predicate and refused by the action, because
18097
+ * `ps === PROCESSING` is transient and telling a user their space is permanently locked while a task
18098
+ * finishes would be a lie. The action owns that check; this owns the window.
18099
+ *
18100
+ * Requires SUBMITTED, which is what keeps EXPIRED and ARCHIVED terminal for free.
18101
+ *
18102
+ * @param input - The space, its type config, and the instant to judge against.
18103
+ * @returns True when the space may be reopened.
18104
+ *
18105
+ * @example
18106
+ * ```ts
18107
+ * const canReopen = isFormSpaceReopenable({ formSpace, config });
18108
+ * ```
18109
+ *
18110
+ * @__NO_SIDE_EFFECTS__
18111
+ */ function isFormSpaceReopenable(input) {
18112
+ var formSpace = input.formSpace, config = input.config, now = input.now;
18113
+ var reopenableFor = config.reopenableFor, maxReopens = config.maxReopens;
18114
+ var at = (now !== null && now !== void 0 ? now : new Date()).getTime();
18115
+ var submittedAt = formSpace.sat;
18116
+ return formSpace.s === FormSpaceState.SUBMITTED && //
18117
+ submittedAt != null && reopenableFor != null && submittedAt.getTime() + reopenableFor > at && (formSpace.lat == null || formSpace.lat.getTime() > at) && (maxReopens == null || formSpace.rc < maxReopens);
18118
+ }
18119
+ /**
18120
+ * Returns true when nothing further can be done to a FormSpace: it is neither editable nor reopenable.
18121
+ *
18122
+ * Derived from the other two predicates rather than testing the fields itself, so the three answers can
18123
+ * never disagree about one space. There is deliberately no FULLY_LOCKED {@link FormSpaceState} — a new
18124
+ * enum member would fork every `s === SUBMITTED` check in the framework and downstream, to express
18125
+ * something both existing predicates already know.
18126
+ *
18127
+ * @param input - The space, its type config, and the instant to judge against.
18128
+ * @returns True when the space is fully locked.
18129
+ *
18130
+ * @__NO_SIDE_EFFECTS__
18131
+ */ function isFormSpaceFullyLocked(input) {
18132
+ var formSpace = input.formSpace, config = input.config, now = input.now;
18133
+ return !isFormSpaceEditable({
18134
+ formSpace: formSpace,
18135
+ now: now
18136
+ }) && !isFormSpaceReopenable({
18137
+ formSpace: formSpace,
18138
+ config: config,
18139
+ now: now
18140
+ });
18141
+ }
18142
+ /**
18143
+ * Builds the update template that reopens a submitted FormSpace into an editable draft.
18144
+ *
18145
+ * It has to undo all THREE of {@link isFormSpaceEditable}'s conditions rather than just the state: a
18146
+ * template that moved `s` back to DRAFT while leaving `sat` set, or leaving `eat` at the null submit wrote,
18147
+ * produces a "draft" that either nothing can edit or nothing can ever retire.
18148
+ *
18149
+ * `eat` is re-armed to the EARLIER of a fresh `expiresIn` window and the space's own lock deadline, so the
18150
+ * reopened draft can never outlive the window it was reopened inside. When the type declares neither, `eat`
18151
+ * stays absent and the draft does not expire — the same bargain a type with no `expiresIn` already makes
18152
+ * for a freshly created space.
18153
+ *
18154
+ * `uc` and `fi` are deliberately NOT rewound. `uc` bounds uploads ACCEPTED over the space's lifetime, so
18155
+ * refunding it here would turn `maxUploads` into a bound on files retained that a reopen loop could evade;
18156
+ * `fi` must never hand out an index twice. A type that expects replacement uploads has to budget
18157
+ * `maxUploads` for them. `fsat` is likewise preserved — it is the record a reopen exists to not destroy.
18158
+ *
18159
+ * @param input - The space, its type config, the acting user, and the reopen instant.
18160
+ * @returns The update template.
18161
+ *
18162
+ * @__NO_SIDE_EFFECTS__
18163
+ */ function reopenFormSpaceTemplate(input) {
18164
+ var _input_now, _earliestDate;
18165
+ var formSpace = input.formSpace, config = input.config, uid = input.uid;
18166
+ var reopenedAt = (_input_now = input.now) !== null && _input_now !== void 0 ? _input_now : new Date();
18167
+ return {
18168
+ s: FormSpaceState.DRAFT,
18169
+ ps: FormSpaceProcessingState.INIT_OR_NONE,
18170
+ sat: null,
18171
+ cpat: null,
18172
+ pn: null,
18173
+ uat: reopenedAt,
18174
+ rat: reopenedAt,
18175
+ rby: uid,
18176
+ rc: formSpace.rc + 1,
18177
+ eat: (_earliestDate = earliestDate([
18178
+ resolveFormSpaceExpiresAt({
18179
+ config: config,
18180
+ now: reopenedAt
18181
+ }),
18182
+ formSpace.lat
18183
+ ])) !== null && _earliestDate !== void 0 ? _earliestDate : null
18184
+ };
18185
+ }
18186
+ /**
18187
+ * Builds the update template that locks a submitted FormSpace's submission immediately.
18188
+ *
18189
+ * Only `lat` moves. The lock is not a state transition — the space stays SUBMITTED and its processing is
18190
+ * untouched — it is the end of the reopen window, brought forward from whatever the type's
18191
+ * `reopenableUntil` would have made it. Writing `lat` in the past is what makes every reopen predicate
18192
+ * answer false from this instant on, including for a type whose window was purely rolling and so never
18193
+ * had a `lat` at all.
18194
+ *
18195
+ * @param input - The acting user and the lock instant.
18196
+ * @returns The update template.
18197
+ *
18198
+ * @__NO_SIDE_EFFECTS__
18199
+ */ function lockFormSpaceTemplate(input) {
18200
+ var _input_now;
18201
+ var uid = input.uid;
18202
+ var lockedAt = (_input_now = input.now) !== null && _input_now !== void 0 ? _input_now : new Date();
18203
+ return {
18204
+ lat: lockedAt,
18205
+ lby: uid,
18206
+ uat: lockedAt
18207
+ };
18208
+ }
18241
18209
  /**
18242
18210
  * Returns the slot config a type declares for the given slot, or null when it declares none.
18243
18211
  *
@@ -18476,11 +18444,8 @@ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
18476
18444
  reject(error);
18477
18445
  return;
18478
18446
  }
18479
- if (info.done) {
18480
- resolve(value);
18481
- } else {
18482
- Promise.resolve(value).then(_next, _throw);
18483
- }
18447
+ if (info.done) resolve(value);
18448
+ else Promise.resolve(value).then(_next, _throw);
18484
18449
  }
18485
18450
  function _async_to_generator$7(fn) {
18486
18451
  return function() {
@@ -18609,6 +18574,13 @@ function _ts_generator$7(thisArg, body) {
18609
18574
  *
18610
18575
  * The distinction only has teeth on a SHARED space. On a single-user form every file was uploaded by the
18611
18576
  * one person who can reach the space, so `'space'` and `'uploader'` agree on every question.
18577
+ *
18578
+ * Nothing here reads the space's STATE — not `s`, not `sat`, not `eat`, not `ps`. That is deliberate and
18579
+ * worth keeping true: submitting, expiring, reopening or locking a space must not silently change who can
18580
+ * read the files already in it, or a downstream app reading a submitted space's attachments would start
18581
+ * failing the moment somebody reopened it. Whether a file may be REMOVED is a different question, gated
18582
+ * before any of this by {@link isFormSpaceEditable} — so a reopen re-enables removal without touching
18583
+ * reads, which is exactly the intended asymmetry.
18612
18584
  */ /**
18613
18585
  * The character `twoWayFlatFirestoreModelKey` swaps a key's separators for.
18614
18586
  *
@@ -18807,6 +18779,28 @@ function _ts_generator$7(thisArg, body) {
18807
18779
  /**
18808
18780
  * Thrown when a FormSpace is edited, uploaded into, or submitted after it stopped being a draft.
18809
18781
  */ var FORM_SPACE_NOT_EDITABLE_ERROR_CODE = 'FORM_SPACE_NOT_EDITABLE';
18782
+ /**
18783
+ * Thrown when a FormSpace's submission is locked before the space was ever submitted.
18784
+ *
18785
+ * A lock ends a reopen window early, so there has to be a submission for it to be about. A space that was
18786
+ * submitted and then reopened DOES qualify — locking a reopened draft is how a reviewer says "this next
18787
+ * submission is the last one".
18788
+ */ var FORM_SPACE_NOT_SUBMITTED_ERROR_CODE = 'FORM_SPACE_NOT_SUBMITTED';
18789
+ /**
18790
+ * Thrown when a submitted FormSpace is reopened after it stopped being reopenable.
18791
+ *
18792
+ * TERMINAL, unlike {@link FORM_SPACE_PROCESSING_IN_PROGRESS_ERROR_CODE}: the type never allowed reopening,
18793
+ * the reopen window has closed, `lat` has passed, or `maxReopens` is spent. Retrying cannot help, so the
18794
+ * caller should be told the submission is final rather than asked to wait.
18795
+ */ var FORM_SPACE_NOT_REOPENABLE_ERROR_CODE = 'FORM_SPACE_NOT_REOPENABLE';
18796
+ /**
18797
+ * Thrown when a FormSpace is reopened while its submission is actively being processed.
18798
+ *
18799
+ * Transient by nature — the same reopen succeeds once the processor concludes — which is why it is not
18800
+ * folded into {@link FORM_SPACE_NOT_REOPENABLE_ERROR_CODE}. Reopening under a running processor would race
18801
+ * it: the task's cleanup writes `ps`/`cpat`/`pn` and would land them on a space already handed back as a
18802
+ * draft.
18803
+ */ var FORM_SPACE_PROCESSING_IN_PROGRESS_ERROR_CODE = 'FORM_SPACE_PROCESSING_IN_PROGRESS';
18810
18804
  /**
18811
18805
  * Thrown when a FormSpace is submitted while one of its type's required slots is still empty.
18812
18806
  */ var FORM_SPACE_REQUIRED_SLOT_MISSING_ERROR_CODE = 'FORM_SPACE_REQUIRED_SLOT_MISSING';
@@ -18853,9 +18847,7 @@ function _ts_generator$7(thisArg, body) {
18853
18847
  */ var FORM_SPACE_TYPE_MISMATCH_ERROR_CODE = 'FORM_SPACE_TYPE_MISMATCH';
18854
18848
 
18855
18849
  function _class_call_check$a(instance, Constructor) {
18856
- if (!(instance instanceof Constructor)) {
18857
- throw new TypeError("Cannot call a class as a function");
18858
- }
18850
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
18859
18851
  }
18860
18852
  var createFormSpaceParamsType = /* @__PURE__ */ type({
18861
18853
  formSpaceType: 'string > 0',
@@ -18870,6 +18862,8 @@ var updateFormSpaceParamsType = targetModelParamsType.merge({
18870
18862
  var submitFormSpaceParamsType = targetModelParamsType.merge({
18871
18863
  'runImmediately?': clearable('boolean')
18872
18864
  });
18865
+ var reopenFormSpaceParamsType = targetModelParamsType;
18866
+ var lockFormSpaceParamsType = targetModelParamsType;
18873
18867
  var removeFormSpaceFileParamsType = targetModelParamsType.merge({
18874
18868
  slot: 'string > 0',
18875
18869
  'storageFileId?': clearable('string > 0')
@@ -18888,7 +18882,7 @@ var FORM_SPACE_FUNCTION_TYPE_CONFIG_MAP = {};
18888
18882
  var FORM_SPACE_MODEL_CRUD_FUNCTIONS_CONFIG = {
18889
18883
  formSpace: [
18890
18884
  'create:_',
18891
- 'update:_,submit,removeFile',
18885
+ 'update:_,submit,reopen,lock,removeFile',
18892
18886
  'delete:_'
18893
18887
  ]
18894
18888
  };
@@ -18941,11 +18935,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
18941
18935
  reject(error);
18942
18936
  return;
18943
18937
  }
18944
- if (info.done) {
18945
- resolve(value);
18946
- } else {
18947
- Promise.resolve(value).then(_next, _throw);
18948
- }
18938
+ if (info.done) resolve(value);
18939
+ else Promise.resolve(value).then(_next, _throw);
18949
18940
  }
18950
18941
  function _async_to_generator$6(fn) {
18951
18942
  return function() {
@@ -18970,9 +18961,7 @@ function _define_property$d(obj, key, value) {
18970
18961
  configurable: true,
18971
18962
  writable: true
18972
18963
  });
18973
- } else {
18974
- obj[key] = value;
18975
- }
18964
+ } else obj[key] = value;
18976
18965
  return obj;
18977
18966
  }
18978
18967
  function _iterable_to_array_limit$2(arr, i) {
@@ -19000,7 +18989,7 @@ function _iterable_to_array_limit$2(arr, i) {
19000
18989
  return _arr;
19001
18990
  }
19002
18991
  function _non_iterable_rest$2() {
19003
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
18992
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19004
18993
  }
19005
18994
  function _object_spread$d(target) {
19006
18995
  for(var i = 1; i < arguments.length; i++){
@@ -19020,14 +19009,6 @@ function _object_spread$d(target) {
19020
19009
  function _sliced_to_array$2(arr, i) {
19021
19010
  return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$2();
19022
19011
  }
19023
- function _unsupported_iterable_to_array$6(o, minLen) {
19024
- if (!o) return;
19025
- if (typeof o === "string") return _array_like_to_array$6(o, minLen);
19026
- var n = Object.prototype.toString.call(o).slice(8, -1);
19027
- if (n === "Object" && o.constructor) n = o.constructor.name;
19028
- if (n === "Map" || n === "Set") return Array.from(n);
19029
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
19030
- }
19031
19012
  function _ts_generator$6(thisArg, body) {
19032
19013
  var f, y, t, _ = {
19033
19014
  label: 0,
@@ -19127,6 +19108,14 @@ function _ts_generator$6(thisArg, body) {
19127
19108
  };
19128
19109
  }
19129
19110
  }
19111
+ function _unsupported_iterable_to_array$6(o, minLen) {
19112
+ if (!o) return;
19113
+ if (typeof o === "string") return _array_like_to_array$6(o, minLen);
19114
+ var n = Object.prototype.toString.call(o).slice(8, -1);
19115
+ if (n === "Object" && o.constructor) n = o.constructor.name;
19116
+ if (n === "Map" || n === "Set") return Array.from(n);
19117
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
19118
+ }
19130
19119
  /**
19131
19120
  * Creates a function that grants {@link FormSpaceRoles} based on the authentication context.
19132
19121
  *
@@ -19413,9 +19402,7 @@ function _define_property$c(obj, key, value) {
19413
19402
  configurable: true,
19414
19403
  writable: true
19415
19404
  });
19416
- } else {
19417
- obj[key] = value;
19418
- }
19405
+ } else obj[key] = value;
19419
19406
  return obj;
19420
19407
  }
19421
19408
  function _object_spread$c(target) {
@@ -19443,9 +19430,8 @@ function ownKeys$9(object, enumerableOnly) {
19443
19430
  }
19444
19431
  function _object_spread_props$9(target, source) {
19445
19432
  source = source != null ? source : {};
19446
- if (Object.getOwnPropertyDescriptors) {
19447
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
19448
- } else {
19433
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
19434
+ else {
19449
19435
  ownKeys$9(Object(source)).forEach(function(key) {
19450
19436
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
19451
19437
  });
@@ -19816,16 +19802,16 @@ function _define_property$b(obj, key, value) {
19816
19802
  configurable: true,
19817
19803
  writable: true
19818
19804
  });
19819
- } else {
19820
- obj[key] = value;
19821
- }
19805
+ } else obj[key] = value;
19822
19806
  return obj;
19823
19807
  }
19824
19808
  function _iterable_to_array$3(iter) {
19825
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
19809
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
19810
+ return Array.from(iter);
19811
+ }
19826
19812
  }
19827
19813
  function _non_iterable_spread$3() {
19828
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19814
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19829
19815
  }
19830
19816
  function _object_spread$b(target) {
19831
19817
  for(var i = 1; i < arguments.length; i++){
@@ -19852,9 +19838,8 @@ function ownKeys$8(object, enumerableOnly) {
19852
19838
  }
19853
19839
  function _object_spread_props$8(target, source) {
19854
19840
  source = source != null ? source : {};
19855
- if (Object.getOwnPropertyDescriptors) {
19856
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
19857
- } else {
19841
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
19842
+ else {
19858
19843
  ownKeys$8(Object(source)).forEach(function(key) {
19859
19844
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
19860
19845
  });
@@ -20414,9 +20399,7 @@ var notificationHealthCheckMapFunctions = firestoreNotificationHealthCheck.mapFu
20414
20399
  });
20415
20400
 
20416
20401
  function _assert_this_initialized$4(self) {
20417
- if (self === void 0) {
20418
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
20419
- }
20402
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
20420
20403
  return self;
20421
20404
  }
20422
20405
  function _call_super$4(_this, derived, args) {
@@ -20424,9 +20407,7 @@ function _call_super$4(_this, derived, args) {
20424
20407
  return _possible_constructor_return$4(_this, _is_native_reflect_construct$4() ? Reflect.construct(derived, args || [], _get_prototype_of$4(_this).constructor) : derived.apply(_this, args));
20425
20408
  }
20426
20409
  function _class_call_check$9(instance, Constructor) {
20427
- if (!(instance instanceof Constructor)) {
20428
- throw new TypeError("Cannot call a class as a function");
20429
- }
20410
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
20430
20411
  }
20431
20412
  function _defineProperties$4(target, props) {
20432
20413
  for(var i = 0; i < props.length; i++){
@@ -20460,10 +20441,16 @@ function _inherits$4(subClass, superClass) {
20460
20441
  });
20461
20442
  if (superClass) _set_prototype_of$4(subClass, superClass);
20462
20443
  }
20444
+ function _is_native_reflect_construct$4() {
20445
+ try {
20446
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
20447
+ } catch (_) {}
20448
+ return (_is_native_reflect_construct$4 = function() {
20449
+ return !!result;
20450
+ })();
20451
+ }
20463
20452
  function _possible_constructor_return$4(self, call) {
20464
- if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
20465
- return call;
20466
- }
20453
+ if (call && (_type_of$4(call) === "object" || typeof call === "function")) return call;
20467
20454
  return _assert_this_initialized$4(self);
20468
20455
  }
20469
20456
  function _set_prototype_of$4(o, p) {
@@ -20477,14 +20464,6 @@ function _type_of$4(obj) {
20477
20464
  "@swc/helpers - typeof";
20478
20465
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
20479
20466
  }
20480
- function _is_native_reflect_construct$4() {
20481
- try {
20482
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
20483
- } catch (_) {}
20484
- return (_is_native_reflect_construct$4 = function() {
20485
- return !!result;
20486
- })();
20487
- }
20488
20467
  /**
20489
20468
  * Abstract class providing access to all notification-related Firestore collections.
20490
20469
  *
@@ -21214,11 +21193,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
21214
21193
  reject(error);
21215
21194
  return;
21216
21195
  }
21217
- if (info.done) {
21218
- resolve(value);
21219
- } else {
21220
- Promise.resolve(value).then(_next, _throw);
21221
- }
21196
+ if (info.done) resolve(value);
21197
+ else Promise.resolve(value).then(_next, _throw);
21222
21198
  }
21223
21199
  function _async_to_generator$5(fn) {
21224
21200
  return function() {
@@ -21620,9 +21596,7 @@ function _define_property$a(obj, key, value) {
21620
21596
  configurable: true,
21621
21597
  writable: true
21622
21598
  });
21623
- } else {
21624
- obj[key] = value;
21625
- }
21599
+ } else obj[key] = value;
21626
21600
  return obj;
21627
21601
  }
21628
21602
  function _object_spread$a(target) {
@@ -21650,9 +21624,8 @@ function ownKeys$7(object, enumerableOnly) {
21650
21624
  }
21651
21625
  function _object_spread_props$7(target, source) {
21652
21626
  source = source != null ? source : {};
21653
- if (Object.getOwnPropertyDescriptors) {
21654
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
21655
- } else {
21627
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
21628
+ else {
21656
21629
  ownKeys$7(Object(source)).forEach(function(key) {
21657
21630
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
21658
21631
  });
@@ -21703,32 +21676,81 @@ function _object_spread_props$7(target, source) {
21703
21676
  * ONE task type for every form type. The task's SUBTASK TARGET is the {@link FormSpaceType}, so a new form
21704
21677
  * type registers a processor rather than a task type — the same specialization
21705
21678
  * `StorageFileProcessingNotificationTask` already does by purpose.
21679
+ *
21680
+ * ONE task per SUBMISSION ATTEMPT, not per space. A unique task's document id is derived and permanent, and
21681
+ * a completed task is only marked done (`d`) — it lingers until the cleanup sweep collects it. So a space
21682
+ * that is reopened and resubmitted would re-derive the id of its own finished task, and
21683
+ * `createOrRunUniqueNotificationDocument` would find it already there and do nothing at all: the space
21684
+ * would sit in QUEUED_FOR_PROCESSING pointing at a dead document forever. Keying the id by the space's
21685
+ * reopen count is what keeps each attempt a document of its own, and the first attempt keeps the exact id
21686
+ * it has always had.
21706
21687
  */ /**
21707
21688
  * NotificationTask type identifier for FormSpace submission processing.
21708
21689
  */ var FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE = 'FSPS';
21690
+ /**
21691
+ * Returns the unique NotificationTask document id processing one SUBMISSION ATTEMPT of a FormSpace.
21692
+ *
21693
+ * The first attempt is the bare {@link notificationTaskUniqueId}, unsuffixed, so a space submitted before
21694
+ * reopening existed keeps the exact document it already has. Every attempt after a reopen appends its
21695
+ * count, which is what stops a resubmit from colliding with the finished task of the attempt before it.
21696
+ *
21697
+ * The `r` between the separators keeps the suffix from ever being able to produce a `__` run, whatever a
21698
+ * FormSpace id happens to contain — Firestore reserves ids wrapped in double underscores, and staying well
21699
+ * clear of them costs one character.
21700
+ *
21701
+ * Exported so a caller that has to LOCATE an attempt's task — a test asserting which document a resubmit
21702
+ * created, or tooling inspecting a stuck submission — derives the id the same way the template does. The
21703
+ * reopen action deliberately does not need it: the superseded attempt's task is left alone, either already
21704
+ * done and awaiting the cleanup sweep or still queued and about to fence itself off.
21705
+ *
21706
+ * @param input - The FormSpace id and the attempt's reopen count.
21707
+ * @returns The unique notification task id.
21708
+ *
21709
+ * @example
21710
+ * ```ts
21711
+ * formSpaceSubmissionNotificationTaskUniqueId({ formSpaceId: 'abc' }); // 'abc_FSPS'
21712
+ * formSpaceSubmissionNotificationTaskUniqueId({ formSpaceId: 'abc', reopenCount: 2 }); // 'abc_FSPS_r2'
21713
+ * ```
21714
+ *
21715
+ * @__NO_SIDE_EFFECTS__
21716
+ */ function formSpaceSubmissionNotificationTaskUniqueId(input) {
21717
+ var _input_reopenCount;
21718
+ var formSpaceId = input.formSpaceId;
21719
+ var reopenCount = (_input_reopenCount = input.reopenCount) !== null && _input_reopenCount !== void 0 ? _input_reopenCount : 0;
21720
+ var baseId = notificationTaskUniqueId(formSpaceId, FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE);
21721
+ return reopenCount > 0 ? "".concat(baseId, "_r").concat(reopenCount) : baseId;
21722
+ }
21709
21723
  /**
21710
21724
  * Creates a {@link CreateNotificationTaskTemplate} for a FormSpace submission task.
21711
21725
  *
21712
- * The task is UNIQUE to the FormSpace: a space submits once, and a second template for the same space must
21713
- * resolve to the same document rather than racing a second processor against the first.
21726
+ * The task is UNIQUE to one submission ATTEMPT of the FormSpace. Within an attempt that uniqueness is what
21727
+ * makes a second template resolve to the same document rather than racing a second processor against the
21728
+ * first; across attempts, {@link formSpaceSubmissionNotificationTaskUniqueId} keys them apart so a resubmit
21729
+ * after a reopen gets a document — and a checkpoint flow — of its own.
21714
21730
  *
21715
- * @param input - The target FormSpaceDocument and optional subtask data.
21731
+ * @param input - The target FormSpaceDocument, its reopen count, and optional subtask data.
21716
21732
  * @returns A CreateNotificationTaskTemplate for the submission task.
21717
21733
  *
21718
21734
  * @example
21719
21735
  * ```ts
21720
- * const template = formSpaceSubmissionNotificationTaskTemplate({ formSpaceDocument: doc });
21736
+ * const template = formSpaceSubmissionNotificationTaskTemplate({ formSpaceDocument: doc, reopenCount: formSpace.rc });
21721
21737
  * ```
21722
21738
  */ function formSpaceSubmissionNotificationTaskTemplate(input) {
21739
+ var _input_reopenCount;
21723
21740
  var formSpaceDocument = input.formSpaceDocument, overrideExistingTask = input.overrideExistingTask;
21741
+ var reopenCount = (_input_reopenCount = input.reopenCount) !== null && _input_reopenCount !== void 0 ? _input_reopenCount : 0;
21724
21742
  return createNotificationTaskTemplate({
21725
21743
  type: FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE,
21726
21744
  targetModel: formSpaceDocument,
21727
21745
  data: {
21728
21746
  formSpace: formSpaceDocument.id,
21747
+ rc: reopenCount,
21729
21748
  d: input.sd
21730
21749
  },
21731
- unique: true,
21750
+ unique: formSpaceSubmissionNotificationTaskUniqueId({
21751
+ formSpaceId: formSpaceDocument.id,
21752
+ reopenCount: reopenCount
21753
+ }),
21732
21754
  overrideExistingTask: overrideExistingTask
21733
21755
  });
21734
21756
  }
@@ -21743,9 +21765,7 @@ function _object_spread_props$7(target, source) {
21743
21765
  ];
21744
21766
 
21745
21767
  function _class_call_check$8(instance, Constructor) {
21746
- if (!(instance instanceof Constructor)) {
21747
- throw new TypeError("Cannot call a class as a function");
21748
- }
21768
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
21749
21769
  }
21750
21770
  var NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH = 0;
21751
21771
  var NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH = 42;
@@ -21933,9 +21953,7 @@ function _define_property$9(obj, key, value) {
21933
21953
  configurable: true,
21934
21954
  writable: true
21935
21955
  });
21936
- } else {
21937
- obj[key] = value;
21938
- }
21956
+ } else obj[key] = value;
21939
21957
  return obj;
21940
21958
  }
21941
21959
  function _object_spread$9(target) {
@@ -21963,9 +21981,8 @@ function ownKeys$6(object, enumerableOnly) {
21963
21981
  }
21964
21982
  function _object_spread_props$6(target, source) {
21965
21983
  source = source != null ? source : {};
21966
- if (Object.getOwnPropertyDescriptors) {
21967
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
21968
- } else {
21984
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
21985
+ else {
21969
21986
  ownKeys$6(Object(source)).forEach(function(key) {
21970
21987
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
21971
21988
  });
@@ -22111,9 +22128,7 @@ function _define_property$8(obj, key, value) {
22111
22128
  configurable: true,
22112
22129
  writable: true
22113
22130
  });
22114
- } else {
22115
- obj[key] = value;
22116
- }
22131
+ } else obj[key] = value;
22117
22132
  return obj;
22118
22133
  }
22119
22134
  function _object_spread$8(target) {
@@ -22141,9 +22156,8 @@ function ownKeys$5(object, enumerableOnly) {
22141
22156
  }
22142
22157
  function _object_spread_props$5(target, source) {
22143
22158
  source = source != null ? source : {};
22144
- if (Object.getOwnPropertyDescriptors) {
22145
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
22146
- } else {
22159
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
22160
+ else {
22147
22161
  ownKeys$5(Object(source)).forEach(function(key) {
22148
22162
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
22149
22163
  });
@@ -22192,11 +22206,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
22192
22206
  reject(error);
22193
22207
  return;
22194
22208
  }
22195
- if (info.done) {
22196
- resolve(value);
22197
- } else {
22198
- Promise.resolve(value).then(_next, _throw);
22199
- }
22209
+ if (info.done) resolve(value);
22210
+ else Promise.resolve(value).then(_next, _throw);
22200
22211
  }
22201
22212
  function _async_to_generator$4(fn) {
22202
22213
  return function() {
@@ -22479,9 +22490,7 @@ function _array_with_holes$1(arr) {
22479
22490
  if (Array.isArray(arr)) return arr;
22480
22491
  }
22481
22492
  function _class_call_check$7(instance, Constructor) {
22482
- if (!(instance instanceof Constructor)) {
22483
- throw new TypeError("Cannot call a class as a function");
22484
- }
22493
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
22485
22494
  }
22486
22495
  function _iterable_to_array_limit$1(arr, i) {
22487
22496
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -22508,7 +22517,7 @@ function _iterable_to_array_limit$1(arr, i) {
22508
22517
  return _arr;
22509
22518
  }
22510
22519
  function _non_iterable_rest$1() {
22511
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
22520
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
22512
22521
  }
22513
22522
  function _sliced_to_array$1(arr, i) {
22514
22523
  return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$1();
@@ -22581,14 +22590,14 @@ function _unsupported_iterable_to_array$4(o, minLen) {
22581
22590
  var allKnownTemplateTypeInfo = [];
22582
22591
  Object.entries(appNotificationTemplateTypeInfoRecord).forEach(function(param) {
22583
22592
  var _param = _sliced_to_array$1(param, 2); _param[0]; var info = _param[1];
22584
- var addInfoForIdentity = function addInfoForIdentity(modelIdentity, targetIdentity) {
22593
+ var notificationModelIdentity = info.notificationModelIdentity, targetModelIdentity = info.targetModelIdentity, alternativeModelIdentities = info.alternativeModelIdentities;
22594
+ function addInfoForIdentity(modelIdentity, targetIdentity) {
22585
22595
  var _ref;
22586
22596
  var collectionType = modelIdentity.collectionType;
22587
22597
  notificationModelTypeInfoMapBuilder.add(collectionType, info);
22588
22598
  targetModelTypeInfoMapBuilder.add((_ref = targetIdentity === null || targetIdentity === void 0 ? void 0 : targetIdentity.collectionType) !== null && _ref !== void 0 ? _ref : collectionType, info);
22589
22599
  allNotificationModelIdentityValuesSet.add(modelIdentity);
22590
- };
22591
- var notificationModelIdentity = info.notificationModelIdentity, targetModelIdentity = info.targetModelIdentity, alternativeModelIdentities = info.alternativeModelIdentities;
22600
+ }
22592
22601
  addInfoForIdentity(notificationModelIdentity, targetModelIdentity);
22593
22602
  if (alternativeModelIdentities != null) {
22594
22603
  asArray(alternativeModelIdentities).forEach(function(x) {
@@ -22722,11 +22731,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
22722
22731
  reject(error);
22723
22732
  return;
22724
22733
  }
22725
- if (info.done) {
22726
- resolve(value);
22727
- } else {
22728
- Promise.resolve(value).then(_next, _throw);
22729
- }
22734
+ if (info.done) resolve(value);
22735
+ else Promise.resolve(value).then(_next, _throw);
22730
22736
  }
22731
22737
  function _async_to_generator$3(fn) {
22732
22738
  return function() {
@@ -23090,10 +23096,12 @@ function _array_without_holes$2(arr) {
23090
23096
  if (Array.isArray(arr)) return _array_like_to_array$3(arr);
23091
23097
  }
23092
23098
  function _iterable_to_array$2(iter) {
23093
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
23099
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
23100
+ return Array.from(iter);
23101
+ }
23094
23102
  }
23095
23103
  function _non_iterable_spread$2() {
23096
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
23104
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
23097
23105
  }
23098
23106
  function _to_consumable_array$2(arr) {
23099
23107
  return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$2();
@@ -23136,9 +23144,7 @@ function _define_property$7(obj, key, value) {
23136
23144
  configurable: true,
23137
23145
  writable: true
23138
23146
  });
23139
- } else {
23140
- obj[key] = value;
23141
- }
23147
+ } else obj[key] = value;
23142
23148
  return obj;
23143
23149
  }
23144
23150
  function _object_spread$7(target) {
@@ -23166,9 +23172,8 @@ function ownKeys$4(object, enumerableOnly) {
23166
23172
  }
23167
23173
  function _object_spread_props$4(target, source) {
23168
23174
  source = source != null ? source : {};
23169
- if (Object.getOwnPropertyDescriptors) {
23170
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
23171
- } else {
23175
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
23176
+ else {
23172
23177
  ownKeys$4(Object(source)).forEach(function(key) {
23173
23178
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
23174
23179
  });
@@ -23297,9 +23302,7 @@ function _define_property$6(obj, key, value) {
23297
23302
  configurable: true,
23298
23303
  writable: true
23299
23304
  });
23300
- } else {
23301
- obj[key] = value;
23302
- }
23305
+ } else obj[key] = value;
23303
23306
  return obj;
23304
23307
  }
23305
23308
  function _object_spread$6(target) {
@@ -23327,9 +23330,8 @@ function ownKeys$3(object, enumerableOnly) {
23327
23330
  }
23328
23331
  function _object_spread_props$3(target, source) {
23329
23332
  source = source != null ? source : {};
23330
- if (Object.getOwnPropertyDescriptors) {
23331
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
23332
- } else {
23333
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
23334
+ else {
23333
23335
  ownKeys$3(Object(source)).forEach(function(key) {
23334
23336
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
23335
23337
  });
@@ -23399,16 +23401,16 @@ function _define_property$5(obj, key, value) {
23399
23401
  configurable: true,
23400
23402
  writable: true
23401
23403
  });
23402
- } else {
23403
- obj[key] = value;
23404
- }
23404
+ } else obj[key] = value;
23405
23405
  return obj;
23406
23406
  }
23407
23407
  function _iterable_to_array$1(iter) {
23408
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
23408
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
23409
+ return Array.from(iter);
23410
+ }
23409
23411
  }
23410
23412
  function _non_iterable_spread$1() {
23411
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
23413
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
23412
23414
  }
23413
23415
  function _object_spread$5(target) {
23414
23416
  for(var i = 1; i < arguments.length; i++){
@@ -23435,9 +23437,8 @@ function ownKeys$2(object, enumerableOnly) {
23435
23437
  }
23436
23438
  function _object_spread_props$2(target, source) {
23437
23439
  source = source != null ? source : {};
23438
- if (Object.getOwnPropertyDescriptors) {
23439
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
23440
- } else {
23440
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
23441
+ else {
23441
23442
  ownKeys$2(Object(source)).forEach(function(key) {
23442
23443
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
23443
23444
  });
@@ -23737,9 +23738,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
23737
23738
  }
23738
23739
 
23739
23740
  function _assert_this_initialized$3(self) {
23740
- if (self === void 0) {
23741
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
23742
- }
23741
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
23743
23742
  return self;
23744
23743
  }
23745
23744
  function _call_super$3(_this, derived, args) {
@@ -23747,9 +23746,7 @@ function _call_super$3(_this, derived, args) {
23747
23746
  return _possible_constructor_return$3(_this, _is_native_reflect_construct$3() ? Reflect.construct(derived, args || [], _get_prototype_of$3(_this).constructor) : derived.apply(_this, args));
23748
23747
  }
23749
23748
  function _class_call_check$6(instance, Constructor) {
23750
- if (!(instance instanceof Constructor)) {
23751
- throw new TypeError("Cannot call a class as a function");
23752
- }
23749
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
23753
23750
  }
23754
23751
  function _defineProperties$3(target, props) {
23755
23752
  for(var i = 0; i < props.length; i++){
@@ -23783,10 +23780,16 @@ function _inherits$3(subClass, superClass) {
23783
23780
  });
23784
23781
  if (superClass) _set_prototype_of$3(subClass, superClass);
23785
23782
  }
23783
+ function _is_native_reflect_construct$3() {
23784
+ try {
23785
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
23786
+ } catch (_) {}
23787
+ return (_is_native_reflect_construct$3 = function() {
23788
+ return !!result;
23789
+ })();
23790
+ }
23786
23791
  function _possible_constructor_return$3(self, call) {
23787
- if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
23788
- return call;
23789
- }
23792
+ if (call && (_type_of$3(call) === "object" || typeof call === "function")) return call;
23790
23793
  return _assert_this_initialized$3(self);
23791
23794
  }
23792
23795
  function _set_prototype_of$3(o, p) {
@@ -23800,14 +23803,6 @@ function _type_of$3(obj) {
23800
23803
  "@swc/helpers - typeof";
23801
23804
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
23802
23805
  }
23803
- function _is_native_reflect_construct$3() {
23804
- try {
23805
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
23806
- } catch (_) {}
23807
- return (_is_native_reflect_construct$3 = function() {
23808
- return !!result;
23809
- })();
23810
- }
23811
23806
  /**
23812
23807
  * Abstract class providing access to all oidc-related Firestore collections.
23813
23808
  *
@@ -24010,9 +24005,7 @@ function _is_native_reflect_construct$3() {
24010
24005
  }
24011
24006
 
24012
24007
  function _class_call_check$5(instance, Constructor) {
24013
- if (!(instance instanceof Constructor)) {
24014
- throw new TypeError("Cannot call a class as a function");
24015
- }
24008
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
24016
24009
  }
24017
24010
  var updateOidcClientFieldParamsType = /* @__PURE__ */ type({
24018
24011
  client_name: 'string',
@@ -24101,9 +24094,7 @@ var OIDC_MODEL_CRUD_FUNCTIONS_CONFIG = {
24101
24094
  */ var STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE = 'STORAGE_FILE_GROUP_CREATE_INPUT_ERROR';
24102
24095
 
24103
24096
  function _class_call_check$4(instance, Constructor) {
24104
- if (!(instance instanceof Constructor)) {
24105
- throw new TypeError("Cannot call a class as a function");
24106
- }
24097
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
24107
24098
  }
24108
24099
  var DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES = 1;
24109
24100
  var DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES = 50;
@@ -24253,9 +24244,7 @@ var STORAGE_FILE_MODEL_CRUD_FUNCTIONS_CONFIG = {
24253
24244
  */ var storageFileFunctionMap = callModelFirebaseFunctionMapFactory(STORAGE_FILE_FUNCTION_TYPE_CONFIG_MAP, STORAGE_FILE_MODEL_CRUD_FUNCTIONS_CONFIG);
24254
24245
 
24255
24246
  function _assert_this_initialized$2(self) {
24256
- if (self === void 0) {
24257
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
24258
- }
24247
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
24259
24248
  return self;
24260
24249
  }
24261
24250
  function _call_super$2(_this, derived, args) {
@@ -24263,9 +24252,7 @@ function _call_super$2(_this, derived, args) {
24263
24252
  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));
24264
24253
  }
24265
24254
  function _class_call_check$3(instance, Constructor) {
24266
- if (!(instance instanceof Constructor)) {
24267
- throw new TypeError("Cannot call a class as a function");
24268
- }
24255
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
24269
24256
  }
24270
24257
  function _defineProperties$2(target, props) {
24271
24258
  for(var i = 0; i < props.length; i++){
@@ -24299,10 +24286,16 @@ function _inherits$2(subClass, superClass) {
24299
24286
  });
24300
24287
  if (superClass) _set_prototype_of$2(subClass, superClass);
24301
24288
  }
24289
+ function _is_native_reflect_construct$2() {
24290
+ try {
24291
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
24292
+ } catch (_) {}
24293
+ return (_is_native_reflect_construct$2 = function() {
24294
+ return !!result;
24295
+ })();
24296
+ }
24302
24297
  function _possible_constructor_return$2(self, call) {
24303
- if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
24304
- return call;
24305
- }
24298
+ if (call && (_type_of$2(call) === "object" || typeof call === "function")) return call;
24306
24299
  return _assert_this_initialized$2(self);
24307
24300
  }
24308
24301
  function _set_prototype_of$2(o, p) {
@@ -24316,14 +24309,6 @@ function _type_of$2(obj) {
24316
24309
  "@swc/helpers - typeof";
24317
24310
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
24318
24311
  }
24319
- function _is_native_reflect_construct$2() {
24320
- try {
24321
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
24322
- } catch (_) {}
24323
- return (_is_native_reflect_construct$2 = function() {
24324
- return !!result;
24325
- })();
24326
- }
24327
24312
  /**
24328
24313
  * @module storagefile
24329
24314
  *
@@ -24697,11 +24682,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
24697
24682
  reject(error);
24698
24683
  return;
24699
24684
  }
24700
- if (info.done) {
24701
- resolve(value);
24702
- } else {
24703
- Promise.resolve(value).then(_next, _throw);
24704
- }
24685
+ if (info.done) resolve(value);
24686
+ else Promise.resolve(value).then(_next, _throw);
24705
24687
  }
24706
24688
  function _async_to_generator$2(fn) {
24707
24689
  return function() {
@@ -24726,9 +24708,7 @@ function _define_property$4(obj, key, value) {
24726
24708
  configurable: true,
24727
24709
  writable: true
24728
24710
  });
24729
- } else {
24730
- obj[key] = value;
24731
- }
24711
+ } else obj[key] = value;
24732
24712
  return obj;
24733
24713
  }
24734
24714
  function _object_spread$4(target) {
@@ -24756,9 +24736,8 @@ function ownKeys$1(object, enumerableOnly) {
24756
24736
  }
24757
24737
  function _object_spread_props$1(target, source) {
24758
24738
  source = source != null ? source : {};
24759
- if (Object.getOwnPropertyDescriptors) {
24760
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
24761
- } else {
24739
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
24740
+ else {
24762
24741
  ownKeys$1(Object(source)).forEach(function(key) {
24763
24742
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
24764
24743
  });
@@ -24996,10 +24975,12 @@ function _array_without_holes(arr) {
24996
24975
  if (Array.isArray(arr)) return _array_like_to_array$1(arr);
24997
24976
  }
24998
24977
  function _iterable_to_array(iter) {
24999
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
24978
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
24979
+ return Array.from(iter);
24980
+ }
25000
24981
  }
25001
24982
  function _non_iterable_spread() {
25002
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24983
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
25003
24984
  }
25004
24985
  function _to_consumable_array(arr) {
25005
24986
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread();
@@ -25303,11 +25284,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
25303
25284
  reject(error);
25304
25285
  return;
25305
25286
  }
25306
- if (info.done) {
25307
- resolve(value);
25308
- } else {
25309
- Promise.resolve(value).then(_next, _throw);
25310
- }
25287
+ if (info.done) resolve(value);
25288
+ else Promise.resolve(value).then(_next, _throw);
25311
25289
  }
25312
25290
  function _async_to_generator$1(fn) {
25313
25291
  return function() {
@@ -25332,9 +25310,7 @@ function _define_property$3(obj, key, value) {
25332
25310
  configurable: true,
25333
25311
  writable: true
25334
25312
  });
25335
- } else {
25336
- obj[key] = value;
25337
- }
25313
+ } else obj[key] = value;
25338
25314
  return obj;
25339
25315
  }
25340
25316
  function _iterable_to_array_limit(arr, i) {
@@ -25362,7 +25338,7 @@ function _iterable_to_array_limit(arr, i) {
25362
25338
  return _arr;
25363
25339
  }
25364
25340
  function _non_iterable_rest() {
25365
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
25341
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
25366
25342
  }
25367
25343
  function _object_spread$3(target) {
25368
25344
  for(var i = 1; i < arguments.length; i++){
@@ -25382,14 +25358,6 @@ function _object_spread$3(target) {
25382
25358
  function _sliced_to_array(arr, i) {
25383
25359
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
25384
25360
  }
25385
- function _unsupported_iterable_to_array(o, minLen) {
25386
- if (!o) return;
25387
- if (typeof o === "string") return _array_like_to_array(o, minLen);
25388
- var n = Object.prototype.toString.call(o).slice(8, -1);
25389
- if (n === "Object" && o.constructor) n = o.constructor.name;
25390
- if (n === "Map" || n === "Set") return Array.from(n);
25391
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25392
- }
25393
25361
  function _ts_generator$1(thisArg, body) {
25394
25362
  var f, y, t, _ = {
25395
25363
  label: 0,
@@ -25489,6 +25457,14 @@ function _ts_generator$1(thisArg, body) {
25489
25457
  };
25490
25458
  }
25491
25459
  }
25460
+ function _unsupported_iterable_to_array(o, minLen) {
25461
+ if (!o) return;
25462
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
25463
+ var n = Object.prototype.toString.call(o).slice(8, -1);
25464
+ if (n === "Object" && o.constructor) n = o.constructor.name;
25465
+ if (n === "Map" || n === "Set") return Array.from(n);
25466
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25467
+ }
25492
25468
  /**
25493
25469
  * Creates a function that grants {@link StorageFileRoles} based on user authentication context.
25494
25470
  *
@@ -25562,9 +25538,7 @@ function _define_property$2(obj, key, value) {
25562
25538
  configurable: true,
25563
25539
  writable: true
25564
25540
  });
25565
- } else {
25566
- obj[key] = value;
25567
- }
25541
+ } else obj[key] = value;
25568
25542
  return obj;
25569
25543
  }
25570
25544
  function _object_spread$2(target) {
@@ -25691,11 +25665,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
25691
25665
  reject(error);
25692
25666
  return;
25693
25667
  }
25694
- if (info.done) {
25695
- resolve(value);
25696
- } else {
25697
- Promise.resolve(value).then(_next, _throw);
25698
- }
25668
+ if (info.done) resolve(value);
25669
+ else Promise.resolve(value).then(_next, _throw);
25699
25670
  }
25700
25671
  function _async_to_generator(fn) {
25701
25672
  return function() {
@@ -25720,9 +25691,7 @@ function _define_property$1(obj, key, value) {
25720
25691
  configurable: true,
25721
25692
  writable: true
25722
25693
  });
25723
- } else {
25724
- obj[key] = value;
25725
- }
25694
+ } else obj[key] = value;
25726
25695
  return obj;
25727
25696
  }
25728
25697
  function _object_spread$1(target) {
@@ -25750,9 +25719,8 @@ function ownKeys(object, enumerableOnly) {
25750
25719
  }
25751
25720
  function _object_spread_props(target, source) {
25752
25721
  source = source != null ? source : {};
25753
- if (Object.getOwnPropertyDescriptors) {
25754
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
25755
- } else {
25722
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
25723
+ else {
25756
25724
  ownKeys(Object(source)).forEach(function(key) {
25757
25725
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
25758
25726
  });
@@ -26411,9 +26379,7 @@ function _ts_generator(thisArg, body) {
26411
26379
  }
26412
26380
 
26413
26381
  function _assert_this_initialized$1(self) {
26414
- if (self === void 0) {
26415
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
26416
- }
26382
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
26417
26383
  return self;
26418
26384
  }
26419
26385
  function _call_super$1(_this, derived, args) {
@@ -26421,9 +26387,7 @@ function _call_super$1(_this, derived, args) {
26421
26387
  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));
26422
26388
  }
26423
26389
  function _class_call_check$2(instance, Constructor) {
26424
- if (!(instance instanceof Constructor)) {
26425
- throw new TypeError("Cannot call a class as a function");
26426
- }
26390
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
26427
26391
  }
26428
26392
  function _defineProperties$1(target, props) {
26429
26393
  for(var i = 0; i < props.length; i++){
@@ -26457,10 +26421,16 @@ function _inherits$1(subClass, superClass) {
26457
26421
  });
26458
26422
  if (superClass) _set_prototype_of$1(subClass, superClass);
26459
26423
  }
26424
+ function _is_native_reflect_construct$1() {
26425
+ try {
26426
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
26427
+ } catch (_) {}
26428
+ return (_is_native_reflect_construct$1 = function() {
26429
+ return !!result;
26430
+ })();
26431
+ }
26460
26432
  function _possible_constructor_return$1(self, call) {
26461
- if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
26462
- return call;
26463
- }
26433
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) return call;
26464
26434
  return _assert_this_initialized$1(self);
26465
26435
  }
26466
26436
  function _set_prototype_of$1(o, p) {
@@ -26474,14 +26444,6 @@ function _type_of$1(obj) {
26474
26444
  "@swc/helpers - typeof";
26475
26445
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
26476
26446
  }
26477
- function _is_native_reflect_construct$1() {
26478
- try {
26479
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
26480
- } catch (_) {}
26481
- return (_is_native_reflect_construct$1 = function() {
26482
- return !!result;
26483
- })();
26484
- }
26485
26447
  /**
26486
26448
  * @module system
26487
26449
  *
@@ -26787,9 +26749,7 @@ function _is_native_reflect_construct$1() {
26787
26749
  }
26788
26750
 
26789
26751
  function _assert_this_initialized(self) {
26790
- if (self === void 0) {
26791
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
26792
- }
26752
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
26793
26753
  return self;
26794
26754
  }
26795
26755
  function _call_super(_this, derived, args) {
@@ -26797,9 +26757,7 @@ function _call_super(_this, derived, args) {
26797
26757
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
26798
26758
  }
26799
26759
  function _class_call_check$1(instance, Constructor) {
26800
- if (!(instance instanceof Constructor)) {
26801
- throw new TypeError("Cannot call a class as a function");
26802
- }
26760
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
26803
26761
  }
26804
26762
  function _defineProperties(target, props) {
26805
26763
  for(var i = 0; i < props.length; i++){
@@ -26833,10 +26791,16 @@ function _inherits(subClass, superClass) {
26833
26791
  });
26834
26792
  if (superClass) _set_prototype_of(subClass, superClass);
26835
26793
  }
26794
+ function _is_native_reflect_construct() {
26795
+ try {
26796
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
26797
+ } catch (_) {}
26798
+ return (_is_native_reflect_construct = function() {
26799
+ return !!result;
26800
+ })();
26801
+ }
26836
26802
  function _possible_constructor_return(self, call) {
26837
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
26838
- return call;
26839
- }
26803
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
26840
26804
  return _assert_this_initialized(self);
26841
26805
  }
26842
26806
  function _set_prototype_of(o, p) {
@@ -26850,14 +26814,6 @@ function _type_of(obj) {
26850
26814
  "@swc/helpers - typeof";
26851
26815
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
26852
26816
  }
26853
- function _is_native_reflect_construct() {
26854
- try {
26855
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
26856
- } catch (_) {}
26857
- return (_is_native_reflect_construct = function() {
26858
- return !!result;
26859
- })();
26860
- }
26861
26817
  // MARK: UserExternalConnection
26862
26818
  var userExternalConnectionIdentity = firestoreModelIdentity('userExternalConnection', 'uec');
26863
26819
  var USER_EXTERNAL_CONNECTION_ENTRY_STATUSES = [
@@ -26965,9 +26921,7 @@ function _define_property(obj, key, value) {
26965
26921
  configurable: true,
26966
26922
  writable: true
26967
26923
  });
26968
- } else {
26969
- obj[key] = value;
26970
- }
26924
+ } else obj[key] = value;
26971
26925
  return obj;
26972
26926
  }
26973
26927
  function _object_spread(target) {
@@ -27158,9 +27112,7 @@ function _object_spread(target) {
27158
27112
  }
27159
27113
 
27160
27114
  function _class_call_check(instance, Constructor) {
27161
- if (!(instance instanceof Constructor)) {
27162
- throw new TypeError("Cannot call a class as a function");
27163
- }
27115
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
27164
27116
  }
27165
27117
  var createUserExternalConnectionParamsType = /* @__PURE__ */ type({});
27166
27118
  var disconnectUserExternalConnectionParamsType = /* @__PURE__ */ inferredTargetModelParamsType.merge(type({
@@ -27188,4 +27140,4 @@ var USER_EXTERNAL_CONNECTION_MODEL_CRUD_FUNCTIONS_CONFIG = {
27188
27140
  * Used to generate the UserExternalConnectionFunctions map for a Functions instance.
27189
27141
  */ var userExternalConnectionFunctionMap = callModelFirebaseFunctionMapFactory(USER_EXTERNAL_CONNECTION_FUNCTION_TYPE_CONFIG_MAP, USER_EXTERNAL_CONNECTION_MODEL_CRUD_FUNCTIONS_CONFIG);
27190
27142
 
27191
- export { ALL_FORM_SPACE_NOTIFICATION_TASK_TYPES, ALL_NOTIFICATION_DELIVERY_METHODS, ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHOD_OPTIONS, ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, ALREADY_EXISTS_ERROR_CODE, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AppCalendarTypeConfigService, AppFormSpaceTypeConfigService, AppNotificationTemplateTypeInfoRecordService, BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE, BAD_REQUEST_ERROR_CODE, BASE_MODEL_STORAGE_FILE_PATH, CALCOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, CALENDAR_EXTENSION_PROPERTY_PREFIX, CALENDAR_ICS_DEFAULT_TIMEZONE, CALENDAR_ICS_DOMAIN_NOT_CONFIGURED_ERROR_CODE, CALENDAR_ICS_FILE_EXTENSION, CALENDAR_ICS_ROTATE_THROTTLED_ERROR_CODE, CALENDAR_ICS_STORAGE_FILE_PURPOSE, CALENDAR_ICS_STORAGE_FILE_PURPOSE_GENERATE_ICS_SUBTASK, CALENDAR_ICS_STORAGE_FILE_UNAVAILABLE_ERROR_CODE, CALENDAR_OCCURRENCE_KEY_SEPARATOR, CALENDAR_ROOT_FOLDER_PATH, CALL_MODEL_APP_FUNCTION_KEY, CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE, CALL_MODEL_OIDC_SCOPES, CALL_MODEL_OIDC_SCOPE_DETAILS, CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE, CALL_MODEL_OIDC_SCOPE_PREFIX, CLIENT_SECRET_BASIC_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_JWT_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_POST_TOKEN_ENDPOINT_AUTH_METHOD, CONFLICT_ERROR_CODE, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_MODEL_OIDC_SCOPE, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_FILENAME_LENGTH, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MIN_EXPIRES_IN_MS, CalendarDocument, CalendarEventStatus, CalendarFirestoreCollections, CalendarFunctions, CalendarSyncState, ContextGrantedModelRolesReaderInstance, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE, DEFAULT_CALENDAR_ICS_EXPANSION_FUTURE_DAYS, DEFAULT_CALENDAR_ICS_EXPANSION_PAST_DAYS, DEFAULT_CALENDAR_ICS_RECURRENCE_MODE, DEFAULT_CALENDAR_ICS_ROTATE_THROTTLE_HOURS, DEFAULT_CALENDAR_INVITE_ATTENDEE_PARTICIPATION_STATUS, DEFAULT_CALENDAR_INVITE_ATTENDEE_ROLE, DEFAULT_CALENDAR_INVITE_METHOD, DEFAULT_CALENDAR_MAX_EVENTS, DEFAULT_CALENDAR_RESYNC_INTERVAL, DEFAULT_CALENDAR_RETAIN_PAST_EVENT_DAYS, DEFAULT_CALENDAR_TYPE_CONFIG, DEFAULT_CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_EXPIRES_IN_MS, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_TIMEZONE_STRING_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_FORM_SPACE_ALLOWED_MIME_TYPES, DEFAULT_FORM_SPACE_EXPIRES_IN, DEFAULT_FORM_SPACE_FILE_ACCESS, DEFAULT_FORM_SPACE_MAX_FILE_SIZE_BYTES, DEFAULT_FORM_SPACE_MAX_UPLOADS, DEFAULT_FORM_SPACE_SLOT_MAX_FILES, DEFAULT_FORM_SPACE_TYPE_CONFIG, DEFAULT_IN_MEMORY_CACHE_TTL, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER, DEFAULT_NOTIFICATION_MESSAGE_CALENDAR_ATTACHMENT_FILENAME, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLE_MINUTES, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_THROTTLE_MINUTES, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLE_SECONDS, DEFAULT_ON_CALL_QUERY_MODEL_LIMIT, DEFAULT_PAGED_ITEM_INDEX_DOCUMENT_ID, DEFAULT_PAGED_ITEM_MAX_ITEMS_PER_PAGE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DELETE_MODEL_OIDC_SCOPE, DISCORD_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES, DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES, EMAIL_OIDC_SCOPE, EMAIL_OIDC_SCOPE_DETAILS, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_CREDENTIAL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_INVALID_PHONE_NUMBER_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_OOB_CODE_DATA_PAIR_DELIMITER, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_PHONE_NUMBER_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_PROVIDER_ALREADY_LINKED_ERROR, FIREBASE_AUTH_QUOTA_EXCEEDED_ERROR, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_EXPIRES_AT_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_SESSION_OIDC_SCOPE, FIRESTORE_SESSION_OIDC_SCOPE_DETAILS, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FORBIDDEN_ERROR_CODE, FORM_SPACE_ALREADY_EXISTS_ERROR_CODE, FORM_SPACE_FILES_ROOT_FOLDER_PATH, FORM_SPACE_FILE_ACCESS_DENIED_ERROR_CODE, FORM_SPACE_FILE_NOT_FOUND_ERROR_CODE, FORM_SPACE_FUNCTION_TYPE_CONFIG_MAP, FORM_SPACE_HAS_INVALID_FILES_ERROR_CODE, FORM_SPACE_MODEL_CRUD_FUNCTIONS_CONFIG, FORM_SPACE_NOT_EDITABLE_ERROR_CODE, FORM_SPACE_NOT_FOUND_ERROR_CODE, FORM_SPACE_PURPOSE, FORM_SPACE_PURPOSE_REGISTER_SUBTASK, FORM_SPACE_PURPOSE_VALIDATE_SUBTASK, FORM_SPACE_REQUIRED_SLOT_MISSING_ERROR_CODE, FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE, FORM_SPACE_TYPE_MISMATCH_ERROR_CODE, FORM_SPACE_TYPE_NOT_REGISTERED_ERROR_CODE, FORM_SPACE_UPLOADED_FILE_TYPE_IDENTIFIER, FORM_SPACE_UPLOADS_FOLDER_NAME, FORM_SPACE_UPLOAD_NOT_ALLOWED_ERROR_CODE, FORM_SPACE_UPLOAD_POLICY, FORM_SPACE_UPLOAD_USER_MISMATCH_ERROR_CODE, FORM_SPACE_VALIDATION_PENDING_ERROR_CODE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, FormSpaceDocument, FormSpaceFileValidationState, FormSpaceFirestoreCollections, FormSpaceFunctions, FormSpaceProcessingState, FormSpaceState, GOOGLE_CLOUD_STORAGE_PUBLIC_URL_API_ENDPOINT, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, INTERNAL_SERVER_ERROR_CODE, INVOKE_MODEL_OIDC_SCOPE, KnownNotificationHealthCheckIssueCode, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MAX_ON_CALL_QUERY_MODEL_LIMIT, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_NOT_AVAILABLE_ERROR_CODE, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, MailgunNotificationHealthCheckIssueCode, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_FUNCTION_TYPE_CONFIG_MAP, NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY, NOTIFICATION_LOGGED_EVENT_DAY_ITEM_CONVERTER, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, 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, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NOT_FOUND_ERROR_CODE, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigBoolean, NotificationDeliveryMethod, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationHealthCheckStatus, NotificationLoggedEventDayDocument, NotificationLoggedEventDayPageDocument, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, OFFLINE_ACCESS_OIDC_SCOPE, OFFLINE_ACCESS_OIDC_SCOPE_DETAILS, OIDC_ENTRY_CLIENT_TYPE, OIDC_FUNCTION_TYPE_CONFIG_MAP, OIDC_MODEL_CRUD_FUNCTIONS_CONFIG, OIDC_PROVIDER_PROFILE_DEFAULT_DESCRIPTION_SUFFIX, OPENID_OIDC_SCOPE, OPENID_OIDC_SCOPE_DETAILS, OidcEntryDocument, OidcModelFirestoreCollections, OidcModelFunctions, PERMISSION_DENIED_ERROR_CODE, PRIVATE_KEY_JWT_TOKEN_ENDPOINT_AUTH_METHOD, PROFILE_OIDC_SCOPE, PROFILE_OIDC_SCOPE_DETAILS, PUBLIC_PKCE_TOKEN_ENDPOINT_AUTH_METHOD, QUERY_MODEL_OIDC_SCOPE, READ_MODEL_OIDC_SCOPE, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, SCHEDULER_SYSTEM_STATE_TYPE, SERVICE_TOKEN_OIDC_SCOPE, SERVICE_TOKEN_OIDC_SCOPE_DETAILS, STANDARD_OIDC_SCOPES, STANDARD_OIDC_SCOPE_DETAILS, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_FUNCTION_TYPE_CONFIG_MAP, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_MODEL_CRUD_FUNCTIONS_CONFIG, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, STORAGE_FILE_UPLOAD_USER_SIMPLE_CLAIMS_CONFIGURATION, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFunctionTypeEnum, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SystemStateDocument, SystemStateFirestoreCollections, UNAUTHENTICATED_ERROR_CODE, UNAVAILABLE_ERROR_CODE, UNAVAILABLE_OR_DEACTIVATED_FUNCTION_ERROR_CODE, UNKNOWN_CALENDAR_TYPE, UNKNOWN_FORM_SPACE_TYPE, UNKNOWN_MODEL_TYPE_ERROR_CODE, UNTRACKABLE_NOTIFICATION_HEALTH_CHECK_PROBE_ID, UPDATE_MODEL_OIDC_SCOPE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, USER_EXTERNAL_CONNECTION_ENTRY_STATUSES, USER_EXTERNAL_CONNECTION_FUNCTION_TYPE_CONFIG_MAP, USER_EXTERNAL_CONNECTION_MODEL_CRUD_FUNCTIONS_CONFIG, UserExternalConnectionDocument, UserExternalConnectionFunctions, ZOHO_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, ZOOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, _createNotificationDocumentFromPair, abstractSubscribeOrUnsubscribeToNotificationBoxParamsType, abstractSubscribeToNotificationBoxParamsType, addConstraintToBuilder, addOrReplaceLimitInConstraints, adminOnlyScopesForOidcProviderProfiles, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allNotificationHealthCheckIssues, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appCalendarTypeConfigService, appFormSpaceTypeConfigService, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, applyUserExternalConnectionEntry, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertFormSpaceUploadAllowed, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, assignmentOnlyScopesForOidcProviderProfiles, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, calendarCollectionReference, calendarConverter, calendarEventItem, calendarEventItemCalendarDate, calendarEventItemEndDate, calendarEventItemExceptionDateSet, calendarEventItemExceptionDateValue, calendarEventItemFields, calendarEventItemForId, calendarEventItemTimezone, calendarEventItemToICalendarEvent, calendarEventItemToInviteICalendar, calendarEventItemToInviteIcsString, calendarEventItemsFilterUniqueFunction, calendarEventItemsForModelKey, calendarEventItemsSortFunction, calendarEventOccurrenceToICalendarEvent, calendarExtensionDataToICalendarExtraProperties, calendarFirestoreCollection, calendarFunctionMap, calendarFunctionTypeConfigMap, calendarIcsFileStoragePath, calendarIdForModel, calendarIdentity, calendarModelCrudFunctionsConfig, calendarNextIcsRotateAt, calendarRecurringEventItem, calendarRecurringEventItemForScheduleRange, calendarRecurringEventItemModelRecurrenceInfo, calendarRecurringEventItemRecurrenceFields, calendarRecurringEventItemToICalendarEvent, calendarRecurringEventOccurrenceKey, calendarSyncState, calendarTemplate, calendarToICalendar, calendarToIcsString, calendarTypeConfigIcsConfig, calendarTypeConfigIcsExpansionRange, calendarTypeConfigRecord, calendarsDueForResyncQuery, calendarsFlaggedForSyncQuery, calendarsForTypeQuery, callModelFirebaseFunctionMapFactory, callModelOidcScopeForCallType, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createFormSpaceParamsType, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationLoggedEventTemplate, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, createStorageFileSignedUploadUrlParamsType, createUserExternalConnectionParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, decodeFirebaseAuthOobCode, defaultOidcProviderProfiles, defaultPagedItemPageDataConverter, defaultUnlockedScopesForOidcProviderProfiles, delayCompletion, deleteAllQueuedStorageFilesParamsType, deleteFormSpaceParamsType, targetModelParamsType as deleteOidcClientParamsType, targetModelParamsType as deleteOidcTokenParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, disconnectUserExternalConnectionParamsType, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, emptyUserExternalConnection, encodeFirebaseAuthOobCode, endAt, endAtValue, endBefore, expandCalendarEvents, expireAllExpiredFormSpacesParamsType, expireFormSpaceTemplate, extendFirestoreCollectionWithPagedItemAccessor, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, firestoreCollectionDocumentCache, firestoreCollectionQueryFactory, firestoreContextFactory, firestoreDate, firestoreDateCellRange, firestoreDateCellRangeArray, firestoreDateCellRangeAssignFn, firestoreDateCellSchedule, firestoreDateCellScheduleAssignFn, firestoreDateNumber, firestoreDencoderArray, firestoreDencoderMap, firestoreDencoderStringArray, firestoreDocumentAccessorContextExtension, firestoreDocumentAccessorFactory, firestoreDocumentLoader, firestoreDocumentSnapshotPairsLoader, firestoreDocumentSnapshotPairsLoaderInstance, firestoreDummyKey, firestoreEncodedArray, firestoreEncodedObjectMap, firestoreEnum, firestoreEnumArray, firestoreField, firestoreFieldConfigToModelMapFunctionsRef, firestoreFixedItemPageIteration, firestoreFixedItemPageIterationFactory, firestoreIdBatchVerifierFactory, firestoreIdentityTypeArray, firestoreIdentityTypeArrayName, firestoreItemPageIteration, firestoreItemPageIterationFactory, firestoreLatLngString, firestoreMap, firestoreMapZoomLevel, firestoreModelId, firestoreModelIdArrayField, firestoreModelIdFromDocument, firestoreModelIdFromEmail, firestoreModelIdGrantedRoleArrayMap, firestoreModelIdGrantedRoleMap, firestoreModelIdOrKeyType, firestoreModelIdString, firestoreModelIdType, firestoreModelIdentity, firestoreModelIdentityTypeMap, firestoreModelIdsFromDocuments, firestoreModelIdsFromKey, firestoreModelKey, firestoreModelKeyArrayField, firestoreModelKeyCollectionName, firestoreModelKeyCollectionType, firestoreModelKeyCollectionTypeArray, firestoreModelKeyCollectionTypeArrayName, firestoreModelKeyCollectionTypePair, firestoreModelKeyEncodedGrantedRoleMap, firestoreModelKeyFactory, firestoreModelKeyFromDocument, firestoreModelKeyGrantedRoleArrayMap, firestoreModelKeyGrantedRoleMap, firestoreModelKeyPairObject, firestoreModelKeyParentKey, firestoreModelKeyParentKeyPartPairs, firestoreModelKeyPart, firestoreModelKeyPartPairs, firestoreModelKeyPartPairsKeyPath, firestoreModelKeyPartPairsPaths, firestoreModelKeyPath, firestoreModelKeyString, firestoreModelKeyType, firestoreModelKeyTypePair, firestoreModelKeys, firestoreModelKeysFromDocuments, firestoreModelType, firestoreNotificationBoxRecipient, firestoreNotificationBoxRecipientTemplateConfigRecord, firestoreNotificationDeliveryHealthCheckResult, firestoreNotificationHealthCheck, firestoreNotificationHealthCheckIssue, firestoreNotificationHealthCheckProbe, firestoreNotificationItem, firestoreNotificationRecipientWithConfig, firestoreNotificationUserDefaultNotificationBoxRecipientConfig, firestoreNotificationUserNotificationBoxRecipientConfig, firestoreNumber, firestoreObjectArray, firestoreObjectMap, firestorePassThroughField, firestoreQueryConstraint, firestoreQueryConstraintFactory, firestoreQueryDocumentSnapshotPairsLoader, firestoreQueryFactory, firestoreSingleDocumentAccessor, firestoreString, firestoreSubObject, firestoreTimezoneString, firestoreUID, firestoreUniqueArray, firestoreUniqueKeyedArray, firestoreUniqueNumberArray, firestoreUniqueStringArray, firestoreUnitedStatesAddress, firestoreUnitedStatesAddressAssignFn, firestoreUnixDateTimeSecondsNumber, firestoreUpdateWithNoDataError, firestoreWebsiteFileLink, firestoreWebsiteFileLinkAssignFn, firestoreWebsiteFileLinkEncodedArray, firestoreWebsiteFileLinkObjectArray, firestoreWebsiteLink, firestoreWebsiteLinkArray, firestoreWebsiteLinkAssignFn, flagStaleCalendarsForSyncParamsType, flatFirestoreModelKey, formSpaceCollectionReference, formSpaceConverter, formSpaceFileSlotConfig, formSpaceFileSlotName, formSpaceFileStoragePath, formSpaceFileSubObject, formSpaceFileUploaderId, formSpaceFilesInSlot, formSpaceFirestoreCollection, formSpaceFunctionMap, formSpaceIdForModel, formSpaceIdentity, formSpaceKeyForStorageFile, formSpaceSlotFileAccess, formSpaceSlotMaxFiles, formSpaceSlotMinFiles, formSpaceSlotStatus, formSpaceStorageFileGroupId, formSpaceSubmissionNotificationTaskTemplate, formSpaceSubmitBlockers, formSpaceTemplate, formSpaceTypeConfigRecord, formSpaceUploadFileNameDetails, formSpaceUploadsFilePath, formSpaceUploadsFolderPath, formSpacesDueForExpirationQuery, formSpacesForOwnerQuery, formSpacesQueuedForProcessingQuery, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFormSpaceRolesForUserAuthFunction, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, hasRunInCurrentHour, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, inMemoryFirestoreCollectionCacheDelegate, inMemoryFirestoreContextCache, inMemoryFirestoreContextCacheFactory, incrementUpdateWithAccessorFunction, inferCalendarRelatedModelKey, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isCalendarIcsRotateThrottled, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isFormSpaceEditable, isFormSpaceFileAccessibleByUser, isFormSpaceFileAccessibleWithAccess, isFormSpaceStorageFileAccessibleByUser, isLoggedEventNotification, isNthHourOfDay, isOwnerOfUserRelatedModelInFirebaseModelContext, isPendingNotificationHealthCheckProbe, isProblemNotificationHealthCheckStatus, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, limitedFirestoreDocumentAccessorSnapshotCache, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadSchedulerSystemState, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreContextCache, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makePagedItemFirestoreCollection, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, markCalendarForSyncTemplate, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, noopFirestoreCollectionCache, noopFirestoreCollectionCacheDelegate, noopFirestoreCollectionDocumentCache, noopFirestoreContextCache, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationDeliveryHealthCheckResultForMethod, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationHealthCheckIssue, notificationHealthCheckPendingProbeMethods, notificationIdentity, notificationLoggedEventDayCollectionReference, notificationLoggedEventDayCollectionReferenceFactory, notificationLoggedEventDayConverter, notificationLoggedEventDayFirestoreCollectionFactory, notificationLoggedEventDayFirestoreCollectionGroup, notificationLoggedEventDayId, notificationLoggedEventDayIdentity, notificationLoggedEventDayPageCollectionReference, notificationLoggedEventDayPageFirestoreCollectionGroup, notificationLoggedEventDayPageIdentity, notificationLoggedEventDayPagedItemsCollectionFactory, notificationLoggedEventDayPagedItemsCollectionReferenceFactory, notificationLoggedEventDaysOlderThanQuery, notificationLoggedEventLoader, notificationMessageFunction, notificationRecipientParamsType, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserHealthCheckNextProbeAt, notificationUserHealthCheckNextProbeAtByMethod, notificationUserHealthCheckNextRunAt, notificationUserHealthCheckNextVerifyAt, notificationUserHealthCheckParamsType, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, nthHourOfDayIndex, offset, oidcClientEntriesByOwnerQuery, oidcEntriesByClientIdQuery, oidcEntriesByGrantIdQuery, oidcEntriesByUidQuery, oidcEntriesByUserCodeQuery, oidcEntriesWithTypeQuery, oidcEntryCollectionReference, oidcEntryConverter, oidcEntryFirestoreCollection, oidcEntryIdentity, oidcGrantEntriesByUidQuery, oidcModelFunctionMap, oidcProviderProfileDetails, oidcProviderProfilesForClient, oidcProviderProfilesForKeys, oidcScopeTermSatisfied, oidcScopeTermsSatisfied, oidcScopesFromScopeClaim, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallInvokeModelParams, onCallQueryModelParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNotificationHealthCheck, optionalFirestoreNumber, optionalFirestorePassthroughJsonField, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, parseFormSpaceUploadPath, processAllQueuedFormSpacesParamsType, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, pruneCalendarEvents, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, readMultipleStorageFilesMetadataFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, readUserExternalConnectionAuthorizeStateParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, removeCalendarEventItems, removeFormSpaceFileParamsType, replaceCalendarEventItemsForModelKey, replaceConstraints, requiredFormSpaceFileSlots, requiredScopesForOidcProviderProfiles, resolveEffectiveOidcScopeTerms, resolveFormSpaceExpiresAt, resolveOidcModelScopeRequirement, resyncAllNotificationUserParamsType, targetModelParamsType as resyncNotificationUserParamsType, rollupNotificationDeliveryHealthCheckResultStatus, rollupNotificationHealthCheckResultStatus, rollupNotificationHealthCheckStatus, rotateCalendarIcsParamsType, targetModelParamsType as rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, schedulerSystemDataConverter, schedulerSystemStateRead, scopesForOidcProviderProfiles, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileDisplayFileName, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadScopeType, storageFilesForFormSpaceQuery, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storagePublicDownloadUrl, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, submitFormSpaceParamsType, submitFormSpaceTemplate, syncAllFlaggedCalendarsParamsType, syncAllFlaggedStorageFilesWithGroupsParamsType, syncCalendarParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, systemStateStoredDataConverterFactory, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, untrackableNotificationHealthCheckProbe, updateCalendarEventsTemplate, updateFormSpaceParamsType, targetModelParamsType as updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, updateOidcClientFieldParamsType, updateOidcClientParamsType, updateStorageFileGroupEntryParamsType, updateStorageFileGroupParamsType, updateStorageFileParamsType, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, upsertCalendarEventItems, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userExternalConnectionAccessorFactory, userExternalConnectionCollectionReference, userExternalConnectionConnectedProviderTypes, userExternalConnectionConverter, userExternalConnectionEntryFields, userExternalConnectionEntryForOutcome, userExternalConnectionEntryForProvider, userExternalConnectionEntryIsConnected, userExternalConnectionEntryIsExpired, userExternalConnectionFirestoreCollection, userExternalConnectionFunctionMap, userExternalConnectionIdentity, userExternalConnectionIsConnectedToProvider, userExternalConnectionsWithConnectedProviderQuery, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
27143
+ export { ALL_FORM_SPACE_NOTIFICATION_TASK_TYPES, ALL_NOTIFICATION_DELIVERY_METHODS, ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHOD_OPTIONS, ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, ALREADY_EXISTS_ERROR_CODE, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AppCalendarTypeConfigService, AppFormSpaceTypeConfigService, AppNotificationTemplateTypeInfoRecordService, BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE, BAD_REQUEST_ERROR_CODE, BASE_MODEL_STORAGE_FILE_PATH, CALCOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, CALENDAR_EXTENSION_PROPERTY_PREFIX, CALENDAR_ICS_DEFAULT_TIMEZONE, CALENDAR_ICS_DOMAIN_NOT_CONFIGURED_ERROR_CODE, CALENDAR_ICS_FILE_EXTENSION, CALENDAR_ICS_ROTATE_THROTTLED_ERROR_CODE, CALENDAR_ICS_STORAGE_FILE_PURPOSE, CALENDAR_ICS_STORAGE_FILE_PURPOSE_GENERATE_ICS_SUBTASK, CALENDAR_ICS_STORAGE_FILE_UNAVAILABLE_ERROR_CODE, CALENDAR_OCCURRENCE_KEY_SEPARATOR, CALENDAR_ROOT_FOLDER_PATH, CALL_MODEL_APP_FUNCTION_KEY, CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE, CALL_MODEL_OIDC_SCOPES, CALL_MODEL_OIDC_SCOPE_DETAILS, CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE, CALL_MODEL_OIDC_SCOPE_PREFIX, CLIENT_SECRET_BASIC_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_JWT_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_POST_TOKEN_ENDPOINT_AUTH_METHOD, CONFLICT_ERROR_CODE, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_MODEL_OIDC_SCOPE, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_FILENAME_LENGTH, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MIN_EXPIRES_IN_MS, CalendarDocument, CalendarEventStatus, CalendarFirestoreCollections, CalendarFunctions, CalendarSyncState, ContextGrantedModelRolesReaderInstance, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE, DEFAULT_CALENDAR_ICS_EXPANSION_FUTURE_DAYS, DEFAULT_CALENDAR_ICS_EXPANSION_PAST_DAYS, DEFAULT_CALENDAR_ICS_RECURRENCE_MODE, DEFAULT_CALENDAR_ICS_ROTATE_THROTTLE_HOURS, DEFAULT_CALENDAR_INVITE_ATTENDEE_PARTICIPATION_STATUS, DEFAULT_CALENDAR_INVITE_ATTENDEE_ROLE, DEFAULT_CALENDAR_INVITE_METHOD, DEFAULT_CALENDAR_MAX_EVENTS, DEFAULT_CALENDAR_RESYNC_INTERVAL, DEFAULT_CALENDAR_RETAIN_PAST_EVENT_DAYS, DEFAULT_CALENDAR_TYPE_CONFIG, DEFAULT_CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_EXPIRES_IN_MS, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_TIMEZONE_STRING_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_FORM_SPACE_ALLOWED_MIME_TYPES, DEFAULT_FORM_SPACE_EXPIRES_IN, DEFAULT_FORM_SPACE_FILE_ACCESS, DEFAULT_FORM_SPACE_MAX_FILE_SIZE_BYTES, DEFAULT_FORM_SPACE_MAX_UPLOADS, DEFAULT_FORM_SPACE_SLOT_MAX_FILES, DEFAULT_FORM_SPACE_TYPE_CONFIG, DEFAULT_IN_MEMORY_CACHE_TTL, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER, DEFAULT_NOTIFICATION_MESSAGE_CALENDAR_ATTACHMENT_FILENAME, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLE_MINUTES, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_THROTTLE_MINUTES, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLE_SECONDS, DEFAULT_ON_CALL_QUERY_MODEL_LIMIT, DEFAULT_PAGED_ITEM_INDEX_DOCUMENT_ID, DEFAULT_PAGED_ITEM_MAX_ITEMS_PER_PAGE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DELETE_MODEL_OIDC_SCOPE, DISCORD_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES, DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES, EMAIL_OIDC_SCOPE, EMAIL_OIDC_SCOPE_DETAILS, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_CREDENTIAL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_INVALID_PHONE_NUMBER_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_OOB_CODE_DATA_PAIR_DELIMITER, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_PHONE_NUMBER_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_PROVIDER_ALREADY_LINKED_ERROR, FIREBASE_AUTH_QUOTA_EXCEEDED_ERROR, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_EXPIRES_AT_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_SESSION_OIDC_SCOPE, FIRESTORE_SESSION_OIDC_SCOPE_DETAILS, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FORBIDDEN_ERROR_CODE, FORM_SPACE_ALREADY_EXISTS_ERROR_CODE, FORM_SPACE_FILES_ROOT_FOLDER_PATH, FORM_SPACE_FILE_ACCESS_DENIED_ERROR_CODE, FORM_SPACE_FILE_NOT_FOUND_ERROR_CODE, FORM_SPACE_FUNCTION_TYPE_CONFIG_MAP, FORM_SPACE_HAS_INVALID_FILES_ERROR_CODE, FORM_SPACE_MODEL_CRUD_FUNCTIONS_CONFIG, 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_PURPOSE, FORM_SPACE_PURPOSE_REGISTER_SUBTASK, FORM_SPACE_PURPOSE_VALIDATE_SUBTASK, FORM_SPACE_REQUIRED_SLOT_MISSING_ERROR_CODE, FORM_SPACE_SUBMISSION_NOTIFICATION_TASK_TYPE, FORM_SPACE_TYPE_MISMATCH_ERROR_CODE, FORM_SPACE_TYPE_NOT_REGISTERED_ERROR_CODE, FORM_SPACE_UPLOADED_FILE_TYPE_IDENTIFIER, FORM_SPACE_UPLOADS_FOLDER_NAME, FORM_SPACE_UPLOAD_NOT_ALLOWED_ERROR_CODE, FORM_SPACE_UPLOAD_POLICY, FORM_SPACE_UPLOAD_USER_MISMATCH_ERROR_CODE, FORM_SPACE_VALIDATION_PENDING_ERROR_CODE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, FormSpaceDocument, FormSpaceFileValidationState, FormSpaceFirestoreCollections, FormSpaceFunctions, FormSpaceProcessingState, FormSpaceState, GOOGLE_CLOUD_STORAGE_PUBLIC_URL_API_ENDPOINT, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, INTERNAL_SERVER_ERROR_CODE, INVOKE_MODEL_OIDC_SCOPE, KnownNotificationHealthCheckIssueCode, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MAX_ON_CALL_QUERY_MODEL_LIMIT, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_NOT_AVAILABLE_ERROR_CODE, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, MailgunNotificationHealthCheckIssueCode, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_FUNCTION_TYPE_CONFIG_MAP, NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY, NOTIFICATION_LOGGED_EVENT_DAY_ITEM_CONVERTER, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, 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, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NOT_FOUND_ERROR_CODE, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigBoolean, NotificationDeliveryMethod, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationHealthCheckStatus, NotificationLoggedEventDayDocument, NotificationLoggedEventDayPageDocument, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, OFFLINE_ACCESS_OIDC_SCOPE, OFFLINE_ACCESS_OIDC_SCOPE_DETAILS, OIDC_ENTRY_CLIENT_TYPE, OIDC_FUNCTION_TYPE_CONFIG_MAP, OIDC_MODEL_CRUD_FUNCTIONS_CONFIG, OIDC_PROVIDER_PROFILE_DEFAULT_DESCRIPTION_SUFFIX, OPENID_OIDC_SCOPE, OPENID_OIDC_SCOPE_DETAILS, OidcEntryDocument, OidcModelFirestoreCollections, OidcModelFunctions, PERMISSION_DENIED_ERROR_CODE, PRIVATE_KEY_JWT_TOKEN_ENDPOINT_AUTH_METHOD, PROFILE_OIDC_SCOPE, PROFILE_OIDC_SCOPE_DETAILS, PUBLIC_PKCE_TOKEN_ENDPOINT_AUTH_METHOD, QUERY_MODEL_OIDC_SCOPE, READ_MODEL_OIDC_SCOPE, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, SCHEDULER_SYSTEM_STATE_TYPE, SERVICE_TOKEN_OIDC_SCOPE, SERVICE_TOKEN_OIDC_SCOPE_DETAILS, STANDARD_OIDC_SCOPES, STANDARD_OIDC_SCOPE_DETAILS, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_FUNCTION_TYPE_CONFIG_MAP, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_MODEL_CRUD_FUNCTIONS_CONFIG, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, STORAGE_FILE_UPLOAD_USER_SIMPLE_CLAIMS_CONFIGURATION, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFunctionTypeEnum, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SystemStateDocument, SystemStateFirestoreCollections, UNAUTHENTICATED_ERROR_CODE, UNAVAILABLE_ERROR_CODE, UNAVAILABLE_OR_DEACTIVATED_FUNCTION_ERROR_CODE, UNKNOWN_CALENDAR_TYPE, UNKNOWN_FORM_SPACE_TYPE, UNKNOWN_MODEL_TYPE_ERROR_CODE, UNTRACKABLE_NOTIFICATION_HEALTH_CHECK_PROBE_ID, UPDATE_MODEL_OIDC_SCOPE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, USER_EXTERNAL_CONNECTION_ENTRY_STATUSES, USER_EXTERNAL_CONNECTION_FUNCTION_TYPE_CONFIG_MAP, USER_EXTERNAL_CONNECTION_MODEL_CRUD_FUNCTIONS_CONFIG, UserExternalConnectionDocument, UserExternalConnectionFunctions, ZOHO_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, ZOOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, _createNotificationDocumentFromPair, abstractSubscribeOrUnsubscribeToNotificationBoxParamsType, abstractSubscribeToNotificationBoxParamsType, addConstraintToBuilder, addOrReplaceLimitInConstraints, adminOnlyScopesForOidcProviderProfiles, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allNotificationHealthCheckIssues, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appCalendarTypeConfigService, appFormSpaceTypeConfigService, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, applyUserExternalConnectionEntry, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertFormSpaceUploadAllowed, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, assignmentOnlyScopesForOidcProviderProfiles, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, calendarCollectionReference, calendarConverter, calendarEventItem, calendarEventItemCalendarDate, calendarEventItemEndDate, calendarEventItemExceptionDateSet, calendarEventItemExceptionDateValue, calendarEventItemFields, calendarEventItemForId, calendarEventItemTimezone, calendarEventItemToICalendarEvent, calendarEventItemToInviteICalendar, calendarEventItemToInviteIcsString, calendarEventItemsFilterUniqueFunction, calendarEventItemsForModelKey, calendarEventItemsSortFunction, calendarEventOccurrenceToICalendarEvent, calendarExtensionDataToICalendarExtraProperties, calendarFirestoreCollection, calendarFunctionMap, calendarFunctionTypeConfigMap, calendarIcsFileStoragePath, calendarIdForModel, calendarIdentity, calendarModelCrudFunctionsConfig, calendarNextIcsRotateAt, calendarRecurringEventItem, calendarRecurringEventItemForScheduleRange, calendarRecurringEventItemModelRecurrenceInfo, calendarRecurringEventItemRecurrenceFields, calendarRecurringEventItemToICalendarEvent, calendarRecurringEventOccurrenceKey, calendarSyncState, calendarTemplate, calendarToICalendar, calendarToIcsString, calendarTypeConfigIcsConfig, calendarTypeConfigIcsExpansionRange, calendarTypeConfigRecord, calendarsDueForResyncQuery, calendarsFlaggedForSyncQuery, calendarsForTypeQuery, callModelFirebaseFunctionMapFactory, callModelOidcScopeForCallType, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createFormSpaceParamsType, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationLoggedEventTemplate, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, createStorageFileSignedUploadUrlParamsType, createUserExternalConnectionParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, decodeFirebaseAuthOobCode, defaultOidcProviderProfiles, defaultPagedItemPageDataConverter, defaultUnlockedScopesForOidcProviderProfiles, delayCompletion, deleteAllQueuedStorageFilesParamsType, deleteFormSpaceParamsType, targetModelParamsType as deleteOidcClientParamsType, targetModelParamsType as deleteOidcTokenParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, disconnectUserExternalConnectionParamsType, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, emptyUserExternalConnection, encodeFirebaseAuthOobCode, endAt, endAtValue, endBefore, expandCalendarEvents, expireAllExpiredFormSpacesParamsType, expireFormSpaceTemplate, extendFirestoreCollectionWithPagedItemAccessor, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, firestoreCollectionDocumentCache, firestoreCollectionQueryFactory, firestoreContextFactory, firestoreDate, firestoreDateCellRange, firestoreDateCellRangeArray, firestoreDateCellRangeAssignFn, firestoreDateCellSchedule, firestoreDateCellScheduleAssignFn, firestoreDateNumber, firestoreDencoderArray, firestoreDencoderMap, firestoreDencoderStringArray, firestoreDocumentAccessorContextExtension, firestoreDocumentAccessorFactory, firestoreDocumentLoader, firestoreDocumentSnapshotPairsLoader, firestoreDocumentSnapshotPairsLoaderInstance, firestoreDummyKey, firestoreEncodedArray, firestoreEncodedObjectMap, firestoreEnum, firestoreEnumArray, firestoreField, firestoreFieldConfigToModelMapFunctionsRef, firestoreFixedItemPageIteration, firestoreFixedItemPageIterationFactory, firestoreIdBatchVerifierFactory, firestoreIdentityTypeArray, firestoreIdentityTypeArrayName, firestoreItemPageIteration, firestoreItemPageIterationFactory, firestoreLatLngString, firestoreMap, firestoreMapZoomLevel, firestoreModelId, firestoreModelIdArrayField, firestoreModelIdFromDocument, firestoreModelIdFromEmail, firestoreModelIdGrantedRoleArrayMap, firestoreModelIdGrantedRoleMap, firestoreModelIdOrKeyType, firestoreModelIdString, firestoreModelIdType, firestoreModelIdentity, firestoreModelIdentityTypeMap, firestoreModelIdsFromDocuments, firestoreModelIdsFromKey, firestoreModelKey, firestoreModelKeyArrayField, firestoreModelKeyCollectionName, firestoreModelKeyCollectionType, firestoreModelKeyCollectionTypeArray, firestoreModelKeyCollectionTypeArrayName, firestoreModelKeyCollectionTypePair, firestoreModelKeyEncodedGrantedRoleMap, firestoreModelKeyFactory, firestoreModelKeyFromDocument, firestoreModelKeyGrantedRoleArrayMap, firestoreModelKeyGrantedRoleMap, firestoreModelKeyPairObject, firestoreModelKeyParentKey, firestoreModelKeyParentKeyPartPairs, firestoreModelKeyPart, firestoreModelKeyPartPairs, firestoreModelKeyPartPairsKeyPath, firestoreModelKeyPartPairsPaths, firestoreModelKeyPath, firestoreModelKeyString, firestoreModelKeyType, firestoreModelKeyTypePair, firestoreModelKeys, firestoreModelKeysFromDocuments, firestoreModelType, firestoreNotificationBoxRecipient, firestoreNotificationBoxRecipientTemplateConfigRecord, firestoreNotificationDeliveryHealthCheckResult, firestoreNotificationHealthCheck, firestoreNotificationHealthCheckIssue, firestoreNotificationHealthCheckProbe, firestoreNotificationItem, firestoreNotificationRecipientWithConfig, firestoreNotificationUserDefaultNotificationBoxRecipientConfig, firestoreNotificationUserNotificationBoxRecipientConfig, firestoreNumber, firestoreObjectArray, firestoreObjectMap, firestorePassThroughField, firestoreQueryConstraint, firestoreQueryConstraintFactory, firestoreQueryDocumentSnapshotPairsLoader, firestoreQueryFactory, firestoreSingleDocumentAccessor, firestoreString, firestoreSubObject, firestoreTimezoneString, firestoreUID, firestoreUniqueArray, firestoreUniqueKeyedArray, firestoreUniqueNumberArray, firestoreUniqueStringArray, firestoreUnitedStatesAddress, firestoreUnitedStatesAddressAssignFn, firestoreUnixDateTimeSecondsNumber, firestoreUpdateWithNoDataError, firestoreWebsiteFileLink, firestoreWebsiteFileLinkAssignFn, firestoreWebsiteFileLinkEncodedArray, firestoreWebsiteFileLinkObjectArray, firestoreWebsiteLink, firestoreWebsiteLinkArray, firestoreWebsiteLinkAssignFn, flagStaleCalendarsForSyncParamsType, flatFirestoreModelKey, formSpaceCollectionReference, formSpaceConverter, formSpaceFileSlotConfig, formSpaceFileSlotName, formSpaceFileStoragePath, formSpaceFileSubObject, formSpaceFileUploaderId, formSpaceFilesInSlot, formSpaceFirestoreCollection, formSpaceFunctionMap, formSpaceIdForModel, formSpaceIdentity, formSpaceKeyForStorageFile, formSpaceSlotFileAccess, formSpaceSlotMaxFiles, formSpaceSlotMinFiles, formSpaceSlotStatus, formSpaceStorageFileGroupId, formSpaceSubmissionNotificationTaskTemplate, formSpaceSubmissionNotificationTaskUniqueId, formSpaceSubmitBlockers, formSpaceTemplate, formSpaceTypeConfigRecord, formSpaceUploadFileNameDetails, formSpaceUploadsFilePath, formSpaceUploadsFolderPath, formSpacesDueForExpirationQuery, formSpacesForOwnerQuery, formSpacesQueuedForProcessingQuery, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFormSpaceRolesForUserAuthFunction, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, hasRunInCurrentHour, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, inMemoryFirestoreCollectionCacheDelegate, inMemoryFirestoreContextCache, inMemoryFirestoreContextCacheFactory, incrementUpdateWithAccessorFunction, inferCalendarRelatedModelKey, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isCalendarIcsRotateThrottled, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isFormSpaceEditable, isFormSpaceFileAccessibleByUser, isFormSpaceFileAccessibleWithAccess, isFormSpaceFullyLocked, isFormSpaceReopenable, isFormSpaceStorageFileAccessibleByUser, isLoggedEventNotification, isNthHourOfDay, isOwnerOfUserRelatedModelInFirebaseModelContext, isPendingNotificationHealthCheckProbe, isProblemNotificationHealthCheckStatus, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, limitedFirestoreDocumentAccessorSnapshotCache, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadSchedulerSystemState, loadStorageFileGroupDocumentForReferencePair, lockFormSpaceParamsType, lockFormSpaceTemplate, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreContextCache, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makePagedItemFirestoreCollection, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, markCalendarForSyncTemplate, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, noopFirestoreCollectionCache, noopFirestoreCollectionCacheDelegate, noopFirestoreCollectionDocumentCache, noopFirestoreContextCache, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationDeliveryHealthCheckResultForMethod, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationHealthCheckIssue, notificationHealthCheckPendingProbeMethods, notificationIdentity, notificationLoggedEventDayCollectionReference, notificationLoggedEventDayCollectionReferenceFactory, notificationLoggedEventDayConverter, notificationLoggedEventDayFirestoreCollectionFactory, notificationLoggedEventDayFirestoreCollectionGroup, notificationLoggedEventDayId, notificationLoggedEventDayIdentity, notificationLoggedEventDayPageCollectionReference, notificationLoggedEventDayPageFirestoreCollectionGroup, notificationLoggedEventDayPageIdentity, notificationLoggedEventDayPagedItemsCollectionFactory, notificationLoggedEventDayPagedItemsCollectionReferenceFactory, notificationLoggedEventDaysOlderThanQuery, notificationLoggedEventLoader, notificationMessageFunction, notificationRecipientParamsType, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserHealthCheckNextProbeAt, notificationUserHealthCheckNextProbeAtByMethod, notificationUserHealthCheckNextRunAt, notificationUserHealthCheckNextVerifyAt, notificationUserHealthCheckParamsType, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, nthHourOfDayIndex, offset, oidcClientEntriesByOwnerQuery, oidcEntriesByClientIdQuery, oidcEntriesByGrantIdQuery, oidcEntriesByUidQuery, oidcEntriesByUserCodeQuery, oidcEntriesWithTypeQuery, oidcEntryCollectionReference, oidcEntryConverter, oidcEntryFirestoreCollection, oidcEntryIdentity, oidcGrantEntriesByUidQuery, oidcModelFunctionMap, oidcProviderProfileDetails, oidcProviderProfilesForClient, oidcProviderProfilesForKeys, oidcScopeTermSatisfied, oidcScopeTermsSatisfied, oidcScopesFromScopeClaim, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallInvokeModelParams, onCallQueryModelParams, onCallReadModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNotificationHealthCheck, optionalFirestoreNumber, optionalFirestorePassthroughJsonField, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, parseFormSpaceUploadPath, processAllQueuedFormSpacesParamsType, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, pruneCalendarEvents, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, readMultipleStorageFilesMetadataFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, readUserExternalConnectionAuthorizeStateParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, removeCalendarEventItems, removeFormSpaceFileParamsType, reopenFormSpaceParamsType, reopenFormSpaceTemplate, replaceCalendarEventItemsForModelKey, replaceConstraints, requiredFormSpaceFileSlots, requiredScopesForOidcProviderProfiles, resolveEffectiveOidcScopeTerms, resolveFormSpaceExpiresAt, resolveFormSpaceLocksAt, resolveOidcModelScopeRequirement, resyncAllNotificationUserParamsType, targetModelParamsType as resyncNotificationUserParamsType, rollupNotificationDeliveryHealthCheckResultStatus, rollupNotificationHealthCheckResultStatus, rollupNotificationHealthCheckStatus, rotateCalendarIcsParamsType, targetModelParamsType as rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, schedulerSystemDataConverter, schedulerSystemStateRead, scopesForOidcProviderProfiles, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileDisplayFileName, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadScopeType, storageFilesForFormSpaceQuery, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storagePublicDownloadUrl, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, submitFormSpaceParamsType, submitFormSpaceTemplate, syncAllFlaggedCalendarsParamsType, syncAllFlaggedStorageFilesWithGroupsParamsType, syncCalendarParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, systemStateStoredDataConverterFactory, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, untrackableNotificationHealthCheckProbe, updateCalendarEventsTemplate, updateFormSpaceParamsType, targetModelParamsType as updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, updateOidcClientFieldParamsType, updateOidcClientParamsType, updateStorageFileGroupEntryParamsType, updateStorageFileGroupParamsType, updateStorageFileParamsType, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, upsertCalendarEventItems, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userExternalConnectionAccessorFactory, userExternalConnectionCollectionReference, userExternalConnectionConnectedProviderTypes, userExternalConnectionConverter, userExternalConnectionEntryFields, userExternalConnectionEntryForOutcome, userExternalConnectionEntryForProvider, userExternalConnectionEntryIsConnected, userExternalConnectionEntryIsExpired, userExternalConnectionFirestoreCollection, userExternalConnectionFunctionMap, userExternalConnectionIdentity, userExternalConnectionIsConnectedToProvider, userExternalConnectionsWithConnectedProviderQuery, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };